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+442156b10c8e48709838cfe148b6b6cf65ecf635 (7ba5a3a1a257400c52fe5edc02e6237bbe760862) 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-ssh17986514768288158312.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-ssh7829856662779887059.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-ssh6802987694913658769.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-ssh16094404007419762921.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-ssh7309946111942919708.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1570 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 > 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 Merging remotes/origin/main commit 442156b10c8e48709838cfe148b6b6cf65ecf635 into PR head commit 88225b2b2af007b234a268bddf4c2374904aaf88 Merge succeeded, producing cc085ae6bf8d828edab033730e8a877177eeba07 Checking out Revision cc085ae6bf8d828edab033730e8a877177eeba07 (PR-500) > 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 442156b10c8e48709838cfe148b6b6cf65ecf635 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cc085ae6bf8d828edab033730e8a877177eeba07 # timeout=10 Commit message: "Merge commit '442156b10c8e48709838cfe148b6b6cf65ecf635' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-03-28T18:56:13.859Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-03-28T18:56:13.929Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-03-28T18:56:13.956Z] ========================================================= [2024-03-28T18:56:13.956Z] EdgeX Global Pipelines Version Info [2024-03-28T18:56:13.956Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk f29d8a8579aa19deec5e288b5b5ffc70f6838c55 # timeout=10 [2024-03-28T18:56:15.038Z] ------------------- [2024-03-28T18:56:15.038Z] stable info: [2024-03-28T18:56:15.038Z] ------------------- [2024-03-28T18:56:15.038Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-03-28T18:56:15.038Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-28T18:56:15.038Z] Message: update stable to v1.0.258 [2024-03-28T18:56:15.298Z] ------------------- [2024-03-28T18:56:15.298Z] experimental info: [2024-03-28T18:56:15.298Z] ------------------- [2024-03-28T18:56:15.298Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-03-28T18:56:15.298Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-28T18:56:15.298Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-03-28T18:56:15.376Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-03-28T18:56:15.393Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-03-28T18:56:15.412Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-03-28T18:56:15.431Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-03-28T18:56:15.453Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-03-28T18:56:15.474Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-03-28T18:56:15.493Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-03-28T18:56:15.512Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-03-28T18:56:15.537Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-03-28T18:56:15.561Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-03-28T18:56:15.587Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-03-28T18:56:15.614Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-03-28T18:56:15.639Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-03-28T18:56:15.666Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-03-28T18:56:15.688Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-03-28T18:56:15.710Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-03-28T18:56:15.731Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-03-28T18:56:15.758Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-500 [Pipeline] echo [2024-03-28T18:56:15.778Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-500 [Pipeline] echo [2024-03-28T18:56:15.795Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-500 [Pipeline] echo [2024-03-28T18:56:15.812Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cc085ae6bf8d828edab033730e8a877177eeba07 [Pipeline] echo [2024-03-28T18:56:15.829Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cc085ae [Pipeline] echo [2024-03-28T18:56:15.853Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-28T18:56:15.915Z] provisioning config files... [2024-03-28T18:56:15.928Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp/config1966654883646576596tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-28T18:56:16.256Z] ---> ****-login.sh [2024-03-28T18:56:16.256Z] nexus3.edgexfoundry.org:10001 [2024-03-28T18:56:16.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-28T18:56:16.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-28T18:56:16.516Z] Configure a credential helper to remove this warning. See [2024-03-28T18:56:16.516Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-28T18:56:16.516Z] [2024-03-28T18:56:16.516Z] Login Succeeded [2024-03-28T18:56:16.516Z] nexus3.edgexfoundry.org:10002 [2024-03-28T18:56:16.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-28T18:56:16.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-28T18:56:16.516Z] Configure a credential helper to remove this warning. See [2024-03-28T18:56:16.516Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-28T18:56:16.516Z] [2024-03-28T18:56:16.516Z] Login Succeeded [2024-03-28T18:56:16.516Z] nexus3.edgexfoundry.org:10003 [2024-03-28T18:56:16.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-28T18:56:16.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-28T18:56:16.776Z] Configure a credential helper to remove this warning. See [2024-03-28T18:56:16.776Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-28T18:56:16.776Z] [2024-03-28T18:56:16.776Z] Login Succeeded [2024-03-28T18:56:16.776Z] nexus3.edgexfoundry.org:10004 [2024-03-28T18:56:16.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-28T18:56:16.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-28T18:56:16.776Z] Configure a credential helper to remove this warning. See [2024-03-28T18:56:16.776Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-28T18:56:16.776Z] [2024-03-28T18:56:16.776Z] Login Succeeded [2024-03-28T18:56:16.776Z] ****.io [2024-03-28T18:56:17.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-28T18:56:17.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-28T18:56:17.036Z] Configure a credential helper to remove this warning. See [2024-03-28T18:56:17.037Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-28T18:56:17.037Z] [2024-03-28T18:56:17.037Z] Login Succeeded [2024-03-28T18:56:17.037Z] ---> ****-login.sh ends [Pipeline] } [2024-03-28T18:56:17.045Z] 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-03-28T18:56:17.441Z] + git rev-list -1 --merges cc085ae6bf8d828edab033730e8a877177eeba07~1..cc085ae6bf8d828edab033730e8a877177eeba07 [Pipeline] echo [2024-03-28T18:56:17.470Z] -----------> git rev-list -1 --merges cc085ae6bf8d828edab033730e8a877177eeba07~1..cc085ae6bf8d828edab033730e8a877177eeba07 cc085ae6bf8d828edab033730e8a877177eeba07 [2024-03-28T18:56:17.470Z] cc085ae6bf8d828edab033730e8a877177eeba07 [false] [Pipeline] sh [2024-03-28T18:56:17.764Z] + git log --format=format:%s -1 cc085ae6bf8d828edab033730e8a877177eeba07 [Pipeline] echo [2024-03-28T18:56:17.782Z] ========================================================= [2024-03-28T18:56:17.782Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-03-28T18:56:17.782Z] ========================================================= 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-03-28T18:56:18.211Z] + git rev-list -1 --merges cc085ae6bf8d828edab033730e8a877177eeba07~1..cc085ae6bf8d828edab033730e8a877177eeba07 [Pipeline] echo [2024-03-28T18:56:18.222Z] -----------> git rev-list -1 --merges cc085ae6bf8d828edab033730e8a877177eeba07~1..cc085ae6bf8d828edab033730e8a877177eeba07 cc085ae6bf8d828edab033730e8a877177eeba07 [2024-03-28T18:56:18.222Z] cc085ae6bf8d828edab033730e8a877177eeba07 [false] [Pipeline] sh [2024-03-28T18:56:18.510Z] + git log --format=format:%s -1 cc085ae6bf8d828edab033730e8a877177eeba07 [Pipeline] echo [2024-03-28T18:56:18.529Z] ========================================================= [2024-03-28T18:56:18.529Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-03-28T18:56:18.529Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-03-28T18:56:18.989Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-03-28T18:56:18.989Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-03-28T18:56:18.989Z] + [ -e /tmp/ssh_known_hosts ] [2024-03-28T18:56:18.989Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-03-28T18:56:18.989Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-03-28T18:56:18.989Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-03-28T18:56:18.989Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-28T18:56:19.350Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-28T18:56:19.351Z] [2024-03-28T18:56:19.351Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-28T18:56:19.658Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-28T18:56:19.658Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-03-28T18:56:19.658Z] b85a868b505f: Pulling fs layer [2024-03-28T18:56:19.658Z] e2be974225ed: Pulling fs layer [2024-03-28T18:56:19.658Z] 339a4e72a1f5: Pulling fs layer [2024-03-28T18:56:19.658Z] 988bab9f4d93: Pulling fs layer [2024-03-28T18:56:19.658Z] 1469e6f7b9e6: Pulling fs layer [2024-03-28T18:56:19.658Z] eaf3925da568: Pulling fs layer [2024-03-28T18:56:19.658Z] bab4dde63d76: Pulling fs layer [2024-03-28T18:56:19.658Z] bde34c3a00c8: Pulling fs layer [2024-03-28T18:56:19.658Z] b352a97aabf1: Pulling fs layer [2024-03-28T18:56:19.658Z] 4872d77fe225: Pulling fs layer [2024-03-28T18:56:19.658Z] 5851b861e8e6: Pulling fs layer [2024-03-28T18:56:19.658Z] 4872d77fe225: Waiting [2024-03-28T18:56:19.658Z] bde34c3a00c8: Waiting [2024-03-28T18:56:19.658Z] 1469e6f7b9e6: Waiting [2024-03-28T18:56:19.658Z] 5851b861e8e6: Waiting [2024-03-28T18:56:19.658Z] eaf3925da568: Waiting [2024-03-28T18:56:19.658Z] bab4dde63d76: Waiting [2024-03-28T18:56:19.658Z] e2be974225ed: Verifying Checksum [2024-03-28T18:56:19.658Z] e2be974225ed: Download complete [2024-03-28T18:56:19.658Z] 988bab9f4d93: Verifying Checksum [2024-03-28T18:56:19.658Z] 988bab9f4d93: Download complete [2024-03-28T18:56:19.658Z] 1469e6f7b9e6: Verifying Checksum [2024-03-28T18:56:19.658Z] 1469e6f7b9e6: Download complete [2024-03-28T18:56:19.658Z] eaf3925da568: Verifying Checksum [2024-03-28T18:56:19.658Z] eaf3925da568: Download complete [2024-03-28T18:56:19.916Z] 339a4e72a1f5: Verifying Checksum [2024-03-28T18:56:19.916Z] 339a4e72a1f5: Download complete [2024-03-28T18:56:19.916Z] bde34c3a00c8: Download complete [2024-03-28T18:56:19.916Z] b352a97aabf1: Download complete [2024-03-28T18:56:19.916Z] 4872d77fe225: Verifying Checksum [2024-03-28T18:56:19.916Z] 4872d77fe225: Download complete [2024-03-28T18:56:19.916Z] 5851b861e8e6: Download complete [2024-03-28T18:56:19.916Z] b85a868b505f: Verifying Checksum [2024-03-28T18:56:19.916Z] b85a868b505f: Download complete [2024-03-28T18:56:20.176Z] bab4dde63d76: Verifying Checksum [2024-03-28T18:56:20.176Z] bab4dde63d76: Download complete [2024-03-28T18:56:21.112Z] b85a868b505f: Pull complete [2024-03-28T18:56:21.112Z] e2be974225ed: Pull complete [2024-03-28T18:56:21.681Z] 339a4e72a1f5: Pull complete [2024-03-28T18:56:21.681Z] 988bab9f4d93: Pull complete [2024-03-28T18:56:21.941Z] 1469e6f7b9e6: Pull complete [2024-03-28T18:56:22.201Z] eaf3925da568: Pull complete [2024-03-28T18:56:23.578Z] bab4dde63d76: Pull complete [2024-03-28T18:56:23.836Z] bde34c3a00c8: Pull complete [2024-03-28T18:56:23.836Z] b352a97aabf1: Pull complete [2024-03-28T18:56:23.836Z] 4872d77fe225: Pull complete [2024-03-28T18:56:24.096Z] 5851b861e8e6: Pull complete [2024-03-28T18:56:24.096Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-03-28T18:56:24.096Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-28T18:56:24.096Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-28T18:56:24.228Z] prd-ubuntu20.04-docker-8c-8g-1570 does not seem to be running inside a container [2024-03-28T18:56:24.259Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-03-28T18:56:26.763Z] $ docker top d357c25b77a9f6daaa4b6f47000cea0e3e50e9a7abea3d2a663d54d221ac00aa -eo pid,comm [2024-03-28T18:56:26.808Z] 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-03-28T18:56:26.808Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-03-28T18:56:26.863Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-28T18:56:26.863Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-28T18:56:26.980Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-28T18:56:26.987Z] $ docker exec d357c25b77a9f6daaa4b6f47000cea0e3e50e9a7abea3d2a663d54d221ac00aa ssh-agent [2024-03-28T18:56:27.095Z] SSH_AUTH_SOCK=/tmp/ssh-itXBHOuGYqvM/agent.32 [2024-03-28T18:56:27.095Z] SSH_AGENT_PID=38 [2024-03-28T18:56:27.102Z] Running ssh-add (command line suppressed) [2024-03-28T18:56:27.210Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp/private_key_1162148330117422226.key (/w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp/private_key_1162148330117422226.key) [2024-03-28T18:56:27.222Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-28T18:56:27.523Z] + git tag --points-at HEAD [Pipeline] } [2024-03-28T18:56:27.539Z] $ docker exec --env ******** --env ******** d357c25b77a9f6daaa4b6f47000cea0e3e50e9a7abea3d2a663d54d221ac00aa ssh-agent -k [2024-03-28T18:56:27.627Z] unset SSH_AUTH_SOCK; [2024-03-28T18:56:27.628Z] unset SSH_AGENT_PID; [2024-03-28T18:56:27.628Z] echo Agent pid 38 killed; [2024-03-28T18:56:27.634Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-03-28T18:56:27.668Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-28T18:56:27.668Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-28T18:56:27.784Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-28T18:56:27.791Z] $ docker exec d357c25b77a9f6daaa4b6f47000cea0e3e50e9a7abea3d2a663d54d221ac00aa ssh-agent [2024-03-28T18:56:27.887Z] SSH_AUTH_SOCK=/tmp/ssh-74PbOFNdAkiC/agent.70 [2024-03-28T18:56:27.887Z] SSH_AGENT_PID=76 [2024-03-28T18:56:27.892Z] Running ssh-add (command line suppressed) [2024-03-28T18:56:27.993Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp/private_key_3763512324459189154.key (/w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp/private_key_3763512324459189154.key) [2024-03-28T18:56:28.002Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-28T18:56:28.294Z] + git semver init [2024-03-28T18:56:28.553Z] 2024-03-28 18:56:28,485 [run_init] DEBUG init version:0.0.0 force:False [2024-03-28T18:56:28.553Z] 2024-03-28 18:56:28,486 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-500/.semver [2024-03-28T18:56:28.553Z] 2024-03-28 18:56:28,487 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-500/.semver [2024-03-28T18:56:28.553Z] 2024-03-28 18:56:28,487 [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-03-28T18:56:29.492Z] 2024-03-28 18:56:29,350 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-500/.git/info/exclude [2024-03-28T18:56:29.492Z] 2024-03-28 18:56:29,351 [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-03-28T18:56:29.492Z] 2024-03-28 18:56:29,351 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-500/.semver/PR-500 [2024-03-28T18:56:29.492Z] 2024-03-28 18:56:29,355 [execute] INFO git cat-file --batch-check [2024-03-28T18:56:29.492Z] 2024-03-28 18:56:29,356 [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-03-28T18:56:29.492Z] 2024-03-28 18:56:29,361 [execute] INFO git cat-file --batch [2024-03-28T18:56:29.492Z] 2024-03-28 18:56:29,361 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-500/.semver, universal_newlines=False, shell=None, istream=) [2024-03-28T18:56:29.492Z] 2024-03-28 18:56:29,366 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-500/.semver/PR-500 [2024-03-28T18:56:29.492Z] 0.0.0 [Pipeline] } [2024-03-28T18:56:29.505Z] $ docker exec --env ******** --env ******** d357c25b77a9f6daaa4b6f47000cea0e3e50e9a7abea3d2a663d54d221ac00aa ssh-agent -k [2024-03-28T18:56:29.600Z] unset SSH_AUTH_SOCK; [2024-03-28T18:56:29.601Z] unset SSH_AGENT_PID; [2024-03-28T18:56:29.601Z] echo Agent pid 76 killed; [2024-03-28T18:56:29.608Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-03-28T18:56:29.934Z] + git semver [Pipeline] } [2024-03-28T18:56:30.210Z] $ docker stop --time=1 d357c25b77a9f6daaa4b6f47000cea0e3e50e9a7abea3d2a663d54d221ac00aa [2024-03-28T18:56:31.485Z] $ docker rm -f --volumes d357c25b77a9f6daaa4b6f47000cea0e3e50e9a7abea3d2a663d54d221ac00aa [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-28T18:56:31.833Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-03-28T18:56:32.072Z] Stashed 1 file(s) [Pipeline] echo [2024-03-28T18:56:32.076Z] [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-03-28T18:56:32.247Z] provisioning config files... [2024-03-28T18:56:32.257Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp/config8520046432194033182tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-28T18:56:32.558Z] ---> ****-login.sh [2024-03-28T18:56:32.558Z] nexus3.edgexfoundry.org:10001 [2024-03-28T18:56:32.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-28T18:56:32.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-28T18:56:32.558Z] Configure a credential helper to remove this warning. See [2024-03-28T18:56:32.558Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-28T18:56:32.558Z] [2024-03-28T18:56:32.558Z] Login Succeeded [2024-03-28T18:56:32.558Z] nexus3.edgexfoundry.org:10002 [2024-03-28T18:56:32.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-28T18:56:32.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-28T18:56:32.818Z] Configure a credential helper to remove this warning. See [2024-03-28T18:56:32.818Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-28T18:56:32.818Z] [2024-03-28T18:56:32.818Z] Login Succeeded [2024-03-28T18:56:32.818Z] nexus3.edgexfoundry.org:10003 [2024-03-28T18:56:32.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-28T18:56:32.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-28T18:56:32.818Z] Configure a credential helper to remove this warning. See [2024-03-28T18:56:32.818Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-28T18:56:32.818Z] [2024-03-28T18:56:32.818Z] Login Succeeded [2024-03-28T18:56:32.818Z] nexus3.edgexfoundry.org:10004 [2024-03-28T18:56:32.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-28T18:56:33.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-28T18:56:33.077Z] Configure a credential helper to remove this warning. See [2024-03-28T18:56:33.077Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-28T18:56:33.077Z] [2024-03-28T18:56:33.077Z] Login Succeeded [2024-03-28T18:56:33.077Z] ****.io [2024-03-28T18:56:33.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-28T18:56:33.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-28T18:56:33.337Z] Configure a credential helper to remove this warning. See [2024-03-28T18:56:33.337Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-28T18:56:33.337Z] [2024-03-28T18:56:33.337Z] Login Succeeded [2024-03-28T18:56:33.337Z] ---> ****-login.sh ends [Pipeline] } [2024-03-28T18:56:33.345Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-28T18:56:33.429Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-28T18:56:33.449Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-03-28T18:56:33.464Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-28T18:56:33.478Z] ========================================================= [2024-03-28T18:56:33.478Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-03-28T18:56:33.478Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-28T18:56:33.796Z] + 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-03-28T18:56:33.796Z] Sending build context to Docker daemon 5.013MB [2024-03-28T18:56:33.796Z] Step 1/21 : ARG BASE=alpine:3.18 [2024-03-28T18:56:33.796Z] Step 2/21 : FROM ${BASE} as builder [2024-03-28T18:56:33.796Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-03-28T18:56:33.796Z] 96526aa774ef: Pulling fs layer [2024-03-28T18:56:33.796Z] da60e534fd72: Pulling fs layer [2024-03-28T18:56:34.056Z] 96526aa774ef: Verifying Checksum [2024-03-28T18:56:34.056Z] 96526aa774ef: Download complete [2024-03-28T18:56:34.056Z] 96526aa774ef: Pull complete [2024-03-28T18:56:34.622Z] da60e534fd72: Verifying Checksum [2024-03-28T18:56:34.622Z] da60e534fd72: Download complete [2024-03-28T18:56:37.903Z] da60e534fd72: Pull complete [2024-03-28T18:56:37.903Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-03-28T18:56:37.903Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-03-28T18:56:37.903Z] ---> 6605166a5db4 [2024-03-28T18:56:37.903Z] 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-03-28T18:56:39.282Z] ---> Running in fd6b892d72cc [2024-03-28T18:56:39.852Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-03-28T18:56:40.110Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-03-28T18:56:40.110Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-03-28T18:56:40.110Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-03-28T18:56:40.369Z] Removing intermediate container fd6b892d72cc [2024-03-28T18:56:40.369Z] ---> 79113c2152e7 [2024-03-28T18:56:40.369Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-03-28T18:56:40.630Z] ---> Running in 0f73d6d80e75 [2024-03-28T18:56:41.200Z] Removing intermediate container 0f73d6d80e75 [2024-03-28T18:56:41.200Z] ---> e1e9a7916fab [2024-03-28T18:56:41.200Z] 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-03-28T18:56:41.200Z] ---> Running in af2a33ab5224 [2024-03-28T18:56:41.459Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-28T18:56:41.718Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-28T18:56:41.718Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-28T18:56:42.285Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-03-28T18:56:42.285Z] (1/17) Installing hiredis (1.1.0-r2) [2024-03-28T18:56:42.285Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-03-28T18:56:42.285Z] (3/17) Installing libcbor (0.10.2-r1) [2024-03-28T18:56:42.285Z] (4/17) Installing iotech-iot-1.5 (1.5.3-r0) [2024-03-28T18:56:43.223Z] (5/17) Installing iotech-iot-1.5-dev (1.5.3-r0) [2024-03-28T18:56:43.223Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-03-28T18:56:43.483Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-03-28T18:56:43.483Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-03-28T18:56:43.483Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-03-28T18:56:43.483Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-03-28T18:56:43.483Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-03-28T18:56:43.483Z] (12/17) Installing libblkid (2.38.1-r8) [2024-03-28T18:56:43.483Z] (13/17) Installing libuuid (2.38.1-r8) [2024-03-28T18:56:43.483Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-03-28T18:56:43.483Z] (15/17) Installing libmount (2.38.1-r8) [2024-03-28T18:56:43.483Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-03-28T18:56:43.483Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-03-28T18:56:43.483Z] Executing busybox-1.36.1-r4.trigger [2024-03-28T18:56:43.483Z] OK: 336 MiB in 99 packages [2024-03-28T18:56:44.050Z] Removing intermediate container af2a33ab5224 [2024-03-28T18:56:44.050Z] ---> 67cc880658f7 [2024-03-28T18:56:44.050Z] Step 6/21 : RUN mkdir /tmp/sdk [2024-03-28T18:56:44.050Z] ---> Running in 00b0264f0108 [2024-03-28T18:56:44.618Z] Removing intermediate container 00b0264f0108 [2024-03-28T18:56:44.618Z] ---> 390e54c4186b [2024-03-28T18:56:44.618Z] Step 7/21 : COPY VERSION /tmp/sdk [2024-03-28T18:56:44.879Z] ---> 2569f0463d6f [2024-03-28T18:56:44.879Z] Step 8/21 : COPY src /tmp/sdk/src [2024-03-28T18:56:45.137Z] ---> 19550c719b3b [2024-03-28T18:56:45.137Z] Step 9/21 : COPY include /tmp/sdk/include [2024-03-28T18:56:45.137Z] ---> 822b5e55bf31 [2024-03-28T18:56:45.137Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2024-03-28T18:56:45.396Z] ---> 7abec6966f4c [2024-03-28T18:56:45.396Z] Step 11/21 : COPY LICENSE /tmp/sdk [2024-03-28T18:56:45.396Z] ---> 160d2a5099e3 [2024-03-28T18:56:45.396Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2024-03-28T18:56:45.655Z] ---> ecf2f0a8574e [2024-03-28T18:56:45.655Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-03-28T18:56:45.655Z] ---> Running in 276b1a91ca92 [2024-03-28T18:56:45.913Z] + CPPCHECK=false [2024-03-28T18:56:45.913Z] + DOCGEN=false [2024-03-28T18:56:45.913Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-03-28T18:56:45.913Z] + '[' 0 -gt 0 ] [2024-03-28T18:56:45.913Z] + readlink -f ./scripts/build.sh [2024-03-28T18:56:45.913Z] + dirname /tmp/sdk/scripts/build.sh [2024-03-28T18:56:45.914Z] + dirname /tmp/sdk/scripts [2024-03-28T18:56:45.914Z] + ROOT=/tmp/sdk [2024-03-28T18:56:45.914Z] + cd /tmp/sdk [2024-03-28T18:56:45.914Z] + mkdir -p /tmp/sdk/build/release [2024-03-28T18:56:45.914Z] + cd /tmp/sdk/build/release [2024-03-28T18:56:45.914Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-03-28T18:56:45.914Z] -- The C compiler identification is GNU 12.2.1 [2024-03-28T18:56:45.914Z] -- Detecting C compiler ABI info [2024-03-28T18:56:46.173Z] -- Detecting C compiler ABI info - done [2024-03-28T18:56:46.173Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-03-28T18:56:46.173Z] -- Detecting C compile features [2024-03-28T18:56:46.173Z] -- Detecting C compile features - done [2024-03-28T18:56:46.173Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-03-28T18:56:46.173Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-03-28T18:56:46.173Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-03-28T18:56:46.173Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-03-28T18:56:46.173Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-03-28T18:56:46.173Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-03-28T18:56:46.173Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-03-28T18:56:46.173Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-03-28T18:56:46.173Z] -- /opt/iotech/iot/1.5/include [2024-03-28T18:56:46.173Z] -- C SDK 0.0.0 for Linux [2024-03-28T18:56:46.173Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-03-28T18:56:46.173Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-03-28T18:56:46.432Z] -- Found Curses: /usr/lib/libcurses.so [2024-03-28T18:56:46.432Z] -- Configuring done (0.4s) [2024-03-28T18:56:46.432Z] -- Generating done (0.0s) [2024-03-28T18:56:46.432Z] -- Build files have been written to: /tmp/sdk/build/release [2024-03-28T18:56:46.432Z] + make all package [2024-03-28T18:56:46.432Z] + tee release.log [2024-03-28T18:56:46.432Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-03-28T18:56:46.432Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-03-28T18:56:46.691Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-03-28T18:56:46.691Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-03-28T18:56:46.950Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-03-28T18:56:46.950Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-03-28T18:56:47.186Z] Still waiting to schedule task [2024-03-28T18:56:47.186Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-1567’ is offline [2024-03-28T18:56:47.210Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-03-28T18:56:47.468Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-03-28T18:56:47.468Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-03-28T18:56:47.468Z] 294 | while (privateConfig) [2024-03-28T18:56:47.468Z] | ^~~~~~~~~~~~~ [2024-03-28T18:56:47.468Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-03-28T18:56:47.468Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-03-28T18:56:47.468Z] | ^~~~~~~~~~~~~ [2024-03-28T18:56:47.468Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-03-28T18:56:47.468Z] 271 | while (result) [2024-03-28T18:56:47.468Z] | ^~~~~~ [2024-03-28T18:56:47.468Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-03-28T18:56:47.468Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-03-28T18:56:47.468Z] | ^~~~~~ [2024-03-28T18:56:47.468Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-03-28T18:56:47.468Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-03-28T18:56:47.727Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-03-28T18:56:47.986Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-03-28T18:56:47.986Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-03-28T18:56:48.245Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-03-28T18:56:48.245Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-03-28T18:56:48.245Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-03-28T18:56:48.505Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-03-28T18:56:48.505Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-03-28T18:56:48.765Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-03-28T18:56:49.024Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-03-28T18:56:49.024Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-03-28T18:56:49.282Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-03-28T18:56:50.220Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-03-28T18:56:50.220Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-03-28T18:56:50.479Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-03-28T18:56:50.479Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-03-28T18:56:50.479Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-03-28T18:56:50.739Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-03-28T18:56:50.998Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-03-28T18:56:50.998Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-03-28T18:56:51.257Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-03-28T18:56:51.257Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-03-28T18:56:51.516Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-03-28T18:56:51.516Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-03-28T18:56:51.516Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-03-28T18:56:51.516Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-03-28T18:56:51.517Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-03-28T18:56:51.517Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-03-28T18:56:51.517Z] | ^ [2024-03-28T18:56:51.517Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-03-28T18:56:51.517Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-03-28T18:56:51.517Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-03-28T18:56:51.517Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-03-28T18:56:51.517Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-03-28T18:56:51.517Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-03-28T18:56:51.775Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-03-28T18:56:51.775Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-03-28T18:56:52.034Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-03-28T18:56:52.034Z] [ 68%] Linking C shared library libcsdk.so [2024-03-28T18:56:52.034Z] [ 68%] Built target csdk [2024-03-28T18:56:52.034Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-03-28T18:56:52.292Z] [ 72%] Linking C executable template [2024-03-28T18:56:52.292Z] [ 72%] Built target template [2024-03-28T18:56:52.292Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-03-28T18:56:52.292Z] [ 76%] Linking C executable device-counter [2024-03-28T18:56:52.552Z] [ 76%] Built target device-counter [2024-03-28T18:56:52.552Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-03-28T18:56:52.552Z] [ 80%] Linking C executable device-random [2024-03-28T18:56:52.552Z] [ 80%] Built target device-random [2024-03-28T18:56:52.552Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-03-28T18:56:52.811Z] [ 84%] Linking C executable device-gyro [2024-03-28T18:56:52.811Z] [ 84%] Built target device-gyro [2024-03-28T18:56:52.811Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-03-28T18:56:52.811Z] [ 88%] Linking C executable device-bitfields [2024-03-28T18:56:52.811Z] [ 88%] Built target device-bitfields [2024-03-28T18:56:52.811Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-03-28T18:56:53.068Z] [ 92%] Linking C executable template-discovery [2024-03-28T18:56:53.068Z] [ 92%] Built target template-discovery [2024-03-28T18:56:53.068Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-03-28T18:56:53.327Z] [ 96%] Linking C executable device-file [2024-03-28T18:56:53.327Z] [ 96%] Built target device-file [2024-03-28T18:56:53.327Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-03-28T18:56:53.327Z] [100%] Linking C executable device-terminal [2024-03-28T18:56:53.586Z] [100%] Built target device-terminal [2024-03-28T18:56:53.586Z] Run CPack packaging tool... [2024-03-28T18:56:53.586Z] CPack: Create package using TGZ [2024-03-28T18:56:53.586Z] CPack: Install projects [2024-03-28T18:56:53.586Z] CPack: - Run preinstall target for: Csdk [2024-03-28T18:56:53.845Z] CPack: - Install project: Csdk [] [2024-03-28T18:56:53.845Z] CPack: Create package [2024-03-28T18:56:53.845Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-03-28T18:56:53.845Z] + '[' false '=' true ] [2024-03-28T18:56:53.845Z] + '[' false '=' true ] [2024-03-28T18:56:53.845Z] + mkdir -p /tmp/sdk/build/debug [2024-03-28T18:56:53.845Z] + cd /tmp/sdk/build/debug [2024-03-28T18:56:53.845Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-03-28T18:56:53.845Z] -- The C compiler identification is GNU 12.2.1 [2024-03-28T18:56:53.845Z] -- Detecting C compiler ABI info [2024-03-28T18:56:54.105Z] -- Detecting C compiler ABI info - done [2024-03-28T18:56:54.105Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-03-28T18:56:54.105Z] -- Detecting C compile features [2024-03-28T18:56:54.105Z] -- Detecting C compile features - done [2024-03-28T18:56:54.106Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-03-28T18:56:54.106Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-03-28T18:56:54.106Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-03-28T18:56:54.106Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-03-28T18:56:54.106Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-03-28T18:56:54.106Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-03-28T18:56:54.106Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-03-28T18:56:54.106Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-03-28T18:56:54.106Z] -- /opt/iotech/iot/1.5/include [2024-03-28T18:56:54.106Z] -- C SDK 0.0.0 for Linux [2024-03-28T18:56:54.106Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-03-28T18:56:54.106Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-03-28T18:56:54.106Z] -- Found Curses: /usr/lib/libcurses.so [2024-03-28T18:56:54.364Z] -- Configuring done (0.4s) [2024-03-28T18:56:54.364Z] -- Generating done (0.0s) [2024-03-28T18:56:54.364Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-03-28T18:56:54.364Z] + make [2024-03-28T18:56:54.364Z] + tee debug.log [2024-03-28T18:56:54.364Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-03-28T18:56:54.364Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-03-28T18:56:54.364Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-03-28T18:56:54.623Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-03-28T18:56:54.623Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-03-28T18:56:54.623Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-03-28T18:56:54.882Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-03-28T18:56:54.882Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-03-28T18:56:54.882Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-03-28T18:56:54.882Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-03-28T18:56:55.141Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-03-28T18:56:55.141Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-03-28T18:56:55.141Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-03-28T18:56:55.398Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-03-28T18:56:55.398Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-03-28T18:56:55.398Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-03-28T18:56:55.398Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-03-28T18:56:55.656Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-03-28T18:56:55.656Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-03-28T18:56:55.656Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-03-28T18:56:55.915Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-03-28T18:56:56.173Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-03-28T18:56:56.173Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-03-28T18:56:56.173Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-03-28T18:56:56.173Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-03-28T18:56:56.173Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-03-28T18:56:56.433Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-03-28T18:56:56.691Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-03-28T18:56:56.691Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-03-28T18:56:56.691Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-03-28T18:56:56.691Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-03-28T18:56:56.691Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-03-28T18:56:56.691Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-03-28T18:56:56.691Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-03-28T18:56:56.691Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-03-28T18:56:56.691Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-03-28T18:56:56.691Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-03-28T18:56:56.691Z] | ^ [2024-03-28T18:56:56.950Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-03-28T18:56:56.950Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-03-28T18:56:56.950Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-03-28T18:56:57.209Z] [ 68%] Linking C shared library libcsdk.so [2024-03-28T18:56:57.209Z] [ 68%] Built target csdk [2024-03-28T18:56:57.209Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-03-28T18:56:57.209Z] [ 72%] Linking C executable template [2024-03-28T18:56:57.209Z] [ 72%] Built target template [2024-03-28T18:56:57.209Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-03-28T18:56:57.467Z] [ 76%] Linking C executable device-counter [2024-03-28T18:56:57.467Z] [ 76%] Built target device-counter [2024-03-28T18:56:57.467Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-03-28T18:56:57.467Z] [ 80%] Linking C executable device-random [2024-03-28T18:56:57.725Z] [ 80%] Built target device-random [2024-03-28T18:56:57.725Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-03-28T18:56:57.725Z] [ 84%] Linking C executable device-gyro [2024-03-28T18:56:57.725Z] [ 84%] Built target device-gyro [2024-03-28T18:56:57.725Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-03-28T18:56:57.725Z] [ 88%] Linking C executable device-bitfields [2024-03-28T18:56:57.983Z] [ 88%] Built target device-bitfields [2024-03-28T18:56:57.983Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-03-28T18:56:57.983Z] [ 92%] Linking C executable template-discovery [2024-03-28T18:56:57.983Z] [ 92%] Built target template-discovery [2024-03-28T18:56:57.983Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-03-28T18:56:58.241Z] [ 96%] Linking C executable device-file [2024-03-28T18:56:58.241Z] [ 96%] Built target device-file [2024-03-28T18:56:58.241Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-03-28T18:56:58.241Z] [100%] Linking C executable device-terminal [2024-03-28T18:56:58.241Z] [100%] Built target device-terminal [2024-03-28T18:56:58.241Z] make: Entering directory '/tmp/sdk/build/release' [2024-03-28T18:56:58.500Z] [ 68%] Built target csdk [2024-03-28T18:56:58.500Z] [ 72%] Built target template [2024-03-28T18:56:58.500Z] [ 76%] Built target device-counter [2024-03-28T18:56:58.500Z] [ 80%] Built target device-random [2024-03-28T18:56:58.500Z] [ 84%] Built target device-gyro [2024-03-28T18:56:58.500Z] [ 88%] Built target device-bitfields [2024-03-28T18:56:58.500Z] [ 92%] Built target template-discovery [2024-03-28T18:56:58.500Z] [ 96%] Built target device-file [2024-03-28T18:56:58.500Z] [100%] Built target device-terminal [2024-03-28T18:56:58.500Z] Install the project... [2024-03-28T18:56:58.500Z] -- Install configuration: "Release" [2024-03-28T18:56:58.500Z] -- Installing: /usr/local/lib/libcsdk.so [2024-03-28T18:56:58.500Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-03-28T18:56:58.500Z] -- Installing: /usr/local/include [2024-03-28T18:56:58.500Z] -- Installing: /usr/local/include/devsdk [2024-03-28T18:56:58.500Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-03-28T18:56:58.500Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-03-28T18:56:58.500Z] -- Installing: /usr/local/include/edgex [2024-03-28T18:56:58.500Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-03-28T18:56:58.500Z] -- Installing: /usr/local/include/edgex/devices.h [2024-03-28T18:56:58.500Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-03-28T18:56:58.500Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-03-28T18:56:58.500Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-03-28T18:56:58.500Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-03-28T18:56:58.500Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-03-28T18:56:58.500Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-03-28T18:56:58.500Z] make: Leaving directory '/tmp/sdk/build/release' [2024-03-28T18:56:59.069Z] Removing intermediate container 276b1a91ca92 [2024-03-28T18:56:59.069Z] ---> 93ea026e413b [2024-03-28T18:56:59.069Z] Step 14/21 : FROM ${BASE} [2024-03-28T18:56:59.069Z] ---> 6605166a5db4 [2024-03-28T18:56:59.069Z] Step 15/21 : LABEL maintainer="IOTech " [2024-03-28T18:56:59.069Z] ---> Running in d738ab8a4f7d [2024-03-28T18:56:59.327Z] Removing intermediate container d738ab8a4f7d [2024-03-28T18:56:59.327Z] ---> 02bf0b545476 [2024-03-28T18:56:59.327Z] 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-03-28T18:56:59.327Z] ---> Running in 9088f1feeaa4 [2024-03-28T18:56:59.587Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-03-28T18:57:00.155Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-03-28T18:57:00.155Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-03-28T18:57:00.155Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-03-28T18:57:00.155Z] Removing intermediate container 9088f1feeaa4 [2024-03-28T18:57:00.155Z] ---> df8d7c4054fc [2024-03-28T18:57:00.155Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-03-28T18:57:00.155Z] ---> Running in 50f3002905d4 [2024-03-28T18:57:00.730Z] Removing intermediate container 50f3002905d4 [2024-03-28T18:57:00.730Z] ---> b010516bae00 [2024-03-28T18:57:00.730Z] 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-03-28T18:57:00.730Z] ---> Running in 02c0ae101cbb [2024-03-28T18:57:00.989Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-28T18:57:01.248Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-28T18:57:01.508Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-28T18:57:02.076Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-03-28T18:57:02.076Z] (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-03-28T18:57:02.076Z] (2/9) Installing curl (8.5.0-r0) [2024-03-28T18:57:02.076Z] (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-03-28T18:57:02.076Z] (4/9) Installing hiredis (1.1.0-r2) [2024-03-28T18:57:02.076Z] (5/9) Installing hiredis-dev (1.1.0-r2) [2024-03-28T18:57:02.076Z] (6/9) Installing libcbor (0.10.2-r1) [2024-03-28T18:57:02.076Z] (7/9) Installing iotech-iot-1.5 (1.5.3-r0) [2024-03-28T18:57:02.644Z] (8/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-03-28T18:57:02.903Z] (9/9) Installing libuuid (2.38.1-r8) [2024-03-28T18:57:02.903Z] Executing busybox-1.36.1-r4.trigger [2024-03-28T18:57:02.903Z] OK: 331 MiB in 89 packages [2024-03-28T18:57:03.162Z] Removing intermediate container 02c0ae101cbb [2024-03-28T18:57:03.162Z] ---> 8640b0ae60b2 [2024-03-28T18:57:03.162Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-03-28T18:57:03.420Z] ---> 46b0a2251736 [2024-03-28T18:57:03.420Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-03-28T18:57:03.420Z] ---> dd76f0604780 [2024-03-28T18:57:03.420Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-03-28T18:57:03.679Z] ---> 302e17f97c27 [2024-03-28T18:57:03.679Z] Successfully built 302e17f97c27 [2024-03-28T18:57:03.679Z] 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-03-28T18:57:04.145Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-28T18:57:04.145Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-28T18:57:04.222Z] prd-ubuntu20.04-docker-8c-8g-1570 does not seem to be running inside a container [2024-03-28T18:57:04.252Z] $ 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 ******** ci-base-image-x86_64 cat [2024-03-28T18:57:04.579Z] $ docker top 540a031075dbc6b0375ad45ab60cea4fa60f7fa4d919378d088cae8515b6ae53 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-28T18:57:04.939Z] + make test [2024-03-28T18:57:04.940Z] echo "make test" [2024-03-28T18:57:04.940Z] make test [Pipeline] } [2024-03-28T18:57:04.954Z] $ docker stop --time=1 540a031075dbc6b0375ad45ab60cea4fa60f7fa4d919378d088cae8515b6ae53 [2024-03-28T18:57:06.220Z] $ docker rm -f --volumes 540a031075dbc6b0375ad45ab60cea4fa60f7fa4d919378d088cae8515b6ae53 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-28T18:57:06.887Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-28T18:57:07.174Z] + ls -al . [2024-03-28T18:57:07.175Z] total 212 [2024-03-28T18:57:07.175Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 28 18:56 . [2024-03-28T18:57:07.175Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 18:56 .. [2024-03-28T18:57:07.175Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 18:56 .git [2024-03-28T18:57:07.175Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 18:56 .github [2024-03-28T18:57:07.175Z] -rw-rw-r-- 1 jenkins jenkins 176 Mar 28 18:56 .gitignore [2024-03-28T18:57:07.175Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 18:56 .semver [2024-03-28T18:57:07.175Z] -rw-rw-r-- 1 jenkins jenkins 2908 Mar 28 18:56 Attribution.txt [2024-03-28T18:57:07.175Z] -rw-rw-r-- 1 jenkins jenkins 11953 Mar 28 18:56 CHANGELOG.md [2024-03-28T18:57:07.175Z] -rw-rw-r-- 1 jenkins jenkins 108574 Mar 28 18:56 Doxyfile [2024-03-28T18:57:07.175Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 18:56 GOVERNANCE.md [2024-03-28T18:57:07.175Z] -rw-rw-r-- 1 jenkins jenkins 784 Mar 28 18:56 Jenkinsfile [2024-03-28T18:57:07.175Z] -rw-rw-r-- 1 jenkins jenkins 10174 Mar 28 18:56 LICENSE [2024-03-28T18:57:07.175Z] -rw-rw-r-- 1 jenkins jenkins 444 Mar 28 18:56 Makefile [2024-03-28T18:57:07.175Z] -rw-rw-r-- 1 jenkins jenkins 618 Mar 28 18:56 OWNERS.md [2024-03-28T18:57:07.175Z] -rw-rw-r-- 1 jenkins jenkins 1651 Mar 28 18:56 README.IOT.md [2024-03-28T18:57:07.175Z] -rw-rw-r-- 1 jenkins jenkins 4215 Mar 28 18:56 README.md [2024-03-28T18:57:07.175Z] -rw-rw-r-- 1 jenkins jenkins 1245 Mar 28 18:56 README.v3.md [2024-03-28T18:57:07.175Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 18:56 VERSION [2024-03-28T18:57:07.175Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 18:56 docs [2024-03-28T18:57:07.175Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 18:56 include [2024-03-28T18:57:07.175Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 18:56 scripts [2024-03-28T18:57:07.175Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 18:56 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-28T18:57:07.493Z] + 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=cc085ae6bf8d828edab033730e8a877177eeba07 --label arch=amd64 --label version=0.0.0 . [2024-03-28T18:57:07.493Z] Sending build context to Docker daemon 5.013MB [2024-03-28T18:57:07.493Z] Step 1/17 : ARG BASE=alpine:3.18 [2024-03-28T18:57:07.493Z] Step 2/17 : FROM ${BASE} [2024-03-28T18:57:07.493Z] ---> 302e17f97c27 [2024-03-28T18:57:07.493Z] Step 3/17 : LABEL maintainer="IOTech " [2024-03-28T18:57:07.493Z] ---> Running in 697742bcd40f [2024-03-28T18:57:07.493Z] Removing intermediate container 697742bcd40f [2024-03-28T18:57:07.493Z] ---> a288abf5451e [2024-03-28T18:57:07.493Z] 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-03-28T18:57:07.751Z] ---> Running in 9953512e4ef2 [2024-03-28T18:57:08.010Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-03-28T18:57:08.269Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-03-28T18:57:08.269Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-03-28T18:57:08.269Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-03-28T18:57:08.527Z] Removing intermediate container 9953512e4ef2 [2024-03-28T18:57:08.527Z] ---> 781ce5e17e3d [2024-03-28T18:57:08.527Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-03-28T18:57:08.527Z] ---> Running in aa3913ab4055 [2024-03-28T18:57:09.092Z] Removing intermediate container aa3913ab4055 [2024-03-28T18:57:09.092Z] ---> c95c95b89106 [2024-03-28T18:57:09.092Z] 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-03-28T18:57:09.092Z] ---> Running in fa4df675f99b [2024-03-28T18:57:09.352Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-28T18:57:09.611Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-28T18:57:09.611Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-28T18:57:10.180Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-03-28T18:57:10.180Z] (1/11) Installing iotech-iot-1.5-dev (1.5.3-r0) [2024-03-28T18:57:10.439Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-03-28T18:57:10.439Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-03-28T18:57:10.439Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-03-28T18:57:10.439Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-03-28T18:57:10.439Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-03-28T18:57:10.439Z] (7/11) Installing libblkid (2.38.1-r8) [2024-03-28T18:57:10.439Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-03-28T18:57:10.439Z] (9/11) Installing libmount (2.38.1-r8) [2024-03-28T18:57:10.439Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-03-28T18:57:10.439Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-03-28T18:57:10.699Z] Executing busybox-1.36.1-r4.trigger [2024-03-28T18:57:10.699Z] OK: 336 MiB in 100 packages [2024-03-28T18:57:10.962Z] Removing intermediate container fa4df675f99b [2024-03-28T18:57:10.962Z] ---> e74a1d08aab1 [2024-03-28T18:57:10.962Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2024-03-28T18:57:11.221Z] ---> d0130b981fe7 [2024-03-28T18:57:11.221Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2024-03-28T18:57:11.221Z] ---> 1d1c295e02a7 [2024-03-28T18:57:11.221Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2024-03-28T18:57:11.480Z] ---> d9d5ecb66047 [2024-03-28T18:57:11.480Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2024-03-28T18:57:11.480Z] ---> 629aa7bcf8b5 [2024-03-28T18:57:11.480Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2024-03-28T18:57:11.739Z] ---> 825609468d0e [2024-03-28T18:57:11.740Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2024-03-28T18:57:11.740Z] ---> 4e07f86a2ecf [2024-03-28T18:57:11.740Z] Step 13/17 : WORKDIR /edgex-c-sdk [2024-03-28T18:57:11.740Z] ---> Running in 35867962867a [2024-03-28T18:57:11.999Z] Removing intermediate container 35867962867a [2024-03-28T18:57:11.999Z] ---> e1e706da2cbc [2024-03-28T18:57:11.999Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-03-28T18:57:11.999Z] ---> Running in fe2eff0915b2 [2024-03-28T18:57:11.999Z] Removing intermediate container fe2eff0915b2 [2024-03-28T18:57:11.999Z] ---> 77bf5bf59079 [2024-03-28T18:57:11.999Z] Step 15/17 : LABEL arch=amd64 [2024-03-28T18:57:11.999Z] ---> Running in ca022376b7a4 [2024-03-28T18:57:11.999Z] Removing intermediate container ca022376b7a4 [2024-03-28T18:57:11.999Z] ---> 9beeb54e9d54 [2024-03-28T18:57:11.999Z] Step 16/17 : LABEL git_sha=cc085ae6bf8d828edab033730e8a877177eeba07 [2024-03-28T18:57:11.999Z] ---> Running in 066c8aa5c9e8 [2024-03-28T18:57:12.257Z] Removing intermediate container 066c8aa5c9e8 [2024-03-28T18:57:12.257Z] ---> 4525a44a3773 [2024-03-28T18:57:12.257Z] Step 17/17 : LABEL version=0.0.0 [2024-03-28T18:57:12.257Z] ---> Running in cf3b09349db7 [2024-03-28T18:57:12.257Z] Removing intermediate container cf3b09349db7 [2024-03-28T18:57:12.257Z] ---> 4c437c023cbf [2024-03-28T18:57:12.257Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-03-28T18:57:12.257Z] Successfully built 4c437c023cbf [2024-03-28T18:57:12.257Z] 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-03-28T18:57:12.776Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-28T18:57:12.776Z] [2024-03-28T18:57:12.776Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-28T18:57:13.076Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-28T18:57:13.076Z] latest: Pulling from edgex-lftools-log-publisher [2024-03-28T18:57:13.076Z] 5eb5b503b376: Pulling fs layer [2024-03-28T18:57:13.076Z] 5c69ac0246d0: Pulling fs layer [2024-03-28T18:57:13.076Z] ec43610c2a17: Pulling fs layer [2024-03-28T18:57:13.076Z] 3a2ae6a8a46f: Pulling fs layer [2024-03-28T18:57:13.076Z] 33b1e0a273af: Pulling fs layer [2024-03-28T18:57:13.076Z] 5d3b04190fa2: Pulling fs layer [2024-03-28T18:57:13.076Z] 2f39f015ded8: Pulling fs layer [2024-03-28T18:57:13.076Z] 5d3b04190fa2: Waiting [2024-03-28T18:57:13.076Z] 2f39f015ded8: Waiting [2024-03-28T18:57:13.076Z] 33b1e0a273af: Waiting [2024-03-28T18:57:13.076Z] 3a2ae6a8a46f: Waiting [2024-03-28T18:57:13.076Z] 5c69ac0246d0: Download complete [2024-03-28T18:57:13.076Z] 3a2ae6a8a46f: Download complete [2024-03-28T18:57:13.076Z] ec43610c2a17: Verifying Checksum [2024-03-28T18:57:13.076Z] ec43610c2a17: Download complete [2024-03-28T18:57:13.076Z] 33b1e0a273af: Verifying Checksum [2024-03-28T18:57:13.076Z] 5d3b04190fa2: Download complete [2024-03-28T18:57:13.342Z] 5eb5b503b376: Download complete [2024-03-28T18:57:13.910Z] 2f39f015ded8: Download complete [2024-03-28T18:57:14.478Z] 5eb5b503b376: Pull complete [2024-03-28T18:57:14.478Z] 5c69ac0246d0: Pull complete [2024-03-28T18:57:15.043Z] ec43610c2a17: Pull complete [2024-03-28T18:57:15.043Z] 3a2ae6a8a46f: Pull complete [2024-03-28T18:57:15.302Z] 33b1e0a273af: Pull complete [2024-03-28T18:57:15.302Z] 5d3b04190fa2: Pull complete [2024-03-28T18:57:19.521Z] 2f39f015ded8: Pull complete [2024-03-28T18:57:19.521Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-03-28T18:57:19.521Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-28T18:57:19.521Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-28T18:57:19.624Z] prd-ubuntu20.04-docker-8c-8g-1570 does not seem to be running inside a container [2024-03-28T18:57:19.657Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-03-28T18:57:22.162Z] $ docker top b94cad31b67808ac39596f1dff826dbe2ef60212b73d5804c4d97d673fd0130a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-28T18:57:22.564Z] ---> job-cost.sh [2024-03-28T18:57:22.564Z] lf-activate-venv: SKIPPING [2024-03-28T18:57:22.564Z] INFO: No Stack... [2024-03-28T18:57:22.825Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-28T18:57:23.392Z] INFO: Archiving Costs [Pipeline] sh [2024-03-28T18:57:23.677Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-500/archives/cost.csv [2024-03-28T18:57:23.677Z] + cut -d, -f6 [Pipeline] lock [2024-03-28T18:57:23.690Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-500-6-stack-cost] [2024-03-28T18:57:23.700Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-500-6-stack-cost] did not exist. Created. [2024-03-28T18:57:23.705Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-500-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-28T18:57:24.026Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-03-28T18:57:24.081Z] Stashed 1 file(s) [Pipeline] } [2024-03-28T18:57:24.094Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-500-6-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-28T18:57:24.126Z] $ docker stop --time=1 b94cad31b67808ac39596f1dff826dbe2ef60212b73d5804c4d97d673fd0130a [2024-03-28T18:57:25.286Z] $ docker rm -f --volumes b94cad31b67808ac39596f1dff826dbe2ef60212b73d5804c4d97d673fd0130a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-03-28T18:59:13.464Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1573 in /w/workspace/edgexfoundry_device-sdk-c_PR-500 [Pipeline] { [Pipeline] ws [2024-03-28T18:59:13.482Z] Running in /w/workspace/device-sdk-c/6 [Pipeline] { [Pipeline] checkout [2024-03-28T18:59:16.541Z] Selected Git installation does not exist. Using Default [2024-03-28T18:59:16.541Z] The recommended git tool is: NONE [2024-03-28T18:59:22.233Z] using credential edgex-jenkins-ssh [2024-03-28T18:59:22.254Z] Cloning the remote Git repository [2024-03-28T18:59:22.301Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-03-28T18:59:22.423Z] > git init /w/workspace/device-sdk-c/6 # timeout=10 [2024-03-28T18:59:22.583Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-03-28T18:59:22.584Z] > git --version # timeout=10 [2024-03-28T18:59:22.606Z] > git --version # 'git version 2.25.1' [2024-03-28T18:59:22.609Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-28T18:59:22.788Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-28T18:59:23.962Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-03-28T18:59:23.984Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-28T18:59:25.042Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-03-28T18:59:25.092Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-03-28T18:59:25.093Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-28T18:59:25.120Z] > 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-03-28T18:59:25.728Z] Merging remotes/origin/main commit 442156b10c8e48709838cfe148b6b6cf65ecf635 into PR head commit 88225b2b2af007b234a268bddf4c2374904aaf88 [2024-03-28T18:59:26.148Z] Merge succeeded, producing 2b1c678a344a70f5ba013d3f23d99d9596e5dd74 [2024-03-28T18:59:26.149Z] Checking out Revision 2b1c678a344a70f5ba013d3f23d99d9596e5dd74 (PR-500) [2024-03-28T18:59:25.752Z] > git config core.sparsecheckout # timeout=10 [2024-03-28T18:59:25.834Z] > git checkout -f 88225b2b2af007b234a268bddf4c2374904aaf88 # timeout=10 [2024-03-28T18:59:25.964Z] > git remote # timeout=10 [2024-03-28T18:59:25.982Z] > git config --get remote.origin.url # timeout=10 [2024-03-28T18:59:26.001Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-28T18:59:26.020Z] > git merge 442156b10c8e48709838cfe148b6b6cf65ecf635 # timeout=10 [2024-03-28T18:59:26.126Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-03-28T18:59:26.157Z] > git config core.sparsecheckout # timeout=10 [2024-03-28T18:59:26.169Z] > git checkout -f 2b1c678a344a70f5ba013d3f23d99d9596e5dd74 # timeout=10 [2024-03-28T18:59:29.746Z] Commit message: "Merge commit '442156b10c8e48709838cfe148b6b6cf65ecf635' into HEAD" [2024-03-28T18:59:29.774Z] First time build. Skipping changelog. [2024-03-28T18:59:29.756Z] > git rev-list --no-walk f29d8a8579aa19deec5e288b5b5ffc70f6838c55 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-28T18:59:31.600Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-03-28T18:59:31.600Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-28T18:59:31.600Z] Dload Upload Total Spent Left Speed [2024-03-28T18:59:31.600Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 95022 0 --:--:-- --:--:-- --:--:-- 95022 [Pipeline] sh [2024-03-28T18:59:31.946Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-03-28T18:59:32.284Z] + + sudo tee /etc/docker/daemon.new [2024-03-28T18:59:32.284Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-03-28T18:59:32.284Z] { [2024-03-28T18:59:32.284Z] "registry-mirrors": [ [2024-03-28T18:59:32.284Z] "https://nexus3.edgexfoundry.org:10001" [2024-03-28T18:59:32.284Z] ], [2024-03-28T18:59:32.284Z] "bip": "10.250.0.254/24", [2024-03-28T18:59:32.284Z] "hosts": [ [2024-03-28T18:59:32.284Z] "tcp://0.0.0.0:5555", [2024-03-28T18:59:32.284Z] "unix:///var/run/docker.sock" [2024-03-28T18:59:32.284Z] ], [2024-03-28T18:59:32.284Z] "mtu": 1458, [2024-03-28T18:59:32.284Z] "selinux-enabled": true, [2024-03-28T18:59:32.284Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-03-28T18:59:32.284Z] } [Pipeline] sh [2024-03-28T18:59:32.612Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-03-28T18:59:32.952Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-28T18:59:51.207Z] provisioning config files... [2024-03-28T18:59:51.234Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/6@tmp/config15723238285580152853tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-28T18:59:51.709Z] ---> ****-login.sh [2024-03-28T18:59:51.710Z] nexus3.edgexfoundry.org:10001 [2024-03-28T18:59:52.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-28T18:59:52.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-28T18:59:52.300Z] Configure a credential helper to remove this warning. See [2024-03-28T18:59:52.300Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-28T18:59:52.300Z] [2024-03-28T18:59:52.300Z] Login Succeeded [2024-03-28T18:59:52.300Z] nexus3.edgexfoundry.org:10002 [2024-03-28T18:59:52.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-28T18:59:52.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-28T18:59:52.841Z] Configure a credential helper to remove this warning. See [2024-03-28T18:59:52.842Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-28T18:59:52.842Z] [2024-03-28T18:59:52.842Z] Login Succeeded [2024-03-28T18:59:52.842Z] nexus3.edgexfoundry.org:10003 [2024-03-28T18:59:53.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-28T18:59:53.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-28T18:59:53.109Z] Configure a credential helper to remove this warning. See [2024-03-28T18:59:53.109Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-28T18:59:53.109Z] [2024-03-28T18:59:53.109Z] Login Succeeded [2024-03-28T18:59:53.109Z] nexus3.edgexfoundry.org:10004 [2024-03-28T18:59:53.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-28T18:59:53.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-28T18:59:53.381Z] Configure a credential helper to remove this warning. See [2024-03-28T18:59:53.382Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-28T18:59:53.382Z] [2024-03-28T18:59:53.382Z] Login Succeeded [2024-03-28T18:59:53.382Z] ****.io [2024-03-28T18:59:53.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-28T18:59:54.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-28T18:59:54.233Z] Configure a credential helper to remove this warning. See [2024-03-28T18:59:54.233Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-28T18:59:54.233Z] [2024-03-28T18:59:54.233Z] Login Succeeded [2024-03-28T18:59:54.233Z] ---> ****-login.sh ends [Pipeline] } [2024-03-28T18:59:54.247Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-28T18:59:54.554Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-28T18:59:54.572Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-03-28T18:59:54.589Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-28T18:59:54.610Z] ========================================================= [2024-03-28T18:59:54.611Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-03-28T18:59:54.611Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-28T18:59:54.957Z] + 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-03-28T18:59:55.224Z] Sending build context to Docker daemon 3.002MB [2024-03-28T18:59:55.492Z] Step 1/21 : ARG BASE=alpine:3.18 [2024-03-28T18:59:55.492Z] Step 2/21 : FROM ${BASE} as builder [2024-03-28T18:59:55.492Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2024-03-28T18:59:55.492Z] 579b34f0a95b: Pulling fs layer [2024-03-28T18:59:55.492Z] e71477ac5e1b: Pulling fs layer [2024-03-28T18:59:55.760Z] 579b34f0a95b: Verifying Checksum [2024-03-28T18:59:55.760Z] 579b34f0a95b: Download complete [2024-03-28T18:59:56.360Z] 579b34f0a95b: Pull complete [2024-03-28T18:59:58.308Z] e71477ac5e1b: Download complete [2024-03-28T19:00:10.658Z] e71477ac5e1b: Pull complete [2024-03-28T19:00:10.658Z] Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-03-28T19:00:10.658Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-03-28T19:00:10.658Z] ---> 2b552cad5dd9 [2024-03-28T19:00:10.658Z] 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-03-28T19:00:10.658Z] ---> Running in c745f6ae59b3 [2024-03-28T19:00:12.087Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-03-28T19:00:12.361Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-03-28T19:00:12.361Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-03-28T19:00:12.361Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-03-28T19:00:12.967Z] Removing intermediate container c745f6ae59b3 [2024-03-28T19:00:12.967Z] ---> 30df4a0c42c2 [2024-03-28T19:00:12.967Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-03-28T19:00:13.234Z] ---> Running in 3d5792468e49 [2024-03-28T19:00:15.194Z] Removing intermediate container 3d5792468e49 [2024-03-28T19:00:15.194Z] ---> d932a2f5093c [2024-03-28T19:00:15.194Z] 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-03-28T19:00:15.194Z] ---> Running in 7a55d6651746 [2024-03-28T19:00:16.620Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-28T19:00:16.887Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-28T19:00:17.472Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-28T19:00:18.432Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-03-28T19:00:18.700Z] (1/17) Installing hiredis (1.1.0-r2) [2024-03-28T19:00:18.700Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-03-28T19:00:18.700Z] (3/17) Installing libcbor (0.10.2-r1) [2024-03-28T19:00:18.700Z] (4/17) Installing iotech-iot-1.5 (1.5.3-r0) [2024-03-28T19:00:19.666Z] (5/17) Installing iotech-iot-1.5-dev (1.5.3-r0) [2024-03-28T19:00:19.666Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-03-28T19:00:19.937Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-03-28T19:00:19.937Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-03-28T19:00:19.937Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-03-28T19:00:19.937Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-03-28T19:00:19.937Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-03-28T19:00:19.937Z] (12/17) Installing libblkid (2.38.1-r8) [2024-03-28T19:00:19.937Z] (13/17) Installing libuuid (2.38.1-r8) [2024-03-28T19:00:19.937Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-03-28T19:00:19.937Z] (15/17) Installing libmount (2.38.1-r8) [2024-03-28T19:00:19.937Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-03-28T19:00:19.937Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-03-28T19:00:19.937Z] Executing busybox-1.36.1-r4.trigger [2024-03-28T19:00:20.208Z] OK: 333 MiB in 99 packages [2024-03-28T19:00:21.632Z] Removing intermediate container 7a55d6651746 [2024-03-28T19:00:21.632Z] ---> 9ca6e6e33e42 [2024-03-28T19:00:21.632Z] Step 6/21 : RUN mkdir /tmp/sdk [2024-03-28T19:00:21.632Z] ---> Running in 002522a541fe [2024-03-28T19:00:23.596Z] Removing intermediate container 002522a541fe [2024-03-28T19:00:23.596Z] ---> ef98077f1463 [2024-03-28T19:00:23.596Z] Step 7/21 : COPY VERSION /tmp/sdk [2024-03-28T19:00:24.183Z] ---> be02342191ae [2024-03-28T19:00:24.183Z] Step 8/21 : COPY src /tmp/sdk/src [2024-03-28T19:00:25.153Z] ---> eaddf03f9c32 [2024-03-28T19:00:25.153Z] Step 9/21 : COPY include /tmp/sdk/include [2024-03-28T19:00:25.423Z] ---> b00ad0ff823e [2024-03-28T19:00:25.423Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2024-03-28T19:00:26.016Z] ---> 70b5f83d89a2 [2024-03-28T19:00:26.016Z] Step 11/21 : COPY LICENSE /tmp/sdk [2024-03-28T19:00:26.606Z] ---> 17b86177eb08 [2024-03-28T19:00:26.606Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2024-03-28T19:00:27.245Z] ---> 052d6847a22b [2024-03-28T19:00:27.245Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-03-28T19:00:27.245Z] ---> Running in 296374d04944 [2024-03-28T19:00:28.239Z] + CPPCHECK=false [2024-03-28T19:00:28.239Z] + DOCGEN=false [2024-03-28T19:00:28.239Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-03-28T19:00:28.239Z] + '[' 0 -gt 0 ] [2024-03-28T19:00:28.239Z] + readlink -f ./scripts/build.sh [2024-03-28T19:00:28.239Z] + dirname /tmp/sdk/scripts/build.sh [2024-03-28T19:00:28.239Z] + dirname /tmp/sdk/scripts [2024-03-28T19:00:28.239Z] + ROOT=/tmp/sdk [2024-03-28T19:00:28.239Z] + cd /tmp/sdk [2024-03-28T19:00:28.239Z] + mkdir -p /tmp/sdk/build/release [2024-03-28T19:00:28.239Z] + cd /tmp/sdk/build/release [2024-03-28T19:00:28.239Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-03-28T19:00:28.827Z] -- The C compiler identification is GNU 12.2.1 [2024-03-28T19:00:28.827Z] -- Detecting C compiler ABI info [2024-03-28T19:00:29.416Z] -- Detecting C compiler ABI info - done [2024-03-28T19:00:29.416Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-03-28T19:00:29.416Z] -- Detecting C compile features [2024-03-28T19:00:29.416Z] -- Detecting C compile features - done [2024-03-28T19:00:29.416Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-03-28T19:00:29.685Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-03-28T19:00:29.685Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-03-28T19:00:29.685Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-03-28T19:00:29.685Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-03-28T19:00:29.685Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-03-28T19:00:29.685Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-03-28T19:00:29.685Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-03-28T19:00:29.685Z] -- /opt/iotech/iot/1.5/include [2024-03-28T19:00:29.685Z] -- C SDK 0.0.0 for Linux [2024-03-28T19:00:29.685Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-03-28T19:00:30.274Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-03-28T19:00:30.274Z] -- Found Curses: /usr/lib/libcurses.so [2024-03-28T19:00:30.556Z] -- Configuring done (2.1s) [2024-03-28T19:00:30.825Z] -- Generating done (0.3s) [2024-03-28T19:00:30.825Z] -- Build files have been written to: /tmp/sdk/build/release [2024-03-28T19:00:30.825Z] + make all package [2024-03-28T19:00:30.825Z] + tee release.log [2024-03-28T19:00:31.093Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-03-28T19:00:32.054Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-03-28T19:00:33.021Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-03-28T19:00:33.605Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-03-28T19:00:34.573Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-03-28T19:00:35.158Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-03-28T19:00:37.745Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-03-28T19:00:38.330Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-03-28T19:00:38.330Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-03-28T19:00:38.330Z] 294 | while (privateConfig) [2024-03-28T19:00:38.330Z] | ^~~~~~~~~~~~~ [2024-03-28T19:00:38.330Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-03-28T19:00:38.330Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-03-28T19:00:38.330Z] | ^~~~~~~~~~~~~ [2024-03-28T19:00:38.330Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-03-28T19:00:38.330Z] 271 | while (result) [2024-03-28T19:00:38.330Z] | ^~~~~~ [2024-03-28T19:00:38.330Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-03-28T19:00:38.330Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-03-28T19:00:38.330Z] | ^~~~~~ [2024-03-28T19:00:38.597Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-03-28T19:00:38.864Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-03-28T19:00:39.825Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-03-28T19:00:41.783Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-03-28T19:00:42.372Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-03-28T19:00:43.336Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-03-28T19:00:44.299Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-03-28T19:00:44.566Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-03-28T19:00:45.525Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-03-28T19:00:45.793Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-03-28T19:00:48.374Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-03-28T19:00:48.643Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-03-28T19:00:49.230Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-03-28T19:00:51.206Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-03-28T19:00:59.425Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-03-28T19:00:59.425Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-03-28T19:01:00.018Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-03-28T19:01:00.612Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-03-28T19:01:00.879Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-03-28T19:01:02.288Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-03-28T19:01:04.864Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-03-28T19:01:05.129Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-03-28T19:01:06.086Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-03-28T19:01:06.667Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-03-28T19:01:06.933Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-03-28T19:01:06.933Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-03-28T19:01:06.933Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-03-28T19:01:06.933Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-03-28T19:01:06.933Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-03-28T19:01:06.933Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-03-28T19:01:06.933Z] | ^ [2024-03-28T19:01:08.867Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-03-28T19:01:08.868Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-03-28T19:01:08.868Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-03-28T19:01:08.868Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-03-28T19:01:08.868Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-03-28T19:01:08.868Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-03-28T19:01:09.824Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-03-28T19:01:10.783Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-03-28T19:01:11.369Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-03-28T19:01:11.951Z] [ 68%] Linking C shared library libcsdk.so [2024-03-28T19:01:12.217Z] [ 68%] Built target csdk [2024-03-28T19:01:12.217Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-03-28T19:01:13.179Z] [ 72%] Linking C executable template [2024-03-28T19:01:13.447Z] [ 72%] Built target template [2024-03-28T19:01:13.716Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-03-28T19:01:14.298Z] [ 76%] Linking C executable device-counter [2024-03-28T19:01:14.564Z] [ 76%] Built target device-counter [2024-03-28T19:01:14.564Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-03-28T19:01:15.147Z] [ 80%] Linking C executable device-random [2024-03-28T19:01:15.732Z] [ 80%] Built target device-random [2024-03-28T19:01:15.732Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-03-28T19:01:16.328Z] [ 84%] Linking C executable device-gyro [2024-03-28T19:01:16.594Z] [ 84%] Built target device-gyro [2024-03-28T19:01:16.594Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-03-28T19:01:17.181Z] [ 88%] Linking C executable device-bitfields [2024-03-28T19:01:17.448Z] [ 88%] Built target device-bitfields [2024-03-28T19:01:17.448Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-03-28T19:01:18.408Z] [ 92%] Linking C executable template-discovery [2024-03-28T19:01:18.990Z] [ 92%] Built target template-discovery [2024-03-28T19:01:18.990Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-03-28T19:01:19.574Z] [ 96%] Linking C executable device-file [2024-03-28T19:01:19.842Z] [ 96%] Built target device-file [2024-03-28T19:01:19.842Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-03-28T19:01:20.804Z] [100%] Linking C executable device-terminal [2024-03-28T19:01:21.072Z] [100%] Built target device-terminal [2024-03-28T19:01:21.072Z] Run CPack packaging tool... [2024-03-28T19:01:21.072Z] CPack: Create package using TGZ [2024-03-28T19:01:21.072Z] CPack: Install projects [2024-03-28T19:01:21.072Z] CPack: - Run preinstall target for: Csdk [2024-03-28T19:01:22.136Z] CPack: - Install project: Csdk [] [2024-03-28T19:01:22.136Z] CPack: Create package [2024-03-28T19:01:22.136Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-03-28T19:01:22.136Z] + '[' false '=' true ] [2024-03-28T19:01:22.136Z] + '[' false '=' true ] [2024-03-28T19:01:22.136Z] + mkdir -p /tmp/sdk/build/debug [2024-03-28T19:01:22.136Z] + cd /tmp/sdk/build/debug [2024-03-28T19:01:22.136Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-03-28T19:01:22.407Z] -- The C compiler identification is GNU 12.2.1 [2024-03-28T19:01:22.688Z] -- Detecting C compiler ABI info [2024-03-28T19:01:22.967Z] -- Detecting C compiler ABI info - done [2024-03-28T19:01:22.967Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-03-28T19:01:22.967Z] -- Detecting C compile features [2024-03-28T19:01:22.967Z] -- Detecting C compile features - done [2024-03-28T19:01:22.967Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-03-28T19:01:23.301Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-03-28T19:01:23.301Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-03-28T19:01:23.301Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-03-28T19:01:23.301Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-03-28T19:01:23.301Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-03-28T19:01:23.301Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-03-28T19:01:23.301Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-03-28T19:01:23.301Z] -- /opt/iotech/iot/1.5/include [2024-03-28T19:01:23.301Z] -- C SDK 0.0.0 for Linux [2024-03-28T19:01:23.301Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-03-28T19:01:23.590Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-03-28T19:01:23.860Z] -- Found Curses: /usr/lib/libcurses.so [2024-03-28T19:01:24.128Z] -- Configuring done (1.8s) [2024-03-28T19:01:24.397Z] -- Generating done (0.3s) [2024-03-28T19:01:24.397Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-03-28T19:01:24.397Z] + + maketee [2024-03-28T19:01:24.397Z] debug.log [2024-03-28T19:01:24.397Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-03-28T19:01:24.981Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-03-28T19:01:25.569Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-03-28T19:01:25.836Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-03-28T19:01:26.103Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-03-28T19:01:26.687Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-03-28T19:01:27.270Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-03-28T19:01:27.852Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-03-28T19:01:27.852Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-03-28T19:01:28.436Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-03-28T19:01:29.018Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-03-28T19:01:29.285Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-03-28T19:01:29.879Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-03-28T19:01:30.147Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-03-28T19:01:30.730Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-03-28T19:01:31.002Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-03-28T19:01:31.268Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-03-28T19:01:32.235Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-03-28T19:01:32.501Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-03-28T19:01:32.767Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-03-28T19:01:33.346Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-03-28T19:01:34.750Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-03-28T19:01:35.016Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-03-28T19:01:35.281Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-03-28T19:01:35.863Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-03-28T19:01:35.863Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-03-28T19:01:36.443Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-03-28T19:01:38.375Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-03-28T19:01:38.375Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-03-28T19:01:38.955Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-03-28T19:01:39.220Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-03-28T19:01:39.485Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-03-28T19:01:39.485Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-03-28T19:01:39.485Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-03-28T19:01:39.485Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-03-28T19:01:39.485Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-03-28T19:01:39.485Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-03-28T19:01:39.485Z] | ^ [2024-03-28T19:01:40.064Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-03-28T19:01:40.643Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-03-28T19:01:40.908Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-03-28T19:01:41.173Z] [ 68%] Linking C shared library libcsdk.so [2024-03-28T19:01:41.438Z] [ 68%] Built target csdk [2024-03-28T19:01:41.438Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-03-28T19:01:42.018Z] [ 72%] Linking C executable template [2024-03-28T19:01:42.283Z] [ 72%] Built target template [2024-03-28T19:01:42.283Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-03-28T19:01:42.549Z] [ 76%] Linking C executable device-counter [2024-03-28T19:01:42.813Z] [ 76%] Built target device-counter [2024-03-28T19:01:42.813Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-03-28T19:01:43.080Z] [ 80%] Linking C executable device-random [2024-03-28T19:01:43.660Z] [ 80%] Built target device-random [2024-03-28T19:01:43.660Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-03-28T19:01:43.925Z] [ 84%] Linking C executable device-gyro [2024-03-28T19:01:44.190Z] [ 84%] Built target device-gyro [2024-03-28T19:01:44.190Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-03-28T19:01:44.455Z] [ 88%] Linking C executable device-bitfields [2024-03-28T19:01:44.722Z] [ 88%] Built target device-bitfields [2024-03-28T19:01:44.986Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-03-28T19:01:45.254Z] [ 92%] Linking C executable template-discovery [2024-03-28T19:01:45.521Z] [ 92%] Built target template-discovery [2024-03-28T19:01:45.521Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-03-28T19:01:46.107Z] [ 96%] Linking C executable device-file [2024-03-28T19:01:46.376Z] [ 96%] Built target device-file [2024-03-28T19:01:46.376Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-03-28T19:01:46.958Z] [100%] Linking C executable device-terminal [2024-03-28T19:01:47.224Z] [100%] Built target device-terminal [2024-03-28T19:01:47.224Z] make: Entering directory '/tmp/sdk/build/release' [2024-03-28T19:01:47.490Z] [ 68%] Built target csdk [2024-03-28T19:01:47.490Z] [ 72%] Built target template [2024-03-28T19:01:47.490Z] [ 76%] Built target device-counter [2024-03-28T19:01:47.490Z] [ 80%] Built target device-random [2024-03-28T19:01:47.756Z] [ 84%] Built target device-gyro [2024-03-28T19:01:47.756Z] [ 88%] Built target device-bitfields [2024-03-28T19:01:47.756Z] [ 92%] Built target template-discovery [2024-03-28T19:01:47.756Z] [ 96%] Built target device-file [2024-03-28T19:01:47.756Z] [100%] Built target device-terminal [2024-03-28T19:01:48.023Z] Install the project... [2024-03-28T19:01:48.023Z] -- Install configuration: "Release" [2024-03-28T19:01:48.023Z] -- Installing: /usr/local/lib/libcsdk.so [2024-03-28T19:01:48.023Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-03-28T19:01:48.023Z] -- Installing: /usr/local/include [2024-03-28T19:01:48.023Z] -- Installing: /usr/local/include/devsdk [2024-03-28T19:01:48.023Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-03-28T19:01:48.023Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-03-28T19:01:48.023Z] -- Installing: /usr/local/include/edgex [2024-03-28T19:01:48.023Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-03-28T19:01:48.023Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-03-28T19:01:48.023Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-03-28T19:01:48.023Z] -- Installing: /usr/local/include/edgex/devices.h [2024-03-28T19:01:48.024Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-03-28T19:01:48.024Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-03-28T19:01:48.024Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-03-28T19:01:48.024Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-03-28T19:01:48.024Z] make: Leaving directory '/tmp/sdk/build/release' [2024-03-28T19:01:49.444Z] Removing intermediate container 296374d04944 [2024-03-28T19:01:49.444Z] ---> 1bf314203a8a [2024-03-28T19:01:49.444Z] Step 14/21 : FROM ${BASE} [2024-03-28T19:01:49.444Z] ---> 2b552cad5dd9 [2024-03-28T19:01:49.444Z] Step 15/21 : LABEL maintainer="IOTech " [2024-03-28T19:01:49.444Z] ---> Running in aebfb27178e4 [2024-03-28T19:01:49.710Z] Removing intermediate container aebfb27178e4 [2024-03-28T19:01:49.710Z] ---> 90a8656ec9c4 [2024-03-28T19:01:49.710Z] 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-03-28T19:01:49.978Z] ---> Running in 8d7b617f5132 [2024-03-28T19:01:50.934Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-03-28T19:01:51.205Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-03-28T19:01:51.205Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-03-28T19:01:51.205Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-03-28T19:01:52.165Z] Removing intermediate container 8d7b617f5132 [2024-03-28T19:01:52.165Z] ---> e3aff251953f [2024-03-28T19:01:52.165Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-03-28T19:01:52.165Z] ---> Running in 3bd0aec20487 [2024-03-28T19:01:54.109Z] Removing intermediate container 3bd0aec20487 [2024-03-28T19:01:54.109Z] ---> f0cc2e704567 [2024-03-28T19:01:54.109Z] 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-03-28T19:01:54.109Z] ---> Running in 646df78e4ecc [2024-03-28T19:01:54.692Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-28T19:01:55.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-28T19:01:55.860Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-28T19:01:56.816Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-03-28T19:01:56.816Z] (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-03-28T19:01:56.816Z] (2/9) Installing curl (8.5.0-r0) [2024-03-28T19:01:56.816Z] (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-03-28T19:01:56.816Z] (4/9) Installing hiredis (1.1.0-r2) [2024-03-28T19:01:56.816Z] (5/9) Installing hiredis-dev (1.1.0-r2) [2024-03-28T19:01:56.816Z] (6/9) Installing libcbor (0.10.2-r1) [2024-03-28T19:01:56.816Z] (7/9) Installing iotech-iot-1.5 (1.5.3-r0) [2024-03-28T19:01:57.772Z] (8/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-03-28T19:01:58.041Z] (9/9) Installing libuuid (2.38.1-r8) [2024-03-28T19:01:58.041Z] Executing busybox-1.36.1-r4.trigger [2024-03-28T19:01:58.041Z] OK: 327 MiB in 89 packages [2024-03-28T19:01:58.996Z] Removing intermediate container 646df78e4ecc [2024-03-28T19:01:58.996Z] ---> da7951bbff80 [2024-03-28T19:01:58.996Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-03-28T19:01:59.578Z] ---> 713b6065f50f [2024-03-28T19:01:59.578Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-03-28T19:02:00.156Z] ---> 0f91e791389b [2024-03-28T19:02:00.156Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-03-28T19:02:00.733Z] ---> 3aa06a280303 [2024-03-28T19:02:00.733Z] Successfully built 3aa06a280303 [2024-03-28T19:02:00.733Z] 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-03-28T19:02:01.177Z] + docker inspect -f . ci-base-image-arm64 [2024-03-28T19:02:01.177Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-28T19:02:01.381Z] prd-ubuntu20.04-docker-arm64-4c-16g-1573 does not seem to be running inside a container [2024-03-28T19:02:01.440Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/6 -v /w/workspace/device-sdk-c/6:/w/workspace/device-sdk-c/6:rw,z -v /w/workspace/device-sdk-c/6@tmp:/w/workspace/device-sdk-c/6@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-03-28T19:02:02.607Z] $ docker top ea4f41c2128d370b73386a0ebde182b2dfa3f38bfbe690f06f634c8f8fdaf17f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-28T19:02:03.452Z] + make test [2024-03-28T19:02:03.452Z] echo "make test" [2024-03-28T19:02:03.452Z] make test [Pipeline] } [2024-03-28T19:02:03.471Z] $ docker stop --time=1 ea4f41c2128d370b73386a0ebde182b2dfa3f38bfbe690f06f634c8f8fdaf17f [2024-03-28T19:02:05.079Z] $ docker rm -f --volumes ea4f41c2128d370b73386a0ebde182b2dfa3f38bfbe690f06f634c8f8fdaf17f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-28T19:02:05.633Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-28T19:02:05.944Z] + ls -al . [2024-03-28T19:02:05.944Z] total 208 [2024-03-28T19:02:05.944Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 18:59 . [2024-03-28T19:02:05.944Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 18:59 .. [2024-03-28T19:02:05.944Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 18:59 .git [2024-03-28T19:02:05.944Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 18:59 .github [2024-03-28T19:02:05.944Z] -rw-rw-r-- 1 jenkins jenkins 176 Mar 28 18:59 .gitignore [2024-03-28T19:02:05.944Z] -rw-rw-r-- 1 jenkins jenkins 2908 Mar 28 18:59 Attribution.txt [2024-03-28T19:02:05.944Z] -rw-rw-r-- 1 jenkins jenkins 11953 Mar 28 18:59 CHANGELOG.md [2024-03-28T19:02:05.944Z] -rw-rw-r-- 1 jenkins jenkins 108574 Mar 28 18:59 Doxyfile [2024-03-28T19:02:05.944Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 18:59 GOVERNANCE.md [2024-03-28T19:02:05.944Z] -rw-rw-r-- 1 jenkins jenkins 784 Mar 28 18:59 Jenkinsfile [2024-03-28T19:02:05.944Z] -rw-rw-r-- 1 jenkins jenkins 10174 Mar 28 18:59 LICENSE [2024-03-28T19:02:05.944Z] -rw-rw-r-- 1 jenkins jenkins 444 Mar 28 18:59 Makefile [2024-03-28T19:02:05.944Z] -rw-rw-r-- 1 jenkins jenkins 618 Mar 28 18:59 OWNERS.md [2024-03-28T19:02:05.944Z] -rw-rw-r-- 1 jenkins jenkins 1651 Mar 28 18:59 README.IOT.md [2024-03-28T19:02:05.944Z] -rw-rw-r-- 1 jenkins jenkins 4215 Mar 28 18:59 README.md [2024-03-28T19:02:05.944Z] -rw-rw-r-- 1 jenkins jenkins 1245 Mar 28 18:59 README.v3.md [2024-03-28T19:02:05.944Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 18:56 VERSION [2024-03-28T19:02:05.944Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 18:59 docs [2024-03-28T19:02:05.944Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 18:59 include [2024-03-28T19:02:05.944Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 18:59 scripts [2024-03-28T19:02:05.944Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 18:59 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-28T19:02:06.283Z] + 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=2b1c678a344a70f5ba013d3f23d99d9596e5dd74 --label arch=arm64 --label version=0.0.0 . [2024-03-28T19:02:06.552Z] Sending build context to Docker daemon 3.002MB [2024-03-28T19:02:06.552Z] Step 1/17 : ARG BASE=alpine:3.18 [2024-03-28T19:02:06.552Z] Step 2/17 : FROM ${BASE} [2024-03-28T19:02:06.552Z] ---> 3aa06a280303 [2024-03-28T19:02:06.552Z] Step 3/17 : LABEL maintainer="IOTech " [2024-03-28T19:02:06.817Z] ---> Running in e30b7411d4b2 [2024-03-28T19:02:07.084Z] Removing intermediate container e30b7411d4b2 [2024-03-28T19:02:07.084Z] ---> 429403c1ea9e [2024-03-28T19:02:07.084Z] 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-03-28T19:02:07.084Z] ---> Running in ea565fb47633 [2024-03-28T19:02:08.042Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-03-28T19:02:08.619Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-03-28T19:02:08.619Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-03-28T19:02:08.619Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-03-28T19:02:09.209Z] Removing intermediate container ea565fb47633 [2024-03-28T19:02:09.209Z] ---> a8bb42607d25 [2024-03-28T19:02:09.209Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-03-28T19:02:09.209Z] ---> Running in eb1841d66b82 [2024-03-28T19:02:11.151Z] Removing intermediate container eb1841d66b82 [2024-03-28T19:02:11.151Z] ---> 7184e4a3b6cb [2024-03-28T19:02:11.151Z] 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-03-28T19:02:11.151Z] ---> Running in fd44911c08e5 [2024-03-28T19:02:12.113Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-28T19:02:12.382Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-28T19:02:13.345Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-28T19:02:14.306Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-03-28T19:02:14.306Z] (1/11) Installing iotech-iot-1.5-dev (1.5.3-r0) [2024-03-28T19:02:14.572Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-03-28T19:02:14.572Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-03-28T19:02:14.572Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-03-28T19:02:14.572Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-03-28T19:02:14.572Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-03-28T19:02:14.572Z] (7/11) Installing libblkid (2.38.1-r8) [2024-03-28T19:02:14.572Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-03-28T19:02:14.572Z] (9/11) Installing libmount (2.38.1-r8) [2024-03-28T19:02:14.572Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-03-28T19:02:14.572Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-03-28T19:02:14.572Z] Executing busybox-1.36.1-r4.trigger [2024-03-28T19:02:14.837Z] OK: 333 MiB in 100 packages [2024-03-28T19:02:16.240Z] Removing intermediate container fd44911c08e5 [2024-03-28T19:02:16.240Z] ---> 83515abb6607 [2024-03-28T19:02:16.240Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2024-03-28T19:02:16.505Z] ---> 2da4dc899636 [2024-03-28T19:02:16.505Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2024-03-28T19:02:17.460Z] ---> c39e745c741e [2024-03-28T19:02:17.460Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2024-03-28T19:02:18.039Z] ---> 334389a29019 [2024-03-28T19:02:18.039Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2024-03-28T19:02:18.621Z] ---> 4f05734ab9eb [2024-03-28T19:02:18.621Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2024-03-28T19:02:18.885Z] ---> 5bd17cdc0efe [2024-03-28T19:02:18.885Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2024-03-28T19:02:19.465Z] ---> 62cca9eeccdb [2024-03-28T19:02:19.465Z] Step 13/17 : WORKDIR /edgex-c-sdk [2024-03-28T19:02:19.465Z] ---> Running in d96268133315 [2024-03-28T19:02:20.053Z] Removing intermediate container d96268133315 [2024-03-28T19:02:20.053Z] ---> 08af307ee7b8 [2024-03-28T19:02:20.053Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-03-28T19:02:20.053Z] ---> Running in 90566a463554 [2024-03-28T19:02:20.319Z] Removing intermediate container 90566a463554 [2024-03-28T19:02:20.319Z] ---> b2c6ea39ea7e [2024-03-28T19:02:20.319Z] Step 15/17 : LABEL arch=arm64 [2024-03-28T19:02:20.319Z] ---> Running in db6940d6b7f1 [2024-03-28T19:02:20.585Z] Removing intermediate container db6940d6b7f1 [2024-03-28T19:02:20.585Z] ---> 9f0cb3ae8382 [2024-03-28T19:02:20.585Z] Step 16/17 : LABEL git_sha=2b1c678a344a70f5ba013d3f23d99d9596e5dd74 [2024-03-28T19:02:20.852Z] ---> Running in ed527f4c2f57 [2024-03-28T19:02:21.118Z] Removing intermediate container ed527f4c2f57 [2024-03-28T19:02:21.118Z] ---> a96b3b5cd296 [2024-03-28T19:02:21.118Z] Step 17/17 : LABEL version=0.0.0 [2024-03-28T19:02:21.118Z] ---> Running in e8b3a4b35de8 [2024-03-28T19:02:21.383Z] Removing intermediate container e8b3a4b35de8 [2024-03-28T19:02:21.383Z] ---> 11af859a4ff5 [2024-03-28T19:02:21.383Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2024-03-28T19:02:21.383Z] Successfully built 11af859a4ff5 [2024-03-28T19:02:21.383Z] 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-03-28T19:02:21.847Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-28T19:02:21.847Z] [2024-03-28T19:02:21.847Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-28T19:02:22.191Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-28T19:02:22.461Z] arm64: Pulling from edgex-lftools-log-publisher [2024-03-28T19:02:22.461Z] 8998bd30e6a1: Pulling fs layer [2024-03-28T19:02:22.461Z] 04944245beec: Pulling fs layer [2024-03-28T19:02:22.461Z] 699f458cf7ca: Pulling fs layer [2024-03-28T19:02:22.461Z] 765212b225bb: Pulling fs layer [2024-03-28T19:02:22.461Z] f23df028b6ca: Pulling fs layer [2024-03-28T19:02:22.461Z] d65c8cfc05b1: Pulling fs layer [2024-03-28T19:02:22.461Z] 2437ff75d9bd: Pulling fs layer [2024-03-28T19:02:22.461Z] f23df028b6ca: Waiting [2024-03-28T19:02:22.461Z] d65c8cfc05b1: Waiting [2024-03-28T19:02:22.461Z] 2437ff75d9bd: Waiting [2024-03-28T19:02:22.461Z] 765212b225bb: Waiting [2024-03-28T19:02:22.461Z] 04944245beec: Verifying Checksum [2024-03-28T19:02:22.461Z] 04944245beec: Download complete [2024-03-28T19:02:22.461Z] 765212b225bb: Verifying Checksum [2024-03-28T19:02:22.461Z] 765212b225bb: Download complete [2024-03-28T19:02:22.461Z] f23df028b6ca: Download complete [2024-03-28T19:02:22.728Z] d65c8cfc05b1: Download complete [2024-03-28T19:02:22.728Z] 699f458cf7ca: Verifying Checksum [2024-03-28T19:02:22.728Z] 699f458cf7ca: Download complete [2024-03-28T19:02:23.308Z] 8998bd30e6a1: Verifying Checksum [2024-03-28T19:02:23.308Z] 8998bd30e6a1: Download complete [2024-03-28T19:02:25.881Z] 2437ff75d9bd: Verifying Checksum [2024-03-28T19:02:25.881Z] 2437ff75d9bd: Download complete [2024-03-28T19:02:27.821Z] 8998bd30e6a1: Pull complete [2024-03-28T19:02:28.414Z] 04944245beec: Pull complete [2024-03-28T19:02:30.349Z] 699f458cf7ca: Pull complete [2024-03-28T19:02:30.349Z] 765212b225bb: Pull complete [2024-03-28T19:02:31.304Z] f23df028b6ca: Pull complete [2024-03-28T19:02:31.304Z] d65c8cfc05b1: Pull complete [2024-03-28T19:02:49.492Z] 2437ff75d9bd: Pull complete [2024-03-28T19:02:49.492Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-03-28T19:02:49.492Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-28T19:02:49.492Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-28T19:02:49.724Z] prd-ubuntu20.04-docker-arm64-4c-16g-1573 does not seem to be running inside a container [2024-03-28T19:02:49.789Z] $ 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/6 -v /w/workspace/device-sdk-c/6:/w/workspace/device-sdk-c/6:rw,z -v /w/workspace/device-sdk-c/6@tmp:/w/workspace/device-sdk-c/6@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-03-28T19:02:52.414Z] $ docker top 099053cf0e5bf91f5757ad7198693253ebe7a69be21c3937bae9a443c17be3d9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-28T19:02:53.273Z] ---> job-cost.sh [2024-03-28T19:02:53.273Z] lf-activate-venv: SKIPPING [2024-03-28T19:02:53.273Z] INFO: No Stack... [2024-03-28T19:02:53.855Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-03-28T19:02:54.437Z] INFO: Archiving Costs [Pipeline] sh [2024-03-28T19:02:55.078Z] + cat /w/workspace/device-sdk-c/6/archives/cost.csv [2024-03-28T19:02:55.078Z] + cut -d, -f6 [Pipeline] lock [2024-03-28T19:02:55.145Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-500-6-stack-cost] [2024-03-28T19:02:55.151Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-500-6-stack-cost] did not exist. Created. [2024-03-28T19:02:55.155Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-500-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-28T19:02:55.815Z] /w/workspace/device-sdk-c/6@tmp/durable-39c84686/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-03-28T19:02:56.457Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-03-28T19:02:56.474Z] Warning: overwriting stash ‘stack-cost’ [2024-03-28T19:02:56.971Z] Stashed 1 file(s) [Pipeline] } [2024-03-28T19:02:56.978Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-500-6-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-28T19:02:57.010Z] $ docker stop --time=1 099053cf0e5bf91f5757ad7198693253ebe7a69be21c3937bae9a443c17be3d9 [2024-03-28T19:02:58.545Z] $ docker rm -f --volumes 099053cf0e5bf91f5757ad7198693253ebe7a69be21c3937bae9a443c17be3d9 [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-03-28T19:02:59.505Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-500/archives ] [2024-03-28T19:02:59.505Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-500/archives [2024-03-28T19:02:59.505Z] total 16 [2024-03-28T19:02:59.505Z] drwxr-xr-x 3 root root 4096 Mar 28 18:57 . [2024-03-28T19:02:59.505Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 28 18:57 .. [2024-03-28T19:02:59.505Z] drwxr-xr-x 2 root root 4096 Mar 28 18:57 cost [2024-03-28T19:02:59.505Z] -rw-r--r-- 1 root root 84 Mar 28 18:57 cost.csv [2024-03-28T19:02:59.505Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-500/archives [2024-03-28T19:02:59.505Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-500/archives [2024-03-28T19:02:59.505Z] total 16 [2024-03-28T19:02:59.505Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 18:57 . [2024-03-28T19:02:59.505Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 28 18:57 .. [2024-03-28T19:02:59.505Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 28 18:57 cost [2024-03-28T19:02:59.505Z] -rw-r--r-- 1 jenkins jenkins 84 Mar 28 18:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-03-28T19:02:59.790Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-28T19:03:00.638Z] ---> package-listing.sh [2024-03-28T19:03:00.638Z] ++ facter osfamily [2024-03-28T19:03:00.638Z] ++ tr '[:upper:]' '[:lower:]' [2024-03-28T19:03:00.898Z] + OS_FAMILY=debian [2024-03-28T19:03:00.898Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-500 [2024-03-28T19:03:00.898Z] + START_PACKAGES=/tmp/packages_start.txt [2024-03-28T19:03:00.898Z] + END_PACKAGES=/tmp/packages_end.txt [2024-03-28T19:03:00.898Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-03-28T19:03:00.898Z] + PACKAGES=/tmp/packages_start.txt [2024-03-28T19:03:00.898Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-500 ']' [2024-03-28T19:03:00.898Z] + PACKAGES=/tmp/packages_end.txt [2024-03-28T19:03:00.898Z] + case "${OS_FAMILY}" in [2024-03-28T19:03:00.898Z] + dpkg -l [2024-03-28T19:03:00.898Z] + grep '^ii' [2024-03-28T19:03:00.898Z] + '[' -f /tmp/packages_start.txt ']' [2024-03-28T19:03:00.898Z] + '[' -f /tmp/packages_end.txt ']' [2024-03-28T19:03:00.898Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-03-28T19:03:00.898Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-500 ']' [2024-03-28T19:03:00.898Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-500/archives/ [2024-03-28T19:03:00.898Z] + 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-03-28T19:03:00.909Z] 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-03-28T19:03:01.184Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-28T19:03:01.750Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-28T19:03:01.750Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-28T19:03:01.827Z] prd-ubuntu20.04-docker-8c-8g-1570 does not seem to be running inside a container [2024-03-28T19:03:01.860Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-03-28T19:03:02.038Z] $ docker top 2108e6a1a3e9e2b4bafcd97a74c276f7bb499cd5b1c33926ab7ac7844bb856b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-28T19:03:02.378Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-03-28T19:03:02.662Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-03-28T19:03:02.947Z] + ls /var/log/sa-host [2024-03-28T19:03:02.947Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-28T19:03:03.096Z] provisioning config files... [2024-03-28T19:03:03.105Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp/config5773109657888569010tmp [Pipeline] { [Pipeline] echo [2024-03-28T19:03:03.126Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-28T19:03:03.409Z] ---> create-netrc.sh [Pipeline] } [2024-03-28T19:03:03.417Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-03-28T19:03:03.767Z] ---> python-tools-install.sh [Pipeline] echo [2024-03-28T19:03:03.776Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-28T19:03:04.059Z] ---> sudo-logs.sh [2024-03-28T19:03:04.059Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-03-28T19:03:04.087Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-28T19:03:04.367Z] ---> job-cost.sh [2024-03-28T19:03:04.367Z] lf-activate-venv: SKIPPING [2024-03-28T19:03:04.367Z] DEBUG: total: 0.2199999988079071 [2024-03-28T19:03:04.367Z] INFO: Retrieving Stack Cost... [2024-03-28T19:03:04.625Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-28T19:03:04.884Z] INFO: Archiving Costs [Pipeline] echo [2024-03-28T19:03:04.896Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-28T19:03:05.179Z] ---> logs-deploy.sh [2024-03-28T19:03:05.179Z] lf-activate-venv: SKIPPING [2024-03-28T19:03:05.179Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-500/6 [2024-03-28T19:03:05.179Z] INFO: archiving workspace using pattern(s): [2024-03-28T19:03:06.158Z] Archives upload complete. [2024-03-28T19:03:06.158Z] INFO: archiving logs to Nexus