Pull request #242 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 LukeKerr for edgexfoundry/device-sdk-c Loading trusted files from base branch master at 71b8196c465bf7460af7e4691fe5d7c6af401573 rather than 939229501aa6f75b430040a70a1f670ecdc1c72f Obtained Jenkinsfile from 71b8196c465bf7460af7e4691fe5d7c6af401573 Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision b810438aec07f555226556e3b59abf2bab733840 using credential edgex-jenkins-access-pat Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository https://github.com/edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-242/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/tags/stable:refs/tags/stable # timeout=10 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision b810438aec07f555226556e3b59abf2bab733840 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b810438aec07f555226556e3b59abf2bab733840 # timeout=10 Commit message: "Merge pull request #114 from lranjbar/release-kraken" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-3.9-base, dockerFilePath:scripts/Dockerfile.alpine-3.9, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine-3.9 DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-3.9-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-c DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-563’ is offline Running on prd-centos7-docker-4c-2g-739 in /w/workspace/edgexfoundry_device-sdk-c_PR-242 [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 Fetching without tags Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-242 # 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/242/head:refs/remotes/origin/PR-242 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/242/head:refs/remotes/origin/PR-242 # 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/242/head:refs/remotes/origin/PR-242 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 71b8196c465bf7460af7e4691fe5d7c6af401573 into PR head commit 939229501aa6f75b430040a70a1f670ecdc1c72f Merge succeeded, producing 939229501aa6f75b430040a70a1f670ecdc1c72f Checking out Revision 939229501aa6f75b430040a70a1f670ecdc1c72f (PR-242) > git config core.sparsecheckout # timeout=10 > git checkout -f 939229501aa6f75b430040a70a1f670ecdc1c72f # 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 71b8196c465bf7460af7e4691fe5d7c6af401573 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 939229501aa6f75b430040a70a1f670ecdc1c72f # timeout=10 Commit message: "Add v2 random generator example" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object b810438aec07f555226556e3b59abf2bab733840 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-03-16T11:39:32.308Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-03-16T11:39:34.770Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-16T11:39:34.770Z] [2020-03-16T11:39:34.770Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-03-16T11:39:35.170Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-16T11:39:35.170Z] latest: Pulling from edgex-devops/git-semver [2020-03-16T11:39:35.170Z] 9123ac7c32f7: Pulling fs layer [2020-03-16T11:39:35.170Z] b8cc5d1170e3: Pulling fs layer [2020-03-16T11:39:35.170Z] 2924cbbf6a41: Pulling fs layer [2020-03-16T11:39:35.170Z] 93b08a4f1073: Pulling fs layer [2020-03-16T11:39:35.170Z] 93b08a4f1073: Waiting [2020-03-16T11:39:35.433Z] b8cc5d1170e3: Verifying Checksum [2020-03-16T11:39:35.433Z] b8cc5d1170e3: Download complete [2020-03-16T11:39:35.433Z] 9123ac7c32f7: Verifying Checksum [2020-03-16T11:39:35.433Z] 9123ac7c32f7: Download complete [2020-03-16T11:39:35.433Z] 93b08a4f1073: Verifying Checksum [2020-03-16T11:39:35.433Z] 93b08a4f1073: Download complete [2020-03-16T11:39:35.433Z] 2924cbbf6a41: Verifying Checksum [2020-03-16T11:39:35.433Z] 2924cbbf6a41: Download complete [2020-03-16T11:39:35.692Z] 9123ac7c32f7: Pull complete [2020-03-16T11:39:35.692Z] b8cc5d1170e3: Pull complete [2020-03-16T11:39:36.639Z] 2924cbbf6a41: Pull complete [2020-03-16T11:39:36.639Z] 93b08a4f1073: Pull complete [2020-03-16T11:39:36.639Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-03-16T11:39:36.639Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-03-16T11:39:36.791Z] prd-centos7-docker-4c-2g-739 does not seem to be running inside a container [2020-03-16T11:39:36.842Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-242 -v /w/workspace/edgexfoundry_device-sdk-c_PR-242:/w/workspace/edgexfoundry_device-sdk-c_PR-242:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-242@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-242@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-03-16T11:39:37.483Z] $ docker top 532ac3809801451617efc406a582f71dff847ed1791085c3cf9e9ef155ddea4f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-16T11:39:37.859Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-16T11:39:37.859Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-16T11:39:38.065Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-16T11:39:38.075Z] $ docker exec 532ac3809801451617efc406a582f71dff847ed1791085c3cf9e9ef155ddea4f ssh-agent [2020-03-16T11:39:38.258Z] SSH_AUTH_SOCK=/tmp/ssh-Dgh0tD8M7uQv/agent.14 [2020-03-16T11:39:38.258Z] SSH_AGENT_PID=22 [2020-03-16T11:39:38.269Z] Running ssh-add (command line suppressed) [2020-03-16T11:39:38.415Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-242@tmp/private_key_7905897769114954385.key (/w/workspace/edgexfoundry_device-sdk-c_PR-242@tmp/private_key_7905897769114954385.key) [2020-03-16T11:39:38.467Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-16T11:39:38.825Z] + git describe --exact-match --tags HEAD [2020-03-16T11:39:38.825Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-03-16T11:39:38.904Z] $ docker exec --env ******** --env ******** 532ac3809801451617efc406a582f71dff847ed1791085c3cf9e9ef155ddea4f ssh-agent -k [2020-03-16T11:39:39.047Z] unset SSH_AUTH_SOCK; [2020-03-16T11:39:39.048Z] unset SSH_AGENT_PID; [2020-03-16T11:39:39.048Z] echo Agent pid 22 killed; [2020-03-16T11:39:39.085Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-03-16T11:39:39.218Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-03-16T11:39:39.218Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-03-16T11:39:39.317Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-16T11:39:39.317Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-16T11:39:39.531Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-16T11:39:39.542Z] $ docker exec 532ac3809801451617efc406a582f71dff847ed1791085c3cf9e9ef155ddea4f ssh-agent [2020-03-16T11:39:39.711Z] SSH_AUTH_SOCK=/tmp/ssh-QE1hspKGSvTn/agent.58 [2020-03-16T11:39:39.711Z] SSH_AGENT_PID=65 [2020-03-16T11:39:39.716Z] Running ssh-add (command line suppressed) [2020-03-16T11:39:39.862Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-242@tmp/private_key_2226435550796914270.key (/w/workspace/edgexfoundry_device-sdk-c_PR-242@tmp/private_key_2226435550796914270.key) [2020-03-16T11:39:39.905Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-16T11:39:40.271Z] + git semver init [2020-03-16T11:39:40.271Z] # -> Open(): unable to determine branch for HEAD [2020-03-16T11:39:40.271Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-242/.git [2020-03-16T11:39:40.271Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-242 [2020-03-16T11:39:40.271Z] # $SEMVER_REMOTE_NAME = origin [2020-03-16T11:39:40.271Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-16T11:39:40.271Z] # $SEMVER_USER_NAME = jenkins [2020-03-16T11:39:40.271Z] # $SEMVER_BRANCH = PR-242 [2020-03-16T11:39:40.271Z] # $SEMVER_TEMP = /tmp/semver-139472407 [2020-03-16T11:39:40.271Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2020-03-16T11:39:40.840Z] # '/tmp/semver-139472407' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-242/.semver' [2020-03-16T11:39:40.840Z] # -> Force: false [2020-03-16T11:39:40.840Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-242/.semver [Pipeline] } [2020-03-16T11:39:40.868Z] $ docker exec --env ******** --env ******** 532ac3809801451617efc406a582f71dff847ed1791085c3cf9e9ef155ddea4f ssh-agent -k [2020-03-16T11:39:41.004Z] unset SSH_AUTH_SOCK; [2020-03-16T11:39:41.005Z] unset SSH_AGENT_PID; [2020-03-16T11:39:41.005Z] echo Agent pid 65 killed; [2020-03-16T11:39:41.048Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-16T11:39:41.585Z] + git semver [Pipeline] } [2020-03-16T11:39:41.615Z] $ docker stop --time=1 532ac3809801451617efc406a582f71dff847ed1791085c3cf9e9ef155ddea4f [2020-03-16T11:39:42.960Z] $ docker rm -f 532ac3809801451617efc406a582f71dff847ed1791085c3cf9e9ef155ddea4f [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-03-16T11:39:43.809Z] Stashed 33 file(s) [Pipeline] echo [2020-03-16T11:39:43.832Z] [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-03-16T11:39:59.272Z] Still waiting to schedule task [2020-03-16T11:39:59.272Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-03-16T11:39:59.293Z] Still waiting to schedule task [2020-03-16T11:39:59.293Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-03-16T11:41:38.301Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-740 in /w/workspace/edgexfoundry_device-sdk-c_PR-242 [Pipeline] { [Pipeline] ws [2020-03-16T11:41:38.370Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2020-03-16T11:41:44.429Z] using credential edgex-jenkins-ssh [2020-03-16T11:41:44.531Z] Cloning the remote Git repository [2020-03-16T11:41:44.531Z] Cloning with configured refspecs honoured and without tags [2020-03-16T11:41:44.607Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-03-16T11:41:44.696Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2020-03-16T11:41:44.790Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-03-16T11:41:44.791Z] > git --version # timeout=10 [2020-03-16T11:41:44.815Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-16T11:41:44.902Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/242/head:refs/remotes/origin/PR-242 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-16T11:41:45.821Z] Fetching without tags [2020-03-16T11:41:45.731Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-03-16T11:41:45.762Z] > git config --add remote.origin.fetch +refs/pull/242/head:refs/remotes/origin/PR-242 # timeout=10 [2020-03-16T11:41:45.779Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-16T11:41:45.805Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-03-16T11:41:45.859Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-03-16T11:41:45.860Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-16T11:41:45.882Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/242/head:refs/remotes/origin/PR-242 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-16T11:41:46.366Z] Merging remotes/origin/master commit 71b8196c465bf7460af7e4691fe5d7c6af401573 into PR head commit 939229501aa6f75b430040a70a1f670ecdc1c72f [2020-03-16T11:41:46.746Z] Merge succeeded, producing 939229501aa6f75b430040a70a1f670ecdc1c72f [2020-03-16T11:41:46.746Z] Checking out Revision 939229501aa6f75b430040a70a1f670ecdc1c72f (PR-242) [2020-03-16T11:41:46.404Z] > git config core.sparsecheckout # timeout=10 [2020-03-16T11:41:46.425Z] > git checkout -f 939229501aa6f75b430040a70a1f670ecdc1c72f # timeout=10 [2020-03-16T11:41:46.559Z] > git remote # timeout=10 [2020-03-16T11:41:46.587Z] > git config --get remote.origin.url # timeout=10 [2020-03-16T11:41:46.606Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-16T11:41:46.617Z] > git merge 71b8196c465bf7460af7e4691fe5d7c6af401573 # timeout=10 [2020-03-16T11:41:46.698Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-16T11:41:46.764Z] > git config core.sparsecheckout # timeout=10 [2020-03-16T11:41:46.828Z] > git checkout -f 939229501aa6f75b430040a70a1f670ecdc1c72f # timeout=10 [2020-03-16T11:41:51.300Z] Commit message: "Add v2 random generator example" [2020-03-16T11:41:51.366Z] > git --version # timeout=10 [2020-03-16T11:41:51.391Z] fatal: bad object b810438aec07f555226556e3b59abf2bab733840 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-16T11:41:52.857Z] ========================================================= [2020-03-16T11:41:52.857Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2020-03-16T11:41:52.857Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-16T11:41:53.931Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-3.9-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2020-03-16T11:41:54.901Z] Sending build context to Docker daemon 2.889MB [2020-03-16T11:41:54.901Z] Step 1/21 : ARG BASE=alpine:3.9 [2020-03-16T11:41:54.901Z] Step 2/21 : FROM ${BASE} as builder [2020-03-16T11:41:55.178Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2020-03-16T11:41:55.178Z] 0362ad1dd800: Pulling fs layer [2020-03-16T11:41:55.455Z] f2cdb1532d8b: Pulling fs layer [2020-03-16T11:41:55.455Z] 37ed683be191: Pulling fs layer [2020-03-16T11:41:55.455Z] f2cdb1532d8b: Verifying Checksum [2020-03-16T11:41:55.455Z] f2cdb1532d8b: Download complete [2020-03-16T11:41:55.455Z] 0362ad1dd800: Verifying Checksum [2020-03-16T11:41:55.455Z] 0362ad1dd800: Download complete [2020-03-16T11:41:56.043Z] 0362ad1dd800: Pull complete [2020-03-16T11:41:56.313Z] f2cdb1532d8b: Pull complete [2020-03-16T11:42:02.979Z] 37ed683be191: Verifying Checksum [2020-03-16T11:42:02.979Z] 37ed683be191: Download complete [2020-03-16T11:42:08.050Z] Running on prd-centos7-docker-4c-2g-741 in /w/workspace/edgexfoundry_device-sdk-c_PR-242 [Pipeline] { [Pipeline] ws [2020-03-16T11:42:08.118Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2020-03-16T11:42:11.220Z] 37ed683be191: Pull complete [2020-03-16T11:42:11.220Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2020-03-16T11:42:11.497Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2020-03-16T11:42:11.497Z] ---> b23d30803547 [2020-03-16T11:42:11.497Z] Step 3/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev [2020-03-16T11:42:11.637Z] using credential edgex-jenkins-ssh [2020-03-16T11:42:11.678Z] Cloning the remote Git repository [2020-03-16T11:42:11.678Z] Cloning with configured refspecs honoured and without tags [2020-03-16T11:42:12.429Z] Fetching without tags [2020-03-16T11:42:11.367Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-03-16T11:42:11.410Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2020-03-16T11:42:11.457Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-03-16T11:42:11.458Z] > git --version # timeout=10 [2020-03-16T11:42:11.469Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-16T11:42:11.495Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/242/head:refs/remotes/origin/PR-242 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-16T11:42:12.111Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-03-16T11:42:12.117Z] > git config --add remote.origin.fetch +refs/pull/242/head:refs/remotes/origin/PR-242 # timeout=10 [2020-03-16T11:42:12.126Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-16T11:42:12.140Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-03-16T11:42:12.154Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-03-16T11:42:12.155Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-16T11:42:12.162Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/242/head:refs/remotes/origin/PR-242 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-16T11:42:12.783Z] Merging remotes/origin/master commit 71b8196c465bf7460af7e4691fe5d7c6af401573 into PR head commit 939229501aa6f75b430040a70a1f670ecdc1c72f [2020-03-16T11:42:12.918Z] Merge succeeded, producing 939229501aa6f75b430040a70a1f670ecdc1c72f [2020-03-16T11:42:12.918Z] Checking out Revision 939229501aa6f75b430040a70a1f670ecdc1c72f (PR-242) [2020-03-16T11:42:12.542Z] > git config core.sparsecheckout # timeout=10 [2020-03-16T11:42:12.550Z] > git checkout -f 939229501aa6f75b430040a70a1f670ecdc1c72f # timeout=10 [2020-03-16T11:42:12.629Z] > git remote # timeout=10 [2020-03-16T11:42:12.642Z] > git config --get remote.origin.url # timeout=10 [2020-03-16T11:42:12.653Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-16T11:42:12.658Z] > git merge 71b8196c465bf7460af7e4691fe5d7c6af401573 # timeout=10 [2020-03-16T11:42:12.670Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-16T11:42:12.682Z] > git config core.sparsecheckout # timeout=10 [2020-03-16T11:42:12.690Z] > git checkout -f 939229501aa6f75b430040a70a1f670ecdc1c72f # timeout=10 [2020-03-16T11:42:14.105Z] ---> Running in 2d4c0eb42707 [2020-03-16T11:42:15.069Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-03-16T11:42:15.653Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-03-16T11:42:16.237Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-03-16T11:42:16.237Z] (2/8) Installing libuuid (2.33-r0) [2020-03-16T11:42:16.237Z] (3/8) Installing libblkid (2.33-r0) [2020-03-16T11:42:16.504Z] (4/8) Installing libfdisk (2.33-r0) [2020-03-16T11:42:16.504Z] (5/8) Installing libmount (2.33-r0) [2020-03-16T11:42:16.504Z] (6/8) Installing libsmartcols (2.33-r0) [2020-03-16T11:42:16.771Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-03-16T11:42:16.865Z] Commit message: "Add v2 random generator example" [2020-03-16T11:42:16.887Z] > git --version # timeout=10 [2020-03-16T11:42:16.896Z] fatal: bad object b810438aec07f555226556e3b59abf2bab733840 [2020-03-16T11:42:17.039Z] (8/8) Installing wget (1.20.3-r0) [2020-03-16T11:42:17.039Z] Executing busybox-1.29.3-r10.trigger [2020-03-16T11:42:17.039Z] OK: 285 MiB in 83 packages [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-16T11:42:17.871Z] ========================================================= [2020-03-16T11:42:17.871Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2020-03-16T11:42:17.871Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-16T11:42:18.459Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-3.9-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2020-03-16T11:42:18.462Z] Removing intermediate container 2d4c0eb42707 [2020-03-16T11:42:18.462Z] ---> 3cae17d9bf4a [2020-03-16T11:42:18.462Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-03-16T11:42:18.721Z] Sending build context to Docker daemon 2.889MB [2020-03-16T11:42:18.721Z] Step 1/21 : ARG BASE=alpine:3.9 [2020-03-16T11:42:18.721Z] Step 2/21 : FROM ${BASE} as builder [2020-03-16T11:42:18.730Z] ---> Running in ad06a0cfa934 [2020-03-16T11:42:18.981Z] latest: Pulling from edgex-devops/edgex-gcc-base [2020-03-16T11:42:18.981Z] e7c96db7181b: Pulling fs layer [2020-03-16T11:42:18.981Z] 4c13bbce0fe7: Pulling fs layer [2020-03-16T11:42:18.981Z] 6059c847ac2f: Pulling fs layer [2020-03-16T11:42:18.981Z] 4c13bbce0fe7: Verifying Checksum [2020-03-16T11:42:18.981Z] 4c13bbce0fe7: Download complete [2020-03-16T11:42:18.981Z] e7c96db7181b: Verifying Checksum [2020-03-16T11:42:18.981Z] e7c96db7181b: Download complete [2020-03-16T11:42:19.001Z] Removing intermediate container ad06a0cfa934 [2020-03-16T11:42:19.001Z] ---> 16c9117dc177 [2020-03-16T11:42:19.001Z] Step 5/21 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2020-03-16T11:42:19.246Z] e7c96db7181b: Pull complete [2020-03-16T11:42:19.246Z] 4c13bbce0fe7: Pull complete [2020-03-16T11:42:19.271Z] ---> Running in f1d5793eb953 [2020-03-16T11:42:20.187Z] 6059c847ac2f: Verifying Checksum [2020-03-16T11:42:20.187Z] 6059c847ac2f: Download complete [2020-03-16T11:42:20.234Z] --2020-03-16 11:42:19-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-03-16T11:42:20.234Z] Resolving github.com... 192.30.253.113 [2020-03-16T11:42:20.234Z] Connecting to github.com|192.30.253.113|:443... connected. [2020-03-16T11:42:20.234Z] HTTP request sent, awaiting response... 302 Found [2020-03-16T11:42:20.234Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-03-16T11:42:20.234Z] --2020-03-16 11:42:20-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-03-16T11:42:20.234Z] Resolving codeload.github.com... 140.82.112.10 [2020-03-16T11:42:20.234Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2020-03-16T11:42:20.504Z] HTTP request sent, awaiting response... 200 OK [2020-03-16T11:42:20.504Z] Length: unspecified [application/x-gzip] [2020-03-16T11:42:20.504Z] Saving to: 'STDOUT' [2020-03-16T11:42:20.504Z] [2020-03-16T11:42:20.504Z] 0K .......... .......... .......... .......... .......... 1.58M [2020-03-16T11:42:20.504Z] 50K .......... .......... .......... .......... .......... 3.50M [2020-03-16T11:42:20.504Z] 100K .......... .......... .......... .......... .......... 9.73M [2020-03-16T11:42:20.504Z] 150K .......... .......... .......... .......... .......... 5.13M [2020-03-16T11:42:20.504Z] 200K .......... .......... .......... .......... .......... 10.7M [2020-03-16T11:42:20.504Z] 250K .......... .......... .......... .......... .......... 4.33M [2020-03-16T11:42:20.504Z] 300K .......... .......... .......... .......... .......... 4.30M [2020-03-16T11:42:20.504Z] 350K .......... .......... .......... .......... .......... 7.68M [2020-03-16T11:42:20.504Z] 400K .......... .......... .......... .......... .......... 3.70M [2020-03-16T11:42:20.504Z] 450K .......... .......... .......... .......... .......... 5.27M [2020-03-16T11:42:20.504Z] 500K .......... .......... .......... .......... .......... 5.88M [2020-03-16T11:42:20.504Z] 550K .......... .......... .......... .......... .......... 6.30M [2020-03-16T11:42:20.504Z] 600K .......... .......... .......... .......... .......... 991K [2020-03-16T11:42:20.504Z] 650K .......... .......... .......... .......... .......... 1.94M [2020-03-16T11:42:20.504Z] 700K ..  4746G=0.2s [2020-03-16T11:42:20.504Z] [2020-03-16T11:42:20.504Z] 2020-03-16 11:42:20 (3.31 MB/s) - written to stdout [719348] [2020-03-16T11:42:20.504Z] [2020-03-16T11:42:21.088Z] -- The C compiler identification is GNU 8.3.0 [2020-03-16T11:42:21.088Z] -- The CXX compiler identification is GNU 8.3.0 [2020-03-16T11:42:21.088Z] -- Check for working C compiler: /usr/bin/cc [2020-03-16T11:42:21.355Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-03-16T11:42:21.355Z] -- Detecting C compiler ABI info [2020-03-16T11:42:21.624Z] -- Detecting C compiler ABI info - done [2020-03-16T11:42:21.624Z] -- Detecting C compile features [2020-03-16T11:42:22.599Z] -- Detecting C compile features - done [2020-03-16T11:42:22.599Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-03-16T11:42:22.599Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-03-16T11:42:22.599Z] -- Detecting CXX compiler ABI info [2020-03-16T11:42:22.869Z] -- Detecting CXX compiler ABI info - done [2020-03-16T11:42:22.869Z] -- Detecting CXX compile features [2020-03-16T11:42:24.393Z] 6059c847ac2f: Pull complete [2020-03-16T11:42:24.393Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2020-03-16T11:42:24.393Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2020-03-16T11:42:24.393Z] ---> 5eabd8fd8ba2 [2020-03-16T11:42:24.393Z] Step 3/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev [2020-03-16T11:42:24.393Z] ---> Running in f2ea51e3b604 [2020-03-16T11:42:24.652Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-03-16T11:42:24.818Z] -- Detecting CXX compile features - done [2020-03-16T11:42:24.818Z] -- Looking for include file endian.h [2020-03-16T11:42:24.818Z] -- Looking for include file endian.h - found [2020-03-16T11:42:24.818Z] -- Check if the system is big endian [2020-03-16T11:42:24.818Z] -- Searching 16 bit integer [2020-03-16T11:42:24.818Z] -- Looking for sys/types.h [2020-03-16T11:42:24.818Z] -- Looking for sys/types.h - found [2020-03-16T11:42:24.818Z] -- Looking for stdint.h [2020-03-16T11:42:25.087Z] -- Looking for stdint.h - found [2020-03-16T11:42:25.087Z] -- Looking for stddef.h [2020-03-16T11:42:25.356Z] -- Looking for stddef.h - found [2020-03-16T11:42:25.356Z] -- Check size of unsigned short [2020-03-16T11:42:25.590Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-03-16T11:42:25.590Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-03-16T11:42:25.590Z] (2/8) Installing libuuid (2.33-r0) [2020-03-16T11:42:25.625Z] -- Check size of unsigned short - done [2020-03-16T11:42:25.625Z] -- Using unsigned short [2020-03-16T11:42:25.849Z] (3/8) Installing libblkid (2.33-r0) [2020-03-16T11:42:25.850Z] (4/8) Installing libfdisk (2.33-r0) [2020-03-16T11:42:25.898Z] -- Check if the system is big endian - little endian [2020-03-16T11:42:25.898Z] -- Check size of size_t [2020-03-16T11:42:26.108Z] (5/8) Installing libmount (2.33-r0) [2020-03-16T11:42:26.108Z] (6/8) Installing libsmartcols (2.33-r0) [2020-03-16T11:42:26.108Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-03-16T11:42:26.173Z] -- Check size of size_t - done [2020-03-16T11:42:26.173Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-03-16T11:42:26.173Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-03-16T11:42:26.173Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-03-16T11:42:26.173Z] CMake did not find one. [2020-03-16T11:42:26.173Z] [2020-03-16T11:42:26.173Z] Could not find a package configuration file provided by "cJSON" with any of [2020-03-16T11:42:26.173Z] the following names: [2020-03-16T11:42:26.173Z] [2020-03-16T11:42:26.173Z] cJSONConfig.cmake [2020-03-16T11:42:26.173Z] cjson-config.cmake [2020-03-16T11:42:26.173Z] [2020-03-16T11:42:26.173Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-03-16T11:42:26.173Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-03-16T11:42:26.173Z] provides a separate development package or SDK, be sure it has been [2020-03-16T11:42:26.173Z] installed. [2020-03-16T11:42:26.173Z] [2020-03-16T11:42:26.173Z] [2020-03-16T11:42:26.366Z] (8/8) Installing wget (1.20.3-r0) [2020-03-16T11:42:26.366Z] Executing busybox-1.29.3-r10.trigger [2020-03-16T11:42:26.366Z] OK: 272 MiB in 83 packages [2020-03-16T11:42:26.444Z] -- Configuring done [2020-03-16T11:42:26.444Z] -- Generating done [2020-03-16T11:42:26.444Z] -- Build files have been written to: /tmp/cbor [2020-03-16T11:42:26.712Z] Scanning dependencies of target cbor_shared [2020-03-16T11:42:26.712Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-03-16T11:42:26.938Z] Removing intermediate container f2ea51e3b604 [2020-03-16T11:42:26.938Z] ---> bc5ac04304a7 [2020-03-16T11:42:26.938Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-03-16T11:42:26.938Z] ---> Running in 5203c2cabfa0 [2020-03-16T11:42:27.201Z] Removing intermediate container 5203c2cabfa0 [2020-03-16T11:42:27.201Z] ---> 251eeb128da7 [2020-03-16T11:42:27.201Z] Step 5/21 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2020-03-16T11:42:27.201Z] ---> Running in 885a07119457 [2020-03-16T11:42:27.299Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-03-16T11:42:27.461Z] --2020-03-16 11:42:27-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-03-16T11:42:27.461Z] Resolving github.com... 140.82.114.4 [2020-03-16T11:42:27.461Z] Connecting to github.com|140.82.114.4|:443... connected. [2020-03-16T11:42:27.718Z] HTTP request sent, awaiting response... 302 Found [2020-03-16T11:42:27.718Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-03-16T11:42:27.718Z] --2020-03-16 11:42:27-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-03-16T11:42:27.718Z] Resolving codeload.github.com... 140.82.112.10 [2020-03-16T11:42:27.718Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2020-03-16T11:42:27.718Z] HTTP request sent, awaiting response... 200 OK [2020-03-16T11:42:27.718Z] Length: unspecified [application/x-gzip] [2020-03-16T11:42:27.718Z] Saving to: 'STDOUT' [2020-03-16T11:42:27.718Z]  [2020-03-16T11:42:27.718Z] 0K .......... .......... .......... .......... .......... 1.62M [2020-03-16T11:42:27.718Z] 50K .......... .......... .......... .......... .......... 3.28M [2020-03-16T11:42:27.719Z] 100K .......... .......... .......... .......... .......... 40.6M [2020-03-16T11:42:27.885Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-03-16T11:42:27.991Z] 150K .......... .......... .......... .......... .......... 6.65M [2020-03-16T11:42:27.991Z] 200K .......... .......... .......... .......... .......... 5.73M [2020-03-16T11:42:27.991Z] 250K .......... .......... .......... .......... .......... 10.1M [2020-03-16T11:42:27.991Z] 300K .......... .......... .......... .......... .......... 9.59M [2020-03-16T11:42:27.991Z] 350K .......... .......... .......... .......... .......... 7.69M [2020-03-16T11:42:27.991Z] 400K .......... .......... .......... .......... .......... 6.72M [2020-03-16T11:42:27.991Z] 450K .......... .......... .......... .......... .......... 6.79M [2020-03-16T11:42:27.991Z] 500K .......... .......... .......... .......... .......... 15.5M [2020-03-16T11:42:27.991Z] 550K .......... .......... .......... .......... .......... 5.18M [2020-03-16T11:42:27.991Z] 600K .......... .......... .......... .......... .......... 1.84M [2020-03-16T11:42:27.991Z] 650K .......... .......... .......... .......... .......... 4.79M [2020-03-16T11:42:27.991Z] 700K .. 55.4M=0.1s [2020-03-16T11:42:27.991Z] [2020-03-16T11:42:27.991Z] 2020-03-16 11:42:27 (4.83 MB/s) - written to stdout [719348] [2020-03-16T11:42:27.991Z] [2020-03-16T11:42:27.991Z] -- The C compiler identification is GNU 8.3.0 [2020-03-16T11:42:27.991Z] -- The CXX compiler identification is GNU 8.3.0 [2020-03-16T11:42:27.991Z] -- Check for working C compiler: /usr/bin/cc [2020-03-16T11:42:28.155Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-03-16T11:42:28.252Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-03-16T11:42:28.252Z] -- Detecting C compiler ABI info [2020-03-16T11:42:28.252Z] -- Detecting C compiler ABI info - done [2020-03-16T11:42:28.252Z] -- Detecting C compile features [2020-03-16T11:42:28.511Z] -- Detecting C compile features - done [2020-03-16T11:42:28.511Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-03-16T11:42:28.511Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-03-16T11:42:28.511Z] -- Detecting CXX compiler ABI info [2020-03-16T11:42:28.740Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-03-16T11:42:28.771Z] -- Detecting CXX compiler ABI info - done [2020-03-16T11:42:28.771Z] -- Detecting CXX compile features [2020-03-16T11:42:29.009Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-03-16T11:42:29.029Z] -- Detecting CXX compile features - done [2020-03-16T11:42:29.029Z] -- Looking for include file endian.h [2020-03-16T11:42:29.277Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-03-16T11:42:29.277Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-03-16T11:42:29.291Z] -- Looking for include file endian.h - found [2020-03-16T11:42:29.291Z] -- Check if the system is big endian [2020-03-16T11:42:29.291Z] -- Searching 16 bit integer [2020-03-16T11:42:29.291Z] -- Looking for sys/types.h [2020-03-16T11:42:29.291Z] -- Looking for sys/types.h - found [2020-03-16T11:42:29.291Z] -- Looking for stdint.h [2020-03-16T11:42:29.291Z] -- Looking for stdint.h - found [2020-03-16T11:42:29.291Z] -- Looking for stddef.h [2020-03-16T11:42:29.291Z] -- Looking for stddef.h - found [2020-03-16T11:42:29.291Z] -- Check size of unsigned short [2020-03-16T11:42:29.546Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-03-16T11:42:29.552Z] -- Check size of unsigned short - done [2020-03-16T11:42:29.552Z] -- Using unsigned short [2020-03-16T11:42:29.552Z] -- Check if the system is big endian - little endian [2020-03-16T11:42:29.552Z] -- Check size of size_t [2020-03-16T11:42:29.552Z] -- Check size of size_t - done [2020-03-16T11:42:29.811Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-03-16T11:42:29.811Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-03-16T11:42:29.811Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-03-16T11:42:29.811Z] CMake did not find one. [2020-03-16T11:42:29.811Z] [2020-03-16T11:42:29.811Z] Could not find a package configuration file provided by "cJSON" with any of [2020-03-16T11:42:29.811Z] the following names: [2020-03-16T11:42:29.811Z] [2020-03-16T11:42:29.811Z] cJSONConfig.cmake [2020-03-16T11:42:29.811Z] cjson-config.cmake [2020-03-16T11:42:29.811Z] [2020-03-16T11:42:29.811Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-03-16T11:42:29.811Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-03-16T11:42:29.811Z] provides a separate development package or SDK, be sure it has been [2020-03-16T11:42:29.811Z] installed. [2020-03-16T11:42:29.811Z] [2020-03-16T11:42:29.811Z] [2020-03-16T11:42:29.811Z] -- Configuring done [2020-03-16T11:42:29.811Z] -- Generating done [2020-03-16T11:42:29.811Z] -- Build files have been written to: /tmp/cbor [2020-03-16T11:42:29.811Z] Scanning dependencies of target cbor_shared [2020-03-16T11:42:29.811Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-03-16T11:42:29.813Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-03-16T11:42:30.071Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-03-16T11:42:30.071Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-03-16T11:42:30.332Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-03-16T11:42:30.332Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-03-16T11:42:30.332Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-03-16T11:42:30.398Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-03-16T11:42:30.591Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-03-16T11:42:30.591Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-03-16T11:42:30.591Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-03-16T11:42:30.591Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-03-16T11:42:30.666Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-03-16T11:42:30.850Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-03-16T11:42:30.850Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-03-16T11:42:31.109Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-03-16T11:42:31.109Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-03-16T11:42:31.109Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-03-16T11:42:31.251Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-03-16T11:42:31.368Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-03-16T11:42:31.368Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-03-16T11:42:31.368Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-03-16T11:42:31.368Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-03-16T11:42:31.520Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-03-16T11:42:31.626Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-03-16T11:42:31.626Z] [ 40%] Linking C shared library libcbor.so [2020-03-16T11:42:31.626Z] [ 40%] Built target cbor_shared [2020-03-16T11:42:31.626Z] Scanning dependencies of target cbor [2020-03-16T11:42:31.626Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-03-16T11:42:31.788Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-03-16T11:42:31.788Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-03-16T11:42:31.892Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-03-16T11:42:31.892Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-03-16T11:42:32.151Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-03-16T11:42:32.374Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-03-16T11:42:32.375Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-03-16T11:42:32.411Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-03-16T11:42:32.411Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-03-16T11:42:32.411Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-03-16T11:42:32.411Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-03-16T11:42:32.642Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-03-16T11:42:32.669Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-03-16T11:42:32.669Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-03-16T11:42:32.908Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-03-16T11:42:32.929Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-03-16T11:42:32.929Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-03-16T11:42:32.929Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-03-16T11:42:33.175Z] [ 40%] Linking C shared library libcbor.so [2020-03-16T11:42:33.176Z] [ 40%] Built target cbor_shared [2020-03-16T11:42:33.176Z] Scanning dependencies of target cbor [2020-03-16T11:42:33.188Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-03-16T11:42:33.188Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-03-16T11:42:33.188Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-03-16T11:42:33.188Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-03-16T11:42:33.442Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-03-16T11:42:33.447Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-03-16T11:42:33.447Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-03-16T11:42:33.447Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-03-16T11:42:33.447Z] [ 80%] Linking C static library libcbor.a [2020-03-16T11:42:33.706Z] [ 80%] Built target cbor [2020-03-16T11:42:33.706Z] Scanning dependencies of target create_items [2020-03-16T11:42:33.706Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-03-16T11:42:33.706Z] [ 84%] Linking C executable create_items [2020-03-16T11:42:33.706Z] [ 84%] Built target create_items [2020-03-16T11:42:33.706Z] Scanning dependencies of target readfile [2020-03-16T11:42:33.706Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-03-16T11:42:33.706Z] [ 88%] Linking C executable readfile [2020-03-16T11:42:33.706Z] [ 88%] Built target readfile [2020-03-16T11:42:33.706Z] Scanning dependencies of target streaming_parser [2020-03-16T11:42:33.706Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-03-16T11:42:33.968Z] [ 92%] Linking C executable streaming_parser [2020-03-16T11:42:33.968Z] [ 92%] Built target streaming_parser [2020-03-16T11:42:33.968Z] Scanning dependencies of target sort [2020-03-16T11:42:33.968Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-03-16T11:42:33.968Z] [ 96%] Linking C executable sort [2020-03-16T11:42:33.968Z] [ 96%] Built target sort [2020-03-16T11:42:33.968Z] Scanning dependencies of target hello [2020-03-16T11:42:33.968Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-03-16T11:42:33.968Z] [100%] Linking C executable hello [2020-03-16T11:42:33.968Z] [100%] Built target hello [2020-03-16T11:42:34.026Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-03-16T11:42:34.230Z] Install the project... [2020-03-16T11:42:34.231Z] -- Install configuration: "Release" [2020-03-16T11:42:34.231Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-03-16T11:42:34.231Z] -- Installing: /usr/local/lib64/libcbor.a [2020-03-16T11:42:34.231Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-03-16T11:42:34.231Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-03-16T11:42:34.231Z] -- Installing: /usr/local/lib64/libcbor.so [2020-03-16T11:42:34.231Z] -- Up-to-date: /usr/local/include/cbor [2020-03-16T11:42:34.231Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-03-16T11:42:34.231Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-03-16T11:42:34.231Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-03-16T11:42:34.231Z] -- Installing: /usr/local/include/cbor/common.h [2020-03-16T11:42:34.231Z] -- Installing: /usr/local/include/cbor/data.h [2020-03-16T11:42:34.231Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-03-16T11:42:34.231Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-03-16T11:42:34.231Z] -- Installing: /usr/local/include/cbor/internal [2020-03-16T11:42:34.231Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-03-16T11:42:34.231Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-03-16T11:42:34.231Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-03-16T11:42:34.231Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-03-16T11:42:34.231Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-03-16T11:42:34.231Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-03-16T11:42:34.231Z] -- Installing: /usr/local/include/cbor/ints.h [2020-03-16T11:42:34.231Z] -- Installing: /usr/local/include/cbor/maps.h [2020-03-16T11:42:34.231Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-03-16T11:42:34.231Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-03-16T11:42:34.231Z] -- Installing: /usr/local/include/cbor/strings.h [2020-03-16T11:42:34.231Z] -- Installing: /usr/local/include/cbor/tags.h [2020-03-16T11:42:34.231Z] -- Installing: /usr/local/include/cbor.h [2020-03-16T11:42:34.231Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-03-16T11:42:34.612Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-03-16T11:42:34.802Z] Removing intermediate container 885a07119457 [2020-03-16T11:42:34.802Z] ---> 3e94679c0017 [2020-03-16T11:42:34.802Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-03-16T11:42:34.802Z] ---> Running in 306f2d451f7d [2020-03-16T11:42:34.880Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-03-16T11:42:35.845Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-03-16T11:42:36.114Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-03-16T11:42:36.382Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-03-16T11:42:36.650Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-03-16T11:42:36.709Z] Removing intermediate container 306f2d451f7d [2020-03-16T11:42:36.709Z] ---> 5f5876262563 [2020-03-16T11:42:36.709Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-03-16T11:42:36.709Z] ---> 2185e738ad5e [2020-03-16T11:42:36.709Z] Step 8/21 : COPY src /tmp/sdk/src [2020-03-16T11:42:36.709Z] ---> f14eeb1bf817 [2020-03-16T11:42:36.709Z] Step 9/21 : COPY include /tmp/sdk/include [2020-03-16T11:42:36.918Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-03-16T11:42:36.968Z] ---> 7332b7c41fcd [2020-03-16T11:42:36.968Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-03-16T11:42:37.186Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-03-16T11:42:37.227Z] ---> 5f7c839d0d3b [2020-03-16T11:42:37.227Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-03-16T11:42:37.227Z] ---> 7ad3329007d1 [2020-03-16T11:42:37.227Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-03-16T11:42:37.489Z] ---> 0d288dc7982d [2020-03-16T11:42:37.489Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-03-16T11:42:37.489Z] ---> Running in bbb6e1f1f903 [2020-03-16T11:42:37.749Z] + CPPCHECK=false [2020-03-16T11:42:37.749Z] + DOCGEN=false [2020-03-16T11:42:37.749Z] + TOMLVER=SDK-0.2 [2020-03-16T11:42:37.749Z] + CUTILVER=1.0.0 [2020-03-16T11:42:37.749Z] + '[' 0 -gt 0 ] [2020-03-16T11:42:37.749Z] + readlink -f ./scripts/build.sh [2020-03-16T11:42:37.749Z] + dirname /tmp/sdk/scripts/build.sh [2020-03-16T11:42:37.749Z] + dirname /tmp/sdk/scripts [2020-03-16T11:42:37.749Z] + ROOT=/tmp/sdk [2020-03-16T11:42:37.749Z] + cd /tmp/sdk [2020-03-16T11:42:37.749Z] + '[' '!' -d deps ] [2020-03-16T11:42:37.749Z] + mkdir deps [2020-03-16T11:42:37.749Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-03-16T11:42:37.749Z] + tar -C deps -z -x -f - [2020-03-16T11:42:37.749Z] --2020-03-16 11:42:37-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-03-16T11:42:37.749Z] Resolving github.com... 140.82.114.4 [2020-03-16T11:42:37.779Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-03-16T11:42:38.009Z] Connecting to github.com|140.82.114.4|:443... connected. [2020-03-16T11:42:38.009Z] HTTP request sent, awaiting response... 302 Found [2020-03-16T11:42:38.009Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-03-16T11:42:38.009Z] --2020-03-16 11:42:37-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-03-16T11:42:38.009Z] Resolving codeload.github.com... 140.82.112.10 [2020-03-16T11:42:38.009Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2020-03-16T11:42:38.063Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-03-16T11:42:38.268Z] HTTP request sent, awaiting response... 200 OK [2020-03-16T11:42:38.268Z] Length: unspecified [application/x-gzip] [2020-03-16T11:42:38.268Z] Saving to: 'STDOUT' [2020-03-16T11:42:38.268Z]  [2020-03-16T11:42:38.268Z] 0K .......... ......  1.08M=0.01s [2020-03-16T11:42:38.268Z] [2020-03-16T11:42:38.268Z] 2020-03-16 11:42:38 (1.08 MB/s) - written to stdout [16451] [2020-03-16T11:42:38.268Z] [2020-03-16T11:42:38.268Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-03-16T11:42:38.268Z] + tar -C deps -z -x -f - [2020-03-16T11:42:38.268Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.0.tar.gz [2020-03-16T11:42:38.268Z] --2020-03-16 11:42:38-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.0.tar.gz [2020-03-16T11:42:38.648Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-03-16T11:42:38.914Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-03-16T11:42:39.183Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-03-16T11:42:39.451Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-03-16T11:42:39.718Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-03-16T11:42:39.986Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-03-16T11:42:40.254Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-03-16T11:42:40.522Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-03-16T11:42:40.522Z] [ 80%] Linking C static library libcbor.a [2020-03-16T11:42:40.789Z] [ 80%] Built target cbor [2020-03-16T11:42:40.789Z] Scanning dependencies of target create_items [2020-03-16T11:42:40.789Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-03-16T11:42:40.810Z] Resolving github.com... 140.82.114.4 [2020-03-16T11:42:40.810Z] Connecting to github.com|140.82.114.4|:443... connected. [2020-03-16T11:42:40.810Z] HTTP request sent, awaiting response... 302 Found [2020-03-16T11:42:40.810Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.0 [following] [2020-03-16T11:42:40.810Z] --2020-03-16 11:42:40-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.0 [2020-03-16T11:42:40.810Z] Resolving codeload.github.com... 140.82.112.10 [2020-03-16T11:42:41.058Z] [ 84%] Linking C executable create_items [2020-03-16T11:42:41.059Z] [ 84%] Built target create_items [2020-03-16T11:42:41.059Z] Scanning dependencies of target readfile [2020-03-16T11:42:41.059Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-03-16T11:42:41.068Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2020-03-16T11:42:41.068Z] HTTP request sent, awaiting response... 200 OK [2020-03-16T11:42:41.068Z] Length: unspecified [application/x-gzip] [2020-03-16T11:42:41.068Z] Saving to: 'STDOUT' [2020-03-16T11:42:41.068Z]  [2020-03-16T11:42:41.068Z] 0K .......... .......... .......... .......... .......... 1.36M [2020-03-16T11:42:41.068Z] 50K .......... .......... .......... .......... .......... 2.71M [2020-03-16T11:42:41.068Z] 100K .......... .......... .......... .......... ........ 56.6M=0.05s [2020-03-16T11:42:41.068Z] [2020-03-16T11:42:41.068Z] 2020-03-16 11:42:41 (2.64 MB/s) - written to stdout [151809] [2020-03-16T11:42:41.068Z] [2020-03-16T11:42:41.068Z] + mkdir -p src/c/iot [2020-03-16T11:42:41.068Z] + cp deps/iotech-c-utils-1.0.0/src/c/base64.c deps/iotech-c-utils-1.0.0/src/c/component.c deps/iotech-c-utils-1.0.0/src/c/container.c deps/iotech-c-utils-1.0.0/src/c/data.c deps/iotech-c-utils-1.0.0/src/c/hash.c deps/iotech-c-utils-1.0.0/src/c/iot.c deps/iotech-c-utils-1.0.0/src/c/json.c deps/iotech-c-utils-1.0.0/src/c/logger.c deps/iotech-c-utils-1.0.0/src/c/os.c deps/iotech-c-utils-1.0.0/src/c/scheduler.c deps/iotech-c-utils-1.0.0/src/c/thread.c deps/iotech-c-utils-1.0.0/src/c/threadpool.c deps/iotech-c-utils-1.0.0/src/c/time.c src/c/iot [2020-03-16T11:42:41.068Z] + mkdir -p include/iot [2020-03-16T11:42:41.068Z] + cp deps/iotech-c-utils-1.0.0/include/iot/base64.h deps/iotech-c-utils-1.0.0/include/iot/component.h deps/iotech-c-utils-1.0.0/include/iot/container.h deps/iotech-c-utils-1.0.0/include/iot/data.h deps/iotech-c-utils-1.0.0/include/iot/hash.h deps/iotech-c-utils-1.0.0/include/iot/iot.h deps/iotech-c-utils-1.0.0/include/iot/json.h deps/iotech-c-utils-1.0.0/include/iot/logger.h deps/iotech-c-utils-1.0.0/include/iot/os.h deps/iotech-c-utils-1.0.0/include/iot/scheduler.h deps/iotech-c-utils-1.0.0/include/iot/thread.h deps/iotech-c-utils-1.0.0/include/iot/threadpool.h deps/iotech-c-utils-1.0.0/include/iot/time.h include/iot [2020-03-16T11:42:41.068Z] + mkdir -p include/iot/os [2020-03-16T11:42:41.068Z] + cp deps/iotech-c-utils-1.0.0/include/iot/os/linux.h deps/iotech-c-utils-1.0.0/include/iot/os/zephyr.h include/iot/os [2020-03-16T11:42:41.068Z] + mkdir -p /tmp/sdk/build/release [2020-03-16T11:42:41.068Z] + cd /tmp/sdk/build/release [2020-03-16T11:42:41.068Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-03-16T11:42:41.325Z] [ 88%] Linking C executable readfile [2020-03-16T11:42:41.325Z] [ 88%] Built target readfile [2020-03-16T11:42:41.325Z] Scanning dependencies of target streaming_parser [2020-03-16T11:42:41.325Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-03-16T11:42:41.327Z] -- The C compiler identification is GNU 8.3.0 [2020-03-16T11:42:41.327Z] -- Check for working C compiler: /usr/bin/cc [2020-03-16T11:42:41.327Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-03-16T11:42:41.327Z] -- Detecting C compiler ABI info [2020-03-16T11:42:41.327Z] -- Detecting C compiler ABI info - done [2020-03-16T11:42:41.593Z] -- Detecting C compile features [2020-03-16T11:42:41.593Z] -- Detecting C compile features - done [2020-03-16T11:42:41.593Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-03-16T11:42:41.593Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-03-16T11:42:41.593Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-03-16T11:42:41.593Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-03-16T11:42:41.593Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-03-16T11:42:41.593Z] -- C SDK 0.0.0 for Linux [2020-03-16T11:42:41.593Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-03-16T11:42:41.593Z] [ 92%] Linking C executable streaming_parser [2020-03-16T11:42:41.593Z] [ 92%] Built target streaming_parser [2020-03-16T11:42:41.852Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-03-16T11:42:41.853Z] -- Found Curses: /usr/lib/libcurses.so [2020-03-16T11:42:41.853Z] -- Configuring done [2020-03-16T11:42:41.853Z] -- Generating done [2020-03-16T11:42:41.853Z] -- Build files have been written to: /tmp/sdk/build/release [2020-03-16T11:42:41.853Z] + make [2020-03-16T11:42:41.853Z] + tee release.log [2020-03-16T11:42:41.853Z] Scanning dependencies of target csdk [2020-03-16T11:42:41.864Z] Scanning dependencies of target sort [2020-03-16T11:42:41.864Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-03-16T11:42:41.864Z] [ 96%] Linking C executable sort [2020-03-16T11:42:42.111Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-03-16T11:42:42.111Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-03-16T11:42:42.132Z] [ 96%] Built target sort [2020-03-16T11:42:42.132Z] Scanning dependencies of target hello [2020-03-16T11:42:42.132Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-03-16T11:42:42.132Z] [100%] Linking C executable hello [2020-03-16T11:42:42.372Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-03-16T11:42:42.401Z] [100%] Built target hello [2020-03-16T11:42:42.401Z] Install the project... [2020-03-16T11:42:42.401Z] -- Install configuration: "Release" [2020-03-16T11:42:42.401Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-03-16T11:42:42.401Z] -- Installing: /usr/local/lib64/libcbor.a [2020-03-16T11:42:42.401Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-03-16T11:42:42.401Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-03-16T11:42:42.401Z] -- Installing: /usr/local/lib64/libcbor.so [2020-03-16T11:42:42.401Z] -- Up-to-date: /usr/local/include/cbor [2020-03-16T11:42:42.401Z] -- Installing: /usr/local/include/cbor/common.h [2020-03-16T11:42:42.401Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-03-16T11:42:42.401Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-03-16T11:42:42.401Z] -- Installing: /usr/local/include/cbor/maps.h [2020-03-16T11:42:42.401Z] -- Installing: /usr/local/include/cbor/strings.h [2020-03-16T11:42:42.401Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-03-16T11:42:42.401Z] -- Installing: /usr/local/include/cbor/internal [2020-03-16T11:42:42.401Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-03-16T11:42:42.401Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-03-16T11:42:42.401Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-03-16T11:42:42.401Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-03-16T11:42:42.401Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-03-16T11:42:42.401Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-03-16T11:42:42.401Z] -- Installing: /usr/local/include/cbor/data.h [2020-03-16T11:42:42.401Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-03-16T11:42:42.401Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-03-16T11:42:42.401Z] -- Installing: /usr/local/include/cbor/tags.h [2020-03-16T11:42:42.401Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-03-16T11:42:42.401Z] -- Installing: /usr/local/include/cbor/ints.h [2020-03-16T11:42:42.401Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-03-16T11:42:42.401Z] -- Installing: /usr/local/include/cbor.h [2020-03-16T11:42:42.401Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-03-16T11:42:42.632Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-03-16T11:42:42.893Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-03-16T11:42:42.893Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-03-16T11:42:43.155Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-03-16T11:42:43.420Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-03-16T11:42:43.420Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-03-16T11:42:43.683Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-03-16T11:42:43.683Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-03-16T11:42:43.944Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-03-16T11:42:43.944Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-03-16T11:42:43.944Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-03-16T11:42:44.900Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-03-16T11:42:44.900Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-03-16T11:42:44.900Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-03-16T11:42:44.995Z] Removing intermediate container f1d5793eb953 [2020-03-16T11:42:44.995Z] ---> 996a1268943c [2020-03-16T11:42:44.995Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-03-16T11:42:44.995Z] ---> Running in 98b9b854d552 [2020-03-16T11:42:45.160Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-03-16T11:42:45.734Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-03-16T11:42:45.734Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-03-16T11:42:45.734Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-03-16T11:42:45.734Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-03-16T11:42:45.993Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-03-16T11:42:45.993Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-03-16T11:42:46.252Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-03-16T11:42:46.252Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-03-16T11:42:46.512Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-03-16T11:42:46.512Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-03-16T11:42:46.771Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-03-16T11:42:46.955Z] Removing intermediate container 98b9b854d552 [2020-03-16T11:42:46.955Z] ---> 21bbdf10b7ec [2020-03-16T11:42:46.955Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-03-16T11:42:47.031Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-03-16T11:42:47.031Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-03-16T11:42:47.224Z] ---> e27a7eb9fbe0 [2020-03-16T11:42:47.224Z] Step 8/21 : COPY src /tmp/sdk/src [2020-03-16T11:42:47.984Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-03-16T11:42:48.190Z] ---> f48c63543fc3 [2020-03-16T11:42:48.190Z] Step 9/21 : COPY include /tmp/sdk/include [2020-03-16T11:42:48.243Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-03-16T11:42:48.243Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-03-16T11:42:48.502Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-03-16T11:42:48.761Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-03-16T11:42:48.782Z] ---> bb6134c60252 [2020-03-16T11:42:48.782Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-03-16T11:42:49.050Z] ---> 11ee47b8fc86 [2020-03-16T11:42:49.050Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-03-16T11:42:49.327Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-03-16T11:42:49.641Z] ---> 9fb12b89233b [2020-03-16T11:42:49.641Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-03-16T11:42:50.228Z] ---> d48d1e0b35d2 [2020-03-16T11:42:50.228Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-03-16T11:42:50.265Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-03-16T11:42:50.265Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-03-16T11:42:50.496Z] ---> Running in 66b5e91eb488 [2020-03-16T11:42:50.523Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-03-16T11:42:50.523Z] [ 69%] Linking C shared library libcsdk.so [2020-03-16T11:42:50.781Z] [ 69%] Built target csdk [2020-03-16T11:42:50.781Z] Scanning dependencies of target template [2020-03-16T11:42:50.781Z] [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-03-16T11:42:50.781Z] [ 72%] Linking C executable template [2020-03-16T11:42:50.781Z] [ 72%] Built target template [2020-03-16T11:42:50.781Z] Scanning dependencies of target device-counter [2020-03-16T11:42:51.045Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-03-16T11:42:51.045Z] [ 76%] Linking C executable device-counter [2020-03-16T11:42:51.045Z] [ 76%] Built target device-counter [2020-03-16T11:42:51.045Z] Scanning dependencies of target device-random [2020-03-16T11:42:51.045Z] [ 77%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-03-16T11:42:51.306Z] [ 79%] Linking C executable device-random [2020-03-16T11:42:51.306Z] [ 79%] Built target device-random [2020-03-16T11:42:51.306Z] Scanning dependencies of target device-gyro [2020-03-16T11:42:51.306Z] [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-03-16T11:42:51.306Z] [ 83%] Linking C executable device-gyro [2020-03-16T11:42:51.462Z] + CPPCHECK=false [2020-03-16T11:42:51.462Z] + DOCGEN=false [2020-03-16T11:42:51.462Z] + TOMLVER=SDK-0.2 [2020-03-16T11:42:51.462Z] + CUTILVER=1.0.0 [2020-03-16T11:42:51.462Z] + '[' 0 -gt 0 ] [2020-03-16T11:42:51.462Z] + readlink -f ./scripts/build.sh [2020-03-16T11:42:51.462Z] + dirname /tmp/sdk/scripts/build.sh [2020-03-16T11:42:51.462Z] + dirname /tmp/sdk/scripts [2020-03-16T11:42:51.462Z] + ROOT=/tmp/sdk [2020-03-16T11:42:51.462Z] + cd /tmp/sdk [2020-03-16T11:42:51.462Z] + '[' '!' -d deps ] [2020-03-16T11:42:51.462Z] + mkdir deps [2020-03-16T11:42:51.462Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-03-16T11:42:51.462Z] + tar -C deps -z -x -f - [2020-03-16T11:42:51.462Z] --2020-03-16 11:42:51-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-03-16T11:42:51.462Z] Resolving github.com... 192.30.253.112 [2020-03-16T11:42:51.462Z] Connecting to github.com|192.30.253.112|:443... connected. [2020-03-16T11:42:51.462Z] HTTP request sent, awaiting response... 302 Found [2020-03-16T11:42:51.462Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-03-16T11:42:51.462Z] --2020-03-16 11:42:51-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-03-16T11:42:51.462Z] Resolving codeload.github.com... 140.82.112.10 [2020-03-16T11:42:51.462Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2020-03-16T11:42:51.574Z] [ 83%] Built target device-gyro [2020-03-16T11:42:51.574Z] Scanning dependencies of target template-discovery [2020-03-16T11:42:51.574Z] [ 84%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-03-16T11:42:51.574Z] [ 86%] Linking C executable template-discovery [2020-03-16T11:42:51.730Z] HTTP request sent, awaiting response... 200 OK [2020-03-16T11:42:51.730Z] Length: unspecified [application/x-gzip] [2020-03-16T11:42:51.730Z] Saving to: 'STDOUT' [2020-03-16T11:42:51.730Z]  [2020-03-16T11:42:51.730Z] 0K .......... ......                   1.06M=0.01s [2020-03-16T11:42:51.730Z] [2020-03-16T11:42:51.730Z] 2020-03-16 11:42:51 (1.06 MB/s) - written to stdout [16451] [2020-03-16T11:42:51.730Z] [2020-03-16T11:42:51.730Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-03-16T11:42:51.730Z] + wget -O+ - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.0.tar.gz [2020-03-16T11:42:51.730Z] tar -C deps -z -x -f - [2020-03-16T11:42:51.730Z] --2020-03-16 11:42:51-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.0.tar.gz [2020-03-16T11:42:51.730Z] Resolving github.com... 140.82.113.4 [2020-03-16T11:42:51.730Z] Connecting to github.com|140.82.113.4|:443... connected. [2020-03-16T11:42:51.835Z] [ 86%] Built target template-discovery [2020-03-16T11:42:51.835Z] Scanning dependencies of target device-terminal [2020-03-16T11:42:51.835Z] [ 88%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-03-16T11:42:51.835Z] [ 89%] Linking C executable device-terminal [2020-03-16T11:42:51.997Z] HTTP request sent, awaiting response... 302 Found [2020-03-16T11:42:51.997Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.0 [following] [2020-03-16T11:42:51.997Z] --2020-03-16 11:42:51-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.0 [2020-03-16T11:42:51.997Z] Resolving codeload.github.com... 140.82.112.10 [2020-03-16T11:42:51.997Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2020-03-16T11:42:51.997Z] HTTP request sent, awaiting response... 200 OK [2020-03-16T11:42:51.997Z] Length: unspecified [application/x-gzip] [2020-03-16T11:42:51.997Z] Saving to: 'STDOUT' [2020-03-16T11:42:51.997Z]  [2020-03-16T11:42:51.997Z] 0K .......... .......... .......... .......... .......... 1.52M [2020-03-16T11:42:51.997Z] 50K .......... .......... .......... .......... .......... 3.17M [2020-03-16T11:42:51.997Z] 100K .......... .......... .......... .......... ........ 7.05M=0.05s [2020-03-16T11:42:51.997Z] [2020-03-16T11:42:51.997Z] 2020-03-16 11:42:51 (2.67 MB/s) - written to stdout [151809] [2020-03-16T11:42:51.997Z] [2020-03-16T11:42:52.097Z] [ 89%] Built target device-terminal [2020-03-16T11:42:52.097Z] Scanning dependencies of target template2 [2020-03-16T11:42:52.097Z] [ 91%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-03-16T11:42:52.097Z] [ 93%] Linking C executable template2 [2020-03-16T11:42:52.097Z] [ 93%] Built target template2 [2020-03-16T11:42:52.097Z] Scanning dependencies of target device-randomv2 [2020-03-16T11:42:52.097Z] [ 94%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-03-16T11:42:52.097Z] /tmp/sdk/src/c/examples/v2/random/device-random.c:9:10: fatal error: devsdk/devsdk.h: No such file or directory [2020-03-16T11:42:52.097Z] #include "devsdk/devsdk.h" [2020-03-16T11:42:52.097Z] ^~~~~~~~~~~~~~~~~ [2020-03-16T11:42:52.097Z] compilation terminated. [2020-03-16T11:42:52.097Z] make[2]: *** [c/examples/v2/random/CMakeFiles/device-randomv2.dir/build.make:63: c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o] Error 1 [2020-03-16T11:42:52.097Z] make[1]: *** [CMakeFiles/Makefile2:555: c/examples/v2/random/CMakeFiles/device-randomv2.dir/all] Error 2 [2020-03-16T11:42:52.097Z] make: *** [Makefile:152: all] Error 2 [2020-03-16T11:42:52.097Z] + make package [2020-03-16T11:42:52.097Z] + tee -a release.log [2020-03-16T11:42:52.273Z] + mkdir -p src/c/iot [2020-03-16T11:42:52.274Z] + cp deps/iotech-c-utils-1.0.0/src/c/base64.c deps/iotech-c-utils-1.0.0/src/c/component.c deps/iotech-c-utils-1.0.0/src/c/container.c deps/iotech-c-utils-1.0.0/src/c/data.c deps/iotech-c-utils-1.0.0/src/c/hash.c deps/iotech-c-utils-1.0.0/src/c/iot.c deps/iotech-c-utils-1.0.0/src/c/json.c deps/iotech-c-utils-1.0.0/src/c/logger.c deps/iotech-c-utils-1.0.0/src/c/os.c deps/iotech-c-utils-1.0.0/src/c/scheduler.c deps/iotech-c-utils-1.0.0/src/c/thread.c deps/iotech-c-utils-1.0.0/src/c/threadpool.c deps/iotech-c-utils-1.0.0/src/c/time.c src/c/iot [2020-03-16T11:42:52.274Z] + mkdir -p include/iot [2020-03-16T11:42:52.274Z] + cp deps/iotech-c-utils-1.0.0/include/iot/base64.h deps/iotech-c-utils-1.0.0/include/iot/component.h deps/iotech-c-utils-1.0.0/include/iot/container.h deps/iotech-c-utils-1.0.0/include/iot/data.h deps/iotech-c-utils-1.0.0/include/iot/hash.h deps/iotech-c-utils-1.0.0/include/iot/iot.h deps/iotech-c-utils-1.0.0/include/iot/json.h deps/iotech-c-utils-1.0.0/include/iot/logger.h deps/iotech-c-utils-1.0.0/include/iot/os.h deps/iotech-c-utils-1.0.0/include/iot/scheduler.h deps/iotech-c-utils-1.0.0/include/iot/thread.h deps/iotech-c-utils-1.0.0/include/iot/threadpool.h deps/iotech-c-utils-1.0.0/include/iot/time.h include/iot [2020-03-16T11:42:52.274Z] + mkdir -p include/iot/os [2020-03-16T11:42:52.274Z] + cp deps/iotech-c-utils-1.0.0/include/iot/os/linux.h deps/iotech-c-utils-1.0.0/include/iot/os/zephyr.h include/iot/os [2020-03-16T11:42:52.274Z] + mkdir -p /tmp/sdk/build/release [2020-03-16T11:42:52.274Z] + cd /tmp/sdk/build/release [2020-03-16T11:42:52.274Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-03-16T11:42:52.356Z] [ 69%] Built target csdk [2020-03-16T11:42:52.357Z] [ 72%] Built target template [2020-03-16T11:42:52.357Z] [ 76%] Built target device-counter [2020-03-16T11:42:52.357Z] [ 79%] Built target device-random [2020-03-16T11:42:52.357Z] [ 83%] Built target device-gyro [2020-03-16T11:42:52.357Z] [ 86%] Built target template-discovery [2020-03-16T11:42:52.357Z] [ 89%] Built target device-terminal [2020-03-16T11:42:52.357Z] [ 93%] Built target template2 [2020-03-16T11:42:52.357Z] [ 94%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-03-16T11:42:52.357Z] /tmp/sdk/src/c/examples/v2/random/device-random.c:9:10: fatal error: devsdk/devsdk.h: No such file or directory [2020-03-16T11:42:52.357Z] #include "devsdk/devsdk.h" [2020-03-16T11:42:52.357Z] ^~~~~~~~~~~~~~~~~ [2020-03-16T11:42:52.357Z] compilation terminated. [2020-03-16T11:42:52.357Z] make[2]: *** [c/examples/v2/random/CMakeFiles/device-randomv2.dir/build.make:63: c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o] Error 1 [2020-03-16T11:42:52.357Z] make[1]: *** [CMakeFiles/Makefile2:555: c/examples/v2/random/CMakeFiles/device-randomv2.dir/all] Error 2 [2020-03-16T11:42:52.357Z] make: *** [Makefile:152: all] Error 2 [2020-03-16T11:42:52.357Z] + '[' false '=' true ] [2020-03-16T11:42:52.357Z] + '[' false '=' true ] [2020-03-16T11:42:52.357Z] + mkdir -p /tmp/sdk/build/debug [2020-03-16T11:42:52.357Z] + cd /tmp/sdk/build/debug [2020-03-16T11:42:52.357Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-03-16T11:42:52.544Z] -- The C compiler identification is GNU 8.3.0 [2020-03-16T11:42:52.544Z] -- Check for working C compiler: /usr/bin/cc [2020-03-16T11:42:52.616Z] -- The C compiler identification is GNU 8.3.0 [2020-03-16T11:42:52.616Z] -- Check for working C compiler: /usr/bin/cc [2020-03-16T11:42:52.616Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-03-16T11:42:52.616Z] -- Detecting C compiler ABI info [2020-03-16T11:42:52.616Z] -- Detecting C compiler ABI info - done [2020-03-16T11:42:52.616Z] -- Detecting C compile features [2020-03-16T11:42:52.813Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-03-16T11:42:52.813Z] -- Detecting C compiler ABI info [2020-03-16T11:42:52.874Z] -- Detecting C compile features - done [2020-03-16T11:42:52.874Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-03-16T11:42:52.874Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-03-16T11:42:52.874Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-03-16T11:42:52.874Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-03-16T11:42:52.874Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-03-16T11:42:52.874Z] -- C SDK 0.0.0 for Linux [2020-03-16T11:42:52.874Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-03-16T11:42:52.874Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-03-16T11:42:53.083Z] -- Detecting C compiler ABI info - done [2020-03-16T11:42:53.083Z] -- Detecting C compile features [2020-03-16T11:42:53.134Z] -- Found Curses: /usr/lib/libcurses.so [2020-03-16T11:42:53.134Z] -- Configuring done [2020-03-16T11:42:53.134Z] -- Generating done [2020-03-16T11:42:53.134Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-03-16T11:42:53.134Z] + make [2020-03-16T11:42:53.134Z] + tee debug.log [2020-03-16T11:42:53.134Z] Scanning dependencies of target csdk [2020-03-16T11:42:53.134Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-03-16T11:42:53.393Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-03-16T11:42:53.393Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-03-16T11:42:53.652Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-03-16T11:42:53.652Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-03-16T11:42:53.652Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-03-16T11:42:53.652Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-03-16T11:42:53.669Z] -- Detecting C compile features - done [2020-03-16T11:42:53.669Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-03-16T11:42:53.669Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-03-16T11:42:53.669Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-03-16T11:42:53.669Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-03-16T11:42:53.669Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-03-16T11:42:53.669Z] -- C SDK 0.0.0 for Linux [2020-03-16T11:42:53.669Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-03-16T11:42:53.911Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-03-16T11:42:53.911Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-03-16T11:42:53.911Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-03-16T11:42:53.937Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-03-16T11:42:53.937Z] -- Found Curses: /usr/lib/libcurses.so [2020-03-16T11:42:54.169Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-03-16T11:42:54.170Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-03-16T11:42:54.170Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-03-16T11:42:54.170Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-03-16T11:42:54.203Z] -- Configuring done [2020-03-16T11:42:54.428Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-03-16T11:42:54.470Z] -- Generating done [2020-03-16T11:42:54.470Z] -- Build files have been written to: /tmp/sdk/build/release [2020-03-16T11:42:54.470Z] + + make [2020-03-16T11:42:54.470Z] tee release.log [2020-03-16T11:42:54.470Z] Scanning dependencies of target csdk [2020-03-16T11:42:54.687Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-03-16T11:42:54.687Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-03-16T11:42:54.687Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-03-16T11:42:54.739Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-03-16T11:42:54.957Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-03-16T11:42:54.957Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-03-16T11:42:54.957Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-03-16T11:42:54.957Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-03-16T11:42:55.216Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-03-16T11:42:55.217Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-03-16T11:42:55.217Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-03-16T11:42:55.217Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-03-16T11:42:55.325Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-03-16T11:42:55.476Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-03-16T11:42:55.477Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-03-16T11:42:55.477Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-03-16T11:42:55.477Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-03-16T11:42:55.593Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-03-16T11:42:55.736Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-03-16T11:42:55.995Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-03-16T11:42:55.995Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-03-16T11:42:55.995Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-03-16T11:42:56.254Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-03-16T11:42:56.514Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-03-16T11:42:56.514Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-03-16T11:42:56.774Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-03-16T11:42:56.774Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-03-16T11:42:57.036Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-03-16T11:42:57.036Z] [ 69%] Linking C shared library libcsdk.so [2020-03-16T11:42:57.036Z] [ 69%] Built target csdk [2020-03-16T11:42:57.036Z] Scanning dependencies of target template [2020-03-16T11:42:57.036Z] [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-03-16T11:42:57.036Z] [ 72%] Linking C executable template [2020-03-16T11:42:57.298Z] [ 72%] Built target template [2020-03-16T11:42:57.298Z] Scanning dependencies of target device-counter [2020-03-16T11:42:57.298Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-03-16T11:42:57.298Z] [ 76%] Linking C executable device-counter [2020-03-16T11:42:57.298Z] [ 76%] Built target device-counter [2020-03-16T11:42:57.298Z] Scanning dependencies of target device-random [2020-03-16T11:42:57.298Z] [ 77%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-03-16T11:42:57.544Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-03-16T11:42:57.560Z] [ 79%] Linking C executable device-random [2020-03-16T11:42:57.560Z] [ 79%] Built target device-random [2020-03-16T11:42:57.560Z] Scanning dependencies of target device-gyro [2020-03-16T11:42:57.560Z] [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-03-16T11:42:57.560Z] [ 83%] Linking C executable device-gyro [2020-03-16T11:42:57.812Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-03-16T11:42:57.819Z] [ 83%] Built target device-gyro [2020-03-16T11:42:57.819Z] Scanning dependencies of target template-discovery [2020-03-16T11:42:57.819Z] [ 84%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-03-16T11:42:57.819Z] [ 86%] Linking C executable template-discovery [2020-03-16T11:42:57.819Z] [ 86%] Built target template-discovery [2020-03-16T11:42:57.819Z] Scanning dependencies of target device-terminal [2020-03-16T11:42:57.819Z] [ 88%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-03-16T11:42:58.078Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-03-16T11:42:58.080Z] [ 89%] Linking C executable device-terminal [2020-03-16T11:42:58.655Z] [ 89%] Built target device-terminal [2020-03-16T11:42:58.655Z] Scanning dependencies of target template2 [2020-03-16T11:42:58.655Z] [ 91%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-03-16T11:42:58.655Z] [ 93%] Linking C executable template2 [2020-03-16T11:42:58.660Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-03-16T11:42:58.913Z] [ 93%] Built target template2 [2020-03-16T11:42:58.913Z] Scanning dependencies of target device-randomv2 [2020-03-16T11:42:58.913Z] [ 94%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-03-16T11:42:58.913Z] /tmp/sdk/src/c/examples/v2/random/device-random.c:9:10: fatal error: devsdk/devsdk.h: No such file or directory [2020-03-16T11:42:58.913Z] #include "devsdk/devsdk.h" [2020-03-16T11:42:58.913Z] ^~~~~~~~~~~~~~~~~ [2020-03-16T11:42:58.913Z] compilation terminated. [2020-03-16T11:42:58.913Z] make[2]: *** [c/examples/v2/random/CMakeFiles/device-randomv2.dir/build.make:63: c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o] Error 1 [2020-03-16T11:42:58.913Z] make[1]: *** [CMakeFiles/Makefile2:555: c/examples/v2/random/CMakeFiles/device-randomv2.dir/all] Error 2 [2020-03-16T11:42:58.913Z] make: *** [Makefile:152: all] Error 2 [2020-03-16T11:42:58.913Z] make: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:42:59.481Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:42:59.481Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:42:59.481Z] Scanning dependencies of target csdk [2020-03-16T11:42:59.481Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:42:59.481Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:42:59.481Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-03-16T11:42:59.740Z] [ 3%] Linking C shared library libcsdk.so [2020-03-16T11:42:59.740Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:42:59.740Z] [ 69%] Built target csdk [2020-03-16T11:42:59.740Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:42:59.740Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:42:59.740Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:42:59.740Z] [ 71%] Linking C executable template [2020-03-16T11:42:59.999Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:42:59.999Z] [ 72%] Built target template [2020-03-16T11:42:59.999Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:42:59.999Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:42:59.999Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:42:59.999Z] [ 74%] Linking C executable device-counter [2020-03-16T11:42:59.999Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:42:59.999Z] [ 76%] Built target device-counter [2020-03-16T11:42:59.999Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:42:59.999Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:42:59.999Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:42:59.999Z] [ 77%] Linking C executable device-random [2020-03-16T11:42:59.999Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:42:59.999Z] [ 79%] Built target device-random [2020-03-16T11:42:59.999Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:42:59.999Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:42:59.999Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:42:59.999Z] [ 81%] Linking C executable device-gyro [2020-03-16T11:43:00.071Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-03-16T11:43:00.257Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:43:00.258Z] [ 83%] Built target device-gyro [2020-03-16T11:43:00.258Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:43:00.258Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:43:00.258Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:43:00.258Z] [ 84%] Linking C executable template-discovery [2020-03-16T11:43:00.258Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:43:00.258Z] [ 86%] Built target template-discovery [2020-03-16T11:43:00.258Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:43:00.258Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:43:00.258Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:43:00.258Z] [ 88%] Linking C executable device-terminal [2020-03-16T11:43:00.258Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:43:00.258Z] [ 89%] Built target device-terminal [2020-03-16T11:43:00.258Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:43:00.258Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:43:00.258Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:43:00.258Z] [ 91%] Linking C executable template2 [2020-03-16T11:43:00.339Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-03-16T11:43:00.518Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:43:00.518Z] [ 93%] Built target template2 [2020-03-16T11:43:00.518Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:43:00.518Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:43:00.518Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:43:00.518Z] [ 94%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-03-16T11:43:00.518Z] /tmp/sdk/src/c/examples/v2/random/device-random.c:9:10: fatal error: devsdk/devsdk.h: No such file or directory [2020-03-16T11:43:00.518Z] #include "devsdk/devsdk.h" [2020-03-16T11:43:00.518Z] ^~~~~~~~~~~~~~~~~ [2020-03-16T11:43:00.518Z] compilation terminated. [2020-03-16T11:43:00.518Z] make[2]: *** [c/examples/v2/random/CMakeFiles/device-randomv2.dir/build.make:63: c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o] Error 1 [2020-03-16T11:43:00.518Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:43:00.518Z] make[1]: *** [CMakeFiles/Makefile2:555: c/examples/v2/random/CMakeFiles/device-randomv2.dir/all] Error 2 [2020-03-16T11:43:00.518Z] make: *** [Makefile:152: all] Error 2 [2020-03-16T11:43:00.518Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:43:00.518Z] make: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:43:00.776Z] The command '/bin/sh -c cd /tmp/sdk && ./scripts/build.sh && make -C build/release install' returned a non-zero code: 2 [Pipeline] } [Pipeline] // script [2020-03-16T11:43:00.924Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [2020-03-16T11:43:01.510Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-03-16T11:43:01.777Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-03-16T11:43:02.044Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [2020-03-16T11:43:02.315Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [Pipeline] // stage [Pipeline] } [2020-03-16T11:43:02.451Z] Failed in branch amd64 [2020-03-16T11:43:05.674Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-03-16T11:43:05.674Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-03-16T11:43:06.259Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-03-16T11:43:06.527Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-03-16T11:43:08.470Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-03-16T11:43:08.470Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-03-16T11:43:08.741Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-03-16T11:43:09.324Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-03-16T11:43:09.907Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-03-16T11:43:09.907Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-03-16T11:43:10.864Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-03-16T11:43:11.132Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-03-16T11:43:11.713Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-03-16T11:43:11.978Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-03-16T11:43:12.245Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-03-16T11:43:13.206Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-03-16T11:43:13.473Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-03-16T11:43:17.729Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-03-16T11:43:17.998Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-03-16T11:43:18.265Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-03-16T11:43:18.848Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-03-16T11:43:20.253Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-03-16T11:43:21.672Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-03-16T11:43:25.011Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-03-16T11:43:25.276Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-03-16T11:43:26.691Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-03-16T11:43:26.962Z] [ 69%] Linking C shared library libcsdk.so [2020-03-16T11:43:26.962Z] [ 69%] Built target csdk [2020-03-16T11:43:26.962Z] Scanning dependencies of target template [2020-03-16T11:43:26.962Z] [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-03-16T11:43:27.545Z] [ 72%] Linking C executable template [2020-03-16T11:43:27.810Z] [ 72%] Built target template [2020-03-16T11:43:27.810Z] Scanning dependencies of target device-counter [2020-03-16T11:43:27.810Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-03-16T11:43:28.394Z] [ 76%] Linking C executable device-counter [2020-03-16T11:43:28.394Z] [ 76%] Built target device-counter [2020-03-16T11:43:28.394Z] Scanning dependencies of target device-random [2020-03-16T11:43:28.394Z] [ 77%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-03-16T11:43:28.976Z] [ 79%] Linking C executable device-random [2020-03-16T11:43:29.242Z] [ 79%] Built target device-random [2020-03-16T11:43:29.242Z] Scanning dependencies of target device-gyro [2020-03-16T11:43:29.242Z] [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-03-16T11:43:29.511Z] [ 83%] Linking C executable device-gyro [2020-03-16T11:43:29.778Z] [ 83%] Built target device-gyro [2020-03-16T11:43:29.778Z] Scanning dependencies of target template-discovery [2020-03-16T11:43:29.778Z] [ 84%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-03-16T11:43:30.360Z] [ 86%] Linking C executable template-discovery [2020-03-16T11:43:30.627Z] [ 86%] Built target template-discovery [2020-03-16T11:43:30.627Z] Scanning dependencies of target device-terminal [2020-03-16T11:43:30.627Z] [ 88%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-03-16T11:43:31.211Z] [ 89%] Linking C executable device-terminal [2020-03-16T11:43:31.211Z] [ 89%] Built target device-terminal [2020-03-16T11:43:31.211Z] Scanning dependencies of target template2 [2020-03-16T11:43:31.480Z] [ 91%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-03-16T11:43:31.746Z] [ 93%] Linking C executable template2 [2020-03-16T11:43:32.015Z] [ 93%] Built target template2 [2020-03-16T11:43:32.015Z] Scanning dependencies of target device-randomv2 [2020-03-16T11:43:32.015Z] [ 94%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-03-16T11:43:32.281Z] /tmp/sdk/src/c/examples/v2/random/device-random.c:9:10: fatal error: devsdk/devsdk.h: No such file or directory [2020-03-16T11:43:32.281Z] #include "devsdk/devsdk.h" [2020-03-16T11:43:32.281Z] ^~~~~~~~~~~~~~~~~ [2020-03-16T11:43:32.281Z] compilation terminated. [2020-03-16T11:43:32.281Z] make[2]: *** [c/examples/v2/random/CMakeFiles/device-randomv2.dir/build.make:63: c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o] Error 1 [2020-03-16T11:43:32.281Z] make[1]: *** [CMakeFiles/Makefile2:555: c/examples/v2/random/CMakeFiles/device-randomv2.dir/all] Error 2 [2020-03-16T11:43:32.281Z] make: *** [Makefile:152: all] Error 2 [2020-03-16T11:43:32.281Z] + + teemake -a package [2020-03-16T11:43:32.281Z] release.log [2020-03-16T11:43:32.281Z] [ 69%] Built target csdk [2020-03-16T11:43:32.281Z] [ 72%] Built target template [2020-03-16T11:43:32.281Z] [ 76%] Built target device-counter [2020-03-16T11:43:32.549Z] [ 79%] Built target device-random [2020-03-16T11:43:32.549Z] [ 83%] Built target device-gyro [2020-03-16T11:43:32.549Z] [ 86%] Built target template-discovery [2020-03-16T11:43:32.549Z] [ 89%] Built target device-terminal [2020-03-16T11:43:32.549Z] [ 93%] Built target template2 [2020-03-16T11:43:32.549Z] [ 94%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-03-16T11:43:32.817Z] /tmp/sdk/src/c/examples/v2/random/device-random.c:9:10: fatal error: devsdk/devsdk.h: No such file or directory [2020-03-16T11:43:32.817Z] #include "devsdk/devsdk.h" [2020-03-16T11:43:32.817Z] ^~~~~~~~~~~~~~~~~ [2020-03-16T11:43:32.817Z] compilation terminated. [2020-03-16T11:43:32.817Z] make[2]: *** [c/examples/v2/random/CMakeFiles/device-randomv2.dir/build.make:63: c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o] Error 1 [2020-03-16T11:43:32.817Z] make[1]: *** [CMakeFiles/Makefile2:555: c/examples/v2/random/CMakeFiles/device-randomv2.dir/all] Error 2 [2020-03-16T11:43:32.817Z] make: *** [Makefile:152: all] Error 2 [2020-03-16T11:43:32.817Z] + '[' false '=' true ] [2020-03-16T11:43:32.817Z] + '[' false '=' true ] [2020-03-16T11:43:32.817Z] + mkdir -p /tmp/sdk/build/debug [2020-03-16T11:43:32.817Z] + cd /tmp/sdk/build/debug [2020-03-16T11:43:32.817Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-03-16T11:43:33.087Z] -- The C compiler identification is GNU 8.3.0 [2020-03-16T11:43:33.087Z] -- Check for working C compiler: /usr/bin/cc [2020-03-16T11:43:33.353Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-03-16T11:43:33.353Z] -- Detecting C compiler ABI info [2020-03-16T11:43:33.353Z] -- Detecting C compiler ABI info - done [2020-03-16T11:43:33.647Z] -- Detecting C compile features [2020-03-16T11:43:34.233Z] -- Detecting C compile features - done [2020-03-16T11:43:34.233Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-03-16T11:43:34.233Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-03-16T11:43:34.233Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-03-16T11:43:34.233Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-03-16T11:43:34.233Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-03-16T11:43:34.233Z] -- C SDK 0.0.0 for Linux [2020-03-16T11:43:34.233Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-03-16T11:43:34.500Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-03-16T11:43:34.500Z] -- Found Curses: /usr/lib/libcurses.so [2020-03-16T11:43:34.500Z] -- Configuring done [2020-03-16T11:43:34.766Z] -- Generating done [2020-03-16T11:43:34.766Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-03-16T11:43:34.766Z] + + make [2020-03-16T11:43:34.766Z] tee debug.log [2020-03-16T11:43:35.033Z] Scanning dependencies of target csdk [2020-03-16T11:43:35.033Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-03-16T11:43:35.301Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-03-16T11:43:35.569Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-03-16T11:43:36.150Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-03-16T11:43:36.461Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-03-16T11:43:36.746Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-03-16T11:43:37.031Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-03-16T11:43:37.644Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-03-16T11:43:37.915Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-03-16T11:43:38.189Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-03-16T11:43:38.478Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-03-16T11:43:38.755Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-03-16T11:43:39.033Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-03-16T11:43:39.033Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-03-16T11:43:39.994Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-03-16T11:43:40.260Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-03-16T11:43:40.260Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-03-16T11:43:40.529Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-03-16T11:43:41.490Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-03-16T11:43:41.490Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-03-16T11:43:41.490Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-03-16T11:43:41.758Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-03-16T11:43:42.027Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-03-16T11:43:42.027Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-03-16T11:43:42.295Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-03-16T11:43:42.563Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-03-16T11:43:42.830Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-03-16T11:43:43.097Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-03-16T11:43:43.365Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-03-16T11:43:43.632Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-03-16T11:43:43.901Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-03-16T11:43:44.866Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-03-16T11:43:45.136Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-03-16T11:43:45.402Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-03-16T11:43:45.671Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-03-16T11:43:46.630Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-03-16T11:43:47.215Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-03-16T11:43:47.797Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-03-16T11:43:48.061Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-03-16T11:43:48.327Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-03-16T11:43:48.591Z] [ 69%] Linking C shared library libcsdk.so [2020-03-16T11:43:48.857Z] [ 69%] Built target csdk [2020-03-16T11:43:48.857Z] Scanning dependencies of target template [2020-03-16T11:43:48.857Z] [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-03-16T11:43:49.123Z] [ 72%] Linking C executable template [2020-03-16T11:43:49.396Z] [ 72%] Built target template [2020-03-16T11:43:49.396Z] Scanning dependencies of target device-counter [2020-03-16T11:43:49.396Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-03-16T11:43:49.661Z] [ 76%] Linking C executable device-counter [2020-03-16T11:43:49.661Z] [ 76%] Built target device-counter [2020-03-16T11:43:49.926Z] Scanning dependencies of target device-random [2020-03-16T11:43:49.926Z] [ 77%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-03-16T11:43:49.926Z] [ 79%] Linking C executable device-random [2020-03-16T11:43:50.194Z] [ 79%] Built target device-random [2020-03-16T11:43:50.194Z] Scanning dependencies of target device-gyro [2020-03-16T11:43:50.194Z] [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-03-16T11:43:50.464Z] [ 83%] Linking C executable device-gyro [2020-03-16T11:43:50.730Z] [ 83%] Built target device-gyro [2020-03-16T11:43:50.730Z] Scanning dependencies of target template-discovery [2020-03-16T11:43:50.730Z] [ 84%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-03-16T11:43:50.997Z] [ 86%] Linking C executable template-discovery [2020-03-16T11:43:51.264Z] [ 86%] Built target template-discovery [2020-03-16T11:43:51.264Z] Scanning dependencies of target device-terminal [2020-03-16T11:43:51.264Z] [ 88%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-03-16T11:43:51.530Z] [ 89%] Linking C executable device-terminal [2020-03-16T11:43:51.795Z] [ 89%] Built target device-terminal [2020-03-16T11:43:51.795Z] Scanning dependencies of target template2 [2020-03-16T11:43:51.795Z] [ 91%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-03-16T11:43:52.061Z] [ 93%] Linking C executable template2 [2020-03-16T11:43:52.327Z] [ 93%] Built target template2 [2020-03-16T11:43:52.327Z] Scanning dependencies of target device-randomv2 [2020-03-16T11:43:52.327Z] [ 94%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-03-16T11:43:52.327Z] /tmp/sdk/src/c/examples/v2/random/device-random.c:9:10: fatal error: devsdk/devsdk.h: No such file or directory [2020-03-16T11:43:52.327Z] #include "devsdk/devsdk.h" [2020-03-16T11:43:52.327Z] ^~~~~~~~~~~~~~~~~ [2020-03-16T11:43:52.327Z] compilation terminated. [2020-03-16T11:43:52.327Z] make[2]: *** [c/examples/v2/random/CMakeFiles/device-randomv2.dir/build.make:63: c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o] Error 1 [2020-03-16T11:43:52.327Z] make[1]: *** [CMakeFiles/Makefile2:555: c/examples/v2/random/CMakeFiles/device-randomv2.dir/all] Error 2 [2020-03-16T11:43:52.327Z] make: *** [Makefile:152: all] Error 2 [2020-03-16T11:43:52.327Z] make: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:43:52.594Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:43:52.594Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:43:52.594Z] Scanning dependencies of target csdk [2020-03-16T11:43:52.594Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:43:52.594Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:43:52.594Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-03-16T11:43:53.999Z] [ 3%] Linking C shared library libcsdk.so [2020-03-16T11:43:54.264Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:43:54.264Z] [ 69%] Built target csdk [2020-03-16T11:43:54.264Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:43:54.264Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:43:54.264Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:43:54.264Z] [ 71%] Linking C executable template [2020-03-16T11:43:54.530Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:43:54.530Z] [ 72%] Built target template [2020-03-16T11:43:54.530Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:43:54.530Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:43:54.530Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:43:54.530Z] [ 74%] Linking C executable device-counter [2020-03-16T11:43:54.795Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:43:54.795Z] [ 76%] Built target device-counter [2020-03-16T11:43:54.795Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:43:54.795Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:43:54.795Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:43:54.795Z] [ 77%] Linking C executable device-random [2020-03-16T11:43:55.060Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:43:55.060Z] [ 79%] Built target device-random [2020-03-16T11:43:55.060Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:43:55.060Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:43:55.060Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:43:55.060Z] [ 81%] Linking C executable device-gyro [2020-03-16T11:43:55.327Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:43:55.327Z] [ 83%] Built target device-gyro [2020-03-16T11:43:55.327Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:43:55.327Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:43:55.327Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:43:55.327Z] [ 84%] Linking C executable template-discovery [2020-03-16T11:43:55.327Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:43:55.594Z] [ 86%] Built target template-discovery [2020-03-16T11:43:55.594Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:43:55.594Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:43:55.594Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:43:55.594Z] [ 88%] Linking C executable device-terminal [2020-03-16T11:43:55.861Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:43:55.861Z] [ 89%] Built target device-terminal [2020-03-16T11:43:55.861Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:43:55.861Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:43:55.861Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:43:55.861Z] [ 91%] Linking C executable template2 [2020-03-16T11:43:56.131Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:43:56.131Z] [ 93%] Built target template2 [2020-03-16T11:43:56.131Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:43:56.131Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:43:56.131Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:43:56.131Z] [ 94%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-03-16T11:43:56.131Z] /tmp/sdk/src/c/examples/v2/random/device-random.c:9:10: fatal error: devsdk/devsdk.h: No such file or directory [2020-03-16T11:43:56.131Z] #include "devsdk/devsdk.h" [2020-03-16T11:43:56.131Z] ^~~~~~~~~~~~~~~~~ [2020-03-16T11:43:56.131Z] compilation terminated. [2020-03-16T11:43:56.131Z] make[2]: *** [c/examples/v2/random/CMakeFiles/device-randomv2.dir/build.make:63: c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o] Error 1 [2020-03-16T11:43:56.131Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:43:56.131Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:43:56.131Z] make[1]: *** [CMakeFiles/Makefile2:555: c/examples/v2/random/CMakeFiles/device-randomv2.dir/all] Error 2 [2020-03-16T11:43:56.131Z] make: *** [Makefile:152: all] Error 2 [2020-03-16T11:43:56.131Z] make: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:43:56.714Z] The command '/bin/sh -c cd /tmp/sdk && ./scripts/build.sh && make -C build/release install' returned a non-zero code: 2 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-03-16T11:43:58.387Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-03-16T11:44:00.050Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-16T11:44:00.381Z] ---> package-listing.sh [2020-03-16T11:44:00.382Z] ++ facter osfamily [2020-03-16T11:44:00.382Z] ++ tr '[:upper:]' '[:lower:]' [2020-03-16T11:44:00.382Z] + OS_FAMILY=redhat [2020-03-16T11:44:00.382Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-242 [2020-03-16T11:44:00.382Z] + START_PACKAGES=/tmp/packages_start.txt [2020-03-16T11:44:00.382Z] + END_PACKAGES=/tmp/packages_end.txt [2020-03-16T11:44:00.382Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-03-16T11:44:00.382Z] + PACKAGES=/tmp/packages_start.txt [2020-03-16T11:44:00.382Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-242 ']' [2020-03-16T11:44:00.382Z] + PACKAGES=/tmp/packages_end.txt [2020-03-16T11:44:00.382Z] + case "${OS_FAMILY}" in [2020-03-16T11:44:00.382Z] + rpm -qa [2020-03-16T11:44:00.382Z] + sort [2020-03-16T11:44:04.588Z] + '[' -f /tmp/packages_start.txt ']' [2020-03-16T11:44:04.588Z] + '[' -f /tmp/packages_end.txt ']' [2020-03-16T11:44:04.588Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-03-16T11:44:04.588Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-242 ']' [2020-03-16T11:44:04.588Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-242/archives/ [2020-03-16T11:44:04.588Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-242/archives/ [Pipeline] isUnix [Pipeline] sh [2020-03-16T11:44:05.069Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-16T11:44:05.069Z] [2020-03-16T11:44:05.069Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-03-16T11:44:05.440Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-16T11:44:05.441Z] alpine: Pulling from edgex-lftools-log-publisher [2020-03-16T11:44:05.441Z] c9b1b535fdd9: Pulling fs layer [2020-03-16T11:44:05.441Z] 2cc5ad85d9ab: Pulling fs layer [2020-03-16T11:44:05.441Z] 756a868c4378: Pulling fs layer [2020-03-16T11:44:05.441Z] 444b2fc9a129: Pulling fs layer [2020-03-16T11:44:05.441Z] ea15f1150254: Pulling fs layer [2020-03-16T11:44:05.441Z] 41b27a9f41bf: Pulling fs layer [2020-03-16T11:44:05.441Z] 28c525ee5125: Pulling fs layer [2020-03-16T11:44:05.441Z] 094b1ea09ed8: Pulling fs layer [2020-03-16T11:44:05.441Z] 138eaada9080: Pulling fs layer [2020-03-16T11:44:05.441Z] 0622d0fa9048: Pulling fs layer [2020-03-16T11:44:05.441Z] 28c525ee5125: Waiting [2020-03-16T11:44:05.441Z] 444b2fc9a129: Waiting [2020-03-16T11:44:05.441Z] 094b1ea09ed8: Waiting [2020-03-16T11:44:05.441Z] 138eaada9080: Waiting [2020-03-16T11:44:05.441Z] 0622d0fa9048: Waiting [2020-03-16T11:44:05.441Z] 41b27a9f41bf: Waiting [2020-03-16T11:44:05.441Z] ea15f1150254: Waiting [2020-03-16T11:44:05.441Z] 2cc5ad85d9ab: Verifying Checksum [2020-03-16T11:44:05.441Z] 2cc5ad85d9ab: Download complete [2020-03-16T11:44:05.441Z] 444b2fc9a129: Verifying Checksum [2020-03-16T11:44:05.441Z] 444b2fc9a129: Download complete [2020-03-16T11:44:05.441Z] c9b1b535fdd9: Verifying Checksum [2020-03-16T11:44:05.441Z] ea15f1150254: Verifying Checksum [2020-03-16T11:44:05.441Z] ea15f1150254: Download complete [2020-03-16T11:44:05.714Z] 28c525ee5125: Verifying Checksum [2020-03-16T11:44:05.714Z] 28c525ee5125: Download complete [2020-03-16T11:44:05.986Z] 756a868c4378: Verifying Checksum [2020-03-16T11:44:05.986Z] c9b1b535fdd9: Pull complete [2020-03-16T11:44:05.986Z] 138eaada9080: Verifying Checksum [2020-03-16T11:44:05.986Z] 138eaada9080: Download complete [2020-03-16T11:44:05.986Z] 0622d0fa9048: Verifying Checksum [2020-03-16T11:44:05.986Z] 0622d0fa9048: Download complete [2020-03-16T11:44:06.257Z] 2cc5ad85d9ab: Pull complete [2020-03-16T11:44:06.257Z] 094b1ea09ed8: Verifying Checksum [2020-03-16T11:44:06.257Z] 094b1ea09ed8: Download complete [2020-03-16T11:44:06.834Z] 41b27a9f41bf: Verifying Checksum [2020-03-16T11:44:06.834Z] 41b27a9f41bf: Download complete [2020-03-16T11:44:07.775Z] 756a868c4378: Pull complete [2020-03-16T11:44:07.775Z] 444b2fc9a129: Pull complete [2020-03-16T11:44:08.036Z] ea15f1150254: Pull complete [2020-03-16T11:44:12.236Z] 41b27a9f41bf: Pull complete [2020-03-16T11:44:12.236Z] 28c525ee5125: Pull complete [2020-03-16T11:44:14.162Z] 094b1ea09ed8: Pull complete [2020-03-16T11:44:14.162Z] 138eaada9080: Pull complete [2020-03-16T11:44:14.162Z] 0622d0fa9048: Pull complete [2020-03-16T11:44:14.421Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-03-16T11:44:14.421Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-03-16T11:44:14.635Z] prd-centos7-docker-4c-2g-739 does not seem to be running inside a container [2020-03-16T11:44:14.686Z] $ 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-242 -v /w/workspace/edgexfoundry_device-sdk-c_PR-242:/w/workspace/edgexfoundry_device-sdk-c_PR-242:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-242@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-242@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-03-16T11:44:15.769Z] $ docker top 9708fa6bc281cbe29360593c57cbc2de51f56bfd140022b943f683c84f18121b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-03-16T11:44:16.107Z] provisioning config files... [2020-03-16T11:44:16.128Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-242@tmp/config3932135933818327583tmp [Pipeline] { [Pipeline] echo [2020-03-16T11:44:16.210Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-16T11:44:16.527Z] ---> create-netrc.sh [Pipeline] echo [2020-03-16T11:44:16.552Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-16T11:44:16.865Z] ---> logs-deploy.sh [2020-03-16T11:44:16.865Z] + ARCHIVE_ARTIFACTS= [2020-03-16T11:44:16.865Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-03-16T11:44:16.865Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-03-16T11:44:16.865Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-03-16T11:44:16.865Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-242/1 [2020-03-16T11:44:16.865Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-242/1/ [2020-03-16T11:44:16.865Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-242/1 /w/workspace/edgexfoundry_device-sdk-c_PR-242 [2020-03-16T11:44:18.243Z] Archives upload complete. [2020-03-16T11:44:18.243Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-242/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-242/1/