Pull request #260 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 402ce3a89d6622994d4ed7739f2c2a6378663709+16c2a897f1bf182c8f6ba1bddddf4975b453e4d5 (183aaf722282342dee2fb2b580b3c159d2093f1c) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision a8d5489117fb74ecf2babedeac9793ec80335c77 using credential edgex-jenkins-access-pat Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository https://github.com/edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-260/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/tags/stable:refs/tags/stable # timeout=10 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision a8d5489117fb74ecf2babedeac9793ec80335c77 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a8d5489117fb74ecf2babedeac9793ec80335c77 # timeout=10 Commit message: "Merge pull request #176 from soda480/US6232f" > 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 https://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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-817 in /w/workspace/edgexfoundry_device-sdk-c_PR-260 [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-260 # 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/260/head:refs/remotes/origin/PR-260 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 16c2a897f1bf182c8f6ba1bddddf4975b453e4d5 into PR head commit 402ce3a89d6622994d4ed7739f2c2a6378663709 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/260/head:refs/remotes/origin/PR-260 # 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/260/head:refs/remotes/origin/PR-260 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 402ce3a89d6622994d4ed7739f2c2a6378663709 # timeout=10 Merge succeeded, producing 402ce3a89d6622994d4ed7739f2c2a6378663709 Checking out Revision 402ce3a89d6622994d4ed7739f2c2a6378663709 (PR-260) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 16c2a897f1bf182c8f6ba1bddddf4975b453e4d5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 402ce3a89d6622994d4ed7739f2c2a6378663709 # timeout=10 Commit message: "compat: Add missing v1 post_readings function" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object a8d5489117fb74ecf2babedeac9793ec80335c77 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:13:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:13:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:13:57 ========================================================= 15:13:57 EdgeX Global Pipelines Version Info 15:13:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:13:58 ------------------- 15:13:58 stable info: 15:13:58 ------------------- 15:13:58 Commited By: Emilio Reyes emilio.reyes@intel.com 15:13:58 Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d 15:13:58 Message: update stable to v1.0.87 15:13:59 ------------------- 15:13:59 experimental info: 15:13:59 ------------------- 15:13:59 Commited By: **** collab-it+edgex@linuxfoundation.org 15:13:59 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 15:13:59 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 15:14:02 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:14:02 15:14:02 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:14:03 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:14:03 latest: Pulling from edgex-devops/git-semver 15:14:03 9123ac7c32f7: Pulling fs layer 15:14:03 b8cc5d1170e3: Pulling fs layer 15:14:03 2924cbbf6a41: Pulling fs layer 15:14:03 93b08a4f1073: Pulling fs layer 15:14:03 93b08a4f1073: Waiting 15:14:03 b8cc5d1170e3: Verifying Checksum 15:14:03 b8cc5d1170e3: Download complete 15:14:03 9123ac7c32f7: Verifying Checksum 15:14:03 9123ac7c32f7: Download complete 15:14:03 93b08a4f1073: Verifying Checksum 15:14:03 93b08a4f1073: Download complete 15:14:03 2924cbbf6a41: Verifying Checksum 15:14:03 2924cbbf6a41: Download complete 15:14:04 9123ac7c32f7: Pull complete 15:14:04 b8cc5d1170e3: Pull complete 15:14:05 2924cbbf6a41: Pull complete 15:14:05 93b08a4f1073: Pull complete 15:14:05 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 15:14:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:14:06 prd-centos7-docker-4c-2g-817 does not seem to be running inside a container 15:14:06 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-260 -v /w/workspace/edgexfoundry_device-sdk-c_PR-260:/w/workspace/edgexfoundry_device-sdk-c_PR-260:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-260@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-260@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 15:14:07 $ docker top b22d145b195cbef7e3e1d9f0dd264d31927b49331c793efc6cc5113cd72ff351 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:14:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:14:07 [ssh-agent] Looking for ssh-agent implementation... 15:14:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:14:07 $ docker exec b22d145b195cbef7e3e1d9f0dd264d31927b49331c793efc6cc5113cd72ff351 ssh-agent 15:14:08 SSH_AUTH_SOCK=/tmp/ssh-VOJ9aUOFmqNX/agent.15 15:14:08 SSH_AGENT_PID=22 15:14:08 Running ssh-add (command line suppressed) 15:14:08 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-260@tmp/private_key_5052799193383631035.key (/w/workspace/edgexfoundry_device-sdk-c_PR-260@tmp/private_key_5052799193383631035.key) 15:14:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:14:08 + git describe --exact-match --tags HEAD 15:14:08 fatal: No names found, cannot describe anything. [Pipeline] } 15:14:08 $ docker exec --env ******** --env ******** b22d145b195cbef7e3e1d9f0dd264d31927b49331c793efc6cc5113cd72ff351 ssh-agent -k 15:14:09 unset SSH_AUTH_SOCK; 15:14:09 unset SSH_AGENT_PID; 15:14:09 echo Agent pid 22 killed; 15:14:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 15:14:09 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 15:14:09 This usually means this commit has not been tagged. [Pipeline] sshagent 15:14:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:14:09 [ssh-agent] Looking for ssh-agent implementation... 15:14:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:14:09 $ docker exec b22d145b195cbef7e3e1d9f0dd264d31927b49331c793efc6cc5113cd72ff351 ssh-agent 15:14:10 SSH_AUTH_SOCK=/tmp/ssh-1B8ooYc7ryFu/agent.58 15:14:10 SSH_AGENT_PID=65 15:14:10 Running ssh-add (command line suppressed) 15:14:10 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-260@tmp/private_key_1221547481595321020.key (/w/workspace/edgexfoundry_device-sdk-c_PR-260@tmp/private_key_1221547481595321020.key) 15:14:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:14:10 + git semver init 15:14:10 # -> Open(): unable to determine branch for HEAD 15:14:10 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-260/.git 15:14:10 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-260 15:14:10 # $SEMVER_REMOTE_NAME = origin 15:14:10 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:14:10 # $SEMVER_USER_NAME = edgex-jenkins 15:14:10 # $SEMVER_BRANCH = PR-260 15:14:10 # $SEMVER_TEMP = /tmp/semver-681130298 15:14:10 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 15:14:11 # '/tmp/semver-681130298' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-260/.semver' 15:14:11 # -> Force: false 15:14:11 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-260/.semver [Pipeline] } 15:14:11 $ docker exec --env ******** --env ******** b22d145b195cbef7e3e1d9f0dd264d31927b49331c793efc6cc5113cd72ff351 ssh-agent -k 15:14:11 unset SSH_AUTH_SOCK; 15:14:11 unset SSH_AGENT_PID; 15:14:11 echo Agent pid 65 killed; 15:14:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:14:12 + git semver [Pipeline] } 15:14:12 $ docker stop --time=1 b22d145b195cbef7e3e1d9f0dd264d31927b49331c793efc6cc5113cd72ff351 15:14:14 $ docker rm -f b22d145b195cbef7e3e1d9f0dd264d31927b49331c793efc6cc5113cd72ff351 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 15:14:15 Stashed 43 file(s) [Pipeline] echo 15:14:15 [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 15:14:31 Still waiting to schedule task 15:14:31 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-817’ 15:14:31 Still waiting to schedule task 15:14:31 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 15:16:28 Running on prd-ubuntu18.04-docker-arm64-4c-16g-818 in /w/workspace/edgexfoundry_device-sdk-c_PR-260 [Pipeline] { [Pipeline] ws 15:16:28 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 15:16:34 using credential edgex-jenkins-ssh 15:16:34 Cloning the remote Git repository 15:16:34 Cloning with configured refspecs honoured and without tags 15:16:34 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 15:16:34 > git init /w/workspace/device-sdk-c/1 # timeout=10 15:16:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 15:16:34 > git --version # timeout=10 15:16:34 using GIT_SSH to set credentials SSH Credentials for GitHub 15:16:34 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/260/head:refs/remotes/origin/PR-260 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:16:35 Fetching without tags 15:16:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 15:16:35 > git config --add remote.origin.fetch +refs/pull/260/head:refs/remotes/origin/PR-260 # timeout=10 15:16:35 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 15:16:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 15:16:35 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 15:16:35 using GIT_SSH to set credentials SSH Credentials for GitHub 15:16:35 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/260/head:refs/remotes/origin/PR-260 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:16:36 Merging remotes/origin/master commit 16c2a897f1bf182c8f6ba1bddddf4975b453e4d5 into PR head commit 402ce3a89d6622994d4ed7739f2c2a6378663709 15:16:36 Merge succeeded, producing 402ce3a89d6622994d4ed7739f2c2a6378663709 15:16:36 Checking out Revision 402ce3a89d6622994d4ed7739f2c2a6378663709 (PR-260) 15:16:36 > git config core.sparsecheckout # timeout=10 15:16:36 > git checkout -f 402ce3a89d6622994d4ed7739f2c2a6378663709 # timeout=10 15:16:36 > git remote # timeout=10 15:16:36 > git config --get remote.origin.url # timeout=10 15:16:36 using GIT_SSH to set credentials SSH Credentials for GitHub 15:16:36 > git merge 16c2a897f1bf182c8f6ba1bddddf4975b453e4d5 # timeout=10 15:16:36 > git rev-parse HEAD^{commit} # timeout=10 15:16:36 > git config core.sparsecheckout # timeout=10 15:16:36 > git checkout -f 402ce3a89d6622994d4ed7739f2c2a6378663709 # timeout=10 15:16:41 Commit message: "compat: Add missing v1 post_readings function" 15:16:41 > git --version # timeout=10 15:16:41 fatal: bad object a8d5489117fb74ecf2babedeac9793ec80335c77 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 15:16:42 ========================================================= 15:16:42 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 15:16:42 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:16:44 + 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 . 15:16:45 Sending build context to Docker daemon 3.074MB 15:16:45 Step 1/21 : ARG BASE=alpine:3.9 15:16:45 Step 2/21 : FROM ${BASE} as builder 15:16:45 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 15:16:45 0362ad1dd800: Pulling fs layer 15:16:45 f2cdb1532d8b: Pulling fs layer 15:16:45 37ed683be191: Pulling fs layer 15:16:45 f2cdb1532d8b: Verifying Checksum 15:16:45 f2cdb1532d8b: Download complete 15:16:45 0362ad1dd800: Download complete 15:16:46 0362ad1dd800: Pull complete 15:16:46 f2cdb1532d8b: Pull complete 15:16:53 37ed683be191: Verifying Checksum 15:16:53 37ed683be191: Download complete 15:16:59 Running on prd-centos7-docker-4c-2g-819 in /w/workspace/edgexfoundry_device-sdk-c_PR-260 [Pipeline] { [Pipeline] ws 15:16:59 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 15:17:02 using credential edgex-jenkins-ssh 15:17:02 Cloning the remote Git repository 15:17:02 Cloning with configured refspecs honoured and without tags 15:17:02 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 15:17:02 > git init /w/workspace/device-sdk-c/1 # timeout=10 15:17:03 Fetching without tags 15:17:03 37ed683be191: Pull complete 15:17:03 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 15:17:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 15:17:03 ---> b23d30803547 15:17:03 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 15:17:02 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 15:17:02 > git --version # timeout=10 15:17:02 using GIT_SSH to set credentials SSH Credentials for GitHub 15:17:02 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/260/head:refs/remotes/origin/PR-260 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:17:03 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 15:17:03 > git config --add remote.origin.fetch +refs/pull/260/head:refs/remotes/origin/PR-260 # timeout=10 15:17:03 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 15:17:03 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 15:17:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 15:17:03 using GIT_SSH to set credentials SSH Credentials for GitHub 15:17:03 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/260/head:refs/remotes/origin/PR-260 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:17:03 Merging remotes/origin/master commit 16c2a897f1bf182c8f6ba1bddddf4975b453e4d5 into PR head commit 402ce3a89d6622994d4ed7739f2c2a6378663709 15:17:03 Merge succeeded, producing 402ce3a89d6622994d4ed7739f2c2a6378663709 15:17:03 Checking out Revision 402ce3a89d6622994d4ed7739f2c2a6378663709 (PR-260) 15:17:03 > git config core.sparsecheckout # timeout=10 15:17:03 > git checkout -f 402ce3a89d6622994d4ed7739f2c2a6378663709 # timeout=10 15:17:03 > git remote # timeout=10 15:17:03 > git config --get remote.origin.url # timeout=10 15:17:03 using GIT_SSH to set credentials SSH Credentials for GitHub 15:17:03 > git merge 16c2a897f1bf182c8f6ba1bddddf4975b453e4d5 # timeout=10 15:17:03 > git rev-parse HEAD^{commit} # timeout=10 15:17:03 > git config core.sparsecheckout # timeout=10 15:17:03 > git checkout -f 402ce3a89d6622994d4ed7739f2c2a6378663709 # timeout=10 15:17:04 ---> Running in c87ab24537ba 15:17:05 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 15:17:06 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 15:17:06 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 15:17:06 (2/8) Installing libuuid (2.33-r0) 15:17:07 (3/8) Installing libblkid (2.33-r0) 15:17:07 (4/8) Installing libfdisk (2.33-r0) 15:17:07 (5/8) Installing libmount (2.33-r0) 15:17:07 (6/8) Installing libsmartcols (2.33-r0) 15:17:07 (7/8) Installing util-linux-dev (2.33-r0) 15:17:07 (8/8) Installing wget (1.20.3-r0) 15:17:07 Executing busybox-1.29.3-r10.trigger 15:17:07 OK: 285 MiB in 83 packages 15:17:08 Commit message: "compat: Add missing v1 post_readings function" 15:17:08 > git --version # timeout=10 15:17:08 fatal: bad object a8d5489117fb74ecf2babedeac9793ec80335c77 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 15:17:09 ========================================================= 15:17:09 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 15:17:09 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:17:09 Removing intermediate container c87ab24537ba 15:17:09 ---> 18d42a94fad4 15:17:09 Step 4/21 : ENV CBOR_VERSION=0.5.0 15:17:09 ---> Running in 003e17c00de2 15:17:09 Removing intermediate container 003e17c00de2 15:17:09 ---> 679983e6b011 15:17:09 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 15:17:10 ---> Running in d665659e3d70 15:17:10 + 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 . 15:17:10 Sending build context to Docker daemon 3.074MB 15:17:10 Step 1/21 : ARG BASE=alpine:3.9 15:17:10 Step 2/21 : FROM ${BASE} as builder 15:17:10 latest: Pulling from edgex-devops/edgex-gcc-base 15:17:10 e7c96db7181b: Pulling fs layer 15:17:10 4c13bbce0fe7: Pulling fs layer 15:17:10 6059c847ac2f: Pulling fs layer 15:17:10 4c13bbce0fe7: Verifying Checksum 15:17:10 4c13bbce0fe7: Download complete 15:17:10 e7c96db7181b: Verifying Checksum 15:17:10 e7c96db7181b: Download complete 15:17:10 --2020-05-26 15:17:10-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 15:17:10 e7c96db7181b: Pull complete 15:17:10 Resolving github.com... 140.82.114.4 15:17:10 Connecting to github.com|140.82.114.4|:443... connected. 15:17:10 HTTP request sent, awaiting response... 302 Found 15:17:10 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 15:17:10 --2020-05-26 15:17:10-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 15:17:10 Resolving codeload.github.com... 140.82.113.10 15:17:10 Connecting to codeload.github.com|140.82.113.10|:443... connected. 15:17:11 4c13bbce0fe7: Pull complete 15:17:11 HTTP request sent, awaiting response... 200 OK 15:17:11 Length: unspecified [application/x-gzip] 15:17:11 Saving to: 'STDOUT' 15:17:11  15:17:11 0K .......... .......... .......... .......... .......... 1.60M 15:17:11 50K .......... .......... .......... .......... .......... 3.22M 15:17:11 100K .......... .......... .......... .......... .......... 12.0M 15:17:11 150K .......... .......... .......... .......... .......... 13.8M 15:17:11 200K .......... .......... .......... .......... .......... 4.42M 15:17:11 250K .......... .......... .......... .......... .......... 4.59M 15:17:11 300K .......... .......... .......... .......... .......... 4.87M 15:17:11 350K .......... .......... .......... .......... .......... 4.09M 15:17:11 400K .......... .......... .......... .......... .......... 3.44M 15:17:11 450K .......... .......... .......... .......... .......... 3.57M 15:17:11 500K .......... .......... .......... .......... .......... 6.33M 15:17:11 550K .......... .......... .......... .......... .......... 2.87M 15:17:11 600K .......... .......... .......... .......... .......... 842K 15:17:11 650K .......... .......... .......... .......... .......... 2.56M 15:17:11 700K ..    306K=0.2s 15:17:11 15:17:11 2020-05-26 15:17:11 (2.90 MB/s) - written to stdout [719348] 15:17:11 15:17:11 6059c847ac2f: Verifying Checksum 15:17:11 6059c847ac2f: Download complete 15:17:11 -- The C compiler identification is GNU 8.3.0 15:17:12 -- The CXX compiler identification is GNU 8.3.0 15:17:12 -- Check for working C compiler: /usr/bin/cc 15:17:12 -- Check for working C compiler: /usr/bin/cc -- works 15:17:12 -- Detecting C compiler ABI info 15:17:12 -- Detecting C compiler ABI info - done 15:17:12 -- Detecting C compile features 15:17:13 -- Detecting C compile features - done 15:17:13 -- Check for working CXX compiler: /usr/bin/c++ 15:17:13 -- Check for working CXX compiler: /usr/bin/c++ -- works 15:17:13 -- Detecting CXX compiler ABI info 15:17:13 -- Detecting CXX compiler ABI info - done 15:17:13 -- Detecting CXX compile features 15:17:15 -- Detecting CXX compile features - done 15:17:15 -- Looking for include file endian.h 15:17:15 -- Looking for include file endian.h - found 15:17:15 -- Check if the system is big endian 15:17:15 -- Searching 16 bit integer 15:17:15 -- Looking for sys/types.h 15:17:15 -- Looking for sys/types.h - found 15:17:15 -- Looking for stdint.h 15:17:15 6059c847ac2f: Pull complete 15:17:15 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 15:17:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 15:17:15 ---> 5eabd8fd8ba2 15:17:15 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 15:17:15 ---> Running in 158d90785e9a 15:17:15 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 15:17:15 -- Looking for stdint.h - found 15:17:15 -- Looking for stddef.h 15:17:16 -- Looking for stddef.h - found 15:17:16 -- Check size of unsigned short 15:17:16 -- Check size of unsigned short - done 15:17:16 -- Using unsigned short 15:17:16 -- Check if the system is big endian - little endian 15:17:16 -- Check size of size_t 15:17:16 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 15:17:16 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 15:17:16 (2/8) Installing libuuid (2.33-r0) 15:17:17 -- Check size of size_t - done 15:17:17 CMake Warning at examples/CMakeLists.txt:16 (find_package): 15:17:17 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 15:17:17 asked CMake to find a package configuration file provided by "cJSON", but 15:17:17 CMake did not find one. 15:17:17 15:17:17 Could not find a package configuration file provided by "cJSON" with any of 15:17:17 the following names: 15:17:17 15:17:17 cJSONConfig.cmake 15:17:17 cjson-config.cmake 15:17:17 15:17:17 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 15:17:17 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 15:17:17 provides a separate development package or SDK, be sure it has been 15:17:17 installed. 15:17:17 15:17:17 15:17:17 -- Configuring done 15:17:17 (3/8) Installing libblkid (2.33-r0) 15:17:17 (4/8) Installing libfdisk (2.33-r0) 15:17:17 (5/8) Installing libmount (2.33-r0) 15:17:17 (6/8) Installing libsmartcols (2.33-r0) 15:17:17 (7/8) Installing util-linux-dev (2.33-r0) 15:17:17 -- Generating done 15:17:17 -- Build files have been written to: /tmp/cbor 15:17:17 Scanning dependencies of target cbor_shared 15:17:17 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 15:17:17 (8/8) Installing wget (1.20.3-r0) 15:17:17 Executing busybox-1.29.3-r10.trigger 15:17:17 OK: 272 MiB in 83 packages 15:17:18 Removing intermediate container 158d90785e9a 15:17:18 ---> 935bad791167 15:17:18 Step 4/21 : ENV CBOR_VERSION=0.5.0 15:17:18 ---> Running in f88c368d5a96 15:17:18 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 15:17:18 Removing intermediate container f88c368d5a96 15:17:18 ---> 0bf410aa84e9 15:17:18 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 15:17:18 ---> Running in 388eaf8c54da 15:17:18 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 15:17:18 --2020-05-26 15:17:18-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 15:17:18 Resolving github.com... 140.82.114.4 15:17:18 Connecting to github.com|140.82.114.4|:443... connected. 15:17:18 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 15:17:18 HTTP request sent, awaiting response... 302 Found 15:17:18 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 15:17:18 --2020-05-26 15:17:18-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 15:17:18 Resolving codeload.github.com... 140.82.112.9 15:17:18 Connecting to codeload.github.com|140.82.112.9|:443... connected. 15:17:19 HTTP request sent, awaiting response... 200 OK 15:17:19 Length: unspecified [application/x-gzip] 15:17:19 Saving to: 'STDOUT' 15:17:19  15:17:19 0K .......... .......... .......... .......... .......... 1.33M 15:17:19 50K .......... .......... .......... .......... .......... 2.58M 15:17:19 100K .......... .......... .......... .......... .......... 52.8M 15:17:19 150K .......... .......... .......... .......... .......... 2.72M 15:17:19 200K .......... .......... .......... .......... .......... 43.2M 15:17:19 250K .......... .......... .......... .......... .......... 7.04M 15:17:19 300K .......... .......... .......... .......... .......... 4.65M 15:17:19 350K .......... .......... .......... .......... .......... 115M 15:17:19 400K .......... .......... .......... .......... .......... 8.84M 15:17:19 450K .......... .......... .......... .......... .......... 9.15M 15:17:19 500K .......... .......... .......... .......... .......... 10.7M 15:17:19 550K .......... .......... .......... .......... .......... 13.8M 15:17:19 600K .......... .......... .......... .......... .......... 2.72M 15:17:19 650K .......... .......... .......... .......... .......... 4.12M 15:17:19 700K .. 4746G=0.1s 15:17:19 15:17:19 2020-05-26 15:17:19 (4.82 MB/s) - written to stdout [719348] 15:17:19 15:17:19 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 15:17:19 -- The C compiler identification is GNU 8.3.0 15:17:19 -- The CXX compiler identification is GNU 8.3.0 15:17:19 -- Check for working C compiler: /usr/bin/cc 15:17:19 -- Check for working C compiler: /usr/bin/cc -- works 15:17:19 -- Detecting C compiler ABI info 15:17:19 -- Detecting C compiler ABI info - done 15:17:19 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 15:17:19 -- Detecting C compile features 15:17:19 -- Detecting C compile features - done 15:17:19 -- Check for working CXX compiler: /usr/bin/c++ 15:17:20 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 15:17:20 -- Check for working CXX compiler: /usr/bin/c++ -- works 15:17:20 -- Detecting CXX compiler ABI info 15:17:20 -- Detecting CXX compiler ABI info - done 15:17:20 -- Detecting CXX compile features 15:17:20 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 15:17:20 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 15:17:20 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 15:17:20 -- Detecting CXX compile features - done 15:17:20 -- Looking for include file endian.h 15:17:20 -- Looking for include file endian.h - found 15:17:20 -- Check if the system is big endian 15:17:20 -- Searching 16 bit integer 15:17:20 -- Looking for sys/types.h 15:17:20 -- Looking for sys/types.h - found 15:17:20 -- Looking for stdint.h 15:17:20 -- Looking for stdint.h - found 15:17:20 -- Looking for stddef.h 15:17:20 -- Looking for stddef.h - found 15:17:20 -- Check size of unsigned short 15:17:20 -- Check size of unsigned short - done 15:17:20 -- Using unsigned short 15:17:20 -- Check if the system is big endian - little endian 15:17:20 -- Check size of size_t 15:17:21 -- Check size of size_t - done 15:17:21 CMake Warning at examples/CMakeLists.txt:16 (find_package): 15:17:21 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 15:17:21 asked CMake to find a package configuration file provided by "cJSON", but 15:17:21 CMake did not find one. 15:17:21 15:17:21 Could not find a package configuration file provided by "cJSON" with any of 15:17:21 the following names: 15:17:21 15:17:21 cJSONConfig.cmake 15:17:21 cjson-config.cmake 15:17:21 15:17:21 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 15:17:21 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 15:17:21 provides a separate development package or SDK, be sure it has been 15:17:21 installed. 15:17:21 15:17:21 15:17:21 -- Configuring done 15:17:21 -- Generating done 15:17:21 -- Build files have been written to: /tmp/cbor 15:17:21 Scanning dependencies of target cbor_shared 15:17:21 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 15:17:21 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 15:17:21 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 15:17:21 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 15:17:21 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 15:17:21 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 15:17:21 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 15:17:21 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 15:17:21 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 15:17:21 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 15:17:21 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 15:17:22 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 15:17:22 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 15:17:22 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 15:17:22 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 15:17:22 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 15:17:22 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 15:17:22 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 15:17:22 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 15:17:22 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 15:17:22 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 15:17:22 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 15:17:22 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 15:17:22 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 15:17:22 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 15:17:22 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 15:17:22 [ 40%] Linking C shared library libcbor.so 15:17:22 [ 40%] Built target cbor_shared 15:17:22 Scanning dependencies of target cbor 15:17:22 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 15:17:23 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 15:17:23 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 15:17:23 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 15:17:23 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 15:17:23 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 15:17:23 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 15:17:23 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 15:17:23 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 15:17:23 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 15:17:23 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 15:17:23 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 15:17:23 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 15:17:23 [ 40%] Linking C shared library libcbor.so 15:17:23 [ 40%] Built target cbor_shared 15:17:23 Scanning dependencies of target cbor 15:17:24 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 15:17:24 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 15:17:24 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 15:17:24 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 15:17:24 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 15:17:24 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 15:17:24 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 15:17:24 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 15:17:24 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 15:17:24 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 15:17:24 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 15:17:24 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 15:17:24 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 15:17:24 [ 80%] Linking C static library libcbor.a 15:17:24 [ 80%] Built target cbor 15:17:25 Scanning dependencies of target create_items 15:17:25 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 15:17:25 [ 84%] Linking C executable create_items 15:17:25 [ 84%] Built target create_items 15:17:25 Scanning dependencies of target readfile 15:17:25 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 15:17:25 [ 88%] Linking C executable readfile 15:17:25 [ 88%] Built target readfile 15:17:25 Scanning dependencies of target streaming_parser 15:17:25 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 15:17:25 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 15:17:25 [ 92%] Linking C executable streaming_parser 15:17:25 [ 92%] Built target streaming_parser 15:17:25 Scanning dependencies of target sort 15:17:25 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 15:17:25 [ 96%] Linking C executable sort 15:17:25 [ 96%] Built target sort 15:17:25 Scanning dependencies of target hello 15:17:25 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 15:17:25 [100%] Linking C executable hello 15:17:25 [100%] Built target hello 15:17:25 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 15:17:25 Install the project... 15:17:25 -- Install configuration: "Release" 15:17:25 -- Installing: /usr/local/include/cbor/configuration.h 15:17:25 -- Installing: /usr/local/lib64/libcbor.a 15:17:25 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 15:17:25 -- Installing: /usr/local/lib64/libcbor.so.0 15:17:25 -- Installing: /usr/local/lib64/libcbor.so 15:17:25 -- Up-to-date: /usr/local/include/cbor 15:17:25 -- Installing: /usr/local/include/cbor/arrays.h 15:17:25 -- Installing: /usr/local/include/cbor/bytestrings.h 15:17:25 -- Installing: /usr/local/include/cbor/callbacks.h 15:17:25 -- Installing: /usr/local/include/cbor/common.h 15:17:25 -- Installing: /usr/local/include/cbor/data.h 15:17:25 -- Installing: /usr/local/include/cbor/encoding.h 15:17:25 -- Installing: /usr/local/include/cbor/floats_ctrls.h 15:17:25 -- Installing: /usr/local/include/cbor/internal 15:17:25 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 15:17:25 -- Installing: /usr/local/include/cbor/internal/encoders.h 15:17:25 -- Installing: /usr/local/include/cbor/internal/loaders.h 15:17:25 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 15:17:25 -- Installing: /usr/local/include/cbor/internal/stack.h 15:17:25 -- Installing: /usr/local/include/cbor/internal/unicode.h 15:17:25 -- Installing: /usr/local/include/cbor/ints.h 15:17:25 -- Installing: /usr/local/include/cbor/maps.h 15:17:25 -- Installing: /usr/local/include/cbor/serialization.h 15:17:25 -- Installing: /usr/local/include/cbor/streaming.h 15:17:25 -- Installing: /usr/local/include/cbor/strings.h 15:17:25 -- Installing: /usr/local/include/cbor/tags.h 15:17:25 -- Installing: /usr/local/include/cbor.h 15:17:25 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 15:17:26 Removing intermediate container 388eaf8c54da 15:17:26 ---> eb3986ea4bee 15:17:26 Step 6/21 : RUN mkdir /tmp/sdk 15:17:26 ---> Running in 5689cfc07130 15:17:26 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 15:17:26 Removing intermediate container 5689cfc07130 15:17:26 ---> c2243bbd67bd 15:17:26 Step 7/21 : COPY VERSION /tmp/sdk 15:17:26 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 15:17:27 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 15:17:27 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 15:17:27 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 15:17:27 ---> b9b89d371d52 15:17:27 Step 8/21 : COPY src /tmp/sdk/src 15:17:28 ---> e6edd6ec5434 15:17:28 Step 9/21 : COPY include /tmp/sdk/include 15:17:28 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 15:17:28 ---> 54df5076659d 15:17:28 Step 10/21 : COPY scripts /tmp/sdk/scripts 15:17:28 ---> 8a9691aa0e0c 15:17:28 Step 11/21 : COPY LICENSE /tmp/sdk 15:17:28 ---> 9c31b2bbe6b4 15:17:28 Step 12/21 : COPY Attribution.txt /tmp/sdk 15:17:28 ---> 64758fd368d8 15:17:28 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 15:17:28 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 15:17:28 ---> Running in 4e061c990b0f 15:17:28 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 15:17:29 + CPPCHECK=false 15:17:29 + DOCGEN=false 15:17:29 + TOMLVER=SDK-0.2 15:17:29 + CUTILVER=1.0.4 15:17:29 + '[' 0 -gt 0 ] 15:17:29 + readlink -f ./scripts/build.sh 15:17:29 + dirname /tmp/sdk/scripts/build.sh 15:17:29 + dirname /tmp/sdk/scripts 15:17:29 + ROOT=/tmp/sdk 15:17:29 + cd /tmp/sdk 15:17:29 + '[' '!' -d deps ] 15:17:29 + mkdir deps 15:17:29 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 15:17:29 + tar -C deps -z -x -f - 15:17:29 --2020-05-26 15:17:28-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 15:17:29 Resolving github.com... 140.82.114.4 15:17:29 Connecting to github.com|140.82.114.4|:443... connected. 15:17:29 HTTP request sent, awaiting response... 302 Found 15:17:29 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 15:17:29 --2020-05-26 15:17:29-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 15:17:29 Resolving codeload.github.com... 140.82.112.9 15:17:29 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 15:17:29 Connecting to codeload.github.com|140.82.112.9|:443... connected. 15:17:29 HTTP request sent, awaiting response... 200 OK 15:17:29 Length: unspecified [application/x-gzip] 15:17:29 Saving to: 'STDOUT' 15:17:29 15:17:29 0K .......... ......  1.07M=0.01s 15:17:29 15:17:29 2020-05-26 15:17:29 (1.07 MB/s) - written to stdout [16451] 15:17:29 15:17:29 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 15:17:29 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz 15:17:29 + tar -C deps -z -x -f - 15:17:29 --2020-05-26 15:17:29-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz 15:17:29 Resolving github.com... 140.82.114.4 15:17:29 Connecting to github.com|140.82.114.4|:443... connected. 15:17:29 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 15:17:29 HTTP request sent, awaiting response... 302 Found 15:17:29 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] 15:17:29 --2020-05-26 15:17:29-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 15:17:29 Resolving codeload.github.com... 140.82.112.9 15:17:29 Connecting to codeload.github.com|140.82.112.9|:443... connected. 15:17:29 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 15:17:29 HTTP request sent, awaiting response... 200 OK 15:17:29 Length: unspecified [application/x-gzip] 15:17:29 Saving to: 'STDOUT' 15:17:29 15:17:29 0K .......... .......... .......... .......... .......... 1.64M 15:17:29 50K .......... .......... .......... .......... .......... 3.24M 15:17:29 100K .......... .......... .......... .......... .......... 24.1M 15:17:29 150K ........    47.2M=0.05s 15:17:29 15:17:29 2020-05-26 15:17:29 (3.29 MB/s) - written to stdout [162267] 15:17:29 15:17:29 + mkdir -p src/c/iot 15:17:29 + 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 15:17:29 + mkdir -p include/iot 15:17:29 + 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 15:17:29 + mkdir -p include/iot/os 15:17:29 + 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 15:17:29 + mkdir -p /tmp/sdk/build/release 15:17:29 + cd /tmp/sdk/build/release 15:17:29 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 15:17:29 -- The C compiler identification is GNU 8.3.0 15:17:29 -- Check for working C compiler: /usr/bin/cc 15:17:30 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 15:17:30 -- Check for working C compiler: /usr/bin/cc -- works 15:17:30 -- Detecting C compiler ABI info 15:17:30 -- Detecting C compiler ABI info - done 15:17:30 -- Detecting C compile features 15:17:30 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 15:17:30 -- Detecting C compile features - done 15:17:30 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:17:30 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 15:17:30 -- Found LIBYAML: /usr/lib/libyaml.so 15:17:30 -- Found LIBUUID: /usr/lib/libuuid.so 15:17:30 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 15:17:30 -- C SDK 0.0.0 for Linux 15:17:30 -- Performing Test CSDK_HAVE_ATOMIC 15:17:30 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:17:30 -- Found Curses: /usr/lib/libcurses.so 15:17:30 -- Configuring done 15:17:30 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 15:17:30 -- Generating done 15:17:30 -- Build files have been written to: /tmp/sdk/build/release 15:17:30 + make 15:17:30 + tee release.log 15:17:30 Scanning dependencies of target csdk 15:17:30 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:17:30 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 15:17:30 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 15:17:30 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:17:31 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 15:17:31 [ 80%] Linking C static library libcbor.a 15:17:31 [ 80%] Built target cbor 15:17:31 Scanning dependencies of target create_items 15:17:31 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 15:17:31 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:17:31 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:17:31 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:17:31 [ 84%] Linking C executable create_items 15:17:31 [ 84%] Built target create_items 15:17:31 Scanning dependencies of target readfile 15:17:31 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 15:17:31 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:17:31 [ 88%] Linking C executable readfile 15:17:31 [ 88%] Built target readfile 15:17:32 Scanning dependencies of target streaming_parser 15:17:32 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 15:17:32 [ 92%] Linking C executable streaming_parser 15:17:32 [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:17:32 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:17:32 [ 92%] Built target streaming_parser 15:17:32 Scanning dependencies of target sort 15:17:32 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 15:17:32 [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:17:32 [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:17:32 [ 96%] Linking C executable sort 15:17:32 [ 96%] Built target sort 15:17:32 Scanning dependencies of target hello 15:17:32 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 15:17:32 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 15:17:32 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:17:32 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:17:33 [100%] Linking C executable hello 15:17:33 [100%] Built target hello 15:17:33 Install the project... 15:17:33 -- Install configuration: "Release" 15:17:33 -- Installing: /usr/local/include/cbor/configuration.h 15:17:33 -- Installing: /usr/local/lib64/libcbor.a 15:17:33 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 15:17:33 -- Installing: /usr/local/lib64/libcbor.so.0 15:17:33 -- Installing: /usr/local/lib64/libcbor.so 15:17:33 -- Up-to-date: /usr/local/include/cbor 15:17:33 -- Installing: /usr/local/include/cbor/common.h 15:17:33 -- Installing: /usr/local/include/cbor/serialization.h 15:17:33 -- Installing: /usr/local/include/cbor/encoding.h 15:17:33 -- Installing: /usr/local/include/cbor/maps.h 15:17:33 -- Installing: /usr/local/include/cbor/strings.h 15:17:33 -- Installing: /usr/local/include/cbor/arrays.h 15:17:33 -- Installing: /usr/local/include/cbor/internal 15:17:33 -- Installing: /usr/local/include/cbor/internal/loaders.h 15:17:33 -- Installing: /usr/local/include/cbor/internal/stack.h 15:17:33 -- Installing: /usr/local/include/cbor/internal/unicode.h 15:17:33 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 15:17:33 -- Installing: /usr/local/include/cbor/internal/encoders.h 15:17:33 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 15:17:33 -- Installing: /usr/local/include/cbor/data.h 15:17:33 -- Installing: /usr/local/include/cbor/floats_ctrls.h 15:17:33 -- Installing: /usr/local/include/cbor/bytestrings.h 15:17:33 -- Installing: /usr/local/include/cbor/tags.h 15:17:33 -- Installing: /usr/local/include/cbor/streaming.h 15:17:33 -- Installing: /usr/local/include/cbor/ints.h 15:17:33 -- Installing: /usr/local/include/cbor/callbacks.h 15:17:33 -- Installing: /usr/local/include/cbor.h 15:17:33 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 15:17:33 [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 15:17:33 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 15:17:33 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 15:17:34 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 15:17:34 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 15:17:34 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 15:17:34 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 15:17:34 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 15:17:34 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 15:17:34 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 15:17:35 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 15:17:35 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 15:17:35 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 15:17:35 [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:17:35 [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:17:35 Removing intermediate container d665659e3d70 15:17:35 ---> a50568a85ddd 15:17:35 Step 6/21 : RUN mkdir /tmp/sdk 15:17:35 ---> Running in 3a3d625538b3 15:17:35 [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 15:17:35 [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:17:36 [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:17:37 [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:17:37 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:17:37 [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:17:37 Removing intermediate container 3a3d625538b3 15:17:37 ---> 30b32fff5556 15:17:37 Step 7/21 : COPY VERSION /tmp/sdk 15:17:37 ---> e9e76234357b 15:17:37 Step 8/21 : COPY src /tmp/sdk/src 15:17:37 [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:17:38 [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 15:17:38 ---> a89725765ddf 15:17:38 Step 9/21 : COPY include /tmp/sdk/include 15:17:39 ---> a900e6168ae3 15:17:39 Step 10/21 : COPY scripts /tmp/sdk/scripts 15:17:39 [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:17:39 [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 15:17:39 [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:17:39 [ 65%] Linking C shared library libcsdk.so 15:17:39 [ 65%] Built target csdk 15:17:39 Scanning dependencies of target template 15:17:39 [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:17:39 ---> d49a801a38fb 15:17:39 Step 11/21 : COPY LICENSE /tmp/sdk 15:17:40 [ 68%] Linking C executable template 15:17:40 [ 68%] Built target template 15:17:40 Scanning dependencies of target device-counter 15:17:40 [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:17:40 [ 71%] Linking C executable device-counter 15:17:40 [ 71%] Built target device-counter 15:17:40 Scanning dependencies of target device-random 15:17:40 [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:17:40 [ 74%] Linking C executable device-random 15:17:40 [ 74%] Built target device-random 15:17:40 Scanning dependencies of target device-gyro 15:17:40 [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:17:40 ---> 35b28fe90fc8 15:17:40 Step 12/21 : COPY Attribution.txt /tmp/sdk 15:17:40 [ 77%] Linking C executable device-gyro 15:17:40 [ 77%] Built target device-gyro 15:17:40 Scanning dependencies of target template-discovery 15:17:40 [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:17:40 ---> b0596abe2156 15:17:40 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 15:17:40 [ 80%] Linking C executable template-discovery 15:17:40 [ 80%] Built target template-discovery 15:17:40 Scanning dependencies of target device-terminal 15:17:40 [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:17:40 ---> Running in 2242556df394 15:17:41 [ 84%] Linking C executable device-terminal 15:17:41 [ 84%] Built target device-terminal 15:17:41 Scanning dependencies of target template2 15:17:41 [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o 15:17:41 [ 87%] Linking C executable template2 15:17:41 [ 87%] Built target template2 15:17:41 Scanning dependencies of target device-counterv2 15:17:41 [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o 15:17:41 [ 90%] Linking C executable device-counterv2 15:17:41 [ 90%] Built target device-counterv2 15:17:41 Scanning dependencies of target device-gyrov2 15:17:41 [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o 15:17:41 [ 93%] Linking C executable device-gyrov2 15:17:41 [ 93%] Built target device-gyrov2 15:17:41 Scanning dependencies of target device-randomv2 15:17:41 [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o 15:17:41 [ 96%] Linking C executable device-randomv2 15:17:41 [ 96%] Built target device-randomv2 15:17:41 Scanning dependencies of target device-terminalv2 15:17:41 [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o 15:17:41 + CPPCHECK=false 15:17:41 + DOCGEN=false 15:17:41 + TOMLVER=SDK-0.2 15:17:41 + CUTILVER=1.0.4 15:17:41 + '[' 0 -gt 0 ] 15:17:41 + readlink -f ./scripts/build.sh 15:17:41 + dirname /tmp/sdk/scripts/build.sh 15:17:41 + dirname /tmp/sdk/scripts 15:17:41 + ROOT=/tmp/sdk 15:17:41 + cd /tmp/sdk 15:17:41 + '[' '!' -d deps ] 15:17:41 + mkdir deps 15:17:41 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 15:17:41 + tar -C deps -z -x -f - 15:17:41 --2020-05-26 15:17:41-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 15:17:41 Resolving github.com... 140.82.114.4 15:17:41 Connecting to github.com|140.82.114.4|:443... connected. 15:17:41 HTTP request sent, awaiting response... 302 Found 15:17:41 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 15:17:41 --2020-05-26 15:17:41-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 15:17:41 Resolving codeload.github.com... 140.82.114.9 15:17:41 Connecting to codeload.github.com|140.82.114.9|:443... connected. 15:17:42 [100%] Linking C executable device-terminalv2 15:17:42 [100%] Built target device-terminalv2 15:17:42 + make package 15:17:42 + tee -a release.log 15:17:42 [ 65%] Built target csdk 15:17:42 [ 68%] Built target template 15:17:42 [ 71%] Built target device-counter 15:17:42 [ 74%] Built target device-random 15:17:42 [ 77%] Built target device-gyro 15:17:42 HTTP request sent, awaiting response... 200 OK 15:17:42 Length: unspecified [application/x-gzip] 15:17:42 Saving to: 'STDOUT' 15:17:42  15:17:42 0K .......... ......  1.08M=0.01s 15:17:42 15:17:42 2020-05-26 15:17:41 (1.08 MB/s) - written to stdout [16451] 15:17:42 15:17:42 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 15:17:42 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz 15:17:42 + tar -C deps -z -x -f - 15:17:42 --2020-05-26 15:17:41-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz 15:17:42 Resolving github.com... 140.82.114.4 15:17:42 Connecting to github.com|140.82.114.4|:443... connected. 15:17:42 HTTP request sent, awaiting response... 302 Found 15:17:42 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] 15:17:42 --2020-05-26 15:17:42-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 15:17:42 Resolving codeload.github.com... 140.82.112.9 15:17:42 Connecting to codeload.github.com|140.82.112.9|:443... connected. 15:17:42 [ 80%] Built target template-discovery 15:17:42 [ 84%] Built target device-terminal 15:17:42 [ 87%] Built target template2 15:17:42 [ 90%] Built target device-counterv2 15:17:42 [ 93%] Built target device-gyrov2 15:17:42 [ 96%] Built target device-randomv2 15:17:42 [100%] Built target device-terminalv2 15:17:42 Run CPack packaging tool... 15:17:42 CPack: Create package using TGZ 15:17:42 CPack: Install projects 15:17:42 CPack: - Run preinstall target for: Csdk 15:17:42 HTTP request sent, awaiting response... 200 OK 15:17:42 Length: unspecified [application/x-gzip] 15:17:42 Saving to: 'STDOUT' 15:17:42  15:17:42 0K .......... .......... .......... .......... .......... 1.58M 15:17:42 50K .......... .......... .......... .......... .......... 2.96M 15:17:42 100K .......... .......... .......... .......... .......... 4.83M 15:17:42 150K ........  2.53M=0.06s 15:17:42 15:17:42 2020-05-26 15:17:42 (2.55 MB/s) - written to stdout [162267] 15:17:42 15:17:42 + mkdir -p src/c/iot 15:17:42 + 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 15:17:42 + mkdir -p include/iot 15:17:42 + 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 15:17:42 + mkdir -p include/iot/os 15:17:42 + 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 15:17:42 + mkdir -p /tmp/sdk/build/release 15:17:42 + cd /tmp/sdk/build/release 15:17:42 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 15:17:42 CPack: - Install project: Csdk 15:17:42 CPack: Create package 15:17:42 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 15:17:42 + '[' false '=' true ] 15:17:42 + '[' false '=' true ] 15:17:42 + mkdir -p /tmp/sdk/build/debug 15:17:42 + cd /tmp/sdk/build/debug 15:17:42 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 15:17:42 -- The C compiler identification is GNU 8.3.0 15:17:42 -- The C compiler identification is GNU 8.3.0 15:17:42 -- Check for working C compiler: /usr/bin/cc 15:17:42 -- Check for working C compiler: /usr/bin/cc 15:17:42 -- Check for working C compiler: /usr/bin/cc -- works 15:17:42 -- Detecting C compiler ABI info 15:17:42 -- Detecting C compiler ABI info - done 15:17:42 -- Detecting C compile features 15:17:42 -- Check for working C compiler: /usr/bin/cc -- works 15:17:42 -- Detecting C compiler ABI info 15:17:43 -- Detecting C compile features - done 15:17:43 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:17:43 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 15:17:43 -- Found LIBYAML: /usr/lib/libyaml.so 15:17:43 -- Found LIBUUID: /usr/lib/libuuid.so 15:17:43 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 15:17:43 -- C SDK 0.0.0 for Linux 15:17:43 -- Performing Test CSDK_HAVE_ATOMIC 15:17:43 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:17:43 -- Found Curses: /usr/lib/libcurses.so 15:17:43 -- Detecting C compiler ABI info - done 15:17:43 -- Detecting C compile features 15:17:43 -- Configuring done 15:17:43 -- Generating done 15:17:43 -- Build files have been written to: /tmp/sdk/build/debug 15:17:43 + make 15:17:43 + tee debug.log 15:17:43 Scanning dependencies of target csdk 15:17:43 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:17:43 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 15:17:43 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:17:43 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:17:43 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:17:43 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:17:43 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:17:44 [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:17:44 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:17:44 -- Detecting C compile features - done 15:17:44 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:17:44 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 15:17:44 -- Found LIBYAML: /usr/lib/libyaml.so 15:17:44 -- Found LIBUUID: /usr/lib/libuuid.so 15:17:44 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 15:17:44 -- C SDK 0.0.0 for Linux 15:17:44 -- Performing Test CSDK_HAVE_ATOMIC 15:17:44 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:17:44 -- Found Curses: /usr/lib/libcurses.so 15:17:44 [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:17:44 [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:17:44 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 15:17:44 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:17:44 -- Configuring done 15:17:44 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:17:44 [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 15:17:44 -- Generating done 15:17:44 -- Build files have been written to: /tmp/sdk/build/release 15:17:44 + + teemake release.log 15:17:44 15:17:44 Scanning dependencies of target csdk 15:17:44 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 15:17:44 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 15:17:44 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 15:17:45 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:17:45 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 15:17:45 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 15:17:45 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 15:17:45 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 15:17:45 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 15:17:45 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 15:17:45 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 15:17:45 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 15:17:45 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 15:17:45 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 15:17:45 [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:17:45 [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:17:45 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:17:46 [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 15:17:46 [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:17:46 [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:17:46 [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:17:46 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:17:46 [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:17:46 [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:17:46 [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 15:17:47 [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:17:47 [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 15:17:47 [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:17:47 [ 65%] Linking C shared library libcsdk.so 15:17:47 [ 65%] Built target csdk 15:17:47 Scanning dependencies of target template 15:17:47 [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:17:47 [ 68%] Linking C executable template 15:17:47 [ 68%] Built target template 15:17:47 Scanning dependencies of target device-counter 15:17:47 [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:17:47 [ 71%] Linking C executable device-counter 15:17:47 [ 71%] Built target device-counter 15:17:47 Scanning dependencies of target device-random 15:17:47 [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:17:47 [ 74%] Linking C executable device-random 15:17:47 [ 74%] Built target device-random 15:17:47 Scanning dependencies of target device-gyro 15:17:47 [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:17:47 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:17:48 [ 77%] Linking C executable device-gyro 15:17:48 [ 77%] Built target device-gyro 15:17:48 Scanning dependencies of target template-discovery 15:17:48 [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:17:48 [ 80%] Linking C executable template-discovery 15:17:48 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:17:48 [ 80%] Built target template-discovery 15:17:48 Scanning dependencies of target device-terminal 15:17:48 [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:17:48 [ 84%] Linking C executable device-terminal 15:17:48 [ 84%] Built target device-terminal 15:17:48 Scanning dependencies of target template2 15:17:48 [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o 15:17:48 [ 87%] Linking C executable template2 15:17:48 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:17:48 [ 87%] Built target template2 15:17:48 Scanning dependencies of target device-counterv2 15:17:48 [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o 15:17:48 [ 90%] Linking C executable device-counterv2 15:17:48 [ 90%] Built target device-counterv2 15:17:48 Scanning dependencies of target device-gyrov2 15:17:48 [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o 15:17:48 [ 93%] Linking C executable device-gyrov2 15:17:48 [ 93%] Built target device-gyrov2 15:17:48 Scanning dependencies of target device-randomv2 15:17:48 [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o 15:17:48 [ 96%] Linking C executable device-randomv2 15:17:48 [ 96%] Built target device-randomv2 15:17:49 Scanning dependencies of target device-terminalv2 15:17:49 [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o 15:17:49 [100%] Linking C executable device-terminalv2 15:17:49 [100%] Built target device-terminalv2 15:17:49 make: Entering directory '/tmp/sdk/build/release' 15:17:49 make[1]: Entering directory '/tmp/sdk/build/release' 15:17:49 make[2]: Entering directory '/tmp/sdk/build/release' 15:17:49 Scanning dependencies of target csdk 15:17:49 make[2]: Leaving directory '/tmp/sdk/build/release' 15:17:49 make[2]: Entering directory '/tmp/sdk/build/release' 15:17:49 [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:17:49 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:17:49 [ 3%] Linking C shared library libcsdk.so 15:17:49 make[2]: Leaving directory '/tmp/sdk/build/release' 15:17:49 [ 65%] Built target csdk 15:17:49 make[2]: Entering directory '/tmp/sdk/build/release' 15:17:49 make[2]: Leaving directory '/tmp/sdk/build/release' 15:17:49 make[2]: Entering directory '/tmp/sdk/build/release' 15:17:49 [ 66%] Linking C executable template 15:17:49 make[2]: Leaving directory '/tmp/sdk/build/release' 15:17:49 [ 68%] Built target template 15:17:49 make[2]: Entering directory '/tmp/sdk/build/release' 15:17:49 make[2]: Leaving directory '/tmp/sdk/build/release' 15:17:49 make[2]: Entering directory '/tmp/sdk/build/release' 15:17:49 [ 69%] Linking C executable device-counter 15:17:51 make[2]: Leaving directory '/tmp/sdk/build/release' 15:17:51 [ 71%] Built target device-counter 15:17:51 make[2]: Entering directory '/tmp/sdk/build/release' 15:17:51 make[2]: Leaving directory '/tmp/sdk/build/release' 15:17:51 make[2]: Entering directory '/tmp/sdk/build/release' 15:17:51 [ 73%] Linking C executable device-random 15:17:51 make[2]: Leaving directory '/tmp/sdk/build/release' 15:17:51 [ 74%] Built target device-random 15:17:51 make[2]: Entering directory '/tmp/sdk/build/release' 15:17:51 make[2]: Leaving directory '/tmp/sdk/build/release' 15:17:51 make[2]: Entering directory '/tmp/sdk/build/release' 15:17:51 [ 76%] Linking C executable device-gyro 15:17:51 make[2]: Leaving directory '/tmp/sdk/build/release' 15:17:51 [ 77%] Built target device-gyro 15:17:51 make[2]: Entering directory '/tmp/sdk/build/release' 15:17:51 make[2]: Leaving directory '/tmp/sdk/build/release' 15:17:51 make[2]: Entering directory '/tmp/sdk/build/release' 15:17:51 [ 79%] Linking C executable template-discovery 15:17:51 make[2]: Leaving directory '/tmp/sdk/build/release' 15:17:51 [ 80%] Built target template-discovery 15:17:51 make[2]: Entering directory '/tmp/sdk/build/release' 15:17:51 make[2]: Leaving directory '/tmp/sdk/build/release' 15:17:51 make[2]: Entering directory '/tmp/sdk/build/release' 15:17:51 [ 82%] Linking C executable device-terminal 15:17:51 make[2]: Leaving directory '/tmp/sdk/build/release' 15:17:51 [ 84%] Built target device-terminal 15:17:51 make[2]: Entering directory '/tmp/sdk/build/release' 15:17:51 make[2]: Leaving directory '/tmp/sdk/build/release' 15:17:51 make[2]: Entering directory '/tmp/sdk/build/release' 15:17:51 [ 85%] Linking C executable template2 15:17:51 [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:17:51 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:17:51 make[2]: Leaving directory '/tmp/sdk/build/release' 15:17:51 [ 87%] Built target template2 15:17:51 make[2]: Entering directory '/tmp/sdk/build/release' 15:17:51 make[2]: Leaving directory '/tmp/sdk/build/release' 15:17:51 make[2]: Entering directory '/tmp/sdk/build/release' 15:17:51 [ 88%] Linking C executable device-counterv2 15:17:51 make[2]: Leaving directory '/tmp/sdk/build/release' 15:17:51 [ 90%] Built target device-counterv2 15:17:51 make[2]: Entering directory '/tmp/sdk/build/release' 15:17:51 make[2]: Leaving directory '/tmp/sdk/build/release' 15:17:51 make[2]: Entering directory '/tmp/sdk/build/release' 15:17:51 [ 92%] Linking C executable device-gyrov2 15:17:51 make[2]: Leaving directory '/tmp/sdk/build/release' 15:17:51 [ 93%] Built target device-gyrov2 15:17:51 make[2]: Entering directory '/tmp/sdk/build/release' 15:17:51 make[2]: Leaving directory '/tmp/sdk/build/release' 15:17:51 make[2]: Entering directory '/tmp/sdk/build/release' 15:17:51 [ 95%] Linking C executable device-randomv2 15:17:51 make[2]: Leaving directory '/tmp/sdk/build/release' 15:17:51 [ 96%] Built target device-randomv2 15:17:51 make[2]: Entering directory '/tmp/sdk/build/release' 15:17:51 make[2]: Leaving directory '/tmp/sdk/build/release' 15:17:51 make[2]: Entering directory '/tmp/sdk/build/release' 15:17:51 [ 98%] Linking C executable device-terminalv2 15:17:51 make[2]: Leaving directory '/tmp/sdk/build/release' 15:17:51 [100%] Built target device-terminalv2 15:17:51 make[1]: Leaving directory '/tmp/sdk/build/release' 15:17:51 Install the project... 15:17:51 -- Install configuration: "Release" 15:17:51 -- Installing: /usr/local/lib/libcsdk.so 15:17:51 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 15:17:51 -- Up-to-date: /usr/local/include 15:17:51 -- Installing: /usr/local/include/devsdk 15:17:51 -- Installing: /usr/local/include/devsdk/devsdk-base.h 15:17:51 -- Installing: /usr/local/include/devsdk/devsdk.h 15:17:51 -- Installing: /usr/local/include/edgex 15:17:51 -- Installing: /usr/local/include/edgex/device-mgmt.h 15:17:51 -- Installing: /usr/local/include/edgex/devices.h 15:17:51 -- Installing: /usr/local/include/edgex/devsdk.h 15:17:51 -- Installing: /usr/local/include/edgex/edgex-base.h 15:17:51 -- Installing: /usr/local/include/edgex/edgex-logging.h 15:17:51 -- Installing: /usr/local/include/edgex/edgex.h 15:17:51 -- Installing: /usr/local/include/edgex/error.h 15:17:51 -- Installing: /usr/local/include/edgex/eventgen.h 15:17:51 -- Installing: /usr/local/include/edgex/os.h 15:17:51 -- Installing: /usr/local/include/edgex/profiles.h 15:17:51 -- Installing: /usr/local/include/edgex/registry.h 15:17:51 -- Installing: /usr/local/include/edgex/rest-server.h 15:17:51 -- Installing: /usr/local/include/edgex/csdk-defs.h 15:17:51 -- Installing: /usr/local/include/iot 15:17:51 -- Installing: /usr/local/include/iot/base64.h 15:17:51 -- Installing: /usr/local/include/iot/component.h 15:17:51 -- Installing: /usr/local/include/iot/container.h 15:17:51 -- Installing: /usr/local/include/iot/data.h 15:17:51 -- Installing: /usr/local/include/iot/hash.h 15:17:51 -- Installing: /usr/local/include/iot/iot.h 15:17:51 -- Installing: /usr/local/include/iot/json.h 15:17:51 -- Installing: /usr/local/include/iot/logger.h 15:17:51 -- Installing: /usr/local/include/iot/os.h 15:17:51 -- Installing: /usr/local/include/iot/scheduler.h 15:17:51 -- Installing: /usr/local/include/iot/thread.h 15:17:51 -- Installing: /usr/local/include/iot/threadpool.h 15:17:51 -- Installing: /usr/local/include/iot/time.h 15:17:51 -- Installing: /usr/local/include/iot/typecode.h 15:17:51 -- Installing: /usr/local/include/iot/os 15:17:51 -- Installing: /usr/local/include/iot/os/linux.h 15:17:51 -- Installing: /usr/local/include/iot/os/zephyr.h 15:17:51 -- Installing: /usr/local/share/device-sdk-c/LICENSE 15:17:51 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 15:17:51 make: Leaving directory '/tmp/sdk/build/release' 15:17:51 [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:17:52 [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:17:52 Removing intermediate container 4e061c990b0f 15:17:52 ---> 289853e2f66d 15:17:52 Step 14/21 : FROM alpine:3.9 15:17:52 3.9: Pulling from library/alpine 15:17:52 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 15:17:52 31603596830f: Pulling fs layer 15:17:53 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:17:53 31603596830f: Verifying Checksum 15:17:53 31603596830f: Download complete 15:17:53 31603596830f: Pull complete 15:17:53 Digest: sha256:414e0518bb9228d35e4cd5165567fb91d26c6a214e9c95899e1e056fcd349011 15:17:53 Status: Downloaded newer image for alpine:3.9 15:17:53 ---> 78a2ce922f86 15:17:53 Step 15/21 : MAINTAINER IOTech 15:17:53 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:17:53 ---> Running in 168f358bb447 15:17:53 Removing intermediate container 168f358bb447 15:17:53 ---> 86ff4752e006 15:17:53 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 15:17:53 ---> Running in 545b2b724552 15:17:54 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 15:17:54 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 15:17:54 (1/48) Installing binutils (2.31.1-r2) 15:17:54 (2/48) Installing libmagic (5.36-r1) 15:17:54 (3/48) Installing file (5.36-r1) 15:17:54 (4/48) Installing gmp (6.1.2-r1) 15:17:54 (5/48) Installing isl (0.18-r0) 15:17:54 (6/48) Installing libgomp (8.3.0-r0) 15:17:54 (7/48) Installing libatomic (8.3.0-r0) 15:17:54 (8/48) Installing libgcc (8.3.0-r0) 15:17:54 (9/48) Installing mpfr3 (3.1.5-r1) 15:17:54 (10/48) Installing mpc1 (1.0.3-r1) 15:17:54 (11/48) Installing libstdc++ (8.3.0-r0) 15:17:54 (12/48) Installing gcc (8.3.0-r0) 15:17:56 [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 15:17:56 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 15:17:57 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 15:17:58 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 15:17:58 (13/48) Installing musl-dev (1.1.20-r5) 15:17:59 (14/48) Installing libc-dev (0.7.1-r0) 15:17:59 (15/48) Installing g++ (8.3.0-r0) 15:17:59 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 15:17:59 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 15:18:00 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 15:18:00 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 15:18:00 (16/48) Installing make (4.2.1-r2) 15:18:00 (17/48) Installing fortify-headers (1.0-r0) 15:18:00 (18/48) Installing build-base (0.5-r1) 15:18:00 (19/48) Installing libattr (2.4.47-r7) 15:18:00 (20/48) Installing libacl (2.2.52-r5) 15:18:00 (21/48) Installing libbz2 (1.0.6-r7) 15:18:00 (22/48) Installing expat (2.2.8-r0) 15:18:00 (23/48) Installing lz4-libs (1.8.3-r2) 15:18:00 (24/48) Installing xz-libs (5.2.4-r0) 15:18:00 (25/48) Installing libarchive (3.3.3-r2) 15:18:00 (26/48) Installing ca-certificates (20191127-r0) 15:18:00 (27/48) Installing nghttp2-libs (1.35.1-r1) 15:18:00 (28/48) Installing libssh2 (1.9.0-r1) 15:18:00 (29/48) Installing libcurl (7.64.0-r3) 15:18:00 (30/48) Installing ncurses-terminfo-base (6.1_p20190105-r0) 15:18:00 (31/48) Installing ncurses-terminfo (6.1_p20190105-r0) 15:18:01 (32/48) Installing ncurses-libs (6.1_p20190105-r0) 15:18:01 (33/48) Installing rhash-libs (1.3.6-r2) 15:18:01 (34/48) Installing libuv (1.23.2-r0) 15:18:01 (35/48) Installing cmake (3.13.0-r0) 15:18:01 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 15:18:01 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 15:18:02 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 15:18:02 (36/48) Installing curl (7.64.0-r3) 15:18:02 (37/48) Installing pcre2 (10.32-r1) 15:18:02 (38/48) Installing git (2.20.4-r0) 15:18:02 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 15:18:02 (39/48) Installing nettle (3.4.1-r0) 15:18:02 (40/48) Installing libffi (3.2.1-r6) 15:18:02 (41/48) Installing p11-kit (0.23.14-r0) 15:18:03 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 15:18:03 [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:18:03 [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:18:03 (42/48) Installing libtasn1 (4.14-r0) 15:18:03 (43/48) Installing libunistring (0.9.10-r0) 15:18:03 (44/48) Installing gnutls (3.6.7-r1) 15:18:03 (45/48) Installing libmicrohttpd (0.9.62-r0) 15:18:03 (46/48) Installing libuuid (2.33-r0) 15:18:03 (47/48) Installing wget (1.20.3-r0) 15:18:03 (48/48) Installing yaml (0.2.1-r0) 15:18:03 Executing busybox-1.29.3-r10.trigger 15:18:03 Executing ca-certificates-20191127-r0.trigger 15:18:03 OK: 222 MiB in 62 packages 15:18:04 [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 15:18:05 [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:18:09 [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:18:09 [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:18:09 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:18:10 Removing intermediate container 545b2b724552 15:18:10 ---> 09286bc545bc 15:18:10 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 15:18:10 ---> 7665eb28a63e 15:18:10 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 15:18:10 ---> 4c96e9193d0e 15:18:10 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 15:18:10 ---> e2e6247b8710 15:18:10 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 15:18:10 [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:18:10 ---> ce75a7e92c27 15:18:10 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 15:18:10 ---> ca2960076a64 15:18:10 Successfully built ca2960076a64 15:18:10 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 15:18:11 [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:18:11 + docker inspect -f . ci-base-image-x86_64 15:18:11 . [Pipeline] withDockerContainer 15:18:12 prd-centos7-docker-4c-2g-819 does not seem to be running inside a container 15:18:12 $ 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 15:18:12 $ docker top 63ad67b1fab17ba39f9fe067c5d79d937832d0426f284c816551593d0b9421e6 -eo pid,comm [Pipeline] { [Pipeline] sh 15:18:13 + make test 15:18:13 echo "make test" 15:18:13 make test [Pipeline] } 15:18:13 $ docker stop --time=1 63ad67b1fab17ba39f9fe067c5d79d937832d0426f284c816551593d0b9421e6 15:18:13 [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 15:18:15 $ docker rm -f 63ad67b1fab17ba39f9fe067c5d79d937832d0426f284c816551593d0b9421e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:18:16 [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:18:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:18:17 [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 15:18:17 + ls -al . 15:18:17 total 160 15:18:17 drwxrwxr-x. 8 jenkins jenkins 260 May 26 15:17 . 15:18:17 drwxrwxr-x. 4 jenkins jenkins 28 May 26 15:17 .. 15:18:17 -rw-rw-r--. 1 jenkins jenkins 3104 May 26 15:17 Attribution.txt 15:18:17 -rw-rw-r--. 1 jenkins jenkins 5393 May 26 15:17 CHANGES 15:18:17 drwxrwxr-x. 2 jenkins jenkins 144 May 26 15:17 docs 15:18:17 -rw-rw-r--. 1 jenkins jenkins 108574 May 26 15:17 Doxyfile 15:18:17 drwxrwxr-x. 8 jenkins jenkins 179 May 26 15:17 .git 15:18:17 -rw-rw-r--. 1 jenkins jenkins 176 May 26 15:17 .gitignore 15:18:17 drwxrwxr-x. 4 jenkins jenkins 33 May 26 15:17 include 15:18:17 -rw-rw-r--. 1 jenkins jenkins 792 May 26 15:17 Jenkinsfile 15:18:17 -rw-rw-r--. 1 jenkins jenkins 10174 May 26 15:17 LICENSE 15:18:17 -rw-rw-r--. 1 jenkins jenkins 448 May 26 15:17 Makefile 15:18:17 -rw-rw-r--. 1 jenkins jenkins 1849 May 26 15:17 README.md 15:18:17 -rw-rw-r--. 1 jenkins jenkins 5287 May 26 15:17 README.v2.md 15:18:17 drwxrwxr-x. 2 jenkins jenkins 106 May 26 15:17 scripts 15:18:17 drwxrwxr-x. 3 jenkins jenkins 58 May 26 15:17 .semver 15:18:17 drwxrwxr-x. 4 jenkins jenkins 50 May 26 15:17 src 15:18:17 -rw-rw-r--. 1 jenkins jenkins 5 May 26 15:14 VERSION [Pipeline] isUnix [Pipeline] sh 15:18:17 + 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=402ce3a89d6622994d4ed7739f2c2a6378663709 --label arch=amd64 --label version=0.0.0 . 15:18:17 Sending build context to Docker daemon 3.074MB 15:18:17 Step 1/15 : ARG BASE=alpine:3.9 15:18:17 Step 2/15 : FROM ${BASE} 15:18:17 ---> ca2960076a64 15:18:17 Step 3/15 : MAINTAINER IOTech 15:18:17 ---> Running in 72bf26ce123f 15:18:17 Removing intermediate container 72bf26ce123f 15:18:17 ---> a9e88c7f7f41 15:18: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 15:18:17 ---> Running in 2f5c5e69eb8c 15:18:18 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 15:18:18 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 15:18:18 [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:18:18 (1/21) Installing pkgconf (1.6.0-r0) 15:18:18 (2/21) Installing openssl-dev (1.1.1g-r0) 15:18:18 [ 65%] Linking C shared library libcsdk.so 15:18:18 (3/21) Installing zlib-dev (1.2.11-r1) 15:18:18 (4/21) Installing libssh2-dev (1.9.0-r1) 15:18:18 (5/21) Installing nghttp2-dev (1.35.1-r1) 15:18:18 (6/21) Installing curl-dev (7.64.0-r3) 15:18:18 [ 65%] Built target csdk 15:18:18 Scanning dependencies of target template 15:18:18 [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:18:19 (7/21) Installing gnutls-c++ (3.6.7-r1) 15:18:19 (8/21) Installing libgmpxx (6.1.2-r1) 15:18:19 (9/21) Installing gmp-dev (6.1.2-r1) 15:18:19 (10/21) Installing nettle-dev (3.4.1-r0) 15:18:19 (11/21) Installing libtasn1-dev (4.14-r0) 15:18:19 (12/21) Installing p11-kit-dev (0.23.14-r0) 15:18:19 (13/21) Installing gnutls-dev (3.6.7-r1) 15:18:19 (14/21) Installing libmicrohttpd-dev (0.9.62-r0) 15:18:19 (15/21) Installing ncurses-dev (6.1_p20190105-r0) 15:18:19 (16/21) Installing libblkid (2.33-r0) 15:18:19 (17/21) Installing libfdisk (2.33-r0) 15:18:19 (18/21) Installing libmount (2.33-r0) 15:18:19 (19/21) Installing libsmartcols (2.33-r0) 15:18:19 (20/21) Installing util-linux-dev (2.33-r0) 15:18:19 [ 68%] Linking C executable template 15:18:19 [ 68%] Built target template 15:18:19 Scanning dependencies of target device-counter 15:18:19 (21/21) Installing yaml-dev (0.2.1-r0) 15:18:19 Executing busybox-1.29.3-r10.trigger 15:18:19 OK: 266 MiB in 83 packages 15:18:19 [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:18:20 [ 71%] Linking C executable device-counter 15:18:20 [ 71%] Built target device-counter 15:18:20 Scanning dependencies of target device-random 15:18:20 [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:18:20 Removing intermediate container 2f5c5e69eb8c 15:18:20 ---> 14fa06dba8a9 15:18:20 Step 5/15 : COPY VERSION /edgex-c-sdk/ 15:18:20 ---> 7b71a7d482da 15:18:20 Step 6/15 : COPY src /edgex-c-sdk/src/ 15:18:20 ---> 9d33bd3c56f9 15:18:20 Step 7/15 : COPY include /edgex-c-sdk/include/ 15:18:21 [ 74%] Linking C executable device-random 15:18:21 [ 74%] Built target device-random 15:18:21 Scanning dependencies of target device-gyro 15:18:21 ---> 7cba935b14c2 15:18:21 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 15:18:21 [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:18:21 ---> a9019bf2e2be 15:18:21 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 15:18:21 ---> ab44ada2ec85 15:18:21 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 15:18:21 [ 77%] Linking C executable device-gyro 15:18:21 ---> c5cf6adede3c 15:18:21 Step 11/15 : WORKDIR /edgex-c-sdk 15:18:21 ---> Running in 4aec9b1a0782 15:18:21 Removing intermediate container 4aec9b1a0782 15:18:21 ---> 4e2b3976d43d 15:18:21 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 15:18:21 [ 77%] Built target device-gyro 15:18:21 Scanning dependencies of target template-discovery 15:18:21 [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:18:22 ---> Running in 2b25a22246f4 15:18:22 Removing intermediate container 2b25a22246f4 15:18:22 ---> f17ca612d7bc 15:18:22 Step 13/15 : LABEL arch=amd64 15:18:22 ---> Running in d025617f6b94 15:18:22 Removing intermediate container d025617f6b94 15:18:22 ---> d2c28d7f4c92 15:18:22 Step 14/15 : LABEL git_sha=402ce3a89d6622994d4ed7739f2c2a6378663709 15:18:22 ---> Running in 698a8f5516ef 15:18:22 Removing intermediate container 698a8f5516ef 15:18:22 ---> 9e63662474fd 15:18:22 Step 15/15 : LABEL version=0.0.0 15:18:22 [ 80%] Linking C executable template-discovery 15:18:22 ---> Running in 56dad62dca08 15:18:22 Removing intermediate container 56dad62dca08 15:18:22 ---> 79ba41f443dc 15:18:22 [Warning] One or more build-args [MAKE ARCH] were not consumed 15:18:22 Successfully built 79ba41f443dc 15:18:22 Successfully tagged docker-device-sdk-c:latest [Pipeline] } 15:18:22 [ 80%] Built target template-discovery 15:18:22 Scanning dependencies of target device-terminal 15:18:22 [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [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) 15:18:23 [ 84%] Linking C executable device-terminal 15:18:23 [ 84%] Built target device-terminal Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } 15:18:23 Scanning dependencies of target template2 15:18:23 [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } 15:18:24 [ 87%] Linking C executable template2 15:18:24 [ 87%] Built target template2 15:18:24 Scanning dependencies of target device-counterv2 15:18:24 [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [Pipeline] // stage [Pipeline] } 15:18:24 [ 90%] Linking C executable device-counterv2 15:18:25 [ 90%] Built target device-counterv2 15:18:25 Scanning dependencies of target device-gyrov2 15:18:25 [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o 15:18:25 [ 93%] Linking C executable device-gyrov2 15:18:25 [ 93%] Built target device-gyrov2 15:18:25 Scanning dependencies of target device-randomv2 15:18:25 [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o 15:18:26 [ 96%] Linking C executable device-randomv2 15:18:26 [ 96%] Built target device-randomv2 15:18:26 Scanning dependencies of target device-terminalv2 15:18:26 [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o 15:18:27 [100%] Linking C executable device-terminalv2 15:18:27 [100%] Built target device-terminalv2 15:18:27 + make package 15:18:27 + tee -a release.log 15:18:27 [ 65%] Built target csdk 15:18:27 [ 68%] Built target template 15:18:27 [ 71%] Built target device-counter 15:18:27 [ 74%] Built target device-random 15:18:27 [ 77%] Built target device-gyro 15:18:27 [ 80%] Built target template-discovery 15:18:27 [ 84%] Built target device-terminal 15:18:27 [ 87%] Built target template2 15:18:27 [ 90%] Built target device-counterv2 15:18:27 [ 93%] Built target device-gyrov2 15:18:27 [ 96%] Built target device-randomv2 15:18:27 [100%] Built target device-terminalv2 15:18:27 Run CPack packaging tool... 15:18:27 CPack: Create package using TGZ 15:18:27 CPack: Install projects 15:18:27 CPack: - Run preinstall target for: Csdk 15:18:28 CPack: - Install project: Csdk 15:18:28 CPack: Create package 15:18:28 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 15:18:28 + '[' false '=' true ] 15:18:28 + '[' false '=' true ] 15:18:28 + mkdir -p /tmp/sdk/build/debug 15:18:28 + cd /tmp/sdk/build/debug 15:18:28 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 15:18:29 -- The C compiler identification is GNU 8.3.0 15:18:29 -- Check for working C compiler: /usr/bin/cc 15:18:29 -- Check for working C compiler: /usr/bin/cc -- works 15:18:29 -- Detecting C compiler ABI info 15:18:29 -- Detecting C compiler ABI info - done 15:18:29 -- Detecting C compile features 15:18:30 -- Detecting C compile features - done 15:18:30 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:18:30 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 15:18:30 -- Found LIBYAML: /usr/lib/libyaml.so 15:18:30 -- Found LIBUUID: /usr/lib/libuuid.so 15:18:30 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 15:18:30 -- C SDK 0.0.0 for Linux 15:18:30 -- Performing Test CSDK_HAVE_ATOMIC 15:18:30 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:18:30 -- Found Curses: /usr/lib/libcurses.so 15:18:30 -- Configuring done 15:18:30 -- Generating done 15:18:30 -- Build files have been written to: /tmp/sdk/build/debug 15:18:31 + + teemake 15:18:31 debug.log 15:18:31 Scanning dependencies of target csdk 15:18:31 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:18:31 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 15:18:31 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:18:32 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:18:32 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:18:32 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:18:33 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:18:33 [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:18:34 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:18:34 [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:18:34 [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:18:34 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 15:18:34 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:18:35 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:18:36 [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 15:18:36 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 15:18:36 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 15:18:36 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 15:18:37 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 15:18:37 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 15:18:37 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 15:18:37 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 15:18:38 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 15:18:38 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 15:18:38 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 15:18:38 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 15:18:39 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 15:18:39 [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:18:39 [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:18:39 [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 15:18:39 [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:18:40 [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:18:41 [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:18:41 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:18:41 [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:18:42 [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:18:42 [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 15:18:43 [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:18:43 [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 15:18:44 [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:18:44 [ 65%] Linking C shared library libcsdk.so 15:18:44 [ 65%] Built target csdk 15:18:44 Scanning dependencies of target template 15:18:44 [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:18:45 [ 68%] Linking C executable template 15:18:45 [ 68%] Built target template 15:18:45 Scanning dependencies of target device-counter 15:18:45 [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:18:45 [ 71%] Linking C executable device-counter 15:18:45 [ 71%] Built target device-counter 15:18:45 Scanning dependencies of target device-random 15:18:45 [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:18:46 [ 74%] Linking C executable device-random 15:18:46 [ 74%] Built target device-random 15:18:46 Scanning dependencies of target device-gyro 15:18:46 [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:18:46 [ 77%] Linking C executable device-gyro 15:18:47 [ 77%] Built target device-gyro 15:18:47 Scanning dependencies of target template-discovery 15:18:47 [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:18:47 [ 80%] Linking C executable template-discovery 15:18:47 [ 80%] Built target template-discovery 15:18:47 Scanning dependencies of target device-terminal 15:18:47 [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:18:47 [ 84%] Linking C executable device-terminal 15:18:48 [ 84%] Built target device-terminal 15:18:48 Scanning dependencies of target template2 15:18:48 [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o 15:18:48 [ 87%] Linking C executable template2 15:18:48 [ 87%] Built target template2 15:18:48 Scanning dependencies of target device-counterv2 15:18:48 [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o 15:18:48 [ 90%] Linking C executable device-counterv2 15:18:49 [ 90%] Built target device-counterv2 15:18:49 Scanning dependencies of target device-gyrov2 15:18:49 [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o 15:18:49 [ 93%] Linking C executable device-gyrov2 15:18:49 [ 93%] Built target device-gyrov2 15:18:49 Scanning dependencies of target device-randomv2 15:18:49 [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o 15:18:49 [ 96%] Linking C executable device-randomv2 15:18:50 [ 96%] Built target device-randomv2 15:18:50 Scanning dependencies of target device-terminalv2 15:18:50 [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o 15:18:50 [100%] Linking C executable device-terminalv2 15:18:50 [100%] Built target device-terminalv2 15:18:50 make: Entering directory '/tmp/sdk/build/release' 15:18:50 make[1]: Entering directory '/tmp/sdk/build/release' 15:18:50 make[2]: Entering directory '/tmp/sdk/build/release' 15:18:50 Scanning dependencies of target csdk 15:18:50 make[2]: Leaving directory '/tmp/sdk/build/release' 15:18:50 make[2]: Entering directory '/tmp/sdk/build/release' 15:18:50 [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:18:52 [ 3%] Linking C shared library libcsdk.so 15:18:52 make[2]: Leaving directory '/tmp/sdk/build/release' 15:18:52 [ 65%] Built target csdk 15:18:52 make[2]: Entering directory '/tmp/sdk/build/release' 15:18:52 make[2]: Leaving directory '/tmp/sdk/build/release' 15:18:52 make[2]: Entering directory '/tmp/sdk/build/release' 15:18:52 [ 66%] Linking C executable template 15:18:52 make[2]: Leaving directory '/tmp/sdk/build/release' 15:18:53 [ 68%] Built target template 15:18:53 make[2]: Entering directory '/tmp/sdk/build/release' 15:18:53 make[2]: Leaving directory '/tmp/sdk/build/release' 15:18:53 make[2]: Entering directory '/tmp/sdk/build/release' 15:18:53 [ 69%] Linking C executable device-counter 15:18:53 make[2]: Leaving directory '/tmp/sdk/build/release' 15:18:53 [ 71%] Built target device-counter 15:18:53 make[2]: Entering directory '/tmp/sdk/build/release' 15:18:53 make[2]: Leaving directory '/tmp/sdk/build/release' 15:18:53 make[2]: Entering directory '/tmp/sdk/build/release' 15:18:53 [ 73%] Linking C executable device-random 15:18:53 make[2]: Leaving directory '/tmp/sdk/build/release' 15:18:53 [ 74%] Built target device-random 15:18:53 make[2]: Entering directory '/tmp/sdk/build/release' 15:18:53 make[2]: Leaving directory '/tmp/sdk/build/release' 15:18:53 make[2]: Entering directory '/tmp/sdk/build/release' 15:18:53 [ 76%] Linking C executable device-gyro 15:18:53 make[2]: Leaving directory '/tmp/sdk/build/release' 15:18:53 [ 77%] Built target device-gyro 15:18:53 make[2]: Entering directory '/tmp/sdk/build/release' 15:18:53 make[2]: Leaving directory '/tmp/sdk/build/release' 15:18:53 make[2]: Entering directory '/tmp/sdk/build/release' 15:18:53 [ 79%] Linking C executable template-discovery 15:18:53 make[2]: Leaving directory '/tmp/sdk/build/release' 15:18:53 [ 80%] Built target template-discovery 15:18:53 make[2]: Entering directory '/tmp/sdk/build/release' 15:18:53 make[2]: Leaving directory '/tmp/sdk/build/release' 15:18:53 make[2]: Entering directory '/tmp/sdk/build/release' 15:18:53 [ 82%] Linking C executable device-terminal 15:18:54 make[2]: Leaving directory '/tmp/sdk/build/release' 15:18:54 [ 84%] Built target device-terminal 15:18:54 make[2]: Entering directory '/tmp/sdk/build/release' 15:18:54 make[2]: Leaving directory '/tmp/sdk/build/release' 15:18:54 make[2]: Entering directory '/tmp/sdk/build/release' 15:18:54 [ 85%] Linking C executable template2 15:18:54 make[2]: Leaving directory '/tmp/sdk/build/release' 15:18:54 [ 87%] Built target template2 15:18:54 make[2]: Entering directory '/tmp/sdk/build/release' 15:18:54 make[2]: Leaving directory '/tmp/sdk/build/release' 15:18:54 make[2]: Entering directory '/tmp/sdk/build/release' 15:18:54 [ 88%] Linking C executable device-counterv2 15:18:54 make[2]: Leaving directory '/tmp/sdk/build/release' 15:18:54 [ 90%] Built target device-counterv2 15:18:54 make[2]: Entering directory '/tmp/sdk/build/release' 15:18:54 make[2]: Leaving directory '/tmp/sdk/build/release' 15:18:54 make[2]: Entering directory '/tmp/sdk/build/release' 15:18:54 [ 92%] Linking C executable device-gyrov2 15:18:55 make[2]: Leaving directory '/tmp/sdk/build/release' 15:18:55 [ 93%] Built target device-gyrov2 15:18:55 make[2]: Entering directory '/tmp/sdk/build/release' 15:18:55 make[2]: Leaving directory '/tmp/sdk/build/release' 15:18:55 make[2]: Entering directory '/tmp/sdk/build/release' 15:18:55 [ 95%] Linking C executable device-randomv2 15:18:55 make[2]: Leaving directory '/tmp/sdk/build/release' 15:18:55 [ 96%] Built target device-randomv2 15:18:55 make[2]: Entering directory '/tmp/sdk/build/release' 15:18:55 make[2]: Leaving directory '/tmp/sdk/build/release' 15:18:55 make[2]: Entering directory '/tmp/sdk/build/release' 15:18:55 [ 98%] Linking C executable device-terminalv2 15:18:55 make[2]: Leaving directory '/tmp/sdk/build/release' 15:18:55 [100%] Built target device-terminalv2 15:18:55 make[1]: Leaving directory '/tmp/sdk/build/release' 15:18:55 Install the project... 15:18:55 -- Install configuration: "Release" 15:18:55 -- Installing: /usr/local/lib/libcsdk.so 15:18:55 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 15:18:55 -- Up-to-date: /usr/local/include 15:18:55 -- Installing: /usr/local/include/devsdk 15:18:55 -- Installing: /usr/local/include/devsdk/devsdk-base.h 15:18:55 -- Installing: /usr/local/include/devsdk/devsdk.h 15:18:55 -- Installing: /usr/local/include/edgex 15:18:55 -- Installing: /usr/local/include/edgex/devices.h 15:18:55 -- Installing: /usr/local/include/edgex/edgex.h 15:18:55 -- Installing: /usr/local/include/edgex/device-mgmt.h 15:18:55 -- Installing: /usr/local/include/edgex/profiles.h 15:18:55 -- Installing: /usr/local/include/edgex/edgex-base.h 15:18:55 -- Installing: /usr/local/include/edgex/error.h 15:18:55 -- Installing: /usr/local/include/edgex/registry.h 15:18:55 -- Installing: /usr/local/include/edgex/rest-server.h 15:18:55 -- Installing: /usr/local/include/edgex/os.h 15:18:55 -- Installing: /usr/local/include/edgex/devsdk.h 15:18:55 -- Installing: /usr/local/include/edgex/eventgen.h 15:18:55 -- Installing: /usr/local/include/edgex/edgex-logging.h 15:18:55 -- Installing: /usr/local/include/edgex/csdk-defs.h 15:18:55 -- Installing: /usr/local/include/iot 15:18:55 -- Installing: /usr/local/include/iot/hash.h 15:18:55 -- Installing: /usr/local/include/iot/thread.h 15:18:55 -- Installing: /usr/local/include/iot/json.h 15:18:55 -- Installing: /usr/local/include/iot/os 15:18:55 -- Installing: /usr/local/include/iot/os/zephyr.h 15:18:55 -- Installing: /usr/local/include/iot/os/linux.h 15:18:55 -- Installing: /usr/local/include/iot/typecode.h 15:18:55 -- Installing: /usr/local/include/iot/base64.h 15:18:55 -- Installing: /usr/local/include/iot/container.h 15:18:55 -- Installing: /usr/local/include/iot/data.h 15:18:55 -- Installing: /usr/local/include/iot/threadpool.h 15:18:55 -- Installing: /usr/local/include/iot/scheduler.h 15:18:55 -- Installing: /usr/local/include/iot/component.h 15:18:55 -- Installing: /usr/local/include/iot/os.h 15:18:55 -- Installing: /usr/local/include/iot/logger.h 15:18:55 -- Installing: /usr/local/include/iot/time.h 15:18:55 -- Installing: /usr/local/include/iot/iot.h 15:18:55 -- Installing: /usr/local/share/device-sdk-c/LICENSE 15:18:55 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 15:18:55 make: Leaving directory '/tmp/sdk/build/release' 15:18:58 Removing intermediate container 2242556df394 15:18:58 ---> 4f1bf2b74ff3 15:18:58 Step 14/21 : FROM alpine:3.9 15:18:58 3.9: Pulling from library/alpine 15:18:58 941f399634ec: Pulling fs layer 15:18:58 941f399634ec: Verifying Checksum 15:18:58 941f399634ec: Download complete 15:18:59 941f399634ec: Pull complete 15:18:59 Digest: sha256:414e0518bb9228d35e4cd5165567fb91d26c6a214e9c95899e1e056fcd349011 15:18:59 Status: Downloaded newer image for alpine:3.9 15:18:59 ---> 9afdd4a290bf 15:18:59 Step 15/21 : MAINTAINER IOTech 15:18:59 ---> Running in 895a0129587d 15:18:59 Removing intermediate container 895a0129587d 15:18:59 ---> af89c54d51ad 15:18:59 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 15:18:59 ---> Running in ee2437a709cf 15:19:00 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 15:19:01 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 15:19:01 (1/48) Installing binutils (2.31.1-r2) 15:19:01 (2/48) Installing libmagic (5.36-r1) 15:19:02 (3/48) Installing file (5.36-r1) 15:19:02 (4/48) Installing gmp (6.1.2-r1) 15:19:02 (5/48) Installing isl (0.18-r0) 15:19:02 (6/48) Installing libgomp (8.3.0-r0) 15:19:02 (7/48) Installing libatomic (8.3.0-r0) 15:19:02 (8/48) Installing libgcc (8.3.0-r0) 15:19:02 (9/48) Installing mpfr3 (3.1.5-r1) 15:19:02 (10/48) Installing mpc1 (1.0.3-r1) 15:19:02 (11/48) Installing libstdc++ (8.3.0-r0) 15:19:02 (12/48) Installing gcc (8.3.0-r0) 15:19:03 (13/48) Installing musl-dev (1.1.20-r5) 15:19:03 (14/48) Installing libc-dev (0.7.1-r0) 15:19:03 (15/48) Installing g++ (8.3.0-r0) 15:19:05 (16/48) Installing make (4.2.1-r2) 15:19:05 (17/48) Installing fortify-headers (1.0-r0) 15:19:05 (18/48) Installing build-base (0.5-r1) 15:19:05 (19/48) Installing libattr (2.4.47-r7) 15:19:05 (20/48) Installing libacl (2.2.52-r5) 15:19:05 (21/48) Installing libbz2 (1.0.6-r7) 15:19:05 (22/48) Installing expat (2.2.8-r0) 15:19:05 (23/48) Installing lz4-libs (1.8.3-r2) 15:19:05 (24/48) Installing xz-libs (5.2.4-r0) 15:19:05 (25/48) Installing libarchive (3.3.3-r2) 15:19:05 (26/48) Installing ca-certificates (20191127-r0) 15:19:05 (27/48) Installing nghttp2-libs (1.35.1-r1) 15:19:05 (28/48) Installing libssh2 (1.9.0-r1) 15:19:05 (29/48) Installing libcurl (7.64.0-r3) 15:19:05 (30/48) Installing ncurses-terminfo-base (6.1_p20190105-r0) 15:19:05 (31/48) Installing ncurses-terminfo (6.1_p20190105-r0) 15:19:06 (32/48) Installing ncurses-libs (6.1_p20190105-r0) 15:19:06 (33/48) Installing rhash-libs (1.3.6-r2) 15:19:06 (34/48) Installing libuv (1.23.2-r0) 15:19:06 (35/48) Installing cmake (3.13.0-r0) 15:19:08 (36/48) Installing curl (7.64.0-r3) 15:19:08 (37/48) Installing pcre2 (10.32-r1) 15:19:08 (38/48) Installing git (2.20.4-r0) 15:19:08 (39/48) Installing nettle (3.4.1-r0) 15:19:08 (40/48) Installing libffi (3.2.1-r6) 15:19:08 (41/48) Installing p11-kit (0.23.14-r0) 15:19:08 (42/48) Installing libtasn1 (4.14-r0) 15:19:08 (43/48) Installing libunistring (0.9.10-r0) 15:19:08 (44/48) Installing gnutls (3.6.7-r1) 15:19:08 (45/48) Installing libmicrohttpd (0.9.62-r0) 15:19:08 (46/48) Installing libuuid (2.33-r0) 15:19:08 (47/48) Installing wget (1.20.3-r0) 15:19:08 (48/48) Installing yaml (0.2.1-r0) 15:19:08 Executing busybox-1.29.3-r10.trigger 15:19:08 Executing ca-certificates-20191127-r0.trigger 15:19:08 OK: 219 MiB in 62 packages 15:19:24 Removing intermediate container ee2437a709cf 15:19:24 ---> 957691d821e5 15:19:24 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 15:19:24 ---> 954718f002b6 15:19:24 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 15:19:24 ---> d8a5c6e568ad 15:19:24 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 15:19:24 ---> 01e0b5cfca66 15:19:24 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 15:19:24 ---> 6c0df7382a2e 15:19:24 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 15:19:25 ---> 901e6f249f41 15:19:25 Successfully built 901e6f249f41 15:19:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:19:26 + docker inspect -f . ci-base-image-arm64 15:19:26 . [Pipeline] withDockerContainer 15:19:26 prd-ubuntu18.04-docker-arm64-4c-16g-818 does not seem to be running inside a container 15:19:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:19:27 $ docker top c08f23cb1a74c96d7d75fb8ed7919d81b04333a5e756cbd8a2807e478eea0217 -eo pid,comm [Pipeline] { [Pipeline] sh 15:19:29 + make test 15:19:29 echo "make test" 15:19:29 make test [Pipeline] } 15:19:29 $ docker stop --time=1 c08f23cb1a74c96d7d75fb8ed7919d81b04333a5e756cbd8a2807e478eea0217 15:19:31 $ docker rm -f c08f23cb1a74c96d7d75fb8ed7919d81b04333a5e756cbd8a2807e478eea0217 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:19:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:19:32 + ls -al . 15:19:32 total 192 15:19:32 drwxrwxr-x 8 jenkins jenkins 4096 May 26 15:16 . 15:19:32 drwxrwxr-x 4 jenkins jenkins 4096 May 26 15:16 .. 15:19:32 drwxrwxr-x 8 jenkins jenkins 4096 May 26 15:16 .git 15:19:32 -rw-rw-r-- 1 jenkins jenkins 176 May 26 15:16 .gitignore 15:19:32 drwxrwxr-x 3 jenkins jenkins 4096 May 26 15:16 .semver 15:19:32 -rw-rw-r-- 1 jenkins jenkins 3104 May 26 15:16 Attribution.txt 15:19:32 -rw-rw-r-- 1 jenkins jenkins 5393 May 26 15:16 CHANGES 15:19:32 -rw-rw-r-- 1 jenkins jenkins 108574 May 26 15:16 Doxyfile 15:19:32 -rw-rw-r-- 1 jenkins jenkins 792 May 26 15:16 Jenkinsfile 15:19:32 -rw-rw-r-- 1 jenkins jenkins 10174 May 26 15:16 LICENSE 15:19:32 -rw-rw-r-- 1 jenkins jenkins 448 May 26 15:16 Makefile 15:19:32 -rw-rw-r-- 1 jenkins jenkins 1849 May 26 15:16 README.md 15:19:32 -rw-rw-r-- 1 jenkins jenkins 5287 May 26 15:16 README.v2.md 15:19:32 -rw-rw-r-- 1 jenkins jenkins 5 May 26 15:14 VERSION 15:19:32 drwxrwxr-x 2 jenkins jenkins 4096 May 26 15:16 docs 15:19:32 drwxrwxr-x 4 jenkins jenkins 4096 May 26 15:16 include 15:19:32 drwxrwxr-x 2 jenkins jenkins 4096 May 26 15:16 scripts 15:19:32 drwxrwxr-x 4 jenkins jenkins 4096 May 26 15:16 src [Pipeline] isUnix [Pipeline] sh 15:19:33 + 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=402ce3a89d6622994d4ed7739f2c2a6378663709 --label arch=arm64 --label version=0.0.0 . 15:19:34 Sending build context to Docker daemon 3.074MB 15:19:34 Step 1/15 : ARG BASE=alpine:3.9 15:19:34 Step 2/15 : FROM ${BASE} 15:19:34 ---> 901e6f249f41 15:19:34 Step 3/15 : MAINTAINER IOTech 15:19:34 ---> Running in 04447fdb9cc8 15:19:34 Removing intermediate container 04447fdb9cc8 15:19:34 ---> 4fef12d9f10d 15:19:34 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 15:19:34 ---> Running in fc7d6159ccae 15:19:35 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 15:19:36 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 15:19:36 (1/21) Installing pkgconf (1.6.0-r0) 15:19:36 (2/21) Installing openssl-dev (1.1.1g-r0) 15:19:37 (3/21) Installing zlib-dev (1.2.11-r1) 15:19:37 (4/21) Installing libssh2-dev (1.9.0-r1) 15:19:37 (5/21) Installing nghttp2-dev (1.35.1-r1) 15:19:37 (6/21) Installing curl-dev (7.64.0-r3) 15:19:37 (7/21) Installing gnutls-c++ (3.6.7-r1) 15:19:37 (8/21) Installing libgmpxx (6.1.2-r1) 15:19:37 (9/21) Installing gmp-dev (6.1.2-r1) 15:19:37 (10/21) Installing nettle-dev (3.4.1-r0) 15:19:37 (11/21) Installing libtasn1-dev (4.14-r0) 15:19:37 (12/21) Installing p11-kit-dev (0.23.14-r0) 15:19:37 (13/21) Installing gnutls-dev (3.6.7-r1) 15:19:37 (14/21) Installing libmicrohttpd-dev (0.9.62-r0) 15:19:38 (15/21) Installing ncurses-dev (6.1_p20190105-r0) 15:19:38 (16/21) Installing libblkid (2.33-r0) 15:19:38 (17/21) Installing libfdisk (2.33-r0) 15:19:38 (18/21) Installing libmount (2.33-r0) 15:19:38 (19/21) Installing libsmartcols (2.33-r0) 15:19:38 (20/21) Installing util-linux-dev (2.33-r0) 15:19:38 (21/21) Installing yaml-dev (0.2.1-r0) 15:19:38 Executing busybox-1.29.3-r10.trigger 15:19:38 OK: 279 MiB in 83 packages 15:19:41 Removing intermediate container fc7d6159ccae 15:19:41 ---> fb89937eef30 15:19:41 Step 5/15 : COPY VERSION /edgex-c-sdk/ 15:19:42 ---> c668dd795180 15:19:42 Step 6/15 : COPY src /edgex-c-sdk/src/ 15:19:42 ---> 8836e45afa9e 15:19:42 Step 7/15 : COPY include /edgex-c-sdk/include/ 15:19:43 ---> 1abeb5d053c3 15:19:43 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 15:19:43 ---> e943252bd72c 15:19:43 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 15:19:44 ---> 8f5bbc80f7b2 15:19:44 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 15:19:44 ---> ed3f148155ba 15:19:44 Step 11/15 : WORKDIR /edgex-c-sdk 15:19:45 ---> Running in c0d75fa260af 15:19:45 Removing intermediate container c0d75fa260af 15:19:45 ---> 1771a88116da 15:19:45 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 15:19:45 ---> Running in c0806c441824 15:19:45 Removing intermediate container c0806c441824 15:19:45 ---> 9a251fd954bb 15:19:45 Step 13/15 : LABEL arch=arm64 15:19:45 ---> Running in d6c2ac4e9694 15:19:46 Removing intermediate container d6c2ac4e9694 15:19:46 ---> 947e6bbb4adc 15:19:46 Step 14/15 : LABEL git_sha=402ce3a89d6622994d4ed7739f2c2a6378663709 15:19:46 ---> Running in 812fd1b5cefd 15:19:46 Removing intermediate container 812fd1b5cefd 15:19:46 ---> bb01fe473efc 15:19:46 Step 15/15 : LABEL version=0.0.0 15:19:46 ---> Running in a61e56117203 15:19:47 Removing intermediate container a61e56117203 15:19:47 ---> b019edfa89af 15:19:47 [Warning] One or more build-args [ARCH MAKE] were not consumed 15:19:47 Successfully built b019edfa89af 15:19:47 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 15:19:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:19:51 ---> package-listing.sh 15:19:51 ++ facter osfamily 15:19:51 ++ tr '[:upper:]' '[:lower:]' 15:19:51 + OS_FAMILY=redhat 15:19:51 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-260 15:19:51 + START_PACKAGES=/tmp/packages_start.txt 15:19:51 + END_PACKAGES=/tmp/packages_end.txt 15:19:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:19:51 + PACKAGES=/tmp/packages_start.txt 15:19:51 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-260 ']' 15:19:51 + PACKAGES=/tmp/packages_end.txt 15:19:51 + case "${OS_FAMILY}" in 15:19:51 + rpm -qa 15:19:51 + sort 15:19:56 + '[' -f /tmp/packages_start.txt ']' 15:19:56 + '[' -f /tmp/packages_end.txt ']' 15:19:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:19:56 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-260 ']' 15:19:56 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-260/archives/ 15:19:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-260/archives/ [Pipeline] isUnix [Pipeline] sh 15:19:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:19:57 15:19:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 15:19:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:19:58 alpine: Pulling from edgex-lftools-log-publisher 15:19:58 c9b1b535fdd9: Pulling fs layer 15:19:58 2cc5ad85d9ab: Pulling fs layer 15:19:58 756a868c4378: Pulling fs layer 15:19:58 444b2fc9a129: Pulling fs layer 15:19:58 ea15f1150254: Pulling fs layer 15:19:58 41b27a9f41bf: Pulling fs layer 15:19:58 28c525ee5125: Pulling fs layer 15:19:58 094b1ea09ed8: Pulling fs layer 15:19:58 ea15f1150254: Waiting 15:19:58 41b27a9f41bf: Waiting 15:19:58 138eaada9080: Pulling fs layer 15:19:58 0622d0fa9048: Pulling fs layer 15:19:58 28c525ee5125: Waiting 15:19:58 094b1ea09ed8: Waiting 15:19:58 444b2fc9a129: Waiting 15:19:58 138eaada9080: Waiting 15:19:58 0622d0fa9048: Waiting 15:19:58 2cc5ad85d9ab: Verifying Checksum 15:19:58 2cc5ad85d9ab: Download complete 15:19:58 444b2fc9a129: Verifying Checksum 15:19:58 444b2fc9a129: Download complete 15:19:58 c9b1b535fdd9: Verifying Checksum 15:19:58 c9b1b535fdd9: Download complete 15:19:58 ea15f1150254: Verifying Checksum 15:19:58 ea15f1150254: Download complete 15:19:58 28c525ee5125: Verifying Checksum 15:19:58 28c525ee5125: Download complete 15:19:59 c9b1b535fdd9: Pull complete 15:19:59 756a868c4378: Verifying Checksum 15:19:59 094b1ea09ed8: Verifying Checksum 15:19:59 094b1ea09ed8: Download complete 15:19:59 138eaada9080: Verifying Checksum 15:19:59 0622d0fa9048: Verifying Checksum 15:19:59 0622d0fa9048: Download complete 15:20:00 2cc5ad85d9ab: Pull complete 15:20:00 41b27a9f41bf: Verifying Checksum 15:20:00 41b27a9f41bf: Download complete 15:20:03 756a868c4378: Pull complete 15:20:03 444b2fc9a129: Pull complete 15:20:03 ea15f1150254: Pull complete 15:20:08 41b27a9f41bf: Pull complete 15:20:08 28c525ee5125: Pull complete 15:20:11 094b1ea09ed8: Pull complete 15:20:11 138eaada9080: Pull complete 15:20:13 0622d0fa9048: Pull complete 15:20:13 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 15:20:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 15:20:13 prd-centos7-docker-4c-2g-817 does not seem to be running inside a container 15:20:13 $ 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-260 -v /w/workspace/edgexfoundry_device-sdk-c_PR-260:/w/workspace/edgexfoundry_device-sdk-c_PR-260:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-260@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-260@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 15:20:14 $ docker top 50cb9f1c7e4d00bc187734c3b29a3b6e6ae0394c8bd70d346d1fe64dc95d6b92 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:20:15 provisioning config files... 15:20:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-260@tmp/config7707799024325173065tmp [Pipeline] { [Pipeline] echo 15:20:15 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:20:16 ---> create-netrc.sh [Pipeline] echo 15:20:16 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:20:16 ---> logs-deploy.sh 15:20:16 + ARCHIVE_ARTIFACTS= 15:20:16 + LOGS_SERVER=https://logs.edgexfoundry.org 15:20:16 + '[' https://logs.edgexfoundry.org == None ']' 15:20:16 + NEXUS_URL=https://nexus.edgexfoundry.org 15:20:16 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-260/1 15:20:16 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-260/1/ 15:20:16 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-260/1 /w/workspace/edgexfoundry_device-sdk-c_PR-260 15:20:18 Archives upload complete. 15:20:18 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-260/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-260/1/ 15:20:19 ---> uname -a: 15:20:19 Linux 50cb9f1c7e4d 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux 15:20:19 15:20:19 15:20:19 ---> lscpu: 15:20:19 Architecture: x86_64 15:20:19 CPU op-mode(s): 32-bit, 64-bit 15:20:19 Byte Order: Little Endian 15:20:19 Address sizes: 40 bits physical, 48 bits virtual 15:20:19 CPU(s): 4 15:20:19 On-line CPU(s) list: 0-3 15:20:19 Thread(s) per core: 1 15:20:19 Core(s) per socket: 1 15:20:19 Socket(s): 4 15:20:19 NUMA node(s): 1 15:20:19 Vendor ID: GenuineIntel 15:20:19 CPU family: 6 15:20:19 Model: 44 15:20:19 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 15:20:19 Stepping: 1 15:20:19 CPU MHz: 2933.438 15:20:19 BogoMIPS: 5866.87 15:20:19 Virtualization: VT-x 15:20:19 Hypervisor vendor: KVM 15:20:19 Virtualization type: full 15:20:19 L1d cache: 128 KiB 15:20:19 L1i cache: 128 KiB 15:20:19 L2 cache: 16 MiB 15:20:19 L3 cache: 64 MiB 15:20:19 NUMA node0 CPU(s): 0-3 15:20:19 Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes 15:20:19 Vulnerability Meltdown: Mitigation; PTI 15:20:19 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 15:20:19 Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization 15:20:19 Vulnerability Spectre v2: Mitigation; Full retpoline 15:20:19 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 15:20:19 15:20:19 15:20:19 ---> nproc: 15:20:19 4 15:20:19 15:20:19 15:20:19 ---> df -h: 15:20:19 Filesystem Size Used Available Use% Mounted on 15:20:19 overlay 50.0G 6.3G 43.7G 13% / 15:20:19 tmpfs 64.0M 0 64.0M 0% /dev 15:20:19 tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup 15:20:19 shm 64.0M 0 64.0M 0% /dev/shm 15:20:19 /dev/vda1 50.0G 6.3G 43.7G 13% /etc/resolv.conf 15:20:19 /dev/vda1 50.0G 6.3G 43.7G 13% /etc/hostname 15:20:19 /dev/vda1 50.0G 6.3G 43.7G 13% /etc/hosts 15:20:19 /dev/vda1 50.0G 6.3G 43.7G 13% /w/workspace/edgexfoundry_device-sdk-c_PR-260@tmp 15:20:19 /dev/vda1 50.0G 6.3G 43.7G 13% /var/log/sa 15:20:19 /dev/vda1 50.0G 6.3G 43.7G 13% /w/workspace/edgexfoundry_device-sdk-c_PR-260 15:20:19 15:20:19