Pull request #242 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of LukeKerr for edgexfoundry/device-sdk-c Loading trusted files from base branch master at 71b8196c465bf7460af7e4691fe5d7c6af401573 rather than 2f16c2f0540dc44039dd4c19c0a474d1e0017bf6 Obtained Jenkinsfile from 71b8196c465bf7460af7e4691fe5d7c6af401573 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision b810438aec07f555226556e3b59abf2bab733840 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 Checking out Revision b810438aec07f555226556e3b59abf2bab733840 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b810438aec07f555226556e3b59abf2bab733840 # timeout=10 Commit message: "Merge pull request #114 from lranjbar/release-kraken" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-3.9-base, dockerFilePath:scripts/Dockerfile.alpine-3.9, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine-3.9 DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-3.9-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-c DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-563’ is offline Running on prd-centos7-docker-4c-2g-742 in /w/workspace/edgexfoundry_device-sdk-c_PR-242 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-242 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/242/head:refs/remotes/origin/PR-242 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 71b8196c465bf7460af7e4691fe5d7c6af401573 into PR head commit 2f16c2f0540dc44039dd4c19c0a474d1e0017bf6 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/242/head:refs/remotes/origin/PR-242 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/242/head:refs/remotes/origin/PR-242 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2f16c2f0540dc44039dd4c19c0a474d1e0017bf6 # timeout=10 Merge succeeded, producing 2f16c2f0540dc44039dd4c19c0a474d1e0017bf6 Checking out Revision 2f16c2f0540dc44039dd4c19c0a474d1e0017bf6 (PR-242) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 71b8196c465bf7460af7e4691fe5d7c6af401573 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2f16c2f0540dc44039dd4c19c0a474d1e0017bf6 # timeout=10 Commit message: "Fix v2 examples include paths" > git rev-list --no-walk 939229501aa6f75b430040a70a1f670ecdc1c72f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-03-16T11:56:00.726Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-03-16T11:56:02.769Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-16T11:56:02.770Z] [2020-03-16T11:56:02.770Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-03-16T11:56:03.161Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-16T11:56:03.161Z] latest: Pulling from edgex-devops/git-semver [2020-03-16T11:56:03.161Z] 9123ac7c32f7: Pulling fs layer [2020-03-16T11:56:03.161Z] b8cc5d1170e3: Pulling fs layer [2020-03-16T11:56:03.161Z] 2924cbbf6a41: Pulling fs layer [2020-03-16T11:56:03.161Z] 93b08a4f1073: Pulling fs layer [2020-03-16T11:56:03.161Z] 93b08a4f1073: Waiting [2020-03-16T11:56:03.161Z] b8cc5d1170e3: Verifying Checksum [2020-03-16T11:56:03.161Z] b8cc5d1170e3: Download complete [2020-03-16T11:56:03.423Z] 9123ac7c32f7: Verifying Checksum [2020-03-16T11:56:03.423Z] 9123ac7c32f7: Download complete [2020-03-16T11:56:03.423Z] 93b08a4f1073: Verifying Checksum [2020-03-16T11:56:03.423Z] 93b08a4f1073: Download complete [2020-03-16T11:56:03.423Z] 2924cbbf6a41: Verifying Checksum [2020-03-16T11:56:03.423Z] 2924cbbf6a41: Download complete [2020-03-16T11:56:03.682Z] 9123ac7c32f7: Pull complete [2020-03-16T11:56:03.682Z] b8cc5d1170e3: Pull complete [2020-03-16T11:56:04.620Z] 2924cbbf6a41: Pull complete [2020-03-16T11:56:04.620Z] 93b08a4f1073: Pull complete [2020-03-16T11:56:04.620Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-03-16T11:56:04.620Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-03-16T11:56:04.750Z] prd-centos7-docker-4c-2g-742 does not seem to be running inside a container [2020-03-16T11:56:04.796Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-242 -v /w/workspace/edgexfoundry_device-sdk-c_PR-242:/w/workspace/edgexfoundry_device-sdk-c_PR-242:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-242@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-242@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-03-16T11:56:05.424Z] $ docker top 1b4e1a1b6090a776fdacd3b2881d0a1580736a8e68aa4c44d4a67915224b8a15 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-16T11:56:05.734Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-16T11:56:05.734Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-16T11:56:05.947Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-16T11:56:05.954Z] $ docker exec 1b4e1a1b6090a776fdacd3b2881d0a1580736a8e68aa4c44d4a67915224b8a15 ssh-agent [2020-03-16T11:56:06.138Z] SSH_AUTH_SOCK=/tmp/ssh-PgNL54JfQGND/agent.14 [2020-03-16T11:56:06.138Z] SSH_AGENT_PID=21 [2020-03-16T11:56:06.150Z] Running ssh-add (command line suppressed) [2020-03-16T11:56:06.294Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-242@tmp/private_key_2143488193566157734.key (/w/workspace/edgexfoundry_device-sdk-c_PR-242@tmp/private_key_2143488193566157734.key) [2020-03-16T11:56:06.343Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-16T11:56:06.666Z] + git describe --exact-match --tags HEAD [2020-03-16T11:56:06.666Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-03-16T11:56:06.734Z] $ docker exec --env ******** --env ******** 1b4e1a1b6090a776fdacd3b2881d0a1580736a8e68aa4c44d4a67915224b8a15 ssh-agent -k [2020-03-16T11:56:06.887Z] unset SSH_AUTH_SOCK; [2020-03-16T11:56:06.887Z] unset SSH_AGENT_PID; [2020-03-16T11:56:06.887Z] echo Agent pid 21 killed; [2020-03-16T11:56:06.933Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-03-16T11:56:07.001Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-03-16T11:56:07.001Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-03-16T11:56:07.075Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-16T11:56:07.075Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-16T11:56:07.261Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-16T11:56:07.285Z] $ docker exec 1b4e1a1b6090a776fdacd3b2881d0a1580736a8e68aa4c44d4a67915224b8a15 ssh-agent [2020-03-16T11:56:07.468Z] SSH_AUTH_SOCK=/tmp/ssh-FmAnAAm7TuXR/agent.57 [2020-03-16T11:56:07.468Z] SSH_AGENT_PID=64 [2020-03-16T11:56:07.475Z] Running ssh-add (command line suppressed) [2020-03-16T11:56:07.627Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-242@tmp/private_key_4167894870372927801.key (/w/workspace/edgexfoundry_device-sdk-c_PR-242@tmp/private_key_4167894870372927801.key) [2020-03-16T11:56:07.674Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-16T11:56:08.008Z] + git semver init [2020-03-16T11:56:08.008Z] # -> Open(): unable to determine branch for HEAD [2020-03-16T11:56:08.008Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-242/.git [2020-03-16T11:56:08.008Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-242 [2020-03-16T11:56:08.008Z] # $SEMVER_REMOTE_NAME = origin [2020-03-16T11:56:08.008Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-16T11:56:08.008Z] # $SEMVER_USER_NAME = jenkins [2020-03-16T11:56:08.008Z] # $SEMVER_BRANCH = PR-242 [2020-03-16T11:56:08.008Z] # $SEMVER_TEMP = /tmp/semver-808760126 [2020-03-16T11:56:08.008Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2020-03-16T11:56:08.577Z] # '/tmp/semver-808760126' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-242/.semver' [2020-03-16T11:56:08.577Z] # -> Force: false [2020-03-16T11:56:08.577Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-242/.semver [Pipeline] } [2020-03-16T11:56:08.591Z] $ docker exec --env ******** --env ******** 1b4e1a1b6090a776fdacd3b2881d0a1580736a8e68aa4c44d4a67915224b8a15 ssh-agent -k [2020-03-16T11:56:08.727Z] unset SSH_AUTH_SOCK; [2020-03-16T11:56:08.728Z] unset SSH_AGENT_PID; [2020-03-16T11:56:08.728Z] echo Agent pid 64 killed; [2020-03-16T11:56:08.771Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-16T11:56:09.208Z] + git semver [Pipeline] } [2020-03-16T11:56:09.225Z] $ docker stop --time=1 1b4e1a1b6090a776fdacd3b2881d0a1580736a8e68aa4c44d4a67915224b8a15 [2020-03-16T11:56:10.543Z] $ docker rm -f 1b4e1a1b6090a776fdacd3b2881d0a1580736a8e68aa4c44d4a67915224b8a15 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-03-16T11:56:11.354Z] Stashed 33 file(s) [Pipeline] echo [2020-03-16T11:56:11.356Z] [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-03-16T11:56:26.602Z] Still waiting to schedule task [2020-03-16T11:56:26.602Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-03-16T11:56:26.604Z] Still waiting to schedule task [2020-03-16T11:56:26.604Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-03-16T11:58:13.500Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-743 in /w/workspace/edgexfoundry_device-sdk-c_PR-242 [Pipeline] { [Pipeline] ws [2020-03-16T11:58:13.576Z] Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout [2020-03-16T11:58:19.244Z] using credential edgex-jenkins-ssh [2020-03-16T11:58:19.295Z] Cloning the remote Git repository [2020-03-16T11:58:19.295Z] Cloning with configured refspecs honoured and without tags [2020-03-16T11:58:19.381Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-03-16T11:58:19.482Z] > git init /w/workspace/device-sdk-c/2 # timeout=10 [2020-03-16T11:58:19.588Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-03-16T11:58:19.589Z] > git --version # timeout=10 [2020-03-16T11:58:19.626Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-16T11:58:19.713Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/242/head:refs/remotes/origin/PR-242 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-16T11:58:20.695Z] Fetching without tags [2020-03-16T11:58:21.161Z] Merging remotes/origin/master commit 71b8196c465bf7460af7e4691fe5d7c6af401573 into PR head commit 2f16c2f0540dc44039dd4c19c0a474d1e0017bf6 [2020-03-16T11:58:20.564Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-03-16T11:58:20.603Z] > git config --add remote.origin.fetch +refs/pull/242/head:refs/remotes/origin/PR-242 # timeout=10 [2020-03-16T11:58:20.627Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-16T11:58:20.651Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-03-16T11:58:20.707Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-03-16T11:58:20.708Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-16T11:58:20.718Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/242/head:refs/remotes/origin/PR-242 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-16T11:58:21.182Z] > git config core.sparsecheckout # timeout=10 [2020-03-16T11:58:21.201Z] > git checkout -f 2f16c2f0540dc44039dd4c19c0a474d1e0017bf6 # timeout=10 [2020-03-16T11:58:21.424Z] Merge succeeded, producing 2f16c2f0540dc44039dd4c19c0a474d1e0017bf6 [2020-03-16T11:58:21.424Z] Checking out Revision 2f16c2f0540dc44039dd4c19c0a474d1e0017bf6 (PR-242) [2020-03-16T11:58:21.306Z] > git remote # timeout=10 [2020-03-16T11:58:21.364Z] > git config --get remote.origin.url # timeout=10 [2020-03-16T11:58:21.376Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-16T11:58:21.387Z] > git merge 71b8196c465bf7460af7e4691fe5d7c6af401573 # timeout=10 [2020-03-16T11:58:21.409Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-16T11:58:21.432Z] > git config core.sparsecheckout # timeout=10 [2020-03-16T11:58:21.473Z] > git checkout -f 2f16c2f0540dc44039dd4c19c0a474d1e0017bf6 # timeout=10 [2020-03-16T11:58:25.882Z] Commit message: "Fix v2 examples include paths" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-16T11:58:27.362Z] ========================================================= [2020-03-16T11:58:27.362Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2020-03-16T11:58:27.362Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-16T11:58:28.325Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-3.9-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2020-03-16T11:58:29.300Z] Sending build context to Docker daemon 2.89MB [2020-03-16T11:58:29.300Z] Step 1/21 : ARG BASE=alpine:3.9 [2020-03-16T11:58:29.300Z] Step 2/21 : FROM ${BASE} as builder [2020-03-16T11:58:29.543Z] Running on prd-centos7-docker-4c-2g-744 in /w/workspace/edgexfoundry_device-sdk-c_PR-242 [Pipeline] { [2020-03-16T11:58:29.570Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2020-03-16T11:58:29.570Z] 0362ad1dd800: Pulling fs layer [2020-03-16T11:58:29.570Z] f2cdb1532d8b: Pulling fs layer [2020-03-16T11:58:29.570Z] 37ed683be191: Pulling fs layer [2020-03-16T11:58:29.570Z] f2cdb1532d8b: Verifying Checksum [2020-03-16T11:58:29.570Z] f2cdb1532d8b: Download complete [Pipeline] ws [2020-03-16T11:58:29.579Z] Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout [2020-03-16T11:58:29.840Z] 0362ad1dd800: Verifying Checksum [2020-03-16T11:58:29.840Z] 0362ad1dd800: Download complete [2020-03-16T11:58:30.807Z] 0362ad1dd800: Pull complete [2020-03-16T11:58:31.072Z] f2cdb1532d8b: Pull complete [2020-03-16T11:58:32.856Z] using credential edgex-jenkins-ssh [2020-03-16T11:58:32.912Z] Cloning the remote Git repository [2020-03-16T11:58:32.912Z] Cloning with configured refspecs honoured and without tags [2020-03-16T11:58:32.268Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-03-16T11:58:32.322Z] > git init /w/workspace/device-sdk-c/2 # timeout=10 [2020-03-16T11:58:32.380Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-03-16T11:58:32.380Z] > git --version # timeout=10 [2020-03-16T11:58:32.388Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-16T11:58:32.431Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/242/head:refs/remotes/origin/PR-242 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-16T11:58:33.859Z] Fetching without tags [2020-03-16T11:58:34.262Z] Merging remotes/origin/master commit 71b8196c465bf7460af7e4691fe5d7c6af401573 into PR head commit 2f16c2f0540dc44039dd4c19c0a474d1e0017bf6 [2020-03-16T11:58:34.368Z] Merge succeeded, producing 2f16c2f0540dc44039dd4c19c0a474d1e0017bf6 [2020-03-16T11:58:34.369Z] Checking out Revision 2f16c2f0540dc44039dd4c19c0a474d1e0017bf6 (PR-242) [2020-03-16T11:58:33.209Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-03-16T11:58:33.229Z] > git config --add remote.origin.fetch +refs/pull/242/head:refs/remotes/origin/PR-242 # timeout=10 [2020-03-16T11:58:33.238Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-16T11:58:33.250Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-03-16T11:58:33.264Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-03-16T11:58:33.264Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-16T11:58:33.271Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/242/head:refs/remotes/origin/PR-242 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-16T11:58:33.702Z] > git config core.sparsecheckout # timeout=10 [2020-03-16T11:58:33.709Z] > git checkout -f 2f16c2f0540dc44039dd4c19c0a474d1e0017bf6 # timeout=10 [2020-03-16T11:58:33.766Z] > git remote # timeout=10 [2020-03-16T11:58:33.774Z] > git config --get remote.origin.url # timeout=10 [2020-03-16T11:58:33.783Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-16T11:58:33.788Z] > git merge 71b8196c465bf7460af7e4691fe5d7c6af401573 # timeout=10 [2020-03-16T11:58:33.800Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-16T11:58:33.812Z] > git config core.sparsecheckout # timeout=10 [2020-03-16T11:58:33.818Z] > git checkout -f 2f16c2f0540dc44039dd4c19c0a474d1e0017bf6 # timeout=10 [2020-03-16T11:58:37.733Z] 37ed683be191: Download complete [2020-03-16T11:58:38.757Z] Commit message: "Fix v2 examples include paths" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-16T11:58:39.588Z] ========================================================= [2020-03-16T11:58:39.588Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2020-03-16T11:58:39.588Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-16T11:58:40.250Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-3.9-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2020-03-16T11:58:40.513Z] Sending build context to Docker daemon 2.89MB [2020-03-16T11:58:40.513Z] Step 1/21 : ARG BASE=alpine:3.9 [2020-03-16T11:58:40.513Z] Step 2/21 : FROM ${BASE} as builder [2020-03-16T11:58:40.775Z] latest: Pulling from edgex-devops/edgex-gcc-base [2020-03-16T11:58:40.775Z] e7c96db7181b: Pulling fs layer [2020-03-16T11:58:40.775Z] 4c13bbce0fe7: Pulling fs layer [2020-03-16T11:58:40.775Z] 6059c847ac2f: Pulling fs layer [2020-03-16T11:58:40.775Z] 4c13bbce0fe7: Verifying Checksum [2020-03-16T11:58:40.775Z] 4c13bbce0fe7: Download complete [2020-03-16T11:58:40.775Z] e7c96db7181b: Verifying Checksum [2020-03-16T11:58:40.775Z] e7c96db7181b: Download complete [2020-03-16T11:58:41.037Z] e7c96db7181b: Pull complete [2020-03-16T11:58:41.297Z] 4c13bbce0fe7: Pull complete [2020-03-16T11:58:42.246Z] 6059c847ac2f: Verifying Checksum [2020-03-16T11:58:42.246Z] 6059c847ac2f: Download complete [2020-03-16T11:58:47.555Z] 6059c847ac2f: Pull complete [2020-03-16T11:58:47.555Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2020-03-16T11:58:47.555Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2020-03-16T11:58:47.555Z] ---> 5eabd8fd8ba2 [2020-03-16T11:58:47.555Z] Step 3/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev [2020-03-16T11:58:47.555Z] ---> Running in b524d3d85b6c [2020-03-16T11:58:47.817Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-03-16T11:58:47.841Z] 37ed683be191: Pull complete [2020-03-16T11:58:47.841Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2020-03-16T11:58:47.841Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2020-03-16T11:58:47.841Z] ---> b23d30803547 [2020-03-16T11:58:47.841Z] Step 3/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev [2020-03-16T11:58:48.755Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-03-16T11:58:48.755Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-03-16T11:58:48.755Z] (2/8) Installing libuuid (2.33-r0) [2020-03-16T11:58:49.015Z] (3/8) Installing libblkid (2.33-r0) [2020-03-16T11:58:49.015Z] (4/8) Installing libfdisk (2.33-r0) [2020-03-16T11:58:49.015Z] (5/8) Installing libmount (2.33-r0) [2020-03-16T11:58:49.278Z] (6/8) Installing libsmartcols (2.33-r0) [2020-03-16T11:58:49.278Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-03-16T11:58:49.539Z] (8/8) Installing wget (1.20.3-r0) [2020-03-16T11:58:49.539Z] Executing busybox-1.29.3-r10.trigger [2020-03-16T11:58:49.539Z] OK: 272 MiB in 83 packages [2020-03-16T11:58:49.794Z] ---> Running in f3004e5613eb [2020-03-16T11:58:50.108Z] Removing intermediate container b524d3d85b6c [2020-03-16T11:58:50.109Z] ---> d9d1dcc5a15e [2020-03-16T11:58:50.109Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-03-16T11:58:50.109Z] ---> Running in 5653f39c3c96 [2020-03-16T11:58:50.367Z] Removing intermediate container 5653f39c3c96 [2020-03-16T11:58:50.367Z] ---> 8e999c074f95 [2020-03-16T11:58:50.367Z] Step 5/21 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2020-03-16T11:58:50.367Z] ---> Running in 861ec6f533c6 [2020-03-16T11:58:50.380Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-03-16T11:58:50.945Z] --2020-03-16 11:58:50-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-03-16T11:58:50.945Z] Resolving github.com... 192.30.253.113 [2020-03-16T11:58:50.945Z] Connecting to github.com|192.30.253.113|:443... connected. [2020-03-16T11:58:50.945Z] HTTP request sent, awaiting response... 302 Found [2020-03-16T11:58:50.945Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-03-16T11:58:50.945Z] --2020-03-16 11:58:50-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-03-16T11:58:50.945Z] Resolving codeload.github.com... 140.82.112.10 [2020-03-16T11:58:50.945Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2020-03-16T11:58:51.207Z] HTTP request sent, awaiting response... 200 OK [2020-03-16T11:58:51.207Z] Length: unspecified [application/x-gzip] [2020-03-16T11:58:51.207Z] Saving to: 'STDOUT' [2020-03-16T11:58:51.207Z]  [2020-03-16T11:58:51.207Z] 0K .......... .......... .......... .......... .......... 1.62M [2020-03-16T11:58:51.207Z] 50K .......... .......... .......... .......... .......... 2.63M [2020-03-16T11:58:51.207Z] 100K .......... .......... .......... .......... .......... 47.8M [2020-03-16T11:58:51.207Z] 150K .......... .......... .......... .......... .......... 3.59M [2020-03-16T11:58:51.207Z] 200K .......... .......... .......... .......... .......... 26.5M [2020-03-16T11:58:51.207Z] 250K .......... .......... .......... .......... .......... 8.44M [2020-03-16T11:58:51.207Z] 300K .......... .......... .......... .......... .......... 7.65M [2020-03-16T11:58:51.207Z] 350K .......... .......... .......... .......... .......... 6.46M [2020-03-16T11:58:51.207Z] 400K .......... .......... .......... .......... .......... 6.16M [2020-03-16T11:58:51.207Z] 450K .......... .......... .......... .......... .......... 7.64M [2020-03-16T11:58:51.207Z] 500K .......... .......... .......... .......... .......... 971K [2020-03-16T11:58:51.207Z] 550K .......... .......... .......... .......... .......... 1.61M [2020-03-16T11:58:51.207Z] 600K .......... .......... .......... .......... .......... 53.9M [2020-03-16T11:58:51.207Z] 650K .......... .......... .......... .......... .......... 3.46M [2020-03-16T11:58:51.207Z] 700K .. 67.5M=0.2s [2020-03-16T11:58:51.207Z] [2020-03-16T11:58:51.207Z] 2020-03-16 11:58:51 (3.50 MB/s) - written to stdout [719348] [2020-03-16T11:58:51.207Z] [2020-03-16T11:58:51.340Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-03-16T11:58:51.470Z] -- The C compiler identification is GNU 8.3.0 [2020-03-16T11:58:51.470Z] -- The CXX compiler identification is GNU 8.3.0 [2020-03-16T11:58:51.470Z] -- Check for working C compiler: /usr/bin/cc [2020-03-16T11:58:51.607Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-03-16T11:58:51.607Z] (2/8) Installing libuuid (2.33-r0) [2020-03-16T11:58:51.874Z] (3/8) Installing libblkid (2.33-r0) [2020-03-16T11:58:51.874Z] (4/8) Installing libfdisk (2.33-r0) [2020-03-16T11:58:51.874Z] (5/8) Installing libmount (2.33-r0) [2020-03-16T11:58:52.140Z] (6/8) Installing libsmartcols (2.33-r0) [2020-03-16T11:58:52.140Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-03-16T11:58:52.408Z] (8/8) Installing wget (1.20.3-r0) [2020-03-16T11:58:52.408Z] Executing busybox-1.29.3-r10.trigger [2020-03-16T11:58:52.408Z] OK: 285 MiB in 83 packages [2020-03-16T11:58:52.416Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-03-16T11:58:52.417Z] -- Detecting C compiler ABI info [2020-03-16T11:58:52.417Z] -- Detecting C compiler ABI info - done [2020-03-16T11:58:52.417Z] -- Detecting C compile features [2020-03-16T11:58:52.676Z] -- Detecting C compile features - done [2020-03-16T11:58:52.676Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-03-16T11:58:52.936Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-03-16T11:58:52.936Z] -- Detecting CXX compiler ABI info [2020-03-16T11:58:52.936Z] -- Detecting CXX compiler ABI info - done [2020-03-16T11:58:52.936Z] -- Detecting CXX compile features [2020-03-16T11:58:53.527Z] -- Detecting CXX compile features - done [2020-03-16T11:58:53.527Z] -- Looking for include file endian.h [2020-03-16T11:58:53.527Z] -- Looking for include file endian.h - found [2020-03-16T11:58:53.527Z] -- Check if the system is big endian [2020-03-16T11:58:53.527Z] -- Searching 16 bit integer [2020-03-16T11:58:53.527Z] -- Looking for sys/types.h [2020-03-16T11:58:53.786Z] -- Looking for sys/types.h - found [2020-03-16T11:58:53.786Z] -- Looking for stdint.h [2020-03-16T11:58:53.786Z] -- Looking for stdint.h - found [2020-03-16T11:58:53.786Z] -- Looking for stddef.h [2020-03-16T11:58:53.786Z] -- Looking for stddef.h - found [2020-03-16T11:58:53.786Z] -- Check size of unsigned short [2020-03-16T11:58:54.046Z] -- Check size of unsigned short - done [2020-03-16T11:58:54.046Z] -- Using unsigned short [2020-03-16T11:58:54.046Z] -- Check if the system is big endian - little endian [2020-03-16T11:58:54.046Z] -- Check size of size_t [2020-03-16T11:58:54.046Z] -- Check size of size_t - done [2020-03-16T11:58:54.046Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-03-16T11:58:54.046Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-03-16T11:58:54.046Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-03-16T11:58:54.046Z] CMake did not find one. [2020-03-16T11:58:54.046Z] [2020-03-16T11:58:54.046Z] Could not find a package configuration file provided by "cJSON" with any of [2020-03-16T11:58:54.046Z] the following names: [2020-03-16T11:58:54.046Z] [2020-03-16T11:58:54.046Z] cJSONConfig.cmake [2020-03-16T11:58:54.046Z] cjson-config.cmake [2020-03-16T11:58:54.046Z] [2020-03-16T11:58:54.046Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-03-16T11:58:54.046Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-03-16T11:58:54.046Z] provides a separate development package or SDK, be sure it has been [2020-03-16T11:58:54.046Z] installed. [2020-03-16T11:58:54.046Z] [2020-03-16T11:58:54.046Z] [2020-03-16T11:58:54.046Z] -- Configuring done [2020-03-16T11:58:54.306Z] -- Generating done [2020-03-16T11:58:54.306Z] -- Build files have been written to: /tmp/cbor [2020-03-16T11:58:54.306Z] Scanning dependencies of target cbor_shared [2020-03-16T11:58:54.306Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-03-16T11:58:54.359Z] Removing intermediate container f3004e5613eb [2020-03-16T11:58:54.359Z] ---> 14a972f0aaf2 [2020-03-16T11:58:54.359Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-03-16T11:58:54.359Z] ---> Running in 18d594eeaca9 [2020-03-16T11:58:54.574Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-03-16T11:58:54.574Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-03-16T11:58:54.627Z] Removing intermediate container 18d594eeaca9 [2020-03-16T11:58:54.627Z] ---> f330a153d577 [2020-03-16T11:58:54.627Z] Step 5/21 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2020-03-16T11:58:54.627Z] ---> Running in 41cfb5197a0d [2020-03-16T11:58:54.833Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-03-16T11:58:54.833Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-03-16T11:58:55.096Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-03-16T11:58:55.096Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-03-16T11:58:55.096Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-03-16T11:58:55.096Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-03-16T11:58:55.357Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-03-16T11:58:55.357Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-03-16T11:58:55.588Z] --2020-03-16 11:58:55-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-03-16T11:58:55.588Z] Resolving github.com... 140.82.114.4 [2020-03-16T11:58:55.588Z] Connecting to github.com|140.82.114.4|:443... connected. [2020-03-16T11:58:55.617Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-03-16T11:58:55.617Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-03-16T11:58:55.860Z] HTTP request sent, awaiting response... 302 Found [2020-03-16T11:58:55.860Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-03-16T11:58:55.860Z] --2020-03-16 11:58:55-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-03-16T11:58:55.860Z] Resolving codeload.github.com... 140.82.113.10 [2020-03-16T11:58:55.860Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2020-03-16T11:58:55.860Z] HTTP request sent, awaiting response... 200 OK [2020-03-16T11:58:55.860Z] Length: unspecified [application/x-gzip] [2020-03-16T11:58:55.860Z] Saving to: 'STDOUT' [2020-03-16T11:58:55.860Z] [2020-03-16T11:58:55.860Z] 0K .......... .......... .......... .......... .......... 1.60M [2020-03-16T11:58:55.860Z] 50K .......... .......... .......... .......... .......... 3.25M [2020-03-16T11:58:55.860Z] 100K .......... .......... .......... .......... .......... 9.96M [2020-03-16T11:58:55.860Z] 150K .......... .......... .......... .......... .......... 15.7M [2020-03-16T11:58:55.860Z] 200K .......... .......... .......... .......... .......... 4.20M [2020-03-16T11:58:55.878Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-03-16T11:58:55.878Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-03-16T11:58:55.878Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-03-16T11:58:56.130Z] 250K .......... .......... .......... .......... .......... 3.84M [2020-03-16T11:58:56.131Z] 300K .......... .......... .......... .......... .......... 4.28M [2020-03-16T11:58:56.131Z] 350K .......... .......... .......... .......... .......... 6.83M [2020-03-16T11:58:56.131Z] 400K .......... .......... .......... .......... .......... 2.97M [2020-03-16T11:58:56.131Z] 450K .......... .......... .......... .......... .......... 3.08M [2020-03-16T11:58:56.131Z] 500K .......... .......... .......... .......... .......... 12.9M [2020-03-16T11:58:56.131Z] 550K .......... .......... .......... .......... .......... 2.89M [2020-03-16T11:58:56.131Z] 600K .......... .......... .......... .......... .......... 867K [2020-03-16T11:58:56.131Z] 650K .......... .......... .......... .......... .......... 2.74M [2020-03-16T11:58:56.131Z] 700K ..     300K=0.2s [2020-03-16T11:58:56.131Z] [2020-03-16T11:58:56.131Z] 2020-03-16 11:58:56 (2.94 MB/s) - written to stdout [719348] [2020-03-16T11:58:56.131Z] [2020-03-16T11:58:56.143Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-03-16T11:58:56.143Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-03-16T11:58:56.143Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-03-16T11:58:56.143Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-03-16T11:58:56.401Z] -- The C compiler identification is GNU 8.3.0 [2020-03-16T11:58:56.404Z] [ 40%] Linking C shared library libcbor.so [2020-03-16T11:58:56.404Z] [ 40%] Built target cbor_shared [2020-03-16T11:58:56.404Z] Scanning dependencies of target cbor [2020-03-16T11:58:56.404Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-03-16T11:58:56.665Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-03-16T11:58:56.665Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-03-16T11:58:56.668Z] -- The CXX compiler identification is GNU 8.3.0 [2020-03-16T11:58:56.669Z] -- Check for working C compiler: /usr/bin/cc [2020-03-16T11:58:56.936Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-03-16T11:58:56.936Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-03-16T11:58:56.936Z] -- Detecting C compiler ABI info [2020-03-16T11:58:57.195Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-03-16T11:58:57.195Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-03-16T11:58:57.195Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-03-16T11:58:57.204Z] -- Detecting C compiler ABI info - done [2020-03-16T11:58:57.204Z] -- Detecting C compile features [2020-03-16T11:58:57.765Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-03-16T11:58:57.765Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-03-16T11:58:57.765Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-03-16T11:58:57.792Z] -- Detecting C compile features - done [2020-03-16T11:58:58.025Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-03-16T11:58:58.025Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-03-16T11:58:58.061Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-03-16T11:58:58.061Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-03-16T11:58:58.061Z] -- Detecting CXX compiler ABI info [2020-03-16T11:58:58.296Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-03-16T11:58:58.296Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-03-16T11:58:58.331Z] -- Detecting CXX compiler ABI info - done [2020-03-16T11:58:58.556Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-03-16T11:58:58.556Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-03-16T11:58:58.556Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-03-16T11:58:58.601Z] -- Detecting CXX compile features [2020-03-16T11:58:58.815Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-03-16T11:58:58.815Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-03-16T11:58:58.815Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-03-16T11:58:58.815Z] [ 80%] Linking C static library libcbor.a [2020-03-16T11:58:58.815Z] [ 80%] Built target cbor [2020-03-16T11:58:58.815Z] Scanning dependencies of target create_items [2020-03-16T11:58:58.815Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-03-16T11:58:59.075Z] [ 84%] Linking C executable create_items [2020-03-16T11:58:59.075Z] [ 84%] Built target create_items [2020-03-16T11:58:59.075Z] Scanning dependencies of target readfile [2020-03-16T11:58:59.075Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-03-16T11:58:59.075Z] [ 88%] Linking C executable readfile [2020-03-16T11:58:59.075Z] [ 88%] Built target readfile [2020-03-16T11:58:59.075Z] Scanning dependencies of target streaming_parser [2020-03-16T11:58:59.075Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-03-16T11:58:59.335Z] [ 92%] Linking C executable streaming_parser [2020-03-16T11:58:59.335Z] [ 92%] Built target streaming_parser [2020-03-16T11:58:59.335Z] Scanning dependencies of target sort [2020-03-16T11:58:59.335Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-03-16T11:58:59.335Z] [ 96%] Linking C executable sort [2020-03-16T11:58:59.335Z] [ 96%] Built target sort [2020-03-16T11:58:59.335Z] Scanning dependencies of target hello [2020-03-16T11:58:59.335Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-03-16T11:58:59.335Z] [100%] Linking C executable hello [2020-03-16T11:58:59.335Z] [100%] Built target hello [2020-03-16T11:58:59.595Z] Install the project... [2020-03-16T11:58:59.595Z] -- Install configuration: "Release" [2020-03-16T11:58:59.595Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-03-16T11:58:59.595Z] -- Installing: /usr/local/lib64/libcbor.a [2020-03-16T11:58:59.595Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-03-16T11:58:59.595Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-03-16T11:58:59.595Z] -- Installing: /usr/local/lib64/libcbor.so [2020-03-16T11:58:59.595Z] -- Up-to-date: /usr/local/include/cbor [2020-03-16T11:58:59.595Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-03-16T11:58:59.595Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-03-16T11:58:59.595Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-03-16T11:58:59.595Z] -- Installing: /usr/local/include/cbor/common.h [2020-03-16T11:58:59.595Z] -- Installing: /usr/local/include/cbor/data.h [2020-03-16T11:58:59.595Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-03-16T11:58:59.595Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-03-16T11:58:59.595Z] -- Installing: /usr/local/include/cbor/internal [2020-03-16T11:58:59.595Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-03-16T11:58:59.595Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-03-16T11:58:59.595Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-03-16T11:58:59.595Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-03-16T11:58:59.595Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-03-16T11:58:59.595Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-03-16T11:58:59.595Z] -- Installing: /usr/local/include/cbor/ints.h [2020-03-16T11:58:59.595Z] -- Installing: /usr/local/include/cbor/maps.h [2020-03-16T11:58:59.595Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-03-16T11:58:59.595Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-03-16T11:58:59.595Z] -- Installing: /usr/local/include/cbor/strings.h [2020-03-16T11:58:59.595Z] -- Installing: /usr/local/include/cbor/tags.h [2020-03-16T11:58:59.595Z] -- Installing: /usr/local/include/cbor.h [2020-03-16T11:58:59.595Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-03-16T11:59:00.023Z] -- Detecting CXX compile features - done [2020-03-16T11:59:00.023Z] -- Looking for include file endian.h [2020-03-16T11:59:00.172Z] Removing intermediate container 861ec6f533c6 [2020-03-16T11:59:00.172Z] ---> caebc221528c [2020-03-16T11:59:00.172Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-03-16T11:59:00.293Z] -- Looking for include file endian.h - found [2020-03-16T11:59:00.293Z] -- Check if the system is big endian [2020-03-16T11:59:00.293Z] -- Searching 16 bit integer [2020-03-16T11:59:00.293Z] -- Looking for sys/types.h [2020-03-16T11:59:00.431Z] ---> Running in 97a6242ba452 [2020-03-16T11:59:00.563Z] -- Looking for sys/types.h - found [2020-03-16T11:59:00.563Z] -- Looking for stdint.h [2020-03-16T11:59:00.563Z] -- Looking for stdint.h - found [2020-03-16T11:59:00.563Z] -- Looking for stddef.h [2020-03-16T11:59:00.831Z] -- Looking for stddef.h - found [2020-03-16T11:59:00.831Z] -- Check size of unsigned short [2020-03-16T11:59:00.999Z] Removing intermediate container 97a6242ba452 [2020-03-16T11:59:00.999Z] ---> 7894a83f5fc6 [2020-03-16T11:59:00.999Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-03-16T11:59:01.101Z] -- Check size of unsigned short - done [2020-03-16T11:59:01.101Z] -- Using unsigned short [2020-03-16T11:59:01.259Z] ---> 83fa8c173433 [2020-03-16T11:59:01.259Z] Step 8/21 : COPY src /tmp/sdk/src [2020-03-16T11:59:01.370Z] -- Check if the system is big endian - little endian [2020-03-16T11:59:01.370Z] -- Check size of size_t [2020-03-16T11:59:01.519Z] ---> 94bcf7d747a6 [2020-03-16T11:59:01.519Z] Step 9/21 : COPY include /tmp/sdk/include [2020-03-16T11:59:01.637Z] -- Check size of size_t - done [2020-03-16T11:59:01.637Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-03-16T11:59:01.637Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-03-16T11:59:01.637Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-03-16T11:59:01.638Z] CMake did not find one. [2020-03-16T11:59:01.638Z] [2020-03-16T11:59:01.638Z] Could not find a package configuration file provided by "cJSON" with any of [2020-03-16T11:59:01.638Z] the following names: [2020-03-16T11:59:01.638Z] [2020-03-16T11:59:01.638Z] cJSONConfig.cmake [2020-03-16T11:59:01.638Z] cjson-config.cmake [2020-03-16T11:59:01.638Z] [2020-03-16T11:59:01.638Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-03-16T11:59:01.638Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-03-16T11:59:01.638Z] provides a separate development package or SDK, be sure it has been [2020-03-16T11:59:01.638Z] installed. [2020-03-16T11:59:01.638Z] [2020-03-16T11:59:01.638Z] [2020-03-16T11:59:01.638Z] -- Configuring done [2020-03-16T11:59:01.780Z] ---> 65f2ec166938 [2020-03-16T11:59:01.780Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-03-16T11:59:01.780Z] ---> e1e5e45c5100 [2020-03-16T11:59:01.780Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-03-16T11:59:01.907Z] -- Generating done [2020-03-16T11:59:01.907Z] -- Build files have been written to: /tmp/cbor [2020-03-16T11:59:02.039Z] ---> a5770dd52d84 [2020-03-16T11:59:02.039Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-03-16T11:59:02.176Z] Scanning dependencies of target cbor_shared [2020-03-16T11:59:02.176Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-03-16T11:59:02.298Z] ---> 15fdeb386e12 [2020-03-16T11:59:02.298Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-03-16T11:59:02.298Z] ---> Running in f5058359d9fc [2020-03-16T11:59:02.557Z] + CPPCHECK=false [2020-03-16T11:59:02.557Z] + DOCGEN=false [2020-03-16T11:59:02.557Z] + TOMLVER=SDK-0.2 [2020-03-16T11:59:02.557Z] + CUTILVER=1.0.0 [2020-03-16T11:59:02.557Z] + '[' 0 -gt 0 ] [2020-03-16T11:59:02.557Z] + readlink -f ./scripts/build.sh [2020-03-16T11:59:02.557Z] + dirname /tmp/sdk/scripts/build.sh [2020-03-16T11:59:02.557Z] + dirname /tmp/sdk/scripts [2020-03-16T11:59:02.557Z] + ROOT=/tmp/sdk [2020-03-16T11:59:02.557Z] + cd /tmp/sdk [2020-03-16T11:59:02.557Z] + '[' '!' -d deps ] [2020-03-16T11:59:02.557Z] + mkdir deps [2020-03-16T11:59:02.557Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-03-16T11:59:02.557Z] + tar -C deps -z -x -f - [2020-03-16T11:59:02.557Z] --2020-03-16 11:59:02-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-03-16T11:59:02.557Z] Resolving github.com... 192.30.253.113 [2020-03-16T11:59:02.557Z] Connecting to github.com|192.30.253.113|:443... connected. [2020-03-16T11:59:02.817Z] HTTP request sent, awaiting response... 302 Found [2020-03-16T11:59:02.817Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-03-16T11:59:02.817Z] --2020-03-16 11:59:02-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-03-16T11:59:02.817Z] Resolving codeload.github.com... 140.82.112.10 [2020-03-16T11:59:02.817Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2020-03-16T11:59:03.076Z] HTTP request sent, awaiting response... 200 OK [2020-03-16T11:59:03.076Z] Length: unspecified [application/x-gzip] [2020-03-16T11:59:03.076Z] Saving to: 'STDOUT' [2020-03-16T11:59:03.076Z] [2020-03-16T11:59:03.076Z] 0K .......... ......  1.04M=0.02s [2020-03-16T11:59:03.076Z] [2020-03-16T11:59:03.076Z] 2020-03-16 11:59:02 (1.04 MB/s) - written to stdout [16451] [2020-03-16T11:59:03.076Z] [2020-03-16T11:59:03.076Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-03-16T11:59:03.076Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.0.tar.gz [2020-03-16T11:59:03.076Z] + tar -C deps -z -x -f - [2020-03-16T11:59:03.076Z] --2020-03-16 11:59:02-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.0.tar.gz [2020-03-16T11:59:03.076Z] Resolving github.com... 192.30.253.113 [2020-03-16T11:59:03.076Z] Connecting to github.com|192.30.253.113|:443... connected. [2020-03-16T11:59:03.139Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-03-16T11:59:03.335Z] HTTP request sent, awaiting response... 302 Found [2020-03-16T11:59:03.335Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.0 [following] [2020-03-16T11:59:03.335Z] --2020-03-16 11:59:03-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.0 [2020-03-16T11:59:03.335Z] Resolving codeload.github.com... 140.82.112.10 [2020-03-16T11:59:03.335Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2020-03-16T11:59:03.410Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-03-16T11:59:03.594Z] HTTP request sent, awaiting response... 200 OK [2020-03-16T11:59:03.594Z] Length: unspecified [application/x-gzip] [2020-03-16T11:59:03.594Z] Saving to: 'STDOUT' [2020-03-16T11:59:03.594Z] [2020-03-16T11:59:03.594Z] 0K .......... .......... .......... .......... .......... 1.45M [2020-03-16T11:59:03.594Z] 50K .......... .......... .......... .......... .......... 2.40M [2020-03-16T11:59:03.594Z] 100K .......... .......... .......... .......... ........ 29.8M=0.06s [2020-03-16T11:59:03.594Z] [2020-03-16T11:59:03.594Z] 2020-03-16 11:59:03 (2.60 MB/s) - written to stdout [151809] [2020-03-16T11:59:03.594Z] [2020-03-16T11:59:03.594Z] + mkdir -p src/c/iot [2020-03-16T11:59:03.594Z] + cp deps/iotech-c-utils-1.0.0/src/c/base64.c deps/iotech-c-utils-1.0.0/src/c/component.c deps/iotech-c-utils-1.0.0/src/c/container.c deps/iotech-c-utils-1.0.0/src/c/data.c deps/iotech-c-utils-1.0.0/src/c/hash.c deps/iotech-c-utils-1.0.0/src/c/iot.c deps/iotech-c-utils-1.0.0/src/c/json.c deps/iotech-c-utils-1.0.0/src/c/logger.c deps/iotech-c-utils-1.0.0/src/c/os.c deps/iotech-c-utils-1.0.0/src/c/scheduler.c deps/iotech-c-utils-1.0.0/src/c/thread.c deps/iotech-c-utils-1.0.0/src/c/threadpool.c deps/iotech-c-utils-1.0.0/src/c/time.c src/c/iot [2020-03-16T11:59:03.594Z] + mkdir -p include/iot [2020-03-16T11:59:03.594Z] + cp deps/iotech-c-utils-1.0.0/include/iot/base64.h deps/iotech-c-utils-1.0.0/include/iot/component.h deps/iotech-c-utils-1.0.0/include/iot/container.h deps/iotech-c-utils-1.0.0/include/iot/data.h deps/iotech-c-utils-1.0.0/include/iot/hash.h deps/iotech-c-utils-1.0.0/include/iot/iot.h deps/iotech-c-utils-1.0.0/include/iot/json.h deps/iotech-c-utils-1.0.0/include/iot/logger.h deps/iotech-c-utils-1.0.0/include/iot/os.h deps/iotech-c-utils-1.0.0/include/iot/scheduler.h deps/iotech-c-utils-1.0.0/include/iot/thread.h deps/iotech-c-utils-1.0.0/include/iot/threadpool.h deps/iotech-c-utils-1.0.0/include/iot/time.h include/iot [2020-03-16T11:59:03.594Z] + mkdir -p include/iot/os [2020-03-16T11:59:03.594Z] + cp deps/iotech-c-utils-1.0.0/include/iot/os/linux.h deps/iotech-c-utils-1.0.0/include/iot/os/zephyr.h include/iot/os [2020-03-16T11:59:03.594Z] + mkdir -p /tmp/sdk/build/release [2020-03-16T11:59:03.594Z] + cd /tmp/sdk/build/release [2020-03-16T11:59:03.594Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-03-16T11:59:03.594Z] -- The C compiler identification is GNU 8.3.0 [2020-03-16T11:59:03.594Z] -- Check for working C compiler: /usr/bin/cc [2020-03-16T11:59:03.677Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-03-16T11:59:03.854Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-03-16T11:59:03.854Z] -- Detecting C compiler ABI info [2020-03-16T11:59:03.854Z] -- Detecting C compiler ABI info - done [2020-03-16T11:59:03.854Z] -- Detecting C compile features [2020-03-16T11:59:04.113Z] -- Detecting C compile features - done [2020-03-16T11:59:04.113Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-03-16T11:59:04.113Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-03-16T11:59:04.113Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-03-16T11:59:04.113Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-03-16T11:59:04.113Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-03-16T11:59:04.113Z] -- C SDK 0.0.0 for Linux [2020-03-16T11:59:04.113Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-03-16T11:59:04.113Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-03-16T11:59:04.263Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-03-16T11:59:04.373Z] -- Found Curses: /usr/lib/libcurses.so [2020-03-16T11:59:04.373Z] -- Configuring done [2020-03-16T11:59:04.373Z] -- Generating done [2020-03-16T11:59:04.373Z] -- Build files have been written to: /tmp/sdk/build/release [2020-03-16T11:59:04.373Z] + make [2020-03-16T11:59:04.373Z] + tee release.log [2020-03-16T11:59:04.373Z] Scanning dependencies of target csdk [2020-03-16T11:59:04.373Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-03-16T11:59:04.530Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-03-16T11:59:04.634Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-03-16T11:59:04.634Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-03-16T11:59:04.798Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-03-16T11:59:04.798Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-03-16T11:59:05.066Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-03-16T11:59:05.201Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-03-16T11:59:05.335Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-03-16T11:59:05.460Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-03-16T11:59:05.460Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-03-16T11:59:05.722Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-03-16T11:59:05.920Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-03-16T11:59:05.982Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-03-16T11:59:06.188Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-03-16T11:59:06.247Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-03-16T11:59:06.247Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-03-16T11:59:06.509Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-03-16T11:59:06.509Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-03-16T11:59:06.770Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-03-16T11:59:06.770Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-03-16T11:59:06.777Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-03-16T11:59:07.045Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-03-16T11:59:07.313Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-03-16T11:59:07.313Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-03-16T11:59:07.706Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-03-16T11:59:07.706Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-03-16T11:59:07.706Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-03-16T11:59:07.902Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-03-16T11:59:07.902Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-03-16T11:59:07.966Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-03-16T11:59:08.169Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-03-16T11:59:08.436Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-03-16T11:59:08.537Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-03-16T11:59:08.537Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-03-16T11:59:08.537Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-03-16T11:59:08.706Z] [ 40%] Linking C shared library libcbor.so [2020-03-16T11:59:08.706Z] [ 40%] Built target cbor_shared [2020-03-16T11:59:08.706Z] Scanning dependencies of target cbor [2020-03-16T11:59:08.795Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-03-16T11:59:08.974Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-03-16T11:59:09.054Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-03-16T11:59:09.055Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-03-16T11:59:09.313Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-03-16T11:59:09.313Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-03-16T11:59:09.558Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-03-16T11:59:09.572Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-03-16T11:59:09.572Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-03-16T11:59:09.572Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-03-16T11:59:09.830Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-03-16T11:59:10.090Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-03-16T11:59:10.144Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-03-16T11:59:10.412Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-03-16T11:59:11.027Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-03-16T11:59:11.287Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-03-16T11:59:11.287Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-03-16T11:59:11.372Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-03-16T11:59:11.546Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-03-16T11:59:11.640Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-03-16T11:59:11.908Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-03-16T11:59:12.115Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-03-16T11:59:12.175Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-03-16T11:59:12.175Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-03-16T11:59:12.377Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-03-16T11:59:12.761Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-03-16T11:59:13.314Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-03-16T11:59:13.344Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-03-16T11:59:13.578Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-03-16T11:59:13.611Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-03-16T11:59:13.837Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-03-16T11:59:13.878Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-03-16T11:59:14.096Z] [ 69%] Linking C shared library libcsdk.so [2020-03-16T11:59:14.096Z] [ 69%] Built target csdk [2020-03-16T11:59:14.096Z] Scanning dependencies of target template [2020-03-16T11:59:14.096Z] [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-03-16T11:59:14.357Z] [ 72%] Linking C executable template [2020-03-16T11:59:14.357Z] [ 72%] Built target template [2020-03-16T11:59:14.357Z] Scanning dependencies of target device-counter [2020-03-16T11:59:14.357Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-03-16T11:59:14.461Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-03-16T11:59:14.461Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-03-16T11:59:14.616Z] [ 76%] Linking C executable device-counter [2020-03-16T11:59:14.616Z] [ 76%] Built target device-counter [2020-03-16T11:59:14.616Z] Scanning dependencies of target device-random [2020-03-16T11:59:14.616Z] [ 77%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-03-16T11:59:14.729Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-03-16T11:59:14.875Z] [ 79%] Linking C executable device-random [2020-03-16T11:59:14.875Z] [ 79%] Built target device-random [2020-03-16T11:59:14.875Z] Scanning dependencies of target device-gyro [2020-03-16T11:59:14.875Z] [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-03-16T11:59:14.875Z] [ 83%] Linking C executable device-gyro [2020-03-16T11:59:14.998Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-03-16T11:59:15.134Z] [ 83%] Built target device-gyro [2020-03-16T11:59:15.134Z] Scanning dependencies of target template-discovery [2020-03-16T11:59:15.134Z] [ 84%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-03-16T11:59:15.134Z] [ 86%] Linking C executable template-discovery [2020-03-16T11:59:15.267Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-03-16T11:59:15.394Z] [ 86%] Built target template-discovery [2020-03-16T11:59:15.394Z] Scanning dependencies of target device-terminal [2020-03-16T11:59:15.394Z] [ 88%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-03-16T11:59:15.394Z] [ 89%] Linking C executable device-terminal [2020-03-16T11:59:15.534Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-03-16T11:59:15.658Z] [ 89%] Built target device-terminal [2020-03-16T11:59:15.658Z] Scanning dependencies of target template2 [2020-03-16T11:59:15.658Z] [ 91%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-03-16T11:59:15.658Z] [ 93%] Linking C executable template2 [2020-03-16T11:59:15.804Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-03-16T11:59:15.917Z] [ 93%] Built target template2 [2020-03-16T11:59:15.917Z] Scanning dependencies of target device-randomv2 [2020-03-16T11:59:15.917Z] [ 94%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-03-16T11:59:15.917Z] [ 96%] Linking C executable device-randomv2 [2020-03-16T11:59:15.917Z] [ 96%] Built target device-randomv2 [2020-03-16T11:59:15.917Z] Scanning dependencies of target device-counterv2 [2020-03-16T11:59:16.072Z] [ 80%] Linking C static library libcbor.a [2020-03-16T11:59:16.072Z] [ 80%] Built target cbor [2020-03-16T11:59:16.072Z] Scanning dependencies of target create_items [2020-03-16T11:59:16.072Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-03-16T11:59:16.177Z] [ 98%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-03-16T11:59:16.177Z] [100%] Linking C executable device-counterv2 [2020-03-16T11:59:16.338Z] [ 84%] Linking C executable create_items [2020-03-16T11:59:16.338Z] [ 84%] Built target create_items [2020-03-16T11:59:16.338Z] Scanning dependencies of target readfile [2020-03-16T11:59:16.437Z] [100%] Built target device-counterv2 [2020-03-16T11:59:16.437Z] + make package [2020-03-16T11:59:16.437Z] + tee -a release.log [2020-03-16T11:59:16.437Z] [ 69%] Built target csdk [2020-03-16T11:59:16.437Z] [ 72%] Built target template [2020-03-16T11:59:16.437Z] [ 76%] Built target device-counter [2020-03-16T11:59:16.437Z] [ 79%] Built target device-random [2020-03-16T11:59:16.437Z] [ 83%] Built target device-gyro [2020-03-16T11:59:16.437Z] [ 86%] Built target template-discovery [2020-03-16T11:59:16.437Z] [ 89%] Built target device-terminal [2020-03-16T11:59:16.437Z] [ 93%] Built target template2 [2020-03-16T11:59:16.437Z] [ 96%] Built target device-randomv2 [2020-03-16T11:59:16.605Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-03-16T11:59:16.605Z] [ 88%] Linking C executable readfile [2020-03-16T11:59:16.696Z] [100%] Built target device-counterv2 [2020-03-16T11:59:16.696Z] Run CPack packaging tool... [2020-03-16T11:59:16.696Z] CPack: Create package using TGZ [2020-03-16T11:59:16.696Z] CPack: Install projects [2020-03-16T11:59:16.696Z] CPack: - Run preinstall target for: Csdk [2020-03-16T11:59:16.873Z] [ 88%] Built target readfile [2020-03-16T11:59:16.873Z] Scanning dependencies of target streaming_parser [2020-03-16T11:59:16.873Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-03-16T11:59:16.965Z] CPack: - Install project: Csdk [2020-03-16T11:59:16.965Z] CPack: Create package [2020-03-16T11:59:16.965Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2020-03-16T11:59:16.965Z] + '[' false '=' true ] [2020-03-16T11:59:16.965Z] + '[' false '=' true ] [2020-03-16T11:59:16.965Z] + mkdir -p /tmp/sdk/build/debug [2020-03-16T11:59:16.965Z] + cd /tmp/sdk/build/debug [2020-03-16T11:59:16.965Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-03-16T11:59:16.965Z] -- The C compiler identification is GNU 8.3.0 [2020-03-16T11:59:16.965Z] -- Check for working C compiler: /usr/bin/cc [2020-03-16T11:59:17.143Z] [ 92%] Linking C executable streaming_parser [2020-03-16T11:59:17.143Z] [ 92%] Built target streaming_parser [2020-03-16T11:59:17.143Z] Scanning dependencies of target sort [2020-03-16T11:59:17.143Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-03-16T11:59:17.410Z] [ 96%] Linking C executable sort [2020-03-16T11:59:17.410Z] [ 96%] Built target sort [2020-03-16T11:59:17.410Z] Scanning dependencies of target hello [2020-03-16T11:59:17.410Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-03-16T11:59:17.539Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-03-16T11:59:17.539Z] -- Detecting C compiler ABI info [2020-03-16T11:59:17.539Z] -- Detecting C compiler ABI info - done [2020-03-16T11:59:17.539Z] -- Detecting C compile features [2020-03-16T11:59:17.677Z] [100%] Linking C executable hello [2020-03-16T11:59:17.677Z] [100%] Built target hello [2020-03-16T11:59:17.677Z] Install the project... [2020-03-16T11:59:17.677Z] -- Install configuration: "Release" [2020-03-16T11:59:17.677Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-03-16T11:59:17.677Z] -- Installing: /usr/local/lib64/libcbor.a [2020-03-16T11:59:17.799Z] -- Detecting C compile features - done [2020-03-16T11:59:17.799Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-03-16T11:59:17.799Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-03-16T11:59:17.799Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-03-16T11:59:17.799Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-03-16T11:59:17.799Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-03-16T11:59:17.799Z] -- C SDK 0.0.0 for Linux [2020-03-16T11:59:17.799Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-03-16T11:59:17.946Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-03-16T11:59:17.946Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-03-16T11:59:17.946Z] -- Installing: /usr/local/lib64/libcbor.so [2020-03-16T11:59:17.946Z] -- Up-to-date: /usr/local/include/cbor [2020-03-16T11:59:17.946Z] -- Installing: /usr/local/include/cbor/common.h [2020-03-16T11:59:17.946Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-03-16T11:59:17.946Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-03-16T11:59:17.946Z] -- Installing: /usr/local/include/cbor/maps.h [2020-03-16T11:59:17.946Z] -- Installing: /usr/local/include/cbor/strings.h [2020-03-16T11:59:17.946Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-03-16T11:59:17.946Z] -- Installing: /usr/local/include/cbor/internal [2020-03-16T11:59:17.946Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-03-16T11:59:17.946Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-03-16T11:59:17.946Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-03-16T11:59:17.946Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-03-16T11:59:17.946Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-03-16T11:59:17.946Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-03-16T11:59:17.946Z] -- Installing: /usr/local/include/cbor/data.h [2020-03-16T11:59:17.946Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-03-16T11:59:17.946Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-03-16T11:59:17.946Z] -- Installing: /usr/local/include/cbor/tags.h [2020-03-16T11:59:17.946Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-03-16T11:59:17.946Z] -- Installing: /usr/local/include/cbor/ints.h [2020-03-16T11:59:17.946Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-03-16T11:59:17.946Z] -- Installing: /usr/local/include/cbor.h [2020-03-16T11:59:17.946Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-03-16T11:59:18.059Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-03-16T11:59:18.059Z] -- Found Curses: /usr/lib/libcurses.so [2020-03-16T11:59:18.059Z] -- Configuring done [2020-03-16T11:59:18.059Z] -- Generating done [2020-03-16T11:59:18.059Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-03-16T11:59:18.059Z] + make [2020-03-16T11:59:18.059Z] + tee debug.log [2020-03-16T11:59:18.059Z] Scanning dependencies of target csdk [2020-03-16T11:59:18.318Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-03-16T11:59:18.318Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-03-16T11:59:18.318Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-03-16T11:59:18.579Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-03-16T11:59:18.579Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-03-16T11:59:18.579Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-03-16T11:59:18.838Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-03-16T11:59:18.838Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-03-16T11:59:19.098Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-03-16T11:59:19.098Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-03-16T11:59:19.098Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-03-16T11:59:19.357Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-03-16T11:59:19.357Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-03-16T11:59:19.357Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-03-16T11:59:19.616Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-03-16T11:59:19.616Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-03-16T11:59:19.877Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-03-16T11:59:19.877Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-03-16T11:59:19.901Z] Removing intermediate container 41cfb5197a0d [2020-03-16T11:59:19.901Z] ---> 986ed86d8324 [2020-03-16T11:59:19.901Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-03-16T11:59:20.137Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-03-16T11:59:20.137Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-03-16T11:59:20.137Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-03-16T11:59:20.169Z] ---> Running in e6ed5c466c16 [2020-03-16T11:59:20.398Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-03-16T11:59:20.398Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-03-16T11:59:20.398Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-03-16T11:59:20.398Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-03-16T11:59:20.658Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-03-16T11:59:20.658Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-03-16T11:59:20.658Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-03-16T11:59:20.658Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-03-16T11:59:20.919Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-03-16T11:59:20.919Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-03-16T11:59:21.488Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-03-16T11:59:21.488Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-03-16T11:59:21.488Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-03-16T11:59:21.488Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-03-16T11:59:21.748Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-03-16T11:59:22.008Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-03-16T11:59:22.118Z] Removing intermediate container e6ed5c466c16 [2020-03-16T11:59:22.118Z] ---> cb5888cff6c1 [2020-03-16T11:59:22.118Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-03-16T11:59:22.267Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-03-16T11:59:22.268Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-03-16T11:59:22.527Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-03-16T11:59:22.527Z] [ 69%] Linking C shared library libcsdk.so [2020-03-16T11:59:22.527Z] [ 69%] Built target csdk [2020-03-16T11:59:22.527Z] Scanning dependencies of target template [2020-03-16T11:59:22.527Z] [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-03-16T11:59:22.705Z] ---> 6b7dacc49b49 [2020-03-16T11:59:22.705Z] Step 8/21 : COPY src /tmp/sdk/src [2020-03-16T11:59:22.786Z] [ 72%] Linking C executable template [2020-03-16T11:59:22.786Z] [ 72%] Built target template [2020-03-16T11:59:22.786Z] Scanning dependencies of target device-counter [2020-03-16T11:59:22.786Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-03-16T11:59:22.786Z] [ 76%] Linking C executable device-counter [2020-03-16T11:59:23.045Z] [ 76%] Built target device-counter [2020-03-16T11:59:23.045Z] Scanning dependencies of target device-random [2020-03-16T11:59:23.045Z] [ 77%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-03-16T11:59:23.045Z] [ 79%] Linking C executable device-random [2020-03-16T11:59:23.045Z] [ 79%] Built target device-random [2020-03-16T11:59:23.045Z] Scanning dependencies of target device-gyro [2020-03-16T11:59:23.045Z] [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-03-16T11:59:23.303Z] [ 83%] Linking C executable device-gyro [2020-03-16T11:59:23.303Z] [ 83%] Built target device-gyro [2020-03-16T11:59:23.303Z] Scanning dependencies of target template-discovery [2020-03-16T11:59:23.303Z] [ 84%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-03-16T11:59:23.303Z] [ 86%] Linking C executable template-discovery [2020-03-16T11:59:23.562Z] [ 86%] Built target template-discovery [2020-03-16T11:59:23.562Z] Scanning dependencies of target device-terminal [2020-03-16T11:59:23.562Z] [ 88%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-03-16T11:59:23.562Z] [ 89%] Linking C executable device-terminal [2020-03-16T11:59:23.562Z] [ 89%] Built target device-terminal [2020-03-16T11:59:23.562Z] Scanning dependencies of target template2 [2020-03-16T11:59:23.562Z] [ 91%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-03-16T11:59:23.670Z] ---> fcc3cb37ef06 [2020-03-16T11:59:23.670Z] Step 9/21 : COPY include /tmp/sdk/include [2020-03-16T11:59:23.821Z] [ 93%] Linking C executable template2 [2020-03-16T11:59:23.821Z] [ 93%] Built target template2 [2020-03-16T11:59:23.821Z] Scanning dependencies of target device-randomv2 [2020-03-16T11:59:23.821Z] [ 94%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-03-16T11:59:23.821Z] [ 96%] Linking C executable device-randomv2 [2020-03-16T11:59:23.940Z] ---> 8c1894619964 [2020-03-16T11:59:23.940Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-03-16T11:59:24.080Z] [ 96%] Built target device-randomv2 [2020-03-16T11:59:24.080Z] Scanning dependencies of target device-counterv2 [2020-03-16T11:59:24.080Z] [ 98%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-03-16T11:59:24.080Z] [100%] Linking C executable device-counterv2 [2020-03-16T11:59:24.080Z] [100%] Built target device-counterv2 [2020-03-16T11:59:24.080Z] make: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:59:24.080Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:59:24.080Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:59:24.341Z] Scanning dependencies of target csdk [2020-03-16T11:59:24.341Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:59:24.341Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:59:24.341Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-03-16T11:59:24.525Z] ---> d791b99ba610 [2020-03-16T11:59:24.525Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-03-16T11:59:24.600Z] [ 3%] Linking C shared library libcsdk.so [2020-03-16T11:59:24.600Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:59:24.600Z] [ 69%] Built target csdk [2020-03-16T11:59:24.600Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:59:24.859Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:59:24.859Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:59:24.859Z] [ 71%] Linking C executable template [2020-03-16T11:59:24.859Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:59:24.859Z] [ 72%] Built target template [2020-03-16T11:59:24.859Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:59:24.859Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:59:24.859Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:59:24.859Z] [ 74%] Linking C executable device-counter [2020-03-16T11:59:24.859Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:59:24.859Z] [ 76%] Built target device-counter [2020-03-16T11:59:24.859Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:59:24.859Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:59:24.859Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:59:24.859Z] [ 77%] Linking C executable device-random [2020-03-16T11:59:25.107Z] ---> ed997497142d [2020-03-16T11:59:25.107Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-03-16T11:59:25.117Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:59:25.117Z] [ 79%] Built target device-random [2020-03-16T11:59:25.117Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:59:25.117Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:59:25.117Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:59:25.117Z] [ 81%] Linking C executable device-gyro [2020-03-16T11:59:25.117Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:59:25.117Z] [ 83%] Built target device-gyro [2020-03-16T11:59:25.117Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:59:25.117Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:59:25.117Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:59:25.117Z] [ 84%] Linking C executable template-discovery [2020-03-16T11:59:25.117Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:59:25.117Z] [ 86%] Built target template-discovery [2020-03-16T11:59:25.117Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:59:25.117Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:59:25.117Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:59:25.117Z] [ 88%] Linking C executable device-terminal [2020-03-16T11:59:25.376Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:59:25.376Z] [ 89%] Built target device-terminal [2020-03-16T11:59:25.376Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:59:25.376Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:59:25.376Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:59:25.376Z] [ 91%] Linking C executable template2 [2020-03-16T11:59:25.376Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:59:25.376Z] [ 93%] Built target template2 [2020-03-16T11:59:25.376Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:59:25.376Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:59:25.376Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:59:25.376Z] [ 94%] Linking C executable device-randomv2 [2020-03-16T11:59:25.376Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:59:25.376Z] [ 96%] Built target device-randomv2 [2020-03-16T11:59:25.376Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:59:25.376Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:59:25.376Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T11:59:25.376Z] [ 98%] Linking C executable device-counterv2 [2020-03-16T11:59:25.635Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:59:25.635Z] [100%] Built target device-counterv2 [2020-03-16T11:59:25.635Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:59:25.635Z] Install the project... [2020-03-16T11:59:25.635Z] -- Install configuration: "Release" [2020-03-16T11:59:25.635Z] -- Installing: /usr/local/lib/libcsdk.so [2020-03-16T11:59:25.635Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-03-16T11:59:25.635Z] -- Up-to-date: /usr/local/include [2020-03-16T11:59:25.635Z] -- Installing: /usr/local/include/devsdk [2020-03-16T11:59:25.635Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-03-16T11:59:25.635Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-03-16T11:59:25.635Z] -- Installing: /usr/local/include/edgex [2020-03-16T11:59:25.635Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-03-16T11:59:25.635Z] -- Installing: /usr/local/include/edgex/devices.h [2020-03-16T11:59:25.635Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-03-16T11:59:25.635Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-03-16T11:59:25.635Z] -- Installing: /usr/local/include/edgex/edgex-logging.h [2020-03-16T11:59:25.635Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-03-16T11:59:25.635Z] -- Installing: /usr/local/include/edgex/error.h [2020-03-16T11:59:25.635Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-03-16T11:59:25.635Z] -- Installing: /usr/local/include/edgex/os.h [2020-03-16T11:59:25.635Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-03-16T11:59:25.635Z] -- Installing: /usr/local/include/edgex/registry.h [2020-03-16T11:59:25.635Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-03-16T11:59:25.635Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-03-16T11:59:25.635Z] -- Installing: /usr/local/include/iot [2020-03-16T11:59:25.635Z] -- Installing: /usr/local/include/iot/base64.h [2020-03-16T11:59:25.635Z] -- Installing: /usr/local/include/iot/component.h [2020-03-16T11:59:25.635Z] -- Installing: /usr/local/include/iot/container.h [2020-03-16T11:59:25.635Z] -- Installing: /usr/local/include/iot/data.h [2020-03-16T11:59:25.635Z] -- Installing: /usr/local/include/iot/hash.h [2020-03-16T11:59:25.635Z] -- Installing: /usr/local/include/iot/iot.h [2020-03-16T11:59:25.635Z] -- Installing: /usr/local/include/iot/json.h [2020-03-16T11:59:25.635Z] -- Installing: /usr/local/include/iot/logger.h [2020-03-16T11:59:25.635Z] -- Installing: /usr/local/include/iot/os.h [2020-03-16T11:59:25.635Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-03-16T11:59:25.635Z] -- Installing: /usr/local/include/iot/thread.h [2020-03-16T11:59:25.635Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-03-16T11:59:25.635Z] -- Installing: /usr/local/include/iot/time.h [2020-03-16T11:59:25.635Z] -- Installing: /usr/local/include/iot/os [2020-03-16T11:59:25.635Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-03-16T11:59:25.635Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-03-16T11:59:25.635Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-03-16T11:59:25.635Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-03-16T11:59:25.635Z] make: Leaving directory '/tmp/sdk/build/release' [2020-03-16T11:59:25.693Z] ---> e5aec2353f9f [2020-03-16T11:59:25.693Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-03-16T11:59:25.693Z] ---> Running in 4ad13bf5ec97 [2020-03-16T11:59:26.574Z] Removing intermediate container f5058359d9fc [2020-03-16T11:59:26.574Z] ---> 34cd9efa3ee6 [2020-03-16T11:59:26.574Z] Step 14/21 : FROM alpine:3.9 [2020-03-16T11:59:26.574Z] 3.9: Pulling from library/alpine [2020-03-16T11:59:26.655Z] + CPPCHECK=false [2020-03-16T11:59:26.655Z] + DOCGEN=false [2020-03-16T11:59:26.655Z] + TOMLVER=SDK-0.2 [2020-03-16T11:59:26.655Z] + CUTILVER=1.0.0 [2020-03-16T11:59:26.655Z] + '[' 0 -gt 0 ] [2020-03-16T11:59:26.655Z] + readlink -f ./scripts/build.sh [2020-03-16T11:59:26.655Z] + dirname /tmp/sdk/scripts/build.sh [2020-03-16T11:59:26.655Z] + dirname /tmp/sdk/scripts [2020-03-16T11:59:26.655Z] + ROOT=/tmp/sdk [2020-03-16T11:59:26.655Z] + cd /tmp/sdk [2020-03-16T11:59:26.655Z] + '[' '!' -d deps ] [2020-03-16T11:59:26.655Z] + mkdir deps [2020-03-16T11:59:26.655Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-03-16T11:59:26.655Z] + tar -C deps -z -x -f - [2020-03-16T11:59:26.655Z] --2020-03-16 11:59:26-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-03-16T11:59:26.655Z] Resolving github.com... 140.82.114.4 [2020-03-16T11:59:26.655Z] Connecting to github.com|140.82.114.4|:443... connected. [2020-03-16T11:59:26.833Z] 9123ac7c32f7: Pulling fs layer [2020-03-16T11:59:26.922Z] HTTP request sent, awaiting response... 302 Found [2020-03-16T11:59:26.922Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-03-16T11:59:26.922Z] --2020-03-16 11:59:26-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-03-16T11:59:26.922Z] Resolving codeload.github.com... 140.82.113.10 [2020-03-16T11:59:26.922Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2020-03-16T11:59:26.922Z] HTTP request sent, awaiting response... 200 OK [2020-03-16T11:59:26.922Z] Length: unspecified [application/x-gzip] [2020-03-16T11:59:26.922Z] Saving to: 'STDOUT' [2020-03-16T11:59:26.922Z]  [2020-03-16T11:59:26.922Z] 0K .......... ......    1.08M=0.01s [2020-03-16T11:59:26.922Z] [2020-03-16T11:59:26.922Z] 2020-03-16 11:59:26 (1.08 MB/s) - written to stdout [16451] [2020-03-16T11:59:26.922Z] [2020-03-16T11:59:26.922Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-03-16T11:59:26.922Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.0.tar.gz [2020-03-16T11:59:26.922Z] + tar -C deps -z -x -f - [2020-03-16T11:59:26.922Z] --2020-03-16 11:59:26-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.0.tar.gz [2020-03-16T11:59:27.093Z] 9123ac7c32f7: Verifying Checksum [2020-03-16T11:59:27.093Z] 9123ac7c32f7: Download complete [2020-03-16T11:59:27.188Z] Resolving github.com... 140.82.114.4 [2020-03-16T11:59:27.188Z] Connecting to github.com|140.82.114.4|:443... connected. [2020-03-16T11:59:27.188Z] HTTP request sent, awaiting response... 302 Found [2020-03-16T11:59:27.188Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.0 [following] [2020-03-16T11:59:27.188Z] --2020-03-16 11:59:27-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.0 [2020-03-16T11:59:27.188Z] Resolving codeload.github.com... 140.82.112.9 [2020-03-16T11:59:27.188Z] Connecting to codeload.github.com|140.82.112.9|:443... connected. [2020-03-16T11:59:27.358Z] 9123ac7c32f7: Pull complete [2020-03-16T11:59:27.358Z] Digest: sha256:115731bab0862031b44766733890091c17924f9b7781b79997f5f163be262178 [2020-03-16T11:59:27.358Z] Status: Downloaded newer image for alpine:3.9 [2020-03-16T11:59:27.358Z] ---> 82f67be598eb [2020-03-16T11:59:27.358Z] Step 15/21 : MAINTAINER IOTech [2020-03-16T11:59:27.457Z] HTTP request sent, awaiting response... 200 OK [2020-03-16T11:59:27.457Z] Length: unspecified [application/x-gzip] [2020-03-16T11:59:27.457Z] Saving to: 'STDOUT' [2020-03-16T11:59:27.457Z]  [2020-03-16T11:59:27.457Z] 0K .......... .......... .......... .......... .......... 1.53M [2020-03-16T11:59:27.457Z] 50K .......... .......... .......... .......... .......... 2.90M [2020-03-16T11:59:27.457Z] 100K .......... .......... .......... .......... ........ 4.90M=0.06s [2020-03-16T11:59:27.457Z] [2020-03-16T11:59:27.457Z] 2020-03-16 11:59:27 (2.48 MB/s) - written to stdout [151809] [2020-03-16T11:59:27.457Z] [2020-03-16T11:59:27.457Z] + mkdir -p src/c/iot [2020-03-16T11:59:27.457Z] + cp deps/iotech-c-utils-1.0.0/src/c/base64.c deps/iotech-c-utils-1.0.0/src/c/component.c deps/iotech-c-utils-1.0.0/src/c/container.c deps/iotech-c-utils-1.0.0/src/c/data.c deps/iotech-c-utils-1.0.0/src/c/hash.c deps/iotech-c-utils-1.0.0/src/c/iot.c deps/iotech-c-utils-1.0.0/src/c/json.c deps/iotech-c-utils-1.0.0/src/c/logger.c deps/iotech-c-utils-1.0.0/src/c/os.c deps/iotech-c-utils-1.0.0/src/c/scheduler.c deps/iotech-c-utils-1.0.0/src/c/thread.c deps/iotech-c-utils-1.0.0/src/c/threadpool.c deps/iotech-c-utils-1.0.0/src/c/time.c src/c/iot [2020-03-16T11:59:27.457Z] + mkdir -p include/iot [2020-03-16T11:59:27.457Z] + cp deps/iotech-c-utils-1.0.0/include/iot/base64.h deps/iotech-c-utils-1.0.0/include/iot/component.h deps/iotech-c-utils-1.0.0/include/iot/container.h deps/iotech-c-utils-1.0.0/include/iot/data.h deps/iotech-c-utils-1.0.0/include/iot/hash.h deps/iotech-c-utils-1.0.0/include/iot/iot.h deps/iotech-c-utils-1.0.0/include/iot/json.h deps/iotech-c-utils-1.0.0/include/iot/logger.h deps/iotech-c-utils-1.0.0/include/iot/os.h deps/iotech-c-utils-1.0.0/include/iot/scheduler.h deps/iotech-c-utils-1.0.0/include/iot/thread.h deps/iotech-c-utils-1.0.0/include/iot/threadpool.h deps/iotech-c-utils-1.0.0/include/iot/time.h include/iot [2020-03-16T11:59:27.457Z] + mkdir -p include/iot/os [2020-03-16T11:59:27.457Z] + cp deps/iotech-c-utils-1.0.0/include/iot/os/linux.h deps/iotech-c-utils-1.0.0/include/iot/os/zephyr.h include/iot/os [2020-03-16T11:59:27.457Z] + mkdir -p /tmp/sdk/build/release [2020-03-16T11:59:27.457Z] + cd /tmp/sdk/build/release [2020-03-16T11:59:27.457Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-03-16T11:59:27.724Z] -- The C compiler identification is GNU 8.3.0 [2020-03-16T11:59:27.724Z] -- Check for working C compiler: /usr/bin/cc [2020-03-16T11:59:27.927Z] ---> Running in ebdac468c49f [2020-03-16T11:59:27.927Z] Removing intermediate container ebdac468c49f [2020-03-16T11:59:27.927Z] ---> 9eddf9e49460 [2020-03-16T11:59:27.927Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-03-16T11:59:27.994Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-03-16T11:59:27.994Z] -- Detecting C compiler ABI info [2020-03-16T11:59:28.188Z] ---> Running in c939c284dcd1 [2020-03-16T11:59:28.262Z] -- Detecting C compiler ABI info - done [2020-03-16T11:59:28.262Z] -- Detecting C compile features [2020-03-16T11:59:28.761Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-03-16T11:59:28.761Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-03-16T11:59:28.761Z] (1/48) Installing binutils (2.31.1-r2) [2020-03-16T11:59:29.022Z] (2/48) Installing libmagic (5.36-r1) [2020-03-16T11:59:29.022Z] (3/48) Installing file (5.36-r1) [2020-03-16T11:59:29.022Z] (4/48) Installing gmp (6.1.2-r1) [2020-03-16T11:59:29.022Z] (5/48) Installing isl (0.18-r0) [2020-03-16T11:59:29.022Z] (6/48) Installing libgomp (8.3.0-r0) [2020-03-16T11:59:29.022Z] (7/48) Installing libatomic (8.3.0-r0) [2020-03-16T11:59:29.022Z] (8/48) Installing libgcc (8.3.0-r0) [2020-03-16T11:59:29.022Z] (9/48) Installing mpfr3 (3.1.5-r1) [2020-03-16T11:59:29.022Z] (10/48) Installing mpc1 (1.0.3-r1) [2020-03-16T11:59:29.022Z] (11/48) Installing libstdc++ (8.3.0-r0) [2020-03-16T11:59:29.022Z] (12/48) Installing gcc (8.3.0-r0) [2020-03-16T11:59:29.226Z] -- Detecting C compile features - done [2020-03-16T11:59:29.226Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-03-16T11:59:29.226Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-03-16T11:59:29.226Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-03-16T11:59:29.226Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-03-16T11:59:29.226Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-03-16T11:59:29.226Z] -- C SDK 0.0.0 for Linux [2020-03-16T11:59:29.226Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-03-16T11:59:29.226Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-03-16T11:59:29.226Z] -- Found Curses: /usr/lib/libcurses.so [2020-03-16T11:59:29.494Z] -- Configuring done [2020-03-16T11:59:29.764Z] -- Generating done [2020-03-16T11:59:29.764Z] -- Build files have been written to: /tmp/sdk/build/release [2020-03-16T11:59:29.764Z] + + teemake release.log [2020-03-16T11:59:29.764Z] [2020-03-16T11:59:29.764Z] Scanning dependencies of target csdk [2020-03-16T11:59:30.033Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-03-16T11:59:30.619Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-03-16T11:59:30.888Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-03-16T11:59:31.566Z] (13/48) Installing musl-dev (1.1.20-r5) [2020-03-16T11:59:32.503Z] (14/48) Installing libc-dev (0.7.1-r0) [2020-03-16T11:59:32.503Z] (15/48) Installing g++ (8.3.0-r0) [2020-03-16T11:59:32.827Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-03-16T11:59:33.072Z] (16/48) Installing make (4.2.1-r2) [2020-03-16T11:59:33.072Z] (17/48) Installing fortify-headers (1.0-r0) [2020-03-16T11:59:33.072Z] (18/48) Installing build-base (0.5-r1) [2020-03-16T11:59:33.072Z] (19/48) Installing libattr (2.4.47-r7) [2020-03-16T11:59:33.072Z] (20/48) Installing libacl (2.2.52-r5) [2020-03-16T11:59:33.072Z] (21/48) Installing libbz2 (1.0.6-r7) [2020-03-16T11:59:33.072Z] (22/48) Installing expat (2.2.8-r0) [2020-03-16T11:59:33.072Z] (23/48) Installing lz4-libs (1.8.3-r2) [2020-03-16T11:59:33.072Z] (24/48) Installing xz-libs (5.2.4-r0) [2020-03-16T11:59:33.072Z] (25/48) Installing libarchive (3.3.3-r2) [2020-03-16T11:59:33.094Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-03-16T11:59:33.361Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-03-16T11:59:33.642Z] (26/48) Installing ca-certificates (20190108-r0) [2020-03-16T11:59:33.642Z] (27/48) Installing nghttp2-libs (1.35.1-r1) [2020-03-16T11:59:33.642Z] (28/48) Installing libssh2 (1.9.0-r1) [2020-03-16T11:59:33.642Z] (29/48) Installing libcurl (7.64.0-r3) [2020-03-16T11:59:33.642Z] (30/48) Installing ncurses-terminfo-base (6.1_p20190105-r0) [2020-03-16T11:59:33.642Z] (31/48) Installing ncurses-terminfo (6.1_p20190105-r0) [2020-03-16T11:59:33.944Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-03-16T11:59:34.211Z] (32/48) Installing ncurses-libs (6.1_p20190105-r0) [2020-03-16T11:59:34.211Z] (33/48) Installing rhash-libs (1.3.6-r2) [2020-03-16T11:59:34.211Z] (34/48) Installing libuv (1.23.2-r0) [2020-03-16T11:59:34.211Z] (35/48) Installing cmake (3.13.0-r0) [2020-03-16T11:59:35.154Z] (36/48) Installing curl (7.64.0-r3) [2020-03-16T11:59:35.154Z] (37/48) Installing pcre2 (10.32-r1) [2020-03-16T11:59:35.154Z] (38/48) Installing git (2.20.2-r0) [2020-03-16T11:59:35.154Z] (39/48) Installing nettle (3.4.1-r0) [2020-03-16T11:59:35.154Z] (40/48) Installing libffi (3.2.1-r6) [2020-03-16T11:59:35.154Z] (41/48) Installing p11-kit (0.23.14-r0) [2020-03-16T11:59:35.154Z] (42/48) Installing libtasn1 (4.14-r0) [2020-03-16T11:59:35.154Z] (43/48) Installing libunistring (0.9.10-r0) [2020-03-16T11:59:35.154Z] (44/48) Installing gnutls (3.6.7-r0) [2020-03-16T11:59:35.154Z] (45/48) Installing libmicrohttpd (0.9.62-r0) [2020-03-16T11:59:35.154Z] (46/48) Installing libuuid (2.33-r0) [2020-03-16T11:59:35.351Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-03-16T11:59:35.416Z] (47/48) Installing wget (1.20.3-r0) [2020-03-16T11:59:35.416Z] (48/48) Installing yaml (0.2.1-r0) [2020-03-16T11:59:35.416Z] Executing busybox-1.29.3-r10.trigger [2020-03-16T11:59:35.416Z] Executing ca-certificates-20190108-r0.trigger [2020-03-16T11:59:35.416Z] OK: 222 MiB in 62 packages [2020-03-16T11:59:35.618Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-03-16T11:59:36.200Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-03-16T11:59:36.780Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-03-16T11:59:37.045Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-03-16T11:59:37.311Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-03-16T11:59:37.311Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-03-16T11:59:40.646Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-03-16T11:59:40.913Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-03-16T11:59:41.177Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-03-16T11:59:41.448Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-03-16T11:59:43.387Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-03-16T11:59:43.561Z] Removing intermediate container c939c284dcd1 [2020-03-16T11:59:43.561Z] ---> 255b929c24e7 [2020-03-16T11:59:43.561Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-03-16T11:59:43.561Z] ---> 5a60b7bdd5a3 [2020-03-16T11:59:43.561Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-03-16T11:59:43.654Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-03-16T11:59:43.654Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-03-16T11:59:43.821Z] ---> 41653a98186c [2020-03-16T11:59:43.821Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-03-16T11:59:44.081Z] ---> 314d78c63a68 [2020-03-16T11:59:44.081Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-03-16T11:59:44.081Z] ---> 02c297ca87b0 [2020-03-16T11:59:44.081Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-03-16T11:59:44.237Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-03-16T11:59:44.339Z] ---> 75fa0e9d457c [2020-03-16T11:59:44.339Z] Successfully built 75fa0e9d457c [2020-03-16T11:59:44.339Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2020-03-16T11:59:44.820Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-03-16T11:59:44.820Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-03-16T11:59:45.238Z] + docker inspect -f . ci-base-image-x86_64 [2020-03-16T11:59:45.238Z] . [Pipeline] withDockerContainer [2020-03-16T11:59:45.398Z] prd-centos7-docker-4c-2g-744 does not seem to be running inside a container [2020-03-16T11:59:45.465Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-03-16T11:59:45.778Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-03-16T11:59:46.045Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-03-16T11:59:46.193Z] $ docker top aec9e67eb19b67065acfa3fafd66310d0977f7c55e7266dc440209edfd909d4f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-16T11:59:46.624Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-03-16T11:59:46.892Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-03-16T11:59:46.988Z] + make test [2020-03-16T11:59:46.988Z] echo "make test" [2020-03-16T11:59:46.988Z] make test [Pipeline] } [2020-03-16T11:59:47.001Z] $ docker stop --time=1 aec9e67eb19b67065acfa3fafd66310d0977f7c55e7266dc440209edfd909d4f [2020-03-16T11:59:47.474Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-03-16T11:59:48.057Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-03-16T11:59:48.323Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-03-16T11:59:48.407Z] $ docker rm -f aec9e67eb19b67065acfa3fafd66310d0977f7c55e7266dc440209edfd909d4f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-16T11:59:50.149Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-16T11:59:50.444Z] + ls -al . [2020-03-16T11:59:50.444Z] total 160 [2020-03-16T11:59:50.444Z] drwxrwxr-x. 8 jenkins jenkins 260 Mar 16 11:58 . [2020-03-16T11:59:50.444Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 16 11:58 .. [2020-03-16T11:59:50.444Z] -rw-rw-r--. 1 jenkins jenkins 3104 Mar 16 11:58 Attribution.txt [2020-03-16T11:59:50.444Z] -rw-rw-r--. 1 jenkins jenkins 4882 Mar 16 11:58 CHANGES [2020-03-16T11:59:50.444Z] drwxrwxr-x. 2 jenkins jenkins 144 Mar 16 11:58 docs [2020-03-16T11:59:50.444Z] -rw-rw-r--. 1 jenkins jenkins 108574 Mar 16 11:58 Doxyfile [2020-03-16T11:59:50.444Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 16 11:58 .git [2020-03-16T11:59:50.444Z] -rw-rw-r--. 1 jenkins jenkins 176 Mar 16 11:58 .gitignore [2020-03-16T11:59:50.444Z] drwxrwxr-x. 4 jenkins jenkins 33 Mar 16 11:58 include [2020-03-16T11:59:50.444Z] -rw-rw-r--. 1 jenkins jenkins 792 Mar 16 11:58 Jenkinsfile [2020-03-16T11:59:50.444Z] -rw-rw-r--. 1 jenkins jenkins 10174 Mar 16 11:58 LICENSE [2020-03-16T11:59:50.444Z] -rw-rw-r--. 1 jenkins jenkins 448 Mar 16 11:58 Makefile [2020-03-16T11:59:50.444Z] -rw-rw-r--. 1 jenkins jenkins 1849 Mar 16 11:58 README.md [2020-03-16T11:59:50.444Z] -rw-rw-r--. 1 jenkins jenkins 5031 Mar 16 11:58 README.v2.md [2020-03-16T11:59:50.444Z] drwxrwxr-x. 2 jenkins jenkins 106 Mar 16 11:58 scripts [2020-03-16T11:59:50.444Z] drwxrwxr-x. 3 jenkins jenkins 58 Mar 16 11:58 .semver [2020-03-16T11:59:50.444Z] drwxrwxr-x. 4 jenkins jenkins 50 Mar 16 11:58 src [2020-03-16T11:59:50.444Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 16 11:56 VERSION [Pipeline] isUnix [Pipeline] sh [2020-03-16T11:59:50.744Z] + 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=2f16c2f0540dc44039dd4c19c0a474d1e0017bf6 --label arch=amd64 --label version=0.0.0 . [2020-03-16T11:59:50.744Z] Sending build context to Docker daemon 2.89MB [2020-03-16T11:59:50.744Z] Step 1/15 : ARG BASE=alpine:3.9 [2020-03-16T11:59:50.744Z] Step 2/15 : FROM ${BASE} [2020-03-16T11:59:50.744Z] ---> 75fa0e9d457c [2020-03-16T11:59:50.744Z] Step 3/15 : MAINTAINER IOTech [2020-03-16T11:59:51.008Z] ---> Running in f54a2810823e [2020-03-16T11:59:51.008Z] Removing intermediate container f54a2810823e [2020-03-16T11:59:51.008Z] ---> 042124b1df90 [2020-03-16T11:59:51.008Z] Step 4/15 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev && mkdir -p /edgex-c-sdk/build [2020-03-16T11:59:51.008Z] ---> Running in 5ebed255be83 [2020-03-16T11:59:51.579Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-03-16T11:59:51.579Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-03-16T11:59:51.579Z] (1/21) Installing pkgconf (1.6.0-r0) [2020-03-16T11:59:51.579Z] (2/21) Installing openssl-dev (1.1.1d-r2) [2020-03-16T11:59:51.844Z] (3/21) Installing zlib-dev (1.2.11-r1) [2020-03-16T11:59:51.844Z] (4/21) Installing libssh2-dev (1.9.0-r1) [2020-03-16T11:59:52.416Z] (5/21) Installing nghttp2-dev (1.35.1-r1) [2020-03-16T11:59:52.416Z] (6/21) Installing curl-dev (7.64.0-r3) [2020-03-16T11:59:52.416Z] (7/21) Installing gnutls-c++ (3.6.7-r0) [2020-03-16T11:59:52.416Z] (8/21) Installing libgmpxx (6.1.2-r1) [2020-03-16T11:59:52.676Z] (9/21) Installing gmp-dev (6.1.2-r1) [2020-03-16T11:59:52.676Z] (10/21) Installing nettle-dev (3.4.1-r0) [2020-03-16T11:59:52.935Z] (11/21) Installing libtasn1-dev (4.14-r0) [2020-03-16T11:59:52.935Z] (12/21) Installing p11-kit-dev (0.23.14-r0) [2020-03-16T11:59:52.935Z] (13/21) Installing gnutls-dev (3.6.7-r0) [2020-03-16T11:59:52.935Z] (14/21) Installing libmicrohttpd-dev (0.9.62-r0) [2020-03-16T11:59:52.976Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-03-16T11:59:52.976Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-03-16T11:59:53.195Z] (15/21) Installing ncurses-dev (6.1_p20190105-r0) [2020-03-16T11:59:53.195Z] (16/21) Installing libblkid (2.33-r0) [2020-03-16T11:59:53.195Z] (17/21) Installing libfdisk (2.33-r0) [2020-03-16T11:59:53.195Z] (18/21) Installing libmount (2.33-r0) [2020-03-16T11:59:53.195Z] (19/21) Installing libsmartcols (2.33-r0) [2020-03-16T11:59:53.195Z] (20/21) Installing util-linux-dev (2.33-r0) [2020-03-16T11:59:53.195Z] (21/21) Installing yaml-dev (0.2.1-r0) [2020-03-16T11:59:53.242Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-03-16T11:59:53.455Z] Executing busybox-1.29.3-r10.trigger [2020-03-16T11:59:53.455Z] OK: 265 MiB in 83 packages [2020-03-16T11:59:53.823Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-03-16T11:59:54.838Z] Removing intermediate container 5ebed255be83 [2020-03-16T11:59:54.839Z] ---> ede621a5ee56 [2020-03-16T11:59:54.839Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-03-16T11:59:54.839Z] ---> 30cab70014ec [2020-03-16T11:59:54.839Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-03-16T11:59:55.098Z] ---> a7f41eb64497 [2020-03-16T11:59:55.098Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-03-16T11:59:55.098Z] ---> bae3d2a1cd3f [2020-03-16T11:59:55.098Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-03-16T11:59:55.232Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-03-16T11:59:55.357Z] ---> 94ef2914b145 [2020-03-16T11:59:55.357Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-03-16T11:59:55.617Z] ---> f61e0306d974 [2020-03-16T11:59:55.617Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-03-16T11:59:55.876Z] ---> 58ebbb2f4fc6 [2020-03-16T11:59:55.876Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-03-16T11:59:55.876Z] ---> Running in 8ee4c009843d [2020-03-16T11:59:55.876Z] Removing intermediate container 8ee4c009843d [2020-03-16T11:59:55.876Z] ---> d5e17676ffd2 [2020-03-16T11:59:55.876Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-03-16T11:59:55.876Z] ---> Running in fba4783922f1 [2020-03-16T11:59:56.136Z] Removing intermediate container fba4783922f1 [2020-03-16T11:59:56.136Z] ---> e43bcf27ad1c [2020-03-16T11:59:56.136Z] Step 13/15 : LABEL arch=amd64 [2020-03-16T11:59:56.136Z] ---> Running in 9f59f5acb78e [2020-03-16T11:59:56.396Z] Removing intermediate container 9f59f5acb78e [2020-03-16T11:59:56.396Z] ---> 76cd3a9bf462 [2020-03-16T11:59:56.396Z] Step 14/15 : LABEL git_sha=2f16c2f0540dc44039dd4c19c0a474d1e0017bf6 [2020-03-16T11:59:56.396Z] ---> Running in 3ef1f4a37061 [2020-03-16T11:59:56.396Z] Removing intermediate container 3ef1f4a37061 [2020-03-16T11:59:56.396Z] ---> 9819c9586c35 [2020-03-16T11:59:56.396Z] Step 15/15 : LABEL version=0.0.0 [2020-03-16T11:59:56.640Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-03-16T11:59:56.654Z] ---> Running in 2280e2578444 [2020-03-16T11:59:56.654Z] Removing intermediate container 2280e2578444 [2020-03-16T11:59:56.654Z] ---> 63c0edbc90e6 [2020-03-16T11:59:56.654Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2020-03-16T11:59:56.654Z] Successfully built 63c0edbc90e6 [2020-03-16T11:59:56.654Z] Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-03-16T11:59:59.986Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-03-16T12:00:00.256Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-03-16T12:00:01.214Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-03-16T12:00:01.799Z] [ 69%] Linking C shared library libcsdk.so [2020-03-16T12:00:01.799Z] [ 69%] Built target csdk [2020-03-16T12:00:01.799Z] Scanning dependencies of target template [2020-03-16T12:00:01.799Z] [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-03-16T12:00:02.384Z] [ 72%] Linking C executable template [2020-03-16T12:00:02.653Z] [ 72%] Built target template [2020-03-16T12:00:02.653Z] Scanning dependencies of target device-counter [2020-03-16T12:00:02.653Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-03-16T12:00:03.235Z] [ 76%] Linking C executable device-counter [2020-03-16T12:00:03.235Z] [ 76%] Built target device-counter [2020-03-16T12:00:03.235Z] Scanning dependencies of target device-random [2020-03-16T12:00:03.235Z] [ 77%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-03-16T12:00:03.820Z] [ 79%] Linking C executable device-random [2020-03-16T12:00:04.103Z] [ 79%] Built target device-random [2020-03-16T12:00:04.103Z] Scanning dependencies of target device-gyro [2020-03-16T12:00:04.103Z] [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-03-16T12:00:04.370Z] [ 83%] Linking C executable device-gyro [2020-03-16T12:00:04.638Z] [ 83%] Built target device-gyro [2020-03-16T12:00:04.638Z] Scanning dependencies of target template-discovery [2020-03-16T12:00:04.638Z] [ 84%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-03-16T12:00:05.219Z] [ 86%] Linking C executable template-discovery [2020-03-16T12:00:05.485Z] [ 86%] Built target template-discovery [2020-03-16T12:00:05.485Z] Scanning dependencies of target device-terminal [2020-03-16T12:00:05.485Z] [ 88%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-03-16T12:00:06.066Z] [ 89%] Linking C executable device-terminal [2020-03-16T12:00:06.332Z] [ 89%] Built target device-terminal [2020-03-16T12:00:06.332Z] Scanning dependencies of target template2 [2020-03-16T12:00:06.332Z] [ 91%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-03-16T12:00:06.913Z] [ 93%] Linking C executable template2 [2020-03-16T12:00:06.913Z] [ 93%] Built target template2 [2020-03-16T12:00:06.913Z] Scanning dependencies of target device-randomv2 [2020-03-16T12:00:07.181Z] [ 94%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-03-16T12:00:07.450Z] [ 96%] Linking C executable device-randomv2 [2020-03-16T12:00:07.716Z] [ 96%] Built target device-randomv2 [2020-03-16T12:00:07.716Z] Scanning dependencies of target device-counterv2 [2020-03-16T12:00:07.716Z] [ 98%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-03-16T12:00:08.309Z] [100%] Linking C executable device-counterv2 [2020-03-16T12:00:08.309Z] [100%] Built target device-counterv2 [2020-03-16T12:00:08.309Z] + make package [2020-03-16T12:00:08.309Z] + tee -a release.log [2020-03-16T12:00:08.578Z] [ 69%] Built target csdk [2020-03-16T12:00:08.578Z] [ 72%] Built target template [2020-03-16T12:00:08.578Z] [ 76%] Built target device-counter [2020-03-16T12:00:08.578Z] [ 79%] Built target device-random [2020-03-16T12:00:08.844Z] [ 83%] Built target device-gyro [2020-03-16T12:00:08.844Z] [ 86%] Built target template-discovery [2020-03-16T12:00:08.844Z] [ 89%] Built target device-terminal [2020-03-16T12:00:08.844Z] [ 93%] Built target template2 [2020-03-16T12:00:08.844Z] [ 96%] Built target device-randomv2 [2020-03-16T12:00:08.844Z] [100%] Built target device-counterv2 [2020-03-16T12:00:08.844Z] Run CPack packaging tool... [2020-03-16T12:00:09.111Z] CPack: Create package using TGZ [2020-03-16T12:00:09.111Z] CPack: Install projects [2020-03-16T12:00:09.111Z] CPack: - Run preinstall target for: Csdk [2020-03-16T12:00:09.694Z] CPack: - Install project: Csdk [2020-03-16T12:00:09.694Z] CPack: Create package [2020-03-16T12:00:09.694Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2020-03-16T12:00:09.694Z] + '[' false '=' true ] [2020-03-16T12:00:09.694Z] + '[' false '=' true ] [2020-03-16T12:00:09.694Z] + mkdir -p /tmp/sdk/build/debug [2020-03-16T12:00:09.694Z] + cd /tmp/sdk/build/debug [2020-03-16T12:00:09.694Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-03-16T12:00:09.962Z] -- The C compiler identification is GNU 8.3.0 [2020-03-16T12:00:09.962Z] -- Check for working C compiler: /usr/bin/cc [2020-03-16T12:00:10.232Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-03-16T12:00:10.232Z] -- Detecting C compiler ABI info [2020-03-16T12:00:10.498Z] -- Detecting C compiler ABI info - done [2020-03-16T12:00:10.498Z] -- Detecting C compile features [2020-03-16T12:00:11.458Z] -- Detecting C compile features - done [2020-03-16T12:00:11.459Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-03-16T12:00:11.459Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-03-16T12:00:11.459Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-03-16T12:00:11.459Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-03-16T12:00:11.459Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-03-16T12:00:11.459Z] -- C SDK 0.0.0 for Linux [2020-03-16T12:00:11.459Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-03-16T12:00:11.459Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-03-16T12:00:11.459Z] -- Found Curses: /usr/lib/libcurses.so [2020-03-16T12:00:11.724Z] -- Configuring done [2020-03-16T12:00:11.990Z] -- Generating done [2020-03-16T12:00:11.990Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-03-16T12:00:11.990Z] + + teemake debug.log [2020-03-16T12:00:11.990Z] [2020-03-16T12:00:11.990Z] Scanning dependencies of target csdk [2020-03-16T12:00:12.259Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-03-16T12:00:12.527Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-03-16T12:00:12.794Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-03-16T12:00:13.383Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-03-16T12:00:13.651Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-03-16T12:00:13.651Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-03-16T12:00:13.918Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-03-16T12:00:14.502Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-03-16T12:00:14.774Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-03-16T12:00:15.043Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-03-16T12:00:15.310Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-03-16T12:00:15.577Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-03-16T12:00:15.577Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-03-16T12:00:15.843Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-03-16T12:00:16.811Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-03-16T12:00:16.811Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-03-16T12:00:17.077Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-03-16T12:00:17.343Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-03-16T12:00:17.925Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-03-16T12:00:18.224Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-03-16T12:00:18.224Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-03-16T12:00:18.506Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-03-16T12:00:18.779Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-03-16T12:00:19.052Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-03-16T12:00:19.321Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-03-16T12:00:19.600Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-03-16T12:00:19.875Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-03-16T12:00:19.875Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-03-16T12:00:20.148Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-03-16T12:00:20.757Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-03-16T12:00:21.028Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-03-16T12:00:21.985Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-03-16T12:00:22.251Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-03-16T12:00:22.519Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-03-16T12:00:22.785Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-03-16T12:00:23.744Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-03-16T12:00:24.011Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-03-16T12:00:24.969Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-03-16T12:00:24.970Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-03-16T12:00:25.552Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-03-16T12:00:25.820Z] [ 69%] Linking C shared library libcsdk.so [2020-03-16T12:00:25.820Z] [ 69%] Built target csdk [2020-03-16T12:00:25.820Z] Scanning dependencies of target template [2020-03-16T12:00:25.820Z] [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-03-16T12:00:26.086Z] [ 72%] Linking C executable template [2020-03-16T12:00:26.352Z] [ 72%] Built target template [2020-03-16T12:00:26.352Z] Scanning dependencies of target device-counter [2020-03-16T12:00:26.352Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-03-16T12:00:26.619Z] [ 76%] Linking C executable device-counter [2020-03-16T12:00:26.885Z] [ 76%] Built target device-counter [2020-03-16T12:00:26.885Z] Scanning dependencies of target device-random [2020-03-16T12:00:26.885Z] [ 77%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-03-16T12:00:27.152Z] [ 79%] Linking C executable device-random [2020-03-16T12:00:27.418Z] [ 79%] Built target device-random [2020-03-16T12:00:27.419Z] Scanning dependencies of target device-gyro [2020-03-16T12:00:27.419Z] [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-03-16T12:00:27.684Z] [ 83%] Linking C executable device-gyro [2020-03-16T12:00:27.952Z] [ 83%] Built target device-gyro [2020-03-16T12:00:27.952Z] Scanning dependencies of target template-discovery [2020-03-16T12:00:27.952Z] [ 84%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-03-16T12:00:28.219Z] [ 86%] Linking C executable template-discovery [2020-03-16T12:00:28.485Z] [ 86%] Built target template-discovery [2020-03-16T12:00:28.485Z] Scanning dependencies of target device-terminal [2020-03-16T12:00:28.485Z] [ 88%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-03-16T12:00:28.751Z] [ 89%] Linking C executable device-terminal [2020-03-16T12:00:29.028Z] [ 89%] Built target device-terminal [2020-03-16T12:00:29.028Z] Scanning dependencies of target template2 [2020-03-16T12:00:29.028Z] [ 91%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-03-16T12:00:29.305Z] [ 93%] Linking C executable template2 [2020-03-16T12:00:29.587Z] [ 93%] Built target template2 [2020-03-16T12:00:29.587Z] Scanning dependencies of target device-randomv2 [2020-03-16T12:00:29.587Z] [ 94%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-03-16T12:00:29.854Z] [ 96%] Linking C executable device-randomv2 [2020-03-16T12:00:30.121Z] [ 96%] Built target device-randomv2 [2020-03-16T12:00:30.121Z] Scanning dependencies of target device-counterv2 [2020-03-16T12:00:30.121Z] [ 98%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-03-16T12:00:30.388Z] [100%] Linking C executable device-counterv2 [2020-03-16T12:00:30.655Z] [100%] Built target device-counterv2 [2020-03-16T12:00:30.655Z] make: Entering directory '/tmp/sdk/build/release' [2020-03-16T12:00:30.655Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-03-16T12:00:30.655Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T12:00:30.655Z] Scanning dependencies of target csdk [2020-03-16T12:00:30.922Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T12:00:30.922Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T12:00:30.922Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-03-16T12:00:32.328Z] [ 3%] Linking C shared library libcsdk.so [2020-03-16T12:00:32.328Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T12:00:32.328Z] [ 69%] Built target csdk [2020-03-16T12:00:32.328Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T12:00:32.328Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T12:00:32.328Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T12:00:32.595Z] [ 71%] Linking C executable template [2020-03-16T12:00:32.595Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T12:00:32.595Z] [ 72%] Built target template [2020-03-16T12:00:32.595Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T12:00:32.595Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T12:00:32.595Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T12:00:32.862Z] [ 74%] Linking C executable device-counter [2020-03-16T12:00:32.862Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T12:00:32.862Z] [ 76%] Built target device-counter [2020-03-16T12:00:32.862Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T12:00:32.862Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T12:00:32.862Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T12:00:32.862Z] [ 77%] Linking C executable device-random [2020-03-16T12:00:33.128Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T12:00:33.128Z] [ 79%] Built target device-random [2020-03-16T12:00:33.128Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T12:00:33.128Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T12:00:33.128Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T12:00:33.128Z] [ 81%] Linking C executable device-gyro [2020-03-16T12:00:33.395Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T12:00:33.395Z] [ 83%] Built target device-gyro [2020-03-16T12:00:33.395Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T12:00:33.395Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T12:00:33.395Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T12:00:33.395Z] [ 84%] Linking C executable template-discovery [2020-03-16T12:00:33.661Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T12:00:33.661Z] [ 86%] Built target template-discovery [2020-03-16T12:00:33.661Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T12:00:33.661Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T12:00:33.661Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T12:00:33.661Z] [ 88%] Linking C executable device-terminal [2020-03-16T12:00:33.928Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T12:00:33.928Z] [ 89%] Built target device-terminal [2020-03-16T12:00:33.928Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T12:00:34.195Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T12:00:34.195Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T12:00:34.195Z] [ 91%] Linking C executable template2 [2020-03-16T12:00:34.195Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T12:00:34.195Z] [ 93%] Built target template2 [2020-03-16T12:00:34.195Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T12:00:34.195Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T12:00:34.462Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T12:00:34.462Z] [ 94%] Linking C executable device-randomv2 [2020-03-16T12:00:34.462Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T12:00:34.462Z] [ 96%] Built target device-randomv2 [2020-03-16T12:00:34.462Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T12:00:34.730Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T12:00:34.730Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-03-16T12:00:34.730Z] [ 98%] Linking C executable device-counterv2 [2020-03-16T12:00:34.730Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T12:00:34.730Z] [100%] Built target device-counterv2 [2020-03-16T12:00:34.730Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-03-16T12:00:34.999Z] Install the project... [2020-03-16T12:00:34.999Z] -- Install configuration: "Release" [2020-03-16T12:00:34.999Z] -- Installing: /usr/local/lib/libcsdk.so [2020-03-16T12:00:34.999Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-03-16T12:00:34.999Z] -- Up-to-date: /usr/local/include [2020-03-16T12:00:34.999Z] -- Installing: /usr/local/include/devsdk [2020-03-16T12:00:34.999Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-03-16T12:00:34.999Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-03-16T12:00:34.999Z] -- Installing: /usr/local/include/edgex [2020-03-16T12:00:34.999Z] -- Installing: /usr/local/include/edgex/devices.h [2020-03-16T12:00:34.999Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-03-16T12:00:34.999Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-03-16T12:00:34.999Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-03-16T12:00:34.999Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-03-16T12:00:34.999Z] -- Installing: /usr/local/include/edgex/error.h [2020-03-16T12:00:34.999Z] -- Installing: /usr/local/include/edgex/registry.h [2020-03-16T12:00:34.999Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-03-16T12:00:34.999Z] -- Installing: /usr/local/include/edgex/os.h [2020-03-16T12:00:34.999Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-03-16T12:00:34.999Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-03-16T12:00:34.999Z] -- Installing: /usr/local/include/edgex/edgex-logging.h [2020-03-16T12:00:34.999Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-03-16T12:00:34.999Z] -- Installing: /usr/local/include/iot [2020-03-16T12:00:34.999Z] -- Installing: /usr/local/include/iot/hash.h [2020-03-16T12:00:34.999Z] -- Installing: /usr/local/include/iot/thread.h [2020-03-16T12:00:34.999Z] -- Installing: /usr/local/include/iot/json.h [2020-03-16T12:00:34.999Z] -- Installing: /usr/local/include/iot/os [2020-03-16T12:00:34.999Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-03-16T12:00:34.999Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-03-16T12:00:34.999Z] -- Installing: /usr/local/include/iot/base64.h [2020-03-16T12:00:34.999Z] -- Installing: /usr/local/include/iot/container.h [2020-03-16T12:00:34.999Z] -- Installing: /usr/local/include/iot/data.h [2020-03-16T12:00:34.999Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-03-16T12:00:34.999Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-03-16T12:00:34.999Z] -- Installing: /usr/local/include/iot/component.h [2020-03-16T12:00:34.999Z] -- Installing: /usr/local/include/iot/os.h [2020-03-16T12:00:34.999Z] -- Installing: /usr/local/include/iot/logger.h [2020-03-16T12:00:34.999Z] -- Installing: /usr/local/include/iot/time.h [2020-03-16T12:00:34.999Z] -- Installing: /usr/local/include/iot/iot.h [2020-03-16T12:00:34.999Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-03-16T12:00:34.999Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-03-16T12:00:34.999Z] make: Leaving directory '/tmp/sdk/build/release' [2020-03-16T12:00:36.942Z] Removing intermediate container 4ad13bf5ec97 [2020-03-16T12:00:36.942Z] ---> 58cf570880b4 [2020-03-16T12:00:36.942Z] Step 14/21 : FROM alpine:3.9 [2020-03-16T12:00:37.524Z] 3.9: Pulling from library/alpine [2020-03-16T12:00:37.525Z] eb93038481dd: Pulling fs layer [2020-03-16T12:00:38.106Z] eb93038481dd: Download complete [2020-03-16T12:00:38.689Z] eb93038481dd: Pull complete [2020-03-16T12:00:38.689Z] Digest: sha256:115731bab0862031b44766733890091c17924f9b7781b79997f5f163be262178 [2020-03-16T12:00:38.689Z] Status: Downloaded newer image for alpine:3.9 [2020-03-16T12:00:38.689Z] ---> 355993758880 [2020-03-16T12:00:38.689Z] Step 15/21 : MAINTAINER IOTech [2020-03-16T12:00:38.689Z] ---> Running in 058a4438972a [2020-03-16T12:00:39.271Z] Removing intermediate container 058a4438972a [2020-03-16T12:00:39.271Z] ---> f307f58ebb62 [2020-03-16T12:00:39.271Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-03-16T12:00:39.271Z] ---> Running in 7ee18438414a [2020-03-16T12:00:40.229Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-03-16T12:00:40.496Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-03-16T12:00:40.762Z] (1/48) Installing binutils (2.31.1-r2) [2020-03-16T12:00:41.028Z] (2/48) Installing libmagic (5.36-r1) [2020-03-16T12:00:41.028Z] (3/48) Installing file (5.36-r1) [2020-03-16T12:00:41.028Z] (4/48) Installing gmp (6.1.2-r1) [2020-03-16T12:00:41.028Z] (5/48) Installing isl (0.18-r0) [2020-03-16T12:00:41.028Z] (6/48) Installing libgomp (8.3.0-r0) [2020-03-16T12:00:41.028Z] (7/48) Installing libatomic (8.3.0-r0) [2020-03-16T12:00:41.294Z] (8/48) Installing libgcc (8.3.0-r0) [2020-03-16T12:00:41.294Z] (9/48) Installing mpfr3 (3.1.5-r1) [2020-03-16T12:00:41.294Z] (10/48) Installing mpc1 (1.0.3-r1) [2020-03-16T12:00:41.294Z] (11/48) Installing libstdc++ (8.3.0-r0) [2020-03-16T12:00:41.294Z] (12/48) Installing gcc (8.3.0-r0) [2020-03-16T12:00:42.700Z] (13/48) Installing musl-dev (1.1.20-r5) [2020-03-16T12:00:42.966Z] (14/48) Installing libc-dev (0.7.1-r0) [2020-03-16T12:00:42.966Z] (15/48) Installing g++ (8.3.0-r0) [2020-03-16T12:00:44.373Z] (16/48) Installing make (4.2.1-r2) [2020-03-16T12:00:44.373Z] (17/48) Installing fortify-headers (1.0-r0) [2020-03-16T12:00:44.373Z] (18/48) Installing build-base (0.5-r1) [2020-03-16T12:00:44.373Z] (19/48) Installing libattr (2.4.47-r7) [2020-03-16T12:00:44.373Z] (20/48) Installing libacl (2.2.52-r5) [2020-03-16T12:00:44.373Z] (21/48) Installing libbz2 (1.0.6-r7) [2020-03-16T12:00:44.373Z] (22/48) Installing expat (2.2.8-r0) [2020-03-16T12:00:44.373Z] (23/48) Installing lz4-libs (1.8.3-r2) [2020-03-16T12:00:44.373Z] (24/48) Installing xz-libs (5.2.4-r0) [2020-03-16T12:00:44.373Z] (25/48) Installing libarchive (3.3.3-r2) [2020-03-16T12:00:44.373Z] (26/48) Installing ca-certificates (20190108-r0) [2020-03-16T12:00:44.638Z] (27/48) Installing nghttp2-libs (1.35.1-r1) [2020-03-16T12:00:44.638Z] (28/48) Installing libssh2 (1.9.0-r1) [2020-03-16T12:00:44.638Z] (29/48) Installing libcurl (7.64.0-r3) [2020-03-16T12:00:44.638Z] (30/48) Installing ncurses-terminfo-base (6.1_p20190105-r0) [2020-03-16T12:00:44.638Z] (31/48) Installing ncurses-terminfo (6.1_p20190105-r0) [2020-03-16T12:00:45.594Z] (32/48) Installing ncurses-libs (6.1_p20190105-r0) [2020-03-16T12:00:45.594Z] (33/48) Installing rhash-libs (1.3.6-r2) [2020-03-16T12:00:45.861Z] (34/48) Installing libuv (1.23.2-r0) [2020-03-16T12:00:45.861Z] (35/48) Installing cmake (3.13.0-r0) [2020-03-16T12:00:48.432Z] (36/48) Installing curl (7.64.0-r3) [2020-03-16T12:00:48.433Z] (37/48) Installing pcre2 (10.32-r1) [2020-03-16T12:00:48.433Z] (38/48) Installing git (2.20.2-r0) [2020-03-16T12:00:48.698Z] (39/48) Installing nettle (3.4.1-r0) [2020-03-16T12:00:48.698Z] (40/48) Installing libffi (3.2.1-r6) [2020-03-16T12:00:48.698Z] (41/48) Installing p11-kit (0.23.14-r0) [2020-03-16T12:00:48.698Z] (42/48) Installing libtasn1 (4.14-r0) [2020-03-16T12:00:48.698Z] (43/48) Installing libunistring (0.9.10-r0) [2020-03-16T12:00:48.963Z] (44/48) Installing gnutls (3.6.7-r0) [2020-03-16T12:00:48.963Z] (45/48) Installing libmicrohttpd (0.9.62-r0) [2020-03-16T12:00:49.229Z] (46/48) Installing libuuid (2.33-r0) [2020-03-16T12:00:49.229Z] (47/48) Installing wget (1.20.3-r0) [2020-03-16T12:00:49.229Z] (48/48) Installing yaml (0.2.1-r0) [2020-03-16T12:00:49.494Z] Executing busybox-1.29.3-r10.trigger [2020-03-16T12:00:49.494Z] Executing ca-certificates-20190108-r0.trigger [2020-03-16T12:00:49.760Z] OK: 219 MiB in 62 packages [2020-03-16T12:01:04.764Z] Removing intermediate container 7ee18438414a [2020-03-16T12:01:04.764Z] ---> 683f37bac156 [2020-03-16T12:01:04.764Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-03-16T12:01:04.764Z] ---> ae412f391c23 [2020-03-16T12:01:04.764Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-03-16T12:01:04.764Z] ---> 5a20dcb4d675 [2020-03-16T12:01:04.764Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-03-16T12:01:04.764Z] ---> bae8b76bdb08 [2020-03-16T12:01:04.764Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-03-16T12:01:05.350Z] ---> 3a39302c163f [2020-03-16T12:01:05.350Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-03-16T12:01:05.935Z] ---> 51f304a61b91 [2020-03-16T12:01:05.935Z] Successfully built 51f304a61b91 [2020-03-16T12:01:06.201Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-03-16T12:01:06.829Z] + docker inspect -f . ci-base-image-arm64 [2020-03-16T12:01:06.829Z] . [Pipeline] withDockerContainer [2020-03-16T12:01:07.156Z] prd-ubuntu18.04-docker-arm64-4c-16g-743 does not seem to be running inside a container [2020-03-16T12:01:07.240Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-03-16T12:01:08.594Z] $ docker top ab4e9d20e040991597933d22f9efb1c08be8ab91c2ea7a0d1f6699690ab3c333 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-16T12:01:09.659Z] + make test [2020-03-16T12:01:09.659Z] echo "make test" [2020-03-16T12:01:09.659Z] make test [Pipeline] } [2020-03-16T12:01:09.682Z] $ docker stop --time=1 ab4e9d20e040991597933d22f9efb1c08be8ab91c2ea7a0d1f6699690ab3c333 [2020-03-16T12:01:11.667Z] $ docker rm -f ab4e9d20e040991597933d22f9efb1c08be8ab91c2ea7a0d1f6699690ab3c333 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-16T12:01:12.556Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-16T12:01:12.876Z] + ls -al . [2020-03-16T12:01:12.876Z] total 192 [2020-03-16T12:01:12.876Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 11:58 . [2020-03-16T12:01:12.876Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 11:58 .. [2020-03-16T12:01:12.876Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 11:58 .git [2020-03-16T12:01:12.876Z] -rw-rw-r-- 1 jenkins jenkins 176 Mar 16 11:58 .gitignore [2020-03-16T12:01:12.876Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 11:58 .semver [2020-03-16T12:01:12.876Z] -rw-rw-r-- 1 jenkins jenkins 3104 Mar 16 11:58 Attribution.txt [2020-03-16T12:01:12.876Z] -rw-rw-r-- 1 jenkins jenkins 4882 Mar 16 11:58 CHANGES [2020-03-16T12:01:12.876Z] -rw-rw-r-- 1 jenkins jenkins 108574 Mar 16 11:58 Doxyfile [2020-03-16T12:01:12.876Z] -rw-rw-r-- 1 jenkins jenkins 792 Mar 16 11:58 Jenkinsfile [2020-03-16T12:01:12.876Z] -rw-rw-r-- 1 jenkins jenkins 10174 Mar 16 11:58 LICENSE [2020-03-16T12:01:12.876Z] -rw-rw-r-- 1 jenkins jenkins 448 Mar 16 11:58 Makefile [2020-03-16T12:01:12.876Z] -rw-rw-r-- 1 jenkins jenkins 1849 Mar 16 11:58 README.md [2020-03-16T12:01:12.876Z] -rw-rw-r-- 1 jenkins jenkins 5031 Mar 16 11:58 README.v2.md [2020-03-16T12:01:12.876Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 11:56 VERSION [2020-03-16T12:01:12.876Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 11:58 docs [2020-03-16T12:01:12.876Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 11:58 include [2020-03-16T12:01:12.876Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 11:58 scripts [2020-03-16T12:01:12.876Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 11:58 src [Pipeline] isUnix [Pipeline] sh [2020-03-16T12:01:13.212Z] + 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=2f16c2f0540dc44039dd4c19c0a474d1e0017bf6 --label arch=arm64 --label version=0.0.0 . [2020-03-16T12:01:13.480Z] Sending build context to Docker daemon 2.89MB [2020-03-16T12:01:13.748Z] Step 1/15 : ARG BASE=alpine:3.9 [2020-03-16T12:01:13.748Z] Step 2/15 : FROM ${BASE} [2020-03-16T12:01:13.748Z] ---> 51f304a61b91 [2020-03-16T12:01:13.748Z] Step 3/15 : MAINTAINER IOTech [2020-03-16T12:01:13.748Z] ---> Running in 0f542dc7b96c [2020-03-16T12:01:14.331Z] Removing intermediate container 0f542dc7b96c [2020-03-16T12:01:14.331Z] ---> c4fc395c76c6 [2020-03-16T12:01:14.331Z] Step 4/15 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev && mkdir -p /edgex-c-sdk/build [2020-03-16T12:01:14.331Z] ---> Running in 9d7eecf6001a [2020-03-16T12:01:15.292Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-03-16T12:01:15.561Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-03-16T12:01:15.827Z] (1/21) Installing pkgconf (1.6.0-r0) [2020-03-16T12:01:15.827Z] (2/21) Installing openssl-dev (1.1.1d-r2) [2020-03-16T12:01:17.232Z] (3/21) Installing zlib-dev (1.2.11-r1) [2020-03-16T12:01:17.232Z] (4/21) Installing libssh2-dev (1.9.0-r1) [2020-03-16T12:01:17.498Z] (5/21) Installing nghttp2-dev (1.35.1-r1) [2020-03-16T12:01:17.498Z] (6/21) Installing curl-dev (7.64.0-r3) [2020-03-16T12:01:17.763Z] (7/21) Installing gnutls-c++ (3.6.7-r0) [2020-03-16T12:01:18.027Z] (8/21) Installing libgmpxx (6.1.2-r1) [2020-03-16T12:01:18.292Z] (9/21) Installing gmp-dev (6.1.2-r1) [2020-03-16T12:01:18.292Z] (10/21) Installing nettle-dev (3.4.1-r0) [2020-03-16T12:01:19.697Z] (11/21) Installing libtasn1-dev (4.14-r0) [2020-03-16T12:01:19.961Z] (12/21) Installing p11-kit-dev (0.23.14-r0) [2020-03-16T12:01:19.961Z] (13/21) Installing gnutls-dev (3.6.7-r0) [2020-03-16T12:01:20.226Z] (14/21) Installing libmicrohttpd-dev (0.9.62-r0) [2020-03-16T12:01:20.490Z] (15/21) Installing ncurses-dev (6.1_p20190105-r0) [2020-03-16T12:01:20.755Z] (16/21) Installing libblkid (2.33-r0) [2020-03-16T12:01:20.755Z] (17/21) Installing libfdisk (2.33-r0) [2020-03-16T12:01:20.755Z] (18/21) Installing libmount (2.33-r0) [2020-03-16T12:01:21.020Z] (19/21) Installing libsmartcols (2.33-r0) [2020-03-16T12:01:21.020Z] (20/21) Installing util-linux-dev (2.33-r0) [2020-03-16T12:01:21.020Z] (21/21) Installing yaml-dev (0.2.1-r0) [2020-03-16T12:01:21.286Z] Executing busybox-1.29.3-r10.trigger [2020-03-16T12:01:21.286Z] OK: 279 MiB in 83 packages [2020-03-16T12:01:24.686Z] Removing intermediate container 9d7eecf6001a [2020-03-16T12:01:24.686Z] ---> 952b75ab205c [2020-03-16T12:01:24.686Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-03-16T12:01:24.954Z] ---> c7387c6d1d0e [2020-03-16T12:01:24.954Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-03-16T12:01:25.541Z] ---> 3e95c46c062a [2020-03-16T12:01:25.541Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-03-16T12:01:26.123Z] ---> 1bf5b64e5df9 [2020-03-16T12:01:26.123Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-03-16T12:01:26.705Z] ---> d162d88f5220 [2020-03-16T12:01:26.705Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-03-16T12:01:27.289Z] ---> 937be020106f [2020-03-16T12:01:27.289Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-03-16T12:01:27.556Z] ---> 5884c3daaad6 [2020-03-16T12:01:27.556Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-03-16T12:01:27.823Z] ---> Running in 853340ed6c1e [2020-03-16T12:01:28.089Z] Removing intermediate container 853340ed6c1e [2020-03-16T12:01:28.089Z] ---> 4de4a3da23e2 [2020-03-16T12:01:28.089Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-03-16T12:01:28.363Z] ---> Running in ea38ccb8027c [2020-03-16T12:01:28.632Z] Removing intermediate container ea38ccb8027c [2020-03-16T12:01:28.632Z] ---> 21bd0f6cdede [2020-03-16T12:01:28.632Z] Step 13/15 : LABEL arch=arm64 [2020-03-16T12:01:28.632Z] ---> Running in dea6bf59dc33 [2020-03-16T12:01:28.899Z] Removing intermediate container dea6bf59dc33 [2020-03-16T12:01:28.899Z] ---> abdd315b0f0a [2020-03-16T12:01:28.899Z] Step 14/15 : LABEL git_sha=2f16c2f0540dc44039dd4c19c0a474d1e0017bf6 [2020-03-16T12:01:29.165Z] ---> Running in 63006922cbf8 [2020-03-16T12:01:29.433Z] Removing intermediate container 63006922cbf8 [2020-03-16T12:01:29.433Z] ---> 2de3ff7d4fc3 [2020-03-16T12:01:29.433Z] Step 15/15 : LABEL version=0.0.0 [2020-03-16T12:01:29.700Z] ---> Running in 373abf902d7a [2020-03-16T12:01:29.965Z] Removing intermediate container 373abf902d7a [2020-03-16T12:01:29.965Z] ---> 58b2f6ad51f4 [2020-03-16T12:01:29.965Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2020-03-16T12:01:29.965Z] Successfully built 58b2f6ad51f4 [2020-03-16T12:01:29.965Z] 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] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-03-16T12:01:31.745Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-16T12:01:32.047Z] ---> package-listing.sh [2020-03-16T12:01:32.047Z] ++ facter osfamily [2020-03-16T12:01:32.047Z] ++ tr '[:upper:]' '[:lower:]' [2020-03-16T12:01:32.047Z] + OS_FAMILY=redhat [2020-03-16T12:01:32.047Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-242 [2020-03-16T12:01:32.047Z] + START_PACKAGES=/tmp/packages_start.txt [2020-03-16T12:01:32.047Z] + END_PACKAGES=/tmp/packages_end.txt [2020-03-16T12:01:32.047Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-03-16T12:01:32.047Z] + PACKAGES=/tmp/packages_start.txt [2020-03-16T12:01:32.047Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-242 ']' [2020-03-16T12:01:32.047Z] + PACKAGES=/tmp/packages_end.txt [2020-03-16T12:01:32.047Z] + case "${OS_FAMILY}" in [2020-03-16T12:01:32.047Z] + rpm -qa [2020-03-16T12:01:32.047Z] + sort [2020-03-16T12:01:36.246Z] + '[' -f /tmp/packages_start.txt ']' [2020-03-16T12:01:36.246Z] + '[' -f /tmp/packages_end.txt ']' [2020-03-16T12:01:36.246Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-03-16T12:01:36.246Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-242 ']' [2020-03-16T12:01:36.246Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-242/archives/ [2020-03-16T12:01:36.246Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-242/archives/ [Pipeline] isUnix [Pipeline] sh [2020-03-16T12:01:36.709Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-16T12:01:36.709Z] [2020-03-16T12:01:36.709Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-03-16T12:01:37.035Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-16T12:01:37.035Z] alpine: Pulling from edgex-lftools-log-publisher [2020-03-16T12:01:37.035Z] c9b1b535fdd9: Pulling fs layer [2020-03-16T12:01:37.035Z] 2cc5ad85d9ab: Pulling fs layer [2020-03-16T12:01:37.035Z] 756a868c4378: Pulling fs layer [2020-03-16T12:01:37.035Z] 444b2fc9a129: Pulling fs layer [2020-03-16T12:01:37.035Z] ea15f1150254: Pulling fs layer [2020-03-16T12:01:37.035Z] 41b27a9f41bf: Pulling fs layer [2020-03-16T12:01:37.035Z] 28c525ee5125: Pulling fs layer [2020-03-16T12:01:37.035Z] 094b1ea09ed8: Pulling fs layer [2020-03-16T12:01:37.035Z] 138eaada9080: Pulling fs layer [2020-03-16T12:01:37.035Z] 0622d0fa9048: Pulling fs layer [2020-03-16T12:01:37.035Z] 094b1ea09ed8: Waiting [2020-03-16T12:01:37.035Z] 138eaada9080: Waiting [2020-03-16T12:01:37.035Z] ea15f1150254: Waiting [2020-03-16T12:01:37.035Z] 41b27a9f41bf: Waiting [2020-03-16T12:01:37.035Z] 0622d0fa9048: Waiting [2020-03-16T12:01:37.035Z] 28c525ee5125: Waiting [2020-03-16T12:01:37.035Z] 444b2fc9a129: Waiting [2020-03-16T12:01:37.035Z] 2cc5ad85d9ab: Verifying Checksum [2020-03-16T12:01:37.035Z] 2cc5ad85d9ab: Download complete [2020-03-16T12:01:37.035Z] 444b2fc9a129: Verifying Checksum [2020-03-16T12:01:37.035Z] 444b2fc9a129: Download complete [2020-03-16T12:01:37.298Z] c9b1b535fdd9: Verifying Checksum [2020-03-16T12:01:37.298Z] c9b1b535fdd9: Download complete [2020-03-16T12:01:37.298Z] ea15f1150254: Verifying Checksum [2020-03-16T12:01:37.298Z] ea15f1150254: Download complete [2020-03-16T12:01:37.298Z] 28c525ee5125: Verifying Checksum [2020-03-16T12:01:37.298Z] 28c525ee5125: Download complete [2020-03-16T12:01:37.566Z] c9b1b535fdd9: Pull complete [2020-03-16T12:01:37.566Z] 756a868c4378: Verifying Checksum [2020-03-16T12:01:37.566Z] 756a868c4378: Download complete [2020-03-16T12:01:37.566Z] 2cc5ad85d9ab: Pull complete [2020-03-16T12:01:37.832Z] 138eaada9080: Verifying Checksum [2020-03-16T12:01:37.832Z] 138eaada9080: Download complete [2020-03-16T12:01:37.832Z] 0622d0fa9048: Verifying Checksum [2020-03-16T12:01:37.832Z] 0622d0fa9048: Download complete [2020-03-16T12:01:37.832Z] 094b1ea09ed8: Verifying Checksum [2020-03-16T12:01:37.832Z] 094b1ea09ed8: Download complete [2020-03-16T12:01:38.402Z] 41b27a9f41bf: Verifying Checksum [2020-03-16T12:01:38.402Z] 41b27a9f41bf: Download complete [2020-03-16T12:01:39.343Z] 756a868c4378: Pull complete [2020-03-16T12:01:39.343Z] 444b2fc9a129: Pull complete [2020-03-16T12:01:39.602Z] ea15f1150254: Pull complete [2020-03-16T12:01:42.901Z] 41b27a9f41bf: Pull complete [2020-03-16T12:01:43.160Z] 28c525ee5125: Pull complete [2020-03-16T12:01:45.072Z] 094b1ea09ed8: Pull complete [2020-03-16T12:01:45.329Z] 138eaada9080: Pull complete [2020-03-16T12:01:45.329Z] 0622d0fa9048: Pull complete [2020-03-16T12:01:45.329Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-03-16T12:01:45.329Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-03-16T12:01:45.472Z] prd-centos7-docker-4c-2g-742 does not seem to be running inside a container [2020-03-16T12:01:45.518Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/edgexfoundry_device-sdk-c_PR-242 -v /w/workspace/edgexfoundry_device-sdk-c_PR-242:/w/workspace/edgexfoundry_device-sdk-c_PR-242:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-242@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-242@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-03-16T12:01:46.105Z] $ docker top 16ec43968863989a93c05945e0140fb66b5a237f44a1d80bf930fa2d48133f58 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-03-16T12:01:46.340Z] provisioning config files... [2020-03-16T12:01:46.358Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-242@tmp/config2675224341741686517tmp [Pipeline] { [Pipeline] echo [2020-03-16T12:01:46.418Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-16T12:01:46.708Z] ---> create-netrc.sh [Pipeline] echo [2020-03-16T12:01:46.715Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-16T12:01:47.008Z] ---> logs-deploy.sh [2020-03-16T12:01:47.008Z] + ARCHIVE_ARTIFACTS= [2020-03-16T12:01:47.008Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-03-16T12:01:47.008Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-03-16T12:01:47.008Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-03-16T12:01:47.008Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-242/2 [2020-03-16T12:01:47.008Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-242/2/ [2020-03-16T12:01:47.008Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-242/2 /w/workspace/edgexfoundry_device-sdk-c_PR-242 [2020-03-16T12:01:48.909Z] Archives upload complete. [2020-03-16T12:01:48.909Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-242/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-242/2/