Pull request #270 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 jamesrgregg for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 84ab060de2acfc7e944fade273d3b37ae45e656d+fe664e697b23228791073c46494919a610be639c (8bcc083c2cf011c71a356e0eb6d43c10e14691d6) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 370697454611dc68c0596e0d0a50477a8de841a8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 370697454611dc68c0596e0d0a50477a8de841a8 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-270/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-3.11-base, dockerFilePath:scripts/Dockerfile.alpine-3.11, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine-3.11 DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-3.11-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-c DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3384 in /w/workspace/edgexfoundry_device-sdk-c_PR-270 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-270 # 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/270/head:refs/remotes/origin/PR-270 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit fe664e697b23228791073c46494919a610be639c into PR head commit 84ab060de2acfc7e944fade273d3b37ae45e656d Merge succeeded, producing 84ab060de2acfc7e944fade273d3b37ae45e656d Checking out Revision 84ab060de2acfc7e944fade273d3b37ae45e656d (PR-270) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/270/head:refs/remotes/origin/PR-270 # 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/270/head:refs/remotes/origin/PR-270 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 84ab060de2acfc7e944fade273d3b37ae45e656d # 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 fe664e697b23228791073c46494919a610be639c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 84ab060de2acfc7e944fade273d3b37ae45e656d # timeout=10 Commit message: "Add standard PR template" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-06-17T18:34:57.413Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-06-17T18:34:57.613Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-06-17T18:34:57.734Z] ========================================================= [2020-06-17T18:34:57.734Z] EdgeX Global Pipelines Version Info [2020-06-17T18:34:57.734Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-06-17T18:34:59.171Z] ------------------- [2020-06-17T18:34:59.172Z] stable info: [2020-06-17T18:34:59.172Z] ------------------- [2020-06-17T18:34:59.172Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-06-17T18:34:59.172Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-17T18:34:59.172Z] Message: update stable to v1.0.89 [2020-06-17T18:35:00.112Z] ------------------- [2020-06-17T18:35:00.112Z] experimental info: [2020-06-17T18:35:00.112Z] ------------------- [2020-06-17T18:35:00.112Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-06-17T18:35:00.112Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-17T18:35:00.112Z] Message: update experimental to v1.0.89 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-06-17T18:35:01.646Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-17T18:35:01.908Z] [2020-06-17T18:35:01.908Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-06-17T18:35:02.270Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-17T18:35:02.270Z] latest: Pulling from edgex-devops/git-semver [2020-06-17T18:35:02.270Z] 9123ac7c32f7: Pulling fs layer [2020-06-17T18:35:02.270Z] b8cc5d1170e3: Pulling fs layer [2020-06-17T18:35:02.270Z] 2924cbbf6a41: Pulling fs layer [2020-06-17T18:35:02.270Z] 93b08a4f1073: Pulling fs layer [2020-06-17T18:35:02.270Z] 93b08a4f1073: Waiting [2020-06-17T18:35:02.270Z] b8cc5d1170e3: Verifying Checksum [2020-06-17T18:35:02.270Z] b8cc5d1170e3: Download complete [2020-06-17T18:35:02.533Z] 9123ac7c32f7: Verifying Checksum [2020-06-17T18:35:02.533Z] 9123ac7c32f7: Download complete [2020-06-17T18:35:02.533Z] 93b08a4f1073: Verifying Checksum [2020-06-17T18:35:02.533Z] 93b08a4f1073: Download complete [2020-06-17T18:35:02.533Z] 2924cbbf6a41: Verifying Checksum [2020-06-17T18:35:02.533Z] 2924cbbf6a41: Download complete [2020-06-17T18:35:02.792Z] 9123ac7c32f7: Pull complete [2020-06-17T18:35:02.792Z] b8cc5d1170e3: Pull complete [2020-06-17T18:35:03.370Z] 2924cbbf6a41: Pull complete [2020-06-17T18:35:03.631Z] 93b08a4f1073: Pull complete [2020-06-17T18:35:03.631Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-06-17T18:35:03.631Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-17T18:35:03.631Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-06-17T18:35:03.749Z] prd-centos7-docker-4c-2g-3384 does not seem to be running inside a container [2020-06-17T18:35:03.790Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-270 -v /w/workspace/edgexfoundry_device-sdk-c_PR-270:/w/workspace/edgexfoundry_device-sdk-c_PR-270:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-270@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-270@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:10004/edgex-devops/git-semver:latest cat [2020-06-17T18:35:05.994Z] $ docker top fbab7be8c5856ac0e7558fac381db1aeedd2ba326070307707948c02af88b881 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-06-17T18:35:06.247Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-17T18:35:06.247Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-17T18:35:06.428Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-17T18:35:06.433Z] $ docker exec fbab7be8c5856ac0e7558fac381db1aeedd2ba326070307707948c02af88b881 ssh-agent [2020-06-17T18:35:06.582Z] SSH_AUTH_SOCK=/tmp/ssh-XLuDEJOBAKx2/agent.11 [2020-06-17T18:35:06.582Z] SSH_AGENT_PID=16 [2020-06-17T18:35:06.593Z] Running ssh-add (command line suppressed) [2020-06-17T18:35:06.703Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-270@tmp/private_key_3812000799945254325.key (/w/workspace/edgexfoundry_device-sdk-c_PR-270@tmp/private_key_3812000799945254325.key) [2020-06-17T18:35:06.750Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-17T18:35:07.088Z] + git describe --exact-match --tags HEAD [2020-06-17T18:35:07.088Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-06-17T18:35:07.259Z] $ docker exec --env ******** --env ******** fbab7be8c5856ac0e7558fac381db1aeedd2ba326070307707948c02af88b881 ssh-agent -k [2020-06-17T18:35:07.368Z] unset SSH_AUTH_SOCK; [2020-06-17T18:35:07.368Z] unset SSH_AGENT_PID; [2020-06-17T18:35:07.368Z] echo Agent pid 16 killed; [2020-06-17T18:35:07.421Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-06-17T18:35:07.517Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-06-17T18:35:07.517Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-06-17T18:35:07.581Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-17T18:35:07.581Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-17T18:35:07.735Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-17T18:35:07.740Z] $ docker exec fbab7be8c5856ac0e7558fac381db1aeedd2ba326070307707948c02af88b881 ssh-agent [2020-06-17T18:35:07.889Z] SSH_AUTH_SOCK=/tmp/ssh-Kgefzgz9vDgf/agent.44 [2020-06-17T18:35:07.889Z] SSH_AGENT_PID=49 [2020-06-17T18:35:07.896Z] Running ssh-add (command line suppressed) [2020-06-17T18:35:08.006Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-270@tmp/private_key_4189235732314773335.key (/w/workspace/edgexfoundry_device-sdk-c_PR-270@tmp/private_key_4189235732314773335.key) [2020-06-17T18:35:08.052Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-17T18:35:08.392Z] + git semver init [2020-06-17T18:35:08.392Z] # -> Open(): unable to determine branch for HEAD [2020-06-17T18:35:08.392Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-270/.git [2020-06-17T18:35:08.392Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-270 [2020-06-17T18:35:08.392Z] # $SEMVER_REMOTE_NAME = origin [2020-06-17T18:35:08.392Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-06-17T18:35:08.392Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-06-17T18:35:08.392Z] # $SEMVER_BRANCH = PR-270 [2020-06-17T18:35:08.392Z] # $SEMVER_TEMP = /tmp/semver-664292146 [2020-06-17T18:35:08.392Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2020-06-17T18:35:08.965Z] # '/tmp/semver-664292146' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-270/.semver' [2020-06-17T18:35:08.965Z] # -> Force: false [2020-06-17T18:35:08.965Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-270/.semver [Pipeline] } [2020-06-17T18:35:08.986Z] $ docker exec --env ******** --env ******** fbab7be8c5856ac0e7558fac381db1aeedd2ba326070307707948c02af88b881 ssh-agent -k [2020-06-17T18:35:09.095Z] unset SSH_AUTH_SOCK; [2020-06-17T18:35:09.095Z] unset SSH_AGENT_PID; [2020-06-17T18:35:09.095Z] echo Agent pid 49 killed; [2020-06-17T18:35:09.134Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-06-17T18:35:09.568Z] + git semver [Pipeline] } [2020-06-17T18:35:09.595Z] $ docker stop --time=1 fbab7be8c5856ac0e7558fac381db1aeedd2ba326070307707948c02af88b881 [2020-06-17T18:35:10.921Z] $ docker rm -f fbab7be8c5856ac0e7558fac381db1aeedd2ba326070307707948c02af88b881 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-06-17T18:35:11.522Z] Stashed 50 file(s) [Pipeline] echo [2020-06-17T18:35:11.540Z] [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-06-17T18:35:26.883Z] Still waiting to schedule task [2020-06-17T18:35:26.883Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3384’ [2020-06-17T18:35:26.904Z] Still waiting to schedule task [2020-06-17T18:35:26.904Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-06-17T18:37:00.737Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3385 in /w/workspace/edgexfoundry_device-sdk-c_PR-270 [Pipeline] { [Pipeline] ws [2020-06-17T18:37:00.793Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2020-06-17T18:37:05.975Z] using credential edgex-jenkins-ssh [2020-06-17T18:37:06.004Z] Cloning the remote Git repository [2020-06-17T18:37:06.004Z] Cloning with configured refspecs honoured and without tags [2020-06-17T18:37:06.034Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-06-17T18:37:06.135Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2020-06-17T18:37:06.204Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-06-17T18:37:06.205Z] > git --version # timeout=10 [2020-06-17T18:37:06.223Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-17T18:37:06.281Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/270/head:refs/remotes/origin/PR-270 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-17T18:37:07.341Z] Fetching without tags [2020-06-17T18:37:07.839Z] Merging remotes/origin/master commit fe664e697b23228791073c46494919a610be639c into PR head commit 84ab060de2acfc7e944fade273d3b37ae45e656d [2020-06-17T18:37:08.070Z] Merge succeeded, producing 84ab060de2acfc7e944fade273d3b37ae45e656d [2020-06-17T18:37:08.070Z] Checking out Revision 84ab060de2acfc7e944fade273d3b37ae45e656d (PR-270) [2020-06-17T18:37:07.233Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-06-17T18:37:07.250Z] > git config --add remote.origin.fetch +refs/pull/270/head:refs/remotes/origin/PR-270 # timeout=10 [2020-06-17T18:37:07.261Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-17T18:37:07.288Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-06-17T18:37:07.331Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-06-17T18:37:07.331Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-17T18:37:07.344Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/270/head:refs/remotes/origin/PR-270 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-17T18:37:07.834Z] > git config core.sparsecheckout # timeout=10 [2020-06-17T18:37:07.852Z] > git checkout -f 84ab060de2acfc7e944fade273d3b37ae45e656d # timeout=10 [2020-06-17T18:37:07.961Z] > git remote # timeout=10 [2020-06-17T18:37:07.982Z] > git config --get remote.origin.url # timeout=10 [2020-06-17T18:37:08.000Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-17T18:37:08.011Z] > git merge fe664e697b23228791073c46494919a610be639c # timeout=10 [2020-06-17T18:37:08.031Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-06-17T18:37:08.052Z] > git config core.sparsecheckout # timeout=10 [2020-06-17T18:37:08.066Z] > git checkout -f 84ab060de2acfc7e944fade273d3b37ae45e656d # timeout=10 [2020-06-17T18:37:12.648Z] Commit message: "Add standard PR template" [2020-06-17T18:37:12.680Z] > git --version # timeout=10 [2020-06-17T18:37:12.705Z] fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-06-17T18:37:14.189Z] ========================================================= [2020-06-17T18:37:14.189Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2020-06-17T18:37:14.189Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-17T18:37:15.339Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-3.11-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2020-06-17T18:37:16.320Z] Sending build context to Docker daemon 3.292MB [2020-06-17T18:37:16.320Z] Step 1/21 : ARG BASE=alpine:3.11 [2020-06-17T18:37:16.320Z] Step 2/21 : FROM ${BASE} as builder [2020-06-17T18:37:16.594Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2020-06-17T18:37:16.594Z] 0362ad1dd800: Pulling fs layer [2020-06-17T18:37:16.594Z] f2cdb1532d8b: Pulling fs layer [2020-06-17T18:37:16.594Z] 37ed683be191: Pulling fs layer [2020-06-17T18:37:16.594Z] f2cdb1532d8b: Download complete [2020-06-17T18:37:16.594Z] 0362ad1dd800: Verifying Checksum [2020-06-17T18:37:16.594Z] 0362ad1dd800: Download complete [2020-06-17T18:37:17.577Z] 0362ad1dd800: Pull complete [2020-06-17T18:37:17.852Z] f2cdb1532d8b: Pull complete [2020-06-17T18:37:18.836Z] 37ed683be191: Verifying Checksum [2020-06-17T18:37:18.836Z] 37ed683be191: Download complete [2020-06-17T18:37:29.009Z] 37ed683be191: Pull complete [2020-06-17T18:37:29.009Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2020-06-17T18:37:29.009Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2020-06-17T18:37:29.009Z] ---> b23d30803547 [2020-06-17T18:37:29.009Z] Step 3/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev [2020-06-17T18:37:30.443Z] ---> Running in 082ceb111b09 [2020-06-17T18:37:31.872Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-06-17T18:37:32.472Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-06-17T18:37:32.742Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-06-17T18:37:32.743Z] (2/8) Installing libuuid (2.33-r0) [2020-06-17T18:37:33.012Z] (3/8) Installing libblkid (2.33-r0) [2020-06-17T18:37:33.012Z] (4/8) Installing libfdisk (2.33-r0) [2020-06-17T18:37:33.012Z] (5/8) Installing libmount (2.33-r0) [2020-06-17T18:37:33.286Z] (6/8) Installing libsmartcols (2.33-r0) [2020-06-17T18:37:33.286Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-06-17T18:37:33.557Z] (8/8) Installing wget (1.20.3-r0) [2020-06-17T18:37:33.557Z] Executing busybox-1.29.3-r10.trigger [2020-06-17T18:37:33.835Z] OK: 285 MiB in 83 packages [2020-06-17T18:37:35.276Z] Removing intermediate container 082ceb111b09 [2020-06-17T18:37:35.276Z] ---> d8c6bd11f9d7 [2020-06-17T18:37:35.276Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-06-17T18:37:35.276Z] ---> Running in 7fca9c4054de [2020-06-17T18:37:35.548Z] Removing intermediate container 7fca9c4054de [2020-06-17T18:37:35.548Z] ---> c27d867da17a [2020-06-17T18:37:35.548Z] Step 5/21 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2020-06-17T18:37:35.824Z] ---> Running in 4b8cef9a82a7 [2020-06-17T18:37:37.255Z] --2020-06-17 18:37:36-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-06-17T18:37:37.255Z] Resolving github.com... 140.82.112.4 [2020-06-17T18:37:37.255Z] Connecting to github.com|140.82.112.4|:443... connected. [2020-06-17T18:37:37.255Z] HTTP request sent, awaiting response... 302 Found [2020-06-17T18:37:37.255Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-06-17T18:37:37.255Z] --2020-06-17 18:37:37-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-06-17T18:37:37.255Z] Resolving codeload.github.com... 140.82.112.10 [2020-06-17T18:37:37.529Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2020-06-17T18:37:37.529Z] HTTP request sent, awaiting response... 200 OK [2020-06-17T18:37:37.529Z] Length: unspecified [application/x-gzip] [2020-06-17T18:37:37.529Z] Saving to: 'STDOUT' [2020-06-17T18:37:37.529Z]  [2020-06-17T18:37:37.529Z] 0K .......... .......... .......... .......... .......... 1.59M [2020-06-17T18:37:37.529Z] 50K .......... .......... .......... .......... .......... 3.02M [2020-06-17T18:37:37.529Z] 100K .......... .......... .......... .......... .......... 3.29M [2020-06-17T18:37:37.529Z] 150K .......... .......... .......... .......... .......... 11.3M [2020-06-17T18:37:37.529Z] 200K .......... .......... .......... .......... .......... 7.14M [2020-06-17T18:37:37.529Z] 250K .......... .......... .......... .......... .......... 4.49M [2020-06-17T18:37:37.529Z] 300K .......... .......... .......... .......... .......... 4.08M [2020-06-17T18:37:37.529Z] 350K .......... .......... .......... .......... .......... 4.86M [2020-06-17T18:37:37.802Z] 400K .......... .......... .......... .......... .......... 1.90M [2020-06-17T18:37:37.802Z] 450K .......... .......... .......... .......... .......... 7.53M [2020-06-17T18:37:37.802Z] 500K .......... .......... .......... .......... .......... 10.5M [2020-06-17T18:37:37.802Z] 550K .......... .......... .......... .......... .......... 1.32M [2020-06-17T18:37:37.802Z] 600K .......... .......... .......... .......... .......... 1.22M [2020-06-17T18:37:37.803Z] 650K .......... .......... .......... .......... .......... 2.05M [2020-06-17T18:37:37.803Z] 700K ..                                    3.72M=0.2s [2020-06-17T18:37:37.803Z] [2020-06-17T18:37:37.803Z] 2020-06-17 18:37:37 (2.81 MB/s) - written to stdout [719348] [2020-06-17T18:37:37.803Z] [2020-06-17T18:37:38.074Z] -- The C compiler identification is GNU 8.3.0 [2020-06-17T18:37:38.347Z] -- The CXX compiler identification is GNU 8.3.0 [2020-06-17T18:37:38.347Z] -- Check for working C compiler: /usr/bin/cc [2020-06-17T18:37:38.619Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-17T18:37:38.619Z] -- Detecting C compiler ABI info [2020-06-17T18:37:38.895Z] -- Detecting C compiler ABI info - done [2020-06-17T18:37:38.895Z] -- Detecting C compile features [2020-06-17T18:37:39.491Z] -- Detecting C compile features - done [2020-06-17T18:37:39.491Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-06-17T18:37:39.763Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-06-17T18:37:39.763Z] -- Detecting CXX compiler ABI info [2020-06-17T18:37:40.034Z] -- Detecting CXX compiler ABI info - done [2020-06-17T18:37:40.034Z] -- Detecting CXX compile features [2020-06-17T18:37:42.000Z] -- Detecting CXX compile features - done [2020-06-17T18:37:42.000Z] -- Looking for include file endian.h [2020-06-17T18:37:42.000Z] -- Looking for include file endian.h - found [2020-06-17T18:37:42.000Z] -- Check if the system is big endian [2020-06-17T18:37:42.000Z] -- Searching 16 bit integer [2020-06-17T18:37:42.000Z] -- Looking for sys/types.h [2020-06-17T18:37:42.272Z] -- Looking for sys/types.h - found [2020-06-17T18:37:42.272Z] -- Looking for stdint.h [2020-06-17T18:37:42.272Z] -- Looking for stdint.h - found [2020-06-17T18:37:42.272Z] -- Looking for stddef.h [2020-06-17T18:37:42.544Z] -- Looking for stddef.h - found [2020-06-17T18:37:42.544Z] -- Check size of unsigned short [2020-06-17T18:37:42.816Z] -- Check size of unsigned short - done [2020-06-17T18:37:42.816Z] -- Using unsigned short [2020-06-17T18:37:43.088Z] -- Check if the system is big endian - little endian [2020-06-17T18:37:43.088Z] -- Check size of size_t [2020-06-17T18:37:43.360Z] -- Check size of size_t - done [2020-06-17T18:37:43.360Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-06-17T18:37:43.360Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-06-17T18:37:43.360Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-06-17T18:37:43.360Z] CMake did not find one. [2020-06-17T18:37:43.360Z] [2020-06-17T18:37:43.360Z] Could not find a package configuration file provided by "cJSON" with any of [2020-06-17T18:37:43.360Z] the following names: [2020-06-17T18:37:43.360Z] [2020-06-17T18:37:43.360Z] cJSONConfig.cmake [2020-06-17T18:37:43.360Z] cjson-config.cmake [2020-06-17T18:37:43.360Z] [2020-06-17T18:37:43.360Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-06-17T18:37:43.360Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-06-17T18:37:43.360Z] provides a separate development package or SDK, be sure it has been [2020-06-17T18:37:43.360Z] installed. [2020-06-17T18:37:43.360Z] [2020-06-17T18:37:43.360Z] [2020-06-17T18:37:43.360Z] -- Configuring done [2020-06-17T18:37:43.636Z] -- Generating done [2020-06-17T18:37:43.636Z] -- Build files have been written to: /tmp/cbor [2020-06-17T18:37:43.907Z] Scanning dependencies of target cbor_shared [2020-06-17T18:37:43.907Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-06-17T18:37:44.499Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-06-17T18:37:45.094Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-06-17T18:37:45.365Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-06-17T18:37:45.958Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-06-17T18:37:46.239Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-06-17T18:37:46.512Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-06-17T18:37:46.512Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-06-17T18:37:46.792Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-06-17T18:37:47.062Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-06-17T18:37:47.653Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-06-17T18:37:47.778Z] Running on prd-centos7-docker-4c-2g-3386 in /w/workspace/edgexfoundry_device-sdk-c_PR-270 [Pipeline] { [Pipeline] ws [2020-06-17T18:37:47.837Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2020-06-17T18:37:47.933Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-06-17T18:37:48.205Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-06-17T18:37:48.801Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-06-17T18:37:48.801Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-06-17T18:37:49.071Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-06-17T18:37:49.342Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-06-17T18:37:49.613Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-06-17T18:37:49.883Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-06-17T18:37:50.161Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-06-17T18:37:50.161Z] [ 40%] Linking C shared library libcbor.so [2020-06-17T18:37:50.223Z] using credential edgex-jenkins-ssh [2020-06-17T18:37:50.248Z] Cloning the remote Git repository [2020-06-17T18:37:50.248Z] Cloning with configured refspecs honoured and without tags [2020-06-17T18:37:50.445Z] [ 40%] Built target cbor_shared [2020-06-17T18:37:50.445Z] Scanning dependencies of target cbor [2020-06-17T18:37:50.445Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-06-17T18:37:51.079Z] Fetching without tags [2020-06-17T18:37:50.116Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-06-17T18:37:50.187Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2020-06-17T18:37:50.234Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-06-17T18:37:50.234Z] > git --version # timeout=10 [2020-06-17T18:37:50.246Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-17T18:37:50.298Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/270/head:refs/remotes/origin/PR-270 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-17T18:37:50.952Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-06-17T18:37:50.961Z] > git config --add remote.origin.fetch +refs/pull/270/head:refs/remotes/origin/PR-270 # timeout=10 [2020-06-17T18:37:50.968Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-17T18:37:50.979Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-06-17T18:37:50.994Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-06-17T18:37:50.994Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-17T18:37:50.999Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/270/head:refs/remotes/origin/PR-270 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-17T18:37:51.415Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-06-17T18:37:51.497Z] Merging remotes/origin/master commit fe664e697b23228791073c46494919a610be639c into PR head commit 84ab060de2acfc7e944fade273d3b37ae45e656d [2020-06-17T18:37:51.570Z] Merge succeeded, producing 84ab060de2acfc7e944fade273d3b37ae45e656d [2020-06-17T18:37:51.571Z] Checking out Revision 84ab060de2acfc7e944fade273d3b37ae45e656d (PR-270) [2020-06-17T18:37:51.695Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-06-17T18:37:51.978Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-06-17T18:37:51.446Z] > git config core.sparsecheckout # timeout=10 [2020-06-17T18:37:51.452Z] > git checkout -f 84ab060de2acfc7e944fade273d3b37ae45e656d # timeout=10 [2020-06-17T18:37:51.492Z] > git remote # timeout=10 [2020-06-17T18:37:51.498Z] > git config --get remote.origin.url # timeout=10 [2020-06-17T18:37:51.501Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-17T18:37:51.505Z] > git merge fe664e697b23228791073c46494919a610be639c # timeout=10 [2020-06-17T18:37:51.513Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-06-17T18:37:51.521Z] > git config core.sparsecheckout # timeout=10 [2020-06-17T18:37:51.525Z] > git checkout -f 84ab060de2acfc7e944fade273d3b37ae45e656d # timeout=10 [2020-06-17T18:37:52.948Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-06-17T18:37:53.220Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-06-17T18:37:53.492Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-06-17T18:37:53.764Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-06-17T18:37:53.764Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-06-17T18:37:54.354Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-06-17T18:37:54.951Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-06-17T18:37:55.223Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-06-17T18:37:55.245Z] Commit message: "Add standard PR template" [2020-06-17T18:37:55.265Z] > git --version # timeout=10 [2020-06-17T18:37:55.274Z] fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-17T18:37:55.495Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2020-06-17T18:37:55.771Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-06-17T18:37:56.042Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [Pipeline] echo [2020-06-17T18:37:56.147Z] ========================================================= [2020-06-17T18:37:56.147Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2020-06-17T18:37:56.147Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-17T18:37:56.316Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-06-17T18:37:56.589Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-06-17T18:37:56.849Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-3.11-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2020-06-17T18:37:56.862Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-06-17T18:37:57.115Z] Sending build context to Docker daemon 3.292MB [2020-06-17T18:37:57.115Z] Step 1/21 : ARG BASE=alpine:3.11 [2020-06-17T18:37:57.115Z] Step 2/21 : FROM ${BASE} as builder [2020-06-17T18:37:57.115Z] latest: Pulling from edgex-devops/edgex-gcc-base [2020-06-17T18:37:57.115Z] e7c96db7181b: Pulling fs layer [2020-06-17T18:37:57.115Z] 4c13bbce0fe7: Pulling fs layer [2020-06-17T18:37:57.115Z] 6059c847ac2f: Pulling fs layer [2020-06-17T18:37:57.115Z] 4c13bbce0fe7: Verifying Checksum [2020-06-17T18:37:57.115Z] 4c13bbce0fe7: Download complete [2020-06-17T18:37:57.115Z] e7c96db7181b: Verifying Checksum [2020-06-17T18:37:57.115Z] e7c96db7181b: Download complete [2020-06-17T18:37:57.133Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-06-17T18:37:57.377Z] e7c96db7181b: Pull complete [2020-06-17T18:37:57.406Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-06-17T18:37:57.642Z] 4c13bbce0fe7: Pull complete [2020-06-17T18:37:57.678Z] [ 80%] Linking C static library libcbor.a [2020-06-17T18:37:57.678Z] [ 80%] Built target cbor [2020-06-17T18:37:57.678Z] Scanning dependencies of target create_items [2020-06-17T18:37:57.678Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-06-17T18:37:57.952Z] [ 84%] Linking C executable create_items [2020-06-17T18:37:57.952Z] [ 84%] Built target create_items [2020-06-17T18:37:57.952Z] Scanning dependencies of target readfile [2020-06-17T18:37:57.952Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-06-17T18:37:58.222Z] 6059c847ac2f: Verifying Checksum [2020-06-17T18:37:58.222Z] 6059c847ac2f: Download complete [2020-06-17T18:37:58.226Z] [ 88%] Linking C executable readfile [2020-06-17T18:37:58.499Z] [ 88%] Built target readfile [2020-06-17T18:37:58.499Z] Scanning dependencies of target streaming_parser [2020-06-17T18:37:58.499Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-06-17T18:37:58.770Z] [ 92%] Linking C executable streaming_parser [2020-06-17T18:37:58.770Z] [ 92%] Built target streaming_parser [2020-06-17T18:37:58.770Z] Scanning dependencies of target sort [2020-06-17T18:37:58.770Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-06-17T18:37:59.043Z] [ 96%] Linking C executable sort [2020-06-17T18:37:59.043Z] [ 96%] Built target sort [2020-06-17T18:37:59.043Z] Scanning dependencies of target hello [2020-06-17T18:37:59.043Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-06-17T18:37:59.313Z] [100%] Linking C executable hello [2020-06-17T18:37:59.314Z] [100%] Built target hello [2020-06-17T18:37:59.314Z] Install the project... [2020-06-17T18:37:59.314Z] -- Install configuration: "Release" [2020-06-17T18:37:59.314Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-06-17T18:37:59.314Z] -- Installing: /usr/local/lib64/libcbor.a [2020-06-17T18:37:59.314Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-06-17T18:37:59.314Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-06-17T18:37:59.314Z] -- Installing: /usr/local/lib64/libcbor.so [2020-06-17T18:37:59.314Z] -- Up-to-date: /usr/local/include/cbor [2020-06-17T18:37:59.314Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-06-17T18:37:59.314Z] -- Installing: /usr/local/include/cbor/ints.h [2020-06-17T18:37:59.314Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-06-17T18:37:59.314Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-06-17T18:37:59.314Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-06-17T18:37:59.314Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-06-17T18:37:59.314Z] -- Installing: /usr/local/include/cbor/data.h [2020-06-17T18:37:59.314Z] -- Installing: /usr/local/include/cbor/common.h [2020-06-17T18:37:59.314Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-06-17T18:37:59.314Z] -- Installing: /usr/local/include/cbor/strings.h [2020-06-17T18:37:59.314Z] -- Installing: /usr/local/include/cbor/tags.h [2020-06-17T18:37:59.314Z] -- Installing: /usr/local/include/cbor/internal [2020-06-17T18:37:59.314Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-06-17T18:37:59.314Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-06-17T18:37:59.314Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-06-17T18:37:59.314Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-06-17T18:37:59.314Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-06-17T18:37:59.314Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-06-17T18:37:59.314Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-06-17T18:37:59.314Z] -- Installing: /usr/local/include/cbor/maps.h [2020-06-17T18:37:59.314Z] -- Installing: /usr/local/include/cbor.h [2020-06-17T18:37:59.314Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-06-17T18:38:01.552Z] 6059c847ac2f: Pull complete [2020-06-17T18:38:01.552Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2020-06-17T18:38:01.822Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2020-06-17T18:38:01.822Z] ---> 5eabd8fd8ba2 [2020-06-17T18:38:01.822Z] Step 3/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev [2020-06-17T18:38:01.935Z] Removing intermediate container 4b8cef9a82a7 [2020-06-17T18:38:01.935Z] ---> 1c6f1b475559 [2020-06-17T18:38:01.935Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-06-17T18:38:01.935Z] ---> Running in 6917b6227e22 [2020-06-17T18:38:03.233Z] ---> Running in d0c9635c2ded [2020-06-17T18:38:03.901Z] Removing intermediate container 6917b6227e22 [2020-06-17T18:38:03.902Z] ---> 89ec5cb3c655 [2020-06-17T18:38:03.902Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-06-17T18:38:04.177Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-06-17T18:38:04.751Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-06-17T18:38:04.881Z] ---> 005dc3ee0b11 [2020-06-17T18:38:04.881Z] Step 8/21 : COPY src /tmp/sdk/src [2020-06-17T18:38:05.011Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-06-17T18:38:05.011Z] (2/8) Installing libuuid (2.33-r0) [2020-06-17T18:38:05.011Z] (3/8) Installing libblkid (2.33-r0) [2020-06-17T18:38:05.272Z] (4/8) Installing libfdisk (2.33-r0) [2020-06-17T18:38:05.272Z] (5/8) Installing libmount (2.33-r0) [2020-06-17T18:38:05.272Z] (6/8) Installing libsmartcols (2.33-r0) [2020-06-17T18:38:05.478Z] ---> 07fd7e076dfe [2020-06-17T18:38:05.478Z] Step 9/21 : COPY include /tmp/sdk/include [2020-06-17T18:38:05.533Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-06-17T18:38:05.796Z] (8/8) Installing wget (1.20.3-r0) [2020-06-17T18:38:05.796Z] Executing busybox-1.29.3-r10.trigger [2020-06-17T18:38:05.796Z] OK: 272 MiB in 83 packages [2020-06-17T18:38:06.074Z] ---> e04a501bf159 [2020-06-17T18:38:06.074Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-06-17T18:38:06.366Z] Removing intermediate container d0c9635c2ded [2020-06-17T18:38:06.366Z] ---> 92c796e9470b [2020-06-17T18:38:06.366Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-06-17T18:38:06.366Z] ---> Running in 519fa95701dd [2020-06-17T18:38:06.366Z] Removing intermediate container 519fa95701dd [2020-06-17T18:38:06.366Z] ---> 9490d86595b5 [2020-06-17T18:38:06.366Z] Step 5/21 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2020-06-17T18:38:06.627Z] ---> Running in cdd1bc4c5e39 [2020-06-17T18:38:07.046Z] ---> 4c0958bc2992 [2020-06-17T18:38:07.046Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-06-17T18:38:07.205Z] --2020-06-17 18:38:07-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-06-17T18:38:07.205Z] Resolving github.com... 140.82.112.4 [2020-06-17T18:38:07.205Z] Connecting to github.com|140.82.112.4|:443... connected. [2020-06-17T18:38:07.465Z] HTTP request sent, awaiting response... 302 Found [2020-06-17T18:38:07.465Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-06-17T18:38:07.465Z] --2020-06-17 18:38:07-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-06-17T18:38:07.465Z] Resolving codeload.github.com... 140.82.112.10 [2020-06-17T18:38:07.465Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2020-06-17T18:38:07.465Z] HTTP request sent, awaiting response... 200 OK [2020-06-17T18:38:07.465Z] Length: unspecified [application/x-gzip] [2020-06-17T18:38:07.465Z] Saving to: 'STDOUT' [2020-06-17T18:38:07.465Z]  [2020-06-17T18:38:07.465Z] 0K .......... .......... .......... .......... .......... 1.59M [2020-06-17T18:38:07.465Z] 50K .......... .......... .......... .......... .......... 3.29M [2020-06-17T18:38:07.465Z] 100K .......... .......... .......... .......... .......... 21.9M [2020-06-17T18:38:07.465Z] 150K .......... .......... .......... .......... .......... 3.68M [2020-06-17T18:38:07.465Z] 200K .......... .......... .......... .......... .......... 24.6M [2020-06-17T18:38:07.465Z] 250K .......... .......... .......... .......... .......... 10.8M [2020-06-17T18:38:07.465Z] 300K .......... .......... .......... .......... .......... 4.84M [2020-06-17T18:38:07.465Z] 350K .......... .......... .......... .......... .......... 14.9M [2020-06-17T18:38:07.465Z] 400K .......... .......... .......... .......... .......... 1.82M [2020-06-17T18:38:07.465Z] 450K .......... .......... .......... .......... .......... 44.6M [2020-06-17T18:38:07.465Z] 500K .......... .......... .......... .......... .......... 28.4M [2020-06-17T18:38:07.465Z] 550K .......... .......... .......... .......... .......... 4.11M [2020-06-17T18:38:07.643Z] ---> 03f15ff98c8f [2020-06-17T18:38:07.643Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-06-17T18:38:07.727Z] 600K .......... .......... .......... .......... .......... 2.81M [2020-06-17T18:38:07.727Z] 650K .......... .......... .......... .......... .......... 4.68M [2020-06-17T18:38:07.727Z] 700K .. 53.4M=0.2s [2020-06-17T18:38:07.727Z] [2020-06-17T18:38:07.727Z] 2020-06-17 18:38:07 (4.57 MB/s) - written to stdout [719348] [2020-06-17T18:38:07.727Z] [2020-06-17T18:38:07.727Z] -- The C compiler identification is GNU 8.3.0 [2020-06-17T18:38:07.727Z] -- The CXX compiler identification is GNU 8.3.0 [2020-06-17T18:38:07.727Z] -- Check for working C compiler: /usr/bin/cc [2020-06-17T18:38:07.987Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-17T18:38:07.987Z] -- Detecting C compiler ABI info [2020-06-17T18:38:07.987Z] -- Detecting C compiler ABI info - done [2020-06-17T18:38:07.987Z] -- Detecting C compile features [2020-06-17T18:38:08.234Z] ---> 6ae5ae908d7a [2020-06-17T18:38:08.234Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-06-17T18:38:08.249Z] -- Detecting C compile features - done [2020-06-17T18:38:08.249Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-06-17T18:38:08.249Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-06-17T18:38:08.249Z] -- Detecting CXX compiler ABI info [2020-06-17T18:38:08.249Z] -- Detecting CXX compiler ABI info - done [2020-06-17T18:38:08.249Z] -- Detecting CXX compile features [2020-06-17T18:38:08.509Z] ---> Running in d989625106c3 [2020-06-17T18:38:08.820Z] -- Detecting CXX compile features - done [2020-06-17T18:38:08.820Z] -- Looking for include file endian.h [2020-06-17T18:38:08.820Z] -- Looking for include file endian.h - found [2020-06-17T18:38:08.820Z] -- Check if the system is big endian [2020-06-17T18:38:08.820Z] -- Searching 16 bit integer [2020-06-17T18:38:08.820Z] -- Looking for sys/types.h [2020-06-17T18:38:08.820Z] -- Looking for sys/types.h - found [2020-06-17T18:38:08.820Z] -- Looking for stdint.h [2020-06-17T18:38:08.820Z] -- Looking for stdint.h - found [2020-06-17T18:38:08.820Z] -- Looking for stddef.h [2020-06-17T18:38:09.080Z] -- Looking for stddef.h - found [2020-06-17T18:38:09.080Z] -- Check size of unsigned short [2020-06-17T18:38:09.080Z] -- Check size of unsigned short - done [2020-06-17T18:38:09.080Z] -- Using unsigned short [2020-06-17T18:38:09.080Z] -- Check if the system is big endian - little endian [2020-06-17T18:38:09.080Z] -- Check size of size_t [2020-06-17T18:38:09.341Z] -- Check size of size_t - done [2020-06-17T18:38:09.341Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-06-17T18:38:09.341Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-06-17T18:38:09.341Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-06-17T18:38:09.341Z] CMake did not find one. [2020-06-17T18:38:09.341Z] [2020-06-17T18:38:09.341Z] Could not find a package configuration file provided by "cJSON" with any of [2020-06-17T18:38:09.341Z] the following names: [2020-06-17T18:38:09.341Z] [2020-06-17T18:38:09.341Z] cJSONConfig.cmake [2020-06-17T18:38:09.341Z] cjson-config.cmake [2020-06-17T18:38:09.341Z] [2020-06-17T18:38:09.341Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-06-17T18:38:09.341Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-06-17T18:38:09.341Z] provides a separate development package or SDK, be sure it has been [2020-06-17T18:38:09.341Z] installed. [2020-06-17T18:38:09.341Z] [2020-06-17T18:38:09.341Z] [2020-06-17T18:38:09.341Z] -- Configuring done [2020-06-17T18:38:09.341Z] -- Generating done [2020-06-17T18:38:09.341Z] -- Build files have been written to: /tmp/cbor [2020-06-17T18:38:09.341Z] Scanning dependencies of target cbor_shared [2020-06-17T18:38:09.341Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-06-17T18:38:09.603Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-06-17T18:38:09.603Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-06-17T18:38:09.864Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-06-17T18:38:09.864Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-06-17T18:38:09.864Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-06-17T18:38:09.931Z] + CPPCHECK=false [2020-06-17T18:38:09.931Z] + DOCGEN=false [2020-06-17T18:38:09.931Z] + TOMLVER=SDK-0.2 [2020-06-17T18:38:09.931Z] + CUTILVER=1.0.4 [2020-06-17T18:38:09.931Z] + '[' 0 -gt 0 ] [2020-06-17T18:38:09.931Z] + readlink -f ./scripts/build.sh [2020-06-17T18:38:09.931Z] + dirname /tmp/sdk/scripts/build.sh [2020-06-17T18:38:09.931Z] + dirname /tmp/sdk/scripts [2020-06-17T18:38:09.931Z] + ROOT=/tmp/sdk [2020-06-17T18:38:09.931Z] + cd /tmp/sdk [2020-06-17T18:38:09.931Z] + '[' '!' -d deps ] [2020-06-17T18:38:09.931Z] + mkdir deps [2020-06-17T18:38:09.931Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-06-17T18:38:09.931Z] + tar -C deps -z -x -f - [2020-06-17T18:38:09.931Z] --2020-06-17 18:38:09-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-06-17T18:38:09.931Z] Resolving github.com... 140.82.112.4 [2020-06-17T18:38:09.931Z] Connecting to github.com|140.82.112.4|:443... connected. [2020-06-17T18:38:10.125Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-06-17T18:38:10.125Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-06-17T18:38:10.125Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-06-17T18:38:10.125Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-06-17T18:38:10.201Z] HTTP request sent, awaiting response... 302 Found [2020-06-17T18:38:10.201Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-06-17T18:38:10.201Z] --2020-06-17 18:38:09-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-06-17T18:38:10.201Z] Resolving codeload.github.com... 140.82.112.10 [2020-06-17T18:38:10.201Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2020-06-17T18:38:10.201Z] HTTP request sent, awaiting response... 200 OK [2020-06-17T18:38:10.201Z] Length: unspecified [application/x-gzip] [2020-06-17T18:38:10.201Z] Saving to: 'STDOUT' [2020-06-17T18:38:10.201Z]  [2020-06-17T18:38:10.201Z] 0K .......... ...... 911K=0.02s [2020-06-17T18:38:10.201Z] [2020-06-17T18:38:10.201Z] 2020-06-17 18:38:10 (911 KB/s) - written to stdout [16451] [2020-06-17T18:38:10.201Z] [2020-06-17T18:38:10.201Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-06-17T18:38:10.201Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-06-17T18:38:10.201Z] + tar -C deps -z -x -f - [2020-06-17T18:38:10.201Z] --2020-06-17 18:38:10-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-06-17T18:38:10.386Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-06-17T18:38:10.386Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-06-17T18:38:10.469Z] Resolving github.com... 140.82.112.4 [2020-06-17T18:38:10.469Z] Connecting to github.com|140.82.112.4|:443... connected. [2020-06-17T18:38:10.469Z] HTTP request sent, awaiting response... 302 Found [2020-06-17T18:38:10.469Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] [2020-06-17T18:38:10.469Z] --2020-06-17 18:38:10-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [2020-06-17T18:38:10.469Z] Resolving codeload.github.com... 140.82.112.10 [2020-06-17T18:38:10.469Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2020-06-17T18:38:10.647Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-06-17T18:38:10.647Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-06-17T18:38:10.647Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-06-17T18:38:10.647Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-06-17T18:38:10.739Z] HTTP request sent, awaiting response... 200 OK [2020-06-17T18:38:10.739Z] Length: unspecified [application/x-gzip] [2020-06-17T18:38:10.739Z] Saving to: 'STDOUT' [2020-06-17T18:38:10.739Z]  [2020-06-17T18:38:10.739Z] 0K .......... .......... .......... .......... .......... 1.50M [2020-06-17T18:38:10.739Z] 50K .......... .......... .......... .......... .......... 3.42M [2020-06-17T18:38:10.739Z] 100K .......... .......... .......... .......... .......... 3.37M [2020-06-17T18:38:10.739Z] 150K ........                                   6.55M=0.06s [2020-06-17T18:38:10.739Z] [2020-06-17T18:38:10.739Z] 2020-06-17 18:38:10 (2.48 MB/s) - written to stdout [162267] [2020-06-17T18:38:10.739Z] [2020-06-17T18:38:10.739Z] + mkdir -p src/c/iot [2020-06-17T18:38:10.739Z] + cp deps/iotech-c-utils-1.0.4/src/c/base64.c deps/iotech-c-utils-1.0.4/src/c/component.c deps/iotech-c-utils-1.0.4/src/c/container.c deps/iotech-c-utils-1.0.4/src/c/data.c deps/iotech-c-utils-1.0.4/src/c/hash.c deps/iotech-c-utils-1.0.4/src/c/iot.c deps/iotech-c-utils-1.0.4/src/c/json.c deps/iotech-c-utils-1.0.4/src/c/logger.c deps/iotech-c-utils-1.0.4/src/c/os.c deps/iotech-c-utils-1.0.4/src/c/scheduler.c deps/iotech-c-utils-1.0.4/src/c/thread.c deps/iotech-c-utils-1.0.4/src/c/threadpool.c deps/iotech-c-utils-1.0.4/src/c/time.c src/c/iot [2020-06-17T18:38:10.739Z] + mkdir -p include/iot [2020-06-17T18:38:10.739Z] + cp deps/iotech-c-utils-1.0.4/include/iot/base64.h deps/iotech-c-utils-1.0.4/include/iot/component.h deps/iotech-c-utils-1.0.4/include/iot/container.h deps/iotech-c-utils-1.0.4/include/iot/data.h deps/iotech-c-utils-1.0.4/include/iot/hash.h deps/iotech-c-utils-1.0.4/include/iot/iot.h deps/iotech-c-utils-1.0.4/include/iot/json.h deps/iotech-c-utils-1.0.4/include/iot/logger.h deps/iotech-c-utils-1.0.4/include/iot/os.h deps/iotech-c-utils-1.0.4/include/iot/scheduler.h deps/iotech-c-utils-1.0.4/include/iot/thread.h deps/iotech-c-utils-1.0.4/include/iot/threadpool.h deps/iotech-c-utils-1.0.4/include/iot/time.h deps/iotech-c-utils-1.0.4/include/iot/typecode.h include/iot [2020-06-17T18:38:10.739Z] + mkdir -p include/iot/os [2020-06-17T18:38:10.739Z] + cp deps/iotech-c-utils-1.0.4/include/iot/os/linux.h deps/iotech-c-utils-1.0.4/include/iot/os/zephyr.h include/iot/os [2020-06-17T18:38:10.739Z] + mkdir -p /tmp/sdk/build/release [2020-06-17T18:38:10.739Z] + cd /tmp/sdk/build/release [2020-06-17T18:38:10.739Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-06-17T18:38:10.912Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-06-17T18:38:10.912Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-06-17T18:38:10.912Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-06-17T18:38:10.912Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-06-17T18:38:11.013Z] -- The C compiler identification is GNU 8.3.0 [2020-06-17T18:38:11.013Z] -- Check for working C compiler: /usr/bin/cc [2020-06-17T18:38:11.172Z] [ 40%] Linking C shared library libcbor.so [2020-06-17T18:38:11.172Z] [ 40%] Built target cbor_shared [2020-06-17T18:38:11.172Z] Scanning dependencies of target cbor [2020-06-17T18:38:11.172Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-06-17T18:38:11.172Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-06-17T18:38:11.282Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-17T18:38:11.282Z] -- Detecting C compiler ABI info [2020-06-17T18:38:11.431Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-06-17T18:38:11.431Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-06-17T18:38:11.553Z] -- Detecting C compiler ABI info - done [2020-06-17T18:38:11.553Z] -- Detecting C compile features [2020-06-17T18:38:11.692Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-06-17T18:38:11.692Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-06-17T18:38:11.954Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-06-17T18:38:11.954Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-06-17T18:38:11.954Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-06-17T18:38:11.954Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-06-17T18:38:12.214Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-06-17T18:38:12.214Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-06-17T18:38:12.475Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-06-17T18:38:12.475Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-06-17T18:38:12.475Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-06-17T18:38:12.525Z] -- Detecting C compile features - done [2020-06-17T18:38:12.525Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-06-17T18:38:12.525Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-06-17T18:38:12.525Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-06-17T18:38:12.525Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-06-17T18:38:12.525Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-06-17T18:38:12.525Z] -- C SDK 0.0.0 for Linux [2020-06-17T18:38:12.525Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-06-17T18:38:12.735Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-06-17T18:38:12.735Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-06-17T18:38:12.735Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-06-17T18:38:12.735Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-06-17T18:38:12.802Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-06-17T18:38:12.802Z] -- Found Curses: /usr/lib/libcurses.so [2020-06-17T18:38:12.802Z] -- Configuring done [2020-06-17T18:38:12.996Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-06-17T18:38:12.996Z] [ 80%] Linking C static library libcbor.a [2020-06-17T18:38:12.996Z] [ 80%] Built target cbor [2020-06-17T18:38:12.996Z] Scanning dependencies of target create_items [2020-06-17T18:38:12.996Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-06-17T18:38:12.996Z] [ 84%] Linking C executable create_items [2020-06-17T18:38:12.996Z] [ 84%] Built target create_items [2020-06-17T18:38:12.996Z] Scanning dependencies of target readfile [2020-06-17T18:38:12.996Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-06-17T18:38:13.073Z] -- Generating done [2020-06-17T18:38:13.073Z] -- Build files have been written to: /tmp/sdk/build/release [2020-06-17T18:38:13.073Z] + + teemake release.log [2020-06-17T18:38:13.073Z] [2020-06-17T18:38:13.073Z] Scanning dependencies of target csdk [2020-06-17T18:38:13.256Z] [ 88%] Linking C executable readfile [2020-06-17T18:38:13.256Z] [ 88%] Built target readfile [2020-06-17T18:38:13.256Z] Scanning dependencies of target streaming_parser [2020-06-17T18:38:13.256Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-06-17T18:38:13.256Z] [ 92%] Linking C executable streaming_parser [2020-06-17T18:38:13.256Z] [ 92%] Built target streaming_parser [2020-06-17T18:38:13.256Z] Scanning dependencies of target sort [2020-06-17T18:38:13.256Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-06-17T18:38:13.256Z] [ 96%] Linking C executable sort [2020-06-17T18:38:13.256Z] [ 96%] Built target sort [2020-06-17T18:38:13.256Z] Scanning dependencies of target hello [2020-06-17T18:38:13.344Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-06-17T18:38:13.515Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-06-17T18:38:13.515Z] [100%] Linking C executable hello [2020-06-17T18:38:13.515Z] [100%] Built target hello [2020-06-17T18:38:13.515Z] Install the project... [2020-06-17T18:38:13.515Z] -- Install configuration: "Release" [2020-06-17T18:38:13.515Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-06-17T18:38:13.515Z] -- Installing: /usr/local/lib64/libcbor.a [2020-06-17T18:38:13.515Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-06-17T18:38:13.515Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-06-17T18:38:13.515Z] -- Installing: /usr/local/lib64/libcbor.so [2020-06-17T18:38:13.515Z] -- Up-to-date: /usr/local/include/cbor [2020-06-17T18:38:13.516Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-06-17T18:38:13.516Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-06-17T18:38:13.516Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-06-17T18:38:13.516Z] -- Installing: /usr/local/include/cbor/common.h [2020-06-17T18:38:13.516Z] -- Installing: /usr/local/include/cbor/data.h [2020-06-17T18:38:13.516Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-06-17T18:38:13.516Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-06-17T18:38:13.516Z] -- Installing: /usr/local/include/cbor/internal [2020-06-17T18:38:13.516Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-06-17T18:38:13.516Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-06-17T18:38:13.516Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-06-17T18:38:13.516Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-06-17T18:38:13.516Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-06-17T18:38:13.516Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-06-17T18:38:13.516Z] -- Installing: /usr/local/include/cbor/ints.h [2020-06-17T18:38:13.516Z] -- Installing: /usr/local/include/cbor/maps.h [2020-06-17T18:38:13.516Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-06-17T18:38:13.516Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-06-17T18:38:13.516Z] -- Installing: /usr/local/include/cbor/strings.h [2020-06-17T18:38:13.516Z] -- Installing: /usr/local/include/cbor/tags.h [2020-06-17T18:38:13.516Z] -- Installing: /usr/local/include/cbor.h [2020-06-17T18:38:13.516Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-06-17T18:38:13.935Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-06-17T18:38:14.208Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-06-17T18:38:15.431Z] Removing intermediate container cdd1bc4c5e39 [2020-06-17T18:38:15.431Z] ---> 2bef51426b9f [2020-06-17T18:38:15.431Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-06-17T18:38:15.431Z] ---> Running in 8ad1b866e2b0 [2020-06-17T18:38:16.000Z] Removing intermediate container 8ad1b866e2b0 [2020-06-17T18:38:16.000Z] ---> 4bb49735b33e [2020-06-17T18:38:16.000Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-06-17T18:38:16.000Z] ---> b844e1b5e893 [2020-06-17T18:38:16.000Z] Step 8/21 : COPY src /tmp/sdk/src [2020-06-17T18:38:16.171Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-06-17T18:38:16.763Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-06-17T18:38:16.763Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-06-17T18:38:16.941Z] ---> 7417c17c7c5d [2020-06-17T18:38:16.941Z] Step 9/21 : COPY include /tmp/sdk/include [2020-06-17T18:38:16.941Z] ---> 56e98867e35d [2020-06-17T18:38:16.941Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-06-17T18:38:17.202Z] ---> 9d29984adaf9 [2020-06-17T18:38:17.202Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-06-17T18:38:17.462Z] ---> db2931521bcf [2020-06-17T18:38:17.462Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-06-17T18:38:17.723Z] ---> 8440996b054c [2020-06-17T18:38:17.723Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-06-17T18:38:17.723Z] ---> Running in 9bee963a4759 [2020-06-17T18:38:17.747Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-06-17T18:38:17.988Z] + CPPCHECK=false [2020-06-17T18:38:17.988Z] + DOCGEN=false [2020-06-17T18:38:17.988Z] + TOMLVER=SDK-0.2 [2020-06-17T18:38:17.988Z] + CUTILVER=1.0.4 [2020-06-17T18:38:17.988Z] + '[' 0 -gt 0 ] [2020-06-17T18:38:17.988Z] + readlink -f ./scripts/build.sh [2020-06-17T18:38:17.988Z] + dirname /tmp/sdk/scripts/build.sh [2020-06-17T18:38:17.988Z] + dirname /tmp/sdk/scripts [2020-06-17T18:38:17.988Z] + ROOT=/tmp/sdk [2020-06-17T18:38:17.988Z] + cd /tmp/sdk [2020-06-17T18:38:17.988Z] + '[' '!' -d deps ] [2020-06-17T18:38:17.988Z] + mkdir deps [2020-06-17T18:38:17.988Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-06-17T18:38:17.988Z] + tar -C deps -z -x -f - [2020-06-17T18:38:17.988Z] --2020-06-17 18:38:17-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-06-17T18:38:17.988Z] Resolving github.com... 140.82.112.4 [2020-06-17T18:38:17.988Z] Connecting to github.com|140.82.112.4|:443... connected. [2020-06-17T18:38:18.250Z] HTTP request sent, awaiting response... 302 Found [2020-06-17T18:38:18.250Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-06-17T18:38:18.250Z] --2020-06-17 18:38:18-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-06-17T18:38:18.250Z] Resolving codeload.github.com... 140.82.112.10 [2020-06-17T18:38:18.250Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2020-06-17T18:38:18.250Z] HTTP request sent, awaiting response... 200 OK [2020-06-17T18:38:18.250Z] Length: unspecified [application/x-gzip] [2020-06-17T18:38:18.250Z] Saving to: 'STDOUT' [2020-06-17T18:38:18.250Z]  [2020-06-17T18:38:18.250Z] 0K .......... ...... 1.05M=0.01s [2020-06-17T18:38:18.250Z] [2020-06-17T18:38:18.250Z] 2020-06-17 18:38:18 (1.05 MB/s) - written to stdout [16451] [2020-06-17T18:38:18.250Z] [2020-06-17T18:38:18.250Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-06-17T18:38:18.250Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-06-17T18:38:18.250Z] + tar -C deps -z -x -f - [2020-06-17T18:38:18.250Z] --2020-06-17 18:38:18-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-06-17T18:38:18.250Z] Resolving github.com... 140.82.112.4 [2020-06-17T18:38:18.250Z] Connecting to github.com|140.82.112.4|:443... connected. [2020-06-17T18:38:18.512Z] HTTP request sent, awaiting response... 302 Found [2020-06-17T18:38:18.512Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] [2020-06-17T18:38:18.512Z] --2020-06-17 18:38:18-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [2020-06-17T18:38:18.512Z] Resolving codeload.github.com... 140.82.112.10 [2020-06-17T18:38:18.512Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2020-06-17T18:38:18.512Z] HTTP request sent, awaiting response... 200 OK [2020-06-17T18:38:18.512Z] Length: unspecified [application/x-gzip] [2020-06-17T18:38:18.512Z] Saving to: 'STDOUT' [2020-06-17T18:38:18.512Z]  [2020-06-17T18:38:18.512Z] 0K .......... .......... .......... .......... .......... 1.57M [2020-06-17T18:38:18.512Z] 50K .......... .......... .......... .......... .......... 3.15M [2020-06-17T18:38:18.512Z] 100K .......... .......... .......... .......... .......... 51.2M [2020-06-17T18:38:18.512Z] 150K ........ 71.8M=0.05s [2020-06-17T18:38:18.512Z] [2020-06-17T18:38:18.512Z] 2020-06-17 18:38:18 (3.25 MB/s) - written to stdout [162267] [2020-06-17T18:38:18.512Z] [2020-06-17T18:38:18.512Z] + mkdir -p src/c/iot [2020-06-17T18:38:18.512Z] + cp deps/iotech-c-utils-1.0.4/src/c/base64.c deps/iotech-c-utils-1.0.4/src/c/component.c deps/iotech-c-utils-1.0.4/src/c/container.c deps/iotech-c-utils-1.0.4/src/c/data.c deps/iotech-c-utils-1.0.4/src/c/hash.c deps/iotech-c-utils-1.0.4/src/c/iot.c deps/iotech-c-utils-1.0.4/src/c/json.c deps/iotech-c-utils-1.0.4/src/c/logger.c deps/iotech-c-utils-1.0.4/src/c/os.c deps/iotech-c-utils-1.0.4/src/c/scheduler.c deps/iotech-c-utils-1.0.4/src/c/thread.c deps/iotech-c-utils-1.0.4/src/c/threadpool.c deps/iotech-c-utils-1.0.4/src/c/time.c src/c/iot [2020-06-17T18:38:18.512Z] + mkdir -p include/iot [2020-06-17T18:38:18.512Z] + cp deps/iotech-c-utils-1.0.4/include/iot/base64.h deps/iotech-c-utils-1.0.4/include/iot/component.h deps/iotech-c-utils-1.0.4/include/iot/container.h deps/iotech-c-utils-1.0.4/include/iot/data.h deps/iotech-c-utils-1.0.4/include/iot/hash.h deps/iotech-c-utils-1.0.4/include/iot/iot.h deps/iotech-c-utils-1.0.4/include/iot/json.h deps/iotech-c-utils-1.0.4/include/iot/logger.h deps/iotech-c-utils-1.0.4/include/iot/os.h deps/iotech-c-utils-1.0.4/include/iot/scheduler.h deps/iotech-c-utils-1.0.4/include/iot/thread.h deps/iotech-c-utils-1.0.4/include/iot/threadpool.h deps/iotech-c-utils-1.0.4/include/iot/time.h deps/iotech-c-utils-1.0.4/include/iot/typecode.h include/iot [2020-06-17T18:38:18.512Z] + mkdir -p include/iot/os [2020-06-17T18:38:18.512Z] + cp deps/iotech-c-utils-1.0.4/include/iot/os/linux.h deps/iotech-c-utils-1.0.4/include/iot/os/zephyr.h include/iot/os [2020-06-17T18:38:18.512Z] + mkdir -p /tmp/sdk/build/release [2020-06-17T18:38:18.512Z] + cd /tmp/sdk/build/release [2020-06-17T18:38:18.512Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-06-17T18:38:18.771Z] -- The C compiler identification is GNU 8.3.0 [2020-06-17T18:38:18.771Z] -- Check for working C compiler: /usr/bin/cc [2020-06-17T18:38:18.771Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-17T18:38:18.771Z] -- Detecting C compiler ABI info [2020-06-17T18:38:18.771Z] -- Detecting C compiler ABI info - done [2020-06-17T18:38:18.771Z] -- Detecting C compile features [2020-06-17T18:38:19.033Z] -- Detecting C compile features - done [2020-06-17T18:38:19.033Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-06-17T18:38:19.033Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-06-17T18:38:19.033Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-06-17T18:38:19.033Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-06-17T18:38:19.033Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-06-17T18:38:19.033Z] -- C SDK 0.0.0 for Linux [2020-06-17T18:38:19.033Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-06-17T18:38:19.033Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-06-17T18:38:19.033Z] -- Found Curses: /usr/lib/libcurses.so [2020-06-17T18:38:19.033Z] -- Configuring done [2020-06-17T18:38:19.292Z] -- Generating done [2020-06-17T18:38:19.292Z] -- Build files have been written to: /tmp/sdk/build/release [2020-06-17T18:38:19.292Z] + make [2020-06-17T18:38:19.292Z] + tee release.log [2020-06-17T18:38:19.292Z] Scanning dependencies of target csdk [2020-06-17T18:38:19.292Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-06-17T18:38:19.292Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-06-17T18:38:19.552Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-06-17T18:38:19.712Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-06-17T18:38:19.812Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-06-17T18:38:19.986Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-06-17T18:38:20.074Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-06-17T18:38:20.074Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-06-17T18:38:20.334Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-06-17T18:38:20.579Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-06-17T18:38:20.852Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-06-17T18:38:20.906Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-06-17T18:38:20.906Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-06-17T18:38:21.165Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-06-17T18:38:21.165Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-06-17T18:38:21.425Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-06-17T18:38:21.425Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-06-17T18:38:21.425Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-06-17T18:38:21.443Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-06-17T18:38:21.443Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-06-17T18:38:21.714Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-06-17T18:38:22.381Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-06-17T18:38:22.381Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-06-17T18:38:22.381Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-06-17T18:38:22.641Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-06-17T18:38:23.214Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-06-17T18:38:23.214Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-06-17T18:38:23.214Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-06-17T18:38:23.214Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-06-17T18:38:23.473Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-06-17T18:38:23.473Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-06-17T18:38:23.734Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-06-17T18:38:23.734Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-06-17T18:38:23.995Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-06-17T18:38:23.995Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-06-17T18:38:23.995Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-06-17T18:38:24.255Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-06-17T18:38:24.518Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-06-17T18:38:25.080Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-06-17T18:38:25.352Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-06-17T18:38:25.459Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-06-17T18:38:25.459Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-06-17T18:38:25.622Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-06-17T18:38:25.721Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-06-17T18:38:25.721Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-06-17T18:38:26.218Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-06-17T18:38:26.290Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-06-17T18:38:26.550Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-06-17T18:38:27.489Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-06-17T18:38:27.489Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-06-17T18:38:28.058Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-06-17T18:38:28.058Z] [ 74%] Linking C shared library libcsdk.so [2020-06-17T18:38:28.058Z] [ 74%] Built target csdk [2020-06-17T18:38:28.058Z] Scanning dependencies of target template [2020-06-17T18:38:28.058Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-06-17T18:38:28.319Z] [ 78%] Linking C executable template [2020-06-17T18:38:28.319Z] [ 78%] Built target template [2020-06-17T18:38:28.319Z] Scanning dependencies of target device-counter [2020-06-17T18:38:28.319Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-06-17T18:38:28.319Z] [ 81%] Linking C executable device-counter [2020-06-17T18:38:28.580Z] [ 81%] Built target device-counter [2020-06-17T18:38:28.580Z] Scanning dependencies of target device-random [2020-06-17T18:38:28.580Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-06-17T18:38:28.580Z] [ 85%] Linking C executable device-random [2020-06-17T18:38:28.580Z] [ 85%] Built target device-random [2020-06-17T18:38:28.580Z] Scanning dependencies of target device-gyro [2020-06-17T18:38:28.580Z] [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-06-17T18:38:28.818Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-06-17T18:38:28.818Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-06-17T18:38:28.818Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-06-17T18:38:28.840Z] [ 89%] Linking C executable device-gyro [2020-06-17T18:38:28.840Z] [ 89%] Built target device-gyro [2020-06-17T18:38:28.840Z] Scanning dependencies of target template-discovery [2020-06-17T18:38:28.840Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-06-17T18:38:29.100Z] [ 92%] Linking C executable template-discovery [2020-06-17T18:38:29.100Z] [ 92%] Built target template-discovery [2020-06-17T18:38:29.100Z] Scanning dependencies of target device-terminal [2020-06-17T18:38:29.100Z] [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-06-17T18:38:29.363Z] [ 96%] Linking C executable device-terminal [2020-06-17T18:38:29.363Z] [ 96%] Built target device-terminal [2020-06-17T18:38:29.363Z] Scanning dependencies of target templatev1 [2020-06-17T18:38:29.363Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-06-17T18:38:29.363Z] [100%] Linking C executable templatev1 [2020-06-17T18:38:29.414Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-06-17T18:38:29.624Z] [100%] Built target templatev1 [2020-06-17T18:38:29.624Z] + + teemake -a package release.log [2020-06-17T18:38:29.624Z] [2020-06-17T18:38:29.624Z] [ 74%] Built target csdk [2020-06-17T18:38:29.624Z] [ 78%] Built target template [2020-06-17T18:38:29.624Z] [ 81%] Built target device-counter [2020-06-17T18:38:29.624Z] [ 85%] Built target device-random [2020-06-17T18:38:29.624Z] [ 89%] Built target device-gyro [2020-06-17T18:38:29.624Z] [ 92%] Built target template-discovery [2020-06-17T18:38:29.624Z] [ 96%] Built target device-terminal [2020-06-17T18:38:29.624Z] [100%] Built target templatev1 [2020-06-17T18:38:29.624Z] Run CPack packaging tool... [2020-06-17T18:38:29.624Z] CPack: Create package using TGZ [2020-06-17T18:38:29.624Z] CPack: Install projects [2020-06-17T18:38:29.624Z] CPack: - Run preinstall target for: Csdk [2020-06-17T18:38:29.696Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-06-17T18:38:29.885Z] CPack: - Install project: Csdk [2020-06-17T18:38:29.885Z] CPack: Create package [2020-06-17T18:38:29.885Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2020-06-17T18:38:29.885Z] + '[' false '=' true ] [2020-06-17T18:38:29.885Z] + '[' false '=' true ] [2020-06-17T18:38:29.885Z] + mkdir -p /tmp/sdk/build/debug [2020-06-17T18:38:29.885Z] + cd /tmp/sdk/build/debug [2020-06-17T18:38:29.885Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-06-17T18:38:29.968Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-06-17T18:38:30.145Z] -- The C compiler identification is GNU 8.3.0 [2020-06-17T18:38:30.145Z] -- Check for working C compiler: /usr/bin/cc [2020-06-17T18:38:30.145Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-17T18:38:30.145Z] -- Detecting C compiler ABI info [2020-06-17T18:38:30.145Z] -- Detecting C compiler ABI info - done [2020-06-17T18:38:30.145Z] -- Detecting C compile features [2020-06-17T18:38:30.405Z] -- Detecting C compile features - done [2020-06-17T18:38:30.405Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-06-17T18:38:30.405Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-06-17T18:38:30.405Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-06-17T18:38:30.405Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-06-17T18:38:30.405Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-06-17T18:38:30.405Z] -- C SDK 0.0.0 for Linux [2020-06-17T18:38:30.405Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-06-17T18:38:30.405Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-06-17T18:38:30.405Z] -- Found Curses: /usr/lib/libcurses.so [2020-06-17T18:38:30.664Z] -- Configuring done [2020-06-17T18:38:30.664Z] -- Generating done [2020-06-17T18:38:30.664Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-06-17T18:38:30.664Z] + make [2020-06-17T18:38:30.664Z] + tee debug.log [2020-06-17T18:38:30.664Z] Scanning dependencies of target csdk [2020-06-17T18:38:30.664Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-06-17T18:38:30.664Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-06-17T18:38:30.925Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-06-17T18:38:30.925Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-06-17T18:38:30.925Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-06-17T18:38:30.946Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-06-17T18:38:31.186Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-06-17T18:38:31.186Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-06-17T18:38:31.217Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-06-17T18:38:31.446Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-06-17T18:38:31.446Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-06-17T18:38:31.446Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-06-17T18:38:31.446Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-06-17T18:38:31.705Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-06-17T18:38:31.705Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-06-17T18:38:31.705Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-06-17T18:38:31.812Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-06-17T18:38:31.812Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-06-17T18:38:31.966Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-06-17T18:38:31.966Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-06-17T18:38:31.966Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-06-17T18:38:32.226Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-06-17T18:38:32.405Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-06-17T18:38:32.486Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-06-17T18:38:32.486Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-06-17T18:38:32.486Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-06-17T18:38:32.486Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-06-17T18:38:32.486Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-06-17T18:38:32.486Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-06-17T18:38:32.745Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-06-17T18:38:32.745Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-06-17T18:38:32.745Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-06-17T18:38:32.745Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-06-17T18:38:33.008Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-06-17T18:38:33.008Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-06-17T18:38:33.008Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-06-17T18:38:33.267Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-06-17T18:38:33.390Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-06-17T18:38:33.390Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-06-17T18:38:33.529Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-06-17T18:38:33.530Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-06-17T18:38:33.530Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-06-17T18:38:33.792Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-06-17T18:38:34.054Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-06-17T18:38:34.054Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-06-17T18:38:34.316Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-06-17T18:38:34.316Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-06-17T18:38:34.316Z] [ 74%] Linking C shared library libcsdk.so [2020-06-17T18:38:34.576Z] [ 74%] Built target csdk [2020-06-17T18:38:34.576Z] Scanning dependencies of target template [2020-06-17T18:38:34.576Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-06-17T18:38:34.576Z] [ 78%] Linking C executable template [2020-06-17T18:38:34.576Z] [ 78%] Built target template [2020-06-17T18:38:34.576Z] Scanning dependencies of target device-counter [2020-06-17T18:38:34.576Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-06-17T18:38:34.576Z] [ 81%] Linking C executable device-counter [2020-06-17T18:38:34.836Z] [ 81%] Built target device-counter [2020-06-17T18:38:34.836Z] Scanning dependencies of target device-random [2020-06-17T18:38:34.836Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-06-17T18:38:34.836Z] [ 85%] Linking C executable device-random [2020-06-17T18:38:34.836Z] [ 85%] Built target device-random [2020-06-17T18:38:34.836Z] Scanning dependencies of target device-gyro [2020-06-17T18:38:34.836Z] [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-06-17T18:38:35.096Z] [ 89%] Linking C executable device-gyro [2020-06-17T18:38:35.096Z] [ 89%] Built target device-gyro [2020-06-17T18:38:35.096Z] Scanning dependencies of target template-discovery [2020-06-17T18:38:35.096Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-06-17T18:38:35.096Z] [ 92%] Linking C executable template-discovery [2020-06-17T18:38:35.096Z] [ 92%] Built target template-discovery [2020-06-17T18:38:35.096Z] Scanning dependencies of target device-terminal [2020-06-17T18:38:35.096Z] [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-06-17T18:38:35.357Z] [ 96%] Linking C executable device-terminal [2020-06-17T18:38:35.357Z] [ 96%] Built target device-terminal [2020-06-17T18:38:35.357Z] Scanning dependencies of target templatev1 [2020-06-17T18:38:35.357Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-06-17T18:38:35.357Z] [100%] Linking C executable templatev1 [2020-06-17T18:38:35.617Z] [100%] Built target templatev1 [2020-06-17T18:38:35.617Z] make: Entering directory '/tmp/sdk/build/release' [2020-06-17T18:38:35.617Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-06-17T18:38:35.617Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T18:38:35.617Z] Scanning dependencies of target csdk [2020-06-17T18:38:35.617Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T18:38:35.617Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T18:38:35.617Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-06-17T18:38:36.188Z] [ 3%] Linking C shared library libcsdk.so [2020-06-17T18:38:36.188Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T18:38:36.188Z] [ 74%] Built target csdk [2020-06-17T18:38:36.188Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T18:38:36.188Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T18:38:36.188Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T18:38:36.188Z] [ 76%] Linking C executable template [2020-06-17T18:38:36.188Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T18:38:36.188Z] [ 78%] Built target template [2020-06-17T18:38:36.188Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T18:38:36.188Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T18:38:36.188Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T18:38:36.188Z] [ 80%] Linking C executable device-counter [2020-06-17T18:38:36.188Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T18:38:36.188Z] [ 81%] Built target device-counter [2020-06-17T18:38:36.188Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T18:38:36.188Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T18:38:36.188Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T18:38:36.188Z] [ 83%] Linking C executable device-random [2020-06-17T18:38:36.188Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T18:38:36.188Z] [ 85%] Built target device-random [2020-06-17T18:38:36.188Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T18:38:36.188Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T18:38:36.188Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T18:38:36.188Z] [ 87%] Linking C executable device-gyro [2020-06-17T18:38:36.517Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T18:38:36.517Z] [ 89%] Built target device-gyro [2020-06-17T18:38:36.517Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T18:38:36.517Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T18:38:36.517Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T18:38:36.517Z] [ 90%] Linking C executable template-discovery [2020-06-17T18:38:36.517Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T18:38:36.517Z] [ 92%] Built target template-discovery [2020-06-17T18:38:36.517Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T18:38:36.517Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T18:38:36.517Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T18:38:36.517Z] [ 94%] Linking C executable device-terminal [2020-06-17T18:38:36.517Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T18:38:36.517Z] [ 96%] Built target device-terminal [2020-06-17T18:38:36.517Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T18:38:36.517Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T18:38:36.517Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T18:38:36.517Z] [ 98%] Linking C executable templatev1 [2020-06-17T18:38:36.517Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T18:38:36.517Z] [100%] Built target templatev1 [2020-06-17T18:38:36.517Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T18:38:36.517Z] Install the project... [2020-06-17T18:38:36.799Z] -- Install configuration: "Release" [2020-06-17T18:38:36.799Z] -- Installing: /usr/local/lib/libcsdk.so [2020-06-17T18:38:36.799Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-06-17T18:38:36.799Z] -- Up-to-date: /usr/local/include [2020-06-17T18:38:36.799Z] -- Installing: /usr/local/include/devsdk [2020-06-17T18:38:36.799Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-06-17T18:38:36.799Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-06-17T18:38:36.799Z] -- Installing: /usr/local/include/edgex [2020-06-17T18:38:36.799Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-06-17T18:38:36.799Z] -- Installing: /usr/local/include/edgex/devices.h [2020-06-17T18:38:36.799Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-06-17T18:38:36.799Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-06-17T18:38:36.799Z] -- Installing: /usr/local/include/edgex/edgex-logging.h [2020-06-17T18:38:36.799Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-06-17T18:38:36.799Z] -- Installing: /usr/local/include/edgex/error.h [2020-06-17T18:38:36.799Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-06-17T18:38:36.799Z] -- Installing: /usr/local/include/edgex/os.h [2020-06-17T18:38:36.799Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-06-17T18:38:36.799Z] -- Installing: /usr/local/include/edgex/registry.h [2020-06-17T18:38:36.799Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-06-17T18:38:36.799Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-06-17T18:38:36.799Z] -- Installing: /usr/local/include/iot [2020-06-17T18:38:36.799Z] -- Installing: /usr/local/include/iot/base64.h [2020-06-17T18:38:36.799Z] -- Installing: /usr/local/include/iot/component.h [2020-06-17T18:38:36.799Z] -- Installing: /usr/local/include/iot/container.h [2020-06-17T18:38:36.799Z] -- Installing: /usr/local/include/iot/data.h [2020-06-17T18:38:36.799Z] -- Installing: /usr/local/include/iot/hash.h [2020-06-17T18:38:36.799Z] -- Installing: /usr/local/include/iot/iot.h [2020-06-17T18:38:36.799Z] -- Installing: /usr/local/include/iot/json.h [2020-06-17T18:38:36.799Z] -- Installing: /usr/local/include/iot/logger.h [2020-06-17T18:38:36.799Z] -- Installing: /usr/local/include/iot/os.h [2020-06-17T18:38:36.799Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-06-17T18:38:36.799Z] -- Installing: /usr/local/include/iot/thread.h [2020-06-17T18:38:36.799Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-06-17T18:38:36.799Z] -- Installing: /usr/local/include/iot/time.h [2020-06-17T18:38:36.799Z] -- Installing: /usr/local/include/iot/typecode.h [2020-06-17T18:38:36.799Z] -- Installing: /usr/local/include/iot/os [2020-06-17T18:38:36.799Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-06-17T18:38:36.799Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-06-17T18:38:36.799Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-06-17T18:38:36.799Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-06-17T18:38:36.799Z] make: Leaving directory '/tmp/sdk/build/release' [2020-06-17T18:38:37.665Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-06-17T18:38:38.254Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-06-17T18:38:38.525Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-06-17T18:38:38.747Z] Removing intermediate container 9bee963a4759 [2020-06-17T18:38:38.747Z] ---> c81b7fdb6f31 [2020-06-17T18:38:38.747Z] Step 14/21 : FROM ${BASE} [2020-06-17T18:38:38.747Z] ---> 5eabd8fd8ba2 [2020-06-17T18:38:38.747Z] Step 15/21 : MAINTAINER IOTech [2020-06-17T18:38:38.747Z] ---> Running in 72081264ca4f [2020-06-17T18:38:38.747Z] Removing intermediate container 72081264ca4f [2020-06-17T18:38:38.747Z] ---> 56d9a03d634d [2020-06-17T18:38:38.747Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-06-17T18:38:38.747Z] ---> Running in ab4a0e33a5a3 [2020-06-17T18:38:39.113Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-06-17T18:38:39.688Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-06-17T18:38:40.260Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-06-17T18:38:40.520Z] (1/3) Installing curl (7.64.0-r3) [2020-06-17T18:38:40.520Z] (2/3) Installing libuuid (2.33-r0) [2020-06-17T18:38:40.520Z] (3/3) Installing wget (1.20.3-r0) [2020-06-17T18:38:40.538Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-06-17T18:38:40.779Z] Executing busybox-1.29.3-r10.trigger [2020-06-17T18:38:40.779Z] OK: 268 MiB in 78 packages [2020-06-17T18:38:41.039Z] Removing intermediate container ab4a0e33a5a3 [2020-06-17T18:38:41.039Z] ---> a0e144e0d876 [2020-06-17T18:38:41.039Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-06-17T18:38:41.299Z] ---> e8544daf2665 [2020-06-17T18:38:41.299Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-06-17T18:38:41.562Z] ---> 37fb15fef4ac [2020-06-17T18:38:41.562Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-06-17T18:38:41.823Z] ---> 09efc26cb5e3 [2020-06-17T18:38:41.823Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-06-17T18:38:41.965Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-06-17T18:38:42.082Z] ---> 636e9bb8634a [2020-06-17T18:38:42.082Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-06-17T18:38:42.342Z] ---> 6bb6553e77a6 [2020-06-17T18:38:42.342Z] Successfully built 6bb6553e77a6 [2020-06-17T18:38:42.342Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-06-17T18:38:42.992Z] + docker inspect -f . ci-base-image-x86_64 [2020-06-17T18:38:42.992Z] . [Pipeline] withDockerContainer [2020-06-17T18:38:43.106Z] prd-centos7-docker-4c-2g-3386 does not seem to be running inside a container [2020-06-17T18:38:43.144Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-06-17T18:38:43.956Z] $ docker top 16cb4ad648629868659f5febe5f9d1c061e33e7d68e7247e499ffda7ba3b095e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-17T18:38:44.409Z] + make test [2020-06-17T18:38:44.409Z] echo "make test" [2020-06-17T18:38:44.409Z] make test [Pipeline] } [2020-06-17T18:38:44.438Z] $ docker stop --time=1 16cb4ad648629868659f5febe5f9d1c061e33e7d68e7247e499ffda7ba3b095e [2020-06-17T18:38:45.327Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-06-17T18:38:45.752Z] $ docker rm -f 16cb4ad648629868659f5febe5f9d1c061e33e7d68e7247e499ffda7ba3b095e [Pipeline] // withDockerContainer [2020-06-17T18:38:45.923Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2020-06-17T18:38:46.972Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [Pipeline] sh [2020-06-17T18:38:47.608Z] [ 74%] Linking C shared library libcsdk.so [2020-06-17T18:38:47.608Z] [ 74%] Built target csdk [2020-06-17T18:38:47.608Z] Scanning dependencies of target template [2020-06-17T18:38:47.779Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-17T18:38:47.889Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-06-17T18:38:48.089Z] + ls -al . [2020-06-17T18:38:48.089Z] total 160 [2020-06-17T18:38:48.089Z] drwxrwxr-x. 9 jenkins jenkins 275 Jun 17 18:37 . [2020-06-17T18:38:48.089Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 17 18:37 .. [2020-06-17T18:38:48.089Z] -rw-rw-r--. 1 jenkins jenkins 3104 Jun 17 18:37 Attribution.txt [2020-06-17T18:38:48.089Z] -rw-rw-r--. 1 jenkins jenkins 5323 Jun 17 18:37 CHANGES [2020-06-17T18:38:48.089Z] drwxrwxr-x. 2 jenkins jenkins 144 Jun 17 18:37 docs [2020-06-17T18:38:48.089Z] -rw-rw-r--. 1 jenkins jenkins 108574 Jun 17 18:37 Doxyfile [2020-06-17T18:38:48.089Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 17 18:37 .git [2020-06-17T18:38:48.089Z] drwxrwxr-x. 2 jenkins jenkins 38 Jun 17 18:37 .github [2020-06-17T18:38:48.089Z] -rw-rw-r--. 1 jenkins jenkins 176 Jun 17 18:37 .gitignore [2020-06-17T18:38:48.089Z] drwxrwxr-x. 4 jenkins jenkins 33 Jun 17 18:37 include [2020-06-17T18:38:48.089Z] -rw-rw-r--. 1 jenkins jenkins 794 Jun 17 18:37 Jenkinsfile [2020-06-17T18:38:48.089Z] -rw-rw-r--. 1 jenkins jenkins 10174 Jun 17 18:37 LICENSE [2020-06-17T18:38:48.089Z] -rw-rw-r--. 1 jenkins jenkins 449 Jun 17 18:37 Makefile [2020-06-17T18:38:48.089Z] -rw-rw-r--. 1 jenkins jenkins 1849 Jun 17 18:37 README.md [2020-06-17T18:38:48.089Z] -rw-rw-r--. 1 jenkins jenkins 5229 Jun 17 18:37 README.v2.md [2020-06-17T18:38:48.089Z] drwxrwxr-x. 2 jenkins jenkins 108 Jun 17 18:37 scripts [2020-06-17T18:38:48.090Z] drwxrwxr-x. 3 jenkins jenkins 58 Jun 17 18:37 .semver [2020-06-17T18:38:48.090Z] drwxrwxr-x. 4 jenkins jenkins 50 Jun 17 18:37 src [2020-06-17T18:38:48.090Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 17 18:35 VERSION [Pipeline] isUnix [Pipeline] sh [2020-06-17T18:38:48.428Z] + docker build -t docker-device-sdk-c -f scripts/Dockerfile.alpine-3.11 --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=84ab060de2acfc7e944fade273d3b37ae45e656d --label arch=amd64 --label version=0.0.0 . [2020-06-17T18:38:48.428Z] Sending build context to Docker daemon 3.292MB [2020-06-17T18:38:48.428Z] Step 1/15 : ARG BASE=alpine:3.11 [2020-06-17T18:38:48.428Z] Step 2/15 : FROM ${BASE} [2020-06-17T18:38:48.428Z] ---> 6bb6553e77a6 [2020-06-17T18:38:48.428Z] Step 3/15 : MAINTAINER IOTech [2020-06-17T18:38:48.510Z] [ 78%] Linking C executable template [2020-06-17T18:38:48.510Z] [ 78%] Built target template [2020-06-17T18:38:48.813Z] Scanning dependencies of target device-counter [2020-06-17T18:38:48.813Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-06-17T18:38:49.001Z] ---> Running in 094c8e748a1c [2020-06-17T18:38:49.001Z] Removing intermediate container 094c8e748a1c [2020-06-17T18:38:49.001Z] ---> 6ba997d535ab [2020-06-17T18:38:49.001Z] Step 4/15 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev && mkdir -p /edgex-c-sdk/build [2020-06-17T18:38:49.001Z] ---> Running in 3e5d60feb6d6 [2020-06-17T18:38:49.438Z] [ 81%] Linking C executable device-counter [2020-06-17T18:38:49.438Z] [ 81%] Built target device-counter [2020-06-17T18:38:49.438Z] Scanning dependencies of target device-random [2020-06-17T18:38:49.438Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-06-17T18:38:49.573Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-06-17T18:38:50.071Z] [ 85%] Linking C executable device-random [2020-06-17T18:38:50.144Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-06-17T18:38:50.347Z] [ 85%] Built target device-random [2020-06-17T18:38:50.347Z] Scanning dependencies of target device-gyro [2020-06-17T18:38:50.347Z] [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-06-17T18:38:50.404Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2020-06-17T18:38:50.404Z] (2/6) Installing libblkid (2.33-r0) [2020-06-17T18:38:50.621Z] [ 89%] Linking C executable device-gyro [2020-06-17T18:38:50.664Z] (3/6) Installing libfdisk (2.33-r0) [2020-06-17T18:38:50.664Z] (4/6) Installing libmount (2.33-r0) [2020-06-17T18:38:50.664Z] (5/6) Installing libsmartcols (2.33-r0) [2020-06-17T18:38:50.894Z] [ 89%] Built target device-gyro [2020-06-17T18:38:50.894Z] Scanning dependencies of target template-discovery [2020-06-17T18:38:50.894Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-06-17T18:38:50.923Z] (6/6) Installing util-linux-dev (2.33-r0) [2020-06-17T18:38:51.183Z] Executing busybox-1.29.3-r10.trigger [2020-06-17T18:38:51.183Z] OK: 272 MiB in 84 packages [2020-06-17T18:38:51.486Z] [ 92%] Linking C executable template-discovery [2020-06-17T18:38:51.754Z] Removing intermediate container 3e5d60feb6d6 [2020-06-17T18:38:51.754Z] ---> 75c7820c8f1f [2020-06-17T18:38:51.754Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-06-17T18:38:51.754Z] ---> a119d526abb0 [2020-06-17T18:38:51.754Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-06-17T18:38:51.757Z] [ 92%] Built target template-discovery [2020-06-17T18:38:51.757Z] Scanning dependencies of target device-terminal [2020-06-17T18:38:51.757Z] [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-06-17T18:38:52.349Z] [ 96%] Linking C executable device-terminal [2020-06-17T18:38:52.620Z] [ 96%] Built target device-terminal [2020-06-17T18:38:52.620Z] Scanning dependencies of target templatev1 [2020-06-17T18:38:52.620Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-06-17T18:38:52.697Z] ---> a6f2dca75cf7 [2020-06-17T18:38:52.697Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-06-17T18:38:52.697Z] ---> 7eb5df3ee9c9 [2020-06-17T18:38:52.697Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-06-17T18:38:52.957Z] ---> d9601a76e4b6 [2020-06-17T18:38:52.957Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-06-17T18:38:52.957Z] ---> 0fbf4368c432 [2020-06-17T18:38:52.957Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-06-17T18:38:53.209Z] [100%] Linking C executable templatev1 [2020-06-17T18:38:53.209Z] [100%] Built target templatev1 [2020-06-17T18:38:53.209Z] + + teemake -a package release.log [2020-06-17T18:38:53.209Z] [2020-06-17T18:38:53.220Z] ---> e23d053a7e04 [2020-06-17T18:38:53.220Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-06-17T18:38:53.220Z] ---> Running in 8c9e65fb1178 [2020-06-17T18:38:53.478Z] [ 74%] Built target csdk [2020-06-17T18:38:53.478Z] [ 78%] Built target template [2020-06-17T18:38:53.478Z] [ 81%] Built target device-counter [2020-06-17T18:38:53.478Z] [ 85%] Built target device-random [2020-06-17T18:38:53.481Z] Removing intermediate container 8c9e65fb1178 [2020-06-17T18:38:53.481Z] ---> f046fe186503 [2020-06-17T18:38:53.481Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-06-17T18:38:53.481Z] ---> Running in 3e74be83aaef [2020-06-17T18:38:53.741Z] Removing intermediate container 3e74be83aaef [2020-06-17T18:38:53.741Z] ---> 7e61b4eb074a [2020-06-17T18:38:53.741Z] Step 13/15 : LABEL arch=amd64 [2020-06-17T18:38:53.741Z] ---> Running in 9d564d3bbf57 [2020-06-17T18:38:53.748Z] [ 89%] Built target device-gyro [2020-06-17T18:38:53.748Z] [ 92%] Built target template-discovery [2020-06-17T18:38:53.748Z] [ 96%] Built target device-terminal [2020-06-17T18:38:53.748Z] [100%] Built target templatev1 [2020-06-17T18:38:53.748Z] Run CPack packaging tool... [2020-06-17T18:38:53.748Z] CPack: Create package using TGZ [2020-06-17T18:38:53.748Z] CPack: Install projects [2020-06-17T18:38:53.748Z] CPack: - Run preinstall target for: Csdk [2020-06-17T18:38:54.001Z] Removing intermediate container 9d564d3bbf57 [2020-06-17T18:38:54.001Z] ---> d2a6411a5a3c [2020-06-17T18:38:54.001Z] Step 14/15 : LABEL git_sha=84ab060de2acfc7e944fade273d3b37ae45e656d [2020-06-17T18:38:54.001Z] ---> Running in 8c36bfe856d5 [2020-06-17T18:38:54.001Z] Removing intermediate container 8c36bfe856d5 [2020-06-17T18:38:54.001Z] ---> 98cd9743bc5b [2020-06-17T18:38:54.001Z] Step 15/15 : LABEL version=0.0.0 [2020-06-17T18:38:54.265Z] ---> Running in b68068129f79 [2020-06-17T18:38:54.265Z] Removing intermediate container b68068129f79 [2020-06-17T18:38:54.265Z] ---> 9876be0cd36b [2020-06-17T18:38:54.265Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2020-06-17T18:38:54.265Z] Successfully built 9876be0cd36b [2020-06-17T18:38:54.265Z] Successfully tagged docker-device-sdk-c:latest [Pipeline] } [2020-06-17T18:38:54.339Z] CPack: - Install project: Csdk [2020-06-17T18:38:54.339Z] CPack: Create package [2020-06-17T18:38:54.339Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2020-06-17T18:38:54.339Z] + '[' false '=' true ] [2020-06-17T18:38:54.339Z] + '[' false '=' true ] [2020-06-17T18:38:54.339Z] + mkdir -p /tmp/sdk/build/debug [2020-06-17T18:38:54.339Z] + cd /tmp/sdk/build/debug [2020-06-17T18:38:54.339Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [2020-06-17T18:38:54.615Z] -- The C compiler identification is GNU 8.3.0 [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-06-17T18:38:54.886Z] -- Check for working C compiler: /usr/bin/cc [2020-06-17T18:38:54.886Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-17T18:38:54.886Z] -- Detecting C compiler ABI info [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [2020-06-17T18:38:55.157Z] -- Detecting C compiler ABI info - done [2020-06-17T18:38:55.157Z] -- Detecting C compile features [Pipeline] // stage [Pipeline] } [2020-06-17T18:38:56.133Z] -- Detecting C compile features - done [2020-06-17T18:38:56.133Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-06-17T18:38:56.133Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-06-17T18:38:56.133Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-06-17T18:38:56.133Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-06-17T18:38:56.133Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-06-17T18:38:56.133Z] -- C SDK 0.0.0 for Linux [2020-06-17T18:38:56.133Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-06-17T18:38:56.133Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-06-17T18:38:56.405Z] -- Found Curses: /usr/lib/libcurses.so [2020-06-17T18:38:56.405Z] -- Configuring done [2020-06-17T18:38:56.675Z] -- Generating done [2020-06-17T18:38:56.675Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-06-17T18:38:56.675Z] + make [2020-06-17T18:38:56.675Z] + tee debug.log [2020-06-17T18:38:56.675Z] Scanning dependencies of target csdk [2020-06-17T18:38:56.947Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-06-17T18:38:57.218Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-06-17T18:38:57.488Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-06-17T18:38:58.080Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-06-17T18:38:58.353Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-06-17T18:38:58.353Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-06-17T18:38:58.947Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-06-17T18:38:59.219Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-06-17T18:38:59.490Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-06-17T18:39:00.082Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-06-17T18:39:00.082Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-06-17T18:39:00.353Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-06-17T18:39:00.624Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-06-17T18:39:00.624Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-06-17T18:39:01.594Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-06-17T18:39:01.888Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-06-17T18:39:01.888Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-06-17T18:39:02.484Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-06-17T18:39:03.077Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-06-17T18:39:03.078Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-06-17T18:39:03.347Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-06-17T18:39:03.617Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-06-17T18:39:03.887Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-06-17T18:39:03.887Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-06-17T18:39:04.159Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-06-17T18:39:04.429Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-06-17T18:39:04.701Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-06-17T18:39:04.974Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-06-17T18:39:04.974Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-06-17T18:39:05.563Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-06-17T18:39:05.833Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-06-17T18:39:06.802Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-06-17T18:39:07.075Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-06-17T18:39:07.075Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-06-17T18:39:07.348Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-06-17T18:39:08.322Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-06-17T18:39:08.914Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-06-17T18:39:09.505Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-06-17T18:39:09.775Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-06-17T18:39:10.045Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-06-17T18:39:10.318Z] [ 74%] Linking C shared library libcsdk.so [2020-06-17T18:39:10.587Z] [ 74%] Built target csdk [2020-06-17T18:39:10.587Z] Scanning dependencies of target template [2020-06-17T18:39:10.587Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-06-17T18:39:10.857Z] [ 78%] Linking C executable template [2020-06-17T18:39:11.128Z] [ 78%] Built target template [2020-06-17T18:39:11.128Z] Scanning dependencies of target device-counter [2020-06-17T18:39:11.128Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-06-17T18:39:11.397Z] [ 81%] Linking C executable device-counter [2020-06-17T18:39:11.667Z] [ 81%] Built target device-counter [2020-06-17T18:39:11.667Z] Scanning dependencies of target device-random [2020-06-17T18:39:11.667Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-06-17T18:39:11.938Z] [ 85%] Linking C executable device-random [2020-06-17T18:39:12.210Z] [ 85%] Built target device-random [2020-06-17T18:39:12.210Z] Scanning dependencies of target device-gyro [2020-06-17T18:39:12.210Z] [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-06-17T18:39:12.480Z] [ 89%] Linking C executable device-gyro [2020-06-17T18:39:12.750Z] [ 89%] Built target device-gyro [2020-06-17T18:39:12.750Z] Scanning dependencies of target template-discovery [2020-06-17T18:39:12.750Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-06-17T18:39:13.019Z] [ 92%] Linking C executable template-discovery [2020-06-17T18:39:13.289Z] [ 92%] Built target template-discovery [2020-06-17T18:39:13.289Z] Scanning dependencies of target device-terminal [2020-06-17T18:39:13.289Z] [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-06-17T18:39:13.559Z] [ 96%] Linking C executable device-terminal [2020-06-17T18:39:13.829Z] [ 96%] Built target device-terminal [2020-06-17T18:39:13.829Z] Scanning dependencies of target templatev1 [2020-06-17T18:39:13.829Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-06-17T18:39:14.099Z] [100%] Linking C executable templatev1 [2020-06-17T18:39:14.369Z] [100%] Built target templatev1 [2020-06-17T18:39:14.369Z] make: Entering directory '/tmp/sdk/build/release' [2020-06-17T18:39:14.369Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-06-17T18:39:14.369Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T18:39:14.369Z] Scanning dependencies of target csdk [2020-06-17T18:39:14.369Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T18:39:14.369Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T18:39:14.369Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-06-17T18:39:16.325Z] [ 3%] Linking C shared library libcsdk.so [2020-06-17T18:39:16.325Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T18:39:16.325Z] [ 74%] Built target csdk [2020-06-17T18:39:16.325Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T18:39:16.325Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T18:39:16.325Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T18:39:16.325Z] [ 76%] Linking C executable template [2020-06-17T18:39:16.596Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T18:39:16.596Z] [ 78%] Built target template [2020-06-17T18:39:16.596Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T18:39:16.596Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T18:39:16.596Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T18:39:16.596Z] [ 80%] Linking C executable device-counter [2020-06-17T18:39:16.867Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T18:39:16.867Z] [ 81%] Built target device-counter [2020-06-17T18:39:16.867Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T18:39:16.867Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T18:39:16.867Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T18:39:16.867Z] [ 83%] Linking C executable device-random [2020-06-17T18:39:17.138Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T18:39:17.138Z] [ 85%] Built target device-random [2020-06-17T18:39:17.138Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T18:39:17.138Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T18:39:17.138Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T18:39:17.138Z] [ 87%] Linking C executable device-gyro [2020-06-17T18:39:17.408Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T18:39:17.408Z] [ 89%] Built target device-gyro [2020-06-17T18:39:17.408Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T18:39:17.408Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T18:39:17.408Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T18:39:17.408Z] [ 90%] Linking C executable template-discovery [2020-06-17T18:39:17.678Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T18:39:17.678Z] [ 92%] Built target template-discovery [2020-06-17T18:39:17.678Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T18:39:17.678Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T18:39:17.678Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T18:39:17.678Z] [ 94%] Linking C executable device-terminal [2020-06-17T18:39:17.949Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T18:39:17.949Z] [ 96%] Built target device-terminal [2020-06-17T18:39:17.949Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T18:39:17.949Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T18:39:17.949Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T18:39:17.949Z] [ 98%] Linking C executable templatev1 [2020-06-17T18:39:18.220Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T18:39:18.220Z] [100%] Built target templatev1 [2020-06-17T18:39:18.220Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T18:39:18.220Z] Install the project... [2020-06-17T18:39:18.220Z] -- Install configuration: "Release" [2020-06-17T18:39:18.220Z] -- Installing: /usr/local/lib/libcsdk.so [2020-06-17T18:39:18.220Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-06-17T18:39:18.220Z] -- Up-to-date: /usr/local/include [2020-06-17T18:39:18.220Z] -- Installing: /usr/local/include/edgex [2020-06-17T18:39:18.220Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-06-17T18:39:18.220Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-06-17T18:39:18.220Z] -- Installing: /usr/local/include/edgex/error.h [2020-06-17T18:39:18.220Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-06-17T18:39:18.220Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-06-17T18:39:18.220Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-06-17T18:39:18.220Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-06-17T18:39:18.220Z] -- Installing: /usr/local/include/edgex/registry.h [2020-06-17T18:39:18.220Z] -- Installing: /usr/local/include/edgex/edgex-logging.h [2020-06-17T18:39:18.220Z] -- Installing: /usr/local/include/edgex/devices.h [2020-06-17T18:39:18.220Z] -- Installing: /usr/local/include/edgex/os.h [2020-06-17T18:39:18.220Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-06-17T18:39:18.220Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-06-17T18:39:18.220Z] -- Installing: /usr/local/include/devsdk [2020-06-17T18:39:18.220Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-06-17T18:39:18.220Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-06-17T18:39:18.220Z] -- Installing: /usr/local/include/iot [2020-06-17T18:39:18.220Z] -- Installing: /usr/local/include/iot/json.h [2020-06-17T18:39:18.220Z] -- Installing: /usr/local/include/iot/container.h [2020-06-17T18:39:18.220Z] -- Installing: /usr/local/include/iot/component.h [2020-06-17T18:39:18.220Z] -- Installing: /usr/local/include/iot/typecode.h [2020-06-17T18:39:18.220Z] -- Installing: /usr/local/include/iot/iot.h [2020-06-17T18:39:18.220Z] -- Installing: /usr/local/include/iot/time.h [2020-06-17T18:39:18.220Z] -- Installing: /usr/local/include/iot/hash.h [2020-06-17T18:39:18.220Z] -- Installing: /usr/local/include/iot/logger.h [2020-06-17T18:39:18.220Z] -- Installing: /usr/local/include/iot/os [2020-06-17T18:39:18.220Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-06-17T18:39:18.220Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-06-17T18:39:18.220Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-06-17T18:39:18.220Z] -- Installing: /usr/local/include/iot/data.h [2020-06-17T18:39:18.220Z] -- Installing: /usr/local/include/iot/thread.h [2020-06-17T18:39:18.220Z] -- Installing: /usr/local/include/iot/os.h [2020-06-17T18:39:18.220Z] -- Installing: /usr/local/include/iot/base64.h [2020-06-17T18:39:18.220Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-06-17T18:39:18.220Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-06-17T18:39:18.220Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-06-17T18:39:18.220Z] make: Leaving directory '/tmp/sdk/build/release' [2020-06-17T18:39:20.840Z] Removing intermediate container d989625106c3 [2020-06-17T18:39:20.840Z] ---> 9ec6625777df [2020-06-17T18:39:20.840Z] Step 14/21 : FROM ${BASE} [2020-06-17T18:39:20.840Z] ---> b23d30803547 [2020-06-17T18:39:20.841Z] Step 15/21 : MAINTAINER IOTech [2020-06-17T18:39:20.841Z] ---> Running in b6b14aee120a [2020-06-17T18:39:20.841Z] Removing intermediate container b6b14aee120a [2020-06-17T18:39:20.841Z] ---> 4ed52e5de478 [2020-06-17T18:39:20.841Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-06-17T18:39:21.111Z] ---> Running in b6e1c552b2d3 [2020-06-17T18:39:22.533Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-06-17T18:39:23.120Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-06-17T18:39:23.707Z] (1/3) Installing curl (7.64.0-r3) [2020-06-17T18:39:23.707Z] (2/3) Installing libuuid (2.33-r0) [2020-06-17T18:39:23.707Z] (3/3) Installing wget (1.20.3-r0) [2020-06-17T18:39:23.978Z] Executing busybox-1.29.3-r10.trigger [2020-06-17T18:39:23.978Z] OK: 281 MiB in 78 packages [2020-06-17T18:39:24.948Z] Removing intermediate container b6e1c552b2d3 [2020-06-17T18:39:24.948Z] ---> afe337764ecb [2020-06-17T18:39:24.948Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-06-17T18:39:25.920Z] ---> c70f2007ac73 [2020-06-17T18:39:25.920Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-06-17T18:39:26.512Z] ---> 659f9d5e5b86 [2020-06-17T18:39:26.512Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-06-17T18:39:27.484Z] ---> 172a1fed787c [2020-06-17T18:39:27.484Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-06-17T18:39:28.072Z] ---> 4b434416b2d3 [2020-06-17T18:39:28.072Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-06-17T18:39:28.664Z] ---> be1104ce0a0d [2020-06-17T18:39:28.664Z] Successfully built be1104ce0a0d [2020-06-17T18:39:28.933Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-06-17T18:39:29.657Z] + docker inspect -f . ci-base-image-arm64 [2020-06-17T18:39:29.657Z] . [Pipeline] withDockerContainer [2020-06-17T18:39:29.937Z] prd-ubuntu18.04-docker-arm64-4c-16g-3385 does not seem to be running inside a container [2020-06-17T18:39:29.987Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-06-17T18:39:31.712Z] $ docker top a4d485fbba8c1e572fbee817fe446d44f9723d79e534b6d3a0c879a87fe4d90d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-17T18:39:33.172Z] + make test [2020-06-17T18:39:33.172Z] echo "make test" [2020-06-17T18:39:33.172Z] make test [Pipeline] } [2020-06-17T18:39:33.179Z] $ docker stop --time=1 a4d485fbba8c1e572fbee817fe446d44f9723d79e534b6d3a0c879a87fe4d90d [2020-06-17T18:39:35.046Z] $ docker rm -f a4d485fbba8c1e572fbee817fe446d44f9723d79e534b6d3a0c879a87fe4d90d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-17T18:39:36.090Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-17T18:39:36.466Z] + ls -al . [2020-06-17T18:39:36.466Z] total 196 [2020-06-17T18:39:36.466Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 17 18:37 . [2020-06-17T18:39:36.466Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 18:37 .. [2020-06-17T18:39:36.466Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 18:37 .git [2020-06-17T18:39:36.466Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 18:37 .github [2020-06-17T18:39:36.466Z] -rw-rw-r-- 1 jenkins jenkins 176 Jun 17 18:37 .gitignore [2020-06-17T18:39:36.466Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 18:37 .semver [2020-06-17T18:39:36.466Z] -rw-rw-r-- 1 jenkins jenkins 3104 Jun 17 18:37 Attribution.txt [2020-06-17T18:39:36.466Z] -rw-rw-r-- 1 jenkins jenkins 5323 Jun 17 18:37 CHANGES [2020-06-17T18:39:36.466Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jun 17 18:37 Doxyfile [2020-06-17T18:39:36.466Z] -rw-rw-r-- 1 jenkins jenkins 794 Jun 17 18:37 Jenkinsfile [2020-06-17T18:39:36.466Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jun 17 18:37 LICENSE [2020-06-17T18:39:36.466Z] -rw-rw-r-- 1 jenkins jenkins 449 Jun 17 18:37 Makefile [2020-06-17T18:39:36.466Z] -rw-rw-r-- 1 jenkins jenkins 1849 Jun 17 18:37 README.md [2020-06-17T18:39:36.466Z] -rw-rw-r-- 1 jenkins jenkins 5229 Jun 17 18:37 README.v2.md [2020-06-17T18:39:36.466Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 17 18:35 VERSION [2020-06-17T18:39:36.466Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 18:37 docs [2020-06-17T18:39:36.466Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 18:37 include [2020-06-17T18:39:36.466Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 18:37 scripts [2020-06-17T18:39:36.466Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 18:37 src [Pipeline] isUnix [Pipeline] sh [2020-06-17T18:39:36.843Z] + docker build -t docker-device-sdk-c-arm64 -f scripts/Dockerfile.alpine-3.11 --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=84ab060de2acfc7e944fade273d3b37ae45e656d --label arch=arm64 --label version=0.0.0 . [2020-06-17T18:39:37.117Z] Sending build context to Docker daemon 3.292MB [2020-06-17T18:39:37.388Z] Step 1/15 : ARG BASE=alpine:3.11 [2020-06-17T18:39:37.388Z] Step 2/15 : FROM ${BASE} [2020-06-17T18:39:37.388Z] ---> be1104ce0a0d [2020-06-17T18:39:37.388Z] Step 3/15 : MAINTAINER IOTech [2020-06-17T18:39:37.658Z] ---> Running in d491f6221e1c [2020-06-17T18:39:37.933Z] Removing intermediate container d491f6221e1c [2020-06-17T18:39:37.933Z] ---> 23065293550a [2020-06-17T18:39:37.933Z] Step 4/15 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev && mkdir -p /edgex-c-sdk/build [2020-06-17T18:39:38.204Z] ---> Running in ff2c693d2c0a [2020-06-17T18:39:39.632Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-06-17T18:39:40.226Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-06-17T18:39:40.817Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2020-06-17T18:39:40.817Z] (2/6) Installing libblkid (2.33-r0) [2020-06-17T18:39:40.817Z] (3/6) Installing libfdisk (2.33-r0) [2020-06-17T18:39:40.818Z] (4/6) Installing libmount (2.33-r0) [2020-06-17T18:39:41.092Z] (5/6) Installing libsmartcols (2.33-r0) [2020-06-17T18:39:41.092Z] (6/6) Installing util-linux-dev (2.33-r0) [2020-06-17T18:39:41.362Z] Executing busybox-1.29.3-r10.trigger [2020-06-17T18:39:41.362Z] OK: 286 MiB in 84 packages [2020-06-17T18:39:42.803Z] Removing intermediate container ff2c693d2c0a [2020-06-17T18:39:42.803Z] ---> e22e12ab1b29 [2020-06-17T18:39:42.803Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-06-17T18:39:43.394Z] ---> 55863e3ea90b [2020-06-17T18:39:43.394Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-06-17T18:39:44.364Z] ---> 1bf5cee15329 [2020-06-17T18:39:44.364Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-06-17T18:39:44.956Z] ---> b5527b68c417 [2020-06-17T18:39:44.956Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-06-17T18:39:45.549Z] ---> c2f557c9ef91 [2020-06-17T18:39:45.549Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-06-17T18:39:46.525Z] ---> 0490b7229721 [2020-06-17T18:39:46.525Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-06-17T18:39:47.116Z] ---> 8779aa95aeaf [2020-06-17T18:39:47.116Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-06-17T18:39:47.116Z] ---> Running in d926fc7f9679 [2020-06-17T18:39:47.706Z] Removing intermediate container d926fc7f9679 [2020-06-17T18:39:47.706Z] ---> b1ee7190a2cc [2020-06-17T18:39:47.706Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-06-17T18:39:47.706Z] ---> Running in cac84d36ebcd [2020-06-17T18:39:48.297Z] Removing intermediate container cac84d36ebcd [2020-06-17T18:39:48.297Z] ---> a66cd73cf5c5 [2020-06-17T18:39:48.297Z] Step 13/15 : LABEL arch=arm64 [2020-06-17T18:39:48.297Z] ---> Running in d203c2cb311c [2020-06-17T18:39:48.891Z] Removing intermediate container d203c2cb311c [2020-06-17T18:39:48.891Z] ---> 6c34f0154bfd [2020-06-17T18:39:48.891Z] Step 14/15 : LABEL git_sha=84ab060de2acfc7e944fade273d3b37ae45e656d [2020-06-17T18:39:48.891Z] ---> Running in aa55b58e36a1 [2020-06-17T18:39:49.482Z] Removing intermediate container aa55b58e36a1 [2020-06-17T18:39:49.482Z] ---> aa15331c9e05 [2020-06-17T18:39:49.482Z] Step 15/15 : LABEL version=0.0.0 [2020-06-17T18:39:49.482Z] ---> Running in a0cda61d4ba7 [2020-06-17T18:39:50.073Z] Removing intermediate container a0cda61d4ba7 [2020-06-17T18:39:50.073Z] ---> bb61548929ca [2020-06-17T18:39:50.073Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2020-06-17T18:39:50.073Z] Successfully built bb61548929ca [2020-06-17T18:39:50.073Z] Successfully tagged docker-device-sdk-c-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-06-17T18:39:52.285Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-17T18:39:52.874Z] ---> package-listing.sh [2020-06-17T18:39:52.874Z] ++ facter osfamily [2020-06-17T18:39:52.874Z] ++ tr '[:upper:]' '[:lower:]' [2020-06-17T18:39:52.874Z] + OS_FAMILY=redhat [2020-06-17T18:39:52.874Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-270 [2020-06-17T18:39:52.874Z] + START_PACKAGES=/tmp/packages_start.txt [2020-06-17T18:39:52.874Z] + END_PACKAGES=/tmp/packages_end.txt [2020-06-17T18:39:52.874Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-06-17T18:39:52.874Z] + PACKAGES=/tmp/packages_start.txt [2020-06-17T18:39:52.874Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-270 ']' [2020-06-17T18:39:52.874Z] + PACKAGES=/tmp/packages_end.txt [2020-06-17T18:39:52.874Z] + case "${OS_FAMILY}" in [2020-06-17T18:39:52.874Z] + rpm -qa [2020-06-17T18:39:52.874Z] + sort [2020-06-17T18:39:57.086Z] + '[' -f /tmp/packages_start.txt ']' [2020-06-17T18:39:57.086Z] + '[' -f /tmp/packages_end.txt ']' [2020-06-17T18:39:57.086Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-06-17T18:39:57.086Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-270 ']' [2020-06-17T18:39:57.086Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-270/archives/ [2020-06-17T18:39:57.086Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-270/archives/ [Pipeline] isUnix [Pipeline] sh [2020-06-17T18:39:57.723Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-17T18:39:57.723Z] [2020-06-17T18:39:57.723Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-06-17T18:39:58.070Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-17T18:39:58.070Z] alpine: Pulling from edgex-lftools-log-publisher [2020-06-17T18:39:58.070Z] c9b1b535fdd9: Pulling fs layer [2020-06-17T18:39:58.070Z] 2cc5ad85d9ab: Pulling fs layer [2020-06-17T18:39:58.070Z] 756a868c4378: Pulling fs layer [2020-06-17T18:39:58.070Z] 444b2fc9a129: Pulling fs layer [2020-06-17T18:39:58.071Z] ea15f1150254: Pulling fs layer [2020-06-17T18:39:58.071Z] 41b27a9f41bf: Pulling fs layer [2020-06-17T18:39:58.071Z] 444b2fc9a129: Waiting [2020-06-17T18:39:58.071Z] 28c525ee5125: Pulling fs layer [2020-06-17T18:39:58.071Z] 094b1ea09ed8: Pulling fs layer [2020-06-17T18:39:58.071Z] 138eaada9080: Pulling fs layer [2020-06-17T18:39:58.071Z] 0622d0fa9048: Pulling fs layer [2020-06-17T18:39:58.071Z] 28c525ee5125: Waiting [2020-06-17T18:39:58.071Z] 41b27a9f41bf: Waiting [2020-06-17T18:39:58.071Z] 094b1ea09ed8: Waiting [2020-06-17T18:39:58.071Z] 138eaada9080: Waiting [2020-06-17T18:39:58.071Z] 2cc5ad85d9ab: Verifying Checksum [2020-06-17T18:39:58.071Z] 2cc5ad85d9ab: Download complete [2020-06-17T18:39:58.071Z] 444b2fc9a129: Verifying Checksum [2020-06-17T18:39:58.071Z] 444b2fc9a129: Download complete [2020-06-17T18:39:58.071Z] c9b1b535fdd9: Verifying Checksum [2020-06-17T18:39:58.071Z] c9b1b535fdd9: Download complete [2020-06-17T18:39:58.071Z] ea15f1150254: Verifying Checksum [2020-06-17T18:39:58.071Z] ea15f1150254: Download complete [2020-06-17T18:39:58.071Z] 28c525ee5125: Verifying Checksum [2020-06-17T18:39:58.071Z] 28c525ee5125: Download complete [2020-06-17T18:39:58.337Z] c9b1b535fdd9: Pull complete [2020-06-17T18:39:58.609Z] 2cc5ad85d9ab: Pull complete [2020-06-17T18:39:58.881Z] 756a868c4378: Verifying Checksum [2020-06-17T18:39:58.881Z] 756a868c4378: Download complete [2020-06-17T18:39:58.881Z] 138eaada9080: Verifying Checksum [2020-06-17T18:39:58.881Z] 138eaada9080: Download complete [2020-06-17T18:39:58.881Z] 0622d0fa9048: Verifying Checksum [2020-06-17T18:39:58.881Z] 0622d0fa9048: Download complete [2020-06-17T18:39:58.881Z] 094b1ea09ed8: Verifying Checksum [2020-06-17T18:39:58.881Z] 094b1ea09ed8: Download complete [2020-06-17T18:39:59.464Z] 41b27a9f41bf: Verifying Checksum [2020-06-17T18:39:59.464Z] 41b27a9f41bf: Download complete [2020-06-17T18:40:00.411Z] 756a868c4378: Pull complete [2020-06-17T18:40:00.412Z] 444b2fc9a129: Pull complete [2020-06-17T18:40:00.686Z] ea15f1150254: Pull complete [2020-06-17T18:40:04.946Z] 41b27a9f41bf: Pull complete [2020-06-17T18:40:04.946Z] 28c525ee5125: Pull complete [2020-06-17T18:40:07.518Z] 094b1ea09ed8: Pull complete [2020-06-17T18:40:07.518Z] 138eaada9080: Pull complete [2020-06-17T18:40:07.518Z] 0622d0fa9048: Pull complete [2020-06-17T18:40:07.518Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-06-17T18:40:07.518Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-17T18:40:07.518Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-06-17T18:40:07.665Z] prd-centos7-docker-4c-2g-3384 does not seem to be running inside a container [2020-06-17T18:40:07.718Z] $ 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-270 -v /w/workspace/edgexfoundry_device-sdk-c_PR-270:/w/workspace/edgexfoundry_device-sdk-c_PR-270:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-270@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-270@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-06-17T18:40:11.161Z] $ docker top 2a36757bb5188ecccf0db4d37d4c6f2a430c8ac0dff322adf0b1507d03fb8161 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-06-17T18:40:11.407Z] provisioning config files... [2020-06-17T18:40:11.425Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-270@tmp/config975460053926307807tmp [Pipeline] { [Pipeline] echo [2020-06-17T18:40:11.488Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-17T18:40:11.809Z] ---> create-netrc.sh [Pipeline] echo [2020-06-17T18:40:11.836Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-17T18:40:12.160Z] ---> logs-deploy.sh [2020-06-17T18:40:12.160Z] + ARCHIVE_ARTIFACTS= [2020-06-17T18:40:12.160Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-06-17T18:40:12.160Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-06-17T18:40:12.160Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-06-17T18:40:12.160Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-270/1 [2020-06-17T18:40:12.160Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-270/1/ [2020-06-17T18:40:12.160Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-270/1 /w/workspace/edgexfoundry_device-sdk-c_PR-270 [2020-06-17T18:40:13.545Z] Archives upload complete. [2020-06-17T18:40:13.545Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-270/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-270/1/