Pull request #243 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 b874de37f685f80811dda6a872c318d6d9f491d1+c1ea9bfeded379c73428d9973495d98d857df97f (e922fd507cf625de751d50054746abe9616680ea) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision b810438aec07f555226556e3b59abf2bab733840 using credential edgex-jenkins-access-pat Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository https://github.com/edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-243/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/tags/stable:refs/tags/stable # timeout=10 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision b810438aec07f555226556e3b59abf2bab733840 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b810438aec07f555226556e3b59abf2bab733840 # timeout=10 Commit message: "Merge pull request #114 from lranjbar/release-kraken" > 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 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-3.9-base, dockerFilePath:scripts/Dockerfile.alpine-3.9, 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-3.9 DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-3.9-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 [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-879 in /w/workspace/edgexfoundry_device-sdk-c_PR-243 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-243 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/243/head:refs/remotes/origin/PR-243 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit c1ea9bfeded379c73428d9973495d98d857df97f into PR head commit b874de37f685f80811dda6a872c318d6d9f491d1 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/243/head:refs/remotes/origin/PR-243 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # 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 --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/243/head:refs/remotes/origin/PR-243 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merge succeeded, producing b874de37f685f80811dda6a872c318d6d9f491d1 Checking out Revision b874de37f685f80811dda6a872c318d6d9f491d1 (PR-243) > git config core.sparsecheckout # timeout=10 > git checkout -f b874de37f685f80811dda6a872c318d6d9f491d1 # 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 c1ea9bfeded379c73428d9973495d98d857df97f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b874de37f685f80811dda6a872c318d6d9f491d1 # timeout=10 Commit message: "Add type information to Readings when sending to core-data (#241)" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object b810438aec07f555226556e3b59abf2bab733840 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-03-17T11:34:59.557Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-03-17T11:35:02.843Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-17T11:35:03.121Z] [2020-03-17T11:35:03.121Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-03-17T11:35:03.672Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-17T11:35:04.015Z] latest: Pulling from edgex-devops/git-semver [2020-03-17T11:35:04.015Z] 9123ac7c32f7: Pulling fs layer [2020-03-17T11:35:04.015Z] b8cc5d1170e3: Pulling fs layer [2020-03-17T11:35:04.015Z] 2924cbbf6a41: Pulling fs layer [2020-03-17T11:35:04.015Z] 93b08a4f1073: Pulling fs layer [2020-03-17T11:35:04.015Z] 93b08a4f1073: Waiting [2020-03-17T11:35:04.015Z] b8cc5d1170e3: Verifying Checksum [2020-03-17T11:35:04.015Z] b8cc5d1170e3: Download complete [2020-03-17T11:35:04.288Z] 93b08a4f1073: Verifying Checksum [2020-03-17T11:35:04.289Z] 93b08a4f1073: Download complete [2020-03-17T11:35:04.289Z] 9123ac7c32f7: Download complete [2020-03-17T11:35:04.563Z] 2924cbbf6a41: Verifying Checksum [2020-03-17T11:35:04.563Z] 2924cbbf6a41: Download complete [2020-03-17T11:35:04.824Z] 9123ac7c32f7: Pull complete [2020-03-17T11:35:04.824Z] b8cc5d1170e3: Pull complete [2020-03-17T11:35:06.259Z] 2924cbbf6a41: Pull complete [2020-03-17T11:35:06.259Z] 93b08a4f1073: Pull complete [2020-03-17T11:35:06.259Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-03-17T11:35:06.259Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-03-17T11:35:06.492Z] prd-centos7-docker-4c-2g-879 does not seem to be running inside a container [2020-03-17T11:35:06.634Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-243 -v /w/workspace/edgexfoundry_device-sdk-c_PR-243:/w/workspace/edgexfoundry_device-sdk-c_PR-243:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-243@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-243@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-03-17T11:35:07.791Z] $ docker top 2b6435630e0f849e8201275988c6fc3afa86a61e8f03c793268a5a00fc9b67f2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-17T11:35:08.415Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-17T11:35:08.415Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-17T11:35:09.426Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-17T11:35:09.435Z] $ docker exec 2b6435630e0f849e8201275988c6fc3afa86a61e8f03c793268a5a00fc9b67f2 ssh-agent [2020-03-17T11:35:10.212Z] SSH_AUTH_SOCK=/tmp/ssh-PBvCWWmBCOwF/agent.14 [2020-03-17T11:35:10.212Z] SSH_AGENT_PID=21 [2020-03-17T11:35:10.227Z] Running ssh-add (command line suppressed) [2020-03-17T11:35:10.912Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-243@tmp/private_key_6252954999172597311.key (/w/workspace/edgexfoundry_device-sdk-c_PR-243@tmp/private_key_6252954999172597311.key) [2020-03-17T11:35:11.033Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-17T11:35:11.780Z] + git describe --exact-match --tags HEAD [2020-03-17T11:35:11.780Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-03-17T11:35:12.077Z] $ docker exec --env ******** --env ******** 2b6435630e0f849e8201275988c6fc3afa86a61e8f03c793268a5a00fc9b67f2 ssh-agent -k [2020-03-17T11:35:12.420Z] unset SSH_AUTH_SOCK; [2020-03-17T11:35:12.420Z] unset SSH_AGENT_PID; [2020-03-17T11:35:12.421Z] echo Agent pid 21 killed; [2020-03-17T11:35:12.495Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-03-17T11:35:12.632Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-03-17T11:35:12.632Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-03-17T11:35:12.728Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-17T11:35:12.728Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-17T11:35:13.206Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-17T11:35:13.214Z] $ docker exec 2b6435630e0f849e8201275988c6fc3afa86a61e8f03c793268a5a00fc9b67f2 ssh-agent [2020-03-17T11:35:14.112Z] SSH_AUTH_SOCK=/tmp/ssh-nQkcWIKRdodl/agent.55 [2020-03-17T11:35:14.112Z] SSH_AGENT_PID=61 [2020-03-17T11:35:14.165Z] Running ssh-add (command line suppressed) [2020-03-17T11:35:15.161Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-243@tmp/private_key_1248459298621391947.key (/w/workspace/edgexfoundry_device-sdk-c_PR-243@tmp/private_key_1248459298621391947.key) [2020-03-17T11:35:15.403Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-17T11:35:15.842Z] + git semver init [2020-03-17T11:35:15.842Z] # -> Open(): unable to determine branch for HEAD [2020-03-17T11:35:15.842Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-243/.git [2020-03-17T11:35:15.842Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-243 [2020-03-17T11:35:15.842Z] # $SEMVER_REMOTE_NAME = origin [2020-03-17T11:35:15.842Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-17T11:35:15.842Z] # $SEMVER_USER_NAME = jenkins [2020-03-17T11:35:15.842Z] # $SEMVER_BRANCH = PR-243 [2020-03-17T11:35:15.842Z] # $SEMVER_TEMP = /tmp/semver-176717049 [2020-03-17T11:35:15.842Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2020-03-17T11:35:17.187Z] # '/tmp/semver-176717049' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-243/.semver' [2020-03-17T11:35:17.187Z] # -> Force: false [2020-03-17T11:35:17.187Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-243/.semver [Pipeline] } [2020-03-17T11:35:17.211Z] $ docker exec --env ******** --env ******** 2b6435630e0f849e8201275988c6fc3afa86a61e8f03c793268a5a00fc9b67f2 ssh-agent -k [2020-03-17T11:35:17.536Z] unset SSH_AUTH_SOCK; [2020-03-17T11:35:17.537Z] unset SSH_AGENT_PID; [2020-03-17T11:35:17.538Z] echo Agent pid 61 killed; [2020-03-17T11:35:17.751Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-17T11:35:18.758Z] + git semver [Pipeline] } [2020-03-17T11:35:18.871Z] $ docker stop --time=1 2b6435630e0f849e8201275988c6fc3afa86a61e8f03c793268a5a00fc9b67f2 [2020-03-17T11:35:20.700Z] $ docker rm -f 2b6435630e0f849e8201275988c6fc3afa86a61e8f03c793268a5a00fc9b67f2 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-03-17T11:35:22.689Z] Stashed 34 file(s) [Pipeline] echo [2020-03-17T11:35:22.703Z] [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 [2020-03-17T11:35:38.158Z] Still waiting to schedule task [2020-03-17T11:35:38.158Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-879’ [2020-03-17T11:35:38.183Z] Still waiting to schedule task [2020-03-17T11:35:38.183Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-03-17T11:37:21.256Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-880 in /w/workspace/edgexfoundry_device-sdk-c_PR-243 [Pipeline] { [Pipeline] ws [2020-03-17T11:37:21.321Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2020-03-17T11:37:27.093Z] using credential edgex-jenkins-ssh [2020-03-17T11:37:27.155Z] Cloning the remote Git repository [2020-03-17T11:37:27.155Z] Cloning with configured refspecs honoured and without tags [2020-03-17T11:37:27.222Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-03-17T11:37:27.314Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2020-03-17T11:37:27.456Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-03-17T11:37:27.459Z] > git --version # timeout=10 [2020-03-17T11:37:27.502Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-17T11:37:27.575Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/243/head:refs/remotes/origin/PR-243 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-17T11:37:28.810Z] Fetching without tags [2020-03-17T11:37:28.652Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-03-17T11:37:28.696Z] > git config --add remote.origin.fetch +refs/pull/243/head:refs/remotes/origin/PR-243 # timeout=10 [2020-03-17T11:37:28.715Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-17T11:37:28.750Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-03-17T11:37:28.814Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-03-17T11:37:28.814Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-17T11:37:28.828Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/243/head:refs/remotes/origin/PR-243 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-17T11:37:29.360Z] Merging remotes/origin/master commit c1ea9bfeded379c73428d9973495d98d857df97f into PR head commit b874de37f685f80811dda6a872c318d6d9f491d1 [2020-03-17T11:37:29.716Z] Merge succeeded, producing b874de37f685f80811dda6a872c318d6d9f491d1 [2020-03-17T11:37:29.717Z] Checking out Revision b874de37f685f80811dda6a872c318d6d9f491d1 (PR-243) [2020-03-17T11:37:29.384Z] > git config core.sparsecheckout # timeout=10 [2020-03-17T11:37:29.417Z] > git checkout -f b874de37f685f80811dda6a872c318d6d9f491d1 # timeout=10 [2020-03-17T11:37:29.551Z] > git remote # timeout=10 [2020-03-17T11:37:29.570Z] > git config --get remote.origin.url # timeout=10 [2020-03-17T11:37:29.589Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-17T11:37:29.608Z] > git merge c1ea9bfeded379c73428d9973495d98d857df97f # timeout=10 [2020-03-17T11:37:29.655Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-17T11:37:29.722Z] > git config core.sparsecheckout # timeout=10 [2020-03-17T11:37:29.772Z] > git checkout -f b874de37f685f80811dda6a872c318d6d9f491d1 # timeout=10 [2020-03-17T11:37:34.353Z] Commit message: "Add type information to Readings when sending to core-data (#241)" [2020-03-17T11:37:34.404Z] > git --version # timeout=10 [2020-03-17T11:37:34.435Z] fatal: bad object b810438aec07f555226556e3b59abf2bab733840 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-17T11:37:35.975Z] ========================================================= [2020-03-17T11:37:35.975Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2020-03-17T11:37:35.975Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-17T11:37:37.142Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-3.9-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2020-03-17T11:37:38.109Z] Sending build context to Docker daemon 2.903MB [2020-03-17T11:37:38.109Z] Step 1/21 : ARG BASE=alpine:3.9 [2020-03-17T11:37:38.109Z] Step 2/21 : FROM ${BASE} as builder [2020-03-17T11:37:38.377Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2020-03-17T11:37:38.377Z] 0362ad1dd800: Pulling fs layer [2020-03-17T11:37:38.377Z] f2cdb1532d8b: Pulling fs layer [2020-03-17T11:37:38.377Z] 37ed683be191: Pulling fs layer [2020-03-17T11:37:38.647Z] f2cdb1532d8b: Download complete [2020-03-17T11:37:38.919Z] 0362ad1dd800: Verifying Checksum [2020-03-17T11:37:38.919Z] 0362ad1dd800: Download complete [2020-03-17T11:37:39.526Z] 0362ad1dd800: Pull complete [2020-03-17T11:37:39.794Z] f2cdb1532d8b: Pull complete [2020-03-17T11:37:46.454Z] 37ed683be191: Verifying Checksum [2020-03-17T11:37:46.454Z] 37ed683be191: Download complete [2020-03-17T11:37:48.690Z] Running on prd-centos7-docker-4c-2g-881 in /w/workspace/edgexfoundry_device-sdk-c_PR-243 [Pipeline] { [Pipeline] ws [2020-03-17T11:37:48.787Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2020-03-17T11:37:51.271Z] using credential edgex-jenkins-ssh [2020-03-17T11:37:51.316Z] Cloning the remote Git repository [2020-03-17T11:37:51.316Z] Cloning with configured refspecs honoured and without tags [2020-03-17T11:37:52.130Z] Fetching without tags [2020-03-17T11:37:50.640Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-03-17T11:37:50.682Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2020-03-17T11:37:50.731Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-03-17T11:37:50.731Z] > git --version # timeout=10 [2020-03-17T11:37:50.738Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-17T11:37:50.770Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/243/head:refs/remotes/origin/PR-243 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-17T11:37:51.454Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-03-17T11:37:51.461Z] > git config --add remote.origin.fetch +refs/pull/243/head:refs/remotes/origin/PR-243 # timeout=10 [2020-03-17T11:37:51.469Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-17T11:37:51.482Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-03-17T11:37:51.496Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-03-17T11:37:51.497Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-17T11:37:51.501Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/243/head:refs/remotes/origin/PR-243 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-17T11:37:52.547Z] Merging remotes/origin/master commit c1ea9bfeded379c73428d9973495d98d857df97f into PR head commit b874de37f685f80811dda6a872c318d6d9f491d1 [2020-03-17T11:37:52.642Z] Merge succeeded, producing b874de37f685f80811dda6a872c318d6d9f491d1 [2020-03-17T11:37:52.642Z] Checking out Revision b874de37f685f80811dda6a872c318d6d9f491d1 (PR-243) [2020-03-17T11:37:51.952Z] > git config core.sparsecheckout # timeout=10 [2020-03-17T11:37:51.959Z] > git checkout -f b874de37f685f80811dda6a872c318d6d9f491d1 # timeout=10 [2020-03-17T11:37:52.007Z] > git remote # timeout=10 [2020-03-17T11:37:52.014Z] > git config --get remote.origin.url # timeout=10 [2020-03-17T11:37:52.023Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-17T11:37:52.027Z] > git merge c1ea9bfeded379c73428d9973495d98d857df97f # timeout=10 [2020-03-17T11:37:52.036Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-17T11:37:52.049Z] > git config core.sparsecheckout # timeout=10 [2020-03-17T11:37:52.055Z] > git checkout -f b874de37f685f80811dda6a872c318d6d9f491d1 # timeout=10 [2020-03-17T11:37:56.203Z] Commit message: "Add type information to Readings when sending to core-data (#241)" [2020-03-17T11:37:55.929Z] > git --version # timeout=10 [2020-03-17T11:37:55.940Z] fatal: bad object b810438aec07f555226556e3b59abf2bab733840 [2020-03-17T11:37:56.610Z] 37ed683be191: Pull complete [2020-03-17T11:37:56.610Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2020-03-17T11:37:56.610Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2020-03-17T11:37:56.610Z] ---> b23d30803547 [2020-03-17T11:37:56.610Z] 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 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-17T11:37:57.524Z] ========================================================= [2020-03-17T11:37:57.524Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2020-03-17T11:37:57.524Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-17T11:37:58.232Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-3.9-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2020-03-17T11:37:58.495Z] Sending build context to Docker daemon 2.903MB [2020-03-17T11:37:58.495Z] Step 1/21 : ARG BASE=alpine:3.9 [2020-03-17T11:37:58.495Z] Step 2/21 : FROM ${BASE} as builder [2020-03-17T11:37:58.556Z] ---> Running in 6928ee40e07f [2020-03-17T11:37:58.761Z] latest: Pulling from edgex-devops/edgex-gcc-base [2020-03-17T11:37:58.761Z] e7c96db7181b: Pulling fs layer [2020-03-17T11:37:58.761Z] 4c13bbce0fe7: Pulling fs layer [2020-03-17T11:37:58.761Z] 6059c847ac2f: Pulling fs layer [2020-03-17T11:37:58.761Z] 4c13bbce0fe7: Download complete [2020-03-17T11:37:58.761Z] e7c96db7181b: Verifying Checksum [2020-03-17T11:37:58.761Z] e7c96db7181b: Download complete [2020-03-17T11:37:59.030Z] e7c96db7181b: Pull complete [2020-03-17T11:37:59.030Z] 4c13bbce0fe7: Pull complete [2020-03-17T11:37:59.521Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-03-17T11:37:59.971Z] 6059c847ac2f: Download complete [2020-03-17T11:38:00.482Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-03-17T11:38:00.482Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-03-17T11:38:00.750Z] (2/8) Installing libuuid (2.33-r0) [2020-03-17T11:38:00.750Z] (3/8) Installing libblkid (2.33-r0) [2020-03-17T11:38:00.750Z] (4/8) Installing libfdisk (2.33-r0) [2020-03-17T11:38:01.018Z] (5/8) Installing libmount (2.33-r0) [2020-03-17T11:38:01.284Z] (6/8) Installing libsmartcols (2.33-r0) [2020-03-17T11:38:01.284Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-03-17T11:38:01.554Z] (8/8) Installing wget (1.20.3-r0) [2020-03-17T11:38:01.554Z] Executing busybox-1.29.3-r10.trigger [2020-03-17T11:38:01.823Z] OK: 285 MiB in 83 packages [2020-03-17T11:38:03.237Z] Removing intermediate container 6928ee40e07f [2020-03-17T11:38:03.237Z] ---> f713442ba307 [2020-03-17T11:38:03.237Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-03-17T11:38:03.510Z] ---> Running in b49bfd59716b [2020-03-17T11:38:03.789Z] Removing intermediate container b49bfd59716b [2020-03-17T11:38:03.789Z] ---> 604014e9fd2e [2020-03-17T11:38:03.789Z] 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 [2020-03-17T11:38:03.789Z] ---> Running in 22b468c74640 [2020-03-17T11:38:04.176Z] 6059c847ac2f: Pull complete [2020-03-17T11:38:04.177Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2020-03-17T11:38:04.177Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2020-03-17T11:38:04.177Z] ---> 5eabd8fd8ba2 [2020-03-17T11:38:04.177Z] 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 [2020-03-17T11:38:04.436Z] ---> Running in d9b1d56403fc [2020-03-17T11:38:04.757Z] --2020-03-17 11:38:04-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-03-17T11:38:04.757Z] Resolving github.com... 192.30.253.112 [2020-03-17T11:38:04.757Z] Connecting to github.com|192.30.253.112|:443... connected. [2020-03-17T11:38:05.005Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-03-17T11:38:05.025Z] HTTP request sent, awaiting response... 302 Found [2020-03-17T11:38:05.025Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-03-17T11:38:05.025Z] --2020-03-17 11:38:04-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-03-17T11:38:05.025Z] Resolving codeload.github.com... 140.82.113.10 [2020-03-17T11:38:05.025Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2020-03-17T11:38:05.295Z] HTTP request sent, awaiting response... 200 OK [2020-03-17T11:38:05.295Z] Length: unspecified [application/x-gzip] [2020-03-17T11:38:05.295Z] Saving to: 'STDOUT' [2020-03-17T11:38:05.295Z]  [2020-03-17T11:38:05.295Z] 0K .......... .......... .......... .......... .......... 1.60M [2020-03-17T11:38:05.295Z] 50K .......... .......... .......... .......... .......... 3.38M [2020-03-17T11:38:05.295Z] 100K .......... .......... .......... .......... .......... 9.92M [2020-03-17T11:38:05.295Z] 150K .......... .......... .......... .......... .......... 14.4M [2020-03-17T11:38:05.295Z] 200K .......... .......... .......... .......... .......... 4.70M [2020-03-17T11:38:05.295Z] 250K .......... .......... .......... .......... .......... 4.07M [2020-03-17T11:38:05.295Z] 300K .......... .......... .......... .......... .......... 5.73M [2020-03-17T11:38:05.295Z] 350K .......... .......... .......... .......... .......... 5.96M [2020-03-17T11:38:05.295Z] 400K .......... .......... .......... .......... .......... 3.86M [2020-03-17T11:38:05.295Z] 450K .......... .......... .......... .......... .......... 3.69M [2020-03-17T11:38:05.295Z] 500K .......... .......... .......... .......... .......... 6.09M [2020-03-17T11:38:05.295Z] 550K .......... .......... .......... .......... .......... 3.77M [2020-03-17T11:38:05.295Z] 600K .......... .......... .......... .......... .......... 809K [2020-03-17T11:38:05.564Z] 650K .......... .......... .......... .......... .......... 2.15M [2020-03-17T11:38:05.565Z] 700K ..   10.8M=0.2s [2020-03-17T11:38:05.565Z] [2020-03-17T11:38:05.565Z] 2020-03-17 11:38:05 (3.06 MB/s) - written to stdout [719348] [2020-03-17T11:38:05.565Z] [2020-03-17T11:38:05.574Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-03-17T11:38:05.832Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-03-17T11:38:05.832Z] (2/8) Installing libuuid (2.33-r0) [2020-03-17T11:38:05.832Z] (3/8) Installing libblkid (2.33-r0) [2020-03-17T11:38:05.836Z] -- The C compiler identification is GNU 8.3.0 [2020-03-17T11:38:06.091Z] (4/8) Installing libfdisk (2.33-r0) [2020-03-17T11:38:06.091Z] (5/8) Installing libmount (2.33-r0) [2020-03-17T11:38:06.091Z] (6/8) Installing libsmartcols (2.33-r0) [2020-03-17T11:38:06.104Z] -- The CXX compiler identification is GNU 8.3.0 [2020-03-17T11:38:06.104Z] -- Check for working C compiler: /usr/bin/cc [2020-03-17T11:38:06.351Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-03-17T11:38:06.373Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-03-17T11:38:06.373Z] -- Detecting C compiler ABI info [2020-03-17T11:38:06.373Z] -- Detecting C compiler ABI info - done [2020-03-17T11:38:06.611Z] (8/8) Installing wget (1.20.3-r0) [2020-03-17T11:38:06.611Z] Executing busybox-1.29.3-r10.trigger [2020-03-17T11:38:06.611Z] OK: 272 MiB in 83 packages [2020-03-17T11:38:06.642Z] -- Detecting C compile features [2020-03-17T11:38:07.178Z] Removing intermediate container d9b1d56403fc [2020-03-17T11:38:07.178Z] ---> 64de6ae3776a [2020-03-17T11:38:07.178Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-03-17T11:38:07.178Z] ---> Running in f551e4114abc [2020-03-17T11:38:07.178Z] Removing intermediate container f551e4114abc [2020-03-17T11:38:07.178Z] ---> 9eab45283b2a [2020-03-17T11:38:07.178Z] 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 [2020-03-17T11:38:07.178Z] ---> Running in 8ae38a3ad885 [2020-03-17T11:38:07.232Z] -- Detecting C compile features - done [2020-03-17T11:38:07.232Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-03-17T11:38:07.503Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-03-17T11:38:07.503Z] -- Detecting CXX compiler ABI info [2020-03-17T11:38:07.745Z] --2020-03-17 11:38:07-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-03-17T11:38:07.745Z] Resolving github.com... 140.82.114.4 [2020-03-17T11:38:07.745Z] Connecting to github.com|140.82.114.4|:443... connected. [2020-03-17T11:38:07.745Z] HTTP request sent, awaiting response... 302 Found [2020-03-17T11:38:07.745Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-03-17T11:38:07.745Z] --2020-03-17 11:38:07-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-03-17T11:38:07.745Z] Resolving codeload.github.com... 140.82.112.10 [2020-03-17T11:38:07.745Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2020-03-17T11:38:07.773Z] -- Detecting CXX compiler ABI info - done [2020-03-17T11:38:07.773Z] -- Detecting CXX compile features [2020-03-17T11:38:08.009Z] HTTP request sent, awaiting response... 200 OK [2020-03-17T11:38:08.009Z] Length: unspecified [application/x-gzip] [2020-03-17T11:38:08.009Z] Saving to: 'STDOUT' [2020-03-17T11:38:08.009Z]  [2020-03-17T11:38:08.009Z] 0K .......... .......... .......... .......... .......... 1.53M [2020-03-17T11:38:08.009Z] 50K .......... .......... .......... .......... .......... 3.17M [2020-03-17T11:38:08.009Z] 100K .......... .......... .......... .......... .......... 28.3M [2020-03-17T11:38:08.009Z] 150K .......... .......... .......... .......... .......... 1.54M [2020-03-17T11:38:08.009Z] 200K .......... .......... .......... .......... .......... 44.6M [2020-03-17T11:38:08.009Z] 250K .......... .......... .......... .......... .......... 4.91M [2020-03-17T11:38:08.009Z] 300K .......... .......... .......... .......... .......... 8.18M [2020-03-17T11:38:08.009Z] 350K .......... .......... .......... .......... .......... 7.63M [2020-03-17T11:38:08.009Z] 400K .......... .......... .......... .......... .......... 6.67M [2020-03-17T11:38:08.009Z] 450K .......... .......... .......... .......... .......... 18.4M [2020-03-17T11:38:08.009Z] 500K .......... .......... .......... .......... .......... 11.0M [2020-03-17T11:38:08.009Z] 550K .......... .......... .......... .......... .......... 7.74M [2020-03-17T11:38:08.009Z] 600K .......... .......... .......... .......... .......... 3.66M [2020-03-17T11:38:08.009Z] 650K .......... .......... .......... .......... .......... 4.42M [2020-03-17T11:38:08.009Z] 700K .. 4746G=0.1s [2020-03-17T11:38:08.009Z] [2020-03-17T11:38:08.009Z] 2020-03-17 11:38:07 (4.60 MB/s) - written to stdout [719348] [2020-03-17T11:38:08.009Z] [2020-03-17T11:38:08.272Z] -- The C compiler identification is GNU 8.3.0 [2020-03-17T11:38:08.272Z] -- The CXX compiler identification is GNU 8.3.0 [2020-03-17T11:38:08.272Z] -- Check for working C compiler: /usr/bin/cc [2020-03-17T11:38:08.272Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-03-17T11:38:08.272Z] -- Detecting C compiler ABI info [2020-03-17T11:38:08.532Z] -- Detecting C compiler ABI info - done [2020-03-17T11:38:08.532Z] -- Detecting C compile features [2020-03-17T11:38:08.792Z] -- Detecting C compile features - done [2020-03-17T11:38:08.792Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-03-17T11:38:08.792Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-03-17T11:38:08.792Z] -- Detecting CXX compiler ABI info [2020-03-17T11:38:08.792Z] -- Detecting CXX compiler ABI info - done [2020-03-17T11:38:08.792Z] -- Detecting CXX compile features [2020-03-17T11:38:09.191Z] -- Detecting CXX compile features - done [2020-03-17T11:38:09.360Z] -- Detecting CXX compile features - done [2020-03-17T11:38:09.360Z] -- Looking for include file endian.h [2020-03-17T11:38:09.360Z] -- Looking for include file endian.h - found [2020-03-17T11:38:09.360Z] -- Check if the system is big endian [2020-03-17T11:38:09.360Z] -- Searching 16 bit integer [2020-03-17T11:38:09.360Z] -- Looking for sys/types.h [2020-03-17T11:38:09.360Z] -- Looking for sys/types.h - found [2020-03-17T11:38:09.360Z] -- Looking for stdint.h [2020-03-17T11:38:09.465Z] -- Looking for include file endian.h [2020-03-17T11:38:09.465Z] -- Looking for include file endian.h - found [2020-03-17T11:38:09.465Z] -- Check if the system is big endian [2020-03-17T11:38:09.465Z] -- Searching 16 bit integer [2020-03-17T11:38:09.465Z] -- Looking for sys/types.h [2020-03-17T11:38:09.619Z] -- Looking for stdint.h - found [2020-03-17T11:38:09.619Z] -- Looking for stddef.h [2020-03-17T11:38:09.619Z] -- Looking for stddef.h - found [2020-03-17T11:38:09.619Z] -- Check size of unsigned short [2020-03-17T11:38:09.619Z] -- Check size of unsigned short - done [2020-03-17T11:38:09.619Z] -- Using unsigned short [2020-03-17T11:38:09.748Z] -- Looking for sys/types.h - found [2020-03-17T11:38:09.748Z] -- Looking for stdint.h [2020-03-17T11:38:09.880Z] -- Check if the system is big endian - little endian [2020-03-17T11:38:09.880Z] -- Check size of size_t [2020-03-17T11:38:09.880Z] -- Check size of size_t - done [2020-03-17T11:38:09.880Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-03-17T11:38:09.880Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-03-17T11:38:09.880Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-03-17T11:38:09.880Z] CMake did not find one. [2020-03-17T11:38:09.880Z] [2020-03-17T11:38:09.880Z] Could not find a package configuration file provided by "cJSON" with any of [2020-03-17T11:38:09.880Z] the following names: [2020-03-17T11:38:09.880Z] [2020-03-17T11:38:09.880Z] cJSONConfig.cmake [2020-03-17T11:38:09.880Z] cjson-config.cmake [2020-03-17T11:38:09.880Z] [2020-03-17T11:38:09.880Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-03-17T11:38:09.880Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-03-17T11:38:09.880Z] provides a separate development package or SDK, be sure it has been [2020-03-17T11:38:09.880Z] installed. [2020-03-17T11:38:09.880Z] [2020-03-17T11:38:09.880Z] [2020-03-17T11:38:09.880Z] -- Configuring done [2020-03-17T11:38:09.880Z] -- Generating done [2020-03-17T11:38:09.880Z] -- Build files have been written to: /tmp/cbor [2020-03-17T11:38:10.017Z] -- Looking for stdint.h - found [2020-03-17T11:38:10.017Z] -- Looking for stddef.h [2020-03-17T11:38:10.142Z] Scanning dependencies of target cbor_shared [2020-03-17T11:38:10.143Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-03-17T11:38:10.143Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-03-17T11:38:10.292Z] -- Looking for stddef.h - found [2020-03-17T11:38:10.292Z] -- Check size of unsigned short [2020-03-17T11:38:10.402Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-03-17T11:38:10.402Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-03-17T11:38:10.560Z] -- Check size of unsigned short - done [2020-03-17T11:38:10.560Z] -- Using unsigned short [2020-03-17T11:38:10.661Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-03-17T11:38:10.661Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-03-17T11:38:10.661Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-03-17T11:38:10.831Z] -- Check if the system is big endian - little endian [2020-03-17T11:38:10.831Z] -- Check size of size_t [2020-03-17T11:38:10.921Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-03-17T11:38:10.921Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-03-17T11:38:10.921Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-03-17T11:38:11.099Z] -- Check size of size_t - done [2020-03-17T11:38:11.099Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-03-17T11:38:11.099Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-03-17T11:38:11.099Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-03-17T11:38:11.099Z] CMake did not find one. [2020-03-17T11:38:11.099Z] [2020-03-17T11:38:11.099Z] Could not find a package configuration file provided by "cJSON" with any of [2020-03-17T11:38:11.099Z] the following names: [2020-03-17T11:38:11.099Z] [2020-03-17T11:38:11.099Z] cJSONConfig.cmake [2020-03-17T11:38:11.099Z] cjson-config.cmake [2020-03-17T11:38:11.099Z] [2020-03-17T11:38:11.099Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-03-17T11:38:11.099Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-03-17T11:38:11.099Z] provides a separate development package or SDK, be sure it has been [2020-03-17T11:38:11.099Z] installed. [2020-03-17T11:38:11.099Z] [2020-03-17T11:38:11.099Z] [2020-03-17T11:38:11.099Z] -- Configuring done [2020-03-17T11:38:11.181Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-03-17T11:38:11.181Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-03-17T11:38:11.181Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-03-17T11:38:11.368Z] -- Generating done [2020-03-17T11:38:11.368Z] -- Build files have been written to: /tmp/cbor [2020-03-17T11:38:11.368Z] Scanning dependencies of target cbor_shared [2020-03-17T11:38:11.443Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-03-17T11:38:11.443Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-03-17T11:38:11.443Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-03-17T11:38:11.635Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-03-17T11:38:11.704Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-03-17T11:38:11.704Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-03-17T11:38:11.704Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-03-17T11:38:11.704Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-03-17T11:38:11.964Z] [ 40%] Linking C shared library libcbor.so [2020-03-17T11:38:11.964Z] [ 40%] Built target cbor_shared [2020-03-17T11:38:11.964Z] Scanning dependencies of target cbor [2020-03-17T11:38:11.964Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-03-17T11:38:12.220Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-03-17T11:38:12.224Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-03-17T11:38:12.224Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-03-17T11:38:12.488Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-03-17T11:38:12.749Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-03-17T11:38:12.749Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-03-17T11:38:12.749Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-03-17T11:38:12.749Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-03-17T11:38:12.806Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-03-17T11:38:13.009Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-03-17T11:38:13.009Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-03-17T11:38:13.076Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-03-17T11:38:13.269Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-03-17T11:38:13.269Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-03-17T11:38:13.269Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-03-17T11:38:13.530Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-03-17T11:38:13.530Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-03-17T11:38:13.530Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-03-17T11:38:13.662Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-03-17T11:38:13.790Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-03-17T11:38:13.790Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-03-17T11:38:13.790Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-03-17T11:38:13.790Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-03-17T11:38:13.939Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-03-17T11:38:14.051Z] [ 80%] Linking C static library libcbor.a [2020-03-17T11:38:14.051Z] [ 80%] Built target cbor [2020-03-17T11:38:14.051Z] Scanning dependencies of target create_items [2020-03-17T11:38:14.051Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-03-17T11:38:14.051Z] [ 84%] Linking C executable create_items [2020-03-17T11:38:14.051Z] [ 84%] Built target create_items [2020-03-17T11:38:14.051Z] Scanning dependencies of target readfile [2020-03-17T11:38:14.051Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-03-17T11:38:14.051Z] [ 88%] Linking C executable readfile [2020-03-17T11:38:14.209Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-03-17T11:38:14.209Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-03-17T11:38:14.313Z] [ 88%] Built target readfile [2020-03-17T11:38:14.313Z] Scanning dependencies of target streaming_parser [2020-03-17T11:38:14.313Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-03-17T11:38:14.313Z] [ 92%] Linking C executable streaming_parser [2020-03-17T11:38:14.313Z] [ 92%] Built target streaming_parser [2020-03-17T11:38:14.313Z] Scanning dependencies of target sort [2020-03-17T11:38:14.313Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-03-17T11:38:14.313Z] [ 96%] Linking C executable sort [2020-03-17T11:38:14.313Z] [ 96%] Built target sort [2020-03-17T11:38:14.313Z] Scanning dependencies of target hello [2020-03-17T11:38:14.313Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-03-17T11:38:14.476Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-03-17T11:38:14.573Z] [100%] Linking C executable hello [2020-03-17T11:38:14.573Z] [100%] Built target hello [2020-03-17T11:38:14.573Z] Install the project... [2020-03-17T11:38:14.573Z] -- Install configuration: "Release" [2020-03-17T11:38:14.573Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-03-17T11:38:14.573Z] -- Installing: /usr/local/lib64/libcbor.a [2020-03-17T11:38:14.573Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-03-17T11:38:14.573Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-03-17T11:38:14.573Z] -- Installing: /usr/local/lib64/libcbor.so [2020-03-17T11:38:14.573Z] -- Up-to-date: /usr/local/include/cbor [2020-03-17T11:38:14.573Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-03-17T11:38:14.573Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-03-17T11:38:14.573Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-03-17T11:38:14.573Z] -- Installing: /usr/local/include/cbor/common.h [2020-03-17T11:38:14.573Z] -- Installing: /usr/local/include/cbor/data.h [2020-03-17T11:38:14.573Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-03-17T11:38:14.573Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-03-17T11:38:14.573Z] -- Installing: /usr/local/include/cbor/internal [2020-03-17T11:38:14.573Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-03-17T11:38:14.573Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-03-17T11:38:14.573Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-03-17T11:38:14.573Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-03-17T11:38:14.573Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-03-17T11:38:14.573Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-03-17T11:38:14.573Z] -- Installing: /usr/local/include/cbor/ints.h [2020-03-17T11:38:14.573Z] -- Installing: /usr/local/include/cbor/maps.h [2020-03-17T11:38:14.573Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-03-17T11:38:14.573Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-03-17T11:38:14.573Z] -- Installing: /usr/local/include/cbor/strings.h [2020-03-17T11:38:14.573Z] -- Installing: /usr/local/include/cbor/tags.h [2020-03-17T11:38:14.573Z] -- Installing: /usr/local/include/cbor.h [2020-03-17T11:38:14.573Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-03-17T11:38:14.743Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-03-17T11:38:15.147Z] Removing intermediate container 8ae38a3ad885 [2020-03-17T11:38:15.147Z] ---> 4fb6bbc88166 [2020-03-17T11:38:15.147Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-03-17T11:38:15.147Z] ---> Running in e477a91ba617 [2020-03-17T11:38:15.329Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-03-17T11:38:15.598Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-03-17T11:38:15.867Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-03-17T11:38:16.454Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-03-17T11:38:16.528Z] Removing intermediate container e477a91ba617 [2020-03-17T11:38:16.528Z] ---> 8b542177bdb7 [2020-03-17T11:38:16.528Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-03-17T11:38:16.528Z] ---> 84b59a5cb3fa [2020-03-17T11:38:16.528Z] Step 8/21 : COPY src /tmp/sdk/src [2020-03-17T11:38:16.721Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-03-17T11:38:16.721Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-03-17T11:38:16.987Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-03-17T11:38:17.097Z] ---> fa88bb2f81e5 [2020-03-17T11:38:17.097Z] Step 9/21 : COPY include /tmp/sdk/include [2020-03-17T11:38:17.097Z] ---> d3a71fe232d8 [2020-03-17T11:38:17.097Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-03-17T11:38:17.255Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-03-17T11:38:17.356Z] ---> 50973dbac26a [2020-03-17T11:38:17.356Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-03-17T11:38:17.356Z] ---> 285c499ddabb [2020-03-17T11:38:17.356Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-03-17T11:38:17.524Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-03-17T11:38:17.616Z] ---> 36b0a4989f86 [2020-03-17T11:38:17.616Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-03-17T11:38:17.616Z] ---> Running in b44dc6794662 [2020-03-17T11:38:17.791Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-03-17T11:38:17.881Z] + CPPCHECK=false [2020-03-17T11:38:17.881Z] + DOCGEN=false [2020-03-17T11:38:17.881Z] + TOMLVER=SDK-0.2 [2020-03-17T11:38:17.881Z] + CUTILVER=1.0.0 [2020-03-17T11:38:17.881Z] + '[' 0 -gt 0 ] [2020-03-17T11:38:17.881Z] + readlink -f ./scripts/build.sh [2020-03-17T11:38:17.881Z] + dirname /tmp/sdk/scripts/build.sh [2020-03-17T11:38:17.881Z] + dirname /tmp/sdk/scripts [2020-03-17T11:38:17.881Z] + ROOT=/tmp/sdk [2020-03-17T11:38:17.881Z] + cd /tmp/sdk [2020-03-17T11:38:17.881Z] + '[' '!' -d deps ] [2020-03-17T11:38:17.881Z] + mkdir deps [2020-03-17T11:38:17.881Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-03-17T11:38:18.060Z] [ 40%] Linking C shared library libcbor.so [2020-03-17T11:38:18.060Z] [ 40%] Built target cbor_shared [2020-03-17T11:38:18.060Z] Scanning dependencies of target cbor [2020-03-17T11:38:18.140Z] + tar -C deps -z -x -f - [2020-03-17T11:38:18.140Z] --2020-03-17 11:38:17-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-03-17T11:38:18.140Z] Resolving github.com... 140.82.114.4 [2020-03-17T11:38:18.140Z] Connecting to github.com|140.82.114.4|:443... connected. [2020-03-17T11:38:18.140Z] HTTP request sent, awaiting response... 302 Found [2020-03-17T11:38:18.140Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-03-17T11:38:18.140Z] --2020-03-17 11:38:18-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-03-17T11:38:18.140Z] Resolving codeload.github.com... 140.82.112.10 [2020-03-17T11:38:18.140Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2020-03-17T11:38:18.327Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-03-17T11:38:18.403Z] HTTP request sent, awaiting response... 200 OK [2020-03-17T11:38:18.403Z] Length: unspecified [application/x-gzip] [2020-03-17T11:38:18.403Z] Saving to: 'STDOUT' [2020-03-17T11:38:18.403Z]  [2020-03-17T11:38:18.403Z] 0K .......... ......  1.11M=0.01s [2020-03-17T11:38:18.403Z] [2020-03-17T11:38:18.403Z] 2020-03-17 11:38:18 (1.11 MB/s) - written to stdout [16451] [2020-03-17T11:38:18.403Z] [2020-03-17T11:38:18.403Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-03-17T11:38:18.403Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.0.tar.gz [2020-03-17T11:38:18.403Z] + tar -C deps -z -x -f - [2020-03-17T11:38:18.403Z] --2020-03-17 11:38:18-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.0.tar.gz [2020-03-17T11:38:18.403Z] Resolving github.com... 140.82.114.4 [2020-03-17T11:38:18.403Z] Connecting to github.com|140.82.114.4|:443... connected. [2020-03-17T11:38:18.665Z] HTTP request sent, awaiting response... 302 Found [2020-03-17T11:38:18.665Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.0 [following] [2020-03-17T11:38:18.665Z] --2020-03-17 11:38:18-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.0 [2020-03-17T11:38:18.665Z] Resolving codeload.github.com... 140.82.112.10 [2020-03-17T11:38:18.665Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2020-03-17T11:38:18.665Z] HTTP request sent, awaiting response... 200 OK [2020-03-17T11:38:18.665Z] Length: unspecified [application/x-gzip] [2020-03-17T11:38:18.665Z] Saving to: 'STDOUT' [2020-03-17T11:38:18.665Z] [2020-03-17T11:38:18.665Z] 0K .......... .......... .......... .......... .......... 1.35M [2020-03-17T11:38:18.910Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-03-17T11:38:18.924Z] 50K .......... .......... .......... .......... .......... 2.44M [2020-03-17T11:38:18.924Z] 100K .......... .......... .......... .......... ........ 21.5M=0.06s [2020-03-17T11:38:18.924Z] [2020-03-17T11:38:18.924Z] 2020-03-17 11:38:18 (2.48 MB/s) - written to stdout [151809] [2020-03-17T11:38:18.924Z] [2020-03-17T11:38:18.924Z] + mkdir -p src/c/iot [2020-03-17T11:38:18.924Z] + cp deps/iotech-c-utils-1.0.0/src/c/base64.c deps/iotech-c-utils-1.0.0/src/c/component.c deps/iotech-c-utils-1.0.0/src/c/container.c deps/iotech-c-utils-1.0.0/src/c/data.c deps/iotech-c-utils-1.0.0/src/c/hash.c deps/iotech-c-utils-1.0.0/src/c/iot.c deps/iotech-c-utils-1.0.0/src/c/json.c deps/iotech-c-utils-1.0.0/src/c/logger.c deps/iotech-c-utils-1.0.0/src/c/os.c deps/iotech-c-utils-1.0.0/src/c/scheduler.c deps/iotech-c-utils-1.0.0/src/c/thread.c deps/iotech-c-utils-1.0.0/src/c/threadpool.c deps/iotech-c-utils-1.0.0/src/c/time.c src/c/iot [2020-03-17T11:38:18.924Z] + mkdir -p include/iot [2020-03-17T11:38:18.924Z] + cp deps/iotech-c-utils-1.0.0/include/iot/base64.h deps/iotech-c-utils-1.0.0/include/iot/component.h deps/iotech-c-utils-1.0.0/include/iot/container.h deps/iotech-c-utils-1.0.0/include/iot/data.h deps/iotech-c-utils-1.0.0/include/iot/hash.h deps/iotech-c-utils-1.0.0/include/iot/iot.h deps/iotech-c-utils-1.0.0/include/iot/json.h deps/iotech-c-utils-1.0.0/include/iot/logger.h deps/iotech-c-utils-1.0.0/include/iot/os.h deps/iotech-c-utils-1.0.0/include/iot/scheduler.h deps/iotech-c-utils-1.0.0/include/iot/thread.h deps/iotech-c-utils-1.0.0/include/iot/threadpool.h deps/iotech-c-utils-1.0.0/include/iot/time.h include/iot [2020-03-17T11:38:18.924Z] + mkdir -p include/iot/os [2020-03-17T11:38:18.924Z] + cp deps/iotech-c-utils-1.0.0/include/iot/os/linux.h deps/iotech-c-utils-1.0.0/include/iot/os/zephyr.h include/iot/os [2020-03-17T11:38:18.924Z] + mkdir -p /tmp/sdk/build/release [2020-03-17T11:38:18.924Z] + cd /tmp/sdk/build/release [2020-03-17T11:38:18.924Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-03-17T11:38:18.924Z] -- The C compiler identification is GNU 8.3.0 [2020-03-17T11:38:18.924Z] -- Check for working C compiler: /usr/bin/cc [2020-03-17T11:38:18.924Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-03-17T11:38:18.924Z] -- Detecting C compiler ABI info [2020-03-17T11:38:19.185Z] -- Detecting C compiler ABI info - done [2020-03-17T11:38:19.185Z] -- Detecting C compile features [2020-03-17T11:38:19.455Z] -- Detecting C compile features - done [2020-03-17T11:38:19.455Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-03-17T11:38:19.455Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-03-17T11:38:19.455Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-03-17T11:38:19.455Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-03-17T11:38:19.455Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-03-17T11:38:19.455Z] -- C SDK 0.0.0 for Linux [2020-03-17T11:38:19.455Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-03-17T11:38:19.455Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-03-17T11:38:19.455Z] -- Found Curses: /usr/lib/libcurses.so [2020-03-17T11:38:19.455Z] -- Configuring done [2020-03-17T11:38:19.455Z] -- Generating done [2020-03-17T11:38:19.455Z] -- Build files have been written to: /tmp/sdk/build/release [2020-03-17T11:38:19.455Z] + make [2020-03-17T11:38:19.455Z] + tee release.log [2020-03-17T11:38:19.496Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-03-17T11:38:19.717Z] Scanning dependencies of target csdk [2020-03-17T11:38:19.717Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-03-17T11:38:19.717Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-03-17T11:38:19.763Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-03-17T11:38:19.979Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-03-17T11:38:20.549Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-03-17T11:38:20.549Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-03-17T11:38:20.722Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-03-17T11:38:20.810Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-03-17T11:38:20.990Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-03-17T11:38:21.071Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-03-17T11:38:21.258Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-03-17T11:38:21.333Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-03-17T11:38:21.333Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-03-17T11:38:21.528Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-03-17T11:38:21.592Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-03-17T11:38:21.592Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-03-17T11:38:21.795Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-03-17T11:38:21.850Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-03-17T11:38:21.850Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-03-17T11:38:21.850Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-03-17T11:38:22.063Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-03-17T11:38:22.646Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-03-17T11:38:22.788Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-03-17T11:38:22.788Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-03-17T11:38:22.916Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-03-17T11:38:23.049Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-03-17T11:38:23.310Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-03-17T11:38:23.500Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-03-17T11:38:23.572Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-03-17T11:38:23.768Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-03-17T11:38:23.832Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-03-17T11:38:23.832Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-03-17T11:38:23.832Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-03-17T11:38:24.037Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-03-17T11:38:24.090Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-03-17T11:38:24.090Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-03-17T11:38:24.304Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-03-17T11:38:24.349Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-03-17T11:38:24.349Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-03-17T11:38:24.573Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-03-17T11:38:24.608Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-03-17T11:38:24.608Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-03-17T11:38:24.841Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-03-17T11:38:24.870Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-03-17T11:38:25.111Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-03-17T11:38:25.136Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-03-17T11:38:25.136Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-03-17T11:38:25.385Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-03-17T11:38:25.654Z] [ 80%] Linking C static library libcbor.a [2020-03-17T11:38:25.654Z] [ 80%] Built target cbor [2020-03-17T11:38:25.654Z] Scanning dependencies of target create_items [2020-03-17T11:38:25.654Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-03-17T11:38:25.922Z] [ 84%] Linking C executable create_items [2020-03-17T11:38:25.922Z] [ 84%] Built target create_items [2020-03-17T11:38:25.922Z] Scanning dependencies of target readfile [2020-03-17T11:38:25.922Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-03-17T11:38:26.072Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-03-17T11:38:26.190Z] [ 88%] Linking C executable readfile [2020-03-17T11:38:26.190Z] [ 88%] Built target readfile [2020-03-17T11:38:26.190Z] Scanning dependencies of target streaming_parser [2020-03-17T11:38:26.334Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-03-17T11:38:26.459Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-03-17T11:38:26.459Z] [ 92%] Linking C executable streaming_parser [2020-03-17T11:38:26.593Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-03-17T11:38:26.593Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-03-17T11:38:26.726Z] [ 92%] Built target streaming_parser [2020-03-17T11:38:26.726Z] Scanning dependencies of target sort [2020-03-17T11:38:26.726Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-03-17T11:38:26.852Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-03-17T11:38:26.994Z] [ 96%] Linking C executable sort [2020-03-17T11:38:26.994Z] [ 96%] Built target sort [2020-03-17T11:38:26.994Z] Scanning dependencies of target hello [2020-03-17T11:38:26.994Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-03-17T11:38:27.260Z] [100%] Linking C executable hello [2020-03-17T11:38:27.260Z] [100%] Built target hello [2020-03-17T11:38:27.260Z] Install the project... [2020-03-17T11:38:27.260Z] -- Install configuration: "Release" [2020-03-17T11:38:27.260Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-03-17T11:38:27.260Z] -- Installing: /usr/local/lib64/libcbor.a [2020-03-17T11:38:27.260Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-03-17T11:38:27.260Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-03-17T11:38:27.260Z] -- Installing: /usr/local/lib64/libcbor.so [2020-03-17T11:38:27.260Z] -- Up-to-date: /usr/local/include/cbor [2020-03-17T11:38:27.260Z] -- Installing: /usr/local/include/cbor/common.h [2020-03-17T11:38:27.260Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-03-17T11:38:27.260Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-03-17T11:38:27.260Z] -- Installing: /usr/local/include/cbor/maps.h [2020-03-17T11:38:27.260Z] -- Installing: /usr/local/include/cbor/strings.h [2020-03-17T11:38:27.260Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-03-17T11:38:27.260Z] -- Installing: /usr/local/include/cbor/internal [2020-03-17T11:38:27.260Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-03-17T11:38:27.260Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-03-17T11:38:27.260Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-03-17T11:38:27.260Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-03-17T11:38:27.260Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-03-17T11:38:27.260Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-03-17T11:38:27.260Z] -- Installing: /usr/local/include/cbor/data.h [2020-03-17T11:38:27.260Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-03-17T11:38:27.260Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-03-17T11:38:27.260Z] -- Installing: /usr/local/include/cbor/tags.h [2020-03-17T11:38:27.260Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-03-17T11:38:27.260Z] -- Installing: /usr/local/include/cbor/ints.h [2020-03-17T11:38:27.260Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-03-17T11:38:27.260Z] -- Installing: /usr/local/include/cbor.h [2020-03-17T11:38:27.260Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-03-17T11:38:27.420Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-03-17T11:38:28.355Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-03-17T11:38:28.355Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-03-17T11:38:28.613Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-03-17T11:38:28.873Z] [ 69%] Linking C shared library libcsdk.so [2020-03-17T11:38:28.873Z] [ 69%] Built target csdk [2020-03-17T11:38:28.873Z] Scanning dependencies of target template [2020-03-17T11:38:28.873Z] [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-03-17T11:38:29.132Z] [ 72%] Linking C executable template [2020-03-17T11:38:29.132Z] [ 72%] Built target template [2020-03-17T11:38:29.132Z] Scanning dependencies of target device-counter [2020-03-17T11:38:29.132Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-03-17T11:38:29.391Z] [ 76%] Linking C executable device-counter [2020-03-17T11:38:29.391Z] [ 76%] Built target device-counter [2020-03-17T11:38:29.391Z] Scanning dependencies of target device-random [2020-03-17T11:38:29.391Z] [ 77%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-03-17T11:38:29.391Z] [ 79%] Linking C executable device-random [2020-03-17T11:38:29.650Z] [ 79%] Built target device-random [2020-03-17T11:38:29.650Z] Scanning dependencies of target device-gyro [2020-03-17T11:38:29.650Z] [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-03-17T11:38:29.650Z] [ 83%] Linking C executable device-gyro [2020-03-17T11:38:29.650Z] [ 83%] Built target device-gyro [2020-03-17T11:38:29.650Z] Scanning dependencies of target template-discovery [2020-03-17T11:38:29.650Z] [ 84%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-03-17T11:38:29.859Z] Removing intermediate container 22b468c74640 [2020-03-17T11:38:29.859Z] ---> 31e4a2b9cbca [2020-03-17T11:38:29.859Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-03-17T11:38:29.859Z] ---> Running in cbba2fe4cbc5 [2020-03-17T11:38:29.915Z] [ 86%] Linking C executable template-discovery [2020-03-17T11:38:29.915Z] [ 86%] Built target template-discovery [2020-03-17T11:38:29.915Z] Scanning dependencies of target device-terminal [2020-03-17T11:38:29.915Z] [ 88%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-03-17T11:38:30.180Z] [ 89%] Linking C executable device-terminal [2020-03-17T11:38:30.180Z] [ 89%] Built target device-terminal [2020-03-17T11:38:30.180Z] Scanning dependencies of target template2 [2020-03-17T11:38:30.180Z] [ 91%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-03-17T11:38:30.439Z] [ 93%] Linking C executable template2 [2020-03-17T11:38:30.439Z] [ 93%] Built target template2 [2020-03-17T11:38:30.439Z] Scanning dependencies of target device-randomv2 [2020-03-17T11:38:30.439Z] [ 94%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-03-17T11:38:30.701Z] [ 96%] Linking C executable device-randomv2 [2020-03-17T11:38:30.701Z] [ 96%] Built target device-randomv2 [2020-03-17T11:38:30.701Z] Scanning dependencies of target device-counterv2 [2020-03-17T11:38:30.701Z] [ 98%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-03-17T11:38:30.701Z] [100%] Linking C executable device-counterv2 [2020-03-17T11:38:30.961Z] [100%] Built target device-counterv2 [2020-03-17T11:38:30.961Z] + make package+ [2020-03-17T11:38:30.961Z] tee -a release.log [2020-03-17T11:38:30.961Z] [ 69%] Built target csdk [2020-03-17T11:38:30.961Z] [ 72%] Built target template [2020-03-17T11:38:30.961Z] [ 76%] Built target device-counter [2020-03-17T11:38:30.961Z] [ 79%] Built target device-random [2020-03-17T11:38:30.961Z] [ 83%] Built target device-gyro [2020-03-17T11:38:30.961Z] [ 86%] Built target template-discovery [2020-03-17T11:38:30.961Z] [ 89%] Built target device-terminal [2020-03-17T11:38:30.961Z] [ 93%] Built target template2 [2020-03-17T11:38:30.961Z] [ 96%] Built target device-randomv2 [2020-03-17T11:38:30.961Z] [100%] Built target device-counterv2 [2020-03-17T11:38:31.223Z] Run CPack packaging tool... [2020-03-17T11:38:31.223Z] CPack: Create package using TGZ [2020-03-17T11:38:31.223Z] CPack: Install projects [2020-03-17T11:38:31.223Z] CPack: - Run preinstall target for: Csdk [2020-03-17T11:38:31.223Z] CPack: - Install project: Csdk [2020-03-17T11:38:31.223Z] CPack: Create package [2020-03-17T11:38:31.488Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2020-03-17T11:38:31.488Z] + '[' false '=' true ] [2020-03-17T11:38:31.488Z] + '[' false '=' true ] [2020-03-17T11:38:31.488Z] + mkdir -p /tmp/sdk/build/debug [2020-03-17T11:38:31.488Z] + cd /tmp/sdk/build/debug [2020-03-17T11:38:31.488Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-03-17T11:38:31.488Z] -- The C compiler identification is GNU 8.3.0 [2020-03-17T11:38:31.488Z] -- Check for working C compiler: /usr/bin/cc [2020-03-17T11:38:31.488Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-03-17T11:38:31.488Z] -- Detecting C compiler ABI info [2020-03-17T11:38:31.747Z] -- Detecting C compiler ABI info - done [2020-03-17T11:38:31.747Z] -- Detecting C compile features [2020-03-17T11:38:31.808Z] Removing intermediate container cbba2fe4cbc5 [2020-03-17T11:38:31.808Z] ---> 37d9bdcbb5e1 [2020-03-17T11:38:31.808Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-03-17T11:38:32.043Z] -- Detecting C compile features - done [2020-03-17T11:38:32.043Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-03-17T11:38:32.043Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-03-17T11:38:32.043Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-03-17T11:38:32.043Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-03-17T11:38:32.043Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-03-17T11:38:32.043Z] -- C SDK 0.0.0 for Linux [2020-03-17T11:38:32.043Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-03-17T11:38:32.044Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-03-17T11:38:32.044Z] -- Found Curses: /usr/lib/libcurses.so [2020-03-17T11:38:32.044Z] -- Configuring done [2020-03-17T11:38:32.044Z] -- Generating done [2020-03-17T11:38:32.044Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-03-17T11:38:32.044Z] + make [2020-03-17T11:38:32.044Z] + tee debug.log [2020-03-17T11:38:32.044Z] Scanning dependencies of target csdk [2020-03-17T11:38:32.318Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-03-17T11:38:32.318Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-03-17T11:38:32.318Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-03-17T11:38:32.396Z] ---> 050e3548c82b [2020-03-17T11:38:32.396Z] Step 8/21 : COPY src /tmp/sdk/src [2020-03-17T11:38:32.605Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-03-17T11:38:32.605Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-03-17T11:38:32.605Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-03-17T11:38:32.874Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-03-17T11:38:32.874Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-03-17T11:38:32.874Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-03-17T11:38:32.988Z] ---> 8a296887fca7 [2020-03-17T11:38:32.989Z] Step 9/21 : COPY include /tmp/sdk/include [2020-03-17T11:38:33.133Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-03-17T11:38:33.133Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-03-17T11:38:33.133Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-03-17T11:38:33.394Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-03-17T11:38:33.394Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-03-17T11:38:33.575Z] ---> 9ef61e469428 [2020-03-17T11:38:33.575Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-03-17T11:38:33.655Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-03-17T11:38:33.655Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-03-17T11:38:33.655Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-03-17T11:38:33.917Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-03-17T11:38:33.917Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-03-17T11:38:33.917Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-03-17T11:38:34.163Z] ---> 007720dfa1c3 [2020-03-17T11:38:34.163Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-03-17T11:38:34.176Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-03-17T11:38:34.177Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-03-17T11:38:34.177Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-03-17T11:38:34.177Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-03-17T11:38:34.435Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-03-17T11:38:34.435Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-03-17T11:38:34.435Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-03-17T11:38:34.435Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-03-17T11:38:34.695Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-03-17T11:38:34.695Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-03-17T11:38:34.695Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-03-17T11:38:34.749Z] ---> 8475420ef44b [2020-03-17T11:38:34.749Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-03-17T11:38:35.264Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-03-17T11:38:35.264Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-03-17T11:38:35.264Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-03-17T11:38:35.264Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-03-17T11:38:35.336Z] ---> 5f10c8b34232 [2020-03-17T11:38:35.336Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-03-17T11:38:35.336Z] ---> Running in 418f4b787b56 [2020-03-17T11:38:35.529Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-03-17T11:38:35.790Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-03-17T11:38:36.050Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-03-17T11:38:36.050Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-03-17T11:38:36.050Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-03-17T11:38:36.310Z] [ 69%] Linking C shared library libcsdk.so [2020-03-17T11:38:36.310Z] [ 69%] Built target csdk [2020-03-17T11:38:36.310Z] Scanning dependencies of target template [2020-03-17T11:38:36.310Z] [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-03-17T11:38:36.310Z] [ 72%] Linking C executable template [2020-03-17T11:38:36.310Z] [ 72%] Built target template [2020-03-17T11:38:36.310Z] Scanning dependencies of target device-counter [2020-03-17T11:38:36.318Z] + CPPCHECK=false [2020-03-17T11:38:36.318Z] + DOCGEN=false [2020-03-17T11:38:36.318Z] + TOMLVER=SDK-0.2 [2020-03-17T11:38:36.318Z] + CUTILVER=1.0.0 [2020-03-17T11:38:36.318Z] + '[' 0 -gt 0 ] [2020-03-17T11:38:36.318Z] + readlink -f ./scripts/build.sh [2020-03-17T11:38:36.318Z] + dirname /tmp/sdk/scripts/build.sh [2020-03-17T11:38:36.318Z] + dirname /tmp/sdk/scripts [2020-03-17T11:38:36.318Z] + ROOT=/tmp/sdk [2020-03-17T11:38:36.318Z] + cd /tmp/sdk [2020-03-17T11:38:36.318Z] + '[' '!' -d deps ] [2020-03-17T11:38:36.318Z] + mkdir deps [2020-03-17T11:38:36.318Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-03-17T11:38:36.318Z] + tar -C deps -z -x -f - [2020-03-17T11:38:36.318Z] --2020-03-17 11:38:36-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-03-17T11:38:36.318Z] Resolving github.com... 140.82.114.4 [2020-03-17T11:38:36.318Z] Connecting to github.com|140.82.114.4|:443... connected. [2020-03-17T11:38:36.318Z] HTTP request sent, awaiting response... 302 Found [2020-03-17T11:38:36.318Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-03-17T11:38:36.318Z] --2020-03-17 11:38:36-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-03-17T11:38:36.318Z] Resolving codeload.github.com... 140.82.113.10 [2020-03-17T11:38:36.318Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2020-03-17T11:38:36.575Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-03-17T11:38:36.575Z] [ 76%] Linking C executable device-counter [2020-03-17T11:38:36.575Z] [ 76%] Built target device-counter [2020-03-17T11:38:36.575Z] Scanning dependencies of target device-random [2020-03-17T11:38:36.575Z] [ 77%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-03-17T11:38:36.575Z] [ 79%] Linking C executable device-random [2020-03-17T11:38:36.584Z] HTTP request sent, awaiting response... 200 OK [2020-03-17T11:38:36.584Z] Length: unspecified [application/x-gzip] [2020-03-17T11:38:36.584Z] Saving to: 'STDOUT' [2020-03-17T11:38:36.585Z] [2020-03-17T11:38:36.585Z] 0K .......... ......  1.00M=0.02s [2020-03-17T11:38:36.585Z] [2020-03-17T11:38:36.585Z] 2020-03-17 11:38:36 (1.00 MB/s) - written to stdout [16451] [2020-03-17T11:38:36.585Z] [2020-03-17T11:38:36.585Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-03-17T11:38:36.585Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.0.tar.gz [2020-03-17T11:38:36.585Z] + tar -C deps -z -x -f - [2020-03-17T11:38:36.585Z] --2020-03-17 11:38:36-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.0.tar.gz [2020-03-17T11:38:36.585Z] Resolving github.com... 192.30.253.112 [2020-03-17T11:38:36.585Z] Connecting to github.com|192.30.253.112|:443... connected. [2020-03-17T11:38:36.835Z] [ 79%] Built target device-random [2020-03-17T11:38:36.835Z] Scanning dependencies of target device-gyro [2020-03-17T11:38:36.835Z] [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-03-17T11:38:36.835Z] [ 83%] Linking C executable device-gyro [2020-03-17T11:38:36.835Z] [ 83%] Built target device-gyro [2020-03-17T11:38:36.835Z] Scanning dependencies of target template-discovery [2020-03-17T11:38:36.835Z] [ 84%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-03-17T11:38:36.851Z] HTTP request sent, awaiting response... 302 Found [2020-03-17T11:38:36.851Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.0 [following] [2020-03-17T11:38:36.851Z] --2020-03-17 11:38:36-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.0 [2020-03-17T11:38:36.851Z] Resolving codeload.github.com... 140.82.113.10 [2020-03-17T11:38:36.851Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2020-03-17T11:38:36.851Z] HTTP request sent, awaiting response... 200 OK [2020-03-17T11:38:36.851Z] Length: unspecified [application/x-gzip] [2020-03-17T11:38:36.851Z] Saving to: 'STDOUT' [2020-03-17T11:38:36.851Z]  [2020-03-17T11:38:36.851Z] 0K .......... .......... .......... .......... .......... 1.54M [2020-03-17T11:38:36.851Z] 50K .......... .......... .......... .......... .......... 3.16M [2020-03-17T11:38:36.851Z] 100K .......... .......... .......... .......... ........ 4.62M=0.06s [2020-03-17T11:38:36.851Z] [2020-03-17T11:38:36.851Z] 2020-03-17 11:38:36 (2.52 MB/s) - written to stdout [151809] [2020-03-17T11:38:36.851Z] [2020-03-17T11:38:37.093Z] [ 86%] Linking C executable template-discovery [2020-03-17T11:38:37.093Z] [ 86%] Built target template-discovery [2020-03-17T11:38:37.093Z] Scanning dependencies of target device-terminal [2020-03-17T11:38:37.093Z] [ 88%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-03-17T11:38:37.093Z] [ 89%] Linking C executable device-terminal [2020-03-17T11:38:37.119Z] + mkdir -p src/c/iot [2020-03-17T11:38:37.119Z] + cp deps/iotech-c-utils-1.0.0/src/c/base64.c deps/iotech-c-utils-1.0.0/src/c/component.c deps/iotech-c-utils-1.0.0/src/c/container.c deps/iotech-c-utils-1.0.0/src/c/data.c deps/iotech-c-utils-1.0.0/src/c/hash.c deps/iotech-c-utils-1.0.0/src/c/iot.c deps/iotech-c-utils-1.0.0/src/c/json.c deps/iotech-c-utils-1.0.0/src/c/logger.c deps/iotech-c-utils-1.0.0/src/c/os.c deps/iotech-c-utils-1.0.0/src/c/scheduler.c deps/iotech-c-utils-1.0.0/src/c/thread.c deps/iotech-c-utils-1.0.0/src/c/threadpool.c deps/iotech-c-utils-1.0.0/src/c/time.c src/c/iot [2020-03-17T11:38:37.119Z] + mkdir -p include/iot [2020-03-17T11:38:37.119Z] + cp deps/iotech-c-utils-1.0.0/include/iot/base64.h deps/iotech-c-utils-1.0.0/include/iot/component.h deps/iotech-c-utils-1.0.0/include/iot/container.h deps/iotech-c-utils-1.0.0/include/iot/data.h deps/iotech-c-utils-1.0.0/include/iot/hash.h deps/iotech-c-utils-1.0.0/include/iot/iot.h deps/iotech-c-utils-1.0.0/include/iot/json.h deps/iotech-c-utils-1.0.0/include/iot/logger.h deps/iotech-c-utils-1.0.0/include/iot/os.h deps/iotech-c-utils-1.0.0/include/iot/scheduler.h deps/iotech-c-utils-1.0.0/include/iot/thread.h deps/iotech-c-utils-1.0.0/include/iot/threadpool.h deps/iotech-c-utils-1.0.0/include/iot/time.h include/iot [2020-03-17T11:38:37.119Z] + mkdir -p include/iot/os [2020-03-17T11:38:37.119Z] + cp deps/iotech-c-utils-1.0.0/include/iot/os/linux.h deps/iotech-c-utils-1.0.0/include/iot/os/zephyr.h include/iot/os [2020-03-17T11:38:37.119Z] + mkdir -p /tmp/sdk/build/release [2020-03-17T11:38:37.119Z] + cd /tmp/sdk/build/release [2020-03-17T11:38:37.119Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-03-17T11:38:37.352Z] [ 89%] Built target device-terminal [2020-03-17T11:38:37.352Z] Scanning dependencies of target template2 [2020-03-17T11:38:37.352Z] [ 91%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-03-17T11:38:37.352Z] [ 93%] Linking C executable template2 [2020-03-17T11:38:37.352Z] [ 93%] Built target template2 [2020-03-17T11:38:37.352Z] Scanning dependencies of target device-randomv2 [2020-03-17T11:38:37.352Z] [ 94%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-03-17T11:38:37.352Z] [ 96%] Linking C executable device-randomv2 [2020-03-17T11:38:37.388Z] -- The C compiler identification is GNU 8.3.0 [2020-03-17T11:38:37.388Z] -- Check for working C compiler: /usr/bin/cc [2020-03-17T11:38:37.610Z] [ 96%] Built target device-randomv2 [2020-03-17T11:38:37.610Z] Scanning dependencies of target device-counterv2 [2020-03-17T11:38:37.610Z] [ 98%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-03-17T11:38:37.610Z] [100%] Linking C executable device-counterv2 [2020-03-17T11:38:37.610Z] [100%] Built target device-counterv2 [2020-03-17T11:38:37.610Z] make: Entering directory '/tmp/sdk/build/release' [2020-03-17T11:38:37.656Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-03-17T11:38:37.656Z] -- Detecting C compiler ABI info [2020-03-17T11:38:37.871Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-03-17T11:38:37.871Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-17T11:38:37.871Z] Scanning dependencies of target csdk [2020-03-17T11:38:37.871Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-17T11:38:37.871Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-17T11:38:37.871Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-03-17T11:38:37.924Z] -- Detecting C compiler ABI info - done [2020-03-17T11:38:37.924Z] -- Detecting C compile features [2020-03-17T11:38:38.130Z] [ 3%] Linking C shared library libcsdk.so [2020-03-17T11:38:38.130Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-17T11:38:38.130Z] [ 69%] Built target csdk [2020-03-17T11:38:38.130Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-17T11:38:38.392Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-17T11:38:38.392Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-17T11:38:38.392Z] [ 71%] Linking C executable template [2020-03-17T11:38:38.392Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-17T11:38:38.392Z] [ 72%] Built target template [2020-03-17T11:38:38.392Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-17T11:38:38.392Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-17T11:38:38.392Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-17T11:38:38.392Z] [ 74%] Linking C executable device-counter [2020-03-17T11:38:38.392Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-17T11:38:38.392Z] [ 76%] Built target device-counter [2020-03-17T11:38:38.392Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-17T11:38:38.392Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-17T11:38:38.392Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-17T11:38:38.392Z] [ 77%] Linking C executable device-random [2020-03-17T11:38:38.512Z] -- Detecting C compile features - done [2020-03-17T11:38:38.512Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-03-17T11:38:38.512Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-03-17T11:38:38.512Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-03-17T11:38:38.512Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-03-17T11:38:38.512Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-03-17T11:38:38.512Z] -- C SDK 0.0.0 for Linux [2020-03-17T11:38:38.512Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-03-17T11:38:38.654Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-17T11:38:38.654Z] [ 79%] Built target device-random [2020-03-17T11:38:38.654Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-17T11:38:38.654Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-17T11:38:38.654Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-17T11:38:38.654Z] [ 81%] Linking C executable device-gyro [2020-03-17T11:38:38.654Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-17T11:38:38.654Z] [ 83%] Built target device-gyro [2020-03-17T11:38:38.654Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-17T11:38:38.654Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-17T11:38:38.654Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-17T11:38:38.654Z] [ 84%] Linking C executable template-discovery [2020-03-17T11:38:38.780Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-03-17T11:38:38.780Z] -- Found Curses: /usr/lib/libcurses.so [2020-03-17T11:38:39.047Z] -- Configuring done [2020-03-17T11:38:39.225Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-17T11:38:39.315Z] -- Generating done [2020-03-17T11:38:39.315Z] -- Build files have been written to: /tmp/sdk/build/release [2020-03-17T11:38:39.315Z] + make [2020-03-17T11:38:39.315Z] + tee release.log [2020-03-17T11:38:39.315Z] Scanning dependencies of target csdk [2020-03-17T11:38:39.487Z] [ 86%] Built target template-discovery [2020-03-17T11:38:39.488Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-17T11:38:39.488Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-17T11:38:39.488Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-17T11:38:39.488Z] [ 88%] Linking C executable device-terminal [2020-03-17T11:38:39.488Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-17T11:38:39.488Z] [ 89%] Built target device-terminal [2020-03-17T11:38:39.488Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-17T11:38:39.488Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-17T11:38:39.488Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-17T11:38:39.488Z] [ 91%] Linking C executable template2 [2020-03-17T11:38:39.488Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-17T11:38:39.488Z] [ 93%] Built target template2 [2020-03-17T11:38:39.488Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-17T11:38:39.488Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-17T11:38:39.488Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-17T11:38:39.488Z] [ 94%] Linking C executable device-randomv2 [2020-03-17T11:38:39.584Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-03-17T11:38:39.748Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-17T11:38:39.748Z] [ 96%] Built target device-randomv2 [2020-03-17T11:38:39.748Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-17T11:38:39.748Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-17T11:38:39.748Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-17T11:38:39.748Z] [ 98%] Linking C executable device-counterv2 [2020-03-17T11:38:39.748Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-17T11:38:39.748Z] [100%] Built target device-counterv2 [2020-03-17T11:38:39.748Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-03-17T11:38:39.748Z] Install the project... [2020-03-17T11:38:39.748Z] -- Install configuration: "Release" [2020-03-17T11:38:39.748Z] -- Installing: /usr/local/lib/libcsdk.so [2020-03-17T11:38:39.748Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-03-17T11:38:39.748Z] -- Up-to-date: /usr/local/include [2020-03-17T11:38:39.748Z] -- Installing: /usr/local/include/devsdk [2020-03-17T11:38:39.748Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-03-17T11:38:39.748Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-03-17T11:38:39.748Z] -- Installing: /usr/local/include/edgex [2020-03-17T11:38:39.748Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-03-17T11:38:39.748Z] -- Installing: /usr/local/include/edgex/devices.h [2020-03-17T11:38:39.748Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-03-17T11:38:39.748Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-03-17T11:38:39.748Z] -- Installing: /usr/local/include/edgex/edgex-logging.h [2020-03-17T11:38:39.748Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-03-17T11:38:39.748Z] -- Installing: /usr/local/include/edgex/error.h [2020-03-17T11:38:39.748Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-03-17T11:38:39.748Z] -- Installing: /usr/local/include/edgex/os.h [2020-03-17T11:38:39.748Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-03-17T11:38:39.748Z] -- Installing: /usr/local/include/edgex/registry.h [2020-03-17T11:38:39.748Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-03-17T11:38:39.748Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-03-17T11:38:39.748Z] -- Installing: /usr/local/include/iot [2020-03-17T11:38:39.748Z] -- Installing: /usr/local/include/iot/base64.h [2020-03-17T11:38:39.748Z] -- Installing: /usr/local/include/iot/component.h [2020-03-17T11:38:39.748Z] -- Installing: /usr/local/include/iot/container.h [2020-03-17T11:38:39.748Z] -- Installing: /usr/local/include/iot/data.h [2020-03-17T11:38:39.748Z] -- Installing: /usr/local/include/iot/hash.h [2020-03-17T11:38:39.748Z] -- Installing: /usr/local/include/iot/iot.h [2020-03-17T11:38:39.748Z] -- Installing: /usr/local/include/iot/json.h [2020-03-17T11:38:39.748Z] -- Installing: /usr/local/include/iot/logger.h [2020-03-17T11:38:39.748Z] -- Installing: /usr/local/include/iot/os.h [2020-03-17T11:38:39.748Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-03-17T11:38:39.748Z] -- Installing: /usr/local/include/iot/thread.h [2020-03-17T11:38:39.748Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-03-17T11:38:39.748Z] -- Installing: /usr/local/include/iot/time.h [2020-03-17T11:38:39.748Z] -- Installing: /usr/local/include/iot/os [2020-03-17T11:38:39.748Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-03-17T11:38:39.748Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-03-17T11:38:39.748Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-03-17T11:38:39.749Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-03-17T11:38:39.749Z] make: Leaving directory '/tmp/sdk/build/release' [2020-03-17T11:38:40.170Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-03-17T11:38:40.437Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-03-17T11:38:40.688Z] Removing intermediate container b44dc6794662 [2020-03-17T11:38:40.688Z] ---> e8d18e468880 [2020-03-17T11:38:40.688Z] Step 14/21 : FROM alpine:3.9 [2020-03-17T11:38:40.948Z] 3.9: Pulling from library/alpine [2020-03-17T11:38:40.948Z] 9123ac7c32f7: Pulling fs layer [2020-03-17T11:38:41.209Z] 9123ac7c32f7: Verifying Checksum [2020-03-17T11:38:41.209Z] 9123ac7c32f7: Download complete [2020-03-17T11:38:41.469Z] 9123ac7c32f7: Pull complete [2020-03-17T11:38:41.469Z] Digest: sha256:115731bab0862031b44766733890091c17924f9b7781b79997f5f163be262178 [2020-03-17T11:38:41.469Z] Status: Downloaded newer image for alpine:3.9 [2020-03-17T11:38:41.469Z] ---> 82f67be598eb [2020-03-17T11:38:41.469Z] Step 15/21 : MAINTAINER IOTech [2020-03-17T11:38:41.469Z] ---> Running in 1274e74b4226 [2020-03-17T11:38:41.469Z] Removing intermediate container 1274e74b4226 [2020-03-17T11:38:41.469Z] ---> b5dd8feb7bf4 [2020-03-17T11:38:41.469Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-03-17T11:38:41.730Z] ---> Running in 37bc04702954 [2020-03-17T11:38:41.847Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-03-17T11:38:42.301Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-03-17T11:38:42.560Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-03-17T11:38:42.560Z] (1/48) Installing binutils (2.31.1-r2) [2020-03-17T11:38:42.806Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-03-17T11:38:42.806Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-03-17T11:38:42.819Z] (2/48) Installing libmagic (5.36-r1) [2020-03-17T11:38:42.819Z] (3/48) Installing file (5.36-r1) [2020-03-17T11:38:42.819Z] (4/48) Installing gmp (6.1.2-r1) [2020-03-17T11:38:43.080Z] (5/48) Installing isl (0.18-r0) [2020-03-17T11:38:43.342Z] (6/48) Installing libgomp (8.3.0-r0) [2020-03-17T11:38:43.342Z] (7/48) Installing libatomic (8.3.0-r0) [2020-03-17T11:38:43.342Z] (8/48) Installing libgcc (8.3.0-r0) [2020-03-17T11:38:43.342Z] (9/48) Installing mpfr3 (3.1.5-r1) [2020-03-17T11:38:43.342Z] (10/48) Installing mpc1 (1.0.3-r1) [2020-03-17T11:38:43.342Z] (11/48) Installing libstdc++ (8.3.0-r0) [2020-03-17T11:38:43.389Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-03-17T11:38:43.601Z] (12/48) Installing gcc (8.3.0-r0) [2020-03-17T11:38:44.796Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-03-17T11:38:45.063Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-03-17T11:38:45.646Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-03-17T11:38:46.231Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-03-17T11:38:46.497Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-03-17T11:38:46.763Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-03-17T11:38:47.031Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-03-17T11:38:47.801Z] (13/48) Installing musl-dev (1.1.20-r5) [2020-03-17T11:38:48.064Z] (14/48) Installing libc-dev (0.7.1-r0) [2020-03-17T11:38:48.064Z] (15/48) Installing g++ (8.3.0-r0) [2020-03-17T11:38:49.971Z] (16/48) Installing make (4.2.1-r2) [2020-03-17T11:38:49.971Z] (17/48) Installing fortify-headers (1.0-r0) [2020-03-17T11:38:49.971Z] (18/48) Installing build-base (0.5-r1) [2020-03-17T11:38:49.971Z] (19/48) Installing libattr (2.4.47-r7) [2020-03-17T11:38:49.971Z] (20/48) Installing libacl (2.2.52-r5) [2020-03-17T11:38:49.971Z] (21/48) Installing libbz2 (1.0.6-r7) [2020-03-17T11:38:49.971Z] (22/48) Installing expat (2.2.8-r0) [2020-03-17T11:38:49.971Z] (23/48) Installing lz4-libs (1.8.3-r2) [2020-03-17T11:38:49.971Z] (24/48) Installing xz-libs (5.2.4-r0) [2020-03-17T11:38:49.971Z] (25/48) Installing libarchive (3.3.3-r2) [2020-03-17T11:38:50.230Z] (26/48) Installing ca-certificates (20190108-r0) [2020-03-17T11:38:50.230Z] (27/48) Installing nghttp2-libs (1.35.1-r1) [2020-03-17T11:38:50.230Z] (28/48) Installing libssh2 (1.9.0-r1) [2020-03-17T11:38:50.230Z] (29/48) Installing libcurl (7.64.0-r3) [2020-03-17T11:38:50.230Z] (30/48) Installing ncurses-terminfo-base (6.1_p20190105-r0) [2020-03-17T11:38:50.230Z] (31/48) Installing ncurses-terminfo (6.1_p20190105-r0) [2020-03-17T11:38:50.377Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-03-17T11:38:50.377Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-03-17T11:38:50.646Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-03-17T11:38:50.798Z] (32/48) Installing ncurses-libs (6.1_p20190105-r0) [2020-03-17T11:38:50.798Z] (33/48) Installing rhash-libs (1.3.6-r2) [2020-03-17T11:38:50.798Z] (34/48) Installing libuv (1.23.2-r0) [2020-03-17T11:38:50.798Z] (35/48) Installing cmake (3.13.0-r0) [2020-03-17T11:38:51.233Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-03-17T11:38:52.179Z] (36/48) Installing curl (7.64.0-r3) [2020-03-17T11:38:52.179Z] (37/48) Installing pcre2 (10.32-r1) [2020-03-17T11:38:52.179Z] (38/48) Installing git (2.20.2-r0) [2020-03-17T11:38:52.179Z] (39/48) Installing nettle (3.4.1-r0) [2020-03-17T11:38:52.179Z] (40/48) Installing libffi (3.2.1-r6) [2020-03-17T11:38:52.179Z] (41/48) Installing p11-kit (0.23.14-r0) [2020-03-17T11:38:52.179Z] (42/48) Installing libtasn1 (4.14-r0) [2020-03-17T11:38:52.179Z] (43/48) Installing libunistring (0.9.10-r0) [2020-03-17T11:38:52.440Z] (44/48) Installing gnutls (3.6.7-r0) [2020-03-17T11:38:52.440Z] (45/48) Installing libmicrohttpd (0.9.62-r0) [2020-03-17T11:38:52.440Z] (46/48) Installing libuuid (2.33-r0) [2020-03-17T11:38:52.440Z] (47/48) Installing wget (1.20.3-r0) [2020-03-17T11:38:52.440Z] (48/48) Installing yaml (0.2.1-r0) [2020-03-17T11:38:52.440Z] Executing busybox-1.29.3-r10.trigger [2020-03-17T11:38:52.440Z] Executing ca-certificates-20190108-r0.trigger [2020-03-17T11:38:52.440Z] OK: 222 MiB in 62 packages [2020-03-17T11:38:53.180Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-03-17T11:38:53.180Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-03-17T11:38:53.448Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-03-17T11:38:54.033Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-03-17T11:38:54.302Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-03-17T11:38:54.569Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-03-17T11:38:55.152Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-03-17T11:38:55.736Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-03-17T11:38:56.323Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-03-17T11:38:56.323Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-03-17T11:38:56.903Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-03-17T11:38:57.859Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-03-17T11:38:57.859Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-03-17T11:38:59.016Z] Removing intermediate container 37bc04702954 [2020-03-17T11:38:59.017Z] ---> 388e037972ef [2020-03-17T11:38:59.017Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-03-17T11:38:59.284Z] ---> 613af0bc7855 [2020-03-17T11:38:59.284Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-03-17T11:38:59.544Z] ---> 91123c8f1238 [2020-03-17T11:38:59.544Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-03-17T11:38:59.806Z] ---> ec5403d1af8d [2020-03-17T11:38:59.806Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-03-17T11:38:59.806Z] ---> 050ad19bb5fe [2020-03-17T11:38:59.806Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-03-17T11:39:00.064Z] ---> 4816d1a79aeb [2020-03-17T11:39:00.064Z] Successfully built 4816d1a79aeb [2020-03-17T11:39:00.064Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-03-17T11:39:00.836Z] + docker inspect -f . ci-base-image-x86_64 [2020-03-17T11:39:00.836Z] . [Pipeline] withDockerContainer [2020-03-17T11:39:01.004Z] prd-centos7-docker-4c-2g-881 does not seem to be running inside a container [2020-03-17T11:39:01.052Z] $ 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 ******** ci-base-image-x86_64 cat [2020-03-17T11:39:01.669Z] $ docker top 5a51489c313ab26d860614268b9489b99a4f037fa3291ef5b2a912aa0b24c210 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-17T11:39:02.125Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-03-17T11:39:02.215Z] + make test [2020-03-17T11:39:02.215Z] echo "make test" [2020-03-17T11:39:02.215Z] make test [Pipeline] } [2020-03-17T11:39:02.244Z] $ docker stop --time=1 5a51489c313ab26d860614268b9489b99a4f037fa3291ef5b2a912aa0b24c210 [2020-03-17T11:39:02.709Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-03-17T11:39:02.979Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-03-17T11:39:03.563Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-03-17T11:39:03.712Z] $ docker rm -f 5a51489c313ab26d860614268b9489b99a4f037fa3291ef5b2a912aa0b24c210 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-17T11:39:04.976Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-03-17T11:39:05.129Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-17T11:39:05.457Z] + ls -al . [2020-03-17T11:39:05.457Z] total 160 [2020-03-17T11:39:05.457Z] drwxrwxr-x. 8 jenkins jenkins 260 Mar 17 11:37 . [2020-03-17T11:39:05.457Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 17 11:37 .. [2020-03-17T11:39:05.457Z] -rw-rw-r--. 1 jenkins jenkins 3104 Mar 17 11:37 Attribution.txt [2020-03-17T11:39:05.457Z] -rw-rw-r--. 1 jenkins jenkins 4941 Mar 17 11:37 CHANGES [2020-03-17T11:39:05.457Z] drwxrwxr-x. 2 jenkins jenkins 144 Mar 17 11:37 docs [2020-03-17T11:39:05.457Z] -rw-rw-r--. 1 jenkins jenkins 108574 Mar 17 11:37 Doxyfile [2020-03-17T11:39:05.457Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 17 11:37 .git [2020-03-17T11:39:05.457Z] -rw-rw-r--. 1 jenkins jenkins 176 Mar 17 11:37 .gitignore [2020-03-17T11:39:05.457Z] drwxrwxr-x. 4 jenkins jenkins 33 Mar 17 11:37 include [2020-03-17T11:39:05.457Z] -rw-rw-r--. 1 jenkins jenkins 792 Mar 17 11:37 Jenkinsfile [2020-03-17T11:39:05.457Z] -rw-rw-r--. 1 jenkins jenkins 10174 Mar 17 11:37 LICENSE [2020-03-17T11:39:05.457Z] -rw-rw-r--. 1 jenkins jenkins 448 Mar 17 11:37 Makefile [2020-03-17T11:39:05.457Z] -rw-rw-r--. 1 jenkins jenkins 1849 Mar 17 11:37 README.md [2020-03-17T11:39:05.457Z] -rw-rw-r--. 1 jenkins jenkins 5031 Mar 17 11:37 README.v2.md [2020-03-17T11:39:05.457Z] drwxrwxr-x. 2 jenkins jenkins 106 Mar 17 11:37 scripts [2020-03-17T11:39:05.457Z] drwxrwxr-x. 3 jenkins jenkins 58 Mar 17 11:37 .semver [2020-03-17T11:39:05.457Z] drwxrwxr-x. 4 jenkins jenkins 50 Mar 17 11:37 src [2020-03-17T11:39:05.457Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 17 11:35 VERSION [Pipeline] isUnix [Pipeline] sh [2020-03-17T11:39:05.788Z] + docker build -t docker-device-sdk-c -f scripts/Dockerfile.alpine-3.9 --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=b874de37f685f80811dda6a872c318d6d9f491d1 --label arch=amd64 --label version=0.0.0 . [2020-03-17T11:39:05.788Z] Sending build context to Docker daemon 2.903MB [2020-03-17T11:39:05.788Z] Step 1/15 : ARG BASE=alpine:3.9 [2020-03-17T11:39:05.788Z] Step 2/15 : FROM ${BASE} [2020-03-17T11:39:05.788Z] ---> 4816d1a79aeb [2020-03-17T11:39:05.788Z] Step 3/15 : MAINTAINER IOTech [2020-03-17T11:39:05.788Z] ---> Running in 7da86914dde3 [2020-03-17T11:39:06.053Z] Removing intermediate container 7da86914dde3 [2020-03-17T11:39:06.053Z] ---> f4ab10fcbba4 [2020-03-17T11:39:06.053Z] 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 [2020-03-17T11:39:06.053Z] ---> Running in 895be3416db7 [2020-03-17T11:39:06.313Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-03-17T11:39:06.386Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-03-17T11:39:06.578Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-03-17T11:39:06.578Z] (1/21) Installing pkgconf (1.6.0-r0) [2020-03-17T11:39:06.578Z] (2/21) Installing openssl-dev (1.1.1d-r2) [2020-03-17T11:39:07.516Z] (3/21) Installing zlib-dev (1.2.11-r1) [2020-03-17T11:39:07.516Z] (4/21) Installing libssh2-dev (1.9.0-r1) [2020-03-17T11:39:07.516Z] (5/21) Installing nghttp2-dev (1.35.1-r1) [2020-03-17T11:39:07.516Z] (6/21) Installing curl-dev (7.64.0-r3) [2020-03-17T11:39:07.516Z] (7/21) Installing gnutls-c++ (3.6.7-r0) [2020-03-17T11:39:07.516Z] (8/21) Installing libgmpxx (6.1.2-r1) [2020-03-17T11:39:07.516Z] (9/21) Installing gmp-dev (6.1.2-r1) [2020-03-17T11:39:07.516Z] (10/21) Installing nettle-dev (3.4.1-r0) [2020-03-17T11:39:08.083Z] (11/21) Installing libtasn1-dev (4.14-r0) [2020-03-17T11:39:08.083Z] (12/21) Installing p11-kit-dev (0.23.14-r0) [2020-03-17T11:39:08.083Z] (13/21) Installing gnutls-dev (3.6.7-r0) [2020-03-17T11:39:08.083Z] (14/21) Installing libmicrohttpd-dev (0.9.62-r0) [2020-03-17T11:39:08.341Z] (15/21) Installing ncurses-dev (6.1_p20190105-r0) [2020-03-17T11:39:08.341Z] (16/21) Installing libblkid (2.33-r0) [2020-03-17T11:39:08.341Z] (17/21) Installing libfdisk (2.33-r0) [2020-03-17T11:39:08.341Z] (18/21) Installing libmount (2.33-r0) [2020-03-17T11:39:08.341Z] (19/21) Installing libsmartcols (2.33-r0) [2020-03-17T11:39:08.341Z] (20/21) Installing util-linux-dev (2.33-r0) [2020-03-17T11:39:08.341Z] (21/21) Installing yaml-dev (0.2.1-r0) [2020-03-17T11:39:08.341Z] Executing busybox-1.29.3-r10.trigger [2020-03-17T11:39:08.341Z] OK: 265 MiB in 83 packages [2020-03-17T11:39:09.280Z] Removing intermediate container 895be3416db7 [2020-03-17T11:39:09.280Z] ---> b8e935cd33ab [2020-03-17T11:39:09.280Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-03-17T11:39:09.539Z] ---> 71dbbe72c60d [2020-03-17T11:39:09.539Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-03-17T11:39:09.731Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-03-17T11:39:09.799Z] ---> 689723136f54 [2020-03-17T11:39:09.799Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-03-17T11:39:09.799Z] ---> 0008e44c15d3 [2020-03-17T11:39:09.799Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-03-17T11:39:10.000Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-03-17T11:39:10.058Z] ---> 7eeb4295fc51 [2020-03-17T11:39:10.058Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-03-17T11:39:10.318Z] ---> f41dc9a4f0f4 [2020-03-17T11:39:10.318Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-03-17T11:39:10.318Z] ---> a69fcacd7829 [2020-03-17T11:39:10.318Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-03-17T11:39:10.318Z] ---> Running in b88fe347c590 [2020-03-17T11:39:10.577Z] Removing intermediate container b88fe347c590 [2020-03-17T11:39:10.577Z] ---> bf0e2acc63c7 [2020-03-17T11:39:10.577Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-03-17T11:39:10.577Z] ---> Running in 2d439de77a69 [2020-03-17T11:39:10.837Z] Removing intermediate container 2d439de77a69 [2020-03-17T11:39:10.837Z] ---> a6cefb45c4f4 [2020-03-17T11:39:10.837Z] Step 13/15 : LABEL arch=amd64 [2020-03-17T11:39:10.837Z] ---> Running in 5649dcc25e9e [2020-03-17T11:39:10.837Z] Removing intermediate container 5649dcc25e9e [2020-03-17T11:39:10.837Z] ---> de66034b0ecf [2020-03-17T11:39:10.837Z] Step 14/15 : LABEL git_sha=b874de37f685f80811dda6a872c318d6d9f491d1 [2020-03-17T11:39:10.837Z] ---> Running in 883e9e2b1630 [2020-03-17T11:39:10.960Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-03-17T11:39:11.096Z] Removing intermediate container 883e9e2b1630 [2020-03-17T11:39:11.096Z] ---> 2e2a93d468e1 [2020-03-17T11:39:11.096Z] Step 15/15 : LABEL version=0.0.0 [2020-03-17T11:39:11.096Z] ---> Running in a9c0940cc159 [2020-03-17T11:39:11.354Z] Removing intermediate container a9c0940cc159 [2020-03-17T11:39:11.354Z] ---> bcda97fa3b5a [2020-03-17T11:39:11.354Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2020-03-17T11:39:11.354Z] Successfully built bcda97fa3b5a [2020-03-17T11:39:11.354Z] Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } [2020-03-17T11:39:11.548Z] [ 69%] Linking C shared library libcsdk.so [2020-03-17T11:39:11.548Z] [ 69%] Built target csdk [2020-03-17T11:39:11.548Z] Scanning dependencies of target template [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [2020-03-17T11:39:11.813Z] [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [2020-03-17T11:39:12.084Z] [ 72%] Linking C executable template [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [2020-03-17T11:39:12.359Z] [ 72%] Built target template [2020-03-17T11:39:12.359Z] Scanning dependencies of target device-counter [2020-03-17T11:39:12.359Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-03-17T11:39:12.955Z] [ 76%] Linking C executable device-counter [2020-03-17T11:39:13.222Z] [ 76%] Built target device-counter [2020-03-17T11:39:13.222Z] Scanning dependencies of target device-random [2020-03-17T11:39:13.222Z] [ 77%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-03-17T11:39:13.489Z] [ 79%] Linking C executable device-random [2020-03-17T11:39:13.757Z] [ 79%] Built target device-random [2020-03-17T11:39:13.757Z] Scanning dependencies of target device-gyro [2020-03-17T11:39:13.758Z] [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-03-17T11:39:14.341Z] [ 83%] Linking C executable device-gyro [2020-03-17T11:39:14.341Z] [ 83%] Built target device-gyro [2020-03-17T11:39:14.341Z] Scanning dependencies of target template-discovery [2020-03-17T11:39:14.608Z] [ 84%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-03-17T11:39:15.193Z] [ 86%] Linking C executable template-discovery [2020-03-17T11:39:15.193Z] [ 86%] Built target template-discovery [2020-03-17T11:39:15.193Z] Scanning dependencies of target device-terminal [2020-03-17T11:39:15.464Z] [ 88%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-03-17T11:39:15.734Z] [ 89%] Linking C executable device-terminal [2020-03-17T11:39:16.004Z] [ 89%] Built target device-terminal [2020-03-17T11:39:16.004Z] Scanning dependencies of target template2 [2020-03-17T11:39:16.004Z] [ 91%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-03-17T11:39:16.587Z] [ 93%] Linking C executable template2 [2020-03-17T11:39:16.855Z] [ 93%] Built target template2 [2020-03-17T11:39:16.855Z] Scanning dependencies of target device-randomv2 [2020-03-17T11:39:16.855Z] [ 94%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-03-17T11:39:17.439Z] [ 96%] Linking C executable device-randomv2 [2020-03-17T11:39:17.439Z] [ 96%] Built target device-randomv2 [2020-03-17T11:39:17.439Z] Scanning dependencies of target device-counterv2 [2020-03-17T11:39:17.439Z] [ 98%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-03-17T11:39:18.023Z] [100%] Linking C executable device-counterv2 [2020-03-17T11:39:18.292Z] [100%] Built target device-counterv2 [2020-03-17T11:39:18.292Z] + make package [2020-03-17T11:39:18.292Z] + tee -a release.log [2020-03-17T11:39:18.292Z] [ 69%] Built target csdk [2020-03-17T11:39:18.292Z] [ 72%] Built target template [2020-03-17T11:39:18.292Z] [ 76%] Built target device-counter [2020-03-17T11:39:18.559Z] [ 79%] Built target device-random [2020-03-17T11:39:18.559Z] [ 83%] Built target device-gyro [2020-03-17T11:39:18.559Z] [ 86%] Built target template-discovery [2020-03-17T11:39:18.559Z] [ 89%] Built target device-terminal [2020-03-17T11:39:18.559Z] [ 93%] Built target template2 [2020-03-17T11:39:18.559Z] [ 96%] Built target device-randomv2 [2020-03-17T11:39:18.827Z] [100%] Built target device-counterv2 [2020-03-17T11:39:18.827Z] Run CPack packaging tool... [2020-03-17T11:39:18.827Z] CPack: Create package using TGZ [2020-03-17T11:39:18.827Z] CPack: Install projects [2020-03-17T11:39:18.827Z] CPack: - Run preinstall target for: Csdk [2020-03-17T11:39:19.410Z] CPack: - Install project: Csdk [2020-03-17T11:39:19.410Z] CPack: Create package [2020-03-17T11:39:19.410Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2020-03-17T11:39:19.410Z] + '[' false '=' true ] [2020-03-17T11:39:19.410Z] + '[' false '=' true ] [2020-03-17T11:39:19.410Z] + mkdir -p /tmp/sdk/build/debug [2020-03-17T11:39:19.410Z] + cd /tmp/sdk/build/debug [2020-03-17T11:39:19.410Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-03-17T11:39:19.678Z] -- The C compiler identification is GNU 8.3.0 [2020-03-17T11:39:19.678Z] -- Check for working C compiler: /usr/bin/cc [2020-03-17T11:39:19.945Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-03-17T11:39:19.945Z] -- Detecting C compiler ABI info [2020-03-17T11:39:20.212Z] -- Detecting C compiler ABI info - done [2020-03-17T11:39:20.212Z] -- Detecting C compile features [2020-03-17T11:39:21.174Z] -- Detecting C compile features - done [2020-03-17T11:39:21.174Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-03-17T11:39:21.174Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-03-17T11:39:21.174Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-03-17T11:39:21.174Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-03-17T11:39:21.174Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-03-17T11:39:21.174Z] -- C SDK 0.0.0 for Linux [2020-03-17T11:39:21.174Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-03-17T11:39:21.174Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-03-17T11:39:21.174Z] -- Found Curses: /usr/lib/libcurses.so [2020-03-17T11:39:21.441Z] -- Configuring done [2020-03-17T11:39:21.708Z] -- Generating done [2020-03-17T11:39:21.708Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-03-17T11:39:21.708Z] + make [2020-03-17T11:39:21.708Z] + tee debug.log [2020-03-17T11:39:21.708Z] Scanning dependencies of target csdk [2020-03-17T11:39:21.975Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-03-17T11:39:22.242Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-03-17T11:39:22.507Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-03-17T11:39:23.085Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-03-17T11:39:23.358Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-03-17T11:39:23.358Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-03-17T11:39:23.623Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-03-17T11:39:24.210Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-03-17T11:39:24.478Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-03-17T11:39:24.743Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-03-17T11:39:25.009Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-03-17T11:39:25.276Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-03-17T11:39:25.276Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-03-17T11:39:25.543Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-03-17T11:39:26.498Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-03-17T11:39:26.498Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-03-17T11:39:26.765Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-03-17T11:39:27.033Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-03-17T11:39:27.615Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-03-17T11:39:27.615Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-03-17T11:39:27.885Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-03-17T11:39:28.150Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-03-17T11:39:28.418Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-03-17T11:39:28.418Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-03-17T11:39:28.686Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-03-17T11:39:28.952Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-03-17T11:39:29.225Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-03-17T11:39:29.225Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-03-17T11:39:29.498Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-03-17T11:39:30.081Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-03-17T11:39:30.081Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-03-17T11:39:31.042Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-03-17T11:39:31.309Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-03-17T11:39:31.577Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-03-17T11:39:31.844Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-03-17T11:39:32.804Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-03-17T11:39:33.390Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-03-17T11:39:33.973Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-03-17T11:39:34.241Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-03-17T11:39:34.508Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-03-17T11:39:34.776Z] [ 69%] Linking C shared library libcsdk.so [2020-03-17T11:39:35.045Z] [ 69%] Built target csdk [2020-03-17T11:39:35.045Z] Scanning dependencies of target template [2020-03-17T11:39:35.045Z] [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-03-17T11:39:35.313Z] [ 72%] Linking C executable template [2020-03-17T11:39:35.581Z] [ 72%] Built target template [2020-03-17T11:39:35.581Z] Scanning dependencies of target device-counter [2020-03-17T11:39:35.581Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-03-17T11:39:35.849Z] [ 76%] Linking C executable device-counter [2020-03-17T11:39:36.118Z] [ 76%] Built target device-counter [2020-03-17T11:39:36.118Z] Scanning dependencies of target device-random [2020-03-17T11:39:36.118Z] [ 77%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-03-17T11:39:36.396Z] [ 79%] Linking C executable device-random [2020-03-17T11:39:36.396Z] [ 79%] Built target device-random [2020-03-17T11:39:36.664Z] Scanning dependencies of target device-gyro [2020-03-17T11:39:36.664Z] [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-03-17T11:39:36.933Z] [ 83%] Linking C executable device-gyro [2020-03-17T11:39:36.933Z] [ 83%] Built target device-gyro [2020-03-17T11:39:36.933Z] Scanning dependencies of target template-discovery [2020-03-17T11:39:36.933Z] [ 84%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-03-17T11:39:37.203Z] [ 86%] Linking C executable template-discovery [2020-03-17T11:39:37.474Z] [ 86%] Built target template-discovery [2020-03-17T11:39:37.474Z] Scanning dependencies of target device-terminal [2020-03-17T11:39:37.474Z] [ 88%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-03-17T11:39:37.743Z] [ 89%] Linking C executable device-terminal [2020-03-17T11:39:38.011Z] [ 89%] Built target device-terminal [2020-03-17T11:39:38.011Z] Scanning dependencies of target template2 [2020-03-17T11:39:38.011Z] [ 91%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-03-17T11:39:38.291Z] [ 93%] Linking C executable template2 [2020-03-17T11:39:38.564Z] [ 93%] Built target template2 [2020-03-17T11:39:38.564Z] Scanning dependencies of target device-randomv2 [2020-03-17T11:39:38.564Z] [ 94%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-03-17T11:39:38.831Z] [ 96%] Linking C executable device-randomv2 [2020-03-17T11:39:39.101Z] [ 96%] Built target device-randomv2 [2020-03-17T11:39:39.101Z] Scanning dependencies of target device-counterv2 [2020-03-17T11:39:39.101Z] [ 98%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-03-17T11:39:39.368Z] [100%] Linking C executable device-counterv2 [2020-03-17T11:39:39.638Z] [100%] Built target device-counterv2 [2020-03-17T11:39:39.638Z] make: Entering directory '/tmp/sdk/build/release' [2020-03-17T11:39:39.638Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-03-17T11:39:39.638Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-17T11:39:39.638Z] Scanning dependencies of target csdk [2020-03-17T11:39:39.638Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-17T11:39:39.906Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-17T11:39:39.906Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-03-17T11:39:41.314Z] [ 3%] Linking C shared library libcsdk.so [2020-03-17T11:39:41.314Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-17T11:39:41.314Z] [ 69%] Built target csdk [2020-03-17T11:39:41.314Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-17T11:39:41.314Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-17T11:39:41.314Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-17T11:39:41.314Z] [ 71%] Linking C executable template [2020-03-17T11:39:41.583Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-17T11:39:41.583Z] [ 72%] Built target template [2020-03-17T11:39:41.583Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-17T11:39:41.583Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-17T11:39:41.583Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-17T11:39:41.583Z] [ 74%] Linking C executable device-counter [2020-03-17T11:39:41.851Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-17T11:39:41.851Z] [ 76%] Built target device-counter [2020-03-17T11:39:41.851Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-17T11:39:41.851Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-17T11:39:41.851Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-17T11:39:41.851Z] [ 77%] Linking C executable device-random [2020-03-17T11:39:42.121Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-17T11:39:42.121Z] [ 79%] Built target device-random [2020-03-17T11:39:42.121Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-17T11:39:42.121Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-17T11:39:42.121Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-17T11:39:42.121Z] [ 81%] Linking C executable device-gyro [2020-03-17T11:39:42.390Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-17T11:39:42.390Z] [ 83%] Built target device-gyro [2020-03-17T11:39:42.390Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-17T11:39:42.390Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-17T11:39:42.390Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-17T11:39:42.390Z] [ 84%] Linking C executable template-discovery [2020-03-17T11:39:42.658Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-17T11:39:42.658Z] [ 86%] Built target template-discovery [2020-03-17T11:39:42.658Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-17T11:39:42.658Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-17T11:39:42.658Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-17T11:39:42.658Z] [ 88%] Linking C executable device-terminal [2020-03-17T11:39:42.924Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-17T11:39:42.924Z] [ 89%] Built target device-terminal [2020-03-17T11:39:42.924Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-17T11:39:42.924Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-17T11:39:42.924Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-17T11:39:42.924Z] [ 91%] Linking C executable template2 [2020-03-17T11:39:43.192Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-17T11:39:43.192Z] [ 93%] Built target template2 [2020-03-17T11:39:43.192Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-17T11:39:43.192Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-17T11:39:43.192Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-17T11:39:43.192Z] [ 94%] Linking C executable device-randomv2 [2020-03-17T11:39:43.460Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-17T11:39:43.460Z] [ 96%] Built target device-randomv2 [2020-03-17T11:39:43.460Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-17T11:39:43.460Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-17T11:39:43.460Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-17T11:39:43.460Z] [ 98%] Linking C executable device-counterv2 [2020-03-17T11:39:43.728Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-17T11:39:43.728Z] [100%] Built target device-counterv2 [2020-03-17T11:39:43.728Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-03-17T11:39:43.728Z] Install the project... [2020-03-17T11:39:43.728Z] -- Install configuration: "Release" [2020-03-17T11:39:43.728Z] -- Installing: /usr/local/lib/libcsdk.so [2020-03-17T11:39:43.728Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-03-17T11:39:43.728Z] -- Up-to-date: /usr/local/include [2020-03-17T11:39:43.728Z] -- Installing: /usr/local/include/devsdk [2020-03-17T11:39:43.728Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-03-17T11:39:43.728Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-03-17T11:39:43.728Z] -- Installing: /usr/local/include/edgex [2020-03-17T11:39:43.728Z] -- Installing: /usr/local/include/edgex/devices.h [2020-03-17T11:39:43.729Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-03-17T11:39:43.729Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-03-17T11:39:43.729Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-03-17T11:39:43.729Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-03-17T11:39:43.729Z] -- Installing: /usr/local/include/edgex/error.h [2020-03-17T11:39:43.729Z] -- Installing: /usr/local/include/edgex/registry.h [2020-03-17T11:39:43.729Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-03-17T11:39:43.729Z] -- Installing: /usr/local/include/edgex/os.h [2020-03-17T11:39:43.729Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-03-17T11:39:43.729Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-03-17T11:39:43.729Z] -- Installing: /usr/local/include/edgex/edgex-logging.h [2020-03-17T11:39:43.729Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-03-17T11:39:43.729Z] -- Installing: /usr/local/include/iot [2020-03-17T11:39:43.729Z] -- Installing: /usr/local/include/iot/hash.h [2020-03-17T11:39:43.729Z] -- Installing: /usr/local/include/iot/thread.h [2020-03-17T11:39:43.729Z] -- Installing: /usr/local/include/iot/json.h [2020-03-17T11:39:43.729Z] -- Installing: /usr/local/include/iot/os [2020-03-17T11:39:43.729Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-03-17T11:39:43.729Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-03-17T11:39:43.729Z] -- Installing: /usr/local/include/iot/base64.h [2020-03-17T11:39:43.729Z] -- Installing: /usr/local/include/iot/container.h [2020-03-17T11:39:43.729Z] -- Installing: /usr/local/include/iot/data.h [2020-03-17T11:39:43.729Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-03-17T11:39:43.729Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-03-17T11:39:43.729Z] -- Installing: /usr/local/include/iot/component.h [2020-03-17T11:39:43.729Z] -- Installing: /usr/local/include/iot/os.h [2020-03-17T11:39:43.729Z] -- Installing: /usr/local/include/iot/logger.h [2020-03-17T11:39:43.729Z] -- Installing: /usr/local/include/iot/time.h [2020-03-17T11:39:43.729Z] -- Installing: /usr/local/include/iot/iot.h [2020-03-17T11:39:43.729Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-03-17T11:39:43.729Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-03-17T11:39:43.729Z] make: Leaving directory '/tmp/sdk/build/release' [2020-03-17T11:39:45.678Z] Removing intermediate container 418f4b787b56 [2020-03-17T11:39:45.678Z] ---> c95aa5c6183e [2020-03-17T11:39:45.678Z] Step 14/21 : FROM alpine:3.9 [2020-03-17T11:39:45.946Z] 3.9: Pulling from library/alpine [2020-03-17T11:39:46.216Z] eb93038481dd: Pulling fs layer [2020-03-17T11:39:46.803Z] eb93038481dd: Download complete [2020-03-17T11:39:47.391Z] eb93038481dd: Pull complete [2020-03-17T11:39:47.391Z] Digest: sha256:115731bab0862031b44766733890091c17924f9b7781b79997f5f163be262178 [2020-03-17T11:39:47.391Z] Status: Downloaded newer image for alpine:3.9 [2020-03-17T11:39:47.392Z] ---> 355993758880 [2020-03-17T11:39:47.392Z] Step 15/21 : MAINTAINER IOTech [2020-03-17T11:39:47.392Z] ---> Running in f5686897dfb9 [2020-03-17T11:39:47.978Z] Removing intermediate container f5686897dfb9 [2020-03-17T11:39:47.978Z] ---> c61a068aa801 [2020-03-17T11:39:47.978Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-03-17T11:39:47.978Z] ---> Running in 3dc97b0a7471 [2020-03-17T11:39:48.943Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-03-17T11:39:49.211Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-03-17T11:39:49.479Z] (1/48) Installing binutils (2.31.1-r2) [2020-03-17T11:39:49.755Z] (2/48) Installing libmagic (5.36-r1) [2020-03-17T11:39:49.755Z] (3/48) Installing file (5.36-r1) [2020-03-17T11:39:49.755Z] (4/48) Installing gmp (6.1.2-r1) [2020-03-17T11:39:49.755Z] (5/48) Installing isl (0.18-r0) [2020-03-17T11:39:49.755Z] (6/48) Installing libgomp (8.3.0-r0) [2020-03-17T11:39:49.755Z] (7/48) Installing libatomic (8.3.0-r0) [2020-03-17T11:39:49.755Z] (8/48) Installing libgcc (8.3.0-r0) [2020-03-17T11:39:49.755Z] (9/48) Installing mpfr3 (3.1.5-r1) [2020-03-17T11:39:49.755Z] (10/48) Installing mpc1 (1.0.3-r1) [2020-03-17T11:39:49.755Z] (11/48) Installing libstdc++ (8.3.0-r0) [2020-03-17T11:39:50.022Z] (12/48) Installing gcc (8.3.0-r0) [2020-03-17T11:39:51.433Z] (13/48) Installing musl-dev (1.1.20-r5) [2020-03-17T11:39:51.433Z] (14/48) Installing libc-dev (0.7.1-r0) [2020-03-17T11:39:51.433Z] (15/48) Installing g++ (8.3.0-r0) [2020-03-17T11:39:52.844Z] (16/48) Installing make (4.2.1-r2) [2020-03-17T11:39:52.844Z] (17/48) Installing fortify-headers (1.0-r0) [2020-03-17T11:39:52.844Z] (18/48) Installing build-base (0.5-r1) [2020-03-17T11:39:52.844Z] (19/48) Installing libattr (2.4.47-r7) [2020-03-17T11:39:52.844Z] (20/48) Installing libacl (2.2.52-r5) [2020-03-17T11:39:52.844Z] (21/48) Installing libbz2 (1.0.6-r7) [2020-03-17T11:39:52.844Z] (22/48) Installing expat (2.2.8-r0) [2020-03-17T11:39:52.844Z] (23/48) Installing lz4-libs (1.8.3-r2) [2020-03-17T11:39:52.844Z] (24/48) Installing xz-libs (5.2.4-r0) [2020-03-17T11:39:52.844Z] (25/48) Installing libarchive (3.3.3-r2) [2020-03-17T11:39:52.844Z] (26/48) Installing ca-certificates (20190108-r0) [2020-03-17T11:39:53.112Z] (27/48) Installing nghttp2-libs (1.35.1-r1) [2020-03-17T11:39:53.112Z] (28/48) Installing libssh2 (1.9.0-r1) [2020-03-17T11:39:53.112Z] (29/48) Installing libcurl (7.64.0-r3) [2020-03-17T11:39:53.112Z] (30/48) Installing ncurses-terminfo-base (6.1_p20190105-r0) [2020-03-17T11:39:53.112Z] (31/48) Installing ncurses-terminfo (6.1_p20190105-r0) [2020-03-17T11:39:54.073Z] (32/48) Installing ncurses-libs (6.1_p20190105-r0) [2020-03-17T11:39:54.073Z] (33/48) Installing rhash-libs (1.3.6-r2) [2020-03-17T11:39:54.073Z] (34/48) Installing libuv (1.23.2-r0) [2020-03-17T11:39:54.073Z] (35/48) Installing cmake (3.13.0-r0) [2020-03-17T11:39:55.483Z] (36/48) Installing curl (7.64.0-r3) [2020-03-17T11:39:55.483Z] (37/48) Installing pcre2 (10.32-r1) [2020-03-17T11:39:55.483Z] (38/48) Installing git (2.20.2-r0) [2020-03-17T11:39:55.751Z] (39/48) Installing nettle (3.4.1-r0) [2020-03-17T11:39:55.751Z] (40/48) Installing libffi (3.2.1-r6) [2020-03-17T11:39:55.751Z] (41/48) Installing p11-kit (0.23.14-r0) [2020-03-17T11:39:56.018Z] (42/48) Installing libtasn1 (4.14-r0) [2020-03-17T11:39:56.018Z] (43/48) Installing libunistring (0.9.10-r0) [2020-03-17T11:39:56.018Z] (44/48) Installing gnutls (3.6.7-r0) [2020-03-17T11:39:56.018Z] (45/48) Installing libmicrohttpd (0.9.62-r0) [2020-03-17T11:39:56.018Z] (46/48) Installing libuuid (2.33-r0) [2020-03-17T11:39:56.018Z] (47/48) Installing wget (1.20.3-r0) [2020-03-17T11:39:56.018Z] (48/48) Installing yaml (0.2.1-r0) [2020-03-17T11:39:56.018Z] Executing busybox-1.29.3-r10.trigger [2020-03-17T11:39:56.018Z] Executing ca-certificates-20190108-r0.trigger [2020-03-17T11:39:56.286Z] OK: 219 MiB in 62 packages [2020-03-17T11:40:11.299Z] Removing intermediate container 3dc97b0a7471 [2020-03-17T11:40:11.299Z] ---> e833db0956b9 [2020-03-17T11:40:11.299Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-03-17T11:40:11.299Z] ---> 9b9285e9bed4 [2020-03-17T11:40:11.299Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-03-17T11:40:11.299Z] ---> 7a96f1dac7b5 [2020-03-17T11:40:11.299Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-03-17T11:40:11.299Z] ---> 7447b0bf0594 [2020-03-17T11:40:11.299Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-03-17T11:40:11.568Z] ---> 8195ccc6e976 [2020-03-17T11:40:11.568Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-03-17T11:40:12.156Z] ---> ac7dd2677210 [2020-03-17T11:40:12.156Z] Successfully built ac7dd2677210 [2020-03-17T11:40:12.156Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-03-17T11:40:12.993Z] + docker inspect -f . ci-base-image-arm64 [2020-03-17T11:40:12.993Z] . [Pipeline] withDockerContainer [2020-03-17T11:40:13.348Z] prd-ubuntu18.04-docker-arm64-4c-16g-880 does not seem to be running inside a container [2020-03-17T11:40:13.445Z] $ 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 ******** ci-base-image-arm64 cat [2020-03-17T11:40:14.789Z] $ docker top 79db8e421f213870726dc95b3e23b841a3636eb76eddb897b6b2bf0ca9f116e5 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-17T11:40:15.894Z] + make test [2020-03-17T11:40:15.894Z] echo "make test" [2020-03-17T11:40:15.894Z] make test [Pipeline] } [2020-03-17T11:40:15.936Z] $ docker stop --time=1 79db8e421f213870726dc95b3e23b841a3636eb76eddb897b6b2bf0ca9f116e5 [2020-03-17T11:40:17.941Z] $ docker rm -f 79db8e421f213870726dc95b3e23b841a3636eb76eddb897b6b2bf0ca9f116e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-17T11:40:19.057Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-17T11:40:19.407Z] + ls -al . [2020-03-17T11:40:19.407Z] total 192 [2020-03-17T11:40:19.407Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 11:37 . [2020-03-17T11:40:19.407Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 11:37 .. [2020-03-17T11:40:19.407Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 11:37 .git [2020-03-17T11:40:19.407Z] -rw-rw-r-- 1 jenkins jenkins 176 Mar 17 11:37 .gitignore [2020-03-17T11:40:19.407Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 11:37 .semver [2020-03-17T11:40:19.407Z] -rw-rw-r-- 1 jenkins jenkins 3104 Mar 17 11:37 Attribution.txt [2020-03-17T11:40:19.407Z] -rw-rw-r-- 1 jenkins jenkins 4941 Mar 17 11:37 CHANGES [2020-03-17T11:40:19.407Z] -rw-rw-r-- 1 jenkins jenkins 108574 Mar 17 11:37 Doxyfile [2020-03-17T11:40:19.407Z] -rw-rw-r-- 1 jenkins jenkins 792 Mar 17 11:37 Jenkinsfile [2020-03-17T11:40:19.407Z] -rw-rw-r-- 1 jenkins jenkins 10174 Mar 17 11:37 LICENSE [2020-03-17T11:40:19.407Z] -rw-rw-r-- 1 jenkins jenkins 448 Mar 17 11:37 Makefile [2020-03-17T11:40:19.407Z] -rw-rw-r-- 1 jenkins jenkins 1849 Mar 17 11:37 README.md [2020-03-17T11:40:19.407Z] -rw-rw-r-- 1 jenkins jenkins 5031 Mar 17 11:37 README.v2.md [2020-03-17T11:40:19.407Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 11:35 VERSION [2020-03-17T11:40:19.407Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 11:37 docs [2020-03-17T11:40:19.407Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 11:37 include [2020-03-17T11:40:19.407Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 11:37 scripts [2020-03-17T11:40:19.407Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 11:37 src [Pipeline] isUnix [Pipeline] sh [2020-03-17T11:40:19.766Z] + docker build -t docker-device-sdk-c-arm64 -f scripts/Dockerfile.alpine-3.9 --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=b874de37f685f80811dda6a872c318d6d9f491d1 --label arch=arm64 --label version=0.0.0 . [2020-03-17T11:40:20.040Z] Sending build context to Docker daemon 2.903MB [2020-03-17T11:40:20.309Z] Step 1/15 : ARG BASE=alpine:3.9 [2020-03-17T11:40:20.309Z] Step 2/15 : FROM ${BASE} [2020-03-17T11:40:20.309Z] ---> ac7dd2677210 [2020-03-17T11:40:20.309Z] Step 3/15 : MAINTAINER IOTech [2020-03-17T11:40:20.577Z] ---> Running in 09139f80bf7d [2020-03-17T11:40:20.845Z] Removing intermediate container 09139f80bf7d [2020-03-17T11:40:20.845Z] ---> 143ae9c158fc [2020-03-17T11:40:20.845Z] 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 [2020-03-17T11:40:20.845Z] ---> Running in d1651bbd72f4 [2020-03-17T11:40:21.812Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-03-17T11:40:22.078Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-03-17T11:40:22.346Z] (1/21) Installing pkgconf (1.6.0-r0) [2020-03-17T11:40:22.346Z] (2/21) Installing openssl-dev (1.1.1d-r2) [2020-03-17T11:40:22.933Z] (3/21) Installing zlib-dev (1.2.11-r1) [2020-03-17T11:40:22.933Z] (4/21) Installing libssh2-dev (1.9.0-r1) [2020-03-17T11:40:22.933Z] (5/21) Installing nghttp2-dev (1.35.1-r1) [2020-03-17T11:40:22.933Z] (6/21) Installing curl-dev (7.64.0-r3) [2020-03-17T11:40:22.933Z] (7/21) Installing gnutls-c++ (3.6.7-r0) [2020-03-17T11:40:22.933Z] (8/21) Installing libgmpxx (6.1.2-r1) [2020-03-17T11:40:22.933Z] (9/21) Installing gmp-dev (6.1.2-r1) [2020-03-17T11:40:22.933Z] (10/21) Installing nettle-dev (3.4.1-r0) [2020-03-17T11:40:23.521Z] (11/21) Installing libtasn1-dev (4.14-r0) [2020-03-17T11:40:23.521Z] (12/21) Installing p11-kit-dev (0.23.14-r0) [2020-03-17T11:40:23.521Z] (13/21) Installing gnutls-dev (3.6.7-r0) [2020-03-17T11:40:23.521Z] (14/21) Installing libmicrohttpd-dev (0.9.62-r0) [2020-03-17T11:40:23.521Z] (15/21) Installing ncurses-dev (6.1_p20190105-r0) [2020-03-17T11:40:23.521Z] (16/21) Installing libblkid (2.33-r0) [2020-03-17T11:40:23.521Z] (17/21) Installing libfdisk (2.33-r0) [2020-03-17T11:40:23.521Z] (18/21) Installing libmount (2.33-r0) [2020-03-17T11:40:23.521Z] (19/21) Installing libsmartcols (2.33-r0) [2020-03-17T11:40:23.521Z] (20/21) Installing util-linux-dev (2.33-r0) [2020-03-17T11:40:23.521Z] (21/21) Installing yaml-dev (0.2.1-r0) [2020-03-17T11:40:23.521Z] Executing busybox-1.29.3-r10.trigger [2020-03-17T11:40:23.789Z] OK: 279 MiB in 83 packages [2020-03-17T11:40:27.136Z] Removing intermediate container d1651bbd72f4 [2020-03-17T11:40:27.137Z] ---> f8350873cc95 [2020-03-17T11:40:27.137Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-03-17T11:40:27.137Z] ---> daa458cf2c9f [2020-03-17T11:40:27.137Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-03-17T11:40:28.101Z] ---> 1bb7b44b0631 [2020-03-17T11:40:28.101Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-03-17T11:40:28.370Z] ---> b02741f77e7b [2020-03-17T11:40:28.370Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-03-17T11:40:28.968Z] ---> d53a1b19a3b4 [2020-03-17T11:40:28.968Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-03-17T11:40:29.554Z] ---> be601d287244 [2020-03-17T11:40:29.554Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-03-17T11:40:29.823Z] ---> 85e6c47a8381 [2020-03-17T11:40:29.823Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-03-17T11:40:30.091Z] ---> Running in 75874e5e1b38 [2020-03-17T11:40:30.362Z] Removing intermediate container 75874e5e1b38 [2020-03-17T11:40:30.362Z] ---> d1e04eb63d75 [2020-03-17T11:40:30.362Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-03-17T11:40:30.630Z] ---> Running in 83366a129b4d [2020-03-17T11:40:30.900Z] Removing intermediate container 83366a129b4d [2020-03-17T11:40:30.900Z] ---> affe85d8f38c [2020-03-17T11:40:30.900Z] Step 13/15 : LABEL arch=arm64 [2020-03-17T11:40:30.900Z] ---> Running in 3c4b8dff22da [2020-03-17T11:40:31.167Z] Removing intermediate container 3c4b8dff22da [2020-03-17T11:40:31.167Z] ---> 2768d6ef4cad [2020-03-17T11:40:31.167Z] Step 14/15 : LABEL git_sha=b874de37f685f80811dda6a872c318d6d9f491d1 [2020-03-17T11:40:31.436Z] ---> Running in d4c5c50169b5 [2020-03-17T11:40:31.703Z] Removing intermediate container d4c5c50169b5 [2020-03-17T11:40:31.703Z] ---> 97a737ef1d98 [2020-03-17T11:40:31.703Z] Step 15/15 : LABEL version=0.0.0 [2020-03-17T11:40:31.974Z] ---> Running in 8102142f1904 [2020-03-17T11:40:32.240Z] Removing intermediate container 8102142f1904 [2020-03-17T11:40:32.240Z] ---> 42ee640fde7c [2020-03-17T11:40:32.240Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2020-03-17T11:40:32.240Z] Successfully built 42ee640fde7c [2020-03-17T11:40:32.240Z] 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] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [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 [2020-03-17T11:40:35.140Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-17T11:40:35.789Z] ---> package-listing.sh [2020-03-17T11:40:35.789Z] ++ facter osfamily [2020-03-17T11:40:35.789Z] ++ tr '[:upper:]' '[:lower:]' [2020-03-17T11:40:35.789Z] + OS_FAMILY=redhat [2020-03-17T11:40:35.789Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-243 [2020-03-17T11:40:35.789Z] + START_PACKAGES=/tmp/packages_start.txt [2020-03-17T11:40:35.789Z] + END_PACKAGES=/tmp/packages_end.txt [2020-03-17T11:40:35.789Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-03-17T11:40:35.789Z] + PACKAGES=/tmp/packages_start.txt [2020-03-17T11:40:35.789Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-243 ']' [2020-03-17T11:40:35.789Z] + PACKAGES=/tmp/packages_end.txt [2020-03-17T11:40:35.789Z] + case "${OS_FAMILY}" in [2020-03-17T11:40:35.789Z] + rpm -qa [2020-03-17T11:40:35.789Z] + sort [2020-03-17T11:40:42.460Z] + '[' -f /tmp/packages_start.txt ']' [2020-03-17T11:40:42.460Z] + '[' -f /tmp/packages_end.txt ']' [2020-03-17T11:40:42.460Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-03-17T11:40:42.460Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-243 ']' [2020-03-17T11:40:42.460Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-243/archives/ [2020-03-17T11:40:42.460Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-243/archives/ [Pipeline] isUnix [Pipeline] sh [2020-03-17T11:40:42.996Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-17T11:40:42.996Z] [2020-03-17T11:40:42.996Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-03-17T11:40:43.491Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-17T11:40:43.492Z] alpine: Pulling from edgex-lftools-log-publisher [2020-03-17T11:40:43.492Z] c9b1b535fdd9: Pulling fs layer [2020-03-17T11:40:43.492Z] 2cc5ad85d9ab: Pulling fs layer [2020-03-17T11:40:43.492Z] 756a868c4378: Pulling fs layer [2020-03-17T11:40:43.492Z] 444b2fc9a129: Pulling fs layer [2020-03-17T11:40:43.492Z] ea15f1150254: Pulling fs layer [2020-03-17T11:40:43.492Z] 41b27a9f41bf: Pulling fs layer [2020-03-17T11:40:43.492Z] 28c525ee5125: Pulling fs layer [2020-03-17T11:40:43.492Z] 094b1ea09ed8: Pulling fs layer [2020-03-17T11:40:43.492Z] 138eaada9080: Pulling fs layer [2020-03-17T11:40:43.492Z] 0622d0fa9048: Pulling fs layer [2020-03-17T11:40:43.492Z] 41b27a9f41bf: Waiting [2020-03-17T11:40:43.492Z] 28c525ee5125: Waiting [2020-03-17T11:40:43.492Z] 094b1ea09ed8: Waiting [2020-03-17T11:40:43.492Z] 138eaada9080: Waiting [2020-03-17T11:40:43.492Z] 0622d0fa9048: Waiting [2020-03-17T11:40:43.492Z] ea15f1150254: Waiting [2020-03-17T11:40:43.492Z] 444b2fc9a129: Waiting [2020-03-17T11:40:43.492Z] 2cc5ad85d9ab: Verifying Checksum [2020-03-17T11:40:43.492Z] 2cc5ad85d9ab: Download complete [2020-03-17T11:40:43.492Z] 444b2fc9a129: Download complete [2020-03-17T11:40:44.240Z] c9b1b535fdd9: Verifying Checksum [2020-03-17T11:40:44.240Z] ea15f1150254: Verifying Checksum [2020-03-17T11:40:44.240Z] ea15f1150254: Download complete [2020-03-17T11:40:44.641Z] c9b1b535fdd9: Pull complete [2020-03-17T11:40:44.641Z] 28c525ee5125: Verifying Checksum [2020-03-17T11:40:44.641Z] 28c525ee5125: Download complete [2020-03-17T11:40:44.641Z] 2cc5ad85d9ab: Pull complete [2020-03-17T11:40:45.463Z] 756a868c4378: Verifying Checksum [2020-03-17T11:40:45.463Z] 756a868c4378: Download complete [2020-03-17T11:40:45.938Z] 138eaada9080: Verifying Checksum [2020-03-17T11:40:45.938Z] 138eaada9080: Download complete [2020-03-17T11:40:45.938Z] 0622d0fa9048: Download complete [2020-03-17T11:40:46.220Z] 094b1ea09ed8: Verifying Checksum [2020-03-17T11:40:46.220Z] 094b1ea09ed8: Download complete [2020-03-17T11:40:46.498Z] 41b27a9f41bf: Verifying Checksum [2020-03-17T11:40:46.498Z] 41b27a9f41bf: Download complete [2020-03-17T11:40:47.975Z] 756a868c4378: Pull complete [2020-03-17T11:40:47.975Z] 444b2fc9a129: Pull complete [2020-03-17T11:40:48.595Z] ea15f1150254: Pull complete [2020-03-17T11:40:54.242Z] 41b27a9f41bf: Pull complete [2020-03-17T11:40:54.242Z] 28c525ee5125: Pull complete [2020-03-17T11:40:57.652Z] 094b1ea09ed8: Pull complete [2020-03-17T11:40:58.251Z] 138eaada9080: Pull complete [2020-03-17T11:40:59.224Z] 0622d0fa9048: Pull complete [2020-03-17T11:40:59.224Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-03-17T11:40:59.224Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-03-17T11:40:59.522Z] prd-centos7-docker-4c-2g-879 does not seem to be running inside a container [2020-03-17T11:40:59.705Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/edgexfoundry_device-sdk-c_PR-243 -v /w/workspace/edgexfoundry_device-sdk-c_PR-243:/w/workspace/edgexfoundry_device-sdk-c_PR-243:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-243@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-243@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-03-17T11:41:01.537Z] $ docker top 5d8754f5dfaa1439d9e13ceb2d44cbae3b8f994df1461492690ffd2a477cbdbd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-03-17T11:41:02.010Z] provisioning config files... [2020-03-17T11:41:02.053Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-243@tmp/config1977374015809202204tmp [Pipeline] { [Pipeline] echo [2020-03-17T11:41:02.199Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-17T11:41:03.031Z] ---> create-netrc.sh [Pipeline] echo [2020-03-17T11:41:03.062Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-17T11:41:03.885Z] ---> logs-deploy.sh [2020-03-17T11:41:03.885Z] + ARCHIVE_ARTIFACTS= [2020-03-17T11:41:03.885Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-03-17T11:41:03.885Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-03-17T11:41:03.885Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-03-17T11:41:03.885Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-243/1 [2020-03-17T11:41:03.885Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-243/1/ [2020-03-17T11:41:03.885Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-243/1 /w/workspace/edgexfoundry_device-sdk-c_PR-243 [2020-03-17T11:41:05.925Z] Archives upload complete. [2020-03-17T11:41:05.925Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-243/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-243/1/