Pull request #265 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 6fa5a9f218fdd16d396870288889757eaab29030+1aa8105ebf83a2c75f03f15ed04b88c76ed291ae (5409a11f76518272581e1b6dea1130a23fd41935) 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-265/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.9-base, dockerFilePath:scripts/Dockerfile.alpine-3.9, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine-3.9 DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-3.9-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-c DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-1865 in /w/workspace/edgexfoundry_device-sdk-c_PR-265 [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-265 # 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/265/head:refs/remotes/origin/PR-265 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 1aa8105ebf83a2c75f03f15ed04b88c76ed291ae into PR head commit 6fa5a9f218fdd16d396870288889757eaab29030 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/265/head:refs/remotes/origin/PR-265 # 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/265/head:refs/remotes/origin/PR-265 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merge succeeded, producing 6fa5a9f218fdd16d396870288889757eaab29030 Checking out Revision 6fa5a9f218fdd16d396870288889757eaab29030 (PR-265) > git config core.sparsecheckout # timeout=10 > git checkout -f 6fa5a9f218fdd16d396870288889757eaab29030 # 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 1aa8105ebf83a2c75f03f15ed04b88c76ed291ae # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6fa5a9f218fdd16d396870288889757eaab29030 # timeout=10 Commit message: "fix: v1 compat issues * translation of request structure * memleak in post_readings" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:13:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:13:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:13:39 ========================================================= 13:13:39 EdgeX Global Pipelines Version Info 13:13:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:13:41 ------------------- 13:13:41 stable info: 13:13:41 ------------------- 13:13:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:13:41 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 13:13:41 Message: update stable to v1.0.89 13:13:42 ------------------- 13:13:42 experimental info: 13:13:42 ------------------- 13:13:42 Commited By: **** collab-it+edgex@linuxfoundation.org 13:13:42 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 13:13:42 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 13:13:44 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:13:44 13:13:44 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 13:13:45 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:13:45 latest: Pulling from edgex-devops/git-semver 13:13:45 9123ac7c32f7: Pulling fs layer 13:13:45 b8cc5d1170e3: Pulling fs layer 13:13:45 2924cbbf6a41: Pulling fs layer 13:13:45 93b08a4f1073: Pulling fs layer 13:13:45 93b08a4f1073: Waiting 13:13:45 b8cc5d1170e3: Verifying Checksum 13:13:45 b8cc5d1170e3: Download complete 13:13:45 9123ac7c32f7: Verifying Checksum 13:13:45 9123ac7c32f7: Download complete 13:13:46 93b08a4f1073: Verifying Checksum 13:13:46 93b08a4f1073: Download complete 13:13:46 2924cbbf6a41: Verifying Checksum 13:13:46 2924cbbf6a41: Download complete 13:13:46 9123ac7c32f7: Pull complete 13:13:46 b8cc5d1170e3: Pull complete 13:13:48 2924cbbf6a41: Pull complete 13:13:48 93b08a4f1073: Pull complete 13:13:48 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 13:13:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 13:13:49 prd-centos7-docker-4c-2g-1865 does not seem to be running inside a container 13:13:49 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-265 -v /w/workspace/edgexfoundry_device-sdk-c_PR-265:/w/workspace/edgexfoundry_device-sdk-c_PR-265:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-265@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 13:13:50 $ docker top d5e0bb251bdadde438cef1271cdc1e2c146fcac47340cf1320c3028c1bbf5229 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:13:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:13:50 [ssh-agent] Looking for ssh-agent implementation... 13:13:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:13:51 $ docker exec d5e0bb251bdadde438cef1271cdc1e2c146fcac47340cf1320c3028c1bbf5229 ssh-agent 13:13:51 SSH_AUTH_SOCK=/tmp/ssh-eh5aoiYXj573/agent.15 13:13:51 SSH_AGENT_PID=22 13:13:51 Running ssh-add (command line suppressed) 13:13:52 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-265@tmp/private_key_9219465874544428644.key (/w/workspace/edgexfoundry_device-sdk-c_PR-265@tmp/private_key_9219465874544428644.key) 13:13:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:13:53 + git describe --exact-match --tags HEAD 13:13:53 fatal: No names found, cannot describe anything. [Pipeline] } 13:13:53 $ docker exec --env ******** --env ******** d5e0bb251bdadde438cef1271cdc1e2c146fcac47340cf1320c3028c1bbf5229 ssh-agent -k 13:13:53 unset SSH_AUTH_SOCK; 13:13:53 unset SSH_AGENT_PID; 13:13:53 echo Agent pid 22 killed; 13:13:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 13:13:54 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 13:13:54 This usually means this commit has not been tagged. [Pipeline] sshagent 13:13:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:13:54 [ssh-agent] Looking for ssh-agent implementation... 13:13:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:13:54 $ docker exec d5e0bb251bdadde438cef1271cdc1e2c146fcac47340cf1320c3028c1bbf5229 ssh-agent 13:13:55 SSH_AUTH_SOCK=/tmp/ssh-qBtYm7k8ajO3/agent.57 13:13:55 SSH_AGENT_PID=64 13:13:55 Running ssh-add (command line suppressed) 13:13:55 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-265@tmp/private_key_4932433787163842422.key (/w/workspace/edgexfoundry_device-sdk-c_PR-265@tmp/private_key_4932433787163842422.key) 13:13:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:13:56 + git semver init 13:13:56 # -> Open(): unable to determine branch for HEAD 13:13:56 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-265/.git 13:13:56 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-265 13:13:56 # $SEMVER_REMOTE_NAME = origin 13:13:56 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 13:13:56 # $SEMVER_USER_NAME = edgex-jenkins 13:13:56 # $SEMVER_BRANCH = PR-265 13:13:56 # $SEMVER_TEMP = /tmp/semver-023083710 13:13:56 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 13:13:57 # '/tmp/semver-023083710' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-265/.semver' 13:13:57 # -> Force: false 13:13:57 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-265/.semver [Pipeline] } 13:13:57 $ docker exec --env ******** --env ******** d5e0bb251bdadde438cef1271cdc1e2c146fcac47340cf1320c3028c1bbf5229 ssh-agent -k 13:13:58 unset SSH_AUTH_SOCK; 13:13:58 unset SSH_AGENT_PID; 13:13:58 echo Agent pid 64 killed; 13:13:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:13:59 + git semver [Pipeline] } 13:13:59 $ docker stop --time=1 d5e0bb251bdadde438cef1271cdc1e2c146fcac47340cf1320c3028c1bbf5229 13:14:00 $ docker rm -f d5e0bb251bdadde438cef1271cdc1e2c146fcac47340cf1320c3028c1bbf5229 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 13:14:02 Stashed 45 file(s) [Pipeline] echo 13:14:02 [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 13:14:18 Still waiting to schedule task 13:14:18 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1865’ 13:14:18 Still waiting to schedule task 13:14:18 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 13:16:08 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1866 in /w/workspace/edgexfoundry_device-sdk-c_PR-265 [Pipeline] { [Pipeline] ws 13:16:08 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 13:16:15 using credential edgex-jenkins-ssh 13:16:15 Cloning the remote Git repository 13:16:15 Cloning with configured refspecs honoured and without tags 13:16:15 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 13:16:15 > git init /w/workspace/device-sdk-c/1 # timeout=10 13:16:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:16:15 > git --version # timeout=10 13:16:15 using GIT_SSH to set credentials SSH Credentials for GitHub 13:16:15 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/265/head:refs/remotes/origin/PR-265 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:16:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:16:16 > git config --add remote.origin.fetch +refs/pull/265/head:refs/remotes/origin/PR-265 # timeout=10 13:16:16 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 13:16:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:16:16 Fetching without tags 13:16:17 Merging remotes/origin/master commit 1aa8105ebf83a2c75f03f15ed04b88c76ed291ae into PR head commit 6fa5a9f218fdd16d396870288889757eaab29030 13:16:18 Merge succeeded, producing 6fa5a9f218fdd16d396870288889757eaab29030 13:16:18 Checking out Revision 6fa5a9f218fdd16d396870288889757eaab29030 (PR-265) 13:16:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:16:16 using GIT_SSH to set credentials SSH Credentials for GitHub 13:16:16 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/265/head:refs/remotes/origin/PR-265 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:16:17 > git config core.sparsecheckout # timeout=10 13:16:17 > git checkout -f 6fa5a9f218fdd16d396870288889757eaab29030 # timeout=10 13:16:17 > git remote # timeout=10 13:16:17 > git config --get remote.origin.url # timeout=10 13:16:17 using GIT_SSH to set credentials SSH Credentials for GitHub 13:16:17 > git merge 1aa8105ebf83a2c75f03f15ed04b88c76ed291ae # timeout=10 13:16:17 > git rev-parse HEAD^{commit} # timeout=10 13:16:18 > git config core.sparsecheckout # timeout=10 13:16:18 > git checkout -f 6fa5a9f218fdd16d396870288889757eaab29030 # timeout=10 13:16:22 Commit message: "fix: v1 compat issues * translation of request structure * memleak in post_readings" 13:16:22 > git --version # timeout=10 13:16:22 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 13:16:24 ========================================================= 13:16:24 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 13:16:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 13:16:25 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-3.9-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 13:16:26 Sending build context to Docker daemon 3.248MB 13:16:26 Step 1/21 : ARG BASE=alpine:3.9 13:16:26 Step 2/21 : FROM ${BASE} as builder 13:16:26 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 13:16:26 0362ad1dd800: Pulling fs layer 13:16:26 f2cdb1532d8b: Pulling fs layer 13:16:26 37ed683be191: Pulling fs layer 13:16:26 f2cdb1532d8b: Verifying Checksum 13:16:26 f2cdb1532d8b: Download complete 13:16:26 0362ad1dd800: Verifying Checksum 13:16:26 0362ad1dd800: Download complete 13:16:27 0362ad1dd800: Pull complete 13:16:27 f2cdb1532d8b: Pull complete 13:16:34 37ed683be191: Verifying Checksum 13:16:34 37ed683be191: Download complete 13:16:38 Running on prd-centos7-docker-4c-2g-1867 in /w/workspace/edgexfoundry_device-sdk-c_PR-265 [Pipeline] { [Pipeline] ws 13:16:38 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 13:16:40 using credential edgex-jenkins-ssh 13:16:40 Cloning the remote Git repository 13:16:40 Cloning with configured refspecs honoured and without tags 13:16:40 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 13:16:40 > git init /w/workspace/device-sdk-c/1 # timeout=10 13:16:40 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:16:40 > git --version # timeout=10 13:16:40 using GIT_SSH to set credentials SSH Credentials for GitHub 13:16:40 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/265/head:refs/remotes/origin/PR-265 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:16:41 Fetching without tags 13:16:41 Merging remotes/origin/master commit 1aa8105ebf83a2c75f03f15ed04b88c76ed291ae into PR head commit 6fa5a9f218fdd16d396870288889757eaab29030 13:16:41 Merge succeeded, producing 6fa5a9f218fdd16d396870288889757eaab29030 13:16:41 Checking out Revision 6fa5a9f218fdd16d396870288889757eaab29030 (PR-265) 13:16:41 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:16:41 > git config --add remote.origin.fetch +refs/pull/265/head:refs/remotes/origin/PR-265 # timeout=10 13:16:41 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 13:16:41 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:16:41 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:16:41 using GIT_SSH to set credentials SSH Credentials for GitHub 13:16:41 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/265/head:refs/remotes/origin/PR-265 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:16:41 > git config core.sparsecheckout # timeout=10 13:16:41 > git checkout -f 6fa5a9f218fdd16d396870288889757eaab29030 # timeout=10 13:16:41 > git remote # timeout=10 13:16:41 > git config --get remote.origin.url # timeout=10 13:16:41 using GIT_SSH to set credentials SSH Credentials for GitHub 13:16:41 > git merge 1aa8105ebf83a2c75f03f15ed04b88c76ed291ae # timeout=10 13:16:41 > git rev-parse HEAD^{commit} # timeout=10 13:16:41 > git config core.sparsecheckout # timeout=10 13:16:41 > git checkout -f 6fa5a9f218fdd16d396870288889757eaab29030 # timeout=10 13:16:44 37ed683be191: Pull complete 13:16:44 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 13:16:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 13:16:44 ---> b23d30803547 13:16:44 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 13:16:45 Commit message: "fix: v1 compat issues * translation of request structure * memleak in post_readings" 13:16:45 > git --version # timeout=10 13:16:45 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 13:16:46 ========================================================= 13:16:46 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 13:16:46 ========================================================= [Pipeline] isUnix [Pipeline] sh 13:16:46 ---> Running in 892e14310845 13:16:46 + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-3.9-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . 13:16:47 Sending build context to Docker daemon 3.248MB 13:16:47 Step 1/21 : ARG BASE=alpine:3.9 13:16:47 Step 2/21 : FROM ${BASE} as builder 13:16:47 latest: Pulling from edgex-devops/edgex-gcc-base 13:16:47 e7c96db7181b: Pulling fs layer 13:16:47 4c13bbce0fe7: Pulling fs layer 13:16:47 6059c847ac2f: Pulling fs layer 13:16:47 4c13bbce0fe7: Verifying Checksum 13:16:47 4c13bbce0fe7: Download complete 13:16:47 e7c96db7181b: Verifying Checksum 13:16:47 e7c96db7181b: Download complete 13:16:47 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 13:16:47 e7c96db7181b: Pull complete 13:16:47 4c13bbce0fe7: Pull complete 13:16:48 6059c847ac2f: Verifying Checksum 13:16:48 6059c847ac2f: Download complete 13:16:48 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 13:16:49 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 13:16:49 (2/8) Installing libuuid (2.33-r0) 13:16:49 (3/8) Installing libblkid (2.33-r0) 13:16:49 (4/8) Installing libfdisk (2.33-r0) 13:16:49 (5/8) Installing libmount (2.33-r0) 13:16:49 (6/8) Installing libsmartcols (2.33-r0) 13:16:49 (7/8) Installing util-linux-dev (2.33-r0) 13:16:49 (8/8) Installing wget (1.20.3-r0) 13:16:49 Executing busybox-1.29.3-r10.trigger 13:16:49 OK: 285 MiB in 83 packages 13:16:51 Removing intermediate container 892e14310845 13:16:51 ---> cd23aa2d24be 13:16:51 Step 4/21 : ENV CBOR_VERSION=0.5.0 13:16:51 ---> Running in affde242bbc8 13:16:52 Removing intermediate container affde242bbc8 13:16:52 ---> 388a56dd6bed 13:16:52 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 13:16:52 ---> Running in 88dacb813ef1 13:16:52 6059c847ac2f: Pull complete 13:16:52 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 13:16:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 13:16:52 ---> 5eabd8fd8ba2 13:16:52 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 13:16:52 ---> Running in 422b5553f668 13:16:52 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 13:16:53 --2020-06-04 13:16:53-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 13:16:53 Resolving github.com... 140.82.114.3 13:16:53 Connecting to github.com|140.82.114.3|:443... connected. 13:16:53 HTTP request sent, awaiting response... 302 Found 13:16:53 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 13:16:53 --2020-06-04 13:16:53-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 13:16:53 Resolving codeload.github.com... 140.82.112.9 13:16:53 Connecting to codeload.github.com|140.82.112.9|:443... connected. 13:16:53 HTTP request sent, awaiting response... 200 OK 13:16:53 Length: unspecified [application/x-gzip] 13:16:53 Saving to: 'STDOUT' 13:16:53  13:16:53 0K .......... .......... .......... .......... .......... 1.62M 13:16:53 50K .......... .......... .......... .......... .......... 3.15M 13:16:53 100K .......... .......... .......... .......... .......... 11.9M 13:16:53 150K .......... .......... .......... .......... .......... 13.8M 13:16:53 200K .......... .......... .......... .......... .......... 4.64M 13:16:53 250K .......... .......... .......... .......... .......... 5.49M 13:16:53 300K .......... .......... .......... .......... .......... 3.21M 13:16:53 350K .......... .......... .......... .......... .......... 5.36M 13:16:53 400K .......... .......... .......... .......... .......... 3.85M 13:16:53 450K .......... .......... .......... .......... .......... 4.36M 13:16:53 500K .......... .......... .......... .......... .......... 5.79M 13:16:53 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 13:16:53 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 13:16:53 (2/8) Installing libuuid (2.33-r0) 13:16:53 550K .......... .......... .......... .......... .......... 2.58M 13:16:53 600K .......... .......... .......... .......... .......... 897K 13:16:53 650K .......... .......... .......... .......... .......... 2.16M 13:16:53 700K ..    595K=0.2s 13:16:53 13:16:53 2020-06-04 13:16:53 (2.97 MB/s) - written to stdout [719348] 13:16:53 13:16:54 (3/8) Installing libblkid (2.33-r0) 13:16:54 (4/8) Installing libfdisk (2.33-r0) 13:16:54 (5/8) Installing libmount (2.33-r0) 13:16:54 -- The C compiler identification is GNU 8.3.0 13:16:54 (6/8) Installing libsmartcols (2.33-r0) 13:16:54 (7/8) Installing util-linux-dev (2.33-r0) 13:16:54 -- The CXX compiler identification is GNU 8.3.0 13:16:54 -- Check for working C compiler: /usr/bin/cc 13:16:54 (8/8) Installing wget (1.20.3-r0) 13:16:54 -- Check for working C compiler: /usr/bin/cc -- works 13:16:54 -- Detecting C compiler ABI info 13:16:54 Executing busybox-1.29.3-r10.trigger 13:16:54 OK: 272 MiB in 83 packages 13:16:54 -- Detecting C compiler ABI info - done 13:16:54 -- Detecting C compile features 13:16:55 Removing intermediate container 422b5553f668 13:16:55 ---> 03bdf68ddfad 13:16:55 Step 4/21 : ENV CBOR_VERSION=0.5.0 13:16:55 ---> Running in 18aa859f021e 13:16:55 Removing intermediate container 18aa859f021e 13:16:55 ---> 70da4b32409a 13:16:55 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 13:16:55 ---> Running in 517dc54e1762 13:16:55 -- Detecting C compile features - done 13:16:55 -- Check for working CXX compiler: /usr/bin/c++ 13:16:55 -- Check for working CXX compiler: /usr/bin/c++ -- works 13:16:55 -- Detecting CXX compiler ABI info 13:16:56 --2020-06-04 13:16:55-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 13:16:56 Resolving github.com... 140.82.114.4 13:16:56 Connecting to github.com|140.82.114.4|:443... connected. 13:16:56 HTTP request sent, awaiting response... 302 Found 13:16:56 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 13:16:56 --2020-06-04 13:16:55-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 13:16:56 Resolving codeload.github.com... 140.82.114.10 13:16:56 Connecting to codeload.github.com|140.82.114.10|:443... connected. 13:16:56 HTTP request sent, awaiting response... 200 OK 13:16:56 Length: unspecified [application/x-gzip] 13:16:56 Saving to: 'STDOUT' 13:16:56  13:16:56 0K .......... .......... .......... .......... .......... 1.61M 13:16:56 50K .......... .......... .......... .......... .......... 3.14M 13:16:56 100K .......... .......... .......... .......... .......... 43.3M 13:16:56 -- Detecting CXX compiler ABI info - done 13:16:56 -- Detecting CXX compile features 13:16:56 150K .......... .......... .......... .......... .......... 3.55M 13:16:56 200K .......... .......... .......... .......... .......... 27.7M 13:16:56 250K .......... .......... .......... .......... .......... 13.4M 13:16:56 300K .......... .......... .......... .......... .......... 7.83M 13:16:56 350K .......... .......... .......... .......... .......... 7.60M 13:16:56 400K .......... .......... .......... .......... .......... 10.7M 13:16:56 450K .......... .......... .......... .......... .......... 7.08M 13:16:56 500K .......... .......... .......... .......... .......... 26.6M 13:16:56 550K .......... .......... .......... .......... .......... 4.91M 13:16:56 600K .......... .......... .......... .......... .......... 2.61M 13:16:56 650K .......... .......... .......... .......... .......... 4.92M 13:16:56 700K .. 49.3M=0.1s 13:16:56 13:16:56 2020-06-04 13:16:56 (5.25 MB/s) - written to stdout [719348] 13:16:56 13:16:56 -- The C compiler identification is GNU 8.3.0 13:16:56 -- The CXX compiler identification is GNU 8.3.0 13:16:56 -- Check for working C compiler: /usr/bin/cc 13:16:56 -- Check for working C compiler: /usr/bin/cc -- works 13:16:56 -- Detecting C compiler ABI info 13:16:56 -- Detecting C compiler ABI info - done 13:16:56 -- Detecting C compile features 13:16:56 -- Detecting C compile features - done 13:16:56 -- Check for working CXX compiler: /usr/bin/c++ 13:16:56 -- Check for working CXX compiler: /usr/bin/c++ -- works 13:16:56 -- Detecting CXX compiler ABI info 13:16:57 -- Detecting CXX compiler ABI info - done 13:16:57 -- Detecting CXX compile features 13:16:57 -- Detecting CXX compile features - done 13:16:57 -- Looking for include file endian.h 13:16:57 -- Looking for include file endian.h - found 13:16:57 -- Check if the system is big endian 13:16:57 -- Searching 16 bit integer 13:16:57 -- Looking for sys/types.h 13:16:57 -- Looking for sys/types.h - found 13:16:57 -- Looking for stdint.h 13:16:57 -- Looking for stdint.h - found 13:16:57 -- Looking for stddef.h 13:16:57 -- Looking for stddef.h - found 13:16:57 -- Check size of unsigned short 13:16:57 -- Check size of unsigned short - done 13:16:57 -- Using unsigned short 13:16:57 -- Check if the system is big endian - little endian 13:16:57 -- Check size of size_t 13:16:57 -- Check size of size_t - done 13:16:58 -- Detecting CXX compile features - done 13:16:58 -- Looking for include file endian.h 13:16:58 -- Looking for include file endian.h - found 13:16:58 -- Check if the system is big endian 13:16:58 -- Searching 16 bit integer 13:16:58 -- Looking for sys/types.h 13:16:58 CMake Warning at examples/CMakeLists.txt:16 (find_package): 13:16:58 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 13:16:58 asked CMake to find a package configuration file provided by "cJSON", but 13:16:58 CMake did not find one. 13:16:58 13:16:58 Could not find a package configuration file provided by "cJSON" with any of 13:16:58 the following names: 13:16:58 13:16:58 cJSONConfig.cmake 13:16:58 cjson-config.cmake 13:16:58 13:16:58 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 13:16:58 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 13:16:58 provides a separate development package or SDK, be sure it has been 13:16:58 installed. 13:16:58 13:16:58 13:16:58 -- Configuring done 13:16:58 -- Generating done 13:16:58 -- Build files have been written to: /tmp/cbor 13:16:58 Scanning dependencies of target cbor_shared 13:16:58 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 13:16:58 -- Looking for sys/types.h - found 13:16:58 -- Looking for stdint.h 13:16:58 -- Looking for stdint.h - found 13:16:58 -- Looking for stddef.h 13:16:58 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 13:16:58 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 13:16:58 -- Looking for stddef.h - found 13:16:58 -- Check size of unsigned short 13:16:58 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 13:16:58 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 13:16:58 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 13:16:58 -- Check size of unsigned short - done 13:16:58 -- Using unsigned short 13:16:58 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 13:16:58 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 13:16:58 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 13:16:58 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 13:16:59 -- Check if the system is big endian - little endian 13:16:59 -- Check size of size_t 13:16:59 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 13:16:59 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 13:16:59 -- Check size of size_t - done 13:16:59 CMake Warning at examples/CMakeLists.txt:16 (find_package): 13:16:59 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 13:16:59 asked CMake to find a package configuration file provided by "cJSON", but 13:16:59 CMake did not find one. 13:16:59 13:16:59 Could not find a package configuration file provided by "cJSON" with any of 13:16:59 the following names: 13:16:59 13:16:59 cJSONConfig.cmake 13:16:59 cjson-config.cmake 13:16:59 13:16:59 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 13:16:59 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 13:16:59 provides a separate development package or SDK, be sure it has been 13:16:59 installed. 13:16:59 13:16:59 13:16:59 -- Configuring done 13:16:59 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 13:16:59 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 13:16:59 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 13:16:59 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 13:16:59 -- Generating done 13:16:59 -- Build files have been written to: /tmp/cbor 13:16:59 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 13:16:59 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 13:16:59 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 13:17:00 Scanning dependencies of target cbor_shared 13:17:00 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 13:17:00 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 13:17:00 [ 40%] Linking C shared library libcbor.so 13:17:00 [ 40%] Built target cbor_shared 13:17:00 Scanning dependencies of target cbor 13:17:00 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 13:17:00 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 13:17:00 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 13:17:00 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 13:17:00 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 13:17:00 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 13:17:00 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 13:17:00 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 13:17:00 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 13:17:00 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 13:17:01 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 13:17:01 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 13:17:01 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 13:17:01 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 13:17:01 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 13:17:01 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 13:17:01 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 13:17:01 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 13:17:01 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 13:17:01 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 13:17:01 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 13:17:01 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 13:17:01 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 13:17:02 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 13:17:02 [ 80%] Linking C static library libcbor.a 13:17:02 [ 80%] Built target cbor 13:17:02 Scanning dependencies of target create_items 13:17:02 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 13:17:02 [ 84%] Linking C executable create_items 13:17:02 [ 84%] Built target create_items 13:17:02 Scanning dependencies of target readfile 13:17:02 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 13:17:02 [ 88%] Linking C executable readfile 13:17:02 [ 88%] Built target readfile 13:17:02 Scanning dependencies of target streaming_parser 13:17:02 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 13:17:02 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 13:17:02 [ 92%] Linking C executable streaming_parser 13:17:02 [ 92%] Built target streaming_parser 13:17:02 Scanning dependencies of target sort 13:17:02 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 13:17:02 [ 96%] Linking C executable sort 13:17:02 [ 96%] Built target sort 13:17:02 Scanning dependencies of target hello 13:17:02 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 13:17:02 [100%] Linking C executable hello 13:17:02 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 13:17:02 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 13:17:02 [100%] Built target hello 13:17:02 Install the project... 13:17:02 -- Install configuration: "Release" 13:17:02 -- Installing: /usr/local/include/cbor/configuration.h 13:17:02 -- Installing: /usr/local/lib64/libcbor.a 13:17:02 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 13:17:02 -- Installing: /usr/local/lib64/libcbor.so.0 13:17:02 -- Installing: /usr/local/lib64/libcbor.so 13:17:02 -- Up-to-date: /usr/local/include/cbor 13:17:02 -- Installing: /usr/local/include/cbor/arrays.h 13:17:02 -- Installing: /usr/local/include/cbor/bytestrings.h 13:17:02 -- Installing: /usr/local/include/cbor/callbacks.h 13:17:02 -- Installing: /usr/local/include/cbor/common.h 13:17:02 -- Installing: /usr/local/include/cbor/data.h 13:17:02 -- Installing: /usr/local/include/cbor/encoding.h 13:17:02 -- Installing: /usr/local/include/cbor/floats_ctrls.h 13:17:02 -- Installing: /usr/local/include/cbor/internal 13:17:02 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 13:17:02 -- Installing: /usr/local/include/cbor/internal/encoders.h 13:17:02 -- Installing: /usr/local/include/cbor/internal/loaders.h 13:17:02 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 13:17:02 -- Installing: /usr/local/include/cbor/internal/stack.h 13:17:02 -- Installing: /usr/local/include/cbor/internal/unicode.h 13:17:02 -- Installing: /usr/local/include/cbor/ints.h 13:17:02 -- Installing: /usr/local/include/cbor/maps.h 13:17:02 -- Installing: /usr/local/include/cbor/serialization.h 13:17:02 -- Installing: /usr/local/include/cbor/streaming.h 13:17:02 -- Installing: /usr/local/include/cbor/strings.h 13:17:02 -- Installing: /usr/local/include/cbor/tags.h 13:17:02 -- Installing: /usr/local/include/cbor.h 13:17:02 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 13:17:02 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 13:17:03 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 13:17:03 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 13:17:04 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 13:17:04 Removing intermediate container 517dc54e1762 13:17:04 ---> 8ca95ede412e 13:17:04 Step 6/21 : RUN mkdir /tmp/sdk 13:17:04 ---> Running in 290a9bcaf6a0 13:17:04 Removing intermediate container 290a9bcaf6a0 13:17:04 ---> fc5f345c9fee 13:17:04 Step 7/21 : COPY VERSION /tmp/sdk 13:17:04 ---> 12f5ccf76748 13:17:04 Step 8/21 : COPY src /tmp/sdk/src 13:17:04 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 13:17:04 ---> 1c56ad05f0e5 13:17:04 Step 9/21 : COPY include /tmp/sdk/include 13:17:04 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 13:17:05 ---> becc7f6c1060 13:17:05 Step 10/21 : COPY scripts /tmp/sdk/scripts 13:17:05 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 13:17:05 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 13:17:05 ---> 8a563c893dfd 13:17:05 Step 11/21 : COPY LICENSE /tmp/sdk 13:17:05 ---> 324024f9261e 13:17:05 Step 12/21 : COPY Attribution.txt /tmp/sdk 13:17:05 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 13:17:05 ---> 8831f208ac11 13:17:05 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 13:17:05 ---> Running in 8d73124e6c22 13:17:05 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 13:17:05 + CPPCHECK=false 13:17:05 + DOCGEN=false 13:17:05 + TOMLVER=SDK-0.2 13:17:05 + CUTILVER=1.0.4 13:17:05 + '[' 0 -gt 0 ] 13:17:05 + readlink -f ./scripts/build.sh 13:17:05 + dirname /tmp/sdk/scripts/build.sh 13:17:05 + dirname /tmp/sdk/scripts 13:17:05 + ROOT=/tmp/sdk 13:17:05 + cd /tmp/sdk 13:17:05 + '[' '!' -d deps ] 13:17:05 + mkdir deps 13:17:05 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:17:05 + tar -C deps -z -x -f - 13:17:05 --2020-06-04 13:17:05-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:17:05 Resolving github.com... 140.82.114.4 13:17:05 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 13:17:06 Connecting to github.com|140.82.114.4|:443... connected. 13:17:06 HTTP request sent, awaiting response... 302 Found 13:17:06 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 13:17:06 --2020-06-04 13:17:06-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 13:17:06 Resolving codeload.github.com... 140.82.114.10 13:17:06 Connecting to codeload.github.com|140.82.114.10|:443... connected. 13:17:06 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 13:17:06 HTTP request sent, awaiting response... 200 OK 13:17:06 Length: unspecified [application/x-gzip] 13:17:06 Saving to: 'STDOUT' 13:17:06  13:17:06 0K .......... ...... 1.05M=0.02s 13:17:06 13:17:06 2020-06-04 13:17:06 (1.05 MB/s) - written to stdout [16451] 13:17:06 13:17:06 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 13:17:06 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz 13:17:06 + tar -C deps -z -x -f - 13:17:06 --2020-06-04 13:17:06-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz 13:17:06 Resolving github.com... 140.82.114.4 13:17:06 Connecting to github.com|140.82.114.4|:443... connected. 13:17:06 [ 40%] Linking C shared library libcbor.so 13:17:06 [ 40%] Built target cbor_shared 13:17:06 Scanning dependencies of target cbor 13:17:06 HTTP request sent, awaiting response... 302 Found 13:17:06 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] 13:17:06 --2020-06-04 13:17:06-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 13:17:06 Resolving codeload.github.com... 140.82.114.10 13:17:06 Connecting to codeload.github.com|140.82.114.10|:443... connected. 13:17:06 HTTP request sent, awaiting response... 200 OK 13:17:06 Length: unspecified [application/x-gzip] 13:17:06 Saving to: 'STDOUT' 13:17:06 13:17:06 0K .......... .......... .......... .......... .......... 1.34M 13:17:06 50K .......... .......... .......... .......... .......... 2.61M 13:17:06 100K .......... .......... .......... .......... .......... 51.9M 13:17:06 150K ........ 11.5M=0.06s 13:17:06 13:17:06 2020-06-04 13:17:06 (2.73 MB/s) - written to stdout [162267] 13:17:06 13:17:06 + mkdir -p src/c/iot 13:17:06 + 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 13:17:06 + mkdir -p include/iot 13:17:06 + 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 13:17:06 + mkdir -p include/iot/os 13:17:06 + 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 13:17:06 + mkdir -p /tmp/sdk/build/release 13:17:06 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 13:17:06 + cd /tmp/sdk/build/release 13:17:06 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 13:17:06 -- The C compiler identification is GNU 8.3.0 13:17:06 -- Check for working C compiler: /usr/bin/cc 13:17:06 -- Check for working C compiler: /usr/bin/cc -- works 13:17:06 -- Detecting C compiler ABI info 13:17:06 -- Detecting C compiler ABI info - done 13:17:06 -- Detecting C compile features 13:17:07 -- Detecting C compile features - done 13:17:07 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:17:07 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 13:17:07 -- Found LIBYAML: /usr/lib/libyaml.so 13:17:07 -- Found LIBUUID: /usr/lib/libuuid.so 13:17:07 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 13:17:07 -- C SDK 0.0.0 for Linux 13:17:07 -- Performing Test CSDK_HAVE_ATOMIC 13:17:07 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 13:17:07 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:17:07 -- Found Curses: /usr/lib/libcurses.so 13:17:07 -- Configuring done 13:17:07 -- Generating done 13:17:07 -- Build files have been written to: /tmp/sdk/build/release 13:17:07 + make 13:17:07 + tee release.log 13:17:07 Scanning dependencies of target csdk 13:17:07 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:17:07 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 13:17:07 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 13:17:08 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:17:08 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 13:17:08 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:17:08 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:17:08 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:17:08 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:17:09 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 13:17:09 [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:17:09 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:17:09 [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:17:09 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 13:17:09 [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:17:09 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 13:17:09 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:17:09 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 13:17:09 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:17:10 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 13:17:10 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 13:17:10 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 13:17:10 [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 13:17:10 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 13:17:10 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 13:17:10 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 13:17:11 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 13:17:11 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 13:17:11 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 13:17:11 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 13:17:11 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 13:17:11 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 13:17:11 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 13:17:11 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 13:17:11 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 13:17:12 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 13:17:12 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 13:17:12 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 13:17:12 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 13:17:12 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 13:17:12 [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:17:12 [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:17:12 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 13:17:12 [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 13:17:12 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 13:17:12 [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:17:13 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 13:17:13 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 13:17:13 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 13:17:13 [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:17:14 [ 80%] Linking C static library libcbor.a 13:17:14 [ 80%] Built target cbor 13:17:14 Scanning dependencies of target create_items 13:17:14 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 13:17:14 [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:17:14 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:17:14 [ 84%] Linking C executable create_items 13:17:14 [ 84%] Built target create_items 13:17:14 Scanning dependencies of target readfile 13:17:14 [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:17:14 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 13:17:14 [ 88%] Linking C executable readfile 13:17:14 [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:17:14 [ 88%] Built target readfile 13:17:14 Scanning dependencies of target streaming_parser 13:17:14 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 13:17:15 [ 92%] Linking C executable streaming_parser 13:17:15 [ 92%] Built target streaming_parser 13:17:15 Scanning dependencies of target sort 13:17:15 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 13:17:15 [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 13:17:15 [ 96%] Linking C executable sort 13:17:15 [ 96%] Built target sort 13:17:15 Scanning dependencies of target hello 13:17:15 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 13:17:15 [100%] Linking C executable hello 13:17:15 [100%] Built target hello 13:17:15 Install the project... 13:17:15 -- Install configuration: "Release" 13:17:15 -- Installing: /usr/local/include/cbor/configuration.h 13:17:15 -- Installing: /usr/local/lib64/libcbor.a 13:17:15 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 13:17:15 -- Installing: /usr/local/lib64/libcbor.so.0 13:17:15 -- Installing: /usr/local/lib64/libcbor.so 13:17:15 -- Up-to-date: /usr/local/include/cbor 13:17:15 -- Installing: /usr/local/include/cbor/common.h 13:17:15 -- Installing: /usr/local/include/cbor/serialization.h 13:17:15 -- Installing: /usr/local/include/cbor/encoding.h 13:17:15 -- Installing: /usr/local/include/cbor/maps.h 13:17:15 -- Installing: /usr/local/include/cbor/strings.h 13:17:15 -- Installing: /usr/local/include/cbor/arrays.h 13:17:15 -- Installing: /usr/local/include/cbor/internal 13:17:15 -- Installing: /usr/local/include/cbor/internal/loaders.h 13:17:15 -- Installing: /usr/local/include/cbor/internal/stack.h 13:17:15 -- Installing: /usr/local/include/cbor/internal/unicode.h 13:17:15 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 13:17:15 [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:17:15 -- Installing: /usr/local/include/cbor/internal/encoders.h 13:17:15 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 13:17:15 -- Installing: /usr/local/include/cbor/data.h 13:17:15 -- Installing: /usr/local/include/cbor/floats_ctrls.h 13:17:15 -- Installing: /usr/local/include/cbor/bytestrings.h 13:17:15 -- Installing: /usr/local/include/cbor/tags.h 13:17:15 -- Installing: /usr/local/include/cbor/streaming.h 13:17:15 -- Installing: /usr/local/include/cbor/ints.h 13:17:15 -- Installing: /usr/local/include/cbor/callbacks.h 13:17:15 -- Installing: /usr/local/include/cbor.h 13:17:15 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 13:17:16 [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 13:17:16 [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:17:16 [ 65%] Linking C shared library libcsdk.so 13:17:16 [ 65%] Built target csdk 13:17:16 Scanning dependencies of target template 13:17:16 [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:17:16 [ 68%] Linking C executable template 13:17:16 [ 68%] Built target template 13:17:16 Scanning dependencies of target device-counter 13:17:16 [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:17:16 [ 71%] Linking C executable device-counter 13:17:17 [ 71%] Built target device-counter 13:17:17 Scanning dependencies of target device-random 13:17:17 [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:17:17 [ 74%] Linking C executable device-random 13:17:17 [ 74%] Built target device-random 13:17:17 Scanning dependencies of target device-gyro 13:17:17 [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:17:17 [ 77%] Linking C executable device-gyro 13:17:17 [ 77%] Built target device-gyro 13:17:17 Scanning dependencies of target template-discovery 13:17:17 [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:17:17 [ 80%] Linking C executable template-discovery 13:17:17 [ 80%] Built target template-discovery 13:17:17 Scanning dependencies of target device-terminal 13:17:17 [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:17:17 [ 84%] Linking C executable device-terminal 13:17:17 [ 84%] Built target device-terminal 13:17:17 Scanning dependencies of target template2 13:17:17 [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o 13:17:18 [ 87%] Linking C executable template2 13:17:18 [ 87%] Built target template2 13:17:18 Scanning dependencies of target device-counterv2 13:17:18 [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o 13:17:18 [ 90%] Linking C executable device-counterv2 13:17:18 [ 90%] Built target device-counterv2 13:17:18 Scanning dependencies of target device-gyrov2 13:17:18 [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o 13:17:18 [ 93%] Linking C executable device-gyrov2 13:17:18 [ 93%] Built target device-gyrov2 13:17:18 Scanning dependencies of target device-randomv2 13:17:18 [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o 13:17:18 Removing intermediate container 88dacb813ef1 13:17:18 ---> ad7210923fda 13:17:18 Step 6/21 : RUN mkdir /tmp/sdk 13:17:18 ---> Running in e886bae66618 13:17:18 [ 96%] Linking C executable device-randomv2 13:17:18 [ 96%] Built target device-randomv2 13:17:18 Scanning dependencies of target device-terminalv2 13:17:18 [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o 13:17:18 [100%] Linking C executable device-terminalv2 13:17:18 [100%] Built target device-terminalv2 13:17:18 + make package 13:17:18 + tee -a release.log 13:17:18 [ 65%] Built target csdk 13:17:18 [ 68%] Built target template 13:17:18 [ 71%] Built target device-counter 13:17:18 [ 74%] Built target device-random 13:17:18 [ 77%] Built target device-gyro 13:17:18 [ 80%] Built target template-discovery 13:17:19 [ 84%] Built target device-terminal 13:17:19 [ 87%] Built target template2 13:17:19 [ 90%] Built target device-counterv2 13:17:19 [ 93%] Built target device-gyrov2 13:17:19 [ 96%] Built target device-randomv2 13:17:19 [100%] Built target device-terminalv2 13:17:19 Run CPack packaging tool... 13:17:19 CPack: Create package using TGZ 13:17:19 CPack: Install projects 13:17:19 CPack: - Run preinstall target for: Csdk 13:17:19 CPack: - Install project: Csdk 13:17:19 CPack: Create package 13:17:19 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 13:17:19 + '[' false '=' true ] 13:17:19 + '[' false '=' true ] 13:17:19 + mkdir -p /tmp/sdk/build/debug 13:17:19 + cd /tmp/sdk/build/debug 13:17:19 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 13:17:19 -- The C compiler identification is GNU 8.3.0 13:17:19 -- Check for working C compiler: /usr/bin/cc 13:17:19 -- Check for working C compiler: /usr/bin/cc -- works 13:17:19 -- Detecting C compiler ABI info 13:17:19 -- Detecting C compiler ABI info - done 13:17:19 -- Detecting C compile features 13:17:19 Removing intermediate container e886bae66618 13:17:19 ---> ca3de1fb58ac 13:17:19 Step 7/21 : COPY VERSION /tmp/sdk 13:17:20 -- Detecting C compile features - done 13:17:20 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:17:20 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 13:17:20 -- Found LIBYAML: /usr/lib/libyaml.so 13:17:20 -- Found LIBUUID: /usr/lib/libuuid.so 13:17:20 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 13:17:20 -- C SDK 0.0.0 for Linux 13:17:20 -- Performing Test CSDK_HAVE_ATOMIC 13:17:20 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:17:20 -- Found Curses: /usr/lib/libcurses.so 13:17:20 -- Configuring done 13:17:20 -- Generating done 13:17:20 -- Build files have been written to: /tmp/sdk/build/debug 13:17:20 + make 13:17:20 + tee debug.log 13:17:20 Scanning dependencies of target csdk 13:17:20 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:17:20 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 13:17:20 ---> 8405f832d1c9 13:17:20 Step 8/21 : COPY src /tmp/sdk/src 13:17:20 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:17:20 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:17:20 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:17:20 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:17:20 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:17:21 [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:17:21 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:17:21 [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:17:21 [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:17:21 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 13:17:21 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:17:21 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:17:21 ---> c275601d9c94 13:17:21 Step 9/21 : COPY include /tmp/sdk/include 13:17:21 [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 13:17:21 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 13:17:21 ---> 813c0d127314 13:17:21 Step 10/21 : COPY scripts /tmp/sdk/scripts 13:17:21 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 13:17:21 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 13:17:22 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 13:17:22 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 13:17:22 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 13:17:22 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 13:17:22 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 13:17:22 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 13:17:22 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 13:17:22 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 13:17:22 ---> c0b4d2afd142 13:17:22 Step 11/21 : COPY LICENSE /tmp/sdk 13:17:22 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 13:17:22 [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:17:22 [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:17:22 [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 13:17:22 [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:17:23 ---> 9df91e089ac5 13:17:23 Step 12/21 : COPY Attribution.txt /tmp/sdk 13:17:23 [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:17:23 [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:17:23 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:17:23 [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:17:23 ---> ccd8fca774f1 13:17:23 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 13:17:23 ---> Running in ba4abdee2458 13:17:23 [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:17:23 [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 13:17:23 [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:17:23 [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 13:17:24 [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:17:24 [ 65%] Linking C shared library libcsdk.so 13:17:24 [ 65%] Built target csdk 13:17:24 Scanning dependencies of target template 13:17:24 [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:17:24 [ 68%] Linking C executable template 13:17:24 [ 68%] Built target template 13:17:24 Scanning dependencies of target device-counter 13:17:24 [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:17:24 [ 71%] Linking C executable device-counter 13:17:24 [ 71%] Built target device-counter 13:17:24 Scanning dependencies of target device-random 13:17:24 [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:17:24 + CPPCHECK=false 13:17:24 + DOCGEN=false 13:17:24 + TOMLVER=SDK-0.2 13:17:24 + CUTILVER=1.0.4 13:17:24 + '[' 0 -gt 0 ] 13:17:24 + readlink -f ./scripts/build.sh 13:17:24 + dirname /tmp/sdk/scripts/build.sh 13:17:24 + dirname /tmp/sdk/scripts 13:17:24 + ROOT=/tmp/sdk 13:17:24 + cd /tmp/sdk 13:17:24 + '[' '!' -d deps ] 13:17:24 + mkdir deps 13:17:24 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:17:24 + tar -C deps -z -x -f - 13:17:24 --2020-06-04 13:17:24-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:17:24 Resolving github.com... 140.82.114.3 13:17:24 Connecting to github.com|140.82.114.3|:443... connected. 13:17:24 HTTP request sent, awaiting response... 302 Found 13:17:24 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 13:17:24 --2020-06-04 13:17:24-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 13:17:24 Resolving codeload.github.com... 140.82.112.9 13:17:24 Connecting to codeload.github.com|140.82.112.9|:443... connected. 13:17:24 [ 74%] Linking C executable device-random 13:17:24 [ 74%] Built target device-random 13:17:24 Scanning dependencies of target device-gyro 13:17:24 [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:17:24 [ 77%] Linking C executable device-gyro 13:17:24 HTTP request sent, awaiting response... 200 OK 13:17:24 Length: unspecified [application/x-gzip] 13:17:24 Saving to: 'STDOUT' 13:17:24  13:17:24 0K .......... ......    1.01M=0.02s 13:17:24 13:17:24 2020-06-04 13:17:24 (1.01 MB/s) - written to stdout [16451] 13:17:24 13:17:24 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 13:17:24 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz 13:17:24 + tar -C deps -z -x -f - 13:17:24 --2020-06-04 13:17:24-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz 13:17:24 Resolving github.com... 140.82.113.4 13:17:24 Connecting to github.com|140.82.113.4|:443... connected. 13:17:25 [ 77%] Built target device-gyro 13:17:25 Scanning dependencies of target template-discovery 13:17:25 [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:17:25 [ 80%] Linking C executable template-discovery 13:17:25 [ 80%] Built target template-discovery 13:17:25 Scanning dependencies of target device-terminal 13:17:25 [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:17:25 HTTP request sent, awaiting response... 302 Found 13:17:25 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] 13:17:25 --2020-06-04 13:17:24-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 13:17:25 Resolving codeload.github.com... 140.82.112.9 13:17:25 Connecting to codeload.github.com|140.82.112.9|:443... connected. 13:17:25 HTTP request sent, awaiting response... 200 OK 13:17:25 Length: unspecified [application/x-gzip] 13:17:25 Saving to: 'STDOUT' 13:17:25  13:17:25 [ 84%] Linking C executable device-terminal 13:17:25 [ 84%] Built target device-terminal 13:17:25 Scanning dependencies of target template2 13:17:25 [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o 13:17:25 [ 87%] Linking C executable template2 13:17:25 [ 87%] Built target template2 13:17:25 Scanning dependencies of target device-counterv2 13:17:25 0K .......... .......... .......... .......... .......... 1.55M 13:17:25 50K .......... .......... .......... .......... .......... 3.42M 13:17:25 100K .......... .......... .......... .......... .......... 5.54M 13:17:25 150K ........  3.77M=0.06s 13:17:25 13:17:25 2020-06-04 13:17:25 (2.73 MB/s) - written to stdout [162267] 13:17:25 13:17:25 + mkdir -p src/c/iot 13:17:25 + 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 13:17:25 + mkdir -p include/iot 13:17:25 + 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 13:17:25 + mkdir -p include/iot/os 13:17:25 + 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 13:17:25 + mkdir -p /tmp/sdk/build/release 13:17:25 + cd /tmp/sdk/build/release 13:17:25 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 13:17:25 [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o 13:17:25 [ 90%] Linking C executable device-counterv2 13:17:25 [ 90%] Built target device-counterv2 13:17:25 Scanning dependencies of target device-gyrov2 13:17:25 [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o 13:17:25 [ 93%] Linking C executable device-gyrov2 13:17:25 -- The C compiler identification is GNU 8.3.0 13:17:25 -- Check for working C compiler: /usr/bin/cc 13:17:25 [ 93%] Built target device-gyrov2 13:17:25 Scanning dependencies of target device-randomv2 13:17:25 [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o 13:17:25 [ 96%] Linking C executable device-randomv2 13:17:25 [ 96%] Built target device-randomv2 13:17:25 Scanning dependencies of target device-terminalv2 13:17:25 [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o 13:17:25 -- Check for working C compiler: /usr/bin/cc -- works 13:17:25 -- Detecting C compiler ABI info 13:17:26 [100%] Linking C executable device-terminalv2 13:17:26 -- Detecting C compiler ABI info - done 13:17:26 -- Detecting C compile features 13:17:26 [100%] Built target device-terminalv2 13:17:27 -- Detecting C compile features - done 13:17:27 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:17:27 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 13:17:27 -- Found LIBYAML: /usr/lib/libyaml.so 13:17:27 -- Found LIBUUID: /usr/lib/libuuid.so 13:17:27 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 13:17:27 -- C SDK 0.0.0 for Linux 13:17:27 -- Performing Test CSDK_HAVE_ATOMIC 13:17:27 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:17:27 -- Found Curses: /usr/lib/libcurses.so 13:17:27 make: Entering directory '/tmp/sdk/build/release' 13:17:27 make[1]: Entering directory '/tmp/sdk/build/release' 13:17:27 make[2]: Entering directory '/tmp/sdk/build/release' 13:17:27 Scanning dependencies of target csdk 13:17:27 make[2]: Leaving directory '/tmp/sdk/build/release' 13:17:27 make[2]: Entering directory '/tmp/sdk/build/release' 13:17:27 [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:17:27 -- Configuring done 13:17:27 -- Generating done 13:17:27 -- Build files have been written to: /tmp/sdk/build/release 13:17:27 + make 13:17:27 + tee release.log 13:17:27 Scanning dependencies of target csdk 13:17:27 [ 3%] Linking C shared library libcsdk.so 13:17:27 make[2]: Leaving directory '/tmp/sdk/build/release' 13:17:27 [ 65%] Built target csdk 13:17:27 make[2]: Entering directory '/tmp/sdk/build/release' 13:17:27 make[2]: Leaving directory '/tmp/sdk/build/release' 13:17:27 make[2]: Entering directory '/tmp/sdk/build/release' 13:17:27 [ 66%] Linking C executable template 13:17:27 make[2]: Leaving directory '/tmp/sdk/build/release' 13:17:27 [ 68%] Built target template 13:17:27 make[2]: Entering directory '/tmp/sdk/build/release' 13:17:27 make[2]: Leaving directory '/tmp/sdk/build/release' 13:17:27 make[2]: Entering directory '/tmp/sdk/build/release' 13:17:27 [ 69%] Linking C executable device-counter 13:17:27 make[2]: Leaving directory '/tmp/sdk/build/release' 13:17:27 [ 71%] Built target device-counter 13:17:27 make[2]: Entering directory '/tmp/sdk/build/release' 13:17:27 make[2]: Leaving directory '/tmp/sdk/build/release' 13:17:27 make[2]: Entering directory '/tmp/sdk/build/release' 13:17:27 [ 73%] Linking C executable device-random 13:17:27 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:17:28 make[2]: Leaving directory '/tmp/sdk/build/release' 13:17:28 [ 74%] Built target device-random 13:17:28 make[2]: Entering directory '/tmp/sdk/build/release' 13:17:28 make[2]: Leaving directory '/tmp/sdk/build/release' 13:17:28 make[2]: Entering directory '/tmp/sdk/build/release' 13:17:28 [ 76%] Linking C executable device-gyro 13:17:28 make[2]: Leaving directory '/tmp/sdk/build/release' 13:17:28 [ 77%] Built target device-gyro 13:17:28 make[2]: Entering directory '/tmp/sdk/build/release' 13:17:28 make[2]: Leaving directory '/tmp/sdk/build/release' 13:17:28 make[2]: Entering directory '/tmp/sdk/build/release' 13:17:28 [ 79%] Linking C executable template-discovery 13:17:28 make[2]: Leaving directory '/tmp/sdk/build/release' 13:17:28 [ 80%] Built target template-discovery 13:17:28 make[2]: Entering directory '/tmp/sdk/build/release' 13:17:28 make[2]: Leaving directory '/tmp/sdk/build/release' 13:17:28 make[2]: Entering directory '/tmp/sdk/build/release' 13:17:28 [ 82%] Linking C executable device-terminal 13:17:28 make[2]: Leaving directory '/tmp/sdk/build/release' 13:17:28 [ 84%] Built target device-terminal 13:17:28 make[2]: Entering directory '/tmp/sdk/build/release' 13:17:28 make[2]: Leaving directory '/tmp/sdk/build/release' 13:17:28 make[2]: Entering directory '/tmp/sdk/build/release' 13:17:28 [ 85%] Linking C executable template2 13:17:28 make[2]: Leaving directory '/tmp/sdk/build/release' 13:17:28 [ 87%] Built target template2 13:17:28 make[2]: Entering directory '/tmp/sdk/build/release' 13:17:28 make[2]: Leaving directory '/tmp/sdk/build/release' 13:17:28 make[2]: Entering directory '/tmp/sdk/build/release' 13:17:28 [ 88%] Linking C executable device-counterv2 13:17:28 make[2]: Leaving directory '/tmp/sdk/build/release' 13:17:28 [ 90%] Built target device-counterv2 13:17:28 make[2]: Entering directory '/tmp/sdk/build/release' 13:17:28 make[2]: Leaving directory '/tmp/sdk/build/release' 13:17:28 make[2]: Entering directory '/tmp/sdk/build/release' 13:17:28 [ 92%] Linking C executable device-gyrov2 13:17:28 make[2]: Leaving directory '/tmp/sdk/build/release' 13:17:28 [ 93%] Built target device-gyrov2 13:17:28 make[2]: Entering directory '/tmp/sdk/build/release' 13:17:28 make[2]: Leaving directory '/tmp/sdk/build/release' 13:17:28 make[2]: Entering directory '/tmp/sdk/build/release' 13:17:28 [ 95%] Linking C executable device-randomv2 13:17:28 make[2]: Leaving directory '/tmp/sdk/build/release' 13:17:28 [ 96%] Built target device-randomv2 13:17:28 make[2]: Entering directory '/tmp/sdk/build/release' 13:17:28 make[2]: Leaving directory '/tmp/sdk/build/release' 13:17:28 make[2]: Entering directory '/tmp/sdk/build/release' 13:17:28 [ 98%] Linking C executable device-terminalv2 13:17:28 make[2]: Leaving directory '/tmp/sdk/build/release' 13:17:28 [100%] Built target device-terminalv2 13:17:28 make[1]: Leaving directory '/tmp/sdk/build/release' 13:17:28 Install the project... 13:17:28 -- Install configuration: "Release" 13:17:28 -- Installing: /usr/local/lib/libcsdk.so 13:17:28 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 13:17:28 -- Up-to-date: /usr/local/include 13:17:28 -- Installing: /usr/local/include/devsdk 13:17:28 -- Installing: /usr/local/include/devsdk/devsdk-base.h 13:17:28 -- Installing: /usr/local/include/devsdk/devsdk.h 13:17:28 -- Installing: /usr/local/include/edgex 13:17:28 -- Installing: /usr/local/include/edgex/device-mgmt.h 13:17:28 -- Installing: /usr/local/include/edgex/devices.h 13:17:28 -- Installing: /usr/local/include/edgex/devsdk.h 13:17:28 -- Installing: /usr/local/include/edgex/edgex-base.h 13:17:28 -- Installing: /usr/local/include/edgex/edgex-logging.h 13:17:28 -- Installing: /usr/local/include/edgex/edgex.h 13:17:28 -- Installing: /usr/local/include/edgex/error.h 13:17:28 -- Installing: /usr/local/include/edgex/eventgen.h 13:17:28 -- Installing: /usr/local/include/edgex/os.h 13:17:28 -- Installing: /usr/local/include/edgex/profiles.h 13:17:28 -- Installing: /usr/local/include/edgex/registry.h 13:17:28 -- Installing: /usr/local/include/edgex/rest-server.h 13:17:28 -- Installing: /usr/local/include/edgex/csdk-defs.h 13:17:28 -- Installing: /usr/local/include/iot 13:17:28 -- Installing: /usr/local/include/iot/base64.h 13:17:28 -- Installing: /usr/local/include/iot/component.h 13:17:28 -- Installing: /usr/local/include/iot/container.h 13:17:28 -- Installing: /usr/local/include/iot/data.h 13:17:28 -- Installing: /usr/local/include/iot/hash.h 13:17:28 -- Installing: /usr/local/include/iot/iot.h 13:17:28 -- Installing: /usr/local/include/iot/json.h 13:17:28 -- Installing: /usr/local/include/iot/logger.h 13:17:28 -- Installing: /usr/local/include/iot/os.h 13:17:28 -- Installing: /usr/local/include/iot/scheduler.h 13:17:28 -- Installing: /usr/local/include/iot/thread.h 13:17:28 -- Installing: /usr/local/include/iot/threadpool.h 13:17:28 -- Installing: /usr/local/include/iot/time.h 13:17:28 -- Installing: /usr/local/include/iot/typecode.h 13:17:28 -- Installing: /usr/local/include/iot/os 13:17:28 -- Installing: /usr/local/include/iot/os/linux.h 13:17:28 -- Installing: /usr/local/include/iot/os/zephyr.h 13:17:28 -- Installing: /usr/local/share/device-sdk-c/LICENSE 13:17:28 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 13:17:28 make: Leaving directory '/tmp/sdk/build/release' 13:17:28 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 13:17:29 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:17:29 Removing intermediate container 8d73124e6c22 13:17:29 ---> 6f254758716c 13:17:29 Step 14/21 : FROM alpine:3.9 13:17:29 3.9: Pulling from library/alpine 13:17:29 31603596830f: Pulling fs layer 13:17:29 31603596830f: Verifying Checksum 13:17:29 31603596830f: Download complete 13:17:30 31603596830f: Pull complete 13:17:30 Digest: sha256:414e0518bb9228d35e4cd5165567fb91d26c6a214e9c95899e1e056fcd349011 13:17:30 Status: Downloaded newer image for alpine:3.9 13:17:30 ---> 78a2ce922f86 13:17:30 Step 15/21 : MAINTAINER IOTech 13:17:30 ---> Running in 89fee79aef41 13:17:30 Removing intermediate container 89fee79aef41 13:17:30 ---> e693ca63f271 13:17:30 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 13:17:30 ---> Running in 6563f146ea60 13:17:30 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:17:31 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:17:31 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 13:17:31 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 13:17:31 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:17:31 (1/48) Installing binutils (2.31.1-r2) 13:17:31 (2/48) Installing libmagic (5.36-r1) 13:17:31 (3/48) Installing file (5.36-r1) 13:17:31 (4/48) Installing gmp (6.1.2-r1) 13:17:31 (5/48) Installing isl (0.18-r0) 13:17:31 (6/48) Installing libgomp (8.3.0-r0) 13:17:31 (7/48) Installing libatomic (8.3.0-r0) 13:17:31 (8/48) Installing libgcc (8.3.0-r0) 13:17:31 (9/48) Installing mpfr3 (3.1.5-r1) 13:17:31 (10/48) Installing mpc1 (1.0.3-r1) 13:17:31 (11/48) Installing libstdc++ (8.3.0-r0) 13:17:31 (12/48) Installing gcc (8.3.0-r0) 13:17:32 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:17:33 (13/48) Installing musl-dev (1.1.20-r5) 13:17:34 [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:17:34 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:17:35 [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:17:35 [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:17:35 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 13:17:35 (14/48) Installing libc-dev (0.7.1-r0) 13:17:35 (15/48) Installing g++ (8.3.0-r0) 13:17:36 (16/48) Installing make (4.2.1-r2) 13:17:36 (17/48) Installing fortify-headers (1.0-r0) 13:17:36 (18/48) Installing build-base (0.5-r1) 13:17:36 (19/48) Installing libattr (2.4.47-r7) 13:17:36 (20/48) Installing libacl (2.2.52-r5) 13:17:36 (21/48) Installing libbz2 (1.0.6-r7) 13:17:36 (22/48) Installing expat (2.2.8-r0) 13:17:36 (23/48) Installing lz4-libs (1.8.3-r2) 13:17:36 (24/48) Installing xz-libs (5.2.4-r0) 13:17:36 (25/48) Installing libarchive (3.3.3-r2) 13:17:36 (26/48) Installing ca-certificates (20191127-r0) 13:17:36 (27/48) Installing nghttp2-libs (1.35.1-r1) 13:17:36 (28/48) Installing libssh2 (1.9.0-r1) 13:17:36 (29/48) Installing libcurl (7.64.0-r3) 13:17:36 (30/48) Installing ncurses-terminfo-base (6.1_p20190105-r0) 13:17:36 (31/48) Installing ncurses-terminfo (6.1_p20190105-r0) 13:17:36 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:17:36 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:17:37 (32/48) Installing ncurses-libs (6.1_p20190105-r0) 13:17:37 (33/48) Installing rhash-libs (1.3.6-r2) 13:17:37 (34/48) Installing libuv (1.23.2-r0) 13:17:37 (35/48) Installing cmake (3.13.0-r0) 13:17:38 (36/48) Installing curl (7.64.0-r3) 13:17:38 (37/48) Installing pcre2 (10.32-r1) 13:17:38 (38/48) Installing git (2.20.4-r0) 13:17:38 (39/48) Installing nettle (3.4.1-r0) 13:17:38 (40/48) Installing libffi (3.2.1-r6) 13:17:38 (41/48) Installing p11-kit (0.23.14-r0) 13:17:38 (42/48) Installing libtasn1 (4.14-r0) 13:17:38 (43/48) Installing libunistring (0.9.10-r0) 13:17:38 (44/48) Installing gnutls (3.6.7-r1) 13:17:38 (45/48) Installing libmicrohttpd (0.9.62-r0) 13:17:38 (46/48) Installing libuuid (2.33-r0) 13:17:38 (47/48) Installing wget (1.20.3-r0) 13:17:38 (48/48) Installing yaml (0.2.1-r0) 13:17:38 Executing busybox-1.29.3-r10.trigger 13:17:38 Executing ca-certificates-20191127-r0.trigger 13:17:38 OK: 222 MiB in 62 packages 13:17:40 [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 13:17:40 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 13:17:40 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 13:17:41 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 13:17:43 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 13:17:43 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 13:17:43 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 13:17:44 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 13:17:44 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 13:17:44 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 13:17:44 Removing intermediate container 6563f146ea60 13:17:44 ---> c988d8968a62 13:17:44 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 13:17:44 ---> fac42ec8bc96 13:17:44 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 13:17:44 ---> 28550333e9c3 13:17:44 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 13:17:44 ---> 204deb695f9b 13:17:44 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 13:17:45 ---> bec8f2da2f73 13:17:45 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 13:17:45 ---> e0c6da6f019d 13:17:45 Successfully built e0c6da6f019d 13:17:45 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 13:17:45 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 13:17:45 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 13:17:46 + docker inspect -f . ci-base-image-x86_64 13:17:46 . [Pipeline] withDockerContainer 13:17:46 prd-centos7-docker-4c-2g-1867 does not seem to be running inside a container 13:17:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:17:46 $ docker top c33fd8bdcbba8687f723f84e01784aab167eb2c4bb333f74ab22e334bdabd5ad -eo pid,comm 13:17:46 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 13:17:46 [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o [Pipeline] { [Pipeline] sh 13:17:47 + make test 13:17:47 echo "make test" 13:17:47 make test [Pipeline] } 13:17:47 $ docker stop --time=1 c33fd8bdcbba8687f723f84e01784aab167eb2c4bb333f74ab22e334bdabd5ad 13:17:47 [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:17:48 [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 13:17:48 [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:17:48 $ docker rm -f c33fd8bdcbba8687f723f84e01784aab167eb2c4bb333f74ab22e334bdabd5ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:17:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:17:50 + ls -al . 13:17:50 total 160 13:17:50 drwxrwxr-x. 8 jenkins jenkins 260 Jun 4 13:16 . 13:17:50 drwxrwxr-x. 4 jenkins jenkins 28 Jun 4 13:16 .. 13:17:50 -rw-rw-r--. 1 jenkins jenkins 3104 Jun 4 13:16 Attribution.txt 13:17:50 -rw-rw-r--. 1 jenkins jenkins 5335 Jun 4 13:16 CHANGES 13:17:50 drwxrwxr-x. 2 jenkins jenkins 144 Jun 4 13:16 docs 13:17:50 -rw-rw-r--. 1 jenkins jenkins 108574 Jun 4 13:16 Doxyfile 13:17:50 drwxrwxr-x. 8 jenkins jenkins 179 Jun 4 13:16 .git 13:17:50 -rw-rw-r--. 1 jenkins jenkins 176 Jun 4 13:16 .gitignore 13:17:50 drwxrwxr-x. 4 jenkins jenkins 33 Jun 4 13:16 include 13:17:50 -rw-rw-r--. 1 jenkins jenkins 792 Jun 4 13:16 Jenkinsfile 13:17:50 -rw-rw-r--. 1 jenkins jenkins 10174 Jun 4 13:16 LICENSE 13:17:50 -rw-rw-r--. 1 jenkins jenkins 448 Jun 4 13:16 Makefile 13:17:50 -rw-rw-r--. 1 jenkins jenkins 1849 Jun 4 13:16 README.md 13:17:50 -rw-rw-r--. 1 jenkins jenkins 5229 Jun 4 13:16 README.v2.md 13:17:50 drwxrwxr-x. 2 jenkins jenkins 106 Jun 4 13:16 scripts 13:17:50 drwxrwxr-x. 3 jenkins jenkins 58 Jun 4 13:16 .semver 13:17:50 drwxrwxr-x. 4 jenkins jenkins 50 Jun 4 13:16 src 13:17:50 -rw-rw-r--. 1 jenkins jenkins 5 Jun 4 13:14 VERSION [Pipeline] isUnix [Pipeline] sh 13:17:51 + docker build -t docker-device-sdk-c -f scripts/Dockerfile.alpine-3.9 --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=6fa5a9f218fdd16d396870288889757eaab29030 --label arch=amd64 --label version=0.0.0 . 13:17:51 Sending build context to Docker daemon 3.248MB 13:17:51 Step 1/15 : ARG BASE=alpine:3.9 13:17:51 Step 2/15 : FROM ${BASE} 13:17:51 ---> e0c6da6f019d 13:17:51 Step 3/15 : MAINTAINER IOTech 13:17:51 ---> Running in 7957e6aa16ea 13:17:51 Removing intermediate container 7957e6aa16ea 13:17:51 ---> 181755a2644e 13:17:51 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 13:17:51 ---> Running in f53f13831636 13:17:51 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 13:17:52 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 13:17:52 (1/21) Installing pkgconf (1.6.0-r0) 13:17:52 (2/21) Installing openssl-dev (1.1.1g-r0) 13:17:52 (3/21) Installing zlib-dev (1.2.11-r1) 13:17:52 (4/21) Installing libssh2-dev (1.9.0-r1) 13:17:52 [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:17:52 (5/21) Installing nghttp2-dev (1.35.1-r1) 13:17:53 (6/21) Installing curl-dev (7.64.0-r3) 13:17:53 (7/21) Installing gnutls-c++ (3.6.7-r1) 13:17:53 (8/21) Installing libgmpxx (6.1.2-r1) 13:17:53 (9/21) Installing gmp-dev (6.1.2-r1) 13:17:53 (10/21) Installing nettle-dev (3.4.1-r0) 13:17:53 (11/21) Installing libtasn1-dev (4.14-r0) 13:17:53 (12/21) Installing p11-kit-dev (0.23.14-r0) 13:17:53 (13/21) Installing gnutls-dev (3.6.7-r1) 13:17:53 (14/21) Installing libmicrohttpd-dev (0.9.62-r0) 13:17:53 (15/21) Installing ncurses-dev (6.1_p20190105-r0) 13:17:53 (16/21) Installing libblkid (2.33-r0) 13:17:53 (17/21) Installing libfdisk (2.33-r0) 13:17:53 (18/21) Installing libmount (2.33-r0) 13:17:53 [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:17:53 (19/21) Installing libsmartcols (2.33-r0) 13:17:53 (20/21) Installing util-linux-dev (2.33-r0) 13:17:53 (21/21) Installing yaml-dev (0.2.1-r0) 13:17:53 Executing busybox-1.29.3-r10.trigger 13:17:53 OK: 266 MiB in 83 packages 13:17:53 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:17:54 [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:17:55 Removing intermediate container f53f13831636 13:17:55 ---> 0d496ce69ce9 13:17:55 Step 5/15 : COPY VERSION /edgex-c-sdk/ 13:17:55 ---> 1d07e1b3ba56 13:17:55 Step 6/15 : COPY src /edgex-c-sdk/src/ 13:17:55 [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:17:55 ---> 7b0443067649 13:17:55 Step 7/15 : COPY include /edgex-c-sdk/include/ 13:17:55 ---> 21a24a2b8501 13:17:55 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 13:17:55 ---> 941b4cf49c2b 13:17:55 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 13:17:56 ---> 6dc473c65713 13:17:56 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 13:17:56 ---> 77f2743508b1 13:17:56 Step 11/15 : WORKDIR /edgex-c-sdk 13:17:56 ---> Running in 5c84704ed059 13:17:56 Removing intermediate container 5c84704ed059 13:17:56 ---> 7bd2eef8e725 13:17:56 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 13:17:56 ---> Running in d2a02c7f3eb7 13:17:56 Removing intermediate container d2a02c7f3eb7 13:17:56 ---> 37248c15bc12 13:17:56 Step 13/15 : LABEL arch=amd64 13:17:56 ---> Running in 663931fea077 13:17:56 Removing intermediate container 663931fea077 13:17:56 ---> de14f3d1d10e 13:17:56 Step 14/15 : LABEL git_sha=6fa5a9f218fdd16d396870288889757eaab29030 13:17:56 ---> Running in af52ed7061ec 13:17:56 Removing intermediate container af52ed7061ec 13:17:56 ---> 44935a52e40e 13:17:56 Step 15/15 : LABEL version=0.0.0 13:17:57 ---> Running in 60dbd63d2fa9 13:17:57 Removing intermediate container 60dbd63d2fa9 13:17:57 ---> 124edcb22c0c 13:17:57 [Warning] One or more build-args [MAKE ARCH] were not consumed 13:17:57 Successfully built 124edcb22c0c 13:17:57 Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage 13:17:57 [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [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] } 13:18:00 [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:18:00 [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 13:18:02 [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:18:02 [ 65%] Linking C shared library libcsdk.so 13:18:02 [ 65%] Built target csdk 13:18:02 Scanning dependencies of target template 13:18:02 [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:18:03 [ 68%] Linking C executable template 13:18:03 [ 68%] Built target template 13:18:03 Scanning dependencies of target device-counter 13:18:03 [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:18:04 [ 71%] Linking C executable device-counter 13:18:04 [ 71%] Built target device-counter 13:18:04 Scanning dependencies of target device-random 13:18:04 [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:18:04 [ 74%] Linking C executable device-random 13:18:05 [ 74%] Built target device-random 13:18:05 Scanning dependencies of target device-gyro 13:18:05 [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:18:05 [ 77%] Linking C executable device-gyro 13:18:05 [ 77%] Built target device-gyro 13:18:05 Scanning dependencies of target template-discovery 13:18:05 [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:18:06 [ 80%] Linking C executable template-discovery 13:18:06 [ 80%] Built target template-discovery 13:18:06 Scanning dependencies of target device-terminal 13:18:06 [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:18:07 [ 84%] Linking C executable device-terminal 13:18:07 [ 84%] Built target device-terminal 13:18:07 Scanning dependencies of target template2 13:18:07 [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o 13:18:07 [ 87%] Linking C executable template2 13:18:08 [ 87%] Built target template2 13:18:08 Scanning dependencies of target device-counterv2 13:18:08 [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o 13:18:08 [ 90%] Linking C executable device-counterv2 13:18:09 [ 90%] Built target device-counterv2 13:18:09 Scanning dependencies of target device-gyrov2 13:18:09 [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o 13:18:09 [ 93%] Linking C executable device-gyrov2 13:18:09 [ 93%] Built target device-gyrov2 13:18:09 Scanning dependencies of target device-randomv2 13:18:09 [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o 13:18:10 [ 96%] Linking C executable device-randomv2 13:18:10 [ 96%] Built target device-randomv2 13:18:10 Scanning dependencies of target device-terminalv2 13:18:10 [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o 13:18:10 [100%] Linking C executable device-terminalv2 13:18:11 [100%] Built target device-terminalv2 13:18:11 + + teemake -a package release.log 13:18:11 13:18:11 [ 65%] Built target csdk 13:18:11 [ 68%] Built target template 13:18:11 [ 71%] Built target device-counter 13:18:11 [ 74%] Built target device-random 13:18:11 [ 77%] Built target device-gyro 13:18:11 [ 80%] Built target template-discovery 13:18:11 [ 84%] Built target device-terminal 13:18:11 [ 87%] Built target template2 13:18:11 [ 90%] Built target device-counterv2 13:18:11 [ 93%] Built target device-gyrov2 13:18:11 [ 96%] Built target device-randomv2 13:18:11 [100%] Built target device-terminalv2 13:18:11 Run CPack packaging tool... 13:18:11 CPack: Create package using TGZ 13:18:11 CPack: Install projects 13:18:11 CPack: - Run preinstall target for: Csdk 13:18:12 CPack: - Install project: Csdk 13:18:12 CPack: Create package 13:18:12 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 13:18:12 + '[' false '=' true ] 13:18:12 + '[' false '=' true ] 13:18:12 + mkdir -p /tmp/sdk/build/debug 13:18:12 + cd /tmp/sdk/build/debug 13:18:12 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 13:18:13 -- The C compiler identification is GNU 8.3.0 13:18:13 -- Check for working C compiler: /usr/bin/cc 13:18:13 -- Check for working C compiler: /usr/bin/cc -- works 13:18:13 -- Detecting C compiler ABI info 13:18:13 -- Detecting C compiler ABI info - done 13:18:13 -- Detecting C compile features 13:18:14 -- Detecting C compile features - done 13:18:14 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:18:14 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 13:18:14 -- Found LIBYAML: /usr/lib/libyaml.so 13:18:14 -- Found LIBUUID: /usr/lib/libuuid.so 13:18:14 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 13:18:14 -- C SDK 0.0.0 for Linux 13:18:14 -- Performing Test CSDK_HAVE_ATOMIC 13:18:14 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:18:14 -- Found Curses: /usr/lib/libcurses.so 13:18:14 -- Configuring done 13:18:15 -- Generating done 13:18:15 -- Build files have been written to: /tmp/sdk/build/debug 13:18:15 + make 13:18:15 + tee debug.log 13:18:15 Scanning dependencies of target csdk 13:18:15 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:18:15 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 13:18:15 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:18:16 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:18:16 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:18:16 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:18:17 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:18:17 [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:18:17 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:18:18 [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:18:18 [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:18:18 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 13:18:18 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:18:19 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:18:19 [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 13:18:20 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 13:18:20 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 13:18:20 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 13:18:21 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 13:18:21 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 13:18:21 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 13:18:21 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 13:18:22 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 13:18:22 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 13:18:22 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 13:18:22 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 13:18:22 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 13:18:23 [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:18:23 [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:18:23 [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 13:18:23 [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:18:24 [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:18:25 [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:18:25 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:18:25 [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:18:26 [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:18:26 [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 13:18:27 [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:18:27 [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 13:18:28 [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:18:28 [ 65%] Linking C shared library libcsdk.so 13:18:28 [ 65%] Built target csdk 13:18:28 Scanning dependencies of target template 13:18:28 [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:18:29 [ 68%] Linking C executable template 13:18:29 [ 68%] Built target template 13:18:29 Scanning dependencies of target device-counter 13:18:29 [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:18:29 [ 71%] Linking C executable device-counter 13:18:29 [ 71%] Built target device-counter 13:18:29 Scanning dependencies of target device-random 13:18:29 [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:18:30 [ 74%] Linking C executable device-random 13:18:30 [ 74%] Built target device-random 13:18:30 Scanning dependencies of target device-gyro 13:18:30 [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:18:30 [ 77%] Linking C executable device-gyro 13:18:31 [ 77%] Built target device-gyro 13:18:31 Scanning dependencies of target template-discovery 13:18:31 [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:18:31 [ 80%] Linking C executable template-discovery 13:18:31 [ 80%] Built target template-discovery 13:18:31 Scanning dependencies of target device-terminal 13:18:31 [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:18:31 [ 84%] Linking C executable device-terminal 13:18:32 [ 84%] Built target device-terminal 13:18:32 Scanning dependencies of target template2 13:18:32 [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o 13:18:32 [ 87%] Linking C executable template2 13:18:32 [ 87%] Built target template2 13:18:32 Scanning dependencies of target device-counterv2 13:18:32 [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o 13:18:32 [ 90%] Linking C executable device-counterv2 13:18:33 [ 90%] Built target device-counterv2 13:18:33 Scanning dependencies of target device-gyrov2 13:18:33 [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o 13:18:33 [ 93%] Linking C executable device-gyrov2 13:18:33 [ 93%] Built target device-gyrov2 13:18:33 Scanning dependencies of target device-randomv2 13:18:33 [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o 13:18:33 [ 96%] Linking C executable device-randomv2 13:18:33 [ 96%] Built target device-randomv2 13:18:34 Scanning dependencies of target device-terminalv2 13:18:34 [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o 13:18:34 [100%] Linking C executable device-terminalv2 13:18:34 [100%] Built target device-terminalv2 13:18:34 make: Entering directory '/tmp/sdk/build/release' 13:18:34 make[1]: Entering directory '/tmp/sdk/build/release' 13:18:34 make[2]: Entering directory '/tmp/sdk/build/release' 13:18:34 Scanning dependencies of target csdk 13:18:34 make[2]: Leaving directory '/tmp/sdk/build/release' 13:18:34 make[2]: Entering directory '/tmp/sdk/build/release' 13:18:34 [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:18:36 [ 3%] Linking C shared library libcsdk.so 13:18:36 make[2]: Leaving directory '/tmp/sdk/build/release' 13:18:36 [ 65%] Built target csdk 13:18:36 make[2]: Entering directory '/tmp/sdk/build/release' 13:18:36 make[2]: Leaving directory '/tmp/sdk/build/release' 13:18:36 make[2]: Entering directory '/tmp/sdk/build/release' 13:18:36 [ 66%] Linking C executable template 13:18:37 make[2]: Leaving directory '/tmp/sdk/build/release' 13:18:37 [ 68%] Built target template 13:18:37 make[2]: Entering directory '/tmp/sdk/build/release' 13:18:37 make[2]: Leaving directory '/tmp/sdk/build/release' 13:18:37 make[2]: Entering directory '/tmp/sdk/build/release' 13:18:37 [ 69%] Linking C executable device-counter 13:18:37 make[2]: Leaving directory '/tmp/sdk/build/release' 13:18:37 [ 71%] Built target device-counter 13:18:37 make[2]: Entering directory '/tmp/sdk/build/release' 13:18:37 make[2]: Leaving directory '/tmp/sdk/build/release' 13:18:37 make[2]: Entering directory '/tmp/sdk/build/release' 13:18:37 [ 73%] Linking C executable device-random 13:18:37 make[2]: Leaving directory '/tmp/sdk/build/release' 13:18:37 [ 74%] Built target device-random 13:18:37 make[2]: Entering directory '/tmp/sdk/build/release' 13:18:37 make[2]: Leaving directory '/tmp/sdk/build/release' 13:18:37 make[2]: Entering directory '/tmp/sdk/build/release' 13:18:37 [ 76%] Linking C executable device-gyro 13:18:38 make[2]: Leaving directory '/tmp/sdk/build/release' 13:18:38 [ 77%] Built target device-gyro 13:18:38 make[2]: Entering directory '/tmp/sdk/build/release' 13:18:38 make[2]: Leaving directory '/tmp/sdk/build/release' 13:18:38 make[2]: Entering directory '/tmp/sdk/build/release' 13:18:38 [ 79%] Linking C executable template-discovery 13:18:38 make[2]: Leaving directory '/tmp/sdk/build/release' 13:18:38 [ 80%] Built target template-discovery 13:18:38 make[2]: Entering directory '/tmp/sdk/build/release' 13:18:38 make[2]: Leaving directory '/tmp/sdk/build/release' 13:18:38 make[2]: Entering directory '/tmp/sdk/build/release' 13:18:38 [ 82%] Linking C executable device-terminal 13:18:38 make[2]: Leaving directory '/tmp/sdk/build/release' 13:18:38 [ 84%] Built target device-terminal 13:18:38 make[2]: Entering directory '/tmp/sdk/build/release' 13:18:38 make[2]: Leaving directory '/tmp/sdk/build/release' 13:18:38 make[2]: Entering directory '/tmp/sdk/build/release' 13:18:38 [ 85%] Linking C executable template2 13:18:38 make[2]: Leaving directory '/tmp/sdk/build/release' 13:18:38 [ 87%] Built target template2 13:18:38 make[2]: Entering directory '/tmp/sdk/build/release' 13:18:38 make[2]: Leaving directory '/tmp/sdk/build/release' 13:18:38 make[2]: Entering directory '/tmp/sdk/build/release' 13:18:38 [ 88%] Linking C executable device-counterv2 13:18:39 make[2]: Leaving directory '/tmp/sdk/build/release' 13:18:39 [ 90%] Built target device-counterv2 13:18:39 make[2]: Entering directory '/tmp/sdk/build/release' 13:18:39 make[2]: Leaving directory '/tmp/sdk/build/release' 13:18:39 make[2]: Entering directory '/tmp/sdk/build/release' 13:18:39 [ 92%] Linking C executable device-gyrov2 13:18:39 make[2]: Leaving directory '/tmp/sdk/build/release' 13:18:39 [ 93%] Built target device-gyrov2 13:18:39 make[2]: Entering directory '/tmp/sdk/build/release' 13:18:39 make[2]: Leaving directory '/tmp/sdk/build/release' 13:18:39 make[2]: Entering directory '/tmp/sdk/build/release' 13:18:39 [ 95%] Linking C executable device-randomv2 13:18:39 make[2]: Leaving directory '/tmp/sdk/build/release' 13:18:39 [ 96%] Built target device-randomv2 13:18:39 make[2]: Entering directory '/tmp/sdk/build/release' 13:18:39 make[2]: Leaving directory '/tmp/sdk/build/release' 13:18:39 make[2]: Entering directory '/tmp/sdk/build/release' 13:18:39 [ 98%] Linking C executable device-terminalv2 13:18:39 make[2]: Leaving directory '/tmp/sdk/build/release' 13:18:39 [100%] Built target device-terminalv2 13:18:39 make[1]: Leaving directory '/tmp/sdk/build/release' 13:18:39 Install the project... 13:18:39 -- Install configuration: "Release" 13:18:39 -- Installing: /usr/local/lib/libcsdk.so 13:18:39 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 13:18:39 -- Up-to-date: /usr/local/include 13:18:39 -- Installing: /usr/local/include/devsdk 13:18:39 -- Installing: /usr/local/include/devsdk/devsdk-base.h 13:18:39 -- Installing: /usr/local/include/devsdk/devsdk.h 13:18:39 -- Installing: /usr/local/include/edgex 13:18:39 -- Installing: /usr/local/include/edgex/devices.h 13:18:39 -- Installing: /usr/local/include/edgex/edgex.h 13:18:39 -- Installing: /usr/local/include/edgex/device-mgmt.h 13:18:39 -- Installing: /usr/local/include/edgex/profiles.h 13:18:39 -- Installing: /usr/local/include/edgex/edgex-base.h 13:18:39 -- Installing: /usr/local/include/edgex/error.h 13:18:39 -- Installing: /usr/local/include/edgex/registry.h 13:18:39 -- Installing: /usr/local/include/edgex/rest-server.h 13:18:39 -- Installing: /usr/local/include/edgex/os.h 13:18:39 -- Installing: /usr/local/include/edgex/devsdk.h 13:18:39 -- Installing: /usr/local/include/edgex/eventgen.h 13:18:39 -- Installing: /usr/local/include/edgex/edgex-logging.h 13:18:39 -- Installing: /usr/local/include/edgex/csdk-defs.h 13:18:39 -- Installing: /usr/local/include/iot 13:18:39 -- Installing: /usr/local/include/iot/hash.h 13:18:39 -- Installing: /usr/local/include/iot/thread.h 13:18:39 -- Installing: /usr/local/include/iot/json.h 13:18:39 -- Installing: /usr/local/include/iot/os 13:18:39 -- Installing: /usr/local/include/iot/os/zephyr.h 13:18:39 -- Installing: /usr/local/include/iot/os/linux.h 13:18:39 -- Installing: /usr/local/include/iot/typecode.h 13:18:39 -- Installing: /usr/local/include/iot/base64.h 13:18:39 -- Installing: /usr/local/include/iot/container.h 13:18:39 -- Installing: /usr/local/include/iot/data.h 13:18:39 -- Installing: /usr/local/include/iot/threadpool.h 13:18:39 -- Installing: /usr/local/include/iot/scheduler.h 13:18:39 -- Installing: /usr/local/include/iot/component.h 13:18:39 -- Installing: /usr/local/include/iot/os.h 13:18:39 -- Installing: /usr/local/include/iot/logger.h 13:18:39 -- Installing: /usr/local/include/iot/time.h 13:18:39 -- Installing: /usr/local/include/iot/iot.h 13:18:39 -- Installing: /usr/local/share/device-sdk-c/LICENSE 13:18:39 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 13:18:39 make: Leaving directory '/tmp/sdk/build/release' 13:18:41 Removing intermediate container ba4abdee2458 13:18:41 ---> 3ba8c9d1f133 13:18:41 Step 14/21 : FROM alpine:3.9 13:18:42 3.9: Pulling from library/alpine 13:18:42 941f399634ec: Pulling fs layer 13:18:42 941f399634ec: Verifying Checksum 13:18:42 941f399634ec: Download complete 13:18:43 941f399634ec: Pull complete 13:18:43 Digest: sha256:414e0518bb9228d35e4cd5165567fb91d26c6a214e9c95899e1e056fcd349011 13:18:43 Status: Downloaded newer image for alpine:3.9 13:18:43 ---> 9afdd4a290bf 13:18:43 Step 15/21 : MAINTAINER IOTech 13:18:43 ---> Running in 4407ba1f9152 13:18:43 Removing intermediate container 4407ba1f9152 13:18:43 ---> 99e3d6fc148b 13:18:43 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 13:18:44 ---> Running in 65ceee720aae 13:18:44 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 13:18:45 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 13:18:45 (1/48) Installing binutils (2.31.1-r2) 13:18:45 (2/48) Installing libmagic (5.36-r1) 13:18:45 (3/48) Installing file (5.36-r1) 13:18:45 (4/48) Installing gmp (6.1.2-r1) 13:18:45 (5/48) Installing isl (0.18-r0) 13:18:45 (6/48) Installing libgomp (8.3.0-r0) 13:18:45 (7/48) Installing libatomic (8.3.0-r0) 13:18:45 (8/48) Installing libgcc (8.3.0-r0) 13:18:45 (9/48) Installing mpfr3 (3.1.5-r1) 13:18:45 (10/48) Installing mpc1 (1.0.3-r1) 13:18:45 (11/48) Installing libstdc++ (8.3.0-r0) 13:18:45 (12/48) Installing gcc (8.3.0-r0) 13:18:47 (13/48) Installing musl-dev (1.1.20-r5) 13:18:47 (14/48) Installing libc-dev (0.7.1-r0) 13:18:47 (15/48) Installing g++ (8.3.0-r0) 13:18:48 (16/48) Installing make (4.2.1-r2) 13:18:48 (17/48) Installing fortify-headers (1.0-r0) 13:18:48 (18/48) Installing build-base (0.5-r1) 13:18:48 (19/48) Installing libattr (2.4.47-r7) 13:18:48 (20/48) Installing libacl (2.2.52-r5) 13:18:48 (21/48) Installing libbz2 (1.0.6-r7) 13:18:48 (22/48) Installing expat (2.2.8-r0) 13:18:48 (23/48) Installing lz4-libs (1.8.3-r2) 13:18:48 (24/48) Installing xz-libs (5.2.4-r0) 13:18:48 (25/48) Installing libarchive (3.3.3-r2) 13:18:48 (26/48) Installing ca-certificates (20191127-r0) 13:18:48 (27/48) Installing nghttp2-libs (1.35.1-r1) 13:18:48 (28/48) Installing libssh2 (1.9.0-r1) 13:18:49 (29/48) Installing libcurl (7.64.0-r3) 13:18:49 (30/48) Installing ncurses-terminfo-base (6.1_p20190105-r0) 13:18:49 (31/48) Installing ncurses-terminfo (6.1_p20190105-r0) 13:18:50 (32/48) Installing ncurses-libs (6.1_p20190105-r0) 13:18:50 (33/48) Installing rhash-libs (1.3.6-r2) 13:18:50 (34/48) Installing libuv (1.23.2-r0) 13:18:50 (35/48) Installing cmake (3.13.0-r0) 13:18:52 (36/48) Installing curl (7.64.0-r3) 13:18:52 (37/48) Installing pcre2 (10.32-r1) 13:18:52 (38/48) Installing git (2.20.4-r0) 13:18:52 (39/48) Installing nettle (3.4.1-r0) 13:18:52 (40/48) Installing libffi (3.2.1-r6) 13:18:52 (41/48) Installing p11-kit (0.23.14-r0) 13:18:52 (42/48) Installing libtasn1 (4.14-r0) 13:18:52 (43/48) Installing libunistring (0.9.10-r0) 13:18:52 (44/48) Installing gnutls (3.6.7-r1) 13:18:52 (45/48) Installing libmicrohttpd (0.9.62-r0) 13:18:52 (46/48) Installing libuuid (2.33-r0) 13:18:52 (47/48) Installing wget (1.20.3-r0) 13:18:52 (48/48) Installing yaml (0.2.1-r0) 13:18:52 Executing busybox-1.29.3-r10.trigger 13:18:52 Executing ca-certificates-20191127-r0.trigger 13:18:52 OK: 219 MiB in 62 packages 13:19:08 Removing intermediate container 65ceee720aae 13:19:08 ---> e90109f39417 13:19:08 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 13:19:08 ---> 1884b5589a65 13:19:08 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 13:19:08 ---> 46d37b8bc13a 13:19:08 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 13:19:08 ---> 44b808861792 13:19:08 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 13:19:08 ---> e29b0507c1fa 13:19:08 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 13:19:08 ---> 1b78b64e8571 13:19:09 Successfully built 1b78b64e8571 13:19:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:19:09 + docker inspect -f . ci-base-image-arm64 13:19:10 . [Pipeline] withDockerContainer 13:19:10 prd-ubuntu18.04-docker-arm64-4c-16g-1866 does not seem to be running inside a container 13:19:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:19:11 $ docker top b4b8ca65bcd10195e9561b6d7e362d7a23a74ccf96abd4e930de4340e6684036 -eo pid,comm [Pipeline] { [Pipeline] sh 13:19:13 + make test 13:19:13 echo "make test" 13:19:13 make test [Pipeline] } 13:19:13 $ docker stop --time=1 b4b8ca65bcd10195e9561b6d7e362d7a23a74ccf96abd4e930de4340e6684036 13:19:14 $ docker rm -f b4b8ca65bcd10195e9561b6d7e362d7a23a74ccf96abd4e930de4340e6684036 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:19:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:19:16 + ls -al . 13:19:16 total 192 13:19:16 drwxrwxr-x 8 jenkins jenkins 4096 Jun 4 13:16 . 13:19:16 drwxrwxr-x 4 jenkins jenkins 4096 Jun 4 13:16 .. 13:19:16 drwxrwxr-x 8 jenkins jenkins 4096 Jun 4 13:16 .git 13:19:16 -rw-rw-r-- 1 jenkins jenkins 176 Jun 4 13:16 .gitignore 13:19:16 drwxrwxr-x 3 jenkins jenkins 4096 Jun 4 13:16 .semver 13:19:16 -rw-rw-r-- 1 jenkins jenkins 3104 Jun 4 13:16 Attribution.txt 13:19:16 -rw-rw-r-- 1 jenkins jenkins 5335 Jun 4 13:16 CHANGES 13:19:16 -rw-rw-r-- 1 jenkins jenkins 108574 Jun 4 13:16 Doxyfile 13:19:16 -rw-rw-r-- 1 jenkins jenkins 792 Jun 4 13:16 Jenkinsfile 13:19:16 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 4 13:16 LICENSE 13:19:16 -rw-rw-r-- 1 jenkins jenkins 448 Jun 4 13:16 Makefile 13:19:16 -rw-rw-r-- 1 jenkins jenkins 1849 Jun 4 13:16 README.md 13:19:16 -rw-rw-r-- 1 jenkins jenkins 5229 Jun 4 13:16 README.v2.md 13:19:16 -rw-rw-r-- 1 jenkins jenkins 5 Jun 4 13:14 VERSION 13:19:16 drwxrwxr-x 2 jenkins jenkins 4096 Jun 4 13:16 docs 13:19:16 drwxrwxr-x 4 jenkins jenkins 4096 Jun 4 13:16 include 13:19:16 drwxrwxr-x 2 jenkins jenkins 4096 Jun 4 13:16 scripts 13:19:16 drwxrwxr-x 4 jenkins jenkins 4096 Jun 4 13:16 src [Pipeline] isUnix [Pipeline] sh 13:19:16 + docker build -t docker-device-sdk-c-arm64 -f scripts/Dockerfile.alpine-3.9 --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=6fa5a9f218fdd16d396870288889757eaab29030 --label arch=arm64 --label version=0.0.0 . 13:19:17 Sending build context to Docker daemon 3.248MB 13:19:17 Step 1/15 : ARG BASE=alpine:3.9 13:19:17 Step 2/15 : FROM ${BASE} 13:19:17 ---> 1b78b64e8571 13:19:17 Step 3/15 : MAINTAINER IOTech 13:19:17 ---> Running in 6ee4794e1985 13:19:17 Removing intermediate container 6ee4794e1985 13:19:17 ---> 0c29cc7bb5f2 13:19:17 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 13:19:17 ---> Running in 024d2de7b2f1 13:19:18 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 13:19:18 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 13:19:19 (1/21) Installing pkgconf (1.6.0-r0) 13:19:19 (2/21) Installing openssl-dev (1.1.1g-r0) 13:19:20 (3/21) Installing zlib-dev (1.2.11-r1) 13:19:20 (4/21) Installing libssh2-dev (1.9.0-r1) 13:19:20 (5/21) Installing nghttp2-dev (1.35.1-r1) 13:19:20 (6/21) Installing curl-dev (7.64.0-r3) 13:19:20 (7/21) Installing gnutls-c++ (3.6.7-r1) 13:19:20 (8/21) Installing libgmpxx (6.1.2-r1) 13:19:20 (9/21) Installing gmp-dev (6.1.2-r1) 13:19:20 (10/21) Installing nettle-dev (3.4.1-r0) 13:19:21 (11/21) Installing libtasn1-dev (4.14-r0) 13:19:21 (12/21) Installing p11-kit-dev (0.23.14-r0) 13:19:21 (13/21) Installing gnutls-dev (3.6.7-r1) 13:19:21 (14/21) Installing libmicrohttpd-dev (0.9.62-r0) 13:19:21 (15/21) Installing ncurses-dev (6.1_p20190105-r0) 13:19:21 (16/21) Installing libblkid (2.33-r0) 13:19:21 (17/21) Installing libfdisk (2.33-r0) 13:19:21 (18/21) Installing libmount (2.33-r0) 13:19:21 (19/21) Installing libsmartcols (2.33-r0) 13:19:21 (20/21) Installing util-linux-dev (2.33-r0) 13:19:21 (21/21) Installing yaml-dev (0.2.1-r0) 13:19:21 Executing busybox-1.29.3-r10.trigger 13:19:21 OK: 279 MiB in 83 packages 13:19:24 Removing intermediate container 024d2de7b2f1 13:19:24 ---> 25f8eac19d70 13:19:24 Step 5/15 : COPY VERSION /edgex-c-sdk/ 13:19:25 ---> 4db25f5eec93 13:19:25 Step 6/15 : COPY src /edgex-c-sdk/src/ 13:19:25 ---> 87d03998bcd2 13:19:25 Step 7/15 : COPY include /edgex-c-sdk/include/ 13:19:26 ---> 5aa08e039525 13:19:26 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 13:19:27 ---> cabede656d2b 13:19:27 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 13:19:27 ---> 6ed8dfad93ce 13:19:27 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 13:19:27 ---> 2bc0a0878a56 13:19:27 Step 11/15 : WORKDIR /edgex-c-sdk 13:19:27 ---> Running in ab002f213a04 13:19:28 Removing intermediate container ab002f213a04 13:19:28 ---> 93b3363221fd 13:19:28 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 13:19:28 ---> Running in 5a936edd9a74 13:19:28 Removing intermediate container 5a936edd9a74 13:19:28 ---> 52683d6e355f 13:19:28 Step 13/15 : LABEL arch=arm64 13:19:29 ---> Running in 0d151bff0f9c 13:19:29 Removing intermediate container 0d151bff0f9c 13:19:29 ---> 96565dfe2a98 13:19:29 Step 14/15 : LABEL git_sha=6fa5a9f218fdd16d396870288889757eaab29030 13:19:29 ---> Running in 2749478ed809 13:19:29 Removing intermediate container 2749478ed809 13:19:29 ---> 18a1eec09e52 13:19:29 Step 15/15 : LABEL version=0.0.0 13:19:30 ---> Running in 5db2217b2d48 13:19:30 Removing intermediate container 5db2217b2d48 13:19:30 ---> f053f09af3d4 13:19:30 [Warning] One or more build-args [ARCH MAKE] were not consumed 13:19:30 Successfully built f053f09af3d4 13:19:30 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 13:19:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:19:33 ---> package-listing.sh 13:19:33 ++ tr '[:upper:]' '[:lower:]' 13:19:33 ++ facter osfamily 13:19:33 + OS_FAMILY=redhat 13:19:33 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-265 13:19:33 + START_PACKAGES=/tmp/packages_start.txt 13:19:33 + END_PACKAGES=/tmp/packages_end.txt 13:19:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:19:33 + PACKAGES=/tmp/packages_start.txt 13:19:33 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-265 ']' 13:19:33 + PACKAGES=/tmp/packages_end.txt 13:19:33 + case "${OS_FAMILY}" in 13:19:33 + rpm -qa 13:19:33 + sort 13:19:38 + '[' -f /tmp/packages_start.txt ']' 13:19:38 + '[' -f /tmp/packages_end.txt ']' 13:19:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:19:38 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-265 ']' 13:19:38 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-265/archives/ 13:19:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-265/archives/ [Pipeline] isUnix [Pipeline] sh 13:19:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:19:39 13:19:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 13:19:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:19:39 alpine: Pulling from edgex-lftools-log-publisher 13:19:39 c9b1b535fdd9: Pulling fs layer 13:19:39 2cc5ad85d9ab: Pulling fs layer 13:19:39 756a868c4378: Pulling fs layer 13:19:39 444b2fc9a129: Pulling fs layer 13:19:39 ea15f1150254: Pulling fs layer 13:19:39 41b27a9f41bf: Pulling fs layer 13:19:39 28c525ee5125: Pulling fs layer 13:19:39 094b1ea09ed8: Pulling fs layer 13:19:39 138eaada9080: Pulling fs layer 13:19:39 0622d0fa9048: Pulling fs layer 13:19:39 444b2fc9a129: Waiting 13:19:39 ea15f1150254: Waiting 13:19:39 41b27a9f41bf: Waiting 13:19:39 28c525ee5125: Waiting 13:19:39 094b1ea09ed8: Waiting 13:19:39 138eaada9080: Waiting 13:19:39 0622d0fa9048: Waiting 13:19:39 2cc5ad85d9ab: Verifying Checksum 13:19:39 2cc5ad85d9ab: Download complete 13:19:39 444b2fc9a129: Verifying Checksum 13:19:39 444b2fc9a129: Download complete 13:19:39 c9b1b535fdd9: Verifying Checksum 13:19:39 c9b1b535fdd9: Download complete 13:19:39 ea15f1150254: Verifying Checksum 13:19:39 ea15f1150254: Download complete 13:19:40 28c525ee5125: Verifying Checksum 13:19:40 28c525ee5125: Download complete 13:19:40 c9b1b535fdd9: Pull complete 13:19:40 756a868c4378: Verifying Checksum 13:19:40 756a868c4378: Download complete 13:19:40 2cc5ad85d9ab: Pull complete 13:19:41 138eaada9080: Verifying Checksum 13:19:41 138eaada9080: Download complete 13:19:41 0622d0fa9048: Verifying Checksum 13:19:41 0622d0fa9048: Download complete 13:19:41 094b1ea09ed8: Verifying Checksum 13:19:41 094b1ea09ed8: Download complete 13:19:44 41b27a9f41bf: Verifying Checksum 13:19:44 41b27a9f41bf: Download complete 13:19:45 756a868c4378: Pull complete 13:19:45 444b2fc9a129: Pull complete 13:19:45 ea15f1150254: Pull complete 13:19:50 41b27a9f41bf: Pull complete 13:19:50 28c525ee5125: Pull complete 13:19:55 094b1ea09ed8: Pull complete 13:19:55 138eaada9080: Pull complete 13:19:55 0622d0fa9048: Pull complete 13:19:55 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 13:19:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 13:19:56 prd-centos7-docker-4c-2g-1865 does not seem to be running inside a container 13:19:56 $ 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-265 -v /w/workspace/edgexfoundry_device-sdk-c_PR-265:/w/workspace/edgexfoundry_device-sdk-c_PR-265:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-265@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 13:19:57 $ docker top d91b6015038f67ffa6a5847e089cdb97d3464ae0a12bb1fc86f8f9dab85f4bc0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:19:57 provisioning config files... 13:19:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-265@tmp/config716639375040866065tmp [Pipeline] { [Pipeline] echo 13:19:57 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:19:58 ---> create-netrc.sh [Pipeline] echo 13:19:58 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:20:00 ---> logs-deploy.sh 13:20:00 + ARCHIVE_ARTIFACTS= 13:20:00 + LOGS_SERVER=https://logs.edgexfoundry.org 13:20:00 + '[' https://logs.edgexfoundry.org == None ']' 13:20:00 + NEXUS_URL=https://nexus.edgexfoundry.org 13:20:00 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-265/1 13:20:00 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-265/1/ 13:20:00 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-265/1 /w/workspace/edgexfoundry_device-sdk-c_PR-265 13:20:02 Archives upload complete. 13:20:02 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-265/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-265/1/ 13:20:03 ---> uname -a: 13:20:03 Linux d91b6015038f 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux 13:20:03 13:20:03 13:20:03 ---> lscpu: 13:20:03 Architecture: x86_64 13:20:03 CPU op-mode(s): 32-bit, 64-bit 13:20:03 Byte Order: Little Endian 13:20:03 Address sizes: 40 bits physical, 48 bits virtual 13:20:03 CPU(s): 4 13:20:03 On-line CPU(s) list: 0-3 13:20:03 Thread(s) per core: 1 13:20:03 Core(s) per socket: 1 13:20:03 Socket(s): 4 13:20:03 NUMA node(s): 1 13:20:03 Vendor ID: GenuineIntel 13:20:03 CPU family: 6 13:20:03 Model: 44 13:20:03 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 13:20:03 Stepping: 1 13:20:03 CPU MHz: 2933.438 13:20:03 BogoMIPS: 5866.87 13:20:03 Virtualization: VT-x 13:20:03 Hypervisor vendor: KVM 13:20:03 Virtualization type: full 13:20:03 L1d cache: 128 KiB 13:20:03 L1i cache: 128 KiB 13:20:03 L2 cache: 16 MiB 13:20:03 L3 cache: 64 MiB 13:20:03 NUMA node0 CPU(s): 0-3 13:20:03 Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes 13:20:03 Vulnerability Meltdown: Mitigation; PTI 13:20:03 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 13:20:03 Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization 13:20:03 Vulnerability Spectre v2: Mitigation; Full retpoline 13:20:03 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 13:20:03 13:20:03 13:20:03 ---> nproc: 13:20:03 4 13:20:03 13:20:03 13:20:03 ---> df -h: 13:20:03 Filesystem Size Used Available Use% Mounted on 13:20:03 overlay 50.0G 6.4G 43.6G 13% / 13:20:03 tmpfs 64.0M 0 64.0M 0% /dev 13:20:03 tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup 13:20:03 shm 64.0M 0 64.0M 0% /dev/shm 13:20:03 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/resolv.conf 13:20:03 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hostname 13:20:03 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hosts 13:20:03 /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/edgexfoundry_device-sdk-c_PR-265 13:20:03 /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/edgexfoundry_device-sdk-c_PR-265@tmp 13:20:03 /dev/vda1 50.0G 6.4G 43.6G 13% /var/log/sa 13:20:03 13:20:03 13:20:03 ---> free -m: 13:20:03 total used free shared buff/cache available 13:20:03 Mem: 1838 603 66 0 1168 1130 13:20:03 Swap: 1023 0 1023 13:20:03 13:20:03 13:20:03 ---> ip addr: 13:20:03 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 13:20:03 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 13:20:03 inet 127.0.0.1/8 scope host lo 13:20:03 valid_lft forever preferred_lft forever 13:20:03 6: eth0@if7: mtu 1458 qdisc noqueue state UP 13:20:03 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 13:20:03 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 13:20:03 valid_lft forever preferred_lft forever 13:20:03 13:20:03 13:20:03 ---> sar -b -r -n DEV: 13:20:03 Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 06/04/20 _x86_64_ (4 CPU) 13:20:03 13:20:03 13:12:33 LINUX RESTART 13:20:03 13:20:03 13:13:01 tps rtps wtps bread/s bwrtn/s 13:20:03 13:14:02 65.61 33.89 31.73 4872.23 1925.62 13:20:03 13:15:02 11.65 0.00 11.65 0.00 1827.51 13:20:03 13:16:01 1.78 0.00 1.78 0.00 52.39 13:20:03 13:17:01 0.52 0.00 0.52 0.00 5.26 13:20:03 13:18:01 0.23 0.00 0.23 0.00 3.46 13:20:03 13:19:01 0.38 0.00 0.38 0.00 4.93 13:20:03 13:20:01 132.75 82.51 50.24 5355.28 16754.01 13:20:03 Average: 30.56 16.72 13.83 1469.47 2951.30 13:20:03 13:20:03 13:13:01 kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 13:20:03 13:14:02 131008 1751296 93.04 2620 1204524 982192 33.51 424636 1163044 51824 13:20:03 13:15:02 138240 1744064 92.66 2620 1204748 935864 31.93 420748 1160824 8 13:20:03 13:16:01 142060 1740244 92.45 2620 1204752 899884 30.70 418692 1159048 8 13:20:03 13:17:01 139700 1742604 92.58 2620 1204752 900468 30.72 421576 1159048 8 13:20:03 13:18:01 141096 1741208 92.50 2620 1204760 900204 30.71 432800 1146468 8 13:20:03 13:19:01 141008 1741296 92.51 2620 1204764 900276 30.72 433200 1146468 8 13:20:03 13:20:01 81596 1800708 95.67 2620 1193956 949392 32.39 476804 1131056 101792 13:20:03 Average: 130673 1751631 93.06 2620 1203179 924040 31.53 432637 1152279 21951 13:20:03 13:20:03 13:13:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 13:20:03 13:14:02 eth0 243.76 188.96 1054.02 106.32 0.00 0.00 0.00 13:20:03 13:14:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:20:03 13:14:02 docker0 8.01 5.10 0.95 18.35 0.00 0.00 0.00 13:20:03 13:15:02 eth0 0.41 0.08 0.02 0.03 0.00 0.00 0.00 13:20:03 13:15:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:20:03 13:15:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:20:03 13:16:01 eth0 0.63 0.10 0.06 0.01 0.00 0.00 0.00 13:20:03 13:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:20:03 13:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:20:03 13:17:01 eth0 2.66 1.68 3.34 0.41 0.00 0.00 0.00 13:20:03 13:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:20:03 13:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:20:03 13:18:01 eth0 0.12 0.10 0.01 0.07 0.00 0.00 0.00 13:20:03 13:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:20:03 13:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:20:03 13:19:01 eth0 0.23 0.18 0.14 0.07 0.00 0.00 0.00 13:20:03 13:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:20:03 13:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:20:03 13:20:01 veth517d3c3 0.00 0.10 0.00 0.01 0.00 0.00 0.00 13:20:03 13:20:01 eth0 374.83 274.50 3432.73 121.78 0.00 0.00 0.00 13:20:03 13:20:01 lo 0.10 0.10 0.01 0.01 0.00 0.00 0.00 13:20:03 13:20:01 docker0 8.01 5.10 0.95 18.34 0.00 0.00 0.00 13:20:03 Average: veth517d3c3 0.00 0.01 0.00 0.00 0.00 0.00 0.00 13:20:03 Average: eth0 53.86 39.44 493.25 17.50 0.00 0.00 0.00 13:20:03 Average: lo 0.01 0.01 0.00 0.00 0.00 0.00 0.00 13:20:03 Average: docker0 1.15 0.73 0.14 2.64 0.00 0.00 0.00 13:20:03 13:20:03 13:20:03 ---> sar -P ALL: 13:20:03 Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 06/04/20 _x86_64_ (4 CPU) 13:20:03 13:20:03 13:12:33 LINUX RESTART 13:20:03 13:20:03 13:13:01 CPU %user %nice %system %iowait %steal %idle 13:20:03 13:14:02 all 14.34 0.00 5.22 2.44 24.71 53.28 13:20:03 13:14:02 0 15.03 0.00 6.37 2.43 27.21 48.96 13:20:03 13:14:02 1 16.41 0.00 5.25 1.01 23.83 53.49 13:20:03 13:14:02 2 11.47 0.00 4.59 1.57 24.83 57.54 13:20:03 13:14:02 3 14.55 0.00 4.72 4.82 23.02 52.90 13:20:03 13:15:02 all 0.11 0.00 0.09 0.01 0.46 99.33 13:20:03 13:15:02 0 0.05 0.00 0.07 0.03 0.47 99.37 13:20:03 13:15:02 1 0.07 0.00 0.05 0.00 0.64 99.24 13:20:03 13:15:02 2 0.27 0.00 0.07 0.00 0.39 99.27 13:20:03 13:15:02 3 0.03 0.00 0.14 0.00 0.37 99.46 13:20:03 13:16:01 all 0.11 0.00 0.03 0.08 0.30 99.47 13:20:03 13:16:01 0 0.05 0.00 0.03 0.32 0.24 99.36 13:20:03 13:16:01 1 0.08 0.00 0.05 0.00 0.22 99.64 13:20:03 13:16:01 2 0.25 0.00 0.03 0.00 0.29 99.42 13:20:03 13:16:01 3 0.03 0.00 0.02 0.00 0.47 99.48 13:20:03 13:17:01 all 0.14 0.00 0.05 0.00 0.57 99.24 13:20:03 13:17:01 0 0.05 0.00 0.03 0.00 0.32 99.60 13:20:03 13:17:01 1 0.12 0.00 0.13 0.00 0.45 99.30 13:20:03 13:17:01 2 0.38 0.00 0.02 0.00 0.98 98.62 13:20:03 13:17:01 3 0.03 0.00 0.03 0.00 0.52 99.42 13:20:03 13:18:01 all 0.06 0.00 0.05 0.00 0.62 99.27 13:20:03 13:18:01 0 0.03 0.00 0.00 0.00 0.28 99.68 13:20:03 13:18:01 1 0.03 0.00 0.13 0.00 0.76 99.07 13:20:03 13:18:01 2 0.13 0.00 0.03 0.00 0.93 98.90 13:20:03 13:18:01 3 0.03 0.00 0.02 0.00 0.53 99.42 13:20:03 13:19:01 all 0.10 0.00 0.03 0.00 0.19 99.68 13:20:03 13:19:01 0 0.00 0.00 0.02 0.00 0.17 99.82 13:20:03 13:19:01 1 0.07 0.00 0.03 0.00 0.28 99.62 13:20:03 13:19:01 2 0.30 0.00 0.03 0.00 0.12 99.55 13:20:03 13:19:01 3 0.03 0.00 0.03 0.00 0.18 99.75 13:20:03 13:20:01 all 3.70 0.00 2.23 1.99 11.32 80.76 13:20:03 13:20:01 0 4.04 0.00 2.48 0.51 12.00 80.98 13:20:03 13:20:01 1 2.94 0.00 2.22 3.99 11.34 79.50 13:20:03 13:20:01 2 4.68 0.00 2.08 2.92 10.62 79.70 13:20:03 13:20:01 3 3.17 0.00 2.13 0.56 11.28 82.86 13:20:03 Average: all 2.73 0.00 1.13 0.66 5.59 89.90 13:20:03 Average: 0 2.79 0.00 1.30 0.48 5.89 89.54 13:20:03 Average: 1 2.89 0.00 1.15 0.73 5.49 89.74 13:20:03 Average: 2 2.60 0.00 1.02 0.66 5.68 90.04 13:20:03 Average: 3 2.62 0.00 1.03 0.79 5.31 90.26 13:20:03 13:20:03 13:20:03