Pull request #342 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from a33edd551577c13a6caebfff0db5daf2417b1afa+1a58ea05ec7eb3db9f90d47fb79c2f2571766c40 (db4ea0e8723a56eb185afb180529aea0be44b20e) Running in Durability level: MAX_SURVIVABILITY 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-342/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-342/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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: [[centos7-docker-4c-2g, ubuntu18.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_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-c DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-1176’ is offline Running on prd-centos7-docker-4c-2g-1185 in /w/workspace/edgexfoundry_device-sdk-c_PR-342 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout 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-342 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 1a58ea05ec7eb3db9f90d47fb79c2f2571766c40 into PR head commit a33edd551577c13a6caebfff0db5daf2417b1afa Merge succeeded, producing a33edd551577c13a6caebfff0db5daf2417b1afa Checking out Revision a33edd551577c13a6caebfff0db5daf2417b1afa (PR-342) > 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/342/head:refs/remotes/origin/PR-342 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a33edd551577c13a6caebfff0db5daf2417b1afa # 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 1a58ea05ec7eb3db9f90d47fb79c2f2571766c40 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a33edd551577c13a6caebfff0db5daf2417b1afa # timeout=10 Commit message: "fix: update Service Keys to new style (#333)" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-20T15:49:47.131Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-20T15:49:47.325Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-20T15:49:47.441Z] ========================================================= [2021-04-20T15:49:47.441Z] EdgeX Global Pipelines Version Info [2021-04-20T15:49:47.442Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-20T15:49:49.010Z] ------------------- [2021-04-20T15:49:49.010Z] stable info: [2021-04-20T15:49:49.010Z] ------------------- [2021-04-20T15:49:49.010Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-20T15:49:49.010Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-20T15:49:49.010Z] Message: update stable to v1.0.186 [2021-04-20T15:49:49.963Z] ------------------- [2021-04-20T15:49:49.963Z] experimental info: [2021-04-20T15:49:49.963Z] ------------------- [2021-04-20T15:49:49.963Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-20T15:49:49.963Z] Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 [2021-04-20T15:49:49.963Z] Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-20T15:49:50.175Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-04-20T15:49:50.230Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-04-20T15:49:50.289Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-20T15:49:50.344Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-20T15:49:50.395Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-20T15:49:50.447Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-04-20T15:49:50.501Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-04-20T15:49:50.555Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-04-20T15:49:50.608Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-20T15:49:50.663Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-c [Pipeline] echo [2021-04-20T15:49:50.719Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-20T15:49:50.774Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-20T15:49:50.825Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-20T15:49:50.877Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-20T15:49:50.928Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-20T15:49:50.983Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-20T15:49:51.036Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-20T15:49:51.087Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-342 [Pipeline] echo [2021-04-20T15:49:51.150Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-342 [Pipeline] echo [2021-04-20T15:49:51.201Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-342 [Pipeline] echo [2021-04-20T15:49:51.268Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a33edd551577c13a6caebfff0db5daf2417b1afa [Pipeline] echo [2021-04-20T15:49:51.321Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a33edd5 [Pipeline] echo [2021-04-20T15:49:51.376Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-20T15:49:51.557Z] provisioning config files... [2021-04-20T15:49:51.589Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-342@tmp/config2627820560795626384tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-20T15:49:51.959Z] ---> docker-login.sh [2021-04-20T15:49:51.959Z] nexus3.edgexfoundry.org:10001 [2021-04-20T15:49:52.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T15:49:52.222Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T15:49:52.222Z] Configure a credential helper to remove this warning. See [2021-04-20T15:49:52.222Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T15:49:52.222Z] [2021-04-20T15:49:52.222Z] Login Succeeded [2021-04-20T15:49:52.222Z] nexus3.edgexfoundry.org:10002 [2021-04-20T15:49:52.486Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T15:49:52.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T15:49:52.486Z] Configure a credential helper to remove this warning. See [2021-04-20T15:49:52.486Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T15:49:52.486Z] [2021-04-20T15:49:52.486Z] Login Succeeded [2021-04-20T15:49:52.486Z] nexus3.edgexfoundry.org:10003 [2021-04-20T15:49:52.486Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T15:49:52.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T15:49:52.748Z] Configure a credential helper to remove this warning. See [2021-04-20T15:49:52.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T15:49:52.748Z] [2021-04-20T15:49:52.748Z] Login Succeeded [2021-04-20T15:49:52.748Z] nexus3.edgexfoundry.org:10004 [2021-04-20T15:49:52.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T15:49:52.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T15:49:52.748Z] Configure a credential helper to remove this warning. See [2021-04-20T15:49:52.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T15:49:52.748Z] [2021-04-20T15:49:52.748Z] Login Succeeded [2021-04-20T15:49:52.748Z] docker.io [2021-04-20T15:49:53.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T15:49:53.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T15:49:53.273Z] Configure a credential helper to remove this warning. See [2021-04-20T15:49:53.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T15:49:53.273Z] [2021-04-20T15:49:53.273Z] Login Succeeded [2021-04-20T15:49:53.273Z] ---> docker-login.sh ends [Pipeline] } [2021-04-20T15:49:53.297Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2021-04-20T15:49:54.163Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-20T15:49:54.163Z] [2021-04-20T15:49:54.163Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-20T15:49:54.510Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-20T15:49:54.510Z] latest: Pulling from edgex-devops/git-semver [2021-04-20T15:49:54.510Z] 31603596830f: Pulling fs layer [2021-04-20T15:49:54.510Z] 2a8b12db71e7: Pulling fs layer [2021-04-20T15:49:54.510Z] 6ca5941a6612: Pulling fs layer [2021-04-20T15:49:54.510Z] ecc8261a40a4: Pulling fs layer [2021-04-20T15:49:54.510Z] ecc8261a40a4: Waiting [2021-04-20T15:49:54.510Z] 2a8b12db71e7: Verifying Checksum [2021-04-20T15:49:54.510Z] 2a8b12db71e7: Download complete [2021-04-20T15:49:54.510Z] 31603596830f: Verifying Checksum [2021-04-20T15:49:54.510Z] 31603596830f: Download complete [2021-04-20T15:49:54.775Z] ecc8261a40a4: Verifying Checksum [2021-04-20T15:49:54.775Z] ecc8261a40a4: Download complete [2021-04-20T15:49:54.775Z] 6ca5941a6612: Verifying Checksum [2021-04-20T15:49:54.775Z] 6ca5941a6612: Download complete [2021-04-20T15:49:55.043Z] 31603596830f: Pull complete [2021-04-20T15:49:55.043Z] 2a8b12db71e7: Pull complete [2021-04-20T15:49:55.991Z] 6ca5941a6612: Pull complete [2021-04-20T15:49:56.255Z] ecc8261a40a4: Pull complete [2021-04-20T15:49:56.255Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-20T15:49:56.255Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-20T15:49:56.255Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-20T15:49:56.396Z] prd-centos7-docker-4c-2g-1185 does not seem to be running inside a container [2021-04-20T15:49:56.444Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-342 -v /w/workspace/edgexfoundry_device-sdk-c_PR-342:/w/workspace/edgexfoundry_device-sdk-c_PR-342:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-342@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-342@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-20T15:49:58.449Z] $ docker top 3135d723d81edbf1c35becdb52d9798299833179b02f98ed95681c2b4ede2f14 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-20T15:49:58.769Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-20T15:49:58.769Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-20T15:49:59.000Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-20T15:49:59.001Z] $ docker exec 3135d723d81edbf1c35becdb52d9798299833179b02f98ed95681c2b4ede2f14 ssh-agent [2021-04-20T15:49:59.167Z] SSH_AUTH_SOCK=/tmp/ssh-CrE6vuq2q7V4/agent.12 [2021-04-20T15:49:59.167Z] SSH_AGENT_PID=18 [2021-04-20T15:49:59.180Z] Running ssh-add (command line suppressed) [2021-04-20T15:49:59.302Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-342@tmp/private_key_3193499825635109056.key (/w/workspace/edgexfoundry_device-sdk-c_PR-342@tmp/private_key_3193499825635109056.key) [2021-04-20T15:49:59.358Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-20T15:49:59.699Z] + git tag --points-at HEAD [Pipeline] } [2021-04-20T15:49:59.772Z] $ docker exec --env ******** --env ******** 3135d723d81edbf1c35becdb52d9798299833179b02f98ed95681c2b4ede2f14 ssh-agent -k [2021-04-20T15:49:59.888Z] unset SSH_AUTH_SOCK; [2021-04-20T15:49:59.889Z] unset SSH_AGENT_PID; [2021-04-20T15:49:59.889Z] echo Agent pid 18 killed; [2021-04-20T15:49:59.938Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-20T15:50:00.028Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-20T15:50:00.028Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-20T15:50:00.196Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-20T15:50:00.196Z] $ docker exec 3135d723d81edbf1c35becdb52d9798299833179b02f98ed95681c2b4ede2f14 ssh-agent [2021-04-20T15:50:00.361Z] SSH_AUTH_SOCK=/tmp/ssh-QP66QD4ePcUG/agent.47 [2021-04-20T15:50:00.361Z] SSH_AGENT_PID=52 [2021-04-20T15:50:00.369Z] Running ssh-add (command line suppressed) [2021-04-20T15:50:00.483Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-342@tmp/private_key_1141504166851258160.key (/w/workspace/edgexfoundry_device-sdk-c_PR-342@tmp/private_key_1141504166851258160.key) [2021-04-20T15:50:00.539Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-20T15:50:00.885Z] + git semver init [2021-04-20T15:50:00.886Z] # -> Open(): unable to determine branch for HEAD [2021-04-20T15:50:00.886Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-342/.git [2021-04-20T15:50:00.886Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-342 [2021-04-20T15:50:00.886Z] # $SEMVER_REMOTE_NAME = origin [2021-04-20T15:50:00.886Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-20T15:50:00.886Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-20T15:50:00.886Z] # $SEMVER_BRANCH = PR-342 [2021-04-20T15:50:00.886Z] # $SEMVER_TEMP = /tmp/semver-660777453 [2021-04-20T15:50:00.886Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-04-20T15:50:01.837Z] # '/tmp/semver-660777453' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-342/.semver' [2021-04-20T15:50:01.837Z] # -> Force: false [2021-04-20T15:50:01.837Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-342/.semver [Pipeline] } [2021-04-20T15:50:01.854Z] $ docker exec --env ******** --env ******** 3135d723d81edbf1c35becdb52d9798299833179b02f98ed95681c2b4ede2f14 ssh-agent -k [2021-04-20T15:50:02.001Z] unset SSH_AUTH_SOCK; [2021-04-20T15:50:02.001Z] unset SSH_AGENT_PID; [2021-04-20T15:50:02.001Z] echo Agent pid 52 killed; [2021-04-20T15:50:02.055Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-20T15:50:02.481Z] + git semver [Pipeline] } [2021-04-20T15:50:02.509Z] $ docker stop --time=1 3135d723d81edbf1c35becdb52d9798299833179b02f98ed95681c2b4ede2f14 [2021-04-20T15:50:04.211Z] $ docker rm -f 3135d723d81edbf1c35becdb52d9798299833179b02f98ed95681c2b4ede2f14 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-20T15:50:04.665Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-20T15:50:05.039Z] Stashed 1 file(s) [Pipeline] echo [2021-04-20T15:50:05.063Z] [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] node [Pipeline] node [2021-04-20T15:50:20.485Z] Still waiting to schedule task [2021-04-20T15:50:20.485Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-20T15:50:20.516Z] Still waiting to schedule task [2021-04-20T15:50:20.517Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-04-20T15:51:59.373Z] Running on prd-centos7-docker-4c-2g-1187 in /w/workspace/edgexfoundry_device-sdk-c_PR-342 [Pipeline] { [Pipeline] ws [2021-04-20T15:51:59.442Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2021-04-20T15:52:02.073Z] using credential edgex-jenkins-ssh [2021-04-20T15:52:02.096Z] Cloning the remote Git repository [2021-04-20T15:52:02.137Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-04-20T15:52:02.217Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2021-04-20T15:52:02.281Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-04-20T15:52:02.282Z] > git --version # timeout=10 [2021-04-20T15:52:02.289Z] > git --version # 'git version 2.24.3' [2021-04-20T15:52:02.290Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-20T15:52:02.315Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-20T15:52:04.910Z] Merging remotes/origin/master commit 1a58ea05ec7eb3db9f90d47fb79c2f2571766c40 into PR head commit a33edd551577c13a6caebfff0db5daf2417b1afa [2021-04-20T15:52:05.023Z] Merge succeeded, producing a33edd551577c13a6caebfff0db5daf2417b1afa [2021-04-20T15:52:05.023Z] Checking out Revision a33edd551577c13a6caebfff0db5daf2417b1afa (PR-342) [2021-04-20T15:52:04.228Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-04-20T15:52:04.240Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-20T15:52:04.256Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-04-20T15:52:04.271Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-04-20T15:52:04.272Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-20T15:52:04.277Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/342/head:refs/remotes/origin/PR-342 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-20T15:52:04.918Z] > git config core.sparsecheckout # timeout=10 [2021-04-20T15:52:04.924Z] > git checkout -f a33edd551577c13a6caebfff0db5daf2417b1afa # timeout=10 [2021-04-20T15:52:04.983Z] > git remote # timeout=10 [2021-04-20T15:52:04.990Z] > git config --get remote.origin.url # timeout=10 [2021-04-20T15:52:04.999Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-20T15:52:05.002Z] > git merge 1a58ea05ec7eb3db9f90d47fb79c2f2571766c40 # timeout=10 [2021-04-20T15:52:05.013Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-20T15:52:05.024Z] > git config core.sparsecheckout # timeout=10 [2021-04-20T15:52:05.028Z] > git checkout -f a33edd551577c13a6caebfff0db5daf2417b1afa # timeout=10 [2021-04-20T15:52:08.673Z] Commit message: "fix: update Service Keys to new style (#333)" [2021-04-20T15:52:08.701Z] > git --version # timeout=10 [2021-04-20T15:52:08.706Z] > git --version # 'git version 2.24.3' [2021-04-20T15:52:08.714Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-20T15:52:09.588Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1186 in /w/workspace/edgexfoundry_device-sdk-c_PR-342 [Pipeline] { [Pipeline] ws [2021-04-20T15:52:09.877Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2021-04-20T15:52:10.063Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-20T15:52:10.413Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-20T15:52:10.736Z] + true [2021-04-20T15:52:10.736Z] + sudo service docker restart [2021-04-20T15:52:10.736Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-20T15:52:11.817Z] provisioning config files... [2021-04-20T15:52:11.871Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config8164889294049233574tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-20T15:52:12.269Z] ---> docker-login.sh [2021-04-20T15:52:12.269Z] nexus3.edgexfoundry.org:10001 [2021-04-20T15:52:12.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T15:52:12.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T15:52:12.536Z] Configure a credential helper to remove this warning. See [2021-04-20T15:52:12.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T15:52:12.536Z] [2021-04-20T15:52:12.536Z] Login Succeeded [2021-04-20T15:52:12.536Z] nexus3.edgexfoundry.org:10002 [2021-04-20T15:52:12.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T15:52:12.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T15:52:12.808Z] Configure a credential helper to remove this warning. See [2021-04-20T15:52:12.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T15:52:12.808Z] [2021-04-20T15:52:12.808Z] Login Succeeded [2021-04-20T15:52:12.808Z] nexus3.edgexfoundry.org:10003 [2021-04-20T15:52:13.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T15:52:13.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T15:52:13.071Z] Configure a credential helper to remove this warning. See [2021-04-20T15:52:13.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T15:52:13.071Z] [2021-04-20T15:52:13.071Z] Login Succeeded [2021-04-20T15:52:13.071Z] nexus3.edgexfoundry.org:10004 [2021-04-20T15:52:13.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T15:52:13.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T15:52:13.335Z] Configure a credential helper to remove this warning. See [2021-04-20T15:52:13.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T15:52:13.335Z] [2021-04-20T15:52:13.335Z] Login Succeeded [2021-04-20T15:52:13.335Z] docker.io [2021-04-20T15:52:13.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T15:52:13.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T15:52:13.597Z] Configure a credential helper to remove this warning. See [2021-04-20T15:52:13.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T15:52:13.597Z] [2021-04-20T15:52:13.597Z] Login Succeeded [2021-04-20T15:52:13.597Z] ---> docker-login.sh ends [Pipeline] } [2021-04-20T15:52:13.622Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-20T15:52:13.923Z] ========================================================= [2021-04-20T15:52:13.923Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-04-20T15:52:13.923Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-20T15:52:14.278Z] + 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 . [2021-04-20T15:52:14.278Z] Sending build context to Docker daemon 2.407MB [2021-04-20T15:52:14.278Z] Step 1/21 : ARG BASE=alpine:3.12 [2021-04-20T15:52:14.278Z] Step 2/21 : FROM ${BASE} as builder [2021-04-20T15:52:14.544Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-04-20T15:52:14.544Z] e7c96db7181b: Pulling fs layer [2021-04-20T15:52:14.544Z] 4c13bbce0fe7: Pulling fs layer [2021-04-20T15:52:14.544Z] 6059c847ac2f: Pulling fs layer [2021-04-20T15:52:14.544Z] 4c13bbce0fe7: Download complete [2021-04-20T15:52:14.544Z] e7c96db7181b: Verifying Checksum [2021-04-20T15:52:14.544Z] e7c96db7181b: Download complete [2021-04-20T15:52:14.809Z] e7c96db7181b: Pull complete [2021-04-20T15:52:14.809Z] 4c13bbce0fe7: Pull complete [2021-04-20T15:52:15.674Z] using credential edgex-jenkins-ssh [2021-04-20T15:52:15.696Z] Cloning the remote Git repository [2021-04-20T15:52:15.795Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-04-20T15:52:15.949Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2021-04-20T15:52:16.056Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-04-20T15:52:16.057Z] > git --version # timeout=10 [2021-04-20T15:52:16.075Z] > git --version # 'git version 2.17.1' [2021-04-20T15:52:16.077Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-20T15:52:16.130Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-20T15:52:16.741Z] 6059c847ac2f: Verifying Checksum [2021-04-20T15:52:16.741Z] 6059c847ac2f: Download complete [2021-04-20T15:52:17.283Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-04-20T15:52:17.301Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-20T15:52:17.326Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-04-20T15:52:17.370Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-04-20T15:52:17.370Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-20T15:52:17.384Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/342/head:refs/remotes/origin/PR-342 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-20T15:52:17.990Z] Merging remotes/origin/master commit 1a58ea05ec7eb3db9f90d47fb79c2f2571766c40 into PR head commit a33edd551577c13a6caebfff0db5daf2417b1afa [2021-04-20T15:52:18.238Z] Merge succeeded, producing a33edd551577c13a6caebfff0db5daf2417b1afa [2021-04-20T15:52:18.239Z] Checking out Revision a33edd551577c13a6caebfff0db5daf2417b1afa (PR-342) [2021-04-20T15:52:17.995Z] > git config core.sparsecheckout # timeout=10 [2021-04-20T15:52:18.024Z] > git checkout -f a33edd551577c13a6caebfff0db5daf2417b1afa # timeout=10 [2021-04-20T15:52:18.139Z] > git remote # timeout=10 [2021-04-20T15:52:18.159Z] > git config --get remote.origin.url # timeout=10 [2021-04-20T15:52:18.173Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-20T15:52:18.183Z] > git merge 1a58ea05ec7eb3db9f90d47fb79c2f2571766c40 # timeout=10 [2021-04-20T15:52:18.207Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-20T15:52:18.231Z] > git config core.sparsecheckout # timeout=10 [2021-04-20T15:52:18.241Z] > git checkout -f a33edd551577c13a6caebfff0db5daf2417b1afa # timeout=10 [2021-04-20T15:52:22.065Z] 6059c847ac2f: Pull complete [2021-04-20T15:52:22.065Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2021-04-20T15:52:22.065Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-04-20T15:52:22.065Z] ---> 5eabd8fd8ba2 [2021-04-20T15:52:22.065Z] Step 3/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev [2021-04-20T15:52:22.522Z] Commit message: "fix: update Service Keys to new style (#333)" [2021-04-20T15:52:22.578Z] > git --version # timeout=10 [2021-04-20T15:52:22.590Z] > git --version # 'git version 2.17.1' [2021-04-20T15:52:22.617Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-20T15:52:23.487Z] ---> Running in c6fde1380798 [2021-04-20T15:52:24.077Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-04-20T15:52:24.323Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-20T15:52:24.787Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-20T15:52:25.045Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-04-20T15:52:25.177Z] + true [2021-04-20T15:52:25.177Z] + sudo service docker restart [2021-04-20T15:52:25.313Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2021-04-20T15:52:25.313Z] (2/8) Installing libuuid (2.33-r0) [2021-04-20T15:52:25.313Z] (3/8) Installing libblkid (2.33-r0) [2021-04-20T15:52:25.595Z] (4/8) Installing libfdisk (2.33-r0) [2021-04-20T15:52:25.595Z] (5/8) Installing libmount (2.33-r0) [2021-04-20T15:52:25.595Z] (6/8) Installing libsmartcols (2.33-r0) [2021-04-20T15:52:25.860Z] (7/8) Installing util-linux-dev (2.33-r0) [2021-04-20T15:52:26.125Z] (8/8) Installing wget (1.20.3-r0) [2021-04-20T15:52:26.125Z] Executing busybox-1.29.3-r10.trigger [2021-04-20T15:52:26.125Z] OK: 272 MiB in 83 packages [2021-04-20T15:52:27.080Z] Removing intermediate container c6fde1380798 [2021-04-20T15:52:27.080Z] ---> 9092d08574d4 [2021-04-20T15:52:27.080Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2021-04-20T15:52:27.080Z] ---> Running in e116ba154b1f [2021-04-20T15:52:27.080Z] Removing intermediate container e116ba154b1f [2021-04-20T15:52:27.080Z] ---> 78593cac803a [2021-04-20T15:52:27.080Z] Step 5/21 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2021-04-20T15:52:27.355Z] ---> Running in 68f670216da6 [2021-04-20T15:52:27.619Z] --2021-04-20 15:52:27-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-04-20T15:52:27.619Z] Resolving github.com... 140.82.113.3 [2021-04-20T15:52:27.619Z] Connecting to github.com|140.82.113.3|:443... connected. [Pipeline] withEnv [Pipeline] { [2021-04-20T15:52:27.882Z] HTTP request sent, awaiting response... 302 Found [2021-04-20T15:52:27.882Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-04-20T15:52:27.882Z] --2021-04-20 15:52:27-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-04-20T15:52:27.882Z] Resolving codeload.github.com... 140.82.114.9 [2021-04-20T15:52:27.882Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-04-20T15:52:27.882Z] HTTP request sent, awaiting response... 200 OK [2021-04-20T15:52:27.882Z] Length: unspecified [application/x-gzip] [2021-04-20T15:52:27.882Z] Saving to: 'STDOUT' [2021-04-20T15:52:27.882Z]  [Pipeline] wrap [2021-04-20T15:52:27.942Z] provisioning config files... [2021-04-20T15:52:27.983Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config4969488476976574303tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-20T15:52:28.147Z] 0K .......... .......... .......... .......... .......... 1.54M [2021-04-20T15:52:28.147Z] 50K .......... .......... .......... .......... .......... 3.12M [2021-04-20T15:52:28.147Z] 100K .......... .......... .......... .......... .......... 27.0M [2021-04-20T15:52:28.147Z] 150K .......... .......... .......... .......... .......... 38.4M [2021-04-20T15:52:28.147Z] 200K .......... .......... .......... .......... .......... 3.11M [2021-04-20T15:52:28.147Z] 250K .......... .......... .......... .......... .......... 6.95M [2021-04-20T15:52:28.147Z] 300K .......... .......... .......... .......... .......... 6.14M [2021-04-20T15:52:28.147Z] 350K .......... .......... .......... .......... .......... 7.55M [2021-04-20T15:52:28.147Z] 400K .......... .......... .......... .......... .......... 2.02M [2021-04-20T15:52:28.147Z] 450K .......... .......... .......... .......... .......... 13.3M [2021-04-20T15:52:28.147Z] 500K .......... .......... .......... .......... .......... 16.0M [2021-04-20T15:52:28.148Z] 550K .......... .......... .......... .......... .......... 4.95M [2021-04-20T15:52:28.148Z] 600K .......... .......... .......... .......... .......... 2.11M [2021-04-20T15:52:28.148Z] 650K .......... .......... .......... .......... .......... 4.46M [2021-04-20T15:52:28.148Z] 700K .. 43.9M=0.2s [2021-04-20T15:52:28.148Z] [2021-04-20T15:52:28.148Z] 2021-04-20 15:52:28 (4.22 MB/s) - written to stdout [719348] [2021-04-20T15:52:28.148Z] [2021-04-20T15:52:28.403Z] ---> docker-login.sh [2021-04-20T15:52:28.403Z] nexus3.edgexfoundry.org:10001 [2021-04-20T15:52:28.410Z] -- The C compiler identification is GNU 8.3.0 [2021-04-20T15:52:28.411Z] -- The CXX compiler identification is GNU 8.3.0 [2021-04-20T15:52:28.411Z] -- Check for working C compiler: /usr/bin/cc [2021-04-20T15:52:28.411Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-04-20T15:52:28.411Z] -- Detecting C compiler ABI info [2021-04-20T15:52:28.672Z] -- Detecting C compiler ABI info - done [2021-04-20T15:52:28.672Z] -- Detecting C compile features [2021-04-20T15:52:28.938Z] -- Detecting C compile features - done [2021-04-20T15:52:28.938Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-04-20T15:52:28.938Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-04-20T15:52:28.938Z] -- Detecting CXX compiler ABI info [2021-04-20T15:52:28.938Z] -- Detecting CXX compiler ABI info - done [2021-04-20T15:52:28.938Z] -- Detecting CXX compile features [2021-04-20T15:52:29.388Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T15:52:29.516Z] -- Detecting CXX compile features - done [2021-04-20T15:52:29.516Z] -- Looking for include file endian.h [2021-04-20T15:52:29.516Z] -- Looking for include file endian.h - found [2021-04-20T15:52:29.516Z] -- Check if the system is big endian [2021-04-20T15:52:29.516Z] -- Searching 16 bit integer [2021-04-20T15:52:29.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T15:52:29.661Z] Configure a credential helper to remove this warning. See [2021-04-20T15:52:29.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T15:52:29.661Z] [2021-04-20T15:52:29.661Z] Login Succeeded [2021-04-20T15:52:29.661Z] nexus3.edgexfoundry.org:10002 [2021-04-20T15:52:29.782Z] -- Looking for sys/types.h [2021-04-20T15:52:29.782Z] -- Looking for sys/types.h - found [2021-04-20T15:52:29.782Z] -- Looking for stdint.h [2021-04-20T15:52:29.782Z] -- Looking for stdint.h - found [2021-04-20T15:52:29.782Z] -- Looking for stddef.h [2021-04-20T15:52:29.782Z] -- Looking for stddef.h - found [2021-04-20T15:52:29.782Z] -- Check size of unsigned short [2021-04-20T15:52:29.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T15:52:30.044Z] -- Check size of unsigned short - done [2021-04-20T15:52:30.045Z] -- Using unsigned short [2021-04-20T15:52:30.045Z] -- Check if the system is big endian - little endian [2021-04-20T15:52:30.045Z] -- Check size of size_t [2021-04-20T15:52:30.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T15:52:30.219Z] Configure a credential helper to remove this warning. See [2021-04-20T15:52:30.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T15:52:30.219Z] [2021-04-20T15:52:30.219Z] Login Succeeded [2021-04-20T15:52:30.219Z] nexus3.edgexfoundry.org:10003 [2021-04-20T15:52:30.307Z] -- Check size of size_t - done [2021-04-20T15:52:30.307Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-04-20T15:52:30.307Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-04-20T15:52:30.307Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-04-20T15:52:30.307Z] CMake did not find one. [2021-04-20T15:52:30.307Z] [2021-04-20T15:52:30.307Z] Could not find a package configuration file provided by "cJSON" with any of [2021-04-20T15:52:30.307Z] the following names: [2021-04-20T15:52:30.307Z] [2021-04-20T15:52:30.307Z] cJSONConfig.cmake [2021-04-20T15:52:30.307Z] cjson-config.cmake [2021-04-20T15:52:30.307Z] [2021-04-20T15:52:30.307Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-04-20T15:52:30.307Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-04-20T15:52:30.307Z] provides a separate development package or SDK, be sure it has been [2021-04-20T15:52:30.307Z] installed. [2021-04-20T15:52:30.307Z] [2021-04-20T15:52:30.307Z] [2021-04-20T15:52:30.307Z] -- Configuring done [2021-04-20T15:52:30.307Z] -- Generating done [2021-04-20T15:52:30.307Z] -- Build files have been written to: /tmp/cbor [2021-04-20T15:52:30.307Z] Scanning dependencies of target cbor_shared [2021-04-20T15:52:30.307Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-04-20T15:52:30.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T15:52:30.571Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-04-20T15:52:30.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T15:52:30.768Z] Configure a credential helper to remove this warning. See [2021-04-20T15:52:30.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T15:52:30.768Z] [2021-04-20T15:52:30.768Z] Login Succeeded [2021-04-20T15:52:30.768Z] nexus3.edgexfoundry.org:10004 [2021-04-20T15:52:30.833Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-04-20T15:52:30.833Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-04-20T15:52:31.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T15:52:31.096Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-04-20T15:52:31.096Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-04-20T15:52:31.096Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-04-20T15:52:31.096Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-04-20T15:52:31.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T15:52:31.320Z] Configure a credential helper to remove this warning. See [2021-04-20T15:52:31.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T15:52:31.320Z] [2021-04-20T15:52:31.320Z] Login Succeeded [2021-04-20T15:52:31.320Z] docker.io [2021-04-20T15:52:31.360Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-04-20T15:52:31.360Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-04-20T15:52:31.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T15:52:31.624Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-04-20T15:52:31.624Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-04-20T15:52:31.624Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-04-20T15:52:31.888Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-04-20T15:52:31.888Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-04-20T15:52:31.888Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-04-20T15:52:32.152Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-04-20T15:52:32.152Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-04-20T15:52:32.152Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-04-20T15:52:32.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T15:52:32.191Z] Configure a credential helper to remove this warning. See [2021-04-20T15:52:32.191Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T15:52:32.191Z] [2021-04-20T15:52:32.191Z] Login Succeeded [2021-04-20T15:52:32.191Z] ---> docker-login.sh ends [Pipeline] } [2021-04-20T15:52:32.243Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-04-20T15:52:32.422Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-04-20T15:52:32.422Z] [ 40%] Linking C shared library libcbor.so [2021-04-20T15:52:32.422Z] [ 40%] Built target cbor_shared [2021-04-20T15:52:32.422Z] Scanning dependencies of target cbor [2021-04-20T15:52:32.422Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [Pipeline] echo [2021-04-20T15:52:32.655Z] ========================================================= [2021-04-20T15:52:32.655Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-04-20T15:52:32.655Z] ========================================================= [2021-04-20T15:52:32.691Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [Pipeline] isUnix [Pipeline] sh [2021-04-20T15:52:32.956Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-04-20T15:52:32.956Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-04-20T15:52:33.079Z] + 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 . [2021-04-20T15:52:33.221Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-04-20T15:52:33.221Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-04-20T15:52:33.221Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-04-20T15:52:33.484Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-04-20T15:52:33.484Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-04-20T15:52:33.484Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-04-20T15:52:33.688Z] Sending build context to Docker daemon 2.406MB [2021-04-20T15:52:33.688Z] Step 1/21 : ARG BASE=alpine:3.12 [2021-04-20T15:52:33.688Z] Step 2/21 : FROM ${BASE} as builder [2021-04-20T15:52:33.688Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-04-20T15:52:33.688Z] 0362ad1dd800: Pulling fs layer [2021-04-20T15:52:33.688Z] f2cdb1532d8b: Pulling fs layer [2021-04-20T15:52:33.688Z] 37ed683be191: Pulling fs layer [2021-04-20T15:52:33.688Z] f2cdb1532d8b: Verifying Checksum [2021-04-20T15:52:33.688Z] f2cdb1532d8b: Download complete [2021-04-20T15:52:33.688Z] 0362ad1dd800: Verifying Checksum [2021-04-20T15:52:33.688Z] 0362ad1dd800: Download complete [2021-04-20T15:52:33.755Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-04-20T15:52:33.756Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-04-20T15:52:34.020Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-04-20T15:52:34.020Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-04-20T15:52:34.020Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-04-20T15:52:34.283Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-04-20T15:52:34.283Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-04-20T15:52:34.283Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-04-20T15:52:34.548Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-04-20T15:52:34.548Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-04-20T15:52:34.548Z] [ 80%] Linking C static library libcbor.a [2021-04-20T15:52:34.548Z] [ 80%] Built target cbor [2021-04-20T15:52:34.548Z] Scanning dependencies of target create_items [2021-04-20T15:52:34.548Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-04-20T15:52:34.679Z] 0362ad1dd800: Pull complete [2021-04-20T15:52:34.816Z] [ 84%] Linking C executable create_items [2021-04-20T15:52:34.816Z] [ 84%] Built target create_items [2021-04-20T15:52:34.816Z] Scanning dependencies of target readfile [2021-04-20T15:52:34.816Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-04-20T15:52:34.816Z] [ 88%] Linking C executable readfile [2021-04-20T15:52:34.816Z] [ 88%] Built target readfile [2021-04-20T15:52:34.816Z] Scanning dependencies of target streaming_parser [2021-04-20T15:52:34.816Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-04-20T15:52:34.953Z] f2cdb1532d8b: Pull complete [2021-04-20T15:52:35.078Z] [ 92%] Linking C executable streaming_parser [2021-04-20T15:52:35.078Z] [ 92%] Built target streaming_parser [2021-04-20T15:52:35.078Z] Scanning dependencies of target sort [2021-04-20T15:52:35.078Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-04-20T15:52:35.078Z] [ 96%] Linking C executable sort [2021-04-20T15:52:35.078Z] [ 96%] Built target sort [2021-04-20T15:52:35.078Z] Scanning dependencies of target hello [2021-04-20T15:52:35.078Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-04-20T15:52:35.343Z] [100%] Linking C executable hello [2021-04-20T15:52:35.343Z] [100%] Built target hello [2021-04-20T15:52:35.343Z] Install the project... [2021-04-20T15:52:35.343Z] -- Install configuration: "Release" [2021-04-20T15:52:35.343Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-04-20T15:52:35.343Z] -- Installing: /usr/local/lib64/libcbor.a [2021-04-20T15:52:35.343Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-04-20T15:52:35.343Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-04-20T15:52:35.343Z] -- Installing: /usr/local/lib64/libcbor.so [2021-04-20T15:52:35.343Z] -- Up-to-date: /usr/local/include/cbor [2021-04-20T15:52:35.343Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-04-20T15:52:35.343Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-04-20T15:52:35.343Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-04-20T15:52:35.343Z] -- Installing: /usr/local/include/cbor/common.h [2021-04-20T15:52:35.343Z] -- Installing: /usr/local/include/cbor/data.h [2021-04-20T15:52:35.343Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-04-20T15:52:35.343Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-04-20T15:52:35.343Z] -- Installing: /usr/local/include/cbor/internal [2021-04-20T15:52:35.343Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-04-20T15:52:35.343Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-04-20T15:52:35.343Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-04-20T15:52:35.343Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-04-20T15:52:35.343Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-04-20T15:52:35.343Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-04-20T15:52:35.343Z] -- Installing: /usr/local/include/cbor/ints.h [2021-04-20T15:52:35.343Z] -- Installing: /usr/local/include/cbor/maps.h [2021-04-20T15:52:35.343Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-04-20T15:52:35.343Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-04-20T15:52:35.343Z] -- Installing: /usr/local/include/cbor/strings.h [2021-04-20T15:52:35.343Z] -- Installing: /usr/local/include/cbor/tags.h [2021-04-20T15:52:35.343Z] -- Installing: /usr/local/include/cbor.h [2021-04-20T15:52:35.343Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-04-20T15:52:35.943Z] 37ed683be191: Verifying Checksum [2021-04-20T15:52:35.943Z] 37ed683be191: Download complete [2021-04-20T15:52:37.918Z] Removing intermediate container 68f670216da6 [2021-04-20T15:52:37.918Z] ---> 9899d5a10a2a [2021-04-20T15:52:37.918Z] Step 6/21 : RUN mkdir /tmp/sdk [2021-04-20T15:52:37.918Z] ---> Running in 5ae15bd72f71 [2021-04-20T15:52:38.881Z] Removing intermediate container 5ae15bd72f71 [2021-04-20T15:52:38.881Z] ---> 6c6d8f422475 [2021-04-20T15:52:38.881Z] Step 7/21 : COPY VERSION /tmp/sdk [2021-04-20T15:52:39.148Z] ---> 768e345e2f3e [2021-04-20T15:52:39.148Z] Step 8/21 : COPY src /tmp/sdk/src [2021-04-20T15:52:39.730Z] ---> a99f915033c3 [2021-04-20T15:52:39.730Z] Step 9/21 : COPY include /tmp/sdk/include [2021-04-20T15:52:39.992Z] ---> 9d941377e8f8 [2021-04-20T15:52:39.992Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2021-04-20T15:52:40.270Z] ---> b0df25824875 [2021-04-20T15:52:40.270Z] Step 11/21 : COPY LICENSE /tmp/sdk [2021-04-20T15:52:40.540Z] ---> 15034eff9d32 [2021-04-20T15:52:40.540Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2021-04-20T15:52:40.809Z] ---> 67018c13a8d7 [2021-04-20T15:52:40.809Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-04-20T15:52:40.809Z] ---> Running in e18997eeba23 [2021-04-20T15:52:41.401Z] + CPPCHECK=false [2021-04-20T15:52:41.401Z] + DOCGEN=false [2021-04-20T15:52:41.401Z] + TOMLVER=SDK-0.2 [2021-04-20T15:52:41.401Z] + CUTILVER=1.1.4 [2021-04-20T15:52:41.401Z] + '[' 0 -gt 0 ] [2021-04-20T15:52:41.401Z] + readlink -f ./scripts/build.sh [2021-04-20T15:52:41.401Z] + dirname /tmp/sdk/scripts/build.sh [2021-04-20T15:52:41.401Z] + dirname /tmp/sdk/scripts [2021-04-20T15:52:41.401Z] + ROOT=/tmp/sdk [2021-04-20T15:52:41.401Z] + cd /tmp/sdk [2021-04-20T15:52:41.401Z] + '[' '!' -d deps ] [2021-04-20T15:52:41.401Z] + mkdir deps [2021-04-20T15:52:41.401Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-04-20T15:52:41.401Z] + tar -C deps -z -x -f - [2021-04-20T15:52:41.401Z] --2021-04-20 15:52:41-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-04-20T15:52:41.401Z] Resolving github.com... 140.82.113.3 [2021-04-20T15:52:41.401Z] Connecting to github.com|140.82.113.3|:443... connected. [2021-04-20T15:52:41.983Z] HTTP request sent, awaiting response... 302 Found [2021-04-20T15:52:41.983Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-04-20T15:52:41.983Z] --2021-04-20 15:52:41-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-04-20T15:52:41.983Z] Resolving codeload.github.com... 140.82.114.9 [2021-04-20T15:52:41.983Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-04-20T15:52:42.248Z] HTTP request sent, awaiting response... 200 OK [2021-04-20T15:52:42.248Z] Length: unspecified [application/x-gzip] [2021-04-20T15:52:42.248Z] Saving to: 'STDOUT' [2021-04-20T15:52:42.248Z]  [2021-04-20T15:52:42.248Z] 0K .......... ...... 943K=0.02s [2021-04-20T15:52:42.248Z] [2021-04-20T15:52:42.248Z] 2021-04-20 15:52:42 (943 KB/s) - written to stdout [16451] [2021-04-20T15:52:42.248Z] [2021-04-20T15:52:42.248Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-04-20T15:52:42.248Z] + wget+ -Otar -C - deps -z -x -f https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz - [2021-04-20T15:52:42.248Z] [2021-04-20T15:52:42.248Z] --2021-04-20 15:52:42-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-04-20T15:52:42.248Z] Resolving github.com... 140.82.113.3 [2021-04-20T15:52:42.248Z] Connecting to github.com|140.82.113.3|:443... connected. [2021-04-20T15:52:42.248Z] HTTP request sent, awaiting response... 302 Found [2021-04-20T15:52:42.248Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-04-20T15:52:42.248Z] --2021-04-20 15:52:42-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-04-20T15:52:42.248Z] Resolving codeload.github.com... 140.82.114.9 [2021-04-20T15:52:42.248Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-04-20T15:52:42.511Z] HTTP request sent, awaiting response... 200 OK [2021-04-20T15:52:42.511Z] Length: unspecified [application/x-gzip] [2021-04-20T15:52:42.511Z] Saving to: 'STDOUT' [2021-04-20T15:52:42.511Z]  [2021-04-20T15:52:42.511Z] 0K .......... .......... .......... .......... .......... 1.38M [2021-04-20T15:52:42.511Z] 50K .......... .......... .......... .......... .......... 3.22M [2021-04-20T15:52:42.511Z] 100K .......... .......... .......... .......... .......... 36.8M [2021-04-20T15:52:42.511Z] 150K .......... .......... ....... 3.51M=0.06s [2021-04-20T15:52:42.511Z] [2021-04-20T15:52:42.511Z] 2021-04-20 15:52:42 (2.92 MB/s) - written to stdout [181796] [2021-04-20T15:52:42.511Z] [2021-04-20T15:52:42.511Z] + mkdir -p src/c/iot [2021-04-20T15:52:42.511Z] + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot [2021-04-20T15:52:42.511Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-04-20T15:52:42.511Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-04-20T15:52:42.511Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-04-20T15:52:42.511Z] + mkdir -p include/iot [2021-04-20T15:52:42.512Z] + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot [2021-04-20T15:52:42.512Z] + mkdir -p include/iot/os [2021-04-20T15:52:42.512Z] + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os [2021-04-20T15:52:42.512Z] + mkdir -p /tmp/sdk/build/release [2021-04-20T15:52:42.512Z] + cd /tmp/sdk/build/release [2021-04-20T15:52:42.512Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-04-20T15:52:42.776Z] -- The C compiler identification is GNU 8.3.0 [2021-04-20T15:52:42.776Z] -- Check for working C compiler: /usr/bin/cc [2021-04-20T15:52:42.776Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-04-20T15:52:42.776Z] -- Detecting C compiler ABI info [2021-04-20T15:52:43.039Z] -- Detecting C compiler ABI info - done [2021-04-20T15:52:43.039Z] -- Detecting C compile features [2021-04-20T15:52:43.303Z] -- Detecting C compile features - done [2021-04-20T15:52:43.303Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-04-20T15:52:43.303Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-04-20T15:52:43.303Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-04-20T15:52:43.303Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-04-20T15:52:43.303Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-04-20T15:52:43.303Z] -- C SDK 0.0.0 for Linux [2021-04-20T15:52:43.303Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-04-20T15:52:43.303Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-04-20T15:52:43.303Z] -- Found Curses: /usr/lib/libcurses.so [2021-04-20T15:52:43.303Z] -- Configuring done [2021-04-20T15:52:43.303Z] -- Generating done [2021-04-20T15:52:43.566Z] -- Build files have been written to: /tmp/sdk/build/release [2021-04-20T15:52:43.566Z] + make [2021-04-20T15:52:43.566Z] + tee release.log [2021-04-20T15:52:43.566Z] Scanning dependencies of target csdk [2021-04-20T15:52:43.566Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-04-20T15:52:43.827Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-04-20T15:52:43.827Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-04-20T15:52:44.400Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-04-20T15:52:44.400Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-04-20T15:52:44.400Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-04-20T15:52:44.666Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-04-20T15:52:45.241Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-04-20T15:52:45.241Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-04-20T15:52:45.504Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-04-20T15:52:45.772Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-04-20T15:52:45.772Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-04-20T15:52:45.772Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-04-20T15:52:46.034Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-04-20T15:52:46.118Z] 37ed683be191: Pull complete [2021-04-20T15:52:46.118Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2021-04-20T15:52:46.118Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-04-20T15:52:46.118Z] ---> b23d30803547 [2021-04-20T15:52:46.118Z] Step 3/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev [2021-04-20T15:52:46.394Z] ---> Running in 42cad8784b3a [2021-04-20T15:52:46.607Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-04-20T15:52:46.876Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-04-20T15:52:46.876Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-04-20T15:52:47.145Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-04-20T15:52:47.145Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-04-20T15:52:47.845Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-04-20T15:52:48.091Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-04-20T15:52:48.091Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-04-20T15:52:48.091Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-04-20T15:52:48.091Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-04-20T15:52:48.354Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-04-20T15:52:48.354Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-04-20T15:52:48.442Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-04-20T15:52:48.632Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-04-20T15:52:48.900Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-04-20T15:52:48.900Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-04-20T15:52:49.163Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-04-20T15:52:49.418Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2021-04-20T15:52:49.692Z] (2/8) Installing libuuid (2.33-r0) [2021-04-20T15:52:49.692Z] (3/8) Installing libblkid (2.33-r0) [2021-04-20T15:52:49.692Z] (4/8) Installing libfdisk (2.33-r0) [2021-04-20T15:52:49.741Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-04-20T15:52:49.741Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-04-20T15:52:49.966Z] (5/8) Installing libmount (2.33-r0) [2021-04-20T15:52:49.966Z] (6/8) Installing libsmartcols (2.33-r0) [2021-04-20T15:52:49.966Z] (7/8) Installing util-linux-dev (2.33-r0) [2021-04-20T15:52:50.003Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-04-20T15:52:50.003Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-04-20T15:52:50.559Z] (8/8) Installing wget (1.20.3-r0) [2021-04-20T15:52:50.560Z] Executing busybox-1.29.3-r10.trigger [2021-04-20T15:52:50.560Z] OK: 285 MiB in 83 packages [2021-04-20T15:52:51.393Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-04-20T15:52:51.393Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-04-20T15:52:51.393Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-04-20T15:52:51.393Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-04-20T15:52:51.654Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-04-20T15:52:51.995Z] Removing intermediate container 42cad8784b3a [2021-04-20T15:52:51.995Z] ---> cb752edbce4f [2021-04-20T15:52:51.995Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2021-04-20T15:52:52.228Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-04-20T15:52:52.275Z] ---> Running in 887961c1083b [2021-04-20T15:52:52.492Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-04-20T15:52:52.549Z] Removing intermediate container 887961c1083b [2021-04-20T15:52:52.549Z] ---> 0ef53d9800c0 [2021-04-20T15:52:52.549Z] Step 5/21 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2021-04-20T15:52:52.824Z] ---> Running in 013d6b5a2727 [2021-04-20T15:52:53.443Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-04-20T15:52:53.708Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-04-20T15:52:53.708Z] [ 72%] Linking C shared library libcsdk.so [2021-04-20T15:52:53.708Z] [ 72%] Built target csdk [2021-04-20T15:52:53.807Z] --2021-04-20 15:52:53-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-04-20T15:52:53.807Z] Resolving github.com... 140.82.113.3 [2021-04-20T15:52:53.807Z] Connecting to github.com|140.82.113.3|:443... connected. [2021-04-20T15:52:53.807Z] HTTP request sent, awaiting response... 302 Found [2021-04-20T15:52:53.807Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-04-20T15:52:53.807Z] --2021-04-20 15:52:53-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-04-20T15:52:53.807Z] Resolving codeload.github.com... 140.82.114.9 [2021-04-20T15:52:53.807Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-04-20T15:52:53.974Z] Scanning dependencies of target template [2021-04-20T15:52:53.974Z] [ 74%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-04-20T15:52:53.974Z] [ 76%] Linking C executable template [2021-04-20T15:52:53.974Z] [ 76%] Built target template [2021-04-20T15:52:54.086Z] HTTP request sent, awaiting response... 200 OK [2021-04-20T15:52:54.086Z] Length: unspecified [application/x-gzip] [2021-04-20T15:52:54.086Z] Saving to: 'STDOUT' [2021-04-20T15:52:54.086Z]  [2021-04-20T15:52:54.086Z] 0K .......... .......... .......... .......... .......... 1.58M [2021-04-20T15:52:54.086Z] 50K .......... .......... .......... .......... .......... 2.92M [2021-04-20T15:52:54.086Z] 100K .......... .......... .......... .......... .......... 12.8M [2021-04-20T15:52:54.086Z] 150K .......... .......... .......... .......... .......... 4.01M [2021-04-20T15:52:54.086Z] 200K .......... .......... .......... .......... .......... 15.2M [2021-04-20T15:52:54.086Z] 250K .......... .......... .......... .......... .......... 3.43M [2021-04-20T15:52:54.086Z] 300K .......... .......... .......... .......... .......... 4.17M [2021-04-20T15:52:54.086Z] 350K .......... .......... .......... .......... .......... 2.20M [2021-04-20T15:52:54.086Z] 400K .......... .......... .......... .......... .......... 7.47M [2021-04-20T15:52:54.086Z] 450K .......... .......... .......... .......... .......... 4.13M [2021-04-20T15:52:54.086Z] 500K .......... .......... .......... .......... .......... 12.5M [2021-04-20T15:52:54.086Z] 550K .......... .......... .......... .......... .......... 2.74M [2021-04-20T15:52:54.086Z] 600K .......... .......... .......... .......... .......... 852K [2021-04-20T15:52:54.239Z] Scanning dependencies of target device-counter [2021-04-20T15:52:54.239Z] [ 77%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-04-20T15:52:54.239Z] [ 79%] Linking C executable device-counter [2021-04-20T15:52:54.239Z] [ 79%] Built target device-counter [2021-04-20T15:52:54.239Z] Scanning dependencies of target device-random [2021-04-20T15:52:54.239Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-04-20T15:52:54.358Z] 650K .......... .......... .......... .......... .......... 2.69M [2021-04-20T15:52:54.359Z] 700K .. 341K=0.2s [2021-04-20T15:52:54.359Z] [2021-04-20T15:52:54.359Z] 2021-04-20 15:52:54 (2.87 MB/s) - written to stdout [719348] [2021-04-20T15:52:54.359Z] [2021-04-20T15:52:54.503Z] [ 83%] Linking C executable device-random [2021-04-20T15:52:54.503Z] [ 83%] Built target device-random [2021-04-20T15:52:54.503Z] Scanning dependencies of target device-gyro [2021-04-20T15:52:54.503Z] [ 84%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-04-20T15:52:54.631Z] -- The C compiler identification is GNU 8.3.0 [2021-04-20T15:52:54.631Z] -- The CXX compiler identification is GNU 8.3.0 [2021-04-20T15:52:54.764Z] [ 86%] Linking C executable device-gyro [2021-04-20T15:52:54.764Z] [ 86%] Built target device-gyro [2021-04-20T15:52:54.764Z] Scanning dependencies of target device-bitfields [2021-04-20T15:52:54.764Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-04-20T15:52:54.764Z] [ 89%] Linking C executable device-bitfields [2021-04-20T15:52:54.905Z] -- Check for working C compiler: /usr/bin/cc [2021-04-20T15:52:54.905Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-04-20T15:52:54.905Z] -- Detecting C compiler ABI info [2021-04-20T15:52:55.028Z] [ 89%] Built target device-bitfields [2021-04-20T15:52:55.028Z] Scanning dependencies of target template-discovery [2021-04-20T15:52:55.028Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-04-20T15:52:55.179Z] -- Detecting C compiler ABI info - done [2021-04-20T15:52:55.179Z] -- Detecting C compile features [2021-04-20T15:52:55.293Z] [ 93%] Linking C executable template-discovery [2021-04-20T15:52:55.293Z] [ 93%] Built target template-discovery [2021-04-20T15:52:55.293Z] Scanning dependencies of target device-file [2021-04-20T15:52:55.293Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-04-20T15:52:55.293Z] [ 96%] Linking C executable device-file [2021-04-20T15:52:55.554Z] [ 96%] Built target device-file [2021-04-20T15:52:55.554Z] Scanning dependencies of target device-terminal [2021-04-20T15:52:55.554Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-04-20T15:52:55.554Z] [100%] Linking C executable device-terminal [2021-04-20T15:52:55.818Z] [100%] Built target device-terminal [2021-04-20T15:52:55.818Z] + make package [2021-04-20T15:52:55.818Z] + tee -a release.log [2021-04-20T15:52:55.818Z] [ 72%] Built target csdk [2021-04-20T15:52:55.818Z] [ 76%] Built target template [2021-04-20T15:52:55.818Z] [ 79%] Built target device-counter [2021-04-20T15:52:55.818Z] [ 83%] Built target device-random [2021-04-20T15:52:55.818Z] [ 86%] Built target device-gyro [2021-04-20T15:52:55.818Z] [ 89%] Built target device-bitfields [2021-04-20T15:52:55.818Z] [ 93%] Built target template-discovery [2021-04-20T15:52:55.818Z] [ 96%] Built target device-file [2021-04-20T15:52:55.818Z] [100%] Built target device-terminal [2021-04-20T15:52:56.080Z] Run CPack packaging tool... [2021-04-20T15:52:56.080Z] CPack: Create package using TGZ [2021-04-20T15:52:56.080Z] CPack: Install projects [2021-04-20T15:52:56.080Z] CPack: - Run preinstall target for: Csdk [2021-04-20T15:52:56.161Z] -- Detecting C compile features - done [2021-04-20T15:52:56.161Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-04-20T15:52:56.161Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-04-20T15:52:56.161Z] -- Detecting CXX compiler ABI info [2021-04-20T15:52:56.342Z] CPack: - Install project: Csdk [2021-04-20T15:52:56.342Z] CPack: Create package [2021-04-20T15:52:56.342Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-04-20T15:52:56.342Z] + '[' false '=' true ] [2021-04-20T15:52:56.342Z] + '[' false '=' true ] [2021-04-20T15:52:56.342Z] + mkdir -p /tmp/sdk/build/debug [2021-04-20T15:52:56.342Z] + cd /tmp/sdk/build/debug [2021-04-20T15:52:56.342Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-04-20T15:52:56.342Z] -- The C compiler identification is GNU 8.3.0 [2021-04-20T15:52:56.342Z] -- Check for working C compiler: /usr/bin/cc [2021-04-20T15:52:56.436Z] -- Detecting CXX compiler ABI info - done [2021-04-20T15:52:56.436Z] -- Detecting CXX compile features [2021-04-20T15:52:56.606Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-04-20T15:52:56.606Z] -- Detecting C compiler ABI info [2021-04-20T15:52:56.606Z] -- Detecting C compiler ABI info - done [2021-04-20T15:52:56.606Z] -- Detecting C compile features [2021-04-20T15:52:56.868Z] -- Detecting C compile features - done [2021-04-20T15:52:56.868Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-04-20T15:52:56.868Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-04-20T15:52:56.868Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-04-20T15:52:56.868Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-04-20T15:52:56.868Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-04-20T15:52:56.868Z] -- C SDK 0.0.0 for Linux [2021-04-20T15:52:56.868Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-04-20T15:52:56.868Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-04-20T15:52:56.868Z] -- Found Curses: /usr/lib/libcurses.so [2021-04-20T15:52:56.868Z] -- Configuring done [2021-04-20T15:52:57.129Z] -- Generating done [2021-04-20T15:52:57.129Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-04-20T15:52:57.129Z] + + teemake debug.log [2021-04-20T15:52:57.129Z] [2021-04-20T15:52:57.129Z] Scanning dependencies of target csdk [2021-04-20T15:52:57.129Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-04-20T15:52:57.129Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-04-20T15:52:57.391Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-04-20T15:52:57.391Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-04-20T15:52:57.654Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-04-20T15:52:57.654Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-04-20T15:52:57.654Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-04-20T15:52:57.872Z] -- Detecting CXX compile features - done [2021-04-20T15:52:57.872Z] -- Looking for include file endian.h [2021-04-20T15:52:57.916Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-04-20T15:52:57.916Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-04-20T15:52:58.145Z] -- Looking for include file endian.h - found [2021-04-20T15:52:58.145Z] -- Check if the system is big endian [2021-04-20T15:52:58.145Z] -- Searching 16 bit integer [2021-04-20T15:52:58.145Z] -- Looking for sys/types.h [2021-04-20T15:52:58.181Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-04-20T15:52:58.181Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-04-20T15:52:58.181Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-04-20T15:52:58.181Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-04-20T15:52:58.421Z] -- Looking for sys/types.h - found [2021-04-20T15:52:58.421Z] -- Looking for stdint.h [2021-04-20T15:52:58.444Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-04-20T15:52:58.695Z] -- Looking for stdint.h - found [2021-04-20T15:52:58.695Z] -- Looking for stddef.h [2021-04-20T15:52:58.711Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-04-20T15:52:58.711Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-04-20T15:52:58.711Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-04-20T15:52:58.711Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-04-20T15:52:58.971Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-04-20T15:52:58.976Z] -- Looking for stddef.h - found [2021-04-20T15:52:58.976Z] -- Check size of unsigned short [2021-04-20T15:52:59.238Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-04-20T15:52:59.238Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-04-20T15:52:59.238Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-04-20T15:52:59.238Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-04-20T15:52:59.255Z] -- Check size of unsigned short - done [2021-04-20T15:52:59.255Z] -- Using unsigned short [2021-04-20T15:52:59.255Z] -- Check if the system is big endian - little endian [2021-04-20T15:52:59.501Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-04-20T15:52:59.501Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-04-20T15:52:59.501Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-04-20T15:52:59.501Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-04-20T15:52:59.526Z] -- Check size of size_t [2021-04-20T15:52:59.526Z] -- Check size of size_t - done [2021-04-20T15:52:59.762Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-04-20T15:52:59.762Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-04-20T15:52:59.762Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-04-20T15:52:59.800Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-04-20T15:52:59.800Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-04-20T15:52:59.800Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-04-20T15:52:59.800Z] CMake did not find one. [2021-04-20T15:52:59.800Z] [2021-04-20T15:52:59.800Z] Could not find a package configuration file provided by "cJSON" with any of [2021-04-20T15:52:59.800Z] the following names: [2021-04-20T15:52:59.800Z] [2021-04-20T15:52:59.800Z] cJSONConfig.cmake [2021-04-20T15:52:59.800Z] cjson-config.cmake [2021-04-20T15:52:59.800Z] [2021-04-20T15:52:59.800Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-04-20T15:52:59.800Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-04-20T15:52:59.800Z] provides a separate development package or SDK, be sure it has been [2021-04-20T15:52:59.800Z] installed. [2021-04-20T15:52:59.800Z] [2021-04-20T15:52:59.800Z] [2021-04-20T15:52:59.800Z] -- Configuring done [2021-04-20T15:52:59.800Z] -- Generating done [2021-04-20T15:52:59.800Z] -- Build files have been written to: /tmp/cbor [2021-04-20T15:53:00.031Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-04-20T15:53:00.031Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-04-20T15:53:00.031Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-04-20T15:53:00.071Z] Scanning dependencies of target cbor_shared [2021-04-20T15:53:00.071Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-04-20T15:53:00.300Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-04-20T15:53:00.562Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-04-20T15:53:00.562Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-04-20T15:53:00.562Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-04-20T15:53:00.826Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-04-20T15:53:01.053Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-04-20T15:53:01.087Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-04-20T15:53:01.087Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-04-20T15:53:01.329Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-04-20T15:53:01.352Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-04-20T15:53:01.352Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-04-20T15:53:01.352Z] [ 72%] Linking C shared library libcsdk.so [2021-04-20T15:53:01.604Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-04-20T15:53:01.623Z] [ 72%] Built target csdk [2021-04-20T15:53:01.624Z] Scanning dependencies of target template [2021-04-20T15:53:01.624Z] [ 74%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-04-20T15:53:01.624Z] [ 76%] Linking C executable template [2021-04-20T15:53:01.624Z] [ 76%] Built target template [2021-04-20T15:53:01.624Z] Scanning dependencies of target device-counter [2021-04-20T15:53:01.886Z] [ 77%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-04-20T15:53:01.886Z] [ 79%] Linking C executable device-counter [2021-04-20T15:53:01.886Z] [ 79%] Built target device-counter [2021-04-20T15:53:01.886Z] Scanning dependencies of target device-random [2021-04-20T15:53:01.886Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-04-20T15:53:01.886Z] [ 83%] Linking C executable device-random [2021-04-20T15:53:02.150Z] [ 83%] Built target device-random [2021-04-20T15:53:02.150Z] Scanning dependencies of target device-gyro [2021-04-20T15:53:02.150Z] [ 84%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-04-20T15:53:02.150Z] [ 86%] Linking C executable device-gyro [2021-04-20T15:53:02.150Z] [ 86%] Built target device-gyro [2021-04-20T15:53:02.150Z] Scanning dependencies of target device-bitfields [2021-04-20T15:53:02.150Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-04-20T15:53:02.206Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-04-20T15:53:02.416Z] [ 89%] Linking C executable device-bitfields [2021-04-20T15:53:02.416Z] [ 89%] Built target device-bitfields [2021-04-20T15:53:02.416Z] Scanning dependencies of target template-discovery [2021-04-20T15:53:02.416Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-04-20T15:53:02.416Z] [ 93%] Linking C executable template-discovery [2021-04-20T15:53:02.480Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-04-20T15:53:02.679Z] [ 93%] Built target template-discovery [2021-04-20T15:53:02.679Z] Scanning dependencies of target device-file [2021-04-20T15:53:02.679Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-04-20T15:53:02.679Z] [ 96%] Linking C executable device-file [2021-04-20T15:53:02.679Z] [ 96%] Built target device-file [2021-04-20T15:53:02.679Z] Scanning dependencies of target device-terminal [2021-04-20T15:53:02.753Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-04-20T15:53:02.753Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-04-20T15:53:02.942Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-04-20T15:53:02.942Z] [100%] Linking C executable device-terminal [2021-04-20T15:53:02.942Z] [100%] Built target device-terminal [2021-04-20T15:53:02.942Z] make: Entering directory '/tmp/sdk/build/release' [2021-04-20T15:53:02.942Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-04-20T15:53:02.942Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T15:53:02.942Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T15:53:02.942Z] [ 72%] Built target csdk [2021-04-20T15:53:02.942Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T15:53:02.942Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T15:53:02.942Z] [ 76%] Built target template [2021-04-20T15:53:02.942Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T15:53:03.026Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-04-20T15:53:03.204Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T15:53:03.204Z] [ 79%] Built target device-counter [2021-04-20T15:53:03.204Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T15:53:03.204Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T15:53:03.204Z] [ 83%] Built target device-random [2021-04-20T15:53:03.204Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T15:53:03.204Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T15:53:03.204Z] [ 86%] Built target device-gyro [2021-04-20T15:53:03.204Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T15:53:03.204Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T15:53:03.204Z] [ 89%] Built target device-bitfields [2021-04-20T15:53:03.204Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T15:53:03.204Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T15:53:03.204Z] [ 93%] Built target template-discovery [2021-04-20T15:53:03.204Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T15:53:03.204Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T15:53:03.204Z] [ 96%] Built target device-file [2021-04-20T15:53:03.204Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T15:53:03.204Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T15:53:03.204Z] [100%] Built target device-terminal [2021-04-20T15:53:03.204Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T15:53:03.204Z] Install the project... [2021-04-20T15:53:03.204Z] -- Install configuration: "Release" [2021-04-20T15:53:03.204Z] -- Installing: /usr/local/lib/libcsdk.so [2021-04-20T15:53:03.204Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-04-20T15:53:03.204Z] -- Up-to-date: /usr/local/include [2021-04-20T15:53:03.204Z] -- Installing: /usr/local/include/devsdk [2021-04-20T15:53:03.204Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-04-20T15:53:03.204Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-04-20T15:53:03.204Z] -- Installing: /usr/local/include/edgex [2021-04-20T15:53:03.204Z] -- Installing: /usr/local/include/edgex/devices.h [2021-04-20T15:53:03.204Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-04-20T15:53:03.204Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-04-20T15:53:03.204Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-04-20T15:53:03.204Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-04-20T15:53:03.204Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-04-20T15:53:03.204Z] -- Installing: /usr/local/include/iot [2021-04-20T15:53:03.204Z] -- Installing: /usr/local/include/iot/base64.h [2021-04-20T15:53:03.204Z] -- Installing: /usr/local/include/iot/component.h [2021-04-20T15:53:03.204Z] -- Installing: /usr/local/include/iot/config.h [2021-04-20T15:53:03.204Z] -- Installing: /usr/local/include/iot/container.h [2021-04-20T15:53:03.204Z] -- Installing: /usr/local/include/iot/data.h [2021-04-20T15:53:03.204Z] -- Installing: /usr/local/include/iot/hash.h [2021-04-20T15:53:03.204Z] -- Installing: /usr/local/include/iot/iot.h [2021-04-20T15:53:03.204Z] -- Installing: /usr/local/include/iot/json.h [2021-04-20T15:53:03.204Z] -- Installing: /usr/local/include/iot/logger.h [2021-04-20T15:53:03.204Z] -- Installing: /usr/local/include/iot/os.h [2021-04-20T15:53:03.204Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-04-20T15:53:03.204Z] -- Installing: /usr/local/include/iot/thread.h [2021-04-20T15:53:03.204Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-04-20T15:53:03.204Z] -- Installing: /usr/local/include/iot/time.h [2021-04-20T15:53:03.204Z] -- Installing: /usr/local/include/iot/typecode.h [2021-04-20T15:53:03.204Z] -- Installing: /usr/local/include/iot/os [2021-04-20T15:53:03.204Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-04-20T15:53:03.204Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-04-20T15:53:03.204Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-04-20T15:53:03.204Z] -- Installing: /usr/local/include/iot/defs.h [2021-04-20T15:53:03.204Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-04-20T15:53:03.204Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-04-20T15:53:03.204Z] make: Leaving directory '/tmp/sdk/build/release' [2021-04-20T15:53:03.299Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-04-20T15:53:03.895Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-04-20T15:53:04.169Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-04-20T15:53:04.445Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-04-20T15:53:05.046Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-04-20T15:53:05.046Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-04-20T15:53:05.318Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-04-20T15:53:05.591Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-04-20T15:53:05.770Z] Removing intermediate container e18997eeba23 [2021-04-20T15:53:05.770Z] ---> bd033728cdb4 [2021-04-20T15:53:05.770Z] Step 14/21 : FROM ${BASE} [2021-04-20T15:53:05.770Z] ---> 5eabd8fd8ba2 [2021-04-20T15:53:05.770Z] Step 15/21 : LABEL maintainer="IOTech " [2021-04-20T15:53:05.770Z] ---> Running in c908e59d9712 [2021-04-20T15:53:05.770Z] Removing intermediate container c908e59d9712 [2021-04-20T15:53:05.770Z] ---> 0f5e4cd3f8f9 [2021-04-20T15:53:05.770Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2021-04-20T15:53:05.770Z] ---> Running in 05fc32865bfd [2021-04-20T15:53:05.871Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-04-20T15:53:06.142Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-04-20T15:53:06.422Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-04-20T15:53:06.696Z] [ 40%] Linking C shared library libcbor.so [2021-04-20T15:53:06.696Z] [ 40%] Built target cbor_shared [2021-04-20T15:53:06.696Z] Scanning dependencies of target cbor [2021-04-20T15:53:06.696Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-04-20T15:53:06.720Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-04-20T15:53:07.670Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-04-20T15:53:07.702Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-04-20T15:53:08.001Z] (1/3) Installing curl (7.64.0-r5) [2021-04-20T15:53:08.265Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-04-20T15:53:08.265Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-04-20T15:53:08.272Z] (2/3) Installing libuuid (2.33-r0) [2021-04-20T15:53:08.272Z] (3/3) Installing wget (1.20.3-r0) [2021-04-20T15:53:08.272Z] Executing busybox-1.29.3-r10.trigger [2021-04-20T15:53:08.272Z] OK: 268 MiB in 78 packages [2021-04-20T15:53:08.859Z] Removing intermediate container 05fc32865bfd [2021-04-20T15:53:08.859Z] ---> 1e48425fd69b [2021-04-20T15:53:08.859Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-04-20T15:53:09.145Z] ---> b53e1a30ef24 [2021-04-20T15:53:09.145Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-04-20T15:53:09.425Z] ---> 4124a0598111 [2021-04-20T15:53:09.425Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-04-20T15:53:09.692Z] ---> 92d451f3b116 [2021-04-20T15:53:09.692Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-04-20T15:53:09.708Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-04-20T15:53:09.709Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-04-20T15:53:09.955Z] ---> b8acde01ec8f [2021-04-20T15:53:09.955Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-04-20T15:53:09.981Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-04-20T15:53:10.217Z] ---> c151884c0491 [2021-04-20T15:53:10.217Z] Successfully built c151884c0491 [2021-04-20T15:53:10.217Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [2021-04-20T15:53:10.259Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-04-20T15:53:10.259Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-20T15:53:10.857Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-04-20T15:53:10.893Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-20T15:53:10.893Z] . [Pipeline] withDockerContainer [2021-04-20T15:53:11.032Z] prd-centos7-docker-4c-2g-1187 does not seem to be running inside a container [2021-04-20T15:53:11.081Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-20T15:53:11.451Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-04-20T15:53:11.724Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-04-20T15:53:12.002Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-04-20T15:53:12.080Z] $ docker top aff5340102b9c8b542f5e9aa37841cf4986f9eb0b65a757b953526cbede87c29 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-20T15:53:12.579Z] + make test [2021-04-20T15:53:12.579Z] echo "make test" [2021-04-20T15:53:12.579Z] make test [Pipeline] } [2021-04-20T15:53:12.604Z] $ docker stop --time=1 aff5340102b9c8b542f5e9aa37841cf4986f9eb0b65a757b953526cbede87c29 [2021-04-20T15:53:12.608Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-04-20T15:53:12.608Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-04-20T15:53:12.881Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-04-20T15:53:13.152Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-04-20T15:53:13.424Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-04-20T15:53:13.697Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-04-20T15:53:13.954Z] $ docker rm -f aff5340102b9c8b542f5e9aa37841cf4986f9eb0b65a757b953526cbede87c29 [2021-04-20T15:53:13.970Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [2021-04-20T15:53:14.241Z] [ 80%] Linking C static library libcbor.a [2021-04-20T15:53:14.241Z] [ 80%] Built target cbor [2021-04-20T15:53:14.241Z] Scanning dependencies of target create_items [2021-04-20T15:53:14.241Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2021-04-20T15:53:14.514Z] [ 84%] Linking C executable create_items [2021-04-20T15:53:14.515Z] [ 84%] Built target create_items [2021-04-20T15:53:14.515Z] Scanning dependencies of target readfile [2021-04-20T15:53:14.787Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-04-20T15:53:14.787Z] [ 88%] Linking C executable readfile [2021-04-20T15:53:15.059Z] [ 88%] Built target readfile [2021-04-20T15:53:15.059Z] Scanning dependencies of target streaming_parser [2021-04-20T15:53:15.059Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-04-20T15:53:15.331Z] [ 92%] Linking C executable streaming_parser [2021-04-20T15:53:15.331Z] [ 92%] Built target streaming_parser [2021-04-20T15:53:15.331Z] Scanning dependencies of target sort [2021-04-20T15:53:15.331Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-04-20T15:53:15.603Z] [ 96%] Linking C executable sort [2021-04-20T15:53:15.603Z] [ 96%] Built target sort [2021-04-20T15:53:15.603Z] Scanning dependencies of target hello [2021-04-20T15:53:15.603Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-04-20T15:53:15.875Z] [100%] Linking C executable hello [2021-04-20T15:53:15.875Z] [100%] Built target hello [2021-04-20T15:53:15.875Z] Install the project... [2021-04-20T15:53:16.147Z] -- Install configuration: "Release" [2021-04-20T15:53:16.147Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-04-20T15:53:16.147Z] -- Installing: /usr/local/lib64/libcbor.a [2021-04-20T15:53:16.147Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-04-20T15:53:16.147Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-04-20T15:53:16.147Z] -- Installing: /usr/local/lib64/libcbor.so [2021-04-20T15:53:16.147Z] -- Up-to-date: /usr/local/include/cbor [2021-04-20T15:53:16.147Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-04-20T15:53:16.147Z] -- Installing: /usr/local/include/cbor/ints.h [2021-04-20T15:53:16.148Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-04-20T15:53:16.148Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-04-20T15:53:16.148Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-04-20T15:53:16.148Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-04-20T15:53:16.148Z] -- Installing: /usr/local/include/cbor/data.h [2021-04-20T15:53:16.148Z] -- Installing: /usr/local/include/cbor/common.h [2021-04-20T15:53:16.148Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-04-20T15:53:16.148Z] -- Installing: /usr/local/include/cbor/strings.h [2021-04-20T15:53:16.148Z] -- Installing: /usr/local/include/cbor/tags.h [2021-04-20T15:53:16.148Z] -- Installing: /usr/local/include/cbor/internal [2021-04-20T15:53:16.148Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-04-20T15:53:16.148Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-04-20T15:53:16.148Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-04-20T15:53:16.148Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-04-20T15:53:16.148Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-04-20T15:53:16.148Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-04-20T15:53:16.148Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-04-20T15:53:16.148Z] -- Installing: /usr/local/include/cbor/maps.h [2021-04-20T15:53:16.148Z] -- Installing: /usr/local/include/cbor.h [2021-04-20T15:53:16.148Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [Pipeline] sh [2021-04-20T15:53:16.860Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-20T15:53:17.183Z] + ls -al . [2021-04-20T15:53:17.183Z] total 160 [2021-04-20T15:53:17.183Z] drwxrwxr-x. 8 jenkins jenkins 260 Apr 20 15:52 . [2021-04-20T15:53:17.183Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 20 15:52 .. [2021-04-20T15:53:17.183Z] -rw-rw-r--. 1 jenkins jenkins 3104 Apr 20 15:52 Attribution.txt [2021-04-20T15:53:17.183Z] -rw-rw-r--. 1 jenkins jenkins 6927 Apr 20 15:52 CHANGES [2021-04-20T15:53:17.183Z] drwxrwxr-x. 2 jenkins jenkins 144 Apr 20 15:52 docs [2021-04-20T15:53:17.183Z] -rw-rw-r--. 1 jenkins jenkins 108574 Apr 20 15:52 Doxyfile [2021-04-20T15:53:17.183Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 20 15:52 .git [2021-04-20T15:53:17.183Z] drwxrwxr-x. 2 jenkins jenkins 81 Apr 20 15:52 .github [2021-04-20T15:53:17.183Z] -rw-rw-r--. 1 jenkins jenkins 176 Apr 20 15:52 .gitignore [2021-04-20T15:53:17.183Z] drwxrwxr-x. 4 jenkins jenkins 33 Apr 20 15:52 include [2021-04-20T15:53:17.183Z] -rw-rw-r--. 1 jenkins jenkins 784 Apr 20 15:52 Jenkinsfile [2021-04-20T15:53:17.183Z] -rw-rw-r--. 1 jenkins jenkins 10174 Apr 20 15:52 LICENSE [2021-04-20T15:53:17.183Z] -rw-rw-r--. 1 jenkins jenkins 444 Apr 20 15:52 Makefile [2021-04-20T15:53:17.183Z] -rw-rw-r--. 1 jenkins jenkins 4008 Apr 20 15:52 README.md [2021-04-20T15:53:17.183Z] -rw-rw-r--. 1 jenkins jenkins 6654 Apr 20 15:52 README.v2.md [2021-04-20T15:53:17.183Z] drwxrwxr-x. 2 jenkins jenkins 98 Apr 20 15:52 scripts [2021-04-20T15:53:17.183Z] drwxrwxr-x. 4 jenkins jenkins 50 Apr 20 15:52 src [2021-04-20T15:53:17.183Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 20 15:50 VERSION [Pipeline] isUnix [Pipeline] sh [2021-04-20T15:53:17.532Z] + docker build -t docker-device-sdk-c -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=a33edd551577c13a6caebfff0db5daf2417b1afa --label arch=amd64 --label version=0.0.0 . [2021-04-20T15:53:17.533Z] Sending build context to Docker daemon 2.407MB [2021-04-20T15:53:17.533Z] Step 1/15 : ARG BASE=alpine:3.12 [2021-04-20T15:53:17.533Z] Step 2/15 : FROM ${BASE} [2021-04-20T15:53:17.533Z] ---> c151884c0491 [2021-04-20T15:53:17.533Z] Step 3/15 : LABEL maintainer="IOTech " [2021-04-20T15:53:18.109Z] ---> Running in c37db468a708 [2021-04-20T15:53:18.121Z] Removing intermediate container 013d6b5a2727 [2021-04-20T15:53:18.122Z] ---> 1ce48f9e93b4 [2021-04-20T15:53:18.122Z] Step 6/21 : RUN mkdir /tmp/sdk [2021-04-20T15:53:18.372Z] Removing intermediate container c37db468a708 [2021-04-20T15:53:18.372Z] ---> e4774d95c0c8 [2021-04-20T15:53:18.372Z] Step 4/15 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev && mkdir -p /edgex-c-sdk/build [2021-04-20T15:53:18.372Z] ---> Running in 9130c3b05db4 [2021-04-20T15:53:18.394Z] ---> Running in 87e8b8b2a76c [2021-04-20T15:53:18.960Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-04-20T15:53:19.543Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-04-20T15:53:19.813Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-04-20T15:53:20.078Z] (2/6) Installing libblkid (2.33-r0) [2021-04-20T15:53:20.078Z] (3/6) Installing libfdisk (2.33-r0) [2021-04-20T15:53:20.078Z] (4/6) Installing libmount (2.33-r0) [2021-04-20T15:53:20.346Z] (5/6) Installing libsmartcols (2.33-r0) [2021-04-20T15:53:20.346Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-04-20T15:53:20.405Z] Removing intermediate container 87e8b8b2a76c [2021-04-20T15:53:20.405Z] ---> 36e70268c271 [2021-04-20T15:53:20.405Z] Step 7/21 : COPY VERSION /tmp/sdk [2021-04-20T15:53:20.942Z] Executing busybox-1.29.3-r10.trigger [2021-04-20T15:53:20.942Z] OK: 272 MiB in 84 packages [2021-04-20T15:53:21.023Z] ---> e781905353d7 [2021-04-20T15:53:21.023Z] Step 8/21 : COPY src /tmp/sdk/src [2021-04-20T15:53:21.517Z] Removing intermediate container 9130c3b05db4 [2021-04-20T15:53:21.517Z] ---> c6154fdf4810 [2021-04-20T15:53:21.517Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2021-04-20T15:53:21.782Z] ---> d112736496b2 [2021-04-20T15:53:21.782Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2021-04-20T15:53:22.003Z] ---> 0439482e3bdc [2021-04-20T15:53:22.003Z] Step 9/21 : COPY include /tmp/sdk/include [2021-04-20T15:53:22.600Z] ---> 0c9565e64987 [2021-04-20T15:53:22.600Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2021-04-20T15:53:22.734Z] ---> 6962898171b0 [2021-04-20T15:53:22.734Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2021-04-20T15:53:22.734Z] ---> e44f12257585 [2021-04-20T15:53:22.734Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2021-04-20T15:53:23.322Z] ---> ef23572c8436 [2021-04-20T15:53:23.322Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2021-04-20T15:53:23.581Z] ---> f1bab53af053 [2021-04-20T15:53:23.581Z] Step 11/21 : COPY LICENSE /tmp/sdk [2021-04-20T15:53:23.585Z] ---> 30500e59e5da [2021-04-20T15:53:23.585Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2021-04-20T15:53:23.850Z] ---> 7c52126dfd43 [2021-04-20T15:53:23.850Z] Step 11/15 : WORKDIR /edgex-c-sdk [2021-04-20T15:53:23.850Z] ---> Running in a588df781af2 [2021-04-20T15:53:24.113Z] Removing intermediate container a588df781af2 [2021-04-20T15:53:24.113Z] ---> 49bc657415c3 [2021-04-20T15:53:24.113Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-04-20T15:53:24.113Z] ---> Running in e4de5c7974b7 [2021-04-20T15:53:24.174Z] ---> 16ed86e008e4 [2021-04-20T15:53:24.174Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2021-04-20T15:53:24.374Z] Removing intermediate container e4de5c7974b7 [2021-04-20T15:53:24.374Z] ---> d03a43532f8e [2021-04-20T15:53:24.374Z] Step 13/15 : LABEL arch=amd64 [2021-04-20T15:53:24.374Z] ---> Running in f811f08814cb [2021-04-20T15:53:24.635Z] Removing intermediate container f811f08814cb [2021-04-20T15:53:24.635Z] ---> 829d01309273 [2021-04-20T15:53:24.635Z] Step 14/15 : LABEL git_sha=a33edd551577c13a6caebfff0db5daf2417b1afa [2021-04-20T15:53:24.635Z] ---> Running in fce2635a3b3d [2021-04-20T15:53:24.769Z] ---> ba45198a197d [2021-04-20T15:53:24.769Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-04-20T15:53:24.897Z] Removing intermediate container fce2635a3b3d [2021-04-20T15:53:24.897Z] ---> ecd6f3307bec [2021-04-20T15:53:24.897Z] Step 15/15 : LABEL version=0.0.0 [2021-04-20T15:53:24.897Z] ---> Running in aeb8aa7c0575 [2021-04-20T15:53:24.897Z] Removing intermediate container aeb8aa7c0575 [2021-04-20T15:53:24.897Z] ---> 984fc813cafc [2021-04-20T15:53:24.897Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-20T15:53:25.055Z] ---> Running in 4cf9caaad92e [2021-04-20T15:53:25.159Z] Successfully built 984fc813cafc [2021-04-20T15:53:25.159Z] Successfully tagged docker-device-sdk-c:latest [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 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-20T15:53:26.038Z] + CPPCHECK=false [2021-04-20T15:53:26.038Z] + DOCGEN=false [2021-04-20T15:53:26.038Z] + TOMLVER=SDK-0.2 [2021-04-20T15:53:26.038Z] + CUTILVER=1.1.4 [2021-04-20T15:53:26.038Z] + '[' 0 -gt 0 ] [2021-04-20T15:53:26.038Z] + readlink -f ./scripts/build.sh [2021-04-20T15:53:26.038Z] + dirname /tmp/sdk/scripts/build.sh [2021-04-20T15:53:26.038Z] + dirname /tmp/sdk/scripts [2021-04-20T15:53:26.038Z] + ROOT=/tmp/sdk [2021-04-20T15:53:26.038Z] + cd /tmp/sdk [2021-04-20T15:53:26.038Z] + '[' '!' -d deps ] [2021-04-20T15:53:26.038Z] + mkdir deps [2021-04-20T15:53:26.038Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-04-20T15:53:26.038Z] + tar -C deps -z -x -f - [2021-04-20T15:53:26.038Z] --2021-04-20 15:53:25-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-04-20T15:53:26.038Z] Resolving github.com... 140.82.113.3 [2021-04-20T15:53:26.038Z] Connecting to github.com|140.82.113.3|:443... connected. [2021-04-20T15:53:26.038Z] HTTP request sent, awaiting response... 302 Found [2021-04-20T15:53:26.038Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-04-20T15:53:26.038Z] --2021-04-20 15:53:26-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-04-20T15:53:26.038Z] Resolving codeload.github.com... 140.82.114.9 [2021-04-20T15:53:26.038Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-04-20T15:53:26.309Z] HTTP request sent, awaiting response... 200 OK [2021-04-20T15:53:26.309Z] Length: unspecified [application/x-gzip] [2021-04-20T15:53:26.309Z] Saving to: 'STDOUT' [2021-04-20T15:53:26.309Z]  [2021-04-20T15:53:26.309Z] 0K .......... ...... 891K=0.02s [2021-04-20T15:53:26.309Z] [2021-04-20T15:53:26.309Z] 2021-04-20 15:53:26 (891 KB/s) - written to stdout [16451] [2021-04-20T15:53:26.309Z] [2021-04-20T15:53:26.309Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-04-20T15:53:26.309Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-04-20T15:53:26.309Z] + tar -C deps -z -x -f - [2021-04-20T15:53:26.309Z] --2021-04-20 15:53:26-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-04-20T15:53:26.309Z] Resolving github.com... 140.82.114.4 [2021-04-20T15:53:26.309Z] Connecting to github.com|140.82.114.4|:443... connected. [2021-04-20T15:53:26.580Z] HTTP request sent, awaiting response... 302 Found [2021-04-20T15:53:26.580Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-04-20T15:53:26.580Z] --2021-04-20 15:53:26-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-04-20T15:53:26.580Z] Resolving codeload.github.com... 140.82.114.9 [2021-04-20T15:53:26.580Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-04-20T15:53:26.580Z] HTTP request sent, awaiting response... 200 OK [2021-04-20T15:53:26.580Z] Length: unspecified [application/x-gzip] [2021-04-20T15:53:26.580Z] Saving to: 'STDOUT' [2021-04-20T15:53:26.580Z]  [2021-04-20T15:53:26.580Z] 0K .......... .......... .......... .......... .......... 1.28M [2021-04-20T15:53:26.580Z] 50K .......... .......... .......... .......... .......... 2.73M [2021-04-20T15:53:26.580Z] 100K .......... .......... .......... .......... .......... 12.3M [2021-04-20T15:53:26.580Z] 150K .......... .......... ....... 1.62M=0.08s [2021-04-20T15:53:26.580Z] [2021-04-20T15:53:26.580Z] 2021-04-20 15:53:26 (2.26 MB/s) - written to stdout [181796] [2021-04-20T15:53:26.580Z] [2021-04-20T15:53:26.580Z] + mkdir -p src/c/iot [2021-04-20T15:53:26.580Z] + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot [2021-04-20T15:53:26.853Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-04-20T15:53:26.853Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-04-20T15:53:26.853Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-04-20T15:53:26.853Z] + mkdir -p include/iot [2021-04-20T15:53:26.853Z] + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot [2021-04-20T15:53:26.853Z] + mkdir -p include/iot/os [2021-04-20T15:53:26.854Z] + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os [2021-04-20T15:53:26.854Z] + mkdir -p /tmp/sdk/build/release [2021-04-20T15:53:26.854Z] + cd /tmp/sdk/build/release [2021-04-20T15:53:26.854Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-04-20T15:53:27.124Z] -- The C compiler identification is GNU 8.3.0 [2021-04-20T15:53:27.124Z] -- Check for working C compiler: /usr/bin/cc [2021-04-20T15:53:27.395Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-04-20T15:53:27.395Z] -- Detecting C compiler ABI info [2021-04-20T15:53:27.395Z] -- Detecting C compiler ABI info - done [2021-04-20T15:53:27.664Z] -- Detecting C compile features [2021-04-20T15:53:28.256Z] -- Detecting C compile features - done [2021-04-20T15:53:28.256Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-04-20T15:53:28.256Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-04-20T15:53:28.256Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-04-20T15:53:28.256Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-04-20T15:53:28.256Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-04-20T15:53:28.256Z] -- C SDK 0.0.0 for Linux [2021-04-20T15:53:28.256Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-04-20T15:53:28.528Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-04-20T15:53:28.528Z] -- Found Curses: /usr/lib/libcurses.so [2021-04-20T15:53:28.528Z] -- Configuring done [2021-04-20T15:53:28.803Z] -- Generating done [2021-04-20T15:53:28.803Z] -- Build files have been written to: /tmp/sdk/build/release [2021-04-20T15:53:28.803Z] + make [2021-04-20T15:53:28.803Z] + tee release.log [2021-04-20T15:53:29.079Z] Scanning dependencies of target csdk [2021-04-20T15:53:29.079Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-04-20T15:53:29.674Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-04-20T15:53:30.270Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-04-20T15:53:31.701Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-04-20T15:53:32.296Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-04-20T15:53:32.572Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-04-20T15:53:33.551Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-04-20T15:53:34.976Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-04-20T15:53:35.569Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-04-20T15:53:36.159Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-04-20T15:53:36.431Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-04-20T15:53:37.025Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-04-20T15:53:37.025Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-04-20T15:53:37.296Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-04-20T15:53:39.910Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-04-20T15:53:40.183Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-04-20T15:53:40.777Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-04-20T15:53:41.051Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-04-20T15:53:41.648Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-04-20T15:53:44.481Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-04-20T15:53:44.481Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-04-20T15:53:44.762Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-04-20T15:53:45.391Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-04-20T15:53:45.999Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-04-20T15:53:45.999Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-04-20T15:53:46.982Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-04-20T15:53:47.254Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-04-20T15:53:47.848Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-04-20T15:53:48.120Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-04-20T15:53:50.101Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-04-20T15:53:50.382Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-04-20T15:53:51.360Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-04-20T15:53:51.360Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-04-20T15:53:55.673Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-04-20T15:53:55.945Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-04-20T15:53:56.541Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-04-20T15:53:56.814Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-04-20T15:53:57.409Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-04-20T15:53:58.840Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-04-20T15:54:00.803Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-04-20T15:54:04.178Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-04-20T15:54:04.178Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-04-20T15:54:04.450Z] [ 72%] Linking C shared library libcsdk.so [2021-04-20T15:54:04.723Z] [ 72%] Built target csdk [2021-04-20T15:54:04.723Z] Scanning dependencies of target template [2021-04-20T15:54:04.723Z] [ 74%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-04-20T15:54:05.316Z] [ 76%] Linking C executable template [2021-04-20T15:54:05.588Z] [ 76%] Built target template [2021-04-20T15:54:05.588Z] Scanning dependencies of target device-counter [2021-04-20T15:54:05.588Z] [ 77%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-04-20T15:54:06.197Z] [ 79%] Linking C executable device-counter [2021-04-20T15:54:06.472Z] [ 79%] Built target device-counter [2021-04-20T15:54:06.472Z] Scanning dependencies of target device-random [2021-04-20T15:54:06.472Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-04-20T15:54:06.750Z] [ 83%] Linking C executable device-random [2021-04-20T15:54:07.030Z] [ 83%] Built target device-random [2021-04-20T15:54:07.030Z] Scanning dependencies of target device-gyro [2021-04-20T15:54:07.030Z] [ 84%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-04-20T15:54:07.631Z] [ 86%] Linking C executable device-gyro [2021-04-20T15:54:07.631Z] [ 86%] Built target device-gyro [2021-04-20T15:54:07.631Z] Scanning dependencies of target device-bitfields [2021-04-20T15:54:07.631Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-04-20T15:54:08.226Z] [ 89%] Linking C executable device-bitfields [2021-04-20T15:54:08.226Z] [ 89%] Built target device-bitfields [2021-04-20T15:54:08.226Z] Scanning dependencies of target template-discovery [2021-04-20T15:54:08.496Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-04-20T15:54:09.092Z] [ 93%] Linking C executable template-discovery [2021-04-20T15:54:09.371Z] [ 93%] Built target template-discovery [2021-04-20T15:54:09.371Z] Scanning dependencies of target device-file [2021-04-20T15:54:09.371Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-04-20T15:54:09.961Z] [ 96%] Linking C executable device-file [2021-04-20T15:54:09.961Z] [ 96%] Built target device-file [2021-04-20T15:54:09.961Z] Scanning dependencies of target device-terminal [2021-04-20T15:54:10.234Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-04-20T15:54:10.506Z] [100%] Linking C executable device-terminal [2021-04-20T15:54:10.776Z] [100%] Built target device-terminal [2021-04-20T15:54:10.776Z] + make package [2021-04-20T15:54:10.776Z] + tee -a release.log [2021-04-20T15:54:11.050Z] [ 72%] Built target csdk [2021-04-20T15:54:11.050Z] [ 76%] Built target template [2021-04-20T15:54:11.050Z] [ 79%] Built target device-counter [2021-04-20T15:54:11.050Z] [ 83%] Built target device-random [2021-04-20T15:54:11.050Z] [ 86%] Built target device-gyro [2021-04-20T15:54:11.322Z] [ 89%] Built target device-bitfields [2021-04-20T15:54:11.322Z] [ 93%] Built target template-discovery [2021-04-20T15:54:11.322Z] [ 96%] Built target device-file [2021-04-20T15:54:11.322Z] [100%] Built target device-terminal [2021-04-20T15:54:11.322Z] Run CPack packaging tool... [2021-04-20T15:54:11.322Z] CPack: Create package using TGZ [2021-04-20T15:54:11.322Z] CPack: Install projects [2021-04-20T15:54:11.322Z] CPack: - Run preinstall target for: Csdk [2021-04-20T15:54:11.920Z] CPack: - Install project: Csdk [2021-04-20T15:54:11.920Z] CPack: Create package [2021-04-20T15:54:12.191Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-04-20T15:54:12.191Z] + '[' false '=' true ] [2021-04-20T15:54:12.191Z] + '[' false '=' true ] [2021-04-20T15:54:12.191Z] + mkdir -p /tmp/sdk/build/debug [2021-04-20T15:54:12.191Z] + cd /tmp/sdk/build/debug [2021-04-20T15:54:12.191Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-04-20T15:54:12.464Z] -- The C compiler identification is GNU 8.3.0 [2021-04-20T15:54:12.464Z] -- Check for working C compiler: /usr/bin/cc [2021-04-20T15:54:12.741Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-04-20T15:54:12.741Z] -- Detecting C compiler ABI info [2021-04-20T15:54:13.013Z] -- Detecting C compiler ABI info - done [2021-04-20T15:54:13.013Z] -- Detecting C compile features [2021-04-20T15:54:13.608Z] -- Detecting C compile features - done [2021-04-20T15:54:13.608Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-04-20T15:54:13.608Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-04-20T15:54:13.608Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-04-20T15:54:13.608Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-04-20T15:54:13.608Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-04-20T15:54:13.608Z] -- C SDK 0.0.0 for Linux [2021-04-20T15:54:13.608Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-04-20T15:54:13.880Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-04-20T15:54:13.880Z] -- Found Curses: /usr/lib/libcurses.so [2021-04-20T15:54:14.153Z] -- Configuring done [2021-04-20T15:54:14.425Z] -- Generating done [2021-04-20T15:54:14.425Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-04-20T15:54:14.425Z] + make [2021-04-20T15:54:14.425Z] + tee debug.log [2021-04-20T15:54:14.425Z] Scanning dependencies of target csdk [2021-04-20T15:54:14.697Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-04-20T15:54:14.968Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-04-20T15:54:15.239Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-04-20T15:54:15.834Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-04-20T15:54:16.107Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-04-20T15:54:16.107Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-04-20T15:54:16.702Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-04-20T15:54:16.977Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-04-20T15:54:17.251Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-04-20T15:54:17.846Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-04-20T15:54:17.846Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-04-20T15:54:18.120Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-04-20T15:54:18.391Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-04-20T15:54:18.664Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-04-20T15:54:19.255Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-04-20T15:54:19.529Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-04-20T15:54:19.529Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-04-20T15:54:19.802Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-04-20T15:54:20.074Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-04-20T15:54:21.049Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-04-20T15:54:21.049Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-04-20T15:54:21.323Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-04-20T15:54:21.597Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-04-20T15:54:21.869Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-04-20T15:54:21.869Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-04-20T15:54:22.147Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-04-20T15:54:22.419Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-04-20T15:54:22.690Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-04-20T15:54:22.964Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-04-20T15:54:23.236Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-04-20T15:54:23.506Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-04-20T15:54:23.779Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-04-20T15:54:24.068Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-04-20T15:54:25.035Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-04-20T15:54:25.035Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-04-20T15:54:25.322Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-04-20T15:54:25.595Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-04-20T15:54:25.867Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-04-20T15:54:26.850Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-04-20T15:54:27.446Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-04-20T15:54:28.037Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-04-20T15:54:28.307Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-04-20T15:54:28.579Z] [ 72%] Linking C shared library libcsdk.so [2021-04-20T15:54:28.579Z] [ 72%] Built target csdk [2021-04-20T15:54:28.579Z] Scanning dependencies of target template [2021-04-20T15:54:28.850Z] [ 74%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-04-20T15:54:29.121Z] [ 76%] Linking C executable template [2021-04-20T15:54:29.121Z] [ 76%] Built target template [2021-04-20T15:54:29.121Z] Scanning dependencies of target device-counter [2021-04-20T15:54:29.394Z] [ 77%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-04-20T15:54:29.394Z] [ 79%] Linking C executable device-counter [2021-04-20T15:54:29.666Z] [ 79%] Built target device-counter [2021-04-20T15:54:29.666Z] Scanning dependencies of target device-random [2021-04-20T15:54:29.666Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-04-20T15:54:29.938Z] [ 83%] Linking C executable device-random [2021-04-20T15:54:30.211Z] [ 83%] Built target device-random [2021-04-20T15:54:30.211Z] Scanning dependencies of target device-gyro [2021-04-20T15:54:30.211Z] [ 84%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-04-20T15:54:30.483Z] [ 86%] Linking C executable device-gyro [2021-04-20T15:54:30.756Z] [ 86%] Built target device-gyro [2021-04-20T15:54:30.756Z] Scanning dependencies of target device-bitfields [2021-04-20T15:54:30.756Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-04-20T15:54:31.030Z] [ 89%] Linking C executable device-bitfields [2021-04-20T15:54:31.309Z] [ 89%] Built target device-bitfields [2021-04-20T15:54:31.309Z] Scanning dependencies of target template-discovery [2021-04-20T15:54:31.309Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-04-20T15:54:31.582Z] [ 93%] Linking C executable template-discovery [2021-04-20T15:54:31.857Z] [ 93%] Built target template-discovery [2021-04-20T15:54:31.857Z] Scanning dependencies of target device-file [2021-04-20T15:54:31.857Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-04-20T15:54:32.130Z] [ 96%] Linking C executable device-file [2021-04-20T15:54:32.403Z] [ 96%] Built target device-file [2021-04-20T15:54:32.403Z] Scanning dependencies of target device-terminal [2021-04-20T15:54:32.403Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-04-20T15:54:32.677Z] [100%] Linking C executable device-terminal [2021-04-20T15:54:32.952Z] [100%] Built target device-terminal [2021-04-20T15:54:32.952Z] make: Entering directory '/tmp/sdk/build/release' [2021-04-20T15:54:32.952Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-04-20T15:54:32.952Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T15:54:32.952Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T15:54:33.225Z] [ 72%] Built target csdk [2021-04-20T15:54:33.225Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T15:54:33.225Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T15:54:33.225Z] [ 76%] Built target template [2021-04-20T15:54:33.225Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T15:54:33.225Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T15:54:33.225Z] [ 79%] Built target device-counter [2021-04-20T15:54:33.225Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T15:54:33.225Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T15:54:33.225Z] [ 83%] Built target device-random [2021-04-20T15:54:33.225Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T15:54:33.225Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T15:54:33.225Z] [ 86%] Built target device-gyro [2021-04-20T15:54:33.225Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T15:54:33.225Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T15:54:33.225Z] [ 89%] Built target device-bitfields [2021-04-20T15:54:33.225Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T15:54:33.225Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T15:54:33.498Z] [ 93%] Built target template-discovery [2021-04-20T15:54:33.498Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T15:54:33.498Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T15:54:33.498Z] [ 96%] Built target device-file [2021-04-20T15:54:33.498Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T15:54:33.498Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T15:54:33.498Z] [100%] Built target device-terminal [2021-04-20T15:54:33.498Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T15:54:33.498Z] Install the project... [2021-04-20T15:54:33.498Z] -- Install configuration: "Release" [2021-04-20T15:54:33.498Z] -- Installing: /usr/local/lib/libcsdk.so [2021-04-20T15:54:33.498Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-04-20T15:54:33.498Z] -- Up-to-date: /usr/local/include [2021-04-20T15:54:33.498Z] -- Installing: /usr/local/include/edgex [2021-04-20T15:54:33.498Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-04-20T15:54:33.498Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-04-20T15:54:33.498Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-04-20T15:54:33.498Z] -- Installing: /usr/local/include/edgex/devices.h [2021-04-20T15:54:33.498Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-04-20T15:54:33.498Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-04-20T15:54:33.498Z] -- Installing: /usr/local/include/devsdk [2021-04-20T15:54:33.498Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-04-20T15:54:33.498Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-04-20T15:54:33.498Z] -- Installing: /usr/local/include/iot [2021-04-20T15:54:33.498Z] -- Installing: /usr/local/include/iot/json.h [2021-04-20T15:54:33.498Z] -- Installing: /usr/local/include/iot/container.h [2021-04-20T15:54:33.498Z] -- Installing: /usr/local/include/iot/component.h [2021-04-20T15:54:33.498Z] -- Installing: /usr/local/include/iot/typecode.h [2021-04-20T15:54:33.498Z] -- Installing: /usr/local/include/iot/iot.h [2021-04-20T15:54:33.498Z] -- Installing: /usr/local/include/iot/time.h [2021-04-20T15:54:33.498Z] -- Installing: /usr/local/include/iot/hash.h [2021-04-20T15:54:33.498Z] -- Installing: /usr/local/include/iot/logger.h [2021-04-20T15:54:33.498Z] -- Installing: /usr/local/include/iot/os [2021-04-20T15:54:33.498Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-04-20T15:54:33.498Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-04-20T15:54:33.498Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-04-20T15:54:33.498Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-04-20T15:54:33.498Z] -- Installing: /usr/local/include/iot/data.h [2021-04-20T15:54:33.498Z] -- Installing: /usr/local/include/iot/thread.h [2021-04-20T15:54:33.498Z] -- Installing: /usr/local/include/iot/os.h [2021-04-20T15:54:33.498Z] -- Installing: /usr/local/include/iot/base64.h [2021-04-20T15:54:33.498Z] -- Installing: /usr/local/include/iot/defs.h [2021-04-20T15:54:33.498Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-04-20T15:54:33.498Z] -- Installing: /usr/local/include/iot/config.h [2021-04-20T15:54:33.498Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-04-20T15:54:33.498Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-04-20T15:54:33.498Z] make: Leaving directory '/tmp/sdk/build/release' [2021-04-20T15:54:36.117Z] Removing intermediate container 4cf9caaad92e [2021-04-20T15:54:36.117Z] ---> 6e40c886b1dd [2021-04-20T15:54:36.117Z] Step 14/21 : FROM ${BASE} [2021-04-20T15:54:36.117Z] ---> b23d30803547 [2021-04-20T15:54:36.117Z] Step 15/21 : LABEL maintainer="IOTech " [2021-04-20T15:54:36.117Z] ---> Running in d1a24ca221a9 [2021-04-20T15:54:36.390Z] Removing intermediate container d1a24ca221a9 [2021-04-20T15:54:36.390Z] ---> 5c8708f2c30c [2021-04-20T15:54:36.390Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2021-04-20T15:54:36.390Z] ---> Running in a23fe2bad0e4 [2021-04-20T15:54:37.821Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-04-20T15:54:38.412Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-04-20T15:54:39.391Z] (1/3) Installing curl (7.64.0-r5) [2021-04-20T15:54:39.391Z] (2/3) Installing libuuid (2.33-r0) [2021-04-20T15:54:39.665Z] (3/3) Installing wget (1.20.3-r0) [2021-04-20T15:54:39.665Z] Executing busybox-1.29.3-r10.trigger [2021-04-20T15:54:39.665Z] OK: 281 MiB in 78 packages [2021-04-20T15:54:40.643Z] Removing intermediate container a23fe2bad0e4 [2021-04-20T15:54:40.643Z] ---> 94a9a44659da [2021-04-20T15:54:40.643Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-04-20T15:54:41.636Z] ---> bd8c74d51dcb [2021-04-20T15:54:41.636Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-04-20T15:54:42.230Z] ---> 98dfff3cb148 [2021-04-20T15:54:42.230Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-04-20T15:54:42.828Z] ---> a510bc6344df [2021-04-20T15:54:42.828Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-04-20T15:54:43.433Z] ---> 193ca2366ab2 [2021-04-20T15:54:43.433Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-04-20T15:54:44.413Z] ---> 848f648d59d7 [2021-04-20T15:54:44.413Z] Successfully built 848f648d59d7 [2021-04-20T15:54:44.413Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-20T15:54:45.040Z] + docker inspect -f . ci-base-image-arm64 [2021-04-20T15:54:45.041Z] . [Pipeline] withDockerContainer [2021-04-20T15:54:45.320Z] prd-ubuntu18.04-docker-arm64-4c-16g-1186 does not seem to be running inside a container [2021-04-20T15:54:45.392Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-20T15:54:46.828Z] $ docker top 19e994f3a49d09fec4f9f35b7d5c60fb4327a49d1ff1ba13182b62576a71e206 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-20T15:54:47.788Z] + make test [2021-04-20T15:54:47.788Z] echo "make test" [2021-04-20T15:54:47.788Z] make test [Pipeline] } [2021-04-20T15:54:47.823Z] $ docker stop --time=1 19e994f3a49d09fec4f9f35b7d5c60fb4327a49d1ff1ba13182b62576a71e206 [2021-04-20T15:54:49.752Z] $ docker rm -f 19e994f3a49d09fec4f9f35b7d5c60fb4327a49d1ff1ba13182b62576a71e206 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-20T15:54:50.740Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-20T15:54:51.096Z] + ls -al . [2021-04-20T15:54:51.096Z] total 192 [2021-04-20T15:54:51.096Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 15:52 . [2021-04-20T15:54:51.096Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 15:52 .. [2021-04-20T15:54:51.096Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 15:52 .git [2021-04-20T15:54:51.096Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 15:52 .github [2021-04-20T15:54:51.096Z] -rw-rw-r-- 1 jenkins jenkins 176 Apr 20 15:52 .gitignore [2021-04-20T15:54:51.096Z] -rw-rw-r-- 1 jenkins jenkins 3104 Apr 20 15:52 Attribution.txt [2021-04-20T15:54:51.096Z] -rw-rw-r-- 1 jenkins jenkins 6927 Apr 20 15:52 CHANGES [2021-04-20T15:54:51.096Z] -rw-rw-r-- 1 jenkins jenkins 108574 Apr 20 15:52 Doxyfile [2021-04-20T15:54:51.096Z] -rw-rw-r-- 1 jenkins jenkins 784 Apr 20 15:52 Jenkinsfile [2021-04-20T15:54:51.096Z] -rw-rw-r-- 1 jenkins jenkins 10174 Apr 20 15:52 LICENSE [2021-04-20T15:54:51.096Z] -rw-rw-r-- 1 jenkins jenkins 444 Apr 20 15:52 Makefile [2021-04-20T15:54:51.096Z] -rw-rw-r-- 1 jenkins jenkins 4008 Apr 20 15:52 README.md [2021-04-20T15:54:51.096Z] -rw-rw-r-- 1 jenkins jenkins 6654 Apr 20 15:52 README.v2.md [2021-04-20T15:54:51.096Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 20 15:50 VERSION [2021-04-20T15:54:51.096Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 15:52 docs [2021-04-20T15:54:51.096Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 15:52 include [2021-04-20T15:54:51.096Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 15:52 scripts [2021-04-20T15:54:51.096Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 15:52 src [Pipeline] isUnix [Pipeline] sh [2021-04-20T15:54:51.487Z] + docker build -t docker-device-sdk-c-arm64 -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=a33edd551577c13a6caebfff0db5daf2417b1afa --label arch=arm64 --label version=0.0.0 . [2021-04-20T15:54:51.761Z] Sending build context to Docker daemon 2.406MB [2021-04-20T15:54:51.761Z] Step 1/15 : ARG BASE=alpine:3.12 [2021-04-20T15:54:51.761Z] Step 2/15 : FROM ${BASE} [2021-04-20T15:54:51.761Z] ---> 848f648d59d7 [2021-04-20T15:54:51.761Z] Step 3/15 : LABEL maintainer="IOTech " [2021-04-20T15:54:52.041Z] ---> Running in c57d452be3b7 [2021-04-20T15:54:52.641Z] Removing intermediate container c57d452be3b7 [2021-04-20T15:54:52.641Z] ---> 65d179faf8ef [2021-04-20T15:54:52.641Z] Step 4/15 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev && mkdir -p /edgex-c-sdk/build [2021-04-20T15:54:52.641Z] ---> Running in bbceea0a17ff [2021-04-20T15:54:54.089Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-04-20T15:54:54.683Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-04-20T15:54:54.955Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-04-20T15:54:55.229Z] (2/6) Installing libblkid (2.33-r0) [2021-04-20T15:54:55.229Z] (3/6) Installing libfdisk (2.33-r0) [2021-04-20T15:54:55.229Z] (4/6) Installing libmount (2.33-r0) [2021-04-20T15:54:55.513Z] (5/6) Installing libsmartcols (2.33-r0) [2021-04-20T15:54:55.513Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-04-20T15:54:55.787Z] Executing busybox-1.29.3-r10.trigger [2021-04-20T15:54:56.065Z] OK: 286 MiB in 84 packages [2021-04-20T15:54:57.504Z] Removing intermediate container bbceea0a17ff [2021-04-20T15:54:57.504Z] ---> afbcc8cdae43 [2021-04-20T15:54:57.504Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2021-04-20T15:54:57.779Z] ---> c3576dcee0ce [2021-04-20T15:54:57.779Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2021-04-20T15:54:58.760Z] ---> 018010b97e74 [2021-04-20T15:54:58.760Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2021-04-20T15:54:59.355Z] ---> 55b859ca07e5 [2021-04-20T15:54:59.355Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2021-04-20T15:55:00.335Z] ---> 084d2f780dbc [2021-04-20T15:55:00.335Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2021-04-20T15:55:00.929Z] ---> 8c4bba8d85bc [2021-04-20T15:55:00.929Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2021-04-20T15:55:01.528Z] ---> c63e107fc56e [2021-04-20T15:55:01.528Z] Step 11/15 : WORKDIR /edgex-c-sdk [2021-04-20T15:55:01.803Z] ---> Running in e872b03bdc88 [2021-04-20T15:55:02.406Z] Removing intermediate container e872b03bdc88 [2021-04-20T15:55:02.406Z] ---> 3c7cd72f6c93 [2021-04-20T15:55:02.406Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-04-20T15:55:02.406Z] ---> Running in a3033f849505 [2021-04-20T15:55:03.003Z] Removing intermediate container a3033f849505 [2021-04-20T15:55:03.003Z] ---> 7c2c0b8231fe [2021-04-20T15:55:03.003Z] Step 13/15 : LABEL arch=arm64 [2021-04-20T15:55:03.003Z] ---> Running in 549e1e97a059 [2021-04-20T15:55:03.606Z] Removing intermediate container 549e1e97a059 [2021-04-20T15:55:03.607Z] ---> ee69eabd14d4 [2021-04-20T15:55:03.607Z] Step 14/15 : LABEL git_sha=a33edd551577c13a6caebfff0db5daf2417b1afa [2021-04-20T15:55:03.607Z] ---> Running in 74fb9db41454 [2021-04-20T15:55:04.199Z] Removing intermediate container 74fb9db41454 [2021-04-20T15:55:04.199Z] ---> bedd55819de9 [2021-04-20T15:55:04.199Z] Step 15/15 : LABEL version=0.0.0 [2021-04-20T15:55:04.199Z] ---> Running in 97fb85523906 [2021-04-20T15:55:04.475Z] Removing intermediate container 97fb85523906 [2021-04-20T15:55:04.475Z] ---> 55d27dc32bc2 [2021-04-20T15:55:04.475Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-20T15:55:04.745Z] Successfully built 55d27dc32bc2 [2021-04-20T15:55:04.745Z] Successfully tagged docker-device-sdk-c-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [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] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-04-20T15:55:06.514Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-20T15:55:07.156Z] ---> package-listing.sh [2021-04-20T15:55:07.156Z] ++ facter osfamily [2021-04-20T15:55:07.156Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-20T15:55:07.156Z] + OS_FAMILY=redhat [2021-04-20T15:55:07.156Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-342 [2021-04-20T15:55:07.156Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-20T15:55:07.156Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-20T15:55:07.156Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-20T15:55:07.156Z] + PACKAGES=/tmp/packages_start.txt [2021-04-20T15:55:07.156Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-342 ']' [2021-04-20T15:55:07.156Z] + PACKAGES=/tmp/packages_end.txt [2021-04-20T15:55:07.156Z] + case "${OS_FAMILY}" in [2021-04-20T15:55:07.156Z] + rpm -qa [2021-04-20T15:55:07.156Z] + sort [2021-04-20T15:55:12.495Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-20T15:55:12.495Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-20T15:55:12.495Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-20T15:55:12.495Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-342 ']' [2021-04-20T15:55:12.495Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-342/archives/ [2021-04-20T15:55:12.495Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-342/archives/ [Pipeline] echo [2021-04-20T15:55:12.529Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-342/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-20T15:55:12.915Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-20T15:55:13.618Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-20T15:55:13.618Z] [2021-04-20T15:55:13.618Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-20T15:55:13.996Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-20T15:55:13.996Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-20T15:55:13.996Z] df20fa9351a1: Pulling fs layer [2021-04-20T15:55:13.996Z] 36b3adc4ff6f: Pulling fs layer [2021-04-20T15:55:13.996Z] 8ad3a11d3b57: Pulling fs layer [2021-04-20T15:55:13.996Z] 46f8f816bc3b: Pulling fs layer [2021-04-20T15:55:13.996Z] 93b61091891f: Pulling fs layer [2021-04-20T15:55:13.996Z] 93b9cdb0e59b: Pulling fs layer [2021-04-20T15:55:13.996Z] 5e14af77c1be: Pulling fs layer [2021-04-20T15:55:13.996Z] 01666e4c0597: Pulling fs layer [2021-04-20T15:55:13.996Z] aa168da1d23b: Pulling fs layer [2021-04-20T15:55:13.996Z] 93b9cdb0e59b: Waiting [2021-04-20T15:55:13.996Z] 5e14af77c1be: Waiting [2021-04-20T15:55:13.996Z] 01666e4c0597: Waiting [2021-04-20T15:55:13.996Z] 46f8f816bc3b: Waiting [2021-04-20T15:55:13.996Z] aa168da1d23b: Waiting [2021-04-20T15:55:13.996Z] 93b61091891f: Waiting [2021-04-20T15:55:13.996Z] 36b3adc4ff6f: Verifying Checksum [2021-04-20T15:55:13.996Z] 36b3adc4ff6f: Download complete [2021-04-20T15:55:13.996Z] 46f8f816bc3b: Verifying Checksum [2021-04-20T15:55:13.996Z] 46f8f816bc3b: Download complete [2021-04-20T15:55:14.262Z] df20fa9351a1: Download complete [2021-04-20T15:55:14.263Z] 93b9cdb0e59b: Verifying Checksum [2021-04-20T15:55:14.263Z] 93b9cdb0e59b: Download complete [2021-04-20T15:55:14.263Z] 5e14af77c1be: Verifying Checksum [2021-04-20T15:55:14.263Z] 5e14af77c1be: Download complete [2021-04-20T15:55:14.263Z] 93b61091891f: Verifying Checksum [2021-04-20T15:55:14.263Z] 93b61091891f: Download complete [2021-04-20T15:55:14.263Z] 01666e4c0597: Verifying Checksum [2021-04-20T15:55:14.263Z] 01666e4c0597: Download complete [2021-04-20T15:55:14.263Z] 8ad3a11d3b57: Verifying Checksum [2021-04-20T15:55:14.263Z] 8ad3a11d3b57: Download complete [2021-04-20T15:55:14.839Z] df20fa9351a1: Pull complete [2021-04-20T15:55:15.108Z] 36b3adc4ff6f: Pull complete [2021-04-20T15:55:16.089Z] 8ad3a11d3b57: Pull complete [2021-04-20T15:55:16.356Z] 46f8f816bc3b: Pull complete [2021-04-20T15:55:16.356Z] aa168da1d23b: Verifying Checksum [2021-04-20T15:55:16.356Z] aa168da1d23b: Download complete [2021-04-20T15:55:16.940Z] 93b61091891f: Pull complete [2021-04-20T15:55:16.940Z] 93b9cdb0e59b: Pull complete [2021-04-20T15:55:16.940Z] 5e14af77c1be: Pull complete [2021-04-20T15:55:17.206Z] 01666e4c0597: Pull complete [2021-04-20T15:55:25.434Z] aa168da1d23b: Pull complete [2021-04-20T15:55:25.434Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-20T15:55:25.434Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-20T15:55:25.434Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-20T15:55:25.596Z] prd-centos7-docker-4c-2g-1185 does not seem to be running inside a container [2021-04-20T15:55:25.641Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-342/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-342 -v /w/workspace/edgexfoundry_device-sdk-c_PR-342:/w/workspace/edgexfoundry_device-sdk-c_PR-342:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-342@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-342@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-20T15:55:29.332Z] $ docker top c97cf438e3e5d17a7b6c4482619dd74e20d72ce4f653fe6db525197d86d8e390 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-20T15:55:29.826Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-20T15:55:30.141Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-20T15:55:30.458Z] + ls /var/log/sa-host [2021-04-20T15:55:30.458Z] + sadf -c /var/log/sa-host/sa20 [2021-04-20T15:55:30.458Z] file_magic: OK [2021-04-20T15:55:30.458Z] HZ: Using current value: 100 [2021-04-20T15:55:30.458Z] file_header: OK [2021-04-20T15:55:30.458Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-04-20T15:55:30.458Z] Statistics: [2021-04-20T15:55:30.458Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-20T15:55:30.458Z] File successfully converted to sysstat format version 12.2.1 [2021-04-20T15:55:30.458Z] + sadf -c /var/log/sa-host/sa23 [2021-04-20T15:55:30.458Z] file_magic: OK [2021-04-20T15:55:30.458Z] HZ: Using current value: 100 [2021-04-20T15:55:30.458Z] file_header: OK [2021-04-20T15:55:30.458Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-04-20T15:55:30.458Z] Statistics: [2021-04-20T15:55:30.458Z] Hnuu...uuuununununu... [2021-04-20T15:55:30.458Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-20T15:55:30.685Z] provisioning config files... [2021-04-20T15:55:30.701Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-342@tmp/config8484333692791520488tmp [Pipeline] { [Pipeline] echo [2021-04-20T15:55:30.755Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-20T15:55:31.092Z] ---> create-netrc.sh [Pipeline] } [2021-04-20T15:55:31.115Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-20T15:55:31.187Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-20T15:55:31.539Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-20T15:55:31.597Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-20T15:55:31.934Z] ---> sudo-logs.sh [2021-04-20T15:55:31.934Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-20T15:55:32.031Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-20T15:55:32.366Z] ---> job-cost.sh [2021-04-20T15:55:32.366Z] lf-activate-venv: SKIPPING [2021-04-20T15:55:32.366Z] INFO: No Stack... [2021-04-20T15:55:34.292Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-20T15:55:34.868Z] INFO: Archiving Costs [Pipeline] echo [2021-04-20T15:55:34.910Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-20T15:55:35.257Z] ---> logs-deploy.sh [2021-04-20T15:55:35.257Z] lf-activate-venv: SKIPPING [2021-04-20T15:55:35.257Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-342/1 [2021-04-20T15:55:35.257Z] INFO: archiving workspace using pattern(s): [2021-04-20T15:55:37.204Z] Archives upload complete. [2021-04-20T15:55:37.470Z] INFO: archiving logs to Nexus