Pull request #271 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 414b841636228c254328d50dab08f2821d7f5031+9807c98aec50e436adf0acc90aeecd299a070733 (0f29a286e1ad51f7a5ee62bf841125388b25bc63) 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-271/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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3710 in /w/workspace/edgexfoundry_device-sdk-c_PR-271 [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-271 # 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/271/head:refs/remotes/origin/PR-271 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 9807c98aec50e436adf0acc90aeecd299a070733 into PR head commit 414b841636228c254328d50dab08f2821d7f5031 Merge succeeded, producing 414b841636228c254328d50dab08f2821d7f5031 Checking out Revision 414b841636228c254328d50dab08f2821d7f5031 (PR-271) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/271/head:refs/remotes/origin/PR-271 # 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/271/head:refs/remotes/origin/PR-271 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 414b841636228c254328d50dab08f2821d7f5031 # 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 9807c98aec50e436adf0acc90aeecd299a070733 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 414b841636228c254328d50dab08f2821d7f5031 # timeout=10 Commit message: "fix: wrong map size for CBOR readings feat: take a reasonable default for mediaType" 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-06-19T11:36:33.745Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-06-19T11:36:33.943Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-06-19T11:36:34.052Z] ========================================================= [2020-06-19T11:36:34.052Z] EdgeX Global Pipelines Version Info [2020-06-19T11:36:34.052Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-06-19T11:36:35.488Z] ------------------- [2020-06-19T11:36:35.488Z] stable info: [2020-06-19T11:36:35.488Z] ------------------- [2020-06-19T11:36:35.488Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-06-19T11:36:35.488Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-19T11:36:35.488Z] Message: update stable to v1.0.89 [2020-06-19T11:36:36.431Z] ------------------- [2020-06-19T11:36:36.431Z] experimental info: [2020-06-19T11:36:36.431Z] ------------------- [2020-06-19T11:36:36.431Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-06-19T11:36:36.431Z] Commit SHA: aa323fb5dfebb31640c35badf05a5a9beff52318 [2020-06-19T11:36:36.431Z] Message: update experimental to v1.0.90 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-06-19T11:36:37.878Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-19T11:36:38.450Z] [2020-06-19T11:36:38.450Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-06-19T11:36:38.806Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-19T11:36:38.806Z] latest: Pulling from edgex-devops/git-semver [2020-06-19T11:36:38.806Z] 9123ac7c32f7: Pulling fs layer [2020-06-19T11:36:38.806Z] b8cc5d1170e3: Pulling fs layer [2020-06-19T11:36:38.806Z] 2924cbbf6a41: Pulling fs layer [2020-06-19T11:36:38.806Z] 93b08a4f1073: Pulling fs layer [2020-06-19T11:36:38.806Z] 93b08a4f1073: Waiting [2020-06-19T11:36:38.806Z] b8cc5d1170e3: Download complete [2020-06-19T11:36:38.806Z] 9123ac7c32f7: Verifying Checksum [2020-06-19T11:36:38.806Z] 9123ac7c32f7: Download complete [2020-06-19T11:36:39.066Z] 93b08a4f1073: Verifying Checksum [2020-06-19T11:36:39.066Z] 93b08a4f1073: Download complete [2020-06-19T11:36:39.066Z] 2924cbbf6a41: Verifying Checksum [2020-06-19T11:36:39.066Z] 2924cbbf6a41: Download complete [2020-06-19T11:36:39.334Z] 9123ac7c32f7: Pull complete [2020-06-19T11:36:39.334Z] b8cc5d1170e3: Pull complete [2020-06-19T11:36:40.288Z] 2924cbbf6a41: Pull complete [2020-06-19T11:36:40.288Z] 93b08a4f1073: Pull complete [2020-06-19T11:36:40.288Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-06-19T11:36:40.288Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-19T11:36:40.288Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-06-19T11:36:40.407Z] prd-centos7-docker-4c-2g-3710 does not seem to be running inside a container [2020-06-19T11:36:40.462Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-271 -v /w/workspace/edgexfoundry_device-sdk-c_PR-271:/w/workspace/edgexfoundry_device-sdk-c_PR-271:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-271@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-271@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:10004/edgex-devops/git-semver:latest cat [2020-06-19T11:36:42.571Z] $ docker top 026879d6daf3172e160514627d7796028ae4e0b17c84433c2e6318f20dfc43ee -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-06-19T11:36:42.809Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-19T11:36:42.809Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-19T11:36:43.021Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-19T11:36:43.029Z] $ docker exec 026879d6daf3172e160514627d7796028ae4e0b17c84433c2e6318f20dfc43ee ssh-agent [2020-06-19T11:36:43.202Z] SSH_AUTH_SOCK=/tmp/ssh-Wt7BKBIjpbaU/agent.12 [2020-06-19T11:36:43.202Z] SSH_AGENT_PID=17 [2020-06-19T11:36:43.211Z] Running ssh-add (command line suppressed) [2020-06-19T11:36:43.343Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-271@tmp/private_key_4553592029942027796.key (/w/workspace/edgexfoundry_device-sdk-c_PR-271@tmp/private_key_4553592029942027796.key) [2020-06-19T11:36:43.388Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-19T11:36:43.727Z] + git describe --exact-match --tags HEAD [2020-06-19T11:36:43.727Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-06-19T11:36:43.861Z] $ docker exec --env ******** --env ******** 026879d6daf3172e160514627d7796028ae4e0b17c84433c2e6318f20dfc43ee ssh-agent -k [2020-06-19T11:36:43.984Z] unset SSH_AUTH_SOCK; [2020-06-19T11:36:43.984Z] unset SSH_AGENT_PID; [2020-06-19T11:36:43.984Z] echo Agent pid 17 killed; [2020-06-19T11:36:44.024Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-06-19T11:36:44.114Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-06-19T11:36:44.114Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-06-19T11:36:44.174Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-19T11:36:44.174Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-19T11:36:44.337Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-19T11:36:44.345Z] $ docker exec 026879d6daf3172e160514627d7796028ae4e0b17c84433c2e6318f20dfc43ee ssh-agent [2020-06-19T11:36:44.506Z] SSH_AUTH_SOCK=/tmp/ssh-XiL0NWDst3tY/agent.46 [2020-06-19T11:36:44.506Z] SSH_AGENT_PID=51 [2020-06-19T11:36:44.511Z] Running ssh-add (command line suppressed) [2020-06-19T11:36:44.626Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-271@tmp/private_key_5508554558877769628.key (/w/workspace/edgexfoundry_device-sdk-c_PR-271@tmp/private_key_5508554558877769628.key) [2020-06-19T11:36:44.669Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-19T11:36:45.001Z] + git semver init [2020-06-19T11:36:45.002Z] # -> Open(): unable to determine branch for HEAD [2020-06-19T11:36:45.002Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-271/.git [2020-06-19T11:36:45.002Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-271 [2020-06-19T11:36:45.002Z] # $SEMVER_REMOTE_NAME = origin [2020-06-19T11:36:45.002Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-06-19T11:36:45.002Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-06-19T11:36:45.002Z] # $SEMVER_BRANCH = PR-271 [2020-06-19T11:36:45.002Z] # $SEMVER_TEMP = /tmp/semver-100002492 [2020-06-19T11:36:45.002Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2020-06-19T11:36:45.942Z] # '/tmp/semver-100002492' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-271/.semver' [2020-06-19T11:36:45.942Z] # -> Force: false [2020-06-19T11:36:45.942Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-271/.semver [Pipeline] } [2020-06-19T11:36:45.968Z] $ docker exec --env ******** --env ******** 026879d6daf3172e160514627d7796028ae4e0b17c84433c2e6318f20dfc43ee ssh-agent -k [2020-06-19T11:36:46.077Z] unset SSH_AUTH_SOCK; [2020-06-19T11:36:46.077Z] unset SSH_AGENT_PID; [2020-06-19T11:36:46.077Z] echo Agent pid 51 killed; [2020-06-19T11:36:46.123Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-06-19T11:36:46.589Z] + git semver [Pipeline] } [2020-06-19T11:36:46.619Z] $ docker stop --time=1 026879d6daf3172e160514627d7796028ae4e0b17c84433c2e6318f20dfc43ee [2020-06-19T11:36:48.017Z] $ docker rm -f 026879d6daf3172e160514627d7796028ae4e0b17c84433c2e6318f20dfc43ee [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-06-19T11:36:48.751Z] Stashed 50 file(s) [Pipeline] echo [2020-06-19T11:36:48.768Z] [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-06-19T11:37:04.155Z] Still waiting to schedule task [2020-06-19T11:37:04.155Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-06-19T11:37:04.175Z] Still waiting to schedule task [2020-06-19T11:37:04.175Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-06-19T11:38:36.842Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3711 in /w/workspace/edgexfoundry_device-sdk-c_PR-271 [Pipeline] { [Pipeline] ws [2020-06-19T11:38:36.895Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2020-06-19T11:38:41.953Z] using credential edgex-jenkins-ssh [2020-06-19T11:38:41.986Z] Cloning the remote Git repository [2020-06-19T11:38:41.986Z] Cloning with configured refspecs honoured and without tags [2020-06-19T11:38:42.022Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-06-19T11:38:42.143Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2020-06-19T11:38:42.208Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-06-19T11:38:42.209Z] > git --version # timeout=10 [2020-06-19T11:38:42.229Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-19T11:38:42.314Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/271/head:refs/remotes/origin/PR-271 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-19T11:38:43.362Z] Fetching without tags [2020-06-19T11:38:43.819Z] Merging remotes/origin/master commit 9807c98aec50e436adf0acc90aeecd299a070733 into PR head commit 414b841636228c254328d50dab08f2821d7f5031 [2020-06-19T11:38:44.055Z] Merge succeeded, producing 414b841636228c254328d50dab08f2821d7f5031 [2020-06-19T11:38:44.055Z] Checking out Revision 414b841636228c254328d50dab08f2821d7f5031 (PR-271) [2020-06-19T11:38:43.245Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-06-19T11:38:43.274Z] > git config --add remote.origin.fetch +refs/pull/271/head:refs/remotes/origin/PR-271 # timeout=10 [2020-06-19T11:38:43.293Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-19T11:38:43.321Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-06-19T11:38:43.350Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-06-19T11:38:43.351Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-19T11:38:43.363Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/271/head:refs/remotes/origin/PR-271 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-19T11:38:43.818Z] > git config core.sparsecheckout # timeout=10 [2020-06-19T11:38:43.840Z] > git checkout -f 414b841636228c254328d50dab08f2821d7f5031 # timeout=10 [2020-06-19T11:38:43.947Z] > git remote # timeout=10 [2020-06-19T11:38:43.965Z] > git config --get remote.origin.url # timeout=10 [2020-06-19T11:38:43.986Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-19T11:38:43.996Z] > git merge 9807c98aec50e436adf0acc90aeecd299a070733 # timeout=10 [2020-06-19T11:38:44.017Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-06-19T11:38:44.037Z] > git config core.sparsecheckout # timeout=10 [2020-06-19T11:38:44.046Z] > git checkout -f 414b841636228c254328d50dab08f2821d7f5031 # timeout=10 [2020-06-19T11:38:48.679Z] Commit message: "fix: wrong map size for CBOR readings feat: take a reasonable default for mediaType" [2020-06-19T11:38:48.712Z] > git --version # timeout=10 [2020-06-19T11:38:48.744Z] fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-06-19T11:38:49.981Z] ========================================================= [2020-06-19T11:38:49.981Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2020-06-19T11:38:49.981Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-19T11:38:50.992Z] + 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-06-19T11:38:51.975Z] Sending build context to Docker daemon 3.294MB [2020-06-19T11:38:51.975Z] Step 1/21 : ARG BASE=alpine:3.11 [2020-06-19T11:38:51.975Z] Step 2/21 : FROM ${BASE} as builder [2020-06-19T11:38:52.247Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2020-06-19T11:38:52.247Z] 0362ad1dd800: Pulling fs layer [2020-06-19T11:38:52.247Z] f2cdb1532d8b: Pulling fs layer [2020-06-19T11:38:52.247Z] 37ed683be191: Pulling fs layer [2020-06-19T11:38:52.247Z] f2cdb1532d8b: Verifying Checksum [2020-06-19T11:38:52.247Z] f2cdb1532d8b: Download complete [2020-06-19T11:38:52.531Z] 0362ad1dd800: Verifying Checksum [2020-06-19T11:38:52.531Z] 0362ad1dd800: Download complete [2020-06-19T11:38:53.521Z] 0362ad1dd800: Pull complete [2020-06-19T11:38:53.798Z] f2cdb1532d8b: Pull complete [2020-06-19T11:38:54.779Z] 37ed683be191: Verifying Checksum [2020-06-19T11:38:54.779Z] 37ed683be191: Download complete [2020-06-19T11:39:04.960Z] 37ed683be191: Pull complete [2020-06-19T11:39:04.960Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2020-06-19T11:39:04.960Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2020-06-19T11:39:04.960Z] ---> b23d30803547 [2020-06-19T11:39:04.960Z] 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-06-19T11:39:05.944Z] ---> Running in 2f6a3531d194 [2020-06-19T11:39:07.379Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-06-19T11:39:08.353Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-06-19T11:39:08.623Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-06-19T11:39:08.900Z] (2/8) Installing libuuid (2.33-r0) [2020-06-19T11:39:08.900Z] (3/8) Installing libblkid (2.33-r0) [2020-06-19T11:39:08.900Z] (4/8) Installing libfdisk (2.33-r0) [2020-06-19T11:39:09.171Z] (5/8) Installing libmount (2.33-r0) [2020-06-19T11:39:09.171Z] (6/8) Installing libsmartcols (2.33-r0) [2020-06-19T11:39:09.171Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-06-19T11:39:09.765Z] (8/8) Installing wget (1.20.3-r0) [2020-06-19T11:39:09.765Z] Executing busybox-1.29.3-r10.trigger [2020-06-19T11:39:09.765Z] OK: 285 MiB in 83 packages [2020-06-19T11:39:11.200Z] Removing intermediate container 2f6a3531d194 [2020-06-19T11:39:11.200Z] ---> b63358bcf354 [2020-06-19T11:39:11.200Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-06-19T11:39:11.471Z] ---> Running in 754933b1c401 [2020-06-19T11:39:11.745Z] Removing intermediate container 754933b1c401 [2020-06-19T11:39:11.745Z] ---> f0e84b5e082c [2020-06-19T11:39:11.745Z] 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-06-19T11:39:12.022Z] ---> Running in e350802c6495 [2020-06-19T11:39:13.454Z] --2020-06-19 11:39:13-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-06-19T11:39:13.454Z] Resolving github.com... 140.82.112.3 [2020-06-19T11:39:13.454Z] Connecting to github.com|140.82.112.3|:443... connected. [2020-06-19T11:39:13.454Z] HTTP request sent, awaiting response... 302 Found [2020-06-19T11:39:13.728Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-06-19T11:39:13.728Z] --2020-06-19 11:39:13-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-06-19T11:39:13.728Z] Resolving codeload.github.com... 140.82.114.10 [2020-06-19T11:39:13.728Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2020-06-19T11:39:13.728Z] HTTP request sent, awaiting response... 200 OK [2020-06-19T11:39:13.728Z] Length: unspecified [application/x-gzip] [2020-06-19T11:39:13.728Z] Saving to: 'STDOUT' [2020-06-19T11:39:13.729Z] [2020-06-19T11:39:13.729Z] 0K .......... .......... .......... .......... .......... 1.32M [2020-06-19T11:39:13.729Z] 50K .......... .......... .......... .......... .......... 2.62M [2020-06-19T11:39:13.729Z] 100K .......... .......... .......... .......... .......... 2.83M [2020-06-19T11:39:13.729Z] 150K .......... .......... .......... .......... .......... 9.88M [2020-06-19T11:39:13.729Z] 200K .......... .......... .......... .......... .......... 15.5M [2020-06-19T11:39:13.729Z] 250K .......... .......... .......... .......... .......... 2.78M [2020-06-19T11:39:14.007Z] 300K .......... .......... .......... .......... .......... 4.34M [2020-06-19T11:39:14.007Z] 350K .......... .......... .......... .......... .......... 6.22M [2020-06-19T11:39:14.007Z] 400K .......... .......... .......... .......... .......... 4.64M [2020-06-19T11:39:14.007Z] 450K .......... .......... .......... .......... .......... 5.06M [2020-06-19T11:39:14.007Z] 500K .......... .......... .......... .......... .......... 7.61M [2020-06-19T11:39:14.007Z] 550K .......... .......... .......... .......... .......... 5.51M [2020-06-19T11:39:14.007Z] 600K .......... .......... .......... .......... .......... 1002K [2020-06-19T11:39:14.007Z] 650K .......... .......... .......... .......... .......... 1.29M [2020-06-19T11:39:14.007Z] 700K ..  12.1M=0.2s [2020-06-19T11:39:14.007Z] [2020-06-19T11:39:14.007Z] 2020-06-19 11:39:13 (2.84 MB/s) - written to stdout [719348] [2020-06-19T11:39:14.007Z] [2020-06-19T11:39:14.281Z] -- The C compiler identification is GNU 8.3.0 [2020-06-19T11:39:14.556Z] -- The CXX compiler identification is GNU 8.3.0 [2020-06-19T11:39:14.556Z] -- Check for working C compiler: /usr/bin/cc [2020-06-19T11:39:14.829Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-19T11:39:14.829Z] -- Detecting C compiler ABI info [2020-06-19T11:39:15.101Z] -- Detecting C compiler ABI info - done [2020-06-19T11:39:15.101Z] -- Detecting C compile features [2020-06-19T11:39:15.695Z] -- Detecting C compile features - done [2020-06-19T11:39:15.695Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-06-19T11:39:15.973Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-06-19T11:39:15.973Z] -- Detecting CXX compiler ABI info [2020-06-19T11:39:16.245Z] -- Detecting CXX compiler ABI info - done [2020-06-19T11:39:16.245Z] -- Detecting CXX compile features [2020-06-19T11:39:18.220Z] -- Detecting CXX compile features - done [2020-06-19T11:39:18.220Z] -- Looking for include file endian.h [2020-06-19T11:39:18.220Z] -- Looking for include file endian.h - found [2020-06-19T11:39:18.220Z] -- Check if the system is big endian [2020-06-19T11:39:18.220Z] -- Searching 16 bit integer [2020-06-19T11:39:18.220Z] -- Looking for sys/types.h [2020-06-19T11:39:18.502Z] -- Looking for sys/types.h - found [2020-06-19T11:39:18.502Z] -- Looking for stdint.h [2020-06-19T11:39:18.777Z] -- Looking for stdint.h - found [2020-06-19T11:39:18.777Z] -- Looking for stddef.h [2020-06-19T11:39:18.777Z] -- Looking for stddef.h - found [2020-06-19T11:39:18.777Z] -- Check size of unsigned short [2020-06-19T11:39:19.052Z] -- Check size of unsigned short - done [2020-06-19T11:39:19.052Z] -- Using unsigned short [2020-06-19T11:39:19.324Z] -- Check if the system is big endian - little endian [2020-06-19T11:39:19.596Z] -- Check size of size_t [2020-06-19T11:39:19.596Z] -- Check size of size_t - done [2020-06-19T11:39:19.869Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-06-19T11:39:19.869Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-06-19T11:39:19.869Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-06-19T11:39:19.869Z] CMake did not find one. [2020-06-19T11:39:19.869Z] [2020-06-19T11:39:19.869Z] Could not find a package configuration file provided by "cJSON" with any of [2020-06-19T11:39:19.869Z] the following names: [2020-06-19T11:39:19.869Z] [2020-06-19T11:39:19.869Z] cJSONConfig.cmake [2020-06-19T11:39:19.869Z] cjson-config.cmake [2020-06-19T11:39:19.869Z] [2020-06-19T11:39:19.869Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-06-19T11:39:19.869Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-06-19T11:39:19.869Z] provides a separate development package or SDK, be sure it has been [2020-06-19T11:39:19.869Z] installed. [2020-06-19T11:39:19.869Z] [2020-06-19T11:39:19.869Z] [2020-06-19T11:39:19.869Z] -- Configuring done [2020-06-19T11:39:19.869Z] -- Generating done [2020-06-19T11:39:19.869Z] -- Build files have been written to: /tmp/cbor [2020-06-19T11:39:20.140Z] Scanning dependencies of target cbor_shared [2020-06-19T11:39:20.140Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-06-19T11:39:21.117Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-06-19T11:39:21.392Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-06-19T11:39:21.662Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-06-19T11:39:22.256Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-06-19T11:39:22.529Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-06-19T11:39:22.529Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-06-19T11:39:22.801Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-06-19T11:39:23.078Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-06-19T11:39:23.356Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-06-19T11:39:23.949Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-06-19T11:39:24.220Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-06-19T11:39:24.491Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-06-19T11:39:24.762Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-06-19T11:39:25.033Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-06-19T11:39:25.303Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-06-19T11:39:25.573Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-06-19T11:39:25.845Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-06-19T11:39:26.115Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-06-19T11:39:26.388Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-06-19T11:39:26.659Z] [ 40%] Linking C shared library libcbor.so [2020-06-19T11:39:26.659Z] [ 40%] Built target cbor_shared [2020-06-19T11:39:26.659Z] Scanning dependencies of target cbor [2020-06-19T11:39:26.659Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-06-19T11:39:27.631Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-06-19T11:39:28.224Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-06-19T11:39:28.224Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-06-19T11:39:29.650Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-06-19T11:39:29.650Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-06-19T11:39:29.922Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-06-19T11:39:29.922Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-06-19T11:39:30.201Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-06-19T11:39:30.473Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-06-19T11:39:31.458Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-06-19T11:39:31.458Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-06-19T11:39:32.056Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-06-19T11:39:32.329Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-06-19T11:39:32.605Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-06-19T11:39:32.884Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-06-19T11:39:33.158Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-06-19T11:39:33.430Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-06-19T11:39:33.430Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-06-19T11:39:34.028Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-06-19T11:39:34.028Z] [ 80%] Linking C static library libcbor.a [2020-06-19T11:39:34.028Z] [ 80%] Built target cbor [2020-06-19T11:39:34.028Z] Scanning dependencies of target create_items [2020-06-19T11:39:34.028Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-06-19T11:39:34.298Z] [ 84%] Linking C executable create_items [2020-06-19T11:39:34.298Z] [ 84%] Built target create_items [2020-06-19T11:39:34.298Z] Scanning dependencies of target readfile [2020-06-19T11:39:34.298Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-06-19T11:39:34.569Z] [ 88%] Linking C executable readfile [2020-06-19T11:39:34.569Z] [ 88%] Built target readfile [2020-06-19T11:39:34.847Z] Scanning dependencies of target streaming_parser [2020-06-19T11:39:34.847Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-06-19T11:39:34.847Z] [ 92%] Linking C executable streaming_parser [2020-06-19T11:39:35.081Z] Running on prd-centos7-docker-4c-2g-3712 in /w/workspace/edgexfoundry_device-sdk-c_PR-271 [Pipeline] { [2020-06-19T11:39:35.119Z] [ 92%] Built target streaming_parser [2020-06-19T11:39:35.119Z] Scanning dependencies of target sort [2020-06-19T11:39:35.119Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [Pipeline] ws [2020-06-19T11:39:35.154Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2020-06-19T11:39:35.390Z] [ 96%] Linking C executable sort [2020-06-19T11:39:35.390Z] [ 96%] Built target sort [2020-06-19T11:39:35.390Z] Scanning dependencies of target hello [2020-06-19T11:39:35.390Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-06-19T11:39:35.662Z] [100%] Linking C executable hello [2020-06-19T11:39:35.662Z] [100%] Built target hello [2020-06-19T11:39:35.662Z] Install the project... [2020-06-19T11:39:35.662Z] -- Install configuration: "Release" [2020-06-19T11:39:35.662Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-06-19T11:39:35.662Z] -- Installing: /usr/local/lib64/libcbor.a [2020-06-19T11:39:35.662Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-06-19T11:39:35.662Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-06-19T11:39:35.662Z] -- Installing: /usr/local/lib64/libcbor.so [2020-06-19T11:39:35.662Z] -- Up-to-date: /usr/local/include/cbor [2020-06-19T11:39:35.662Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-06-19T11:39:35.662Z] -- Installing: /usr/local/include/cbor/ints.h [2020-06-19T11:39:35.662Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-06-19T11:39:35.662Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-06-19T11:39:35.662Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-06-19T11:39:35.662Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-06-19T11:39:35.662Z] -- Installing: /usr/local/include/cbor/data.h [2020-06-19T11:39:35.662Z] -- Installing: /usr/local/include/cbor/common.h [2020-06-19T11:39:35.662Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-06-19T11:39:35.662Z] -- Installing: /usr/local/include/cbor/strings.h [2020-06-19T11:39:35.662Z] -- Installing: /usr/local/include/cbor/tags.h [2020-06-19T11:39:35.662Z] -- Installing: /usr/local/include/cbor/internal [2020-06-19T11:39:35.662Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-06-19T11:39:35.662Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-06-19T11:39:35.662Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-06-19T11:39:35.662Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-06-19T11:39:35.662Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-06-19T11:39:35.662Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-06-19T11:39:35.662Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-06-19T11:39:35.662Z] -- Installing: /usr/local/include/cbor/maps.h [2020-06-19T11:39:35.662Z] -- Installing: /usr/local/include/cbor.h [2020-06-19T11:39:35.662Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-06-19T11:39:37.927Z] using credential edgex-jenkins-ssh [2020-06-19T11:39:37.952Z] Cloning the remote Git repository [2020-06-19T11:39:37.952Z] Cloning with configured refspecs honoured and without tags [2020-06-19T11:39:38.282Z] Removing intermediate container e350802c6495 [2020-06-19T11:39:38.282Z] ---> 47c5fbb56ad5 [2020-06-19T11:39:38.282Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-06-19T11:39:38.556Z] ---> Running in b3e84738cd45 [2020-06-19T11:39:37.985Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-06-19T11:39:38.056Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2020-06-19T11:39:38.104Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-06-19T11:39:38.105Z] > git --version # timeout=10 [2020-06-19T11:39:38.115Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-19T11:39:38.145Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/271/head:refs/remotes/origin/PR-271 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-19T11:39:38.758Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-06-19T11:39:38.768Z] > git config --add remote.origin.fetch +refs/pull/271/head:refs/remotes/origin/PR-271 # timeout=10 [2020-06-19T11:39:38.774Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-19T11:39:38.799Z] Fetching without tags [2020-06-19T11:39:39.331Z] Merging remotes/origin/master commit 9807c98aec50e436adf0acc90aeecd299a070733 into PR head commit 414b841636228c254328d50dab08f2821d7f5031 [2020-06-19T11:39:39.420Z] Merge succeeded, producing 414b841636228c254328d50dab08f2821d7f5031 [2020-06-19T11:39:39.420Z] Checking out Revision 414b841636228c254328d50dab08f2821d7f5031 (PR-271) [2020-06-19T11:39:38.791Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-06-19T11:39:38.803Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-06-19T11:39:38.803Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-19T11:39:38.808Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/271/head:refs/remotes/origin/PR-271 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-19T11:39:39.340Z] > git config core.sparsecheckout # timeout=10 [2020-06-19T11:39:39.346Z] > git checkout -f 414b841636228c254328d50dab08f2821d7f5031 # timeout=10 [2020-06-19T11:39:39.389Z] > git remote # timeout=10 [2020-06-19T11:39:39.394Z] > git config --get remote.origin.url # timeout=10 [2020-06-19T11:39:39.402Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-19T11:39:39.406Z] > git merge 9807c98aec50e436adf0acc90aeecd299a070733 # timeout=10 [2020-06-19T11:39:39.415Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-06-19T11:39:39.423Z] > git config core.sparsecheckout # timeout=10 [2020-06-19T11:39:39.429Z] > git checkout -f 414b841636228c254328d50dab08f2821d7f5031 # timeout=10 [2020-06-19T11:39:41.182Z] Removing intermediate container b3e84738cd45 [2020-06-19T11:39:41.182Z] ---> c57f8a17d175 [2020-06-19T11:39:41.182Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-06-19T11:39:41.780Z] ---> 328e4b6c14ec [2020-06-19T11:39:41.780Z] Step 8/21 : COPY src /tmp/sdk/src [2020-06-19T11:39:42.379Z] ---> 0adcd8b1af90 [2020-06-19T11:39:42.379Z] Step 9/21 : COPY include /tmp/sdk/include [2020-06-19T11:39:43.167Z] Commit message: "fix: wrong map size for CBOR readings feat: take a reasonable default for mediaType" [2020-06-19T11:39:43.198Z] > git --version # timeout=10 [2020-06-19T11:39:43.209Z] fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-19T11:39:43.358Z] ---> 3693f42658c4 [2020-06-19T11:39:43.358Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-06-19T11:39:43.955Z] ---> 7038040639a6 [2020-06-19T11:39:43.955Z] Step 11/21 : COPY LICENSE /tmp/sdk [Pipeline] echo [2020-06-19T11:39:44.101Z] ========================================================= [2020-06-19T11:39:44.101Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2020-06-19T11:39:44.101Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-19T11:39:44.551Z] ---> 2bb7d239fa3c [2020-06-19T11:39:44.551Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-06-19T11:39:44.863Z] + 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-06-19T11:39:45.128Z] Sending build context to Docker daemon 3.294MB [2020-06-19T11:39:45.128Z] Step 1/21 : ARG BASE=alpine:3.11 [2020-06-19T11:39:45.128Z] Step 2/21 : FROM ${BASE} as builder [2020-06-19T11:39:45.147Z] ---> 11202a8aa171 [2020-06-19T11:39:45.147Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-06-19T11:39:45.399Z] latest: Pulling from edgex-devops/edgex-gcc-base [2020-06-19T11:39:45.399Z] e7c96db7181b: Pulling fs layer [2020-06-19T11:39:45.399Z] 4c13bbce0fe7: Pulling fs layer [2020-06-19T11:39:45.399Z] 6059c847ac2f: Pulling fs layer [2020-06-19T11:39:45.399Z] 4c13bbce0fe7: Verifying Checksum [2020-06-19T11:39:45.399Z] 4c13bbce0fe7: Download complete [2020-06-19T11:39:45.399Z] e7c96db7181b: Verifying Checksum [2020-06-19T11:39:45.399Z] e7c96db7181b: Download complete [2020-06-19T11:39:45.422Z] ---> Running in 8f8d98fc11a5 [2020-06-19T11:39:45.660Z] e7c96db7181b: Pull complete [2020-06-19T11:39:45.660Z] 4c13bbce0fe7: Pull complete [2020-06-19T11:39:46.239Z] 6059c847ac2f: Verifying Checksum [2020-06-19T11:39:46.239Z] 6059c847ac2f: Download complete [2020-06-19T11:39:46.860Z] + CPPCHECK=false [2020-06-19T11:39:46.860Z] + DOCGEN=false [2020-06-19T11:39:46.860Z] + TOMLVER=SDK-0.2 [2020-06-19T11:39:46.860Z] + CUTILVER=1.0.4 [2020-06-19T11:39:46.860Z] + '[' 0 -gt 0 ] [2020-06-19T11:39:46.860Z] + readlink -f ./scripts/build.sh [2020-06-19T11:39:46.860Z] + dirname /tmp/sdk/scripts/build.sh [2020-06-19T11:39:46.860Z] + dirname /tmp/sdk/scripts [2020-06-19T11:39:46.860Z] + ROOT=/tmp/sdk [2020-06-19T11:39:46.860Z] + cd /tmp/sdk [2020-06-19T11:39:46.860Z] + '[' '!' -d deps ] [2020-06-19T11:39:46.860Z] + mkdir deps [2020-06-19T11:39:46.860Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-06-19T11:39:46.860Z] + tar -C deps -z -x -f - [2020-06-19T11:39:46.860Z] --2020-06-19 11:39:46-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-06-19T11:39:46.860Z] Resolving github.com... 140.82.112.3 [2020-06-19T11:39:46.860Z] Connecting to github.com|140.82.112.3|:443... connected. [2020-06-19T11:39:47.133Z] HTTP request sent, awaiting response... 302 Found [2020-06-19T11:39:47.133Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-06-19T11:39:47.133Z] --2020-06-19 11:39:46-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-06-19T11:39:47.133Z] Resolving codeload.github.com... 140.82.114.10 [2020-06-19T11:39:47.133Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2020-06-19T11:39:47.133Z] HTTP request sent, awaiting response... 200 OK [2020-06-19T11:39:47.133Z] Length: unspecified [application/x-gzip] [2020-06-19T11:39:47.133Z] Saving to: 'STDOUT' [2020-06-19T11:39:47.133Z]  [2020-06-19T11:39:47.133Z] 0K .......... ...... 1.05M=0.01s [2020-06-19T11:39:47.133Z] [2020-06-19T11:39:47.133Z] 2020-06-19 11:39:47 (1.05 MB/s) - written to stdout [16451] [2020-06-19T11:39:47.133Z] [2020-06-19T11:39:47.133Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-06-19T11:39:47.133Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz+ [2020-06-19T11:39:47.133Z] tar -C deps -z -x -f - [2020-06-19T11:39:47.133Z] --2020-06-19 11:39:47-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-06-19T11:39:47.407Z] Resolving github.com... 140.82.112.3 [2020-06-19T11:39:47.407Z] Connecting to github.com|140.82.112.3|:443... connected. [2020-06-19T11:39:47.407Z] HTTP request sent, awaiting response... 302 Found [2020-06-19T11:39:47.407Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] [2020-06-19T11:39:47.407Z] --2020-06-19 11:39:47-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [2020-06-19T11:39:47.407Z] Resolving codeload.github.com... 140.82.114.10 [2020-06-19T11:39:47.407Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2020-06-19T11:39:47.679Z] HTTP request sent, awaiting response... 200 OK [2020-06-19T11:39:47.679Z] Length: unspecified [application/x-gzip] [2020-06-19T11:39:47.679Z] Saving to: 'STDOUT' [2020-06-19T11:39:47.679Z] [2020-06-19T11:39:47.679Z] 0K .......... .......... .......... .......... .......... 1.31M [2020-06-19T11:39:47.679Z] 50K .......... .......... .......... .......... .......... 2.55M [2020-06-19T11:39:47.679Z] 100K .......... .......... .......... .......... .......... 6.56M [2020-06-19T11:39:47.679Z] 150K ........     4.10M=0.07s [2020-06-19T11:39:47.679Z] [2020-06-19T11:39:47.679Z] 2020-06-19 11:39:47 (2.35 MB/s) - written to stdout [162267] [2020-06-19T11:39:47.679Z] [2020-06-19T11:39:47.679Z] + mkdir -p src/c/iot [2020-06-19T11:39:47.679Z] + 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-06-19T11:39:47.679Z] + mkdir -p include/iot [2020-06-19T11:39:47.679Z] + 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-06-19T11:39:47.679Z] + mkdir -p include/iot/os [2020-06-19T11:39:47.679Z] + 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-06-19T11:39:47.679Z] + mkdir -p /tmp/sdk/build/release [2020-06-19T11:39:47.679Z] + cd /tmp/sdk/build/release [2020-06-19T11:39:47.679Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-06-19T11:39:47.951Z] -- The C compiler identification is GNU 8.3.0 [2020-06-19T11:39:47.951Z] -- Check for working C compiler: /usr/bin/cc [2020-06-19T11:39:48.223Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-19T11:39:48.223Z] -- Detecting C compiler ABI info [2020-06-19T11:39:48.496Z] -- Detecting C compiler ABI info - done [2020-06-19T11:39:48.496Z] -- Detecting C compile features [2020-06-19T11:39:49.471Z] -- Detecting C compile features - done [2020-06-19T11:39:49.471Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-06-19T11:39:49.471Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-06-19T11:39:49.471Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-06-19T11:39:49.471Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-06-19T11:39:49.471Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-06-19T11:39:49.471Z] -- C SDK 0.0.0 for Linux [2020-06-19T11:39:49.471Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-06-19T11:39:49.471Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-06-19T11:39:49.471Z] -- Found Curses: /usr/lib/libcurses.so [2020-06-19T11:39:49.742Z] -- Configuring done [2020-06-19T11:39:50.011Z] -- Generating done [2020-06-19T11:39:50.011Z] -- Build files have been written to: /tmp/sdk/build/release [2020-06-19T11:39:50.011Z] + + maketee [2020-06-19T11:39:50.011Z] release.log [2020-06-19T11:39:50.011Z] Scanning dependencies of target csdk [2020-06-19T11:39:50.280Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-06-19T11:39:50.494Z] 6059c847ac2f: Pull complete [2020-06-19T11:39:50.495Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2020-06-19T11:39:50.495Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2020-06-19T11:39:50.495Z] ---> 5eabd8fd8ba2 [2020-06-19T11:39:50.495Z] 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-06-19T11:39:50.552Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-06-19T11:39:51.141Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-06-19T11:39:52.434Z] ---> Running in 15729749fcd0 [2020-06-19T11:39:52.695Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-06-19T11:39:53.098Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-06-19T11:39:53.268Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-06-19T11:39:53.368Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-06-19T11:39:53.530Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-06-19T11:39:53.639Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-06-19T11:39:53.793Z] (2/8) Installing libuuid (2.33-r0) [2020-06-19T11:39:53.793Z] (3/8) Installing libblkid (2.33-r0) [2020-06-19T11:39:53.793Z] (4/8) Installing libfdisk (2.33-r0) [2020-06-19T11:39:54.054Z] (5/8) Installing libmount (2.33-r0) [2020-06-19T11:39:54.054Z] (6/8) Installing libsmartcols (2.33-r0) [2020-06-19T11:39:54.317Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-06-19T11:39:54.586Z] (8/8) Installing wget (1.20.3-r0) [2020-06-19T11:39:54.586Z] Executing busybox-1.29.3-r10.trigger [2020-06-19T11:39:54.586Z] OK: 272 MiB in 83 packages [2020-06-19T11:39:54.615Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-06-19T11:39:55.159Z] Removing intermediate container 15729749fcd0 [2020-06-19T11:39:55.159Z] ---> 88e60a03383e [2020-06-19T11:39:55.159Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-06-19T11:39:55.159Z] ---> Running in 4fe3a419bc1e [2020-06-19T11:39:55.419Z] Removing intermediate container 4fe3a419bc1e [2020-06-19T11:39:55.420Z] ---> 9bcf10807ded [2020-06-19T11:39:55.420Z] 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-06-19T11:39:55.420Z] ---> Running in 121ff6c5e149 [2020-06-19T11:39:56.364Z] --2020-06-19 11:39:56-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-06-19T11:39:56.364Z] Resolving github.com... 140.82.112.3 [2020-06-19T11:39:56.364Z] Connecting to github.com|140.82.112.3|:443... connected. [2020-06-19T11:39:56.364Z] HTTP request sent, awaiting response... 302 Found [2020-06-19T11:39:56.364Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-06-19T11:39:56.364Z] --2020-06-19 11:39:56-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-06-19T11:39:56.364Z] Resolving codeload.github.com... 140.82.114.10 [2020-06-19T11:39:56.364Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2020-06-19T11:39:56.364Z] HTTP request sent, awaiting response... 200 OK [2020-06-19T11:39:56.364Z] Length: 719348 (702K) [application/x-gzip] [2020-06-19T11:39:56.364Z] Saving to: 'STDOUT' [2020-06-19T11:39:56.364Z]  [2020-06-19T11:39:56.364Z] 0K .......... .......... .......... .......... .......... 7% 1.60M 0s [2020-06-19T11:39:56.364Z] 50K .......... .......... .......... .......... .......... 14% 3.21M 0s [2020-06-19T11:39:56.364Z] 100K .......... .......... .......... .......... .......... 21% 20.2M 0s [2020-06-19T11:39:56.364Z] 150K .......... .......... .......... .......... .......... 28% 3.99M 0s [2020-06-19T11:39:56.364Z] 200K .......... .......... .......... .......... .......... 35% 44.7M 0s [2020-06-19T11:39:56.364Z] 250K .......... .......... .......... .......... .......... 42% 7.60M 0s [2020-06-19T11:39:56.364Z] 300K .......... .......... .......... .......... .......... 49% 9.50M 0s [2020-06-19T11:39:56.572Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-06-19T11:39:56.572Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-06-19T11:39:56.627Z] 350K .......... .......... .......... .......... .......... 56% 8.59M 0s [2020-06-19T11:39:56.627Z] 400K .......... .......... .......... .......... .......... 64% 8.86M 0s [2020-06-19T11:39:56.627Z] 450K .......... .......... .......... .......... .......... 71% 9.60M 0s [2020-06-19T11:39:56.627Z] 500K .......... .......... .......... .......... .......... 78% 6.76M 0s [2020-06-19T11:39:56.627Z] 550K .......... .......... .......... .......... .......... 85% 124M 0s [2020-06-19T11:39:56.627Z] 600K .......... .......... .......... .......... .......... 92% 2.35M 0s [2020-06-19T11:39:56.627Z] 650K .......... .......... .......... .......... .......... 99% 5.30M 0s [2020-06-19T11:39:56.627Z] 700K .. 100% 662K=0.1s [2020-06-19T11:39:56.627Z] [2020-06-19T11:39:56.627Z] 2020-06-19 11:39:56 (5.25 MB/s) - written to stdout [719348/719348] [2020-06-19T11:39:56.627Z] [2020-06-19T11:39:56.627Z] -- The C compiler identification is GNU 8.3.0 [2020-06-19T11:39:56.887Z] -- The CXX compiler identification is GNU 8.3.0 [2020-06-19T11:39:56.887Z] -- Check for working C compiler: /usr/bin/cc [2020-06-19T11:39:56.887Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-19T11:39:56.887Z] -- Detecting C compiler ABI info [2020-06-19T11:39:56.887Z] -- Detecting C compiler ABI info - done [2020-06-19T11:39:56.887Z] -- Detecting C compile features [2020-06-19T11:39:57.148Z] -- Detecting C compile features - done [2020-06-19T11:39:57.148Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-06-19T11:39:57.148Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-06-19T11:39:57.148Z] -- Detecting CXX compiler ABI info [2020-06-19T11:39:57.410Z] -- Detecting CXX compiler ABI info - done [2020-06-19T11:39:57.410Z] -- Detecting CXX compile features [2020-06-19T11:39:57.546Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-06-19T11:39:57.673Z] -- Detecting CXX compile features - done [2020-06-19T11:39:57.674Z] -- Looking for include file endian.h [2020-06-19T11:39:57.818Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-06-19T11:39:57.934Z] -- Looking for include file endian.h - found [2020-06-19T11:39:57.934Z] -- Check if the system is big endian [2020-06-19T11:39:57.934Z] -- Searching 16 bit integer [2020-06-19T11:39:57.934Z] -- Looking for sys/types.h [2020-06-19T11:39:57.934Z] -- Looking for sys/types.h - found [2020-06-19T11:39:57.934Z] -- Looking for stdint.h [2020-06-19T11:39:57.934Z] -- Looking for stdint.h - found [2020-06-19T11:39:57.934Z] -- Looking for stddef.h [2020-06-19T11:39:58.090Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-06-19T11:39:58.196Z] -- Looking for stddef.h - found [2020-06-19T11:39:58.196Z] -- Check size of unsigned short [2020-06-19T11:39:58.196Z] -- Check size of unsigned short - done [2020-06-19T11:39:58.196Z] -- Using unsigned short [2020-06-19T11:39:58.196Z] -- Check if the system is big endian - little endian [2020-06-19T11:39:58.196Z] -- Check size of size_t [2020-06-19T11:39:58.196Z] -- Check size of size_t - done [2020-06-19T11:39:58.362Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-06-19T11:39:58.456Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-06-19T11:39:58.456Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-06-19T11:39:58.456Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-06-19T11:39:58.456Z] CMake did not find one. [2020-06-19T11:39:58.456Z] [2020-06-19T11:39:58.456Z] Could not find a package configuration file provided by "cJSON" with any of [2020-06-19T11:39:58.456Z] the following names: [2020-06-19T11:39:58.456Z] [2020-06-19T11:39:58.456Z] cJSONConfig.cmake [2020-06-19T11:39:58.456Z] cjson-config.cmake [2020-06-19T11:39:58.456Z] [2020-06-19T11:39:58.456Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-06-19T11:39:58.456Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-06-19T11:39:58.456Z] provides a separate development package or SDK, be sure it has been [2020-06-19T11:39:58.456Z] installed. [2020-06-19T11:39:58.456Z] [2020-06-19T11:39:58.456Z] [2020-06-19T11:39:58.456Z] -- Configuring done [2020-06-19T11:39:58.456Z] -- Generating done [2020-06-19T11:39:58.456Z] -- Build files have been written to: /tmp/cbor [2020-06-19T11:39:58.456Z] Scanning dependencies of target cbor_shared [2020-06-19T11:39:58.456Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-06-19T11:39:58.633Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-06-19T11:39:58.717Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-06-19T11:39:58.717Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-06-19T11:39:58.979Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-06-19T11:39:58.979Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-06-19T11:39:58.979Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-06-19T11:39:59.240Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-06-19T11:39:59.240Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-06-19T11:39:59.240Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-06-19T11:39:59.240Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-06-19T11:39:59.509Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-06-19T11:39:59.509Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-06-19T11:39:59.509Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-06-19T11:39:59.776Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-06-19T11:39:59.776Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-06-19T11:39:59.776Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-06-19T11:40:00.044Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-06-19T11:40:00.044Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-06-19T11:40:00.044Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-06-19T11:40:00.044Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-06-19T11:40:00.312Z] [ 40%] Linking C shared library libcbor.so [2020-06-19T11:40:00.312Z] [ 40%] Built target cbor_shared [2020-06-19T11:40:00.312Z] Scanning dependencies of target cbor [2020-06-19T11:40:00.312Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-06-19T11:40:00.312Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-06-19T11:40:00.586Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-06-19T11:40:00.586Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-06-19T11:40:00.854Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-06-19T11:40:00.854Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-06-19T11:40:01.121Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-06-19T11:40:01.121Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-06-19T11:40:01.121Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-06-19T11:40:01.121Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-06-19T11:40:01.384Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-06-19T11:40:01.384Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-06-19T11:40:01.648Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-06-19T11:40:01.648Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-06-19T11:40:01.911Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-06-19T11:40:01.911Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-06-19T11:40:01.911Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-06-19T11:40:01.911Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-06-19T11:40:02.008Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-06-19T11:40:02.008Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-06-19T11:40:02.177Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-06-19T11:40:02.177Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-06-19T11:40:02.177Z] [ 80%] Linking C static library libcbor.a [2020-06-19T11:40:02.177Z] [ 80%] Built target cbor [2020-06-19T11:40:02.177Z] Scanning dependencies of target create_items [2020-06-19T11:40:02.177Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-06-19T11:40:02.285Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-06-19T11:40:02.439Z] [ 84%] Linking C executable create_items [2020-06-19T11:40:02.439Z] [ 84%] Built target create_items [2020-06-19T11:40:02.439Z] Scanning dependencies of target readfile [2020-06-19T11:40:02.439Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-06-19T11:40:02.439Z] [ 88%] Linking C executable readfile [2020-06-19T11:40:02.439Z] [ 88%] Built target readfile [2020-06-19T11:40:02.439Z] Scanning dependencies of target streaming_parser [2020-06-19T11:40:02.439Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-06-19T11:40:02.439Z] [ 92%] Linking C executable streaming_parser [2020-06-19T11:40:02.439Z] [ 92%] Built target streaming_parser [2020-06-19T11:40:02.439Z] Scanning dependencies of target sort [2020-06-19T11:40:02.708Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-06-19T11:40:02.708Z] [ 96%] Linking C executable sort [2020-06-19T11:40:02.708Z] [ 96%] Built target sort [2020-06-19T11:40:02.708Z] Scanning dependencies of target hello [2020-06-19T11:40:02.708Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-06-19T11:40:02.708Z] [100%] Linking C executable hello [2020-06-19T11:40:02.708Z] [100%] Built target hello [2020-06-19T11:40:02.708Z] Install the project... [2020-06-19T11:40:02.708Z] -- Install configuration: "Release" [2020-06-19T11:40:02.708Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-06-19T11:40:02.708Z] -- Installing: /usr/local/lib64/libcbor.a [2020-06-19T11:40:02.708Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-06-19T11:40:02.708Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-06-19T11:40:02.708Z] -- Installing: /usr/local/lib64/libcbor.so [2020-06-19T11:40:02.708Z] -- Up-to-date: /usr/local/include/cbor [2020-06-19T11:40:02.708Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-06-19T11:40:02.708Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-06-19T11:40:02.708Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-06-19T11:40:02.708Z] -- Installing: /usr/local/include/cbor/common.h [2020-06-19T11:40:02.708Z] -- Installing: /usr/local/include/cbor/data.h [2020-06-19T11:40:02.708Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-06-19T11:40:02.708Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-06-19T11:40:02.708Z] -- Installing: /usr/local/include/cbor/internal [2020-06-19T11:40:02.708Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-06-19T11:40:02.708Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-06-19T11:40:02.708Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-06-19T11:40:02.708Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-06-19T11:40:02.708Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-06-19T11:40:02.708Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-06-19T11:40:02.708Z] -- Installing: /usr/local/include/cbor/ints.h [2020-06-19T11:40:02.708Z] -- Installing: /usr/local/include/cbor/maps.h [2020-06-19T11:40:02.708Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-06-19T11:40:02.708Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-06-19T11:40:02.708Z] -- Installing: /usr/local/include/cbor/strings.h [2020-06-19T11:40:02.708Z] -- Installing: /usr/local/include/cbor/tags.h [2020-06-19T11:40:02.708Z] -- Installing: /usr/local/include/cbor.h [2020-06-19T11:40:02.708Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-06-19T11:40:02.877Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-06-19T11:40:04.622Z] Removing intermediate container 121ff6c5e149 [2020-06-19T11:40:04.622Z] ---> a8152616c05d [2020-06-19T11:40:04.622Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-06-19T11:40:04.622Z] ---> Running in 40cd8f9ea327 [2020-06-19T11:40:05.471Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-06-19T11:40:05.471Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-06-19T11:40:05.471Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-06-19T11:40:05.566Z] Removing intermediate container 40cd8f9ea327 [2020-06-19T11:40:05.566Z] ---> 0c48c3573bda [2020-06-19T11:40:05.566Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-06-19T11:40:05.828Z] ---> 33df4d9b4bbe [2020-06-19T11:40:05.828Z] Step 8/21 : COPY src /tmp/sdk/src [2020-06-19T11:40:06.063Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-06-19T11:40:06.337Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-06-19T11:40:06.610Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-06-19T11:40:06.771Z] ---> 27e888147b36 [2020-06-19T11:40:06.771Z] Step 9/21 : COPY include /tmp/sdk/include [2020-06-19T11:40:06.771Z] ---> 4ffa0fa6b923 [2020-06-19T11:40:06.771Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-06-19T11:40:07.041Z] ---> d28fb14a0f0c [2020-06-19T11:40:07.041Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-06-19T11:40:07.303Z] ---> 7d99b39c74d6 [2020-06-19T11:40:07.303Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-06-19T11:40:07.564Z] ---> 03dd0ce2d2fe [2020-06-19T11:40:07.564Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-06-19T11:40:07.564Z] ---> Running in 6b98b932810c [2020-06-19T11:40:07.584Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-06-19T11:40:07.827Z] + CPPCHECK=false [2020-06-19T11:40:07.827Z] + DOCGEN=false [2020-06-19T11:40:07.827Z] + TOMLVER=SDK-0.2 [2020-06-19T11:40:07.827Z] + CUTILVER=1.0.4 [2020-06-19T11:40:07.827Z] + '[' 0 -gt 0 ] [2020-06-19T11:40:07.827Z] + readlink -f ./scripts/build.sh [2020-06-19T11:40:07.827Z] + dirname /tmp/sdk/scripts/build.sh [2020-06-19T11:40:07.827Z] + dirname /tmp/sdk/scripts [2020-06-19T11:40:07.827Z] + ROOT=/tmp/sdk [2020-06-19T11:40:07.827Z] + cd /tmp/sdk [2020-06-19T11:40:07.827Z] + '[' '!' -d deps ] [2020-06-19T11:40:07.827Z] + mkdir deps [2020-06-19T11:40:07.827Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-06-19T11:40:07.827Z] + tar -C deps -z -x -f - [2020-06-19T11:40:07.827Z] --2020-06-19 11:40:07-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-06-19T11:40:07.827Z] Resolving github.com... 140.82.112.3 [2020-06-19T11:40:07.827Z] Connecting to github.com|140.82.112.3|:443... connected. [2020-06-19T11:40:07.855Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-06-19T11:40:08.087Z] HTTP request sent, awaiting response... 302 Found [2020-06-19T11:40:08.087Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-06-19T11:40:08.087Z] --2020-06-19 11:40:07-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-06-19T11:40:08.087Z] Resolving codeload.github.com... 140.82.114.10 [2020-06-19T11:40:08.087Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2020-06-19T11:40:08.087Z] HTTP request sent, awaiting response... 200 OK [2020-06-19T11:40:08.087Z] Length: 16451 (16K) [application/x-gzip] [2020-06-19T11:40:08.087Z] Saving to: 'STDOUT' [2020-06-19T11:40:08.087Z]  [2020-06-19T11:40:08.087Z] 0K .......... ...... 100% 1.06M=0.01s [2020-06-19T11:40:08.087Z] [2020-06-19T11:40:08.087Z] 2020-06-19 11:40:07 (1.06 MB/s) - written to stdout [16451/16451] [2020-06-19T11:40:08.087Z] [2020-06-19T11:40:08.087Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-06-19T11:40:08.087Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-06-19T11:40:08.087Z] + tar -C deps -z -x -f - [2020-06-19T11:40:08.087Z] --2020-06-19 11:40:07-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-06-19T11:40:08.087Z] Resolving github.com... 140.82.112.3 [2020-06-19T11:40:08.087Z] Connecting to github.com|140.82.112.3|:443... connected. [2020-06-19T11:40:08.087Z] HTTP request sent, awaiting response... 302 Found [2020-06-19T11:40:08.087Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] [2020-06-19T11:40:08.087Z] --2020-06-19 11:40:08-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [2020-06-19T11:40:08.087Z] Resolving codeload.github.com... 140.82.114.10 [2020-06-19T11:40:08.087Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2020-06-19T11:40:08.348Z] HTTP request sent, awaiting response... 200 OK [2020-06-19T11:40:08.348Z] Length: 162267 (158K) [application/x-gzip] [2020-06-19T11:40:08.348Z] Saving to: 'STDOUT' [2020-06-19T11:40:08.348Z] [2020-06-19T11:40:08.348Z] 0K .......... .......... .......... .......... .......... 31% 1.33M 0s [2020-06-19T11:40:08.348Z] 50K .......... .......... .......... .......... .......... 63% 2.66M 0s [2020-06-19T11:40:08.348Z] 100K .......... .......... .......... .......... .......... 94% 50.7M 0s [2020-06-19T11:40:08.348Z] 150K ........ 100% 3.69M=0.06s [2020-06-19T11:40:08.348Z] [2020-06-19T11:40:08.348Z] 2020-06-19 11:40:08 (2.66 MB/s) - written to stdout [162267/162267] [2020-06-19T11:40:08.348Z] [2020-06-19T11:40:08.348Z] + mkdir -p src/c/iot [2020-06-19T11:40:08.348Z] + 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-06-19T11:40:08.348Z] + mkdir -p include/iot [2020-06-19T11:40:08.348Z] + 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-06-19T11:40:08.348Z] + mkdir -p include/iot/os [2020-06-19T11:40:08.348Z] + 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-06-19T11:40:08.348Z] + mkdir -p /tmp/sdk/build/release [2020-06-19T11:40:08.348Z] + cd /tmp/sdk/build/release [2020-06-19T11:40:08.348Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-06-19T11:40:08.348Z] -- The C compiler identification is GNU 8.3.0 [2020-06-19T11:40:08.452Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-06-19T11:40:08.452Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-06-19T11:40:08.609Z] -- Check for working C compiler: /usr/bin/cc [2020-06-19T11:40:08.609Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-19T11:40:08.609Z] -- Detecting C compiler ABI info [2020-06-19T11:40:08.609Z] -- Detecting C compiler ABI info - done [2020-06-19T11:40:08.609Z] -- Detecting C compile features [2020-06-19T11:40:08.870Z] -- Detecting C compile features - done [2020-06-19T11:40:08.870Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-06-19T11:40:08.870Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-06-19T11:40:08.870Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-06-19T11:40:08.870Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-06-19T11:40:08.870Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-06-19T11:40:08.870Z] -- C SDK 0.0.0 for Linux [2020-06-19T11:40:08.870Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-06-19T11:40:08.870Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-06-19T11:40:08.870Z] -- Found Curses: /usr/lib/libcurses.so [2020-06-19T11:40:08.870Z] -- Configuring done [2020-06-19T11:40:09.043Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-06-19T11:40:09.130Z] -- Generating done [2020-06-19T11:40:09.130Z] -- Build files have been written to: /tmp/sdk/build/release [2020-06-19T11:40:09.130Z] + make [2020-06-19T11:40:09.130Z] + tee release.log [2020-06-19T11:40:09.130Z] Scanning dependencies of target csdk [2020-06-19T11:40:09.130Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-06-19T11:40:09.389Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-06-19T11:40:09.389Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-06-19T11:40:09.971Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-06-19T11:40:09.971Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-06-19T11:40:09.971Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-06-19T11:40:10.012Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-06-19T11:40:10.013Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-06-19T11:40:10.237Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-06-19T11:40:10.810Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-06-19T11:40:10.810Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-06-19T11:40:11.069Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-06-19T11:40:11.069Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-06-19T11:40:11.330Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-06-19T11:40:11.330Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-06-19T11:40:11.330Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-06-19T11:40:12.275Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-06-19T11:40:12.275Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-06-19T11:40:12.275Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-06-19T11:40:12.534Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-06-19T11:40:13.104Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-06-19T11:40:13.104Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-06-19T11:40:13.104Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-06-19T11:40:13.364Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-06-19T11:40:13.364Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-06-19T11:40:13.364Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-06-19T11:40:13.625Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-06-19T11:40:13.625Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-06-19T11:40:13.884Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-06-19T11:40:13.884Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-06-19T11:40:14.145Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-06-19T11:40:14.145Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-06-19T11:40:14.301Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-06-19T11:40:14.407Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-06-19T11:40:14.894Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-06-19T11:40:15.166Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-06-19T11:40:15.347Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-06-19T11:40:15.608Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-06-19T11:40:15.608Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-06-19T11:40:15.756Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-06-19T11:40:15.874Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-06-19T11:40:16.135Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-06-19T11:40:16.706Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-06-19T11:40:17.182Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-06-19T11:40:17.650Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-06-19T11:40:17.650Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-06-19T11:40:17.909Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-06-19T11:40:17.909Z] [ 74%] Linking C shared library libcsdk.so [2020-06-19T11:40:18.170Z] [ 74%] Built target csdk [2020-06-19T11:40:18.170Z] Scanning dependencies of target template [2020-06-19T11:40:18.170Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-06-19T11:40:18.170Z] [ 78%] Linking C executable template [2020-06-19T11:40:18.430Z] [ 78%] Built target template [2020-06-19T11:40:18.430Z] Scanning dependencies of target device-counter [2020-06-19T11:40:18.430Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-06-19T11:40:18.430Z] [ 81%] Linking C executable device-counter [2020-06-19T11:40:18.430Z] [ 81%] Built target device-counter [2020-06-19T11:40:18.430Z] Scanning dependencies of target device-random [2020-06-19T11:40:18.430Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-06-19T11:40:18.692Z] [ 85%] Linking C executable device-random [2020-06-19T11:40:18.692Z] [ 85%] Built target device-random [2020-06-19T11:40:18.692Z] Scanning dependencies of target device-gyro [2020-06-19T11:40:18.692Z] [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-06-19T11:40:18.953Z] [ 89%] Linking C executable device-gyro [2020-06-19T11:40:18.953Z] [ 89%] Built target device-gyro [2020-06-19T11:40:18.953Z] Scanning dependencies of target template-discovery [2020-06-19T11:40:18.953Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-06-19T11:40:18.953Z] [ 92%] Linking C executable template-discovery [2020-06-19T11:40:19.149Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-06-19T11:40:19.215Z] [ 92%] Built target template-discovery [2020-06-19T11:40:19.215Z] Scanning dependencies of target device-terminal [2020-06-19T11:40:19.215Z] [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-06-19T11:40:19.215Z] [ 96%] Linking C executable device-terminal [2020-06-19T11:40:19.474Z] [ 96%] Built target device-terminal [2020-06-19T11:40:19.474Z] Scanning dependencies of target templatev1 [2020-06-19T11:40:19.474Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-06-19T11:40:19.474Z] [100%] Linking C executable templatev1 [2020-06-19T11:40:19.474Z] [100%] Built target templatev1 [2020-06-19T11:40:19.474Z] + make package [2020-06-19T11:40:19.474Z] + tee -a release.log [2020-06-19T11:40:19.736Z] [ 74%] Built target csdk [2020-06-19T11:40:19.736Z] [ 78%] Built target template [2020-06-19T11:40:19.736Z] [ 81%] Built target device-counter [2020-06-19T11:40:19.736Z] [ 85%] Built target device-random [2020-06-19T11:40:19.736Z] [ 89%] Built target device-gyro [2020-06-19T11:40:19.736Z] [ 92%] Built target template-discovery [2020-06-19T11:40:19.736Z] [ 96%] Built target device-terminal [2020-06-19T11:40:19.736Z] [100%] Built target templatev1 [2020-06-19T11:40:19.736Z] Run CPack packaging tool... [2020-06-19T11:40:19.736Z] CPack: Create package using TGZ [2020-06-19T11:40:19.736Z] CPack: Install projects [2020-06-19T11:40:19.736Z] CPack: - Run preinstall target for: Csdk [2020-06-19T11:40:20.000Z] CPack: - Install project: Csdk [2020-06-19T11:40:20.000Z] CPack: Create package [2020-06-19T11:40:20.000Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2020-06-19T11:40:20.000Z] + '[' false '=' true ] [2020-06-19T11:40:20.000Z] + '[' false '=' true ] [2020-06-19T11:40:20.000Z] + mkdir -p /tmp/sdk/build/debug [2020-06-19T11:40:20.000Z] + cd /tmp/sdk/build/debug [2020-06-19T11:40:20.000Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-06-19T11:40:20.260Z] -- The C compiler identification is GNU 8.3.0 [2020-06-19T11:40:20.260Z] -- Check for working C compiler: /usr/bin/cc [2020-06-19T11:40:20.260Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-19T11:40:20.260Z] -- Detecting C compiler ABI info [2020-06-19T11:40:20.260Z] -- Detecting C compiler ABI info - done [2020-06-19T11:40:20.260Z] -- Detecting C compile features [2020-06-19T11:40:20.520Z] -- Detecting C compile features - done [2020-06-19T11:40:20.520Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-06-19T11:40:20.520Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-06-19T11:40:20.520Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-06-19T11:40:20.520Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-06-19T11:40:20.520Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-06-19T11:40:20.520Z] -- C SDK 0.0.0 for Linux [2020-06-19T11:40:20.520Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-06-19T11:40:20.520Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-06-19T11:40:20.520Z] -- Found Curses: /usr/lib/libcurses.so [2020-06-19T11:40:20.780Z] -- Configuring done [2020-06-19T11:40:20.780Z] -- Generating done [2020-06-19T11:40:20.780Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-06-19T11:40:20.780Z] + make+ [2020-06-19T11:40:20.780Z] tee debug.log [2020-06-19T11:40:20.781Z] Scanning dependencies of target csdk [2020-06-19T11:40:20.781Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-06-19T11:40:20.781Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-06-19T11:40:21.040Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-06-19T11:40:21.040Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-06-19T11:40:21.301Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-06-19T11:40:21.301Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-06-19T11:40:21.301Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-06-19T11:40:21.562Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-06-19T11:40:21.562Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-06-19T11:40:21.562Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-06-19T11:40:21.823Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-06-19T11:40:21.823Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-06-19T11:40:21.823Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-06-19T11:40:21.823Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-06-19T11:40:22.085Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-06-19T11:40:22.348Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-06-19T11:40:22.348Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-06-19T11:40:22.348Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-06-19T11:40:22.514Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-06-19T11:40:22.514Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-06-19T11:40:22.608Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-06-19T11:40:22.608Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-06-19T11:40:22.608Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-06-19T11:40:22.608Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-06-19T11:40:22.869Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-06-19T11:40:22.869Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-06-19T11:40:22.869Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-06-19T11:40:22.869Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-06-19T11:40:23.132Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-06-19T11:40:23.132Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-06-19T11:40:23.132Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-06-19T11:40:23.393Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-06-19T11:40:23.393Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-06-19T11:40:23.655Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-06-19T11:40:23.655Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-06-19T11:40:23.916Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-06-19T11:40:23.916Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-06-19T11:40:23.941Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-06-19T11:40:24.177Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-06-19T11:40:24.177Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-06-19T11:40:24.213Z] [ 74%] Linking C shared library libcsdk.so [2020-06-19T11:40:24.437Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-06-19T11:40:24.437Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-06-19T11:40:24.486Z] [ 74%] Built target csdk [2020-06-19T11:40:24.486Z] Scanning dependencies of target template [2020-06-19T11:40:24.486Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-06-19T11:40:24.702Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-06-19T11:40:24.702Z] [ 74%] Linking C shared library libcsdk.so [2020-06-19T11:40:24.702Z] [ 74%] Built target csdk [2020-06-19T11:40:24.702Z] Scanning dependencies of target template [2020-06-19T11:40:24.702Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-06-19T11:40:24.963Z] [ 78%] Linking C executable template [2020-06-19T11:40:24.963Z] [ 78%] Built target template [2020-06-19T11:40:24.963Z] Scanning dependencies of target device-counter [2020-06-19T11:40:24.963Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-06-19T11:40:24.963Z] [ 81%] Linking C executable device-counter [2020-06-19T11:40:24.963Z] [ 81%] Built target device-counter [2020-06-19T11:40:24.963Z] Scanning dependencies of target device-random [2020-06-19T11:40:25.152Z] [ 78%] Linking C executable template [2020-06-19T11:40:25.225Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-06-19T11:40:25.225Z] [ 85%] Linking C executable device-random [2020-06-19T11:40:25.225Z] [ 85%] Built target device-random [2020-06-19T11:40:25.225Z] Scanning dependencies of target device-gyro [2020-06-19T11:40:25.225Z] [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-06-19T11:40:25.225Z] [ 89%] Linking C executable device-gyro [2020-06-19T11:40:25.443Z] [ 78%] Built target template [2020-06-19T11:40:25.443Z] Scanning dependencies of target device-counter [2020-06-19T11:40:25.443Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-06-19T11:40:25.485Z] [ 89%] Built target device-gyro [2020-06-19T11:40:25.486Z] Scanning dependencies of target template-discovery [2020-06-19T11:40:25.486Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-06-19T11:40:25.486Z] [ 92%] Linking C executable template-discovery [2020-06-19T11:40:25.486Z] [ 92%] Built target template-discovery [2020-06-19T11:40:25.486Z] Scanning dependencies of target device-terminal [2020-06-19T11:40:25.486Z] [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-06-19T11:40:25.746Z] [ 96%] Linking C executable device-terminal [2020-06-19T11:40:25.746Z] [ 96%] Built target device-terminal [2020-06-19T11:40:25.746Z] Scanning dependencies of target templatev1 [2020-06-19T11:40:25.746Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-06-19T11:40:25.746Z] [100%] Linking C executable templatev1 [2020-06-19T11:40:26.007Z] [100%] Built target templatev1 [2020-06-19T11:40:26.007Z] make: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:40:26.007Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:40:26.007Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:40:26.007Z] Scanning dependencies of target csdk [2020-06-19T11:40:26.007Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:40:26.007Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:40:26.007Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-06-19T11:40:26.103Z] [ 81%] Linking C executable device-counter [2020-06-19T11:40:26.103Z] [ 81%] Built target device-counter [2020-06-19T11:40:26.267Z] [ 3%] Linking C shared library libcsdk.so [2020-06-19T11:40:26.380Z] Scanning dependencies of target device-random [2020-06-19T11:40:26.380Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-06-19T11:40:26.529Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:40:26.529Z] [ 74%] Built target csdk [2020-06-19T11:40:26.529Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:40:26.529Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:40:26.529Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:40:26.529Z] [ 76%] Linking C executable template [2020-06-19T11:40:26.529Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:40:26.529Z] [ 78%] Built target template [2020-06-19T11:40:26.529Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:40:26.529Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:40:26.529Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:40:26.529Z] [ 80%] Linking C executable device-counter [2020-06-19T11:40:26.667Z] [ 85%] Linking C executable device-random [2020-06-19T11:40:26.792Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:40:26.792Z] [ 81%] Built target device-counter [2020-06-19T11:40:26.792Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:40:26.792Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:40:26.792Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:40:26.793Z] [ 83%] Linking C executable device-random [2020-06-19T11:40:26.793Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:40:26.793Z] [ 85%] Built target device-random [2020-06-19T11:40:26.793Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:40:26.793Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:40:26.793Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:40:26.793Z] [ 87%] Linking C executable device-gyro [2020-06-19T11:40:26.793Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:40:26.793Z] [ 89%] Built target device-gyro [2020-06-19T11:40:26.793Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:40:26.793Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:40:26.793Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:40:26.793Z] [ 90%] Linking C executable template-discovery [2020-06-19T11:40:26.958Z] [ 85%] Built target device-random [2020-06-19T11:40:26.958Z] Scanning dependencies of target device-gyro [2020-06-19T11:40:26.958Z] [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-06-19T11:40:27.053Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:40:27.053Z] [ 92%] Built target template-discovery [2020-06-19T11:40:27.053Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:40:27.053Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:40:27.053Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:40:27.053Z] [ 94%] Linking C executable device-terminal [2020-06-19T11:40:27.053Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:40:27.053Z] [ 96%] Built target device-terminal [2020-06-19T11:40:27.053Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:40:27.053Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:40:27.053Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:40:27.053Z] [ 98%] Linking C executable templatev1 [2020-06-19T11:40:27.053Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:40:27.053Z] [100%] Built target templatev1 [2020-06-19T11:40:27.053Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:40:27.053Z] Install the project... [2020-06-19T11:40:27.053Z] -- Install configuration: "Release" [2020-06-19T11:40:27.053Z] -- Installing: /usr/local/lib/libcsdk.so [2020-06-19T11:40:27.053Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-06-19T11:40:27.053Z] -- Up-to-date: /usr/local/include [2020-06-19T11:40:27.053Z] -- Installing: /usr/local/include/devsdk [2020-06-19T11:40:27.053Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-06-19T11:40:27.053Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-06-19T11:40:27.053Z] -- Installing: /usr/local/include/edgex [2020-06-19T11:40:27.053Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-06-19T11:40:27.053Z] -- Installing: /usr/local/include/edgex/devices.h [2020-06-19T11:40:27.053Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-06-19T11:40:27.053Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-06-19T11:40:27.053Z] -- Installing: /usr/local/include/edgex/edgex-logging.h [2020-06-19T11:40:27.053Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-06-19T11:40:27.053Z] -- Installing: /usr/local/include/edgex/error.h [2020-06-19T11:40:27.054Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-06-19T11:40:27.054Z] -- Installing: /usr/local/include/edgex/os.h [2020-06-19T11:40:27.054Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-06-19T11:40:27.054Z] -- Installing: /usr/local/include/edgex/registry.h [2020-06-19T11:40:27.054Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-06-19T11:40:27.054Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-06-19T11:40:27.054Z] -- Installing: /usr/local/include/iot [2020-06-19T11:40:27.054Z] -- Installing: /usr/local/include/iot/base64.h [2020-06-19T11:40:27.054Z] -- Installing: /usr/local/include/iot/component.h [2020-06-19T11:40:27.054Z] -- Installing: /usr/local/include/iot/container.h [2020-06-19T11:40:27.054Z] -- Installing: /usr/local/include/iot/data.h [2020-06-19T11:40:27.054Z] -- Installing: /usr/local/include/iot/hash.h [2020-06-19T11:40:27.054Z] -- Installing: /usr/local/include/iot/iot.h [2020-06-19T11:40:27.054Z] -- Installing: /usr/local/include/iot/json.h [2020-06-19T11:40:27.054Z] -- Installing: /usr/local/include/iot/logger.h [2020-06-19T11:40:27.054Z] -- Installing: /usr/local/include/iot/os.h [2020-06-19T11:40:27.054Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-06-19T11:40:27.054Z] -- Installing: /usr/local/include/iot/thread.h [2020-06-19T11:40:27.054Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-06-19T11:40:27.054Z] -- Installing: /usr/local/include/iot/time.h [2020-06-19T11:40:27.054Z] -- Installing: /usr/local/include/iot/typecode.h [2020-06-19T11:40:27.054Z] -- Installing: /usr/local/include/iot/os [2020-06-19T11:40:27.054Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-06-19T11:40:27.054Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-06-19T11:40:27.054Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-06-19T11:40:27.054Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-06-19T11:40:27.054Z] make: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:40:27.578Z] [ 89%] Linking C executable device-gyro [2020-06-19T11:40:27.853Z] [ 89%] Built target device-gyro [2020-06-19T11:40:27.853Z] Scanning dependencies of target template-discovery [2020-06-19T11:40:27.853Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-06-19T11:40:28.443Z] [ 92%] Linking C executable template-discovery [2020-06-19T11:40:28.714Z] [ 92%] Built target template-discovery [2020-06-19T11:40:28.714Z] Scanning dependencies of target device-terminal [2020-06-19T11:40:28.714Z] [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-06-19T11:40:28.980Z] Removing intermediate container 6b98b932810c [2020-06-19T11:40:28.981Z] ---> 5a774c555a79 [2020-06-19T11:40:28.981Z] Step 14/21 : FROM ${BASE} [2020-06-19T11:40:28.981Z] ---> 5eabd8fd8ba2 [2020-06-19T11:40:28.981Z] Step 15/21 : MAINTAINER IOTech [2020-06-19T11:40:28.981Z] ---> Running in 12037ddc3251 [2020-06-19T11:40:29.241Z] Removing intermediate container 12037ddc3251 [2020-06-19T11:40:29.241Z] ---> 064da62a86a7 [2020-06-19T11:40:29.241Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-06-19T11:40:29.241Z] ---> Running in c8dc4cc416bf [2020-06-19T11:40:29.304Z] [ 96%] Linking C executable device-terminal [2020-06-19T11:40:29.304Z] [ 96%] Built target device-terminal [2020-06-19T11:40:29.574Z] Scanning dependencies of target templatev1 [2020-06-19T11:40:29.574Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-06-19T11:40:29.816Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-06-19T11:40:30.166Z] [100%] Linking C executable templatev1 [2020-06-19T11:40:30.166Z] [100%] Built target templatev1 [2020-06-19T11:40:30.166Z] + make package [2020-06-19T11:40:30.166Z] + tee -a release.log [2020-06-19T11:40:30.437Z] [ 74%] Built target csdk [2020-06-19T11:40:30.437Z] [ 78%] Built target template [2020-06-19T11:40:30.437Z] [ 81%] Built target device-counter [2020-06-19T11:40:30.437Z] [ 85%] Built target device-random [2020-06-19T11:40:30.437Z] [ 89%] Built target device-gyro [2020-06-19T11:40:30.709Z] [ 92%] Built target template-discovery [2020-06-19T11:40:30.709Z] [ 96%] Built target device-terminal [2020-06-19T11:40:30.709Z] [100%] Built target templatev1 [2020-06-19T11:40:30.709Z] Run CPack packaging tool... [2020-06-19T11:40:30.709Z] CPack: Create package using TGZ [2020-06-19T11:40:30.709Z] CPack: Install projects [2020-06-19T11:40:30.709Z] CPack: - Run preinstall target for: Csdk [2020-06-19T11:40:30.766Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-06-19T11:40:31.027Z] (1/3) Installing curl (7.64.0-r3) [2020-06-19T11:40:31.027Z] (2/3) Installing libuuid (2.33-r0) [2020-06-19T11:40:31.027Z] (3/3) Installing wget (1.20.3-r0) [2020-06-19T11:40:31.300Z] Executing busybox-1.29.3-r10.trigger [2020-06-19T11:40:31.300Z] OK: 268 MiB in 78 packages [2020-06-19T11:40:31.303Z] CPack: - Install project: Csdk [2020-06-19T11:40:31.303Z] CPack: Create package [2020-06-19T11:40:31.303Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2020-06-19T11:40:31.303Z] + '[' false '=' true ] [2020-06-19T11:40:31.303Z] + '[' false '=' true ] [2020-06-19T11:40:31.303Z] + mkdir -p /tmp/sdk/build/debug [2020-06-19T11:40:31.303Z] + cd /tmp/sdk/build/debug [2020-06-19T11:40:31.303Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-06-19T11:40:31.573Z] -- The C compiler identification is GNU 8.3.0 [2020-06-19T11:40:31.845Z] -- Check for working C compiler: /usr/bin/cc [2020-06-19T11:40:31.872Z] Removing intermediate container c8dc4cc416bf [2020-06-19T11:40:31.872Z] ---> 8781416a2057 [2020-06-19T11:40:31.872Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-06-19T11:40:31.872Z] ---> 4f0a4bf1efad [2020-06-19T11:40:31.872Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-06-19T11:40:32.116Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-19T11:40:32.116Z] -- Detecting C compiler ABI info [2020-06-19T11:40:32.116Z] -- Detecting C compiler ABI info - done [2020-06-19T11:40:32.136Z] ---> 04483f3987e9 [2020-06-19T11:40:32.136Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-06-19T11:40:32.387Z] -- Detecting C compile features [2020-06-19T11:40:32.397Z] ---> 641882ff3d92 [2020-06-19T11:40:32.397Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-06-19T11:40:32.657Z] ---> a9abf448cfad [2020-06-19T11:40:32.657Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-06-19T11:40:32.918Z] ---> 47bdb5180771 [2020-06-19T11:40:32.918Z] Successfully built 47bdb5180771 [2020-06-19T11:40:32.918Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [2020-06-19T11:40:32.979Z] -- Detecting C compile features - done [2020-06-19T11:40:32.980Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-06-19T11:40:32.980Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-06-19T11:40:32.980Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-06-19T11:40:32.980Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-06-19T11:40:32.980Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-06-19T11:40:32.980Z] -- C SDK 0.0.0 for Linux [2020-06-19T11:40:32.980Z] -- Performing Test CSDK_HAVE_ATOMIC [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [2020-06-19T11:40:33.250Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-06-19T11:40:33.250Z] -- Found Curses: /usr/lib/libcurses.so [Pipeline] isUnix [Pipeline] sh [2020-06-19T11:40:33.521Z] -- Configuring done [2020-06-19T11:40:33.602Z] + docker inspect -f . ci-base-image-x86_64 [2020-06-19T11:40:33.602Z] . [Pipeline] withDockerContainer [2020-06-19T11:40:33.721Z] prd-centos7-docker-4c-2g-3712 does not seem to be running inside a container [2020-06-19T11:40:33.767Z] $ 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 ******** ci-base-image-x86_64 cat [2020-06-19T11:40:33.791Z] -- Generating done [2020-06-19T11:40:33.791Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-06-19T11:40:33.791Z] + + teemake debug.log [2020-06-19T11:40:33.791Z] [2020-06-19T11:40:33.791Z] Scanning dependencies of target csdk [2020-06-19T11:40:34.062Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-06-19T11:40:34.310Z] $ docker top 95515e710d17b709a7154d0567b83c96714fd0d9dfe1887a154601e007dcdea3 -eo pid,comm [2020-06-19T11:40:34.333Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [Pipeline] { [Pipeline] sh [2020-06-19T11:40:34.603Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-06-19T11:40:34.789Z] + make test [2020-06-19T11:40:34.789Z] echo "make test" [2020-06-19T11:40:34.789Z] make test [Pipeline] } [2020-06-19T11:40:34.819Z] $ docker stop --time=1 95515e710d17b709a7154d0567b83c96714fd0d9dfe1887a154601e007dcdea3 [2020-06-19T11:40:35.195Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-06-19T11:40:35.467Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-06-19T11:40:35.467Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-06-19T11:40:36.056Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-06-19T11:40:36.146Z] $ docker rm -f 95515e710d17b709a7154d0567b83c96714fd0d9dfe1887a154601e007dcdea3 [Pipeline] // withDockerContainer [2020-06-19T11:40:36.327Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [2020-06-19T11:40:36.602Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [Pipeline] { [Pipeline] sh [2020-06-19T11:40:37.187Z] + sudo chown -R jenkins:jenkins . [2020-06-19T11:40:37.193Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-06-19T11:40:37.193Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [Pipeline] sh [2020-06-19T11:40:37.469Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-06-19T11:40:37.511Z] + ls -al . [2020-06-19T11:40:37.511Z] total 160 [2020-06-19T11:40:37.511Z] drwxrwxr-x. 9 jenkins jenkins 275 Jun 19 11:39 . [2020-06-19T11:40:37.511Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 19 11:39 .. [2020-06-19T11:40:37.511Z] -rw-rw-r--. 1 jenkins jenkins 3104 Jun 19 11:39 Attribution.txt [2020-06-19T11:40:37.511Z] -rw-rw-r--. 1 jenkins jenkins 5323 Jun 19 11:39 CHANGES [2020-06-19T11:40:37.511Z] drwxrwxr-x. 2 jenkins jenkins 144 Jun 19 11:39 docs [2020-06-19T11:40:37.511Z] -rw-rw-r--. 1 jenkins jenkins 108574 Jun 19 11:39 Doxyfile [2020-06-19T11:40:37.511Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 19 11:39 .git [2020-06-19T11:40:37.511Z] drwxrwxr-x. 2 jenkins jenkins 38 Jun 19 11:39 .github [2020-06-19T11:40:37.511Z] -rw-rw-r--. 1 jenkins jenkins 176 Jun 19 11:39 .gitignore [2020-06-19T11:40:37.511Z] drwxrwxr-x. 4 jenkins jenkins 33 Jun 19 11:39 include [2020-06-19T11:40:37.511Z] -rw-rw-r--. 1 jenkins jenkins 794 Jun 19 11:39 Jenkinsfile [2020-06-19T11:40:37.511Z] -rw-rw-r--. 1 jenkins jenkins 10174 Jun 19 11:39 LICENSE [2020-06-19T11:40:37.511Z] -rw-rw-r--. 1 jenkins jenkins 449 Jun 19 11:39 Makefile [2020-06-19T11:40:37.511Z] -rw-rw-r--. 1 jenkins jenkins 1849 Jun 19 11:39 README.md [2020-06-19T11:40:37.511Z] -rw-rw-r--. 1 jenkins jenkins 5229 Jun 19 11:39 README.v2.md [2020-06-19T11:40:37.511Z] drwxrwxr-x. 2 jenkins jenkins 108 Jun 19 11:39 scripts [2020-06-19T11:40:37.511Z] drwxrwxr-x. 3 jenkins jenkins 58 Jun 19 11:39 .semver [2020-06-19T11:40:37.511Z] drwxrwxr-x. 4 jenkins jenkins 50 Jun 19 11:39 src [2020-06-19T11:40:37.511Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 19 11:36 VERSION [Pipeline] isUnix [Pipeline] sh [2020-06-19T11:40:37.741Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-06-19T11:40:37.838Z] + 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=414b841636228c254328d50dab08f2821d7f5031 --label arch=amd64 --label version=0.0.0 . [2020-06-19T11:40:37.838Z] Sending build context to Docker daemon 3.294MB [2020-06-19T11:40:37.838Z] Step 1/15 : ARG BASE=alpine:3.11 [2020-06-19T11:40:37.838Z] Step 2/15 : FROM ${BASE} [2020-06-19T11:40:37.838Z] ---> 47bdb5180771 [2020-06-19T11:40:37.838Z] Step 3/15 : MAINTAINER IOTech [2020-06-19T11:40:38.014Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-06-19T11:40:38.408Z] ---> Running in 7926baa29ed0 [2020-06-19T11:40:38.610Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-06-19T11:40:38.669Z] Removing intermediate container 7926baa29ed0 [2020-06-19T11:40:38.669Z] ---> 60944d7288f0 [2020-06-19T11:40:38.669Z] 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-06-19T11:40:38.669Z] ---> Running in e608e961ba3d [2020-06-19T11:40:38.884Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-06-19T11:40:38.930Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-06-19T11:40:39.156Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-06-19T11:40:39.427Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-06-19T11:40:39.871Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-06-19T11:40:40.019Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-06-19T11:40:40.132Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2020-06-19T11:40:40.132Z] (2/6) Installing libblkid (2.33-r0) [2020-06-19T11:40:40.291Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-06-19T11:40:40.291Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-06-19T11:40:40.394Z] (3/6) Installing libfdisk (2.33-r0) [2020-06-19T11:40:40.395Z] (4/6) Installing libmount (2.33-r0) [2020-06-19T11:40:40.395Z] (5/6) Installing libsmartcols (2.33-r0) [2020-06-19T11:40:40.562Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-06-19T11:40:40.655Z] (6/6) Installing util-linux-dev (2.33-r0) [2020-06-19T11:40:40.832Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-06-19T11:40:40.915Z] Executing busybox-1.29.3-r10.trigger [2020-06-19T11:40:40.915Z] OK: 272 MiB in 84 packages [2020-06-19T11:40:41.106Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-06-19T11:40:41.375Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-06-19T11:40:41.375Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-06-19T11:40:41.486Z] Removing intermediate container e608e961ba3d [2020-06-19T11:40:41.486Z] ---> 9e504701dc15 [2020-06-19T11:40:41.486Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-06-19T11:40:41.646Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-06-19T11:40:41.748Z] ---> d2ec3bf77edd [2020-06-19T11:40:41.748Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-06-19T11:40:41.916Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-06-19T11:40:42.186Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-06-19T11:40:42.321Z] ---> 79fb70566c91 [2020-06-19T11:40:42.321Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-06-19T11:40:42.457Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-06-19T11:40:42.582Z] ---> 2fe977eaff61 [2020-06-19T11:40:42.582Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-06-19T11:40:42.727Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-06-19T11:40:42.842Z] ---> dc953409de00 [2020-06-19T11:40:42.842Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-06-19T11:40:43.107Z] ---> c684bc201a9e [2020-06-19T11:40:43.107Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-06-19T11:40:43.370Z] ---> 49595f4e904e [2020-06-19T11:40:43.370Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-06-19T11:40:43.370Z] ---> Running in 3c7dff2e7765 [2020-06-19T11:40:43.370Z] Removing intermediate container 3c7dff2e7765 [2020-06-19T11:40:43.370Z] ---> d8c7ec015f73 [2020-06-19T11:40:43.370Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-06-19T11:40:43.634Z] ---> Running in 5e23a7530063 [2020-06-19T11:40:43.634Z] Removing intermediate container 5e23a7530063 [2020-06-19T11:40:43.634Z] ---> 2a93be2d0fa8 [2020-06-19T11:40:43.634Z] Step 13/15 : LABEL arch=amd64 [2020-06-19T11:40:43.634Z] ---> Running in 1b6b48dc12ae [2020-06-19T11:40:43.697Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-06-19T11:40:43.895Z] Removing intermediate container 1b6b48dc12ae [2020-06-19T11:40:43.895Z] ---> 8a813e5ae5ce [2020-06-19T11:40:43.895Z] Step 14/15 : LABEL git_sha=414b841636228c254328d50dab08f2821d7f5031 [2020-06-19T11:40:43.895Z] ---> Running in 2fb41c289ddf [2020-06-19T11:40:43.988Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-06-19T11:40:44.156Z] Removing intermediate container 2fb41c289ddf [2020-06-19T11:40:44.156Z] ---> 3c556634aaac [2020-06-19T11:40:44.156Z] Step 15/15 : LABEL version=0.0.0 [2020-06-19T11:40:44.156Z] ---> Running in e43b2e967e28 [2020-06-19T11:40:44.259Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-06-19T11:40:44.418Z] Removing intermediate container e43b2e967e28 [2020-06-19T11:40:44.418Z] ---> 1c82de7c241b [2020-06-19T11:40:44.418Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2020-06-19T11:40:44.418Z] Successfully built 1c82de7c241b [2020-06-19T11:40:44.418Z] Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } [2020-06-19T11:40:44.530Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [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] } [2020-06-19T11:40:45.509Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-06-19T11:40:45.780Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-06-19T11:40:46.756Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-06-19T11:40:46.756Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-06-19T11:40:47.348Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-06-19T11:40:47.620Z] [ 74%] Linking C shared library libcsdk.so [2020-06-19T11:40:47.620Z] [ 74%] Built target csdk [2020-06-19T11:40:47.620Z] Scanning dependencies of target template [2020-06-19T11:40:47.902Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-06-19T11:40:48.174Z] [ 78%] Linking C executable template [2020-06-19T11:40:48.174Z] [ 78%] Built target template [2020-06-19T11:40:48.174Z] Scanning dependencies of target device-counter [2020-06-19T11:40:48.446Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-06-19T11:40:48.446Z] [ 81%] Linking C executable device-counter [2020-06-19T11:40:48.718Z] [ 81%] Built target device-counter [2020-06-19T11:40:48.718Z] Scanning dependencies of target device-random [2020-06-19T11:40:48.718Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-06-19T11:40:48.992Z] [ 85%] Linking C executable device-random [2020-06-19T11:40:49.269Z] [ 85%] Built target device-random [2020-06-19T11:40:49.269Z] Scanning dependencies of target device-gyro [2020-06-19T11:40:49.269Z] [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-06-19T11:40:49.539Z] [ 89%] Linking C executable device-gyro [2020-06-19T11:40:49.810Z] [ 89%] Built target device-gyro [2020-06-19T11:40:49.810Z] Scanning dependencies of target template-discovery [2020-06-19T11:40:49.810Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-06-19T11:40:50.081Z] [ 92%] Linking C executable template-discovery [2020-06-19T11:40:50.352Z] [ 92%] Built target template-discovery [2020-06-19T11:40:50.352Z] Scanning dependencies of target device-terminal [2020-06-19T11:40:50.352Z] [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-06-19T11:40:50.623Z] [ 96%] Linking C executable device-terminal [2020-06-19T11:40:50.894Z] [ 96%] Built target device-terminal [2020-06-19T11:40:50.894Z] Scanning dependencies of target templatev1 [2020-06-19T11:40:50.894Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-06-19T11:40:51.170Z] [100%] Linking C executable templatev1 [2020-06-19T11:40:51.459Z] [100%] Built target templatev1 [2020-06-19T11:40:51.459Z] make: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:40:51.459Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:40:51.459Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:40:51.459Z] Scanning dependencies of target csdk [2020-06-19T11:40:51.459Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:40:51.731Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:40:51.731Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-06-19T11:40:53.691Z] [ 3%] Linking C shared library libcsdk.so [2020-06-19T11:40:53.691Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:40:53.691Z] [ 74%] Built target csdk [2020-06-19T11:40:53.691Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:40:53.691Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:40:53.691Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:40:53.691Z] [ 76%] Linking C executable template [2020-06-19T11:40:53.691Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:40:53.691Z] [ 78%] Built target template [2020-06-19T11:40:53.691Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:40:53.691Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:40:53.691Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:40:53.691Z] [ 80%] Linking C executable device-counter [2020-06-19T11:40:53.962Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:40:53.962Z] [ 81%] Built target device-counter [2020-06-19T11:40:53.962Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:40:53.962Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:40:53.962Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:40:53.962Z] [ 83%] Linking C executable device-random [2020-06-19T11:40:54.232Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:40:54.233Z] [ 85%] Built target device-random [2020-06-19T11:40:54.233Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:40:54.233Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:40:54.233Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:40:54.233Z] [ 87%] Linking C executable device-gyro [2020-06-19T11:40:54.504Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:40:54.504Z] [ 89%] Built target device-gyro [2020-06-19T11:40:54.504Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:40:54.504Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:40:54.504Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:40:54.504Z] [ 90%] Linking C executable template-discovery [2020-06-19T11:40:54.774Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:40:54.774Z] [ 92%] Built target template-discovery [2020-06-19T11:40:54.774Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:40:54.774Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:40:54.774Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:40:54.774Z] [ 94%] Linking C executable device-terminal [2020-06-19T11:40:55.045Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:40:55.045Z] [ 96%] Built target device-terminal [2020-06-19T11:40:55.045Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:40:55.045Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:40:55.045Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-19T11:40:55.045Z] [ 98%] Linking C executable templatev1 [2020-06-19T11:40:55.314Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:40:55.314Z] [100%] Built target templatev1 [2020-06-19T11:40:55.314Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:40:55.314Z] Install the project... [2020-06-19T11:40:55.314Z] -- Install configuration: "Release" [2020-06-19T11:40:55.314Z] -- Installing: /usr/local/lib/libcsdk.so [2020-06-19T11:40:55.314Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-06-19T11:40:55.314Z] -- Up-to-date: /usr/local/include [2020-06-19T11:40:55.314Z] -- Installing: /usr/local/include/edgex [2020-06-19T11:40:55.314Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-06-19T11:40:55.314Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-06-19T11:40:55.314Z] -- Installing: /usr/local/include/edgex/error.h [2020-06-19T11:40:55.314Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-06-19T11:40:55.314Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-06-19T11:40:55.314Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-06-19T11:40:55.314Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-06-19T11:40:55.314Z] -- Installing: /usr/local/include/edgex/registry.h [2020-06-19T11:40:55.314Z] -- Installing: /usr/local/include/edgex/edgex-logging.h [2020-06-19T11:40:55.314Z] -- Installing: /usr/local/include/edgex/devices.h [2020-06-19T11:40:55.314Z] -- Installing: /usr/local/include/edgex/os.h [2020-06-19T11:40:55.314Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-06-19T11:40:55.314Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-06-19T11:40:55.314Z] -- Installing: /usr/local/include/devsdk [2020-06-19T11:40:55.314Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-06-19T11:40:55.314Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-06-19T11:40:55.314Z] -- Installing: /usr/local/include/iot [2020-06-19T11:40:55.314Z] -- Installing: /usr/local/include/iot/json.h [2020-06-19T11:40:55.314Z] -- Installing: /usr/local/include/iot/container.h [2020-06-19T11:40:55.314Z] -- Installing: /usr/local/include/iot/component.h [2020-06-19T11:40:55.314Z] -- Installing: /usr/local/include/iot/typecode.h [2020-06-19T11:40:55.314Z] -- Installing: /usr/local/include/iot/iot.h [2020-06-19T11:40:55.314Z] -- Installing: /usr/local/include/iot/time.h [2020-06-19T11:40:55.314Z] -- Installing: /usr/local/include/iot/hash.h [2020-06-19T11:40:55.315Z] -- Installing: /usr/local/include/iot/logger.h [2020-06-19T11:40:55.315Z] -- Installing: /usr/local/include/iot/os [2020-06-19T11:40:55.315Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-06-19T11:40:55.315Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-06-19T11:40:55.315Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-06-19T11:40:55.315Z] -- Installing: /usr/local/include/iot/data.h [2020-06-19T11:40:55.315Z] -- Installing: /usr/local/include/iot/thread.h [2020-06-19T11:40:55.315Z] -- Installing: /usr/local/include/iot/os.h [2020-06-19T11:40:55.315Z] -- Installing: /usr/local/include/iot/base64.h [2020-06-19T11:40:55.315Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-06-19T11:40:55.315Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-06-19T11:40:55.315Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-06-19T11:40:55.315Z] make: Leaving directory '/tmp/sdk/build/release' [2020-06-19T11:40:57.921Z] Removing intermediate container 8f8d98fc11a5 [2020-06-19T11:40:57.921Z] ---> 83c5171a4aa0 [2020-06-19T11:40:57.921Z] Step 14/21 : FROM ${BASE} [2020-06-19T11:40:57.921Z] ---> b23d30803547 [2020-06-19T11:40:57.921Z] Step 15/21 : MAINTAINER IOTech [2020-06-19T11:40:57.921Z] ---> Running in 541172a36e1f [2020-06-19T11:40:57.921Z] Removing intermediate container 541172a36e1f [2020-06-19T11:40:57.921Z] ---> bf2cf33e6df4 [2020-06-19T11:40:57.921Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-06-19T11:40:58.194Z] ---> Running in c26a0e8d6642 [2020-06-19T11:40:59.622Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-06-19T11:41:00.215Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-06-19T11:41:00.805Z] (1/3) Installing curl (7.64.0-r3) [2020-06-19T11:41:00.805Z] (2/3) Installing libuuid (2.33-r0) [2020-06-19T11:41:00.805Z] (3/3) Installing wget (1.20.3-r0) [2020-06-19T11:41:01.074Z] Executing busybox-1.29.3-r10.trigger [2020-06-19T11:41:01.074Z] OK: 281 MiB in 78 packages [2020-06-19T11:41:02.499Z] Removing intermediate container c26a0e8d6642 [2020-06-19T11:41:02.499Z] ---> c65311396824 [2020-06-19T11:41:02.499Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-06-19T11:41:03.091Z] ---> e2ef74643c2f [2020-06-19T11:41:03.091Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-06-19T11:41:03.682Z] ---> db6aa4fecf53 [2020-06-19T11:41:03.682Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-06-19T11:41:04.655Z] ---> e95fc055ea39 [2020-06-19T11:41:04.655Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-06-19T11:41:05.249Z] ---> f97834ef49ea [2020-06-19T11:41:05.249Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-06-19T11:41:06.221Z] ---> 0ce906dd2feb [2020-06-19T11:41:06.221Z] Successfully built 0ce906dd2feb [2020-06-19T11:41:06.221Z] 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-06-19T11:41:06.927Z] + docker inspect -f . ci-base-image-arm64 [2020-06-19T11:41:06.927Z] . [Pipeline] withDockerContainer [2020-06-19T11:41:07.223Z] prd-ubuntu18.04-docker-arm64-4c-16g-3711 does not seem to be running inside a container [2020-06-19T11:41:07.270Z] $ 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 ******** ci-base-image-arm64 cat [2020-06-19T11:41:09.158Z] $ docker top 9b160f43f66bb541151bf12a7c51f61f2a53f89c97a55c83e78303983510fe67 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-19T11:41:10.635Z] + make test [2020-06-19T11:41:10.635Z] echo "make test" [2020-06-19T11:41:10.635Z] make test [Pipeline] } [2020-06-19T11:41:10.641Z] $ docker stop --time=1 9b160f43f66bb541151bf12a7c51f61f2a53f89c97a55c83e78303983510fe67 [2020-06-19T11:41:12.520Z] $ docker rm -f 9b160f43f66bb541151bf12a7c51f61f2a53f89c97a55c83e78303983510fe67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-19T11:41:13.632Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-19T11:41:13.980Z] + ls -al . [2020-06-19T11:41:13.980Z] total 196 [2020-06-19T11:41:13.980Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 19 11:38 . [2020-06-19T11:41:13.980Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 19 11:38 .. [2020-06-19T11:41:13.980Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 19 11:38 .git [2020-06-19T11:41:13.980Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 19 11:38 .github [2020-06-19T11:41:13.980Z] -rw-rw-r-- 1 jenkins jenkins 176 Jun 19 11:38 .gitignore [2020-06-19T11:41:13.980Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 11:38 .semver [2020-06-19T11:41:13.980Z] -rw-rw-r-- 1 jenkins jenkins 3104 Jun 19 11:38 Attribution.txt [2020-06-19T11:41:13.980Z] -rw-rw-r-- 1 jenkins jenkins 5323 Jun 19 11:38 CHANGES [2020-06-19T11:41:13.980Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jun 19 11:38 Doxyfile [2020-06-19T11:41:13.980Z] -rw-rw-r-- 1 jenkins jenkins 794 Jun 19 11:38 Jenkinsfile [2020-06-19T11:41:13.980Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jun 19 11:38 LICENSE [2020-06-19T11:41:13.980Z] -rw-rw-r-- 1 jenkins jenkins 449 Jun 19 11:38 Makefile [2020-06-19T11:41:13.980Z] -rw-rw-r-- 1 jenkins jenkins 1849 Jun 19 11:38 README.md [2020-06-19T11:41:13.980Z] -rw-rw-r-- 1 jenkins jenkins 5229 Jun 19 11:38 README.v2.md [2020-06-19T11:41:13.980Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 19 11:36 VERSION [2020-06-19T11:41:13.980Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 19 11:38 docs [2020-06-19T11:41:13.980Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 19 11:38 include [2020-06-19T11:41:13.980Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 19 11:38 scripts [2020-06-19T11:41:13.980Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 19 11:38 src [Pipeline] isUnix [Pipeline] sh [2020-06-19T11:41:14.337Z] + 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=414b841636228c254328d50dab08f2821d7f5031 --label arch=arm64 --label version=0.0.0 . [2020-06-19T11:41:14.932Z] Sending build context to Docker daemon 3.294MB [2020-06-19T11:41:14.932Z] Step 1/15 : ARG BASE=alpine:3.11 [2020-06-19T11:41:14.932Z] Step 2/15 : FROM ${BASE} [2020-06-19T11:41:14.932Z] ---> 0ce906dd2feb [2020-06-19T11:41:14.932Z] Step 3/15 : MAINTAINER IOTech [2020-06-19T11:41:15.203Z] ---> Running in 0e98ca55a66c [2020-06-19T11:41:15.473Z] Removing intermediate container 0e98ca55a66c [2020-06-19T11:41:15.473Z] ---> a0cae68b194f [2020-06-19T11:41:15.473Z] 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-06-19T11:41:15.745Z] ---> Running in f47bee7397d2 [2020-06-19T11:41:17.178Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-06-19T11:41:17.767Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-06-19T11:41:18.358Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2020-06-19T11:41:18.358Z] (2/6) Installing libblkid (2.33-r0) [2020-06-19T11:41:18.358Z] (3/6) Installing libfdisk (2.33-r0) [2020-06-19T11:41:18.629Z] (4/6) Installing libmount (2.33-r0) [2020-06-19T11:41:18.629Z] (5/6) Installing libsmartcols (2.33-r0) [2020-06-19T11:41:18.903Z] (6/6) Installing util-linux-dev (2.33-r0) [2020-06-19T11:41:19.173Z] Executing busybox-1.29.3-r10.trigger [2020-06-19T11:41:19.173Z] OK: 286 MiB in 84 packages [2020-06-19T11:41:20.602Z] Removing intermediate container f47bee7397d2 [2020-06-19T11:41:20.602Z] ---> 55b9bf83b85a [2020-06-19T11:41:20.602Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-06-19T11:41:21.191Z] ---> 0b681d4e9812 [2020-06-19T11:41:21.191Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-06-19T11:41:22.162Z] ---> ac292c884d20 [2020-06-19T11:41:22.162Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-06-19T11:41:22.757Z] ---> 23494382e915 [2020-06-19T11:41:22.757Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-06-19T11:41:23.352Z] ---> 9bf9771bbf3d [2020-06-19T11:41:23.352Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-06-19T11:41:24.326Z] ---> 4b1441f51fc2 [2020-06-19T11:41:24.326Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-06-19T11:41:24.927Z] ---> 8df598eb5952 [2020-06-19T11:41:24.927Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-06-19T11:41:24.927Z] ---> Running in 0206ea58e60a [2020-06-19T11:41:25.522Z] Removing intermediate container 0206ea58e60a [2020-06-19T11:41:25.522Z] ---> 15a9b1d5d73c [2020-06-19T11:41:25.522Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-06-19T11:41:25.522Z] ---> Running in 4da72d2ecf04 [2020-06-19T11:41:25.791Z] Removing intermediate container 4da72d2ecf04 [2020-06-19T11:41:25.791Z] ---> 07868d6413cd [2020-06-19T11:41:25.791Z] Step 13/15 : LABEL arch=arm64 [2020-06-19T11:41:26.068Z] ---> Running in 69709c480ce7 [2020-06-19T11:41:26.659Z] Removing intermediate container 69709c480ce7 [2020-06-19T11:41:26.659Z] ---> 621bee67770f [2020-06-19T11:41:26.659Z] Step 14/15 : LABEL git_sha=414b841636228c254328d50dab08f2821d7f5031 [2020-06-19T11:41:26.659Z] ---> Running in 9c68c68c69d8 [2020-06-19T11:41:26.932Z] Removing intermediate container 9c68c68c69d8 [2020-06-19T11:41:26.932Z] ---> 00cfe8abaa8c [2020-06-19T11:41:26.932Z] Step 15/15 : LABEL version=0.0.0 [2020-06-19T11:41:27.208Z] ---> Running in b3397a03ab95 [2020-06-19T11:41:27.800Z] Removing intermediate container b3397a03ab95 [2020-06-19T11:41:27.800Z] ---> 66cd657f6aea [2020-06-19T11:41:27.800Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2020-06-19T11:41:27.800Z] Successfully built 66cd657f6aea [2020-06-19T11:41:27.800Z] 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-06-19T11:41:29.962Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-19T11:41:30.572Z] ---> package-listing.sh [2020-06-19T11:41:30.572Z] ++ facter osfamily [2020-06-19T11:41:30.572Z] ++ tr '[:upper:]' '[:lower:]' [2020-06-19T11:41:30.572Z] + OS_FAMILY=redhat [2020-06-19T11:41:30.572Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-271 [2020-06-19T11:41:30.572Z] + START_PACKAGES=/tmp/packages_start.txt [2020-06-19T11:41:30.572Z] + END_PACKAGES=/tmp/packages_end.txt [2020-06-19T11:41:30.572Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-06-19T11:41:30.572Z] + PACKAGES=/tmp/packages_start.txt [2020-06-19T11:41:30.572Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-271 ']' [2020-06-19T11:41:30.572Z] + PACKAGES=/tmp/packages_end.txt [2020-06-19T11:41:30.572Z] + case "${OS_FAMILY}" in [2020-06-19T11:41:30.572Z] + rpm -qa [2020-06-19T11:41:30.572Z] + sort [2020-06-19T11:41:34.803Z] + '[' -f /tmp/packages_start.txt ']' [2020-06-19T11:41:34.803Z] + '[' -f /tmp/packages_end.txt ']' [2020-06-19T11:41:34.803Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-06-19T11:41:34.803Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-271 ']' [2020-06-19T11:41:34.803Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-271/archives/ [2020-06-19T11:41:34.803Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-271/archives/ [Pipeline] isUnix [Pipeline] sh [2020-06-19T11:41:35.206Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-19T11:41:35.207Z] [2020-06-19T11:41:35.207Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-06-19T11:41:35.582Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-19T11:41:35.582Z] alpine: Pulling from edgex-lftools-log-publisher [2020-06-19T11:41:35.582Z] c9b1b535fdd9: Pulling fs layer [2020-06-19T11:41:35.582Z] 2cc5ad85d9ab: Pulling fs layer [2020-06-19T11:41:35.582Z] 756a868c4378: Pulling fs layer [2020-06-19T11:41:35.582Z] 444b2fc9a129: Pulling fs layer [2020-06-19T11:41:35.582Z] ea15f1150254: Pulling fs layer [2020-06-19T11:41:35.582Z] 41b27a9f41bf: Pulling fs layer [2020-06-19T11:41:35.582Z] 28c525ee5125: Pulling fs layer [2020-06-19T11:41:35.582Z] 094b1ea09ed8: Pulling fs layer [2020-06-19T11:41:35.582Z] 138eaada9080: Pulling fs layer [2020-06-19T11:41:35.582Z] 0622d0fa9048: Pulling fs layer [2020-06-19T11:41:35.582Z] 444b2fc9a129: Waiting [2020-06-19T11:41:35.582Z] ea15f1150254: Waiting [2020-06-19T11:41:35.582Z] 41b27a9f41bf: Waiting [2020-06-19T11:41:35.582Z] 28c525ee5125: Waiting [2020-06-19T11:41:35.582Z] 094b1ea09ed8: Waiting [2020-06-19T11:41:35.582Z] 138eaada9080: Waiting [2020-06-19T11:41:35.582Z] 0622d0fa9048: Waiting [2020-06-19T11:41:35.582Z] 2cc5ad85d9ab: Verifying Checksum [2020-06-19T11:41:35.582Z] 2cc5ad85d9ab: Download complete [2020-06-19T11:41:35.582Z] 444b2fc9a129: Verifying Checksum [2020-06-19T11:41:35.582Z] 444b2fc9a129: Download complete [2020-06-19T11:41:35.582Z] c9b1b535fdd9: Download complete [2020-06-19T11:41:35.582Z] ea15f1150254: Download complete [2020-06-19T11:41:35.853Z] 28c525ee5125: Verifying Checksum [2020-06-19T11:41:35.853Z] 28c525ee5125: Download complete [2020-06-19T11:41:36.126Z] 756a868c4378: Download complete [2020-06-19T11:41:36.126Z] c9b1b535fdd9: Pull complete [2020-06-19T11:41:36.126Z] 094b1ea09ed8: Verifying Checksum [2020-06-19T11:41:36.126Z] 094b1ea09ed8: Download complete [2020-06-19T11:41:36.126Z] 138eaada9080: Verifying Checksum [2020-06-19T11:41:36.126Z] 138eaada9080: Download complete [2020-06-19T11:41:36.126Z] 0622d0fa9048: Verifying Checksum [2020-06-19T11:41:36.126Z] 0622d0fa9048: Download complete [2020-06-19T11:41:36.710Z] 2cc5ad85d9ab: Pull complete [2020-06-19T11:41:36.710Z] 41b27a9f41bf: Verifying Checksum [2020-06-19T11:41:36.710Z] 41b27a9f41bf: Download complete [2020-06-19T11:41:38.113Z] 756a868c4378: Pull complete [2020-06-19T11:41:38.113Z] 444b2fc9a129: Pull complete [2020-06-19T11:41:38.379Z] ea15f1150254: Pull complete [2020-06-19T11:41:42.626Z] 41b27a9f41bf: Pull complete [2020-06-19T11:41:42.626Z] 28c525ee5125: Pull complete [2020-06-19T11:41:45.194Z] 094b1ea09ed8: Pull complete [2020-06-19T11:41:45.194Z] 138eaada9080: Pull complete [2020-06-19T11:41:45.458Z] 0622d0fa9048: Pull complete [2020-06-19T11:41:45.458Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-06-19T11:41:45.458Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-19T11:41:45.458Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-06-19T11:41:45.643Z] prd-centos7-docker-4c-2g-3710 does not seem to be running inside a container [2020-06-19T11:41:45.688Z] $ 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-271 -v /w/workspace/edgexfoundry_device-sdk-c_PR-271:/w/workspace/edgexfoundry_device-sdk-c_PR-271:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-271@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-271@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-06-19T11:41:49.999Z] $ docker top ee0f8b742fe2f5c3bc7db65220d0402fb4f84d599641ddb357756c99ccc77e7b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-06-19T11:41:50.225Z] provisioning config files... [2020-06-19T11:41:50.242Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-271@tmp/config3214933479251481593tmp [Pipeline] { [Pipeline] echo [2020-06-19T11:41:50.308Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-19T11:41:50.648Z] ---> create-netrc.sh [Pipeline] echo [2020-06-19T11:41:50.685Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-19T11:41:51.005Z] ---> logs-deploy.sh [2020-06-19T11:41:51.005Z] + ARCHIVE_ARTIFACTS= [2020-06-19T11:41:51.005Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-06-19T11:41:51.005Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-06-19T11:41:51.005Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-06-19T11:41:51.005Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-271/1 [2020-06-19T11:41:51.005Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-271/1/ [2020-06-19T11:41:51.005Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-271/1 /w/workspace/edgexfoundry_device-sdk-c_PR-271 [2020-06-19T11:41:52.392Z] Archives upload complete. [2020-06-19T11:41:52.392Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-271/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-271/1/ [2020-06-19T11:41:52.964Z] ---> uname -a: [2020-06-19T11:41:52.964Z] Linux ee0f8b742fe2 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux [2020-06-19T11:41:52.964Z] [2020-06-19T11:41:52.964Z] [2020-06-19T11:41:52.964Z] ---> lscpu: [2020-06-19T11:41:52.965Z] Architecture: x86_64 [2020-06-19T11:41:52.965Z] CPU op-mode(s): 32-bit, 64-bit [2020-06-19T11:41:52.965Z] Byte Order: Little Endian [2020-06-19T11:41:52.965Z] Address sizes: 40 bits physical, 48 bits virtual [2020-06-19T11:41:52.965Z] CPU(s): 4 [2020-06-19T11:41:52.965Z] On-line CPU(s) list: 0-3 [2020-06-19T11:41:52.965Z] Thread(s) per core: 1 [2020-06-19T11:41:52.965Z] Core(s) per socket: 1 [2020-06-19T11:41:52.965Z] Socket(s): 4 [2020-06-19T11:41:52.965Z] NUMA node(s): 1 [2020-06-19T11:41:52.965Z] Vendor ID: GenuineIntel [2020-06-19T11:41:52.965Z] CPU family: 6 [2020-06-19T11:41:52.965Z] Model: 44 [2020-06-19T11:41:52.965Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2020-06-19T11:41:52.965Z] Stepping: 1 [2020-06-19T11:41:52.965Z] CPU MHz: 2933.438 [2020-06-19T11:41:52.965Z] BogoMIPS: 5866.87 [2020-06-19T11:41:52.965Z] Virtualization: VT-x [2020-06-19T11:41:52.965Z] Hypervisor vendor: KVM [2020-06-19T11:41:52.965Z] Virtualization type: full [2020-06-19T11:41:52.965Z] L1d cache: 128 KiB [2020-06-19T11:41:52.965Z] L1i cache: 128 KiB [2020-06-19T11:41:52.965Z] L2 cache: 16 MiB [2020-06-19T11:41:52.965Z] L3 cache: 64 MiB [2020-06-19T11:41:52.965Z] NUMA node0 CPU(s): 0-3 [2020-06-19T11:41:52.965Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2020-06-19T11:41:52.965Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2020-06-19T11:41:52.965Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2020-06-19T11:41:52.965Z] Vulnerability Meltdown: Mitigation; PTI [2020-06-19T11:41:52.965Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2020-06-19T11:41:52.965Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2020-06-19T11:41:52.965Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2020-06-19T11:41:52.965Z] Vulnerability Tsx async abort: Not affected [2020-06-19T11:41:52.965Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2020-06-19T11:41:52.965Z] [2020-06-19T11:41:52.965Z] [2020-06-19T11:41:52.965Z] ---> nproc: [2020-06-19T11:41:52.965Z] 4 [2020-06-19T11:41:52.965Z] [2020-06-19T11:41:52.965Z] [2020-06-19T11:41:52.965Z] ---> df -h: [2020-06-19T11:41:52.965Z] Filesystem Size Used Available Use% Mounted on [2020-06-19T11:41:52.965Z] overlay 50.0G 7.2G 42.8G 14% / [2020-06-19T11:41:52.965Z] tmpfs 64.0M 0 64.0M 0% /dev [2020-06-19T11:41:52.965Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2020-06-19T11:41:52.965Z] shm 64.0M 0 64.0M 0% /dev/shm [2020-06-19T11:41:52.965Z] /dev/vda1 50.0G 7.2G 42.8G 14% /etc/resolv.conf [2020-06-19T11:41:52.965Z] /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hostname [2020-06-19T11:41:52.965Z] /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hosts [2020-06-19T11:41:52.965Z] /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/edgexfoundry_device-sdk-c_PR-271 [2020-06-19T11:41:52.965Z] /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/edgexfoundry_device-sdk-c_PR-271@tmp [2020-06-19T11:41:52.965Z] /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/sa [2020-06-19T11:41:52.965Z] [2020-06-19T11:41:52.965Z] [2020-06-19T11:41:52.965Z] ---> free -m: [2020-06-19T11:41:52.965Z] total used free shared buff/cache available [2020-06-19T11:41:52.965Z] Mem: 1837 628 122 0 1086 1102 [2020-06-19T11:41:52.965Z] Swap: 1023 1 1022 [2020-06-19T11:41:52.965Z] [2020-06-19T11:41:52.965Z] [2020-06-19T11:41:52.965Z] ---> ip addr: [2020-06-19T11:41:52.965Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2020-06-19T11:41:52.965Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2020-06-19T11:41:52.965Z] inet 127.0.0.1/8 scope host lo [2020-06-19T11:41:52.965Z] valid_lft forever preferred_lft forever [2020-06-19T11:41:52.965Z] 6: eth0@if7: mtu 1458 qdisc noqueue state UP [2020-06-19T11:41:52.965Z] link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff [2020-06-19T11:41:52.965Z] inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 [2020-06-19T11:41:52.965Z] valid_lft forever preferred_lft forever [2020-06-19T11:41:52.965Z] [2020-06-19T11:41:52.965Z] [2020-06-19T11:41:52.965Z] ---> sar -b -r -n DEV: [2020-06-19T11:41:52.965Z] Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 06/19/20 _x86_64_ (4 CPU) [2020-06-19T11:41:52.965Z] [2020-06-19T11:41:52.965Z] 11:35:46 LINUX RESTART [2020-06-19T11:41:52.965Z] [2020-06-19T11:41:52.965Z] 11:37:01 tps rtps wtps bread/s bwrtn/s [2020-06-19T11:41:52.965Z] 11:38:01 2.30 0.00 2.30 0.00 49.67 [2020-06-19T11:41:52.965Z] 11:39:01 0.37 0.00 0.37 0.00 5.63 [2020-06-19T11:41:52.965Z] 11:40:01 0.25 0.00 0.25 0.00 3.11 [2020-06-19T11:41:52.965Z] 11:41:01 0.18 0.00 0.18 0.00 1.88 [2020-06-19T11:41:52.965Z] Average: 0.77 0.00 0.77 0.00 15.08 [2020-06-19T11:41:52.965Z] [2020-06-19T11:41:52.965Z] 11:37:01 kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2020-06-19T11:41:52.965Z] 11:38:01 183940 1697616 90.22 2620 1157392 1067860 36.44 375544 1162708 20 [2020-06-19T11:41:52.965Z] 11:39:01 180760 1700796 90.39 2620 1157396 1068104 36.45 379048 1162208 8 [2020-06-19T11:41:52.965Z] 11:40:01 180008 1701548 90.43 2620 1157404 1068164 36.45 381448 1160260 8 [2020-06-19T11:41:52.965Z] 11:41:01 181908 1699648 90.33 2620 1157404 1067924 36.45 380140 1160260 12 [2020-06-19T11:41:52.965Z] Average: 181654 1699902 90.35 2620 1157399 1068013 36.45 379045 1161359 12 [2020-06-19T11:41:52.965Z] [2020-06-19T11:41:52.965Z] 11:37:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s [2020-06-19T11:41:52.965Z] 11:38:01 eth0 0.72 0.12 0.06 0.03 0.00 0.00 0.00 [2020-06-19T11:41:52.965Z] 11:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-06-19T11:41:52.965Z] 11:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-06-19T11:41:52.965Z] 11:39:01 eth0 0.75 0.45 0.30 0.20 0.00 0.00 0.00 [2020-06-19T11:41:52.965Z] 11:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-06-19T11:41:52.965Z] 11:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-06-19T11:41:52.965Z] 11:40:01 eth0 0.68 0.28 0.29 0.20 0.00 0.00 0.00 [2020-06-19T11:41:52.965Z] 11:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-06-19T11:41:52.965Z] 11:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-06-19T11:41:52.965Z] 11:41:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 [2020-06-19T11:41:52.965Z] 11:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-06-19T11:41:52.965Z] 11:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-06-19T11:41:52.965Z] Average: eth0 0.56 0.23 0.16 0.11 0.00 0.00 0.00 [2020-06-19T11:41:52.965Z] Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-06-19T11:41:52.965Z] Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-06-19T11:41:52.965Z] [2020-06-19T11:41:52.965Z] [2020-06-19T11:41:52.965Z] ---> sar -P ALL: [2020-06-19T11:41:52.965Z] Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 06/19/20 _x86_64_ (4 CPU) [2020-06-19T11:41:52.965Z] [2020-06-19T11:41:52.965Z] 11:35:46 LINUX RESTART [2020-06-19T11:41:52.965Z] [2020-06-19T11:41:52.965Z] 11:37:01 CPU %user %nice %system %iowait %steal %idle [2020-06-19T11:41:52.965Z] 11:38:01 all 0.16 0.00 0.04 0.00 0.00 99.80 [2020-06-19T11:41:52.965Z] 11:38:01 0 0.47 0.00 0.07 0.00 0.00 99.47 [2020-06-19T11:41:52.965Z] 11:38:01 1 0.05 0.00 0.02 0.00 0.00 99.93 [2020-06-19T11:41:52.965Z] 11:38:01 2 0.08 0.00 0.05 0.00 0.02 99.85 [2020-06-19T11:41:52.965Z] 11:38:01 3 0.03 0.00 0.03 0.00 0.00 99.93 [2020-06-19T11:41:52.965Z] 11:39:01 all 0.17 0.00 0.04 0.00 0.00 99.80 [2020-06-19T11:41:52.965Z] 11:39:01 0 0.48 0.00 0.02 0.00 0.00 99.50 [2020-06-19T11:41:52.965Z] 11:39:01 1 0.12 0.00 0.03 0.00 0.02 99.83 [2020-06-19T11:41:52.965Z] 11:39:01 2 0.08 0.00 0.05 0.00 0.00 99.87 [2020-06-19T11:41:52.965Z] 11:39:01 3 0.02 0.00 0.03 0.00 0.00 99.95 [2020-06-19T11:41:52.965Z] 11:40:01 all 0.15 0.00 0.03 0.00 0.00 99.82 [2020-06-19T11:41:52.965Z] 11:40:01 0 0.45 0.00 0.05 0.00 0.02 99.48 [2020-06-19T11:41:52.965Z] 11:40:01 1 0.05 0.00 0.03 0.00 0.00 99.92 [2020-06-19T11:41:52.965Z] 11:40:01 2 0.03 0.00 0.03 0.00 0.00 99.93 [2020-06-19T11:41:52.965Z] 11:40:01 3 0.05 0.00 0.02 0.00 0.00 99.93 [2020-06-19T11:41:52.965Z] 11:41:01 all 0.13 0.00 0.03 0.00 0.00 99.85 [2020-06-19T11:41:52.965Z] 11:41:01 0 0.43 0.00 0.05 0.00 0.00 99.52 [2020-06-19T11:41:52.965Z] 11:41:01 1 0.02 0.00 0.02 0.00 0.00 99.97 [2020-06-19T11:41:52.965Z] 11:41:01 2 0.03 0.00 0.03 0.00 0.00 99.93 [2020-06-19T11:41:52.965Z] 11:41:01 3 0.02 0.00 0.02 0.00 0.00 99.97 [2020-06-19T11:41:52.965Z] Average: all 0.15 0.00 0.03 0.00 0.00 99.81 [2020-06-19T11:41:52.965Z] Average: 0 0.46 0.00 0.05 0.00 0.00 99.49 [2020-06-19T11:41:52.965Z] Average: 1 0.06 0.00 0.02 0.00 0.00 99.91 [2020-06-19T11:41:52.965Z] Average: 2 0.06 0.00 0.04 0.00 0.00 99.90 [2020-06-19T11:41:52.965Z] Average: 3 0.03 0.00 0.02 0.00 0.00 99.95 [2020-06-19T11:41:52.965Z] [2020-06-19T11:41:52.965Z] [2020-06-19T11:41:52.965Z]