Pull request #276 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 30833741be385c2fbeaeb574101e7255740ec0e4+0776142c6d3161b910df185b7a9c1c513e53f5f6 (c0399c7912f090e2811d14e043b2c4e2310463a2) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 370697454611dc68c0596e0d0a50477a8de841a8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 370697454611dc68c0596e0d0a50477a8de841a8 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-276/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > 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 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-3.11-base, dockerFilePath:scripts/Dockerfile.alpine-3.11, 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.11 DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-3.11-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 SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-5150 in /w/workspace/edgexfoundry_device-sdk-c_PR-276 [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-276 # 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/276/head:refs/remotes/origin/PR-276 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 0776142c6d3161b910df185b7a9c1c513e53f5f6 into PR head commit 30833741be385c2fbeaeb574101e7255740ec0e4 Merge succeeded, producing 30833741be385c2fbeaeb574101e7255740ec0e4 Checking out Revision 30833741be385c2fbeaeb574101e7255740ec0e4 (PR-276) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/276/head:refs/remotes/origin/PR-276 # 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/276/head:refs/remotes/origin/PR-276 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 30833741be385c2fbeaeb574101e7255740ec0e4 # 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 0776142c6d3161b910df185b7a9c1c513e53f5f6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 30833741be385c2fbeaeb574101e7255740ec0e4 # timeout=10 Commit message: "refactor: Remove unimplemented config options" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-07-03T15:09:39.858Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-07-03T15:09:40.089Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-07-03T15:09:40.213Z] ========================================================= [2020-07-03T15:09:40.214Z] EdgeX Global Pipelines Version Info [2020-07-03T15:09:40.214Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-07-03T15:09:42.119Z] ------------------- [2020-07-03T15:09:42.119Z] stable info: [2020-07-03T15:09:42.119Z] ------------------- [2020-07-03T15:09:42.119Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-07-03T15:09:42.119Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-07-03T15:09:42.119Z] Message: update stable to v1.0.89 [2020-07-03T15:09:43.061Z] ------------------- [2020-07-03T15:09:43.061Z] experimental info: [2020-07-03T15:09:43.061Z] ------------------- [2020-07-03T15:09:43.061Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-07-03T15:09:43.061Z] Commit SHA: 50d5b24b0ab5f81d75c339234d0e2512bee9338e [2020-07-03T15:09:43.061Z] Message: update experimental to v1.0.91 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-07-03T15:09:44.909Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-03T15:09:45.178Z] [2020-07-03T15:09:45.178Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-07-03T15:09:45.536Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-03T15:09:45.536Z] latest: Pulling from edgex-devops/git-semver [2020-07-03T15:09:45.536Z] 9123ac7c32f7: Pulling fs layer [2020-07-03T15:09:45.536Z] b8cc5d1170e3: Pulling fs layer [2020-07-03T15:09:45.536Z] 2924cbbf6a41: Pulling fs layer [2020-07-03T15:09:45.536Z] 93b08a4f1073: Pulling fs layer [2020-07-03T15:09:45.536Z] 93b08a4f1073: Waiting [2020-07-03T15:09:45.536Z] b8cc5d1170e3: Verifying Checksum [2020-07-03T15:09:45.536Z] b8cc5d1170e3: Download complete [2020-07-03T15:09:45.536Z] 9123ac7c32f7: Verifying Checksum [2020-07-03T15:09:45.536Z] 9123ac7c32f7: Download complete [2020-07-03T15:09:45.801Z] 93b08a4f1073: Verifying Checksum [2020-07-03T15:09:45.801Z] 93b08a4f1073: Download complete [2020-07-03T15:09:45.801Z] 2924cbbf6a41: Verifying Checksum [2020-07-03T15:09:45.801Z] 2924cbbf6a41: Download complete [2020-07-03T15:09:46.062Z] 9123ac7c32f7: Pull complete [2020-07-03T15:09:46.062Z] b8cc5d1170e3: Pull complete [2020-07-03T15:09:47.007Z] 2924cbbf6a41: Pull complete [2020-07-03T15:09:47.007Z] 93b08a4f1073: Pull complete [2020-07-03T15:09:47.007Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-07-03T15:09:47.007Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-03T15:09:47.007Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-07-03T15:09:47.129Z] prd-centos7-docker-4c-2g-5150 does not seem to be running inside a container [2020-07-03T15:09:47.173Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-276 -v /w/workspace/edgexfoundry_device-sdk-c_PR-276:/w/workspace/edgexfoundry_device-sdk-c_PR-276:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-276@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-276@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-07-03T15:09:49.378Z] $ docker top 7b70f2f24329c2e9aa12ac8045087fc2c8451dc51866cd4fc887f35e00617739 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-07-03T15:09:49.641Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-03T15:09:49.641Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-03T15:09:49.838Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-03T15:09:49.845Z] $ docker exec 7b70f2f24329c2e9aa12ac8045087fc2c8451dc51866cd4fc887f35e00617739 ssh-agent [2020-07-03T15:09:50.001Z] SSH_AUTH_SOCK=/tmp/ssh-DbeIhzWnulBG/agent.12 [2020-07-03T15:09:50.001Z] SSH_AGENT_PID=17 [2020-07-03T15:09:50.011Z] Running ssh-add (command line suppressed) [2020-07-03T15:09:50.125Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-276@tmp/private_key_7703812809301761584.key (/w/workspace/edgexfoundry_device-sdk-c_PR-276@tmp/private_key_7703812809301761584.key) [2020-07-03T15:09:50.169Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-03T15:09:50.508Z] + git describe --exact-match --tags HEAD [2020-07-03T15:09:50.508Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-07-03T15:09:50.678Z] $ docker exec --env ******** --env ******** 7b70f2f24329c2e9aa12ac8045087fc2c8451dc51866cd4fc887f35e00617739 ssh-agent -k [2020-07-03T15:09:50.791Z] unset SSH_AUTH_SOCK; [2020-07-03T15:09:50.791Z] unset SSH_AGENT_PID; [2020-07-03T15:09:50.791Z] echo Agent pid 17 killed; [2020-07-03T15:09:50.830Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-07-03T15:09:50.934Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-07-03T15:09:50.934Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-07-03T15:09:51.001Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-03T15:09:51.002Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-03T15:09:51.161Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-03T15:09:51.167Z] $ docker exec 7b70f2f24329c2e9aa12ac8045087fc2c8451dc51866cd4fc887f35e00617739 ssh-agent [2020-07-03T15:09:51.324Z] SSH_AUTH_SOCK=/tmp/ssh-RdTlw64y0Tqm/agent.46 [2020-07-03T15:09:51.324Z] SSH_AGENT_PID=51 [2020-07-03T15:09:51.330Z] Running ssh-add (command line suppressed) [2020-07-03T15:09:51.448Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-276@tmp/private_key_1355527490433290558.key (/w/workspace/edgexfoundry_device-sdk-c_PR-276@tmp/private_key_1355527490433290558.key) [2020-07-03T15:09:51.494Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-03T15:09:51.833Z] + git semver init [2020-07-03T15:09:51.833Z] # -> Open(): unable to determine branch for HEAD [2020-07-03T15:09:51.833Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-276/.git [2020-07-03T15:09:51.833Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-276 [2020-07-03T15:09:51.833Z] # $SEMVER_REMOTE_NAME = origin [2020-07-03T15:09:51.833Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-07-03T15:09:51.833Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-07-03T15:09:51.833Z] # $SEMVER_BRANCH = PR-276 [2020-07-03T15:09:51.833Z] # $SEMVER_TEMP = /tmp/semver-668972054 [2020-07-03T15:09:51.833Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2020-07-03T15:09:52.408Z] # '/tmp/semver-668972054' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-276/.semver' [2020-07-03T15:09:52.408Z] # -> Force: false [2020-07-03T15:09:52.408Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-276/.semver [Pipeline] } [2020-07-03T15:09:52.429Z] $ docker exec --env ******** --env ******** 7b70f2f24329c2e9aa12ac8045087fc2c8451dc51866cd4fc887f35e00617739 ssh-agent -k [2020-07-03T15:09:52.546Z] unset SSH_AUTH_SOCK; [2020-07-03T15:09:52.546Z] unset SSH_AGENT_PID; [2020-07-03T15:09:52.546Z] echo Agent pid 51 killed; [2020-07-03T15:09:52.585Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-07-03T15:09:53.033Z] + git semver [Pipeline] } [2020-07-03T15:09:53.062Z] $ docker stop --time=1 7b70f2f24329c2e9aa12ac8045087fc2c8451dc51866cd4fc887f35e00617739 [2020-07-03T15:09:54.482Z] $ docker rm -f 7b70f2f24329c2e9aa12ac8045087fc2c8451dc51866cd4fc887f35e00617739 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-07-03T15:09:55.211Z] Stashed 54 file(s) [Pipeline] echo [2020-07-03T15:09:55.229Z] [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-07-03T15:10:10.607Z] Still waiting to schedule task [2020-07-03T15:10:10.607Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-5150’ [2020-07-03T15:10:10.625Z] Still waiting to schedule task [2020-07-03T15:10:10.625Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-07-03T15:11:50.544Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5151 in /w/workspace/edgexfoundry_device-sdk-c_PR-276 [Pipeline] { [Pipeline] ws [2020-07-03T15:11:50.599Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2020-07-03T15:11:55.264Z] using credential edgex-jenkins-ssh [2020-07-03T15:11:55.298Z] Cloning the remote Git repository [2020-07-03T15:11:55.298Z] Cloning with configured refspecs honoured and without tags [2020-07-03T15:11:55.323Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-07-03T15:11:55.425Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2020-07-03T15:11:55.490Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-07-03T15:11:55.491Z] > git --version # timeout=10 [2020-07-03T15:11:55.515Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-03T15:11:55.578Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/276/head:refs/remotes/origin/PR-276 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-03T15:11:56.571Z] Fetching without tags [2020-07-03T15:11:56.455Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-07-03T15:11:56.477Z] > git config --add remote.origin.fetch +refs/pull/276/head:refs/remotes/origin/PR-276 # timeout=10 [2020-07-03T15:11:56.492Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-03T15:11:56.528Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-07-03T15:11:56.555Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-07-03T15:11:56.556Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-03T15:11:56.567Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/276/head:refs/remotes/origin/PR-276 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-03T15:11:57.065Z] Merging remotes/origin/master commit 0776142c6d3161b910df185b7a9c1c513e53f5f6 into PR head commit 30833741be385c2fbeaeb574101e7255740ec0e4 [2020-07-03T15:11:57.315Z] Merge succeeded, producing 30833741be385c2fbeaeb574101e7255740ec0e4 [2020-07-03T15:11:57.315Z] Checking out Revision 30833741be385c2fbeaeb574101e7255740ec0e4 (PR-276) [2020-07-03T15:11:57.056Z] > git config core.sparsecheckout # timeout=10 [2020-07-03T15:11:57.076Z] > git checkout -f 30833741be385c2fbeaeb574101e7255740ec0e4 # timeout=10 [2020-07-03T15:11:57.188Z] > git remote # timeout=10 [2020-07-03T15:11:57.206Z] > git config --get remote.origin.url # timeout=10 [2020-07-03T15:11:57.228Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-03T15:11:57.239Z] > git merge 0776142c6d3161b910df185b7a9c1c513e53f5f6 # timeout=10 [2020-07-03T15:11:57.267Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-07-03T15:11:57.296Z] > git config core.sparsecheckout # timeout=10 [2020-07-03T15:11:57.374Z] > git checkout -f 30833741be385c2fbeaeb574101e7255740ec0e4 # timeout=10 [2020-07-03T15:12:01.816Z] Commit message: "refactor: Remove unimplemented config options" [2020-07-03T15:12:01.840Z] > git --version # timeout=10 [2020-07-03T15:12:01.855Z] fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-07-03T15:12:03.289Z] ========================================================= [2020-07-03T15:12:03.289Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2020-07-03T15:12:03.289Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-03T15:12:04.552Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-3.11-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2020-07-03T15:12:05.987Z] Sending build context to Docker daemon 3.356MB [2020-07-03T15:12:05.987Z] Step 1/21 : ARG BASE=alpine:3.11 [2020-07-03T15:12:05.987Z] Step 2/21 : FROM ${BASE} as builder [2020-07-03T15:12:05.987Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2020-07-03T15:12:05.987Z] 0362ad1dd800: Pulling fs layer [2020-07-03T15:12:05.987Z] f2cdb1532d8b: Pulling fs layer [2020-07-03T15:12:05.987Z] 37ed683be191: Pulling fs layer [2020-07-03T15:12:06.262Z] f2cdb1532d8b: Verifying Checksum [2020-07-03T15:12:06.262Z] f2cdb1532d8b: Download complete [2020-07-03T15:12:06.262Z] 0362ad1dd800: Download complete [2020-07-03T15:12:06.866Z] 0362ad1dd800: Pull complete [2020-07-03T15:12:07.145Z] f2cdb1532d8b: Pull complete [2020-07-03T15:12:08.593Z] 37ed683be191: Verifying Checksum [2020-07-03T15:12:08.593Z] 37ed683be191: Download complete [2020-07-03T15:12:18.785Z] 37ed683be191: Pull complete [2020-07-03T15:12:18.785Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2020-07-03T15:12:18.785Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2020-07-03T15:12:18.785Z] ---> b23d30803547 [2020-07-03T15:12:18.785Z] 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-07-03T15:12:19.381Z] ---> Running in be14c8191e79 [2020-07-03T15:12:20.821Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-07-03T15:12:21.801Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-07-03T15:12:22.394Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-07-03T15:12:22.394Z] (2/8) Installing libuuid (2.33-r0) [2020-07-03T15:12:22.394Z] (3/8) Installing libblkid (2.33-r0) [2020-07-03T15:12:22.667Z] (4/8) Installing libfdisk (2.33-r0) [2020-07-03T15:12:22.667Z] (5/8) Installing libmount (2.33-r0) [2020-07-03T15:12:22.667Z] (6/8) Installing libsmartcols (2.33-r0) [2020-07-03T15:12:22.939Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-07-03T15:12:23.210Z] (8/8) Installing wget (1.20.3-r0) [2020-07-03T15:12:23.210Z] Executing busybox-1.29.3-r10.trigger [2020-07-03T15:12:23.210Z] OK: 285 MiB in 83 packages [2020-07-03T15:12:24.651Z] Removing intermediate container be14c8191e79 [2020-07-03T15:12:24.651Z] ---> b8ed320fc5cd [2020-07-03T15:12:24.651Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-07-03T15:12:24.923Z] ---> Running in 93f871ac7d2c [2020-07-03T15:12:25.196Z] Removing intermediate container 93f871ac7d2c [2020-07-03T15:12:25.197Z] ---> f51fac20e34b [2020-07-03T15:12:25.197Z] 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-07-03T15:12:25.474Z] ---> Running in 60b54f385bff [2020-07-03T15:12:26.922Z] --2020-07-03 15:12:26-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-07-03T15:12:26.922Z] Resolving github.com... 140.82.114.4 [2020-07-03T15:12:26.922Z] Connecting to github.com|140.82.114.4|:443... connected. [2020-07-03T15:12:26.922Z] HTTP request sent, awaiting response... 302 Found [2020-07-03T15:12:26.922Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-07-03T15:12:26.922Z] --2020-07-03 15:12:26-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-07-03T15:12:26.922Z] Resolving codeload.github.com... 140.82.114.10 [2020-07-03T15:12:27.196Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2020-07-03T15:12:27.196Z] HTTP request sent, awaiting response... 200 OK [2020-07-03T15:12:27.196Z] Length: unspecified [application/x-gzip] [2020-07-03T15:12:27.196Z] Saving to: 'STDOUT' [2020-07-03T15:12:27.196Z]  [2020-07-03T15:12:27.196Z] 0K .......... .......... .......... .......... .......... 1.57M [2020-07-03T15:12:27.196Z] 50K .......... .......... .......... .......... .......... 3.11M [2020-07-03T15:12:27.196Z] 100K .......... .......... .......... .......... .......... 12.8M [2020-07-03T15:12:27.196Z] 150K .......... .......... .......... .......... .......... 3.70M [2020-07-03T15:12:27.196Z] 200K .......... .......... .......... .......... .......... 13.0M [2020-07-03T15:12:27.196Z] 250K .......... .......... .......... .......... .......... 3.84M [2020-07-03T15:12:27.196Z] 300K .......... .......... .......... .......... .......... 6.13M [2020-07-03T15:12:27.196Z] 350K .......... .......... .......... .......... .......... 3.86M [2020-07-03T15:12:27.477Z] 400K .......... .......... .......... .......... .......... 2.30M [2020-07-03T15:12:27.477Z] 450K .......... .......... .......... .......... .......... 2.89M [2020-07-03T15:12:27.477Z] 500K .......... .......... .......... .......... .......... 7.43M [2020-07-03T15:12:27.477Z] 550K .......... .......... .......... .......... .......... 2.92M [2020-07-03T15:12:27.477Z] 600K .......... .......... .......... .......... .......... 815K [2020-07-03T15:12:27.477Z] 650K .......... .......... .......... .......... .......... 2.27M [2020-07-03T15:12:27.477Z] 700K .. 4.27M=0.2s [2020-07-03T15:12:27.477Z] [2020-07-03T15:12:27.477Z] 2020-07-03 15:12:27 (2.79 MB/s) - written to stdout [719348] [2020-07-03T15:12:27.477Z] [2020-07-03T15:12:27.750Z] -- The C compiler identification is GNU 8.3.0 [2020-07-03T15:12:28.023Z] -- The CXX compiler identification is GNU 8.3.0 [2020-07-03T15:12:28.023Z] -- Check for working C compiler: /usr/bin/cc [2020-07-03T15:12:28.297Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-07-03T15:12:28.297Z] -- Detecting C compiler ABI info [2020-07-03T15:12:28.570Z] -- Detecting C compiler ABI info - done [2020-07-03T15:12:28.570Z] -- Detecting C compile features [2020-07-03T15:12:29.162Z] -- Detecting C compile features - done [2020-07-03T15:12:29.162Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-07-03T15:12:29.434Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-07-03T15:12:29.434Z] -- Detecting CXX compiler ABI info [2020-07-03T15:12:29.706Z] -- Detecting CXX compiler ABI info - done [2020-07-03T15:12:29.706Z] -- Detecting CXX compile features [2020-07-03T15:12:30.613Z] Running on prd-centos7-docker-4c-2g-5152 in /w/workspace/edgexfoundry_device-sdk-c_PR-276 [Pipeline] { [Pipeline] ws [2020-07-03T15:12:30.665Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2020-07-03T15:12:31.135Z] -- Detecting CXX compile features - done [2020-07-03T15:12:31.135Z] -- Looking for include file endian.h [2020-07-03T15:12:31.411Z] -- Looking for include file endian.h - found [2020-07-03T15:12:31.411Z] -- Check if the system is big endian [2020-07-03T15:12:31.411Z] -- Searching 16 bit integer [2020-07-03T15:12:31.411Z] -- Looking for sys/types.h [2020-07-03T15:12:31.683Z] -- Looking for sys/types.h - found [2020-07-03T15:12:31.683Z] -- Looking for stdint.h [2020-07-03T15:12:31.956Z] -- Looking for stdint.h - found [2020-07-03T15:12:31.956Z] -- Looking for stddef.h [2020-07-03T15:12:32.229Z] -- Looking for stddef.h - found [2020-07-03T15:12:32.229Z] -- Check size of unsigned short [2020-07-03T15:12:32.502Z] -- Check size of unsigned short - done [2020-07-03T15:12:32.502Z] -- Using unsigned short [2020-07-03T15:12:32.502Z] -- Check if the system is big endian - little endian [2020-07-03T15:12:32.774Z] -- Check size of size_t [2020-07-03T15:12:33.045Z] -- Check size of size_t - done [2020-07-03T15:12:33.045Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-07-03T15:12:33.045Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-07-03T15:12:33.045Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-07-03T15:12:33.045Z] CMake did not find one. [2020-07-03T15:12:33.045Z] [2020-07-03T15:12:33.045Z] Could not find a package configuration file provided by "cJSON" with any of [2020-07-03T15:12:33.045Z] the following names: [2020-07-03T15:12:33.045Z] [2020-07-03T15:12:33.045Z] cJSONConfig.cmake [2020-07-03T15:12:33.045Z] cjson-config.cmake [2020-07-03T15:12:33.045Z] [2020-07-03T15:12:33.045Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-07-03T15:12:33.045Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-07-03T15:12:33.045Z] provides a separate development package or SDK, be sure it has been [2020-07-03T15:12:33.045Z] installed. [2020-07-03T15:12:33.045Z] [2020-07-03T15:12:33.045Z] [2020-07-03T15:12:33.045Z] -- Configuring done [2020-07-03T15:12:33.123Z] using credential edgex-jenkins-ssh [2020-07-03T15:12:33.148Z] Cloning the remote Git repository [2020-07-03T15:12:33.148Z] Cloning with configured refspecs honoured and without tags [2020-07-03T15:12:33.173Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-07-03T15:12:33.317Z] -- Generating done [2020-07-03T15:12:33.317Z] -- Build files have been written to: /tmp/cbor [2020-07-03T15:12:33.317Z] Scanning dependencies of target cbor_shared [2020-07-03T15:12:33.317Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-07-03T15:12:34.099Z] Fetching without tags [2020-07-03T15:12:34.290Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-07-03T15:12:33.253Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2020-07-03T15:12:33.369Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-07-03T15:12:33.369Z] > git --version # timeout=10 [2020-07-03T15:12:33.376Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-03T15:12:33.409Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/276/head:refs/remotes/origin/PR-276 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-03T15:12:34.070Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-07-03T15:12:34.076Z] > git config --add remote.origin.fetch +refs/pull/276/head:refs/remotes/origin/PR-276 # timeout=10 [2020-07-03T15:12:34.083Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-03T15:12:34.092Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-07-03T15:12:34.109Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-07-03T15:12:34.109Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-03T15:12:34.114Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/276/head:refs/remotes/origin/PR-276 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-03T15:12:34.521Z] Merging remotes/origin/master commit 0776142c6d3161b910df185b7a9c1c513e53f5f6 into PR head commit 30833741be385c2fbeaeb574101e7255740ec0e4 [2020-07-03T15:12:34.561Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-07-03T15:12:34.612Z] Merge succeeded, producing 30833741be385c2fbeaeb574101e7255740ec0e4 [2020-07-03T15:12:34.613Z] Checking out Revision 30833741be385c2fbeaeb574101e7255740ec0e4 (PR-276) [2020-07-03T15:12:34.832Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-07-03T15:12:35.427Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-07-03T15:12:34.528Z] > git config core.sparsecheckout # timeout=10 [2020-07-03T15:12:34.538Z] > git checkout -f 30833741be385c2fbeaeb574101e7255740ec0e4 # timeout=10 [2020-07-03T15:12:34.580Z] > git remote # timeout=10 [2020-07-03T15:12:34.586Z] > git config --get remote.origin.url # timeout=10 [2020-07-03T15:12:34.590Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-03T15:12:34.594Z] > git merge 0776142c6d3161b910df185b7a9c1c513e53f5f6 # timeout=10 [2020-07-03T15:12:34.604Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-07-03T15:12:34.615Z] > git config core.sparsecheckout # timeout=10 [2020-07-03T15:12:34.622Z] > git checkout -f 30833741be385c2fbeaeb574101e7255740ec0e4 # timeout=10 [2020-07-03T15:12:35.699Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-07-03T15:12:35.980Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-07-03T15:12:35.980Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-07-03T15:12:36.253Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-07-03T15:12:36.523Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-07-03T15:12:37.116Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-07-03T15:12:37.389Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-07-03T15:12:37.661Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-07-03T15:12:37.931Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-07-03T15:12:38.202Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-07-03T15:12:38.264Z] Commit message: "refactor: Remove unimplemented config options" [2020-07-03T15:12:38.286Z] > git --version # timeout=10 [2020-07-03T15:12:38.295Z] fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [2020-07-03T15:12:38.474Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [2020-07-03T15:12:38.745Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-07-03T15:12:39.015Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [Pipeline] echo [2020-07-03T15:12:39.136Z] ========================================================= [2020-07-03T15:12:39.136Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2020-07-03T15:12:39.137Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-03T15:12:39.298Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-07-03T15:12:39.572Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-07-03T15:12:39.572Z] [ 40%] Linking C shared library libcbor.so [2020-07-03T15:12:39.842Z] [ 40%] Built target cbor_shared [2020-07-03T15:12:39.842Z] Scanning dependencies of target cbor [2020-07-03T15:12:39.842Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-07-03T15:12:39.870Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-3.11-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2020-07-03T15:12:40.132Z] Sending build context to Docker daemon 3.356MB [2020-07-03T15:12:40.132Z] Step 1/21 : ARG BASE=alpine:3.11 [2020-07-03T15:12:40.132Z] Step 2/21 : FROM ${BASE} as builder [2020-07-03T15:12:40.132Z] latest: Pulling from edgex-devops/edgex-gcc-base [2020-07-03T15:12:40.132Z] e7c96db7181b: Pulling fs layer [2020-07-03T15:12:40.132Z] 4c13bbce0fe7: Pulling fs layer [2020-07-03T15:12:40.132Z] 6059c847ac2f: Pulling fs layer [2020-07-03T15:12:40.132Z] 4c13bbce0fe7: Verifying Checksum [2020-07-03T15:12:40.132Z] 4c13bbce0fe7: Download complete [2020-07-03T15:12:40.395Z] e7c96db7181b: Verifying Checksum [2020-07-03T15:12:40.395Z] e7c96db7181b: Download complete [2020-07-03T15:12:40.659Z] e7c96db7181b: Pull complete [2020-07-03T15:12:40.659Z] 4c13bbce0fe7: Pull complete [2020-07-03T15:12:40.813Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-07-03T15:12:41.084Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-07-03T15:12:41.231Z] 6059c847ac2f: Verifying Checksum [2020-07-03T15:12:41.231Z] 6059c847ac2f: Download complete [2020-07-03T15:12:41.354Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-07-03T15:12:42.320Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-07-03T15:12:42.590Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-07-03T15:12:42.859Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-07-03T15:12:43.130Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-07-03T15:12:43.130Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-07-03T15:12:43.719Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-07-03T15:12:44.307Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-07-03T15:12:44.576Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-07-03T15:12:44.847Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-07-03T15:12:45.118Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-07-03T15:12:45.390Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-07-03T15:12:45.483Z] 6059c847ac2f: Pull complete [2020-07-03T15:12:45.483Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2020-07-03T15:12:45.483Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2020-07-03T15:12:45.483Z] ---> 5eabd8fd8ba2 [2020-07-03T15:12:45.483Z] 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-07-03T15:12:45.661Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-07-03T15:12:45.932Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-07-03T15:12:46.202Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-07-03T15:12:46.473Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-07-03T15:12:46.745Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-07-03T15:12:46.745Z] [ 80%] Linking C static library libcbor.a [2020-07-03T15:12:46.892Z] ---> Running in c2c615da84d5 [2020-07-03T15:12:47.019Z] [ 80%] Built target cbor [2020-07-03T15:12:47.019Z] Scanning dependencies of target create_items [2020-07-03T15:12:47.019Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-07-03T15:12:47.292Z] [ 84%] Linking C executable create_items [2020-07-03T15:12:47.292Z] [ 84%] Built target create_items [2020-07-03T15:12:47.292Z] Scanning dependencies of target readfile [2020-07-03T15:12:47.292Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-07-03T15:12:47.464Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-07-03T15:12:47.564Z] [ 88%] Linking C executable readfile [2020-07-03T15:12:47.564Z] [ 88%] Built target readfile [2020-07-03T15:12:47.564Z] Scanning dependencies of target streaming_parser [2020-07-03T15:12:47.564Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-07-03T15:12:47.841Z] [ 92%] Linking C executable streaming_parser [2020-07-03T15:12:47.841Z] [ 92%] Built target streaming_parser [2020-07-03T15:12:47.841Z] Scanning dependencies of target sort [2020-07-03T15:12:48.120Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-07-03T15:12:48.120Z] [ 96%] Linking C executable sort [2020-07-03T15:12:48.120Z] [ 96%] Built target sort [2020-07-03T15:12:48.394Z] Scanning dependencies of target hello [2020-07-03T15:12:48.394Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-07-03T15:12:48.394Z] [100%] Linking C executable hello [2020-07-03T15:12:48.394Z] [100%] Built target hello [2020-07-03T15:12:48.666Z] Install the project... [2020-07-03T15:12:48.666Z] -- Install configuration: "Release" [2020-07-03T15:12:48.666Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-07-03T15:12:48.666Z] -- Installing: /usr/local/lib64/libcbor.a [2020-07-03T15:12:48.666Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-07-03T15:12:48.666Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-07-03T15:12:48.666Z] -- Installing: /usr/local/lib64/libcbor.so [2020-07-03T15:12:48.666Z] -- Up-to-date: /usr/local/include/cbor [2020-07-03T15:12:48.666Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-07-03T15:12:48.666Z] -- Installing: /usr/local/include/cbor/ints.h [2020-07-03T15:12:48.666Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-07-03T15:12:48.666Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-07-03T15:12:48.666Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-07-03T15:12:48.666Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-07-03T15:12:48.666Z] -- Installing: /usr/local/include/cbor/data.h [2020-07-03T15:12:48.666Z] -- Installing: /usr/local/include/cbor/common.h [2020-07-03T15:12:48.666Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-07-03T15:12:48.666Z] -- Installing: /usr/local/include/cbor/strings.h [2020-07-03T15:12:48.666Z] -- Installing: /usr/local/include/cbor/tags.h [2020-07-03T15:12:48.666Z] -- Installing: /usr/local/include/cbor/internal [2020-07-03T15:12:48.666Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-07-03T15:12:48.666Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-07-03T15:12:48.666Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-07-03T15:12:48.666Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-07-03T15:12:48.666Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-07-03T15:12:48.666Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-07-03T15:12:48.666Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-07-03T15:12:48.666Z] -- Installing: /usr/local/include/cbor/maps.h [2020-07-03T15:12:48.666Z] -- Installing: /usr/local/include/cbor.h [2020-07-03T15:12:48.666Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-07-03T15:12:48.851Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-07-03T15:12:49.423Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-07-03T15:12:49.423Z] (2/8) Installing libuuid (2.33-r0) [2020-07-03T15:12:49.423Z] (3/8) Installing libblkid (2.33-r0) [2020-07-03T15:12:49.684Z] (4/8) Installing libfdisk (2.33-r0) [2020-07-03T15:12:49.684Z] (5/8) Installing libmount (2.33-r0) [2020-07-03T15:12:49.684Z] (6/8) Installing libsmartcols (2.33-r0) [2020-07-03T15:12:49.945Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-07-03T15:12:50.207Z] (8/8) Installing wget (1.20.3-r0) [2020-07-03T15:12:50.207Z] Executing busybox-1.29.3-r10.trigger [2020-07-03T15:12:50.207Z] OK: 272 MiB in 83 packages [2020-07-03T15:12:50.640Z] Removing intermediate container 60b54f385bff [2020-07-03T15:12:50.640Z] ---> 66ad9d16a449 [2020-07-03T15:12:50.640Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-07-03T15:12:50.778Z] Removing intermediate container c2c615da84d5 [2020-07-03T15:12:50.778Z] ---> 8a58b6b7fa58 [2020-07-03T15:12:50.778Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-07-03T15:12:50.778Z] ---> Running in d0337fdf5c13 [2020-07-03T15:12:50.912Z] ---> Running in 3c590f4fa635 [2020-07-03T15:12:51.041Z] Removing intermediate container d0337fdf5c13 [2020-07-03T15:12:51.041Z] ---> f4b9063361fb [2020-07-03T15:12:51.041Z] 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-07-03T15:12:51.041Z] ---> Running in d215673060f6 [2020-07-03T15:12:51.984Z] --2020-07-03 15:12:51-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-07-03T15:12:51.984Z] Resolving github.com... 140.82.114.4 [2020-07-03T15:12:51.984Z] Connecting to github.com|140.82.114.4|:443... connected. [2020-07-03T15:12:51.984Z] HTTP request sent, awaiting response... 302 Found [2020-07-03T15:12:51.984Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-07-03T15:12:51.984Z] --2020-07-03 15:12:51-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-07-03T15:12:51.984Z] Resolving codeload.github.com... 140.82.114.10 [2020-07-03T15:12:51.984Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2020-07-03T15:12:51.984Z] HTTP request sent, awaiting response... 200 OK [2020-07-03T15:12:51.984Z] Length: unspecified [application/x-gzip] [2020-07-03T15:12:51.984Z] Saving to: 'STDOUT' [2020-07-03T15:12:51.984Z]  [2020-07-03T15:12:51.984Z] 0K .......... .......... .......... .......... .......... 1.62M [2020-07-03T15:12:51.984Z] 50K .......... .......... .......... .......... .......... 3.92M [2020-07-03T15:12:51.984Z] 100K .......... .......... .......... .......... .......... 12.1M [2020-07-03T15:12:51.984Z] 150K .......... .......... .......... .......... .......... 30.7M [2020-07-03T15:12:51.984Z] 200K .......... .......... .......... .......... .......... 3.52M [2020-07-03T15:12:51.984Z] 250K .......... .......... .......... .......... .......... 11.6M [2020-07-03T15:12:51.984Z] 300K .......... .......... .......... .......... .......... 8.53M [2020-07-03T15:12:51.984Z] 350K .......... .......... .......... .......... .......... 8.17M [2020-07-03T15:12:51.984Z] 400K .......... .......... .......... .......... .......... 9.19M [2020-07-03T15:12:51.984Z] 450K .......... .......... .......... .......... .......... 7.40M [2020-07-03T15:12:51.984Z] 500K .......... .......... .......... .......... .......... 15.3M [2020-07-03T15:12:51.984Z] 550K .......... .......... .......... .......... .......... 5.72M [2020-07-03T15:12:52.246Z] 600K .......... .......... .......... .......... .......... 1.94M [2020-07-03T15:12:52.246Z] 650K .......... .......... .......... .......... .......... 5.44M [2020-07-03T15:12:52.246Z] 700K .. 842K=0.1s [2020-07-03T15:12:52.246Z] [2020-07-03T15:12:52.246Z] 2020-07-03 15:12:52 (4.94 MB/s) - written to stdout [719348] [2020-07-03T15:12:52.246Z] [2020-07-03T15:12:52.246Z] -- The C compiler identification is GNU 8.3.0 [2020-07-03T15:12:52.246Z] -- The CXX compiler identification is GNU 8.3.0 [2020-07-03T15:12:52.246Z] -- Check for working C compiler: /usr/bin/cc [2020-07-03T15:12:52.508Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-07-03T15:12:52.508Z] -- Detecting C compiler ABI info [2020-07-03T15:12:52.508Z] -- Detecting C compiler ABI info - done [2020-07-03T15:12:52.508Z] -- Detecting C compile features [2020-07-03T15:12:52.769Z] -- Detecting C compile features - done [2020-07-03T15:12:52.769Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-07-03T15:12:52.769Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-07-03T15:12:52.769Z] -- Detecting CXX compiler ABI info [2020-07-03T15:12:52.769Z] -- Detecting CXX compiler ABI info - done [2020-07-03T15:12:52.769Z] -- Detecting CXX compile features [2020-07-03T15:12:53.349Z] -- Detecting CXX compile features - done [2020-07-03T15:12:53.349Z] -- Looking for include file endian.h [2020-07-03T15:12:53.349Z] -- Looking for include file endian.h - found [2020-07-03T15:12:53.349Z] -- Check if the system is big endian [2020-07-03T15:12:53.349Z] -- Searching 16 bit integer [2020-07-03T15:12:53.349Z] -- Looking for sys/types.h [2020-07-03T15:12:53.536Z] Removing intermediate container 3c590f4fa635 [2020-07-03T15:12:53.536Z] ---> 6d874f0642bd [2020-07-03T15:12:53.536Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-07-03T15:12:53.609Z] -- Looking for sys/types.h - found [2020-07-03T15:12:53.609Z] -- Looking for stdint.h [2020-07-03T15:12:53.609Z] -- Looking for stdint.h - found [2020-07-03T15:12:53.609Z] -- Looking for stddef.h [2020-07-03T15:12:53.609Z] -- Looking for stddef.h - found [2020-07-03T15:12:53.609Z] -- Check size of unsigned short [2020-07-03T15:12:53.609Z] -- Check size of unsigned short - done [2020-07-03T15:12:53.609Z] -- Using unsigned short [2020-07-03T15:12:53.809Z] ---> 64e73e165089 [2020-07-03T15:12:53.809Z] Step 8/21 : COPY src /tmp/sdk/src [2020-07-03T15:12:53.876Z] -- Check if the system is big endian - little endian [2020-07-03T15:12:53.876Z] -- Check size of size_t [2020-07-03T15:12:53.877Z] -- Check size of size_t - done [2020-07-03T15:12:53.877Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-07-03T15:12:53.877Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-07-03T15:12:53.877Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-07-03T15:12:53.877Z] CMake did not find one. [2020-07-03T15:12:53.877Z] [2020-07-03T15:12:53.877Z] Could not find a package configuration file provided by "cJSON" with any of [2020-07-03T15:12:53.877Z] the following names: [2020-07-03T15:12:53.877Z] [2020-07-03T15:12:53.877Z] cJSONConfig.cmake [2020-07-03T15:12:53.877Z] cjson-config.cmake [2020-07-03T15:12:53.877Z] [2020-07-03T15:12:53.877Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-07-03T15:12:53.877Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-07-03T15:12:53.877Z] provides a separate development package or SDK, be sure it has been [2020-07-03T15:12:53.877Z] installed. [2020-07-03T15:12:53.877Z] [2020-07-03T15:12:53.877Z] [2020-07-03T15:12:53.877Z] -- Configuring done [2020-07-03T15:12:53.877Z] -- Generating done [2020-07-03T15:12:53.877Z] -- Build files have been written to: /tmp/cbor [2020-07-03T15:12:54.137Z] Scanning dependencies of target cbor_shared [2020-07-03T15:12:54.137Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-07-03T15:12:54.137Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-07-03T15:12:54.396Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-07-03T15:12:54.396Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-07-03T15:12:54.657Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-07-03T15:12:54.657Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-07-03T15:12:54.657Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-07-03T15:12:54.657Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-07-03T15:12:54.788Z] ---> 6ba89fee9379 [2020-07-03T15:12:54.788Z] Step 9/21 : COPY include /tmp/sdk/include [2020-07-03T15:12:54.919Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-07-03T15:12:54.919Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-07-03T15:12:54.919Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-07-03T15:12:55.186Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-07-03T15:12:55.186Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-07-03T15:12:55.186Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-07-03T15:12:55.395Z] ---> d8c375986fe0 [2020-07-03T15:12:55.395Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-07-03T15:12:55.446Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-07-03T15:12:55.446Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-07-03T15:12:55.446Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-07-03T15:12:55.707Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-07-03T15:12:55.707Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-07-03T15:12:55.707Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-07-03T15:12:55.707Z] [ 40%] Linking C shared library libcbor.so [2020-07-03T15:12:55.707Z] [ 40%] Built target cbor_shared [2020-07-03T15:12:55.707Z] Scanning dependencies of target cbor [2020-07-03T15:12:55.968Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-07-03T15:12:55.968Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-07-03T15:12:56.235Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-07-03T15:12:56.235Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-07-03T15:12:56.372Z] ---> c6d8e5ff8c49 [2020-07-03T15:12:56.372Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-07-03T15:12:56.495Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-07-03T15:12:56.495Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-07-03T15:12:56.757Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-07-03T15:12:56.757Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-07-03T15:12:56.757Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-07-03T15:12:56.757Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-07-03T15:12:56.966Z] ---> 0954deeeba37 [2020-07-03T15:12:56.966Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-07-03T15:12:57.025Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-07-03T15:12:57.025Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-07-03T15:12:57.285Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-07-03T15:12:57.285Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-07-03T15:12:57.285Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-07-03T15:12:57.285Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-07-03T15:12:57.549Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-07-03T15:12:57.549Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-07-03T15:12:57.549Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-07-03T15:12:57.570Z] ---> 15ba61c6b92f [2020-07-03T15:12:57.570Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-07-03T15:12:57.570Z] ---> Running in b46f490e02f5 [2020-07-03T15:12:57.811Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-07-03T15:12:57.811Z] [ 80%] Linking C static library libcbor.a [2020-07-03T15:12:57.811Z] [ 80%] Built target cbor [2020-07-03T15:12:57.811Z] Scanning dependencies of target create_items [2020-07-03T15:12:57.811Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-07-03T15:12:57.811Z] [ 84%] Linking C executable create_items [2020-07-03T15:12:57.811Z] [ 84%] Built target create_items [2020-07-03T15:12:57.811Z] Scanning dependencies of target readfile [2020-07-03T15:12:57.811Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-07-03T15:12:58.071Z] [ 88%] Linking C executable readfile [2020-07-03T15:12:58.071Z] [ 88%] Built target readfile [2020-07-03T15:12:58.071Z] Scanning dependencies of target streaming_parser [2020-07-03T15:12:58.071Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-07-03T15:12:58.071Z] [ 92%] Linking C executable streaming_parser [2020-07-03T15:12:58.071Z] [ 92%] Built target streaming_parser [2020-07-03T15:12:58.071Z] Scanning dependencies of target sort [2020-07-03T15:12:58.071Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-07-03T15:12:58.071Z] [ 96%] Linking C executable sort [2020-07-03T15:12:58.332Z] [ 96%] Built target sort [2020-07-03T15:12:58.332Z] Scanning dependencies of target hello [2020-07-03T15:12:58.332Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-07-03T15:12:58.332Z] [100%] Linking C executable hello [2020-07-03T15:12:58.332Z] [100%] Built target hello [2020-07-03T15:12:58.332Z] Install the project... [2020-07-03T15:12:58.332Z] -- Install configuration: "Release" [2020-07-03T15:12:58.332Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-07-03T15:12:58.332Z] -- Installing: /usr/local/lib64/libcbor.a [2020-07-03T15:12:58.332Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-07-03T15:12:58.332Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-07-03T15:12:58.332Z] -- Installing: /usr/local/lib64/libcbor.so [2020-07-03T15:12:58.332Z] -- Up-to-date: /usr/local/include/cbor [2020-07-03T15:12:58.332Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-07-03T15:12:58.332Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-07-03T15:12:58.332Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-07-03T15:12:58.332Z] -- Installing: /usr/local/include/cbor/common.h [2020-07-03T15:12:58.332Z] -- Installing: /usr/local/include/cbor/data.h [2020-07-03T15:12:58.333Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-07-03T15:12:58.333Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-07-03T15:12:58.333Z] -- Installing: /usr/local/include/cbor/internal [2020-07-03T15:12:58.333Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-07-03T15:12:58.333Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-07-03T15:12:58.333Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-07-03T15:12:58.333Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-07-03T15:12:58.333Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-07-03T15:12:58.333Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-07-03T15:12:58.333Z] -- Installing: /usr/local/include/cbor/ints.h [2020-07-03T15:12:58.333Z] -- Installing: /usr/local/include/cbor/maps.h [2020-07-03T15:12:58.333Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-07-03T15:12:58.333Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-07-03T15:12:58.333Z] -- Installing: /usr/local/include/cbor/strings.h [2020-07-03T15:12:58.333Z] -- Installing: /usr/local/include/cbor/tags.h [2020-07-03T15:12:58.333Z] -- Installing: /usr/local/include/cbor.h [2020-07-03T15:12:58.333Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-07-03T15:12:59.022Z] + CPPCHECK=false [2020-07-03T15:12:59.022Z] + DOCGEN=false [2020-07-03T15:12:59.022Z] + TOMLVER=SDK-0.2 [2020-07-03T15:12:59.022Z] + CUTILVER=1.0.4 [2020-07-03T15:12:59.022Z] + '[' 0 -gt 0 ] [2020-07-03T15:12:59.022Z] + readlink -f ./scripts/build.sh [2020-07-03T15:12:59.022Z] + dirname /tmp/sdk/scripts/build.sh [2020-07-03T15:12:59.022Z] + dirname /tmp/sdk/scripts [2020-07-03T15:12:59.022Z] + ROOT=/tmp/sdk [2020-07-03T15:12:59.022Z] + cd /tmp/sdk [2020-07-03T15:12:59.022Z] + '[' '!' -d deps ] [2020-07-03T15:12:59.022Z] + mkdir deps [2020-07-03T15:12:59.022Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-07-03T15:12:59.022Z] + tar -C deps -z -x -f - [2020-07-03T15:12:59.022Z] --2020-07-03 15:12:58-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-07-03T15:12:59.022Z] Resolving github.com... 140.82.114.4 [2020-07-03T15:12:59.022Z] Connecting to github.com|140.82.114.4|:443... connected. [2020-07-03T15:12:59.294Z] HTTP request sent, awaiting response... 302 Found [2020-07-03T15:12:59.294Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-07-03T15:12:59.294Z] --2020-07-03 15:12:59-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-07-03T15:12:59.294Z] Resolving codeload.github.com... 140.82.114.10 [2020-07-03T15:12:59.294Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2020-07-03T15:12:59.564Z] HTTP request sent, awaiting response... 200 OK [2020-07-03T15:12:59.564Z] Length: unspecified [application/x-gzip] [2020-07-03T15:12:59.564Z] Saving to: 'STDOUT' [2020-07-03T15:12:59.564Z]  [2020-07-03T15:12:59.564Z] 0K .......... ......  1.08M=0.01s [2020-07-03T15:12:59.564Z] [2020-07-03T15:12:59.564Z] 2020-07-03 15:12:59 (1.08 MB/s) - written to stdout [16451] [2020-07-03T15:12:59.564Z] [2020-07-03T15:12:59.564Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-07-03T15:12:59.564Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-07-03T15:12:59.564Z] + tar -C deps -z -x -f - [2020-07-03T15:12:59.564Z] --2020-07-03 15:12:59-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-07-03T15:12:59.564Z] Resolving github.com... 140.82.114.4 [2020-07-03T15:12:59.564Z] Connecting to github.com|140.82.114.4|:443... connected. [2020-07-03T15:12:59.834Z] HTTP request sent, awaiting response... 302 Found [2020-07-03T15:12:59.834Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] [2020-07-03T15:12:59.834Z] --2020-07-03 15:12:59-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [2020-07-03T15:12:59.834Z] Resolving codeload.github.com... 140.82.114.10 [2020-07-03T15:12:59.834Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2020-07-03T15:13:00.106Z] HTTP request sent, awaiting response... 200 OK [2020-07-03T15:13:00.106Z] Length: unspecified [application/x-gzip] [2020-07-03T15:13:00.106Z] Saving to: 'STDOUT' [2020-07-03T15:13:00.106Z]  [2020-07-03T15:13:00.106Z] 0K .......... .......... .......... .......... .......... 1.64M [2020-07-03T15:13:00.106Z] 50K .......... .......... .......... .......... .......... 2.92M [2020-07-03T15:13:00.106Z] 100K .......... .......... .......... .......... .......... 2.89M [2020-07-03T15:13:00.106Z] 150K ........       12.2M=0.06s [2020-07-03T15:13:00.106Z] [2020-07-03T15:13:00.106Z] 2020-07-03 15:12:59 (2.41 MB/s) - written to stdout [162267] [2020-07-03T15:13:00.106Z] [2020-07-03T15:13:00.106Z] + mkdir -p src/c/iot [2020-07-03T15:13:00.106Z] + cp deps/iotech-c-utils-1.0.4/src/c/base64.c deps/iotech-c-utils-1.0.4/src/c/component.c deps/iotech-c-utils-1.0.4/src/c/container.c deps/iotech-c-utils-1.0.4/src/c/data.c deps/iotech-c-utils-1.0.4/src/c/hash.c deps/iotech-c-utils-1.0.4/src/c/iot.c deps/iotech-c-utils-1.0.4/src/c/json.c deps/iotech-c-utils-1.0.4/src/c/logger.c deps/iotech-c-utils-1.0.4/src/c/os.c deps/iotech-c-utils-1.0.4/src/c/scheduler.c deps/iotech-c-utils-1.0.4/src/c/thread.c deps/iotech-c-utils-1.0.4/src/c/threadpool.c deps/iotech-c-utils-1.0.4/src/c/time.c src/c/iot [2020-07-03T15:13:00.106Z] + mkdir -p include/iot [2020-07-03T15:13:00.106Z] + cp deps/iotech-c-utils-1.0.4/include/iot/base64.h deps/iotech-c-utils-1.0.4/include/iot/component.h deps/iotech-c-utils-1.0.4/include/iot/container.h deps/iotech-c-utils-1.0.4/include/iot/data.h deps/iotech-c-utils-1.0.4/include/iot/hash.h deps/iotech-c-utils-1.0.4/include/iot/iot.h deps/iotech-c-utils-1.0.4/include/iot/json.h deps/iotech-c-utils-1.0.4/include/iot/logger.h deps/iotech-c-utils-1.0.4/include/iot/os.h deps/iotech-c-utils-1.0.4/include/iot/scheduler.h deps/iotech-c-utils-1.0.4/include/iot/thread.h deps/iotech-c-utils-1.0.4/include/iot/threadpool.h deps/iotech-c-utils-1.0.4/include/iot/time.h deps/iotech-c-utils-1.0.4/include/iot/typecode.h include/iot [2020-07-03T15:13:00.106Z] + mkdir -p include/iot/os [2020-07-03T15:13:00.106Z] + cp deps/iotech-c-utils-1.0.4/include/iot/os/linux.h deps/iotech-c-utils-1.0.4/include/iot/os/zephyr.h include/iot/os [2020-07-03T15:13:00.106Z] + mkdir -p /tmp/sdk/build/release [2020-07-03T15:13:00.106Z] + cd /tmp/sdk/build/release [2020-07-03T15:13:00.106Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-07-03T15:13:00.377Z] -- The C compiler identification is GNU 8.3.0 [2020-07-03T15:13:00.648Z] -- Check for working C compiler: /usr/bin/cc [2020-07-03T15:13:00.648Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-07-03T15:13:00.648Z] -- Detecting C compiler ABI info [2020-07-03T15:13:00.877Z] Removing intermediate container d215673060f6 [2020-07-03T15:13:00.877Z] ---> e9733e679ce8 [2020-07-03T15:13:00.877Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-07-03T15:13:00.877Z] ---> Running in 1458f5cb0d4b [2020-07-03T15:13:00.919Z] -- Detecting C compiler ABI info - done [2020-07-03T15:13:00.919Z] -- Detecting C compile features [2020-07-03T15:13:01.450Z] Removing intermediate container 1458f5cb0d4b [2020-07-03T15:13:01.450Z] ---> 6a040dfc46a0 [2020-07-03T15:13:01.450Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-07-03T15:13:01.710Z] ---> a4867cc3399a [2020-07-03T15:13:01.710Z] Step 8/21 : COPY src /tmp/sdk/src [2020-07-03T15:13:01.907Z] -- Detecting C compile features - done [2020-07-03T15:13:01.907Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-07-03T15:13:01.907Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-07-03T15:13:01.907Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-07-03T15:13:01.907Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-07-03T15:13:01.907Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-07-03T15:13:01.907Z] -- C SDK 0.0.0 for Linux [2020-07-03T15:13:01.907Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-07-03T15:13:01.907Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-07-03T15:13:02.178Z] -- Found Curses: /usr/lib/libcurses.so [2020-07-03T15:13:02.178Z] -- Configuring done [2020-07-03T15:13:02.449Z] -- Generating done [2020-07-03T15:13:02.449Z] -- Build files have been written to: /tmp/sdk/build/release [2020-07-03T15:13:02.449Z] + make [2020-07-03T15:13:02.449Z] + tee release.log [2020-07-03T15:13:02.449Z] Scanning dependencies of target csdk [2020-07-03T15:13:02.656Z] ---> 04dd56dbe1b5 [2020-07-03T15:13:02.656Z] Step 9/21 : COPY include /tmp/sdk/include [2020-07-03T15:13:02.656Z] ---> 2d0237812725 [2020-07-03T15:13:02.656Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-07-03T15:13:02.721Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-07-03T15:13:02.921Z] ---> 9a7756cd6a7b [2020-07-03T15:13:02.921Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-07-03T15:13:03.182Z] ---> c195754bfd60 [2020-07-03T15:13:03.182Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-07-03T15:13:03.311Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-07-03T15:13:03.447Z] ---> 89bf5137d894 [2020-07-03T15:13:03.447Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-07-03T15:13:03.447Z] ---> Running in 7d5085833027 [2020-07-03T15:13:03.583Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-07-03T15:13:04.021Z] + CPPCHECK=false [2020-07-03T15:13:04.021Z] + DOCGEN=false [2020-07-03T15:13:04.021Z] + TOMLVER=SDK-0.2 [2020-07-03T15:13:04.021Z] + CUTILVER=1.0.4 [2020-07-03T15:13:04.021Z] + '[' 0 -gt 0 ] [2020-07-03T15:13:04.021Z] + readlink -f ./scripts/build.sh [2020-07-03T15:13:04.021Z] + dirname /tmp/sdk/scripts/build.sh [2020-07-03T15:13:04.021Z] + dirname /tmp/sdk/scripts [2020-07-03T15:13:04.022Z] + ROOT=/tmp/sdk [2020-07-03T15:13:04.022Z] + cd /tmp/sdk [2020-07-03T15:13:04.022Z] + '[' '!' -d deps ] [2020-07-03T15:13:04.022Z] + mkdir deps [2020-07-03T15:13:04.022Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-07-03T15:13:04.022Z] + tar -C deps -z -x -f - [2020-07-03T15:13:04.022Z] --2020-07-03 15:13:03-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-07-03T15:13:04.022Z] Resolving github.com... 140.82.114.4 [2020-07-03T15:13:04.022Z] Connecting to github.com|140.82.114.4|:443... connected. [2020-07-03T15:13:04.022Z] HTTP request sent, awaiting response... 302 Found [2020-07-03T15:13:04.022Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-07-03T15:13:04.022Z] --2020-07-03 15:13:03-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-07-03T15:13:04.022Z] Resolving codeload.github.com... 140.82.114.10 [2020-07-03T15:13:04.022Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2020-07-03T15:13:04.022Z] HTTP request sent, awaiting response... 200 OK [2020-07-03T15:13:04.022Z] Length: unspecified [application/x-gzip] [2020-07-03T15:13:04.022Z] Saving to: 'STDOUT' [2020-07-03T15:13:04.022Z]  [2020-07-03T15:13:04.022Z] 0K .......... ......  1.04M=0.02s [2020-07-03T15:13:04.022Z] [2020-07-03T15:13:04.022Z] 2020-07-03 15:13:03 (1.04 MB/s) - written to stdout [16451] [2020-07-03T15:13:04.022Z] [2020-07-03T15:13:04.022Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-07-03T15:13:04.022Z] + tar+ -C deps -zwget -x -f -O - - [2020-07-03T15:13:04.022Z] https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-07-03T15:13:04.022Z] --2020-07-03 15:13:03-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-07-03T15:13:04.022Z] Resolving github.com... 140.82.114.4 [2020-07-03T15:13:04.022Z] Connecting to github.com|140.82.114.4|:443... connected. [2020-07-03T15:13:04.282Z] HTTP request sent, awaiting response... 302 Found [2020-07-03T15:13:04.282Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] [2020-07-03T15:13:04.282Z] --2020-07-03 15:13:04-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [2020-07-03T15:13:04.282Z] Resolving codeload.github.com... 140.82.114.10 [2020-07-03T15:13:04.282Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2020-07-03T15:13:04.282Z] HTTP request sent, awaiting response... 200 OK [2020-07-03T15:13:04.282Z] Length: unspecified [application/x-gzip] [2020-07-03T15:13:04.282Z] Saving to: 'STDOUT' [2020-07-03T15:13:04.282Z]  [2020-07-03T15:13:04.282Z] 0K .......... .......... .......... .......... .......... 1.61M [2020-07-03T15:13:04.282Z] 50K .......... .......... .......... .......... .......... 7.26M [2020-07-03T15:13:04.282Z] 100K .......... .......... .......... .......... .......... 5.17M [2020-07-03T15:13:04.282Z] 150K ........ 42.0M=0.05s [2020-07-03T15:13:04.282Z] [2020-07-03T15:13:04.282Z] 2020-07-03 15:13:04 (3.31 MB/s) - written to stdout [162267] [2020-07-03T15:13:04.282Z] [2020-07-03T15:13:04.282Z] + mkdir -p src/c/iot [2020-07-03T15:13:04.282Z] + cp deps/iotech-c-utils-1.0.4/src/c/base64.c deps/iotech-c-utils-1.0.4/src/c/component.c deps/iotech-c-utils-1.0.4/src/c/container.c deps/iotech-c-utils-1.0.4/src/c/data.c deps/iotech-c-utils-1.0.4/src/c/hash.c deps/iotech-c-utils-1.0.4/src/c/iot.c deps/iotech-c-utils-1.0.4/src/c/json.c deps/iotech-c-utils-1.0.4/src/c/logger.c deps/iotech-c-utils-1.0.4/src/c/os.c deps/iotech-c-utils-1.0.4/src/c/scheduler.c deps/iotech-c-utils-1.0.4/src/c/thread.c deps/iotech-c-utils-1.0.4/src/c/threadpool.c deps/iotech-c-utils-1.0.4/src/c/time.c src/c/iot [2020-07-03T15:13:04.282Z] + mkdir -p include/iot [2020-07-03T15:13:04.282Z] + cp deps/iotech-c-utils-1.0.4/include/iot/base64.h deps/iotech-c-utils-1.0.4/include/iot/component.h deps/iotech-c-utils-1.0.4/include/iot/container.h deps/iotech-c-utils-1.0.4/include/iot/data.h deps/iotech-c-utils-1.0.4/include/iot/hash.h deps/iotech-c-utils-1.0.4/include/iot/iot.h deps/iotech-c-utils-1.0.4/include/iot/json.h deps/iotech-c-utils-1.0.4/include/iot/logger.h deps/iotech-c-utils-1.0.4/include/iot/os.h deps/iotech-c-utils-1.0.4/include/iot/scheduler.h deps/iotech-c-utils-1.0.4/include/iot/thread.h deps/iotech-c-utils-1.0.4/include/iot/threadpool.h deps/iotech-c-utils-1.0.4/include/iot/time.h deps/iotech-c-utils-1.0.4/include/iot/typecode.h include/iot [2020-07-03T15:13:04.282Z] + mkdir -p include/iot/os [2020-07-03T15:13:04.282Z] + cp deps/iotech-c-utils-1.0.4/include/iot/os/linux.h deps/iotech-c-utils-1.0.4/include/iot/os/zephyr.h include/iot/os [2020-07-03T15:13:04.282Z] + mkdir -p /tmp/sdk/build/release [2020-07-03T15:13:04.282Z] + cd /tmp/sdk/build/release [2020-07-03T15:13:04.282Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-07-03T15:13:04.547Z] -- The C compiler identification is GNU 8.3.0 [2020-07-03T15:13:04.547Z] -- Check for working C compiler: /usr/bin/cc [2020-07-03T15:13:04.547Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-07-03T15:13:04.547Z] -- Detecting C compiler ABI info [2020-07-03T15:13:04.547Z] -- Detecting C compiler ABI info - done [2020-07-03T15:13:04.547Z] -- Detecting C compile features [2020-07-03T15:13:04.810Z] -- Detecting C compile features - done [2020-07-03T15:13:04.810Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-07-03T15:13:04.810Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-07-03T15:13:04.810Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-07-03T15:13:04.810Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-07-03T15:13:04.810Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-07-03T15:13:04.810Z] -- C SDK 0.0.0 for Linux [2020-07-03T15:13:04.811Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-07-03T15:13:05.082Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-07-03T15:13:05.082Z] -- Found Curses: /usr/lib/libcurses.so [2020-07-03T15:13:05.082Z] -- Configuring done [2020-07-03T15:13:05.082Z] -- Generating done [2020-07-03T15:13:05.082Z] -- Build files have been written to: /tmp/sdk/build/release [2020-07-03T15:13:05.082Z] + make [2020-07-03T15:13:05.082Z] + tee release.log [2020-07-03T15:13:05.082Z] Scanning dependencies of target csdk [2020-07-03T15:13:05.082Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-07-03T15:13:05.345Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-07-03T15:13:05.345Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-07-03T15:13:05.546Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-07-03T15:13:05.819Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-07-03T15:13:05.925Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-07-03T15:13:05.926Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-07-03T15:13:06.090Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-07-03T15:13:06.194Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-07-03T15:13:06.194Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-07-03T15:13:06.767Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-07-03T15:13:07.028Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-07-03T15:13:07.028Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-07-03T15:13:07.068Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-07-03T15:13:07.289Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-07-03T15:13:07.289Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-07-03T15:13:07.289Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-07-03T15:13:07.551Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-07-03T15:13:08.493Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-07-03T15:13:08.493Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-07-03T15:13:08.493Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-07-03T15:13:08.757Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-07-03T15:13:09.029Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-07-03T15:13:09.329Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-07-03T15:13:09.329Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-07-03T15:13:09.329Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-07-03T15:13:09.329Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-07-03T15:13:09.590Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-07-03T15:13:09.590Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-07-03T15:13:09.621Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-07-03T15:13:09.850Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-07-03T15:13:09.851Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-07-03T15:13:10.112Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-07-03T15:13:10.112Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-07-03T15:13:10.212Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-07-03T15:13:10.373Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-07-03T15:13:10.373Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-07-03T15:13:10.633Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-07-03T15:13:10.807Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-07-03T15:13:10.807Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-07-03T15:13:11.081Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-07-03T15:13:11.353Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-07-03T15:13:11.575Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-07-03T15:13:11.839Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-07-03T15:13:11.839Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-07-03T15:13:12.103Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-07-03T15:13:12.365Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-07-03T15:13:12.936Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-07-03T15:13:13.879Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-07-03T15:13:13.879Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-07-03T15:13:14.142Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-07-03T15:13:14.142Z] [ 74%] Linking C shared library libcsdk.so [2020-07-03T15:13:14.403Z] [ 74%] Built target csdk [2020-07-03T15:13:14.403Z] Scanning dependencies of target template [2020-07-03T15:13:14.403Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-07-03T15:13:14.403Z] [ 78%] Linking C executable template [2020-07-03T15:13:14.664Z] [ 78%] Built target template [2020-07-03T15:13:14.664Z] Scanning dependencies of target device-counter [2020-07-03T15:13:14.664Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-07-03T15:13:14.664Z] [ 81%] Linking C executable device-counter [2020-07-03T15:13:14.664Z] [ 81%] Built target device-counter [2020-07-03T15:13:14.664Z] Scanning dependencies of target device-random [2020-07-03T15:13:14.664Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-07-03T15:13:14.729Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-07-03T15:13:14.925Z] [ 85%] Linking C executable device-random [2020-07-03T15:13:14.925Z] [ 85%] Built target device-random [2020-07-03T15:13:14.925Z] Scanning dependencies of target device-gyro [2020-07-03T15:13:14.925Z] [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-07-03T15:13:15.002Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-07-03T15:13:15.185Z] [ 89%] Linking C executable device-gyro [2020-07-03T15:13:15.185Z] [ 89%] Built target device-gyro [2020-07-03T15:13:15.185Z] Scanning dependencies of target template-discovery [2020-07-03T15:13:15.185Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-07-03T15:13:15.185Z] [ 92%] Linking C executable template-discovery [2020-07-03T15:13:15.279Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-07-03T15:13:15.446Z] [ 92%] Built target template-discovery [2020-07-03T15:13:15.446Z] Scanning dependencies of target device-terminal [2020-07-03T15:13:15.446Z] [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-07-03T15:13:15.446Z] [ 96%] Linking C executable device-terminal [2020-07-03T15:13:15.708Z] [ 96%] Built target device-terminal [2020-07-03T15:13:15.708Z] Scanning dependencies of target templatev1 [2020-07-03T15:13:15.708Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-07-03T15:13:15.708Z] [100%] Linking C executable templatev1 [2020-07-03T15:13:15.708Z] [100%] Built target templatev1 [2020-07-03T15:13:15.874Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-07-03T15:13:15.975Z] + make package [2020-07-03T15:13:15.975Z] + tee -a release.log [2020-07-03T15:13:15.975Z] [ 74%] Built target csdk [2020-07-03T15:13:15.975Z] [ 78%] Built target template [2020-07-03T15:13:15.975Z] [ 81%] Built target device-counter [2020-07-03T15:13:15.975Z] [ 85%] Built target device-random [2020-07-03T15:13:15.975Z] [ 89%] Built target device-gyro [2020-07-03T15:13:15.975Z] [ 92%] Built target template-discovery [2020-07-03T15:13:15.975Z] [ 96%] Built target device-terminal [2020-07-03T15:13:15.975Z] [100%] Built target templatev1 [2020-07-03T15:13:15.975Z] Run CPack packaging tool... [2020-07-03T15:13:16.237Z] CPack: Create package using TGZ [2020-07-03T15:13:16.237Z] CPack: Install projects [2020-07-03T15:13:16.237Z] CPack: - Run preinstall target for: Csdk [2020-07-03T15:13:16.237Z] CPack: - Install project: Csdk [2020-07-03T15:13:16.237Z] CPack: Create package [2020-07-03T15:13:16.237Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2020-07-03T15:13:16.237Z] + '[' false '=' true ] [2020-07-03T15:13:16.237Z] + '[' false '=' true ] [2020-07-03T15:13:16.237Z] + mkdir -p /tmp/sdk/build/debug [2020-07-03T15:13:16.237Z] + cd /tmp/sdk/build/debug [2020-07-03T15:13:16.237Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-07-03T15:13:16.498Z] -- The C compiler identification is GNU 8.3.0 [2020-07-03T15:13:16.498Z] -- Check for working C compiler: /usr/bin/cc [2020-07-03T15:13:16.498Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-07-03T15:13:16.498Z] -- Detecting C compiler ABI info [2020-07-03T15:13:16.498Z] -- Detecting C compiler ABI info - done [2020-07-03T15:13:16.498Z] -- Detecting C compile features [2020-07-03T15:13:16.762Z] -- Detecting C compile features - done [2020-07-03T15:13:16.763Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-07-03T15:13:16.763Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-07-03T15:13:16.763Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-07-03T15:13:16.763Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-07-03T15:13:16.763Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-07-03T15:13:16.763Z] -- C SDK 0.0.0 for Linux [2020-07-03T15:13:16.763Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-07-03T15:13:17.025Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-07-03T15:13:17.025Z] -- Found Curses: /usr/lib/libcurses.so [2020-07-03T15:13:17.025Z] -- Configuring done [2020-07-03T15:13:17.025Z] -- Generating done [2020-07-03T15:13:17.025Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-07-03T15:13:17.025Z] + make [2020-07-03T15:13:17.025Z] + tee debug.log [2020-07-03T15:13:17.025Z] Scanning dependencies of target csdk [2020-07-03T15:13:17.025Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-07-03T15:13:17.287Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-07-03T15:13:17.287Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-07-03T15:13:17.548Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-07-03T15:13:17.548Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-07-03T15:13:17.548Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-07-03T15:13:17.548Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-07-03T15:13:17.809Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-07-03T15:13:17.809Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-07-03T15:13:18.069Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-07-03T15:13:18.069Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-07-03T15:13:18.069Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-07-03T15:13:18.331Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-07-03T15:13:18.331Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-07-03T15:13:18.485Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-07-03T15:13:18.485Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-07-03T15:13:18.486Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-07-03T15:13:18.593Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-07-03T15:13:18.593Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-07-03T15:13:18.593Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-07-03T15:13:18.854Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-07-03T15:13:18.854Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-07-03T15:13:18.854Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-07-03T15:13:19.079Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-07-03T15:13:19.114Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-07-03T15:13:19.115Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-07-03T15:13:19.115Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-07-03T15:13:19.115Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-07-03T15:13:19.354Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-07-03T15:13:19.375Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-07-03T15:13:19.375Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-07-03T15:13:19.375Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-07-03T15:13:19.375Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-07-03T15:13:19.628Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-07-03T15:13:19.634Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-07-03T15:13:19.634Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-07-03T15:13:19.634Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-07-03T15:13:19.894Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-07-03T15:13:20.155Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-07-03T15:13:20.155Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-07-03T15:13:20.155Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-07-03T15:13:20.417Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-07-03T15:13:20.598Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-07-03T15:13:20.678Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-07-03T15:13:20.678Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-07-03T15:13:20.869Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-07-03T15:13:20.939Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-07-03T15:13:20.939Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-07-03T15:13:20.939Z] [ 74%] Linking C shared library libcsdk.so [2020-07-03T15:13:21.199Z] [ 74%] Built target csdk [2020-07-03T15:13:21.199Z] Scanning dependencies of target template [2020-07-03T15:13:21.199Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-07-03T15:13:21.199Z] [ 78%] Linking C executable template [2020-07-03T15:13:21.199Z] [ 78%] Built target template [2020-07-03T15:13:21.199Z] Scanning dependencies of target device-counter [2020-07-03T15:13:21.199Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-07-03T15:13:21.459Z] [ 81%] Linking C executable device-counter [2020-07-03T15:13:21.459Z] [ 81%] Built target device-counter [2020-07-03T15:13:21.459Z] Scanning dependencies of target device-random [2020-07-03T15:13:21.459Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-07-03T15:13:21.459Z] [ 85%] Linking C executable device-random [2020-07-03T15:13:21.459Z] [ 85%] Built target device-random [2020-07-03T15:13:21.459Z] Scanning dependencies of target device-gyro [2020-07-03T15:13:21.461Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-07-03T15:13:21.461Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-07-03T15:13:21.719Z] [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-07-03T15:13:21.720Z] [ 89%] Linking C executable device-gyro [2020-07-03T15:13:21.720Z] [ 89%] Built target device-gyro [2020-07-03T15:13:21.720Z] Scanning dependencies of target template-discovery [2020-07-03T15:13:21.720Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-07-03T15:13:21.720Z] [ 92%] Linking C executable template-discovery [2020-07-03T15:13:21.982Z] [ 92%] Built target template-discovery [2020-07-03T15:13:21.982Z] Scanning dependencies of target device-terminal [2020-07-03T15:13:21.982Z] [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-07-03T15:13:21.982Z] [ 96%] Linking C executable device-terminal [2020-07-03T15:13:21.982Z] [ 96%] Built target device-terminal [2020-07-03T15:13:21.982Z] Scanning dependencies of target templatev1 [2020-07-03T15:13:21.982Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-07-03T15:13:22.056Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-07-03T15:13:22.244Z] [100%] Linking C executable templatev1 [2020-07-03T15:13:22.244Z] [100%] Built target templatev1 [2020-07-03T15:13:22.244Z] make: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:13:22.244Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:13:22.244Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:13:22.244Z] Scanning dependencies of target csdk [2020-07-03T15:13:22.244Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:13:22.244Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:13:22.244Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-07-03T15:13:22.815Z] [ 3%] Linking C shared library libcsdk.so [2020-07-03T15:13:22.815Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:13:22.815Z] [ 74%] Built target csdk [2020-07-03T15:13:22.815Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:13:22.815Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:13:22.815Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:13:22.815Z] [ 76%] Linking C executable template [2020-07-03T15:13:22.815Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:13:22.815Z] [ 78%] Built target template [2020-07-03T15:13:22.815Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:13:22.815Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:13:22.815Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:13:22.815Z] [ 80%] Linking C executable device-counter [2020-07-03T15:13:22.815Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:13:22.815Z] [ 81%] Built target device-counter [2020-07-03T15:13:22.815Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:13:22.815Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:13:22.815Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:13:22.815Z] [ 83%] Linking C executable device-random [2020-07-03T15:13:23.026Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-07-03T15:13:23.076Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:13:23.076Z] [ 85%] Built target device-random [2020-07-03T15:13:23.076Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:13:23.076Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:13:23.076Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:13:23.076Z] [ 87%] Linking C executable device-gyro [2020-07-03T15:13:23.076Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:13:23.076Z] [ 89%] Built target device-gyro [2020-07-03T15:13:23.076Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:13:23.076Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:13:23.076Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:13:23.076Z] [ 90%] Linking C executable template-discovery [2020-07-03T15:13:23.076Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:13:23.076Z] [ 92%] Built target template-discovery [2020-07-03T15:13:23.076Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:13:23.076Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:13:23.076Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:13:23.076Z] [ 94%] Linking C executable device-terminal [2020-07-03T15:13:23.298Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-07-03T15:13:23.343Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:13:23.343Z] [ 96%] Built target device-terminal [2020-07-03T15:13:23.343Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:13:23.343Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:13:23.343Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:13:23.343Z] [ 98%] Linking C executable templatev1 [2020-07-03T15:13:23.343Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:13:23.343Z] [100%] Built target templatev1 [2020-07-03T15:13:23.343Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:13:23.343Z] Install the project... [2020-07-03T15:13:23.343Z] -- Install configuration: "Release" [2020-07-03T15:13:23.343Z] -- Installing: /usr/local/lib/libcsdk.so [2020-07-03T15:13:23.343Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-07-03T15:13:23.343Z] -- Up-to-date: /usr/local/include [2020-07-03T15:13:23.343Z] -- Installing: /usr/local/include/devsdk [2020-07-03T15:13:23.343Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-07-03T15:13:23.343Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-07-03T15:13:23.343Z] -- Installing: /usr/local/include/edgex [2020-07-03T15:13:23.343Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-07-03T15:13:23.343Z] -- Installing: /usr/local/include/edgex/devices.h [2020-07-03T15:13:23.343Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-07-03T15:13:23.343Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-07-03T15:13:23.343Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-07-03T15:13:23.343Z] -- Installing: /usr/local/include/edgex/error.h [2020-07-03T15:13:23.343Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-07-03T15:13:23.343Z] -- Installing: /usr/local/include/edgex/os.h [2020-07-03T15:13:23.343Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-07-03T15:13:23.343Z] -- Installing: /usr/local/include/edgex/registry.h [2020-07-03T15:13:23.343Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-07-03T15:13:23.343Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-07-03T15:13:23.343Z] -- Installing: /usr/local/include/iot [2020-07-03T15:13:23.343Z] -- Installing: /usr/local/include/iot/base64.h [2020-07-03T15:13:23.343Z] -- Installing: /usr/local/include/iot/component.h [2020-07-03T15:13:23.343Z] -- Installing: /usr/local/include/iot/container.h [2020-07-03T15:13:23.344Z] -- Installing: /usr/local/include/iot/data.h [2020-07-03T15:13:23.344Z] -- Installing: /usr/local/include/iot/hash.h [2020-07-03T15:13:23.344Z] -- Installing: /usr/local/include/iot/iot.h [2020-07-03T15:13:23.344Z] -- Installing: /usr/local/include/iot/json.h [2020-07-03T15:13:23.344Z] -- Installing: /usr/local/include/iot/logger.h [2020-07-03T15:13:23.344Z] -- Installing: /usr/local/include/iot/os.h [2020-07-03T15:13:23.344Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-07-03T15:13:23.344Z] -- Installing: /usr/local/include/iot/thread.h [2020-07-03T15:13:23.344Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-07-03T15:13:23.344Z] -- Installing: /usr/local/include/iot/time.h [2020-07-03T15:13:23.344Z] -- Installing: /usr/local/include/iot/typecode.h [2020-07-03T15:13:23.344Z] -- Installing: /usr/local/include/iot/os [2020-07-03T15:13:23.344Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-07-03T15:13:23.344Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-07-03T15:13:23.344Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-07-03T15:13:23.344Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-07-03T15:13:23.344Z] make: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:13:25.892Z] Removing intermediate container 7d5085833027 [2020-07-03T15:13:25.892Z] ---> 334f906a0588 [2020-07-03T15:13:25.892Z] Step 14/21 : FROM ${BASE} [2020-07-03T15:13:25.892Z] ---> 5eabd8fd8ba2 [2020-07-03T15:13:25.892Z] Step 15/21 : MAINTAINER IOTech [2020-07-03T15:13:25.892Z] ---> Running in fa4a91aafcca [2020-07-03T15:13:25.892Z] Removing intermediate container fa4a91aafcca [2020-07-03T15:13:25.892Z] ---> 88ae501732b3 [2020-07-03T15:13:25.892Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-07-03T15:13:26.155Z] ---> Running in 97516714ef91 [2020-07-03T15:13:26.726Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-07-03T15:13:27.577Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-07-03T15:13:27.667Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-07-03T15:13:27.667Z] (1/3) Installing curl (7.64.0-r3) [2020-07-03T15:13:27.849Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-07-03T15:13:27.928Z] (2/3) Installing libuuid (2.33-r0) [2020-07-03T15:13:27.928Z] (3/3) Installing wget (1.20.3-r0) [2020-07-03T15:13:27.928Z] Executing busybox-1.29.3-r10.trigger [2020-07-03T15:13:27.928Z] OK: 268 MiB in 78 packages [2020-07-03T15:13:28.119Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-07-03T15:13:28.505Z] Removing intermediate container 97516714ef91 [2020-07-03T15:13:28.505Z] ---> 610b4c0b710a [2020-07-03T15:13:28.505Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-07-03T15:13:28.716Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-07-03T15:13:28.767Z] ---> a3c1297e8866 [2020-07-03T15:13:28.767Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-07-03T15:13:29.028Z] ---> 7022022ffc0d [2020-07-03T15:13:29.028Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-07-03T15:13:29.028Z] ---> eb9985e9a097 [2020-07-03T15:13:29.028Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-07-03T15:13:29.290Z] ---> d6bef2c62cf3 [2020-07-03T15:13:29.290Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-07-03T15:13:29.550Z] ---> 01968fc59602 [2020-07-03T15:13:29.550Z] Successfully built 01968fc59602 [2020-07-03T15:13:29.550Z] 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-07-03T15:13:30.140Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-07-03T15:13:30.255Z] + docker inspect -f . ci-base-image-x86_64 [2020-07-03T15:13:30.255Z] . [Pipeline] withDockerContainer [2020-07-03T15:13:30.370Z] prd-centos7-docker-4c-2g-5152 does not seem to be running inside a container [2020-07-03T15:13:30.420Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-07-03T15:13:31.025Z] $ docker top 5868789b370f813b437af57800ff085c6dfd3bcdc24d6e6ace4575fe73fc6b32 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-07-03T15:13:31.504Z] + make test [2020-07-03T15:13:31.505Z] echo "make test" [2020-07-03T15:13:31.505Z] make test [Pipeline] } [2020-07-03T15:13:31.535Z] $ docker stop --time=1 5868789b370f813b437af57800ff085c6dfd3bcdc24d6e6ace4575fe73fc6b32 [2020-07-03T15:13:32.100Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-07-03T15:13:32.864Z] $ docker rm -f 5868789b370f813b437af57800ff085c6dfd3bcdc24d6e6ace4575fe73fc6b32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-07-03T15:13:34.829Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-07-03T15:13:35.150Z] + ls -al . [2020-07-03T15:13:35.150Z] total 160 [2020-07-03T15:13:35.150Z] drwxrwxr-x. 9 jenkins jenkins 275 Jul 3 15:12 . [2020-07-03T15:13:35.150Z] drwxrwxr-x. 4 jenkins jenkins 28 Jul 3 15:12 .. [2020-07-03T15:13:35.150Z] -rw-rw-r--. 1 jenkins jenkins 3104 Jul 3 15:12 Attribution.txt [2020-07-03T15:13:35.150Z] -rw-rw-r--. 1 jenkins jenkins 5434 Jul 3 15:12 CHANGES [2020-07-03T15:13:35.150Z] drwxrwxr-x. 2 jenkins jenkins 144 Jul 3 15:12 docs [2020-07-03T15:13:35.150Z] -rw-rw-r--. 1 jenkins jenkins 108574 Jul 3 15:12 Doxyfile [2020-07-03T15:13:35.150Z] drwxrwxr-x. 8 jenkins jenkins 179 Jul 3 15:12 .git [2020-07-03T15:13:35.150Z] drwxrwxr-x. 2 jenkins jenkins 38 Jul 3 15:12 .github [2020-07-03T15:13:35.150Z] -rw-rw-r--. 1 jenkins jenkins 176 Jul 3 15:12 .gitignore [2020-07-03T15:13:35.150Z] drwxrwxr-x. 4 jenkins jenkins 33 Jul 3 15:12 include [2020-07-03T15:13:35.150Z] -rw-rw-r--. 1 jenkins jenkins 794 Jul 3 15:12 Jenkinsfile [2020-07-03T15:13:35.150Z] -rw-rw-r--. 1 jenkins jenkins 10174 Jul 3 15:12 LICENSE [2020-07-03T15:13:35.150Z] -rw-rw-r--. 1 jenkins jenkins 449 Jul 3 15:12 Makefile [2020-07-03T15:13:35.150Z] -rw-rw-r--. 1 jenkins jenkins 1849 Jul 3 15:12 README.md [2020-07-03T15:13:35.150Z] -rw-rw-r--. 1 jenkins jenkins 5229 Jul 3 15:12 README.v2.md [2020-07-03T15:13:35.150Z] drwxrwxr-x. 2 jenkins jenkins 108 Jul 3 15:12 scripts [2020-07-03T15:13:35.150Z] drwxrwxr-x. 3 jenkins jenkins 58 Jul 3 15:12 .semver [2020-07-03T15:13:35.150Z] drwxrwxr-x. 4 jenkins jenkins 50 Jul 3 15:12 src [2020-07-03T15:13:35.150Z] -rw-rw-r--. 1 jenkins jenkins 5 Jul 3 15:09 VERSION [Pipeline] isUnix [Pipeline] sh [2020-07-03T15:13:35.484Z] + docker build -t docker-device-sdk-c -f scripts/Dockerfile.alpine-3.11 --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=30833741be385c2fbeaeb574101e7255740ec0e4 --label arch=amd64 --label version=0.0.0 . [2020-07-03T15:13:35.484Z] Sending build context to Docker daemon 3.356MB [2020-07-03T15:13:35.484Z] Step 1/15 : ARG BASE=alpine:3.11 [2020-07-03T15:13:35.484Z] Step 2/15 : FROM ${BASE} [2020-07-03T15:13:35.484Z] ---> 01968fc59602 [2020-07-03T15:13:35.484Z] Step 3/15 : MAINTAINER IOTech [2020-07-03T15:13:35.594Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-07-03T15:13:35.594Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-07-03T15:13:36.055Z] ---> Running in a28d3f3dfc70 [2020-07-03T15:13:36.318Z] Removing intermediate container a28d3f3dfc70 [2020-07-03T15:13:36.318Z] ---> d4327f4303be [2020-07-03T15:13:36.318Z] 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-07-03T15:13:36.318Z] ---> Running in 8dea52c176c9 [2020-07-03T15:13:36.579Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-07-03T15:13:37.131Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-07-03T15:13:37.521Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-07-03T15:13:37.521Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2020-07-03T15:13:37.521Z] (2/6) Installing libblkid (2.33-r0) [2020-07-03T15:13:37.733Z] [ 74%] Linking C shared library libcsdk.so [2020-07-03T15:13:37.733Z] [ 74%] Built target csdk [2020-07-03T15:13:37.733Z] Scanning dependencies of target template [2020-07-03T15:13:37.733Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-07-03T15:13:37.783Z] (3/6) Installing libfdisk (2.33-r0) [2020-07-03T15:13:37.783Z] (4/6) Installing libmount (2.33-r0) [2020-07-03T15:13:37.783Z] (5/6) Installing libsmartcols (2.33-r0) [2020-07-03T15:13:38.043Z] (6/6) Installing util-linux-dev (2.33-r0) [2020-07-03T15:13:38.304Z] Executing busybox-1.29.3-r10.trigger [2020-07-03T15:13:38.304Z] OK: 272 MiB in 84 packages [2020-07-03T15:13:38.330Z] [ 78%] Linking C executable template [2020-07-03T15:13:38.605Z] [ 78%] Built target template [2020-07-03T15:13:38.606Z] Scanning dependencies of target device-counter [2020-07-03T15:13:38.606Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-07-03T15:13:38.879Z] Removing intermediate container 8dea52c176c9 [2020-07-03T15:13:38.879Z] ---> 047561d4b262 [2020-07-03T15:13:38.879Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-07-03T15:13:39.141Z] ---> e270f3ef469c [2020-07-03T15:13:39.141Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-07-03T15:13:39.197Z] [ 81%] Linking C executable device-counter [2020-07-03T15:13:39.473Z] [ 81%] Built target device-counter [2020-07-03T15:13:39.473Z] Scanning dependencies of target device-random [2020-07-03T15:13:39.473Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-07-03T15:13:39.714Z] ---> 138bf3ab955a [2020-07-03T15:13:39.714Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-07-03T15:13:39.974Z] ---> 381300ba5a77 [2020-07-03T15:13:39.974Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-07-03T15:13:40.065Z] [ 85%] Linking C executable device-random [2020-07-03T15:13:40.065Z] [ 85%] Built target device-random [2020-07-03T15:13:40.065Z] Scanning dependencies of target device-gyro [2020-07-03T15:13:40.065Z] [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-07-03T15:13:40.238Z] ---> da182d493480 [2020-07-03T15:13:40.238Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-07-03T15:13:40.503Z] ---> 6f6093fcf951 [2020-07-03T15:13:40.503Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-07-03T15:13:40.503Z] ---> 964059d16811 [2020-07-03T15:13:40.503Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-07-03T15:13:40.659Z] [ 89%] Linking C executable device-gyro [2020-07-03T15:13:40.659Z] [ 89%] Built target device-gyro [2020-07-03T15:13:40.659Z] Scanning dependencies of target template-discovery [2020-07-03T15:13:40.770Z] ---> Running in dfc7e2860677 [2020-07-03T15:13:40.770Z] Removing intermediate container dfc7e2860677 [2020-07-03T15:13:40.770Z] ---> 1299432275ec [2020-07-03T15:13:40.770Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-07-03T15:13:40.770Z] ---> Running in 9f5bea37c54f [2020-07-03T15:13:40.930Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-07-03T15:13:41.031Z] Removing intermediate container 9f5bea37c54f [2020-07-03T15:13:41.031Z] ---> 260d06603e3b [2020-07-03T15:13:41.031Z] Step 13/15 : LABEL arch=amd64 [2020-07-03T15:13:41.031Z] ---> Running in 865c1530acc9 [2020-07-03T15:13:41.292Z] Removing intermediate container 865c1530acc9 [2020-07-03T15:13:41.292Z] ---> 5f21aded73bb [2020-07-03T15:13:41.292Z] Step 14/15 : LABEL git_sha=30833741be385c2fbeaeb574101e7255740ec0e4 [2020-07-03T15:13:41.292Z] ---> Running in 42fc0fcb7a63 [2020-07-03T15:13:41.525Z] [ 92%] Linking C executable template-discovery [2020-07-03T15:13:41.525Z] [ 92%] Built target template-discovery [2020-07-03T15:13:41.552Z] Removing intermediate container 42fc0fcb7a63 [2020-07-03T15:13:41.552Z] ---> b8ab86cfd9a8 [2020-07-03T15:13:41.552Z] Step 15/15 : LABEL version=0.0.0 [2020-07-03T15:13:41.552Z] ---> Running in bf0f02592a7f [2020-07-03T15:13:41.552Z] Removing intermediate container bf0f02592a7f [2020-07-03T15:13:41.552Z] ---> 24143230fc30 [2020-07-03T15:13:41.552Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2020-07-03T15:13:41.798Z] Scanning dependencies of target device-terminal [2020-07-03T15:13:41.798Z] [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-07-03T15:13:41.814Z] Successfully built 24143230fc30 [2020-07-03T15:13:41.814Z] Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2020-07-03T15:13:42.080Z] [ 96%] Linking C executable device-terminal Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [2020-07-03T15:13:42.355Z] [ 96%] Built target device-terminal [2020-07-03T15:13:42.355Z] Scanning dependencies of target templatev1 [2020-07-03T15:13:42.355Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-07-03T15:13:42.948Z] [100%] Linking C executable templatev1 [2020-07-03T15:13:43.218Z] [100%] Built target templatev1 [2020-07-03T15:13:43.218Z] + make package [2020-07-03T15:13:43.218Z] + tee -a release.log [2020-07-03T15:13:43.488Z] [ 74%] Built target csdk [2020-07-03T15:13:43.488Z] [ 78%] Built target template [2020-07-03T15:13:43.488Z] [ 81%] Built target device-counter [2020-07-03T15:13:43.488Z] [ 85%] Built target device-random [2020-07-03T15:13:43.488Z] [ 89%] Built target device-gyro [2020-07-03T15:13:43.488Z] [ 92%] Built target template-discovery [2020-07-03T15:13:43.760Z] [ 96%] Built target device-terminal [2020-07-03T15:13:43.760Z] [100%] Built target templatev1 [2020-07-03T15:13:43.760Z] Run CPack packaging tool... [2020-07-03T15:13:43.760Z] CPack: Create package using TGZ [2020-07-03T15:13:43.760Z] CPack: Install projects [2020-07-03T15:13:43.760Z] CPack: - Run preinstall target for: Csdk [2020-07-03T15:13:44.352Z] CPack: - Install project: Csdk [2020-07-03T15:13:44.352Z] CPack: Create package [2020-07-03T15:13:44.352Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2020-07-03T15:13:44.352Z] + '[' false '=' true ] [2020-07-03T15:13:44.352Z] + '[' false '=' true ] [2020-07-03T15:13:44.352Z] + mkdir -p /tmp/sdk/build/debug [2020-07-03T15:13:44.352Z] + cd /tmp/sdk/build/debug [2020-07-03T15:13:44.352Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-07-03T15:13:44.624Z] -- The C compiler identification is GNU 8.3.0 [2020-07-03T15:13:44.625Z] -- Check for working C compiler: /usr/bin/cc [2020-07-03T15:13:44.895Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-07-03T15:13:44.895Z] -- Detecting C compiler ABI info [2020-07-03T15:13:45.166Z] -- Detecting C compiler ABI info - done [2020-07-03T15:13:45.166Z] -- Detecting C compile features [2020-07-03T15:13:46.141Z] -- Detecting C compile features - done [2020-07-03T15:13:46.141Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-07-03T15:13:46.141Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-07-03T15:13:46.141Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-07-03T15:13:46.141Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-07-03T15:13:46.141Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-07-03T15:13:46.141Z] -- C SDK 0.0.0 for Linux [2020-07-03T15:13:46.141Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-07-03T15:13:46.141Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-07-03T15:13:46.141Z] -- Found Curses: /usr/lib/libcurses.so [2020-07-03T15:13:46.412Z] -- Configuring done [2020-07-03T15:13:46.682Z] -- Generating done [2020-07-03T15:13:46.682Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-07-03T15:13:46.682Z] + make [2020-07-03T15:13:46.682Z] + tee debug.log [2020-07-03T15:13:46.682Z] Scanning dependencies of target csdk [2020-07-03T15:13:46.952Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-07-03T15:13:47.224Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-07-03T15:13:47.495Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-07-03T15:13:48.088Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-07-03T15:13:48.360Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-07-03T15:13:48.360Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-07-03T15:13:48.951Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-07-03T15:13:49.541Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-07-03T15:13:49.812Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-07-03T15:13:50.083Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-07-03T15:13:50.353Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-07-03T15:13:50.625Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-07-03T15:13:50.625Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-07-03T15:13:50.896Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-07-03T15:13:51.871Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-07-03T15:13:52.141Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-07-03T15:13:52.141Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-07-03T15:13:52.414Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-07-03T15:13:53.385Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-07-03T15:13:53.385Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-07-03T15:13:53.659Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-07-03T15:13:53.659Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-07-03T15:13:53.933Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-07-03T15:13:54.207Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-07-03T15:13:54.477Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-07-03T15:13:54.748Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-07-03T15:13:55.019Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-07-03T15:13:55.019Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-07-03T15:13:55.290Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-07-03T15:13:55.880Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-07-03T15:13:55.880Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-07-03T15:13:56.853Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-07-03T15:13:57.123Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-07-03T15:13:57.399Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-07-03T15:13:57.671Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-07-03T15:13:58.639Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-07-03T15:13:59.229Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-07-03T15:13:59.822Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-07-03T15:14:00.092Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-07-03T15:14:00.365Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-07-03T15:14:00.638Z] [ 74%] Linking C shared library libcsdk.so [2020-07-03T15:14:00.907Z] [ 74%] Built target csdk [2020-07-03T15:14:00.907Z] Scanning dependencies of target template [2020-07-03T15:14:00.907Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-07-03T15:14:01.178Z] [ 78%] Linking C executable template [2020-07-03T15:14:01.449Z] [ 78%] Built target template [2020-07-03T15:14:01.449Z] Scanning dependencies of target device-counter [2020-07-03T15:14:01.449Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-07-03T15:14:01.721Z] [ 81%] Linking C executable device-counter [2020-07-03T15:14:01.991Z] [ 81%] Built target device-counter [2020-07-03T15:14:01.991Z] Scanning dependencies of target device-random [2020-07-03T15:14:01.991Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-07-03T15:14:02.262Z] [ 85%] Linking C executable device-random [2020-07-03T15:14:02.533Z] [ 85%] Built target device-random [2020-07-03T15:14:02.533Z] Scanning dependencies of target device-gyro [2020-07-03T15:14:02.533Z] [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-07-03T15:14:02.804Z] [ 89%] Linking C executable device-gyro [2020-07-03T15:14:03.074Z] [ 89%] Built target device-gyro [2020-07-03T15:14:03.074Z] Scanning dependencies of target template-discovery [2020-07-03T15:14:03.074Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-07-03T15:14:03.345Z] [ 92%] Linking C executable template-discovery [2020-07-03T15:14:03.616Z] [ 92%] Built target template-discovery [2020-07-03T15:14:03.616Z] Scanning dependencies of target device-terminal [2020-07-03T15:14:03.616Z] [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-07-03T15:14:03.887Z] [ 96%] Linking C executable device-terminal [2020-07-03T15:14:04.158Z] [ 96%] Built target device-terminal [2020-07-03T15:14:04.158Z] Scanning dependencies of target templatev1 [2020-07-03T15:14:04.158Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-07-03T15:14:04.429Z] [100%] Linking C executable templatev1 [2020-07-03T15:14:04.702Z] [100%] Built target templatev1 [2020-07-03T15:14:04.702Z] make: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:14:04.702Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:14:04.702Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:14:04.702Z] Scanning dependencies of target csdk [2020-07-03T15:14:04.702Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:14:04.975Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:14:04.975Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-07-03T15:14:06.951Z] [ 3%] Linking C shared library libcsdk.so [2020-07-03T15:14:06.951Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:14:06.951Z] [ 74%] Built target csdk [2020-07-03T15:14:06.951Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:14:06.951Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:14:06.951Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:14:06.951Z] [ 76%] Linking C executable template [2020-07-03T15:14:06.951Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:14:06.951Z] [ 78%] Built target template [2020-07-03T15:14:06.951Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:14:06.951Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:14:06.951Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:14:06.951Z] [ 80%] Linking C executable device-counter [2020-07-03T15:14:07.222Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:14:07.222Z] [ 81%] Built target device-counter [2020-07-03T15:14:07.222Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:14:07.222Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:14:07.222Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:14:07.222Z] [ 83%] Linking C executable device-random [2020-07-03T15:14:07.492Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:14:07.492Z] [ 85%] Built target device-random [2020-07-03T15:14:07.492Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:14:07.492Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:14:07.492Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:14:07.492Z] [ 87%] Linking C executable device-gyro [2020-07-03T15:14:07.764Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:14:07.764Z] [ 89%] Built target device-gyro [2020-07-03T15:14:07.764Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:14:07.764Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:14:07.764Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:14:07.764Z] [ 90%] Linking C executable template-discovery [2020-07-03T15:14:08.034Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:14:08.034Z] [ 92%] Built target template-discovery [2020-07-03T15:14:08.034Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:14:08.034Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:14:08.034Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:14:08.034Z] [ 94%] Linking C executable device-terminal [2020-07-03T15:14:08.304Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:14:08.305Z] [ 96%] Built target device-terminal [2020-07-03T15:14:08.305Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:14:08.305Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:14:08.305Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:14:08.305Z] [ 98%] Linking C executable templatev1 [2020-07-03T15:14:08.575Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:14:08.575Z] [100%] Built target templatev1 [2020-07-03T15:14:08.575Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:14:08.575Z] Install the project... [2020-07-03T15:14:08.575Z] -- Install configuration: "Release" [2020-07-03T15:14:08.575Z] -- Installing: /usr/local/lib/libcsdk.so [2020-07-03T15:14:08.575Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-07-03T15:14:08.575Z] -- Up-to-date: /usr/local/include [2020-07-03T15:14:08.575Z] -- Installing: /usr/local/include/edgex [2020-07-03T15:14:08.575Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-07-03T15:14:08.575Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-07-03T15:14:08.575Z] -- Installing: /usr/local/include/edgex/error.h [2020-07-03T15:14:08.575Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-07-03T15:14:08.575Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-07-03T15:14:08.575Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-07-03T15:14:08.575Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-07-03T15:14:08.575Z] -- Installing: /usr/local/include/edgex/registry.h [2020-07-03T15:14:08.575Z] -- Installing: /usr/local/include/edgex/devices.h [2020-07-03T15:14:08.575Z] -- Installing: /usr/local/include/edgex/os.h [2020-07-03T15:14:08.575Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-07-03T15:14:08.575Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-07-03T15:14:08.575Z] -- Installing: /usr/local/include/devsdk [2020-07-03T15:14:08.575Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-07-03T15:14:08.575Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-07-03T15:14:08.575Z] -- Installing: /usr/local/include/iot [2020-07-03T15:14:08.575Z] -- Installing: /usr/local/include/iot/json.h [2020-07-03T15:14:08.575Z] -- Installing: /usr/local/include/iot/container.h [2020-07-03T15:14:08.575Z] -- Installing: /usr/local/include/iot/component.h [2020-07-03T15:14:08.575Z] -- Installing: /usr/local/include/iot/typecode.h [2020-07-03T15:14:08.575Z] -- Installing: /usr/local/include/iot/iot.h [2020-07-03T15:14:08.575Z] -- Installing: /usr/local/include/iot/time.h [2020-07-03T15:14:08.575Z] -- Installing: /usr/local/include/iot/hash.h [2020-07-03T15:14:08.575Z] -- Installing: /usr/local/include/iot/logger.h [2020-07-03T15:14:08.575Z] -- Installing: /usr/local/include/iot/os [2020-07-03T15:14:08.575Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-07-03T15:14:08.575Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-07-03T15:14:08.575Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-07-03T15:14:08.575Z] -- Installing: /usr/local/include/iot/data.h [2020-07-03T15:14:08.575Z] -- Installing: /usr/local/include/iot/thread.h [2020-07-03T15:14:08.575Z] -- Installing: /usr/local/include/iot/os.h [2020-07-03T15:14:08.575Z] -- Installing: /usr/local/include/iot/base64.h [2020-07-03T15:14:08.575Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-07-03T15:14:08.575Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-07-03T15:14:08.575Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-07-03T15:14:08.575Z] make: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:14:10.543Z] Removing intermediate container b46f490e02f5 [2020-07-03T15:14:10.543Z] ---> c31b866c7de5 [2020-07-03T15:14:10.543Z] Step 14/21 : FROM ${BASE} [2020-07-03T15:14:10.543Z] ---> b23d30803547 [2020-07-03T15:14:10.543Z] Step 15/21 : MAINTAINER IOTech [2020-07-03T15:14:10.815Z] ---> Running in 8caee1aa1c85 [2020-07-03T15:14:11.407Z] Removing intermediate container 8caee1aa1c85 [2020-07-03T15:14:11.407Z] ---> 54c7ca2858bd [2020-07-03T15:14:11.407Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-07-03T15:14:11.407Z] ---> Running in 63193418344b [2020-07-03T15:14:12.835Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-07-03T15:14:13.426Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-07-03T15:14:14.017Z] (1/3) Installing curl (7.64.0-r3) [2020-07-03T15:14:14.017Z] (2/3) Installing libuuid (2.33-r0) [2020-07-03T15:14:14.017Z] (3/3) Installing wget (1.20.3-r0) [2020-07-03T15:14:14.289Z] Executing busybox-1.29.3-r10.trigger [2020-07-03T15:14:14.289Z] OK: 281 MiB in 78 packages [2020-07-03T15:14:15.290Z] Removing intermediate container 63193418344b [2020-07-03T15:14:15.290Z] ---> ac21b8d56998 [2020-07-03T15:14:15.290Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-07-03T15:14:16.265Z] ---> 590df1bff48f [2020-07-03T15:14:16.265Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-07-03T15:14:16.858Z] ---> 2184247338a8 [2020-07-03T15:14:16.858Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-07-03T15:14:17.453Z] ---> 3c00ca233197 [2020-07-03T15:14:17.453Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-07-03T15:14:18.426Z] ---> cc9d64acb946 [2020-07-03T15:14:18.426Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-07-03T15:14:19.018Z] ---> b5efca339908 [2020-07-03T15:14:19.018Z] Successfully built b5efca339908 [2020-07-03T15:14:19.018Z] 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-07-03T15:14:19.732Z] + docker inspect -f . ci-base-image-arm64 [2020-07-03T15:14:19.733Z] . [Pipeline] withDockerContainer [2020-07-03T15:14:19.980Z] prd-ubuntu18.04-docker-arm64-4c-16g-5151 does not seem to be running inside a container [2020-07-03T15:14:20.039Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-07-03T15:14:21.845Z] $ docker top 1d5205d6af6712e7d5d025496f88d4ff6a4de59eef98030f49b25167d2a42188 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-07-03T15:14:23.367Z] + make test [2020-07-03T15:14:23.367Z] echo "make test" [2020-07-03T15:14:23.367Z] make test [Pipeline] } [2020-07-03T15:14:23.377Z] $ docker stop --time=1 1d5205d6af6712e7d5d025496f88d4ff6a4de59eef98030f49b25167d2a42188 [2020-07-03T15:14:25.336Z] $ docker rm -f 1d5205d6af6712e7d5d025496f88d4ff6a4de59eef98030f49b25167d2a42188 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-07-03T15:14:26.345Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-07-03T15:14:26.693Z] + ls -al . [2020-07-03T15:14:26.693Z] total 196 [2020-07-03T15:14:26.693Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 3 15:12 . [2020-07-03T15:14:26.693Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 15:11 .. [2020-07-03T15:14:26.693Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 3 15:12 .git [2020-07-03T15:14:26.693Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 3 15:11 .github [2020-07-03T15:14:26.693Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 3 15:11 .gitignore [2020-07-03T15:14:26.693Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 15:12 .semver [2020-07-03T15:14:26.693Z] -rw-rw-r-- 1 jenkins jenkins 3104 Jul 3 15:11 Attribution.txt [2020-07-03T15:14:26.693Z] -rw-rw-r-- 1 jenkins jenkins 5434 Jul 3 15:11 CHANGES [2020-07-03T15:14:26.693Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 3 15:11 Doxyfile [2020-07-03T15:14:26.693Z] -rw-rw-r-- 1 jenkins jenkins 794 Jul 3 15:11 Jenkinsfile [2020-07-03T15:14:26.693Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 3 15:11 LICENSE [2020-07-03T15:14:26.693Z] -rw-rw-r-- 1 jenkins jenkins 449 Jul 3 15:11 Makefile [2020-07-03T15:14:26.693Z] -rw-rw-r-- 1 jenkins jenkins 1849 Jul 3 15:11 README.md [2020-07-03T15:14:26.693Z] -rw-rw-r-- 1 jenkins jenkins 5229 Jul 3 15:11 README.v2.md [2020-07-03T15:14:26.693Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 3 15:09 VERSION [2020-07-03T15:14:26.693Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 3 15:11 docs [2020-07-03T15:14:26.693Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 15:11 include [2020-07-03T15:14:26.693Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 3 15:11 scripts [2020-07-03T15:14:26.693Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 15:11 src [Pipeline] isUnix [Pipeline] sh [2020-07-03T15:14:27.065Z] + docker build -t docker-device-sdk-c-arm64 -f scripts/Dockerfile.alpine-3.11 --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=30833741be385c2fbeaeb574101e7255740ec0e4 --label arch=arm64 --label version=0.0.0 . [2020-07-03T15:14:27.662Z] Sending build context to Docker daemon 3.356MB [2020-07-03T15:14:27.662Z] Step 1/15 : ARG BASE=alpine:3.11 [2020-07-03T15:14:27.662Z] Step 2/15 : FROM ${BASE} [2020-07-03T15:14:27.662Z] ---> b5efca339908 [2020-07-03T15:14:27.662Z] Step 3/15 : MAINTAINER IOTech [2020-07-03T15:14:27.938Z] ---> Running in c262bb538171 [2020-07-03T15:14:28.208Z] Removing intermediate container c262bb538171 [2020-07-03T15:14:28.208Z] ---> 3fa7f84eb50d [2020-07-03T15:14:28.208Z] 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-07-03T15:14:28.479Z] ---> Running in 8bdf1bedb0c9 [2020-07-03T15:14:29.905Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-07-03T15:14:30.495Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-07-03T15:14:31.083Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2020-07-03T15:14:31.083Z] (2/6) Installing libblkid (2.33-r0) [2020-07-03T15:14:31.083Z] (3/6) Installing libfdisk (2.33-r0) [2020-07-03T15:14:31.353Z] (4/6) Installing libmount (2.33-r0) [2020-07-03T15:14:31.353Z] (5/6) Installing libsmartcols (2.33-r0) [2020-07-03T15:14:31.353Z] (6/6) Installing util-linux-dev (2.33-r0) [2020-07-03T15:14:31.623Z] Executing busybox-1.29.3-r10.trigger [2020-07-03T15:14:31.894Z] OK: 286 MiB in 84 packages [2020-07-03T15:14:32.871Z] Removing intermediate container 8bdf1bedb0c9 [2020-07-03T15:14:32.871Z] ---> 4d7a1b97ddf0 [2020-07-03T15:14:32.871Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-07-03T15:14:33.849Z] ---> 1f8ba92ae0da [2020-07-03T15:14:33.849Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-07-03T15:14:34.448Z] ---> d593ff5bbe1d [2020-07-03T15:14:34.448Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-07-03T15:14:35.430Z] ---> 548bd4f64d4f [2020-07-03T15:14:35.430Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-07-03T15:14:36.025Z] ---> 7a84f2513018 [2020-07-03T15:14:36.025Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-07-03T15:14:36.620Z] ---> fa7a026dd57a [2020-07-03T15:14:36.620Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-07-03T15:14:37.214Z] ---> 71cb42fa3bb7 [2020-07-03T15:14:37.214Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-07-03T15:14:37.497Z] ---> Running in 092be91ba4d5 [2020-07-03T15:14:38.093Z] Removing intermediate container 092be91ba4d5 [2020-07-03T15:14:38.093Z] ---> 7abf0009d040 [2020-07-03T15:14:38.093Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-07-03T15:14:38.093Z] ---> Running in 41140d1b47a5 [2020-07-03T15:14:38.366Z] Removing intermediate container 41140d1b47a5 [2020-07-03T15:14:38.366Z] ---> c391b12310ab [2020-07-03T15:14:38.366Z] Step 13/15 : LABEL arch=arm64 [2020-07-03T15:14:38.644Z] ---> Running in ee2447cbbcb8 [2020-07-03T15:14:39.238Z] Removing intermediate container ee2447cbbcb8 [2020-07-03T15:14:39.238Z] ---> fc77b0baaeae [2020-07-03T15:14:39.238Z] Step 14/15 : LABEL git_sha=30833741be385c2fbeaeb574101e7255740ec0e4 [2020-07-03T15:14:39.238Z] ---> Running in 37366f2bbe64 [2020-07-03T15:14:39.510Z] Removing intermediate container 37366f2bbe64 [2020-07-03T15:14:39.510Z] ---> c24f03216271 [2020-07-03T15:14:39.510Z] Step 15/15 : LABEL version=0.0.0 [2020-07-03T15:14:39.783Z] ---> Running in ad35bb5b942c [2020-07-03T15:14:40.056Z] Removing intermediate container ad35bb5b942c [2020-07-03T15:14:40.056Z] ---> 425a3729f894 [2020-07-03T15:14:40.056Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2020-07-03T15:14:40.328Z] Successfully built 425a3729f894 [2020-07-03T15:14:40.328Z] 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] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [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-07-03T15:14:42.618Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-03T15:14:43.227Z] ---> package-listing.sh [2020-07-03T15:14:43.227Z] ++ facter osfamily [2020-07-03T15:14:43.227Z] ++ tr '[:upper:]' '[:lower:]' [2020-07-03T15:14:43.227Z] + OS_FAMILY=redhat [2020-07-03T15:14:43.227Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-276 [2020-07-03T15:14:43.227Z] + START_PACKAGES=/tmp/packages_start.txt [2020-07-03T15:14:43.227Z] + END_PACKAGES=/tmp/packages_end.txt [2020-07-03T15:14:43.227Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-07-03T15:14:43.227Z] + PACKAGES=/tmp/packages_start.txt [2020-07-03T15:14:43.227Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-276 ']' [2020-07-03T15:14:43.227Z] + PACKAGES=/tmp/packages_end.txt [2020-07-03T15:14:43.227Z] + case "${OS_FAMILY}" in [2020-07-03T15:14:43.227Z] + rpm -qa [2020-07-03T15:14:43.227Z] + sort [2020-07-03T15:14:47.434Z] + '[' -f /tmp/packages_start.txt ']' [2020-07-03T15:14:47.434Z] + '[' -f /tmp/packages_end.txt ']' [2020-07-03T15:14:47.434Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-07-03T15:14:47.434Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-276 ']' [2020-07-03T15:14:47.434Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-276/archives/ [2020-07-03T15:14:47.434Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-276/archives/ [Pipeline] isUnix [Pipeline] sh [2020-07-03T15:14:48.064Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-03T15:14:48.064Z] [2020-07-03T15:14:48.064Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-07-03T15:14:48.420Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-03T15:14:48.420Z] alpine: Pulling from edgex-lftools-log-publisher [2020-07-03T15:14:48.420Z] c9b1b535fdd9: Pulling fs layer [2020-07-03T15:14:48.420Z] 2cc5ad85d9ab: Pulling fs layer [2020-07-03T15:14:48.420Z] 756a868c4378: Pulling fs layer [2020-07-03T15:14:48.420Z] 444b2fc9a129: Pulling fs layer [2020-07-03T15:14:48.420Z] ea15f1150254: Pulling fs layer [2020-07-03T15:14:48.420Z] 41b27a9f41bf: Pulling fs layer [2020-07-03T15:14:48.420Z] 28c525ee5125: Pulling fs layer [2020-07-03T15:14:48.420Z] 094b1ea09ed8: Pulling fs layer [2020-07-03T15:14:48.420Z] 138eaada9080: Pulling fs layer [2020-07-03T15:14:48.420Z] 0622d0fa9048: Pulling fs layer [2020-07-03T15:14:48.420Z] 41b27a9f41bf: Waiting [2020-07-03T15:14:48.420Z] 28c525ee5125: Waiting [2020-07-03T15:14:48.420Z] 094b1ea09ed8: Waiting [2020-07-03T15:14:48.420Z] 138eaada9080: Waiting [2020-07-03T15:14:48.420Z] 444b2fc9a129: Waiting [2020-07-03T15:14:48.420Z] ea15f1150254: Waiting [2020-07-03T15:14:48.420Z] 0622d0fa9048: Waiting [2020-07-03T15:14:48.420Z] 2cc5ad85d9ab: Download complete [2020-07-03T15:14:48.420Z] 444b2fc9a129: Verifying Checksum [2020-07-03T15:14:48.420Z] 444b2fc9a129: Download complete [2020-07-03T15:14:48.420Z] c9b1b535fdd9: Verifying Checksum [2020-07-03T15:14:48.420Z] c9b1b535fdd9: Download complete [2020-07-03T15:14:48.420Z] ea15f1150254: Verifying Checksum [2020-07-03T15:14:48.420Z] ea15f1150254: Download complete [2020-07-03T15:14:48.693Z] 28c525ee5125: Download complete [2020-07-03T15:14:48.969Z] 756a868c4378: Download complete [2020-07-03T15:14:48.969Z] c9b1b535fdd9: Pull complete [2020-07-03T15:14:48.969Z] 138eaada9080: Verifying Checksum [2020-07-03T15:14:48.969Z] 138eaada9080: Download complete [2020-07-03T15:14:48.969Z] 0622d0fa9048: Verifying Checksum [2020-07-03T15:14:48.969Z] 0622d0fa9048: Download complete [2020-07-03T15:14:48.969Z] 094b1ea09ed8: Verifying Checksum [2020-07-03T15:14:48.969Z] 094b1ea09ed8: Download complete [2020-07-03T15:14:49.547Z] 2cc5ad85d9ab: Pull complete [2020-07-03T15:14:49.547Z] 41b27a9f41bf: Verifying Checksum [2020-07-03T15:14:49.547Z] 41b27a9f41bf: Download complete [2020-07-03T15:14:50.935Z] 756a868c4378: Pull complete [2020-07-03T15:14:50.935Z] 444b2fc9a129: Pull complete [2020-07-03T15:14:50.935Z] ea15f1150254: Pull complete [2020-07-03T15:14:55.158Z] 41b27a9f41bf: Pull complete [2020-07-03T15:14:55.421Z] 28c525ee5125: Pull complete [2020-07-03T15:14:58.744Z] 094b1ea09ed8: Pull complete [2020-07-03T15:14:58.744Z] 138eaada9080: Pull complete [2020-07-03T15:14:58.744Z] 0622d0fa9048: Pull complete [2020-07-03T15:14:58.744Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-07-03T15:14:58.744Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-03T15:14:58.744Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-07-03T15:14:58.904Z] prd-centos7-docker-4c-2g-5150 does not seem to be running inside a container [2020-07-03T15:14:58.946Z] $ 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-276 -v /w/workspace/edgexfoundry_device-sdk-c_PR-276:/w/workspace/edgexfoundry_device-sdk-c_PR-276:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-276@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-276@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-07-03T15:15:01.734Z] $ docker top f958bd34fd83831802fe8e3bf29ca4f49d8f57e4d815a7ea95b34899a84c3a8e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-07-03T15:15:01.983Z] provisioning config files... [2020-07-03T15:15:02.001Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-276@tmp/config3659875446821464928tmp [Pipeline] { [Pipeline] echo [2020-07-03T15:15:02.081Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-03T15:15:02.409Z] ---> create-netrc.sh [Pipeline] echo [2020-07-03T15:15:02.435Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-03T15:15:02.762Z] ---> logs-deploy.sh [2020-07-03T15:15:02.762Z] + ARCHIVE_ARTIFACTS= [2020-07-03T15:15:02.762Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-07-03T15:15:02.762Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-07-03T15:15:02.762Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-07-03T15:15:02.762Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-276/1 [2020-07-03T15:15:02.762Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-276/1/ [2020-07-03T15:15:02.762Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-276/1 /w/workspace/edgexfoundry_device-sdk-c_PR-276 [2020-07-03T15:15:03.705Z] Archives upload complete. [2020-07-03T15:15:03.965Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-276/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-276/1/