Pull request #283 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 iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 67c7daa376782610486d817918b83050142a3822+11dca0682671ac21648f2eee6e4306387f0e3104 (b3b069bebe9e4f286186663f87473e3bcccd5c86) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 58add5173bd5747e956b7cc86a1e88a765e134cb Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 58add5173bd5747e956b7cc86a1e88a765e134cb using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 58add5173bd5747e956b7cc86a1e88a765e134cb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 58add5173bd5747e956b7cc86a1e88a765e134cb # timeout=10 Commit message: "Merge pull request #215 from ernestojeda/disable-tests-on-release-stream" > 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 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-3.9-base, dockerFilePath:scripts/Dockerfile.alpine-3.9, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine-3.9 DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-3.9-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-c DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-696 in /w/workspace/edgexfoundry_device-sdk-c_PR-283 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-283 # 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/283/head:refs/remotes/origin/PR-283 +refs/heads/geneva:refs/remotes/origin/geneva # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/283/head:refs/remotes/origin/PR-283 # timeout=10 > git config --add remote.origin.fetch +refs/heads/geneva:refs/remotes/origin/geneva # 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/283/head:refs/remotes/origin/PR-283 +refs/heads/geneva:refs/remotes/origin/geneva # timeout=10 Merging remotes/origin/geneva commit 11dca0682671ac21648f2eee6e4306387f0e3104 into PR head commit 67c7daa376782610486d817918b83050142a3822 Merge succeeded, producing 67c7daa376782610486d817918b83050142a3822 Checking out Revision 67c7daa376782610486d817918b83050142a3822 (PR-283) > git config core.sparsecheckout # timeout=10 > git checkout -f 67c7daa376782610486d817918b83050142a3822 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 11dca0682671ac21648f2eee6e4306387f0e3104 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 67c7daa376782610486d817918b83050142a3822 # timeout=10 Commit message: "feat: Add ServerBindAddr config to set which interface to listen on (#278)" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:22:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > git rev-list --no-walk 6438467a593f35fc90265ed76ffd6e6d8e025dfe # timeout=10 05:22:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:22:43 ========================================================= 05:22:43 EdgeX Global Pipelines Version Info 05:22:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:22:45 ------------------- 05:22:45 stable info: 05:22:45 ------------------- 05:22:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:22:45 Commit SHA: 58add5173bd5747e956b7cc86a1e88a765e134cb 05:22:45 Message: update stable to v1.0.103 05:22:45 ------------------- 05:22:45 experimental info: 05:22:45 ------------------- 05:22:45 Commited By: **** collab-it+edgex@linuxfoundation.org 05:22:45 Commit SHA: 58add5173bd5747e956b7cc86a1e88a765e134cb 05:22:45 Message: update experimental to v1.0.103 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 05:22:47 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:22:47 05:22:47 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:22:48 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:22:48 latest: Pulling from edgex-devops/git-semver 05:22:48 31603596830f: Pulling fs layer 05:22:48 2a8b12db71e7: Pulling fs layer 05:22:48 6ca5941a6612: Pulling fs layer 05:22:48 ecc8261a40a4: Pulling fs layer 05:22:48 ecc8261a40a4: Waiting 05:22:48 2a8b12db71e7: Verifying Checksum 05:22:48 2a8b12db71e7: Download complete 05:22:48 31603596830f: Verifying Checksum 05:22:48 31603596830f: Download complete 05:22:48 ecc8261a40a4: Verifying Checksum 05:22:48 ecc8261a40a4: Download complete 05:22:48 6ca5941a6612: Verifying Checksum 05:22:48 31603596830f: Pull complete 05:22:48 2a8b12db71e7: Pull complete 05:22:49 6ca5941a6612: Pull complete 05:22:49 ecc8261a40a4: Pull complete 05:22:49 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:22:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:22:49 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:22:49 prd-centos7-docker-4c-2g-696 does not seem to be running inside a container 05:22:49 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-283 -v /w/workspace/edgexfoundry_device-sdk-c_PR-283:/w/workspace/edgexfoundry_device-sdk-c_PR-283:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-283@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-283@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:22:52 $ docker top a088d56d482f1a4b57deb0cbbeadcbadfd37c9cd349698884ae76c10abaa6b97 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:22:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:22:52 [ssh-agent] Looking for ssh-agent implementation... 05:22:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:22:52 $ docker exec a088d56d482f1a4b57deb0cbbeadcbadfd37c9cd349698884ae76c10abaa6b97 ssh-agent 05:22:52 SSH_AUTH_SOCK=/tmp/ssh-d4rFdZA1TnCc/agent.12 05:22:52 SSH_AGENT_PID=18 05:22:52 Running ssh-add (command line suppressed) 05:22:53 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-283@tmp/private_key_2013255126769866762.key (/w/workspace/edgexfoundry_device-sdk-c_PR-283@tmp/private_key_2013255126769866762.key) 05:22:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:22:53 + git describe --exact-match --tags HEAD 05:22:53 fatal: No names found, cannot describe anything. [Pipeline] } 05:22:53 $ docker exec --env ******** --env ******** a088d56d482f1a4b57deb0cbbeadcbadfd37c9cd349698884ae76c10abaa6b97 ssh-agent -k 05:22:53 unset SSH_AUTH_SOCK; 05:22:53 unset SSH_AGENT_PID; 05:22:53 echo Agent pid 18 killed; 05:22:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 05:22:53 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 05:22:53 This usually means this commit has not been tagged. [Pipeline] sshagent 05:22:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:22:53 [ssh-agent] Looking for ssh-agent implementation... 05:22:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:22:53 $ docker exec a088d56d482f1a4b57deb0cbbeadcbadfd37c9cd349698884ae76c10abaa6b97 ssh-agent 05:22:54 SSH_AUTH_SOCK=/tmp/ssh-nDQI5PaNCCoW/agent.46 05:22:54 SSH_AGENT_PID=51 05:22:54 Running ssh-add (command line suppressed) 05:22:54 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-283@tmp/private_key_5377626938891569344.key (/w/workspace/edgexfoundry_device-sdk-c_PR-283@tmp/private_key_5377626938891569344.key) 05:22:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:22:54 + git semver init 05:22:54 # -> Open(): unable to determine branch for HEAD 05:22:54 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-283/.git 05:22:54 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-283 05:22:54 # $SEMVER_REMOTE_NAME = origin 05:22:54 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:22:54 # $SEMVER_USER_NAME = edgex-jenkins 05:22:54 # $SEMVER_BRANCH = PR-283 05:22:54 # $SEMVER_TEMP = /tmp/semver-235221116 05:22:54 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 05:22:55 # '/tmp/semver-235221116' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-283/.semver' 05:22:55 # -> Force: false 05:22:55 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-283/.semver [Pipeline] } 05:22:55 $ docker exec --env ******** --env ******** a088d56d482f1a4b57deb0cbbeadcbadfd37c9cd349698884ae76c10abaa6b97 ssh-agent -k 05:22:55 unset SSH_AUTH_SOCK; 05:22:55 unset SSH_AGENT_PID; 05:22:55 echo Agent pid 51 killed; 05:22:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:22:55 + git semver [Pipeline] } 05:22:55 $ docker stop --time=1 a088d56d482f1a4b57deb0cbbeadcbadfd37c9cd349698884ae76c10abaa6b97 05:22:57 $ docker rm -f a088d56d482f1a4b57deb0cbbeadcbadfd37c9cd349698884ae76c10abaa6b97 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 05:22:58 Stashed 35 file(s) [Pipeline] echo 05:22:58 [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 05:23:13 Still waiting to schedule task 05:23:13 Waiting for next available executor on ‘centos7-docker-4c-2g’ 05:23:13 Still waiting to schedule task 05:23:13 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-694’ 05:25:36 Running on prd-centos7-docker-4c-2g-697 in /w/workspace/edgexfoundry_device-sdk-c_PR-283 [Pipeline] { [Pipeline] ws 05:25:36 Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout 05:25:39 using credential edgex-jenkins-ssh 05:25:39 Cloning the remote Git repository 05:25:39 Cloning with configured refspecs honoured and without tags 05:25:38 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 05:25:39 Fetching without tags 05:25:39 > git init /w/workspace/device-sdk-c/2 # timeout=10 05:25:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 05:25:39 > git --version # timeout=10 05:25:39 using GIT_SSH to set credentials SSH Credentials for GitHub 05:25:39 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/283/head:refs/remotes/origin/PR-283 +refs/heads/geneva:refs/remotes/origin/geneva # timeout=10 05:25:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 05:25:39 > git config --add remote.origin.fetch +refs/pull/283/head:refs/remotes/origin/PR-283 # timeout=10 05:25:39 > git config --add remote.origin.fetch +refs/heads/geneva:refs/remotes/origin/geneva # timeout=10 05:25:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 05:25:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 05:25:39 using GIT_SSH to set credentials SSH Credentials for GitHub 05:25:39 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/283/head:refs/remotes/origin/PR-283 +refs/heads/geneva:refs/remotes/origin/geneva # timeout=10 05:25:40 Merging remotes/origin/geneva commit 11dca0682671ac21648f2eee6e4306387f0e3104 into PR head commit 67c7daa376782610486d817918b83050142a3822 05:25:40 Merge succeeded, producing 67c7daa376782610486d817918b83050142a3822 05:25:40 Checking out Revision 67c7daa376782610486d817918b83050142a3822 (PR-283) 05:25:40 > git config core.sparsecheckout # timeout=10 05:25:40 > git checkout -f 67c7daa376782610486d817918b83050142a3822 # timeout=10 05:25:40 > git remote # timeout=10 05:25:40 > git config --get remote.origin.url # timeout=10 05:25:40 using GIT_SSH to set credentials SSH Credentials for GitHub 05:25:40 > git merge 11dca0682671ac21648f2eee6e4306387f0e3104 # timeout=10 05:25:40 > git rev-parse HEAD^{commit} # timeout=10 05:25:40 > git config core.sparsecheckout # timeout=10 05:25:40 > git checkout -f 67c7daa376782610486d817918b83050142a3822 # timeout=10 05:25:44 Commit message: "feat: Add ServerBindAddr config to set which interface to listen on (#278)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 05:25:45 ========================================================= 05:25:45 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 05:25:45 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:25:45 + 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 . 05:25:45 Sending build context to Docker daemon 3.339MB 05:25:45 Step 1/21 : ARG BASE=alpine:3.9 05:25:45 Step 2/21 : FROM ${BASE} as builder 05:25:45 latest: Pulling from edgex-devops/edgex-gcc-base 05:25:45 e7c96db7181b: Pulling fs layer 05:25:45 4c13bbce0fe7: Pulling fs layer 05:25:45 6059c847ac2f: Pulling fs layer 05:25:45 4c13bbce0fe7: Verifying Checksum 05:25:45 4c13bbce0fe7: Download complete 05:25:46 e7c96db7181b: Verifying Checksum 05:25:46 e7c96db7181b: Download complete 05:25:46 e7c96db7181b: Pull complete 05:25:46 4c13bbce0fe7: Pull complete 05:25:47 6059c847ac2f: Verifying Checksum 05:25:47 6059c847ac2f: Download complete 05:25:51 6059c847ac2f: Pull complete 05:25:51 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 05:25:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 05:25:51 ---> 5eabd8fd8ba2 05:25:51 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 05:25:53 ---> Running in f68b99988ed9 05:25:53 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 05:25:54 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 05:25:55 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 05:25:55 (2/8) Installing libuuid (2.33-r0) 05:25:55 (3/8) Installing libblkid (2.33-r0) 05:25:55 (4/8) Installing libfdisk (2.33-r0) 05:25:55 (5/8) Installing libmount (2.33-r0) 05:25:55 (6/8) Installing libsmartcols (2.33-r0) 05:25:56 (7/8) Installing util-linux-dev (2.33-r0) 05:25:56 (8/8) Installing wget (1.20.3-r0) 05:25:56 Executing busybox-1.29.3-r10.trigger 05:25:56 OK: 272 MiB in 83 packages 05:25:57 Removing intermediate container f68b99988ed9 05:25:57 ---> 8084f4400851 05:25:57 Step 4/21 : ENV CBOR_VERSION=0.5.0 05:25:57 ---> Running in 33ea691b6590 05:25:57 Removing intermediate container 33ea691b6590 05:25:57 ---> 7747faa13fe3 05:25:57 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 05:25:57 ---> Running in 0a6ebc30c0a1 05:25:58 --2020-07-23 05:25:58-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 05:25:58 Resolving github.com... 140.82.114.4 05:25:58 Connecting to github.com|140.82.114.4|:443... connected. 05:25:58 HTTP request sent, awaiting response... 302 Found 05:25:58 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 05:25:58 --2020-07-23 05:25:58-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 05:25:58 Resolving codeload.github.com... 140.82.112.10 05:25:58 Connecting to codeload.github.com|140.82.112.10|:443... connected. 05:25:58 HTTP request sent, awaiting response... 200 OK 05:25:58 Length: unspecified [application/x-gzip] 05:25:58 Saving to: 'STDOUT' 05:25:58  05:25:58 0K .......... .......... .......... .......... .......... 1.35M 05:25:58 50K .......... .......... .......... .......... .......... 2.71M 05:25:58 100K .......... .......... .......... .......... .......... 36.8M 05:25:58 150K .......... .......... .......... .......... .......... 63.1M 05:25:58 200K .......... .......... .......... .......... .......... 2.88M 05:25:58 250K .......... .......... .......... .......... .......... 8.34M 05:25:58 300K .......... .......... .......... .......... .......... 11.9M 05:25:58 350K .......... .......... .......... .......... .......... 11.5M 05:25:58 400K .......... .......... .......... .......... .......... 7.54M 05:25:58 450K .......... .......... .......... .......... .......... 9.28M 05:25:58 500K .......... .......... .......... .......... .......... 27.7M 05:25:58 550K .......... .......... .......... .......... .......... 3.30M 05:25:58 600K .......... .......... .......... .......... .......... 4.21M 05:25:58 650K .......... .......... .......... .......... .......... 5.48M 05:25:58 700K .. 40.0M=0.1s 05:25:58 05:25:58 2020-07-23 05:25:58 (5.03 MB/s) - written to stdout [719348] 05:25:58 05:25:59 -- The C compiler identification is GNU 8.3.0 05:25:59 -- The CXX compiler identification is GNU 8.3.0 05:25:59 -- Check for working C compiler: /usr/bin/cc 05:25:59 -- Check for working C compiler: /usr/bin/cc -- works 05:25:59 -- Detecting C compiler ABI info 05:25:59 -- Detecting C compiler ABI info - done 05:25:59 -- Detecting C compile features 05:25:59 -- Detecting C compile features - done 05:25:59 -- Check for working CXX compiler: /usr/bin/c++ 05:25:59 -- Check for working CXX compiler: /usr/bin/c++ -- works 05:25:59 -- Detecting CXX compiler ABI info 05:25:59 -- Detecting CXX compiler ABI info - done 05:25:59 -- Detecting CXX compile features 05:26:00 -- Detecting CXX compile features - done 05:26:00 -- Looking for include file endian.h 05:26:00 -- Looking for include file endian.h - found 05:26:00 -- Check if the system is big endian 05:26:00 -- Searching 16 bit integer 05:26:00 -- Looking for sys/types.h 05:26:00 -- Looking for sys/types.h - found 05:26:00 -- Looking for stdint.h 05:26:00 -- Looking for stdint.h - found 05:26:00 -- Looking for stddef.h 05:26:00 -- Looking for stddef.h - found 05:26:00 -- Check size of unsigned short 05:26:00 -- Check size of unsigned short - done 05:26:00 -- Using unsigned short 05:26:00 -- Check if the system is big endian - little endian 05:26:00 -- Check size of size_t 05:26:00 -- Check size of size_t - done 05:26:00 CMake Warning at examples/CMakeLists.txt:16 (find_package): 05:26:00 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 05:26:00 asked CMake to find a package configuration file provided by "cJSON", but 05:26:00 CMake did not find one. 05:26:00 05:26:00 Could not find a package configuration file provided by "cJSON" with any of 05:26:00 the following names: 05:26:00 05:26:00 cJSONConfig.cmake 05:26:00 cjson-config.cmake 05:26:00 05:26:00 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 05:26:00 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 05:26:00 provides a separate development package or SDK, be sure it has been 05:26:00 installed. 05:26:00 05:26:00 05:26:00 -- Configuring done 05:26:00 -- Generating done 05:26:00 -- Build files have been written to: /tmp/cbor 05:26:00 Scanning dependencies of target cbor_shared 05:26:00 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 05:26:00 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 05:26:01 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 05:26:01 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 05:26:01 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 05:26:01 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 05:26:01 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 05:26:01 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 05:26:01 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 05:26:01 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 05:26:01 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 05:26:01 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 05:26:01 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 05:26:01 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 05:26:01 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 05:26:02 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 05:26:02 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 05:26:02 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 05:26:02 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 05:26:02 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 05:26:02 [ 40%] Linking C shared library libcbor.so 05:26:02 [ 40%] Built target cbor_shared 05:26:02 Scanning dependencies of target cbor 05:26:02 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 05:26:02 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 05:26:03 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 05:26:03 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 05:26:03 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 05:26:03 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 05:26:03 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 05:26:03 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 05:26:03 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 05:26:03 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 05:26:03 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 05:26:03 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 05:26:04 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 05:26:04 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 05:26:04 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 05:26:04 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 05:26:04 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 05:26:04 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 05:26:04 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 05:26:04 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 05:26:04 [ 80%] Linking C static library libcbor.a 05:26:04 [ 80%] Built target cbor 05:26:04 Scanning dependencies of target create_items 05:26:04 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 05:26:04 [ 84%] Linking C executable create_items 05:26:04 [ 84%] Built target create_items 05:26:04 Scanning dependencies of target readfile 05:26:04 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 05:26:04 [ 88%] Linking C executable readfile 05:26:04 [ 88%] Built target readfile 05:26:04 Scanning dependencies of target streaming_parser 05:26:04 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 05:26:04 [ 92%] Linking C executable streaming_parser 05:26:04 [ 92%] Built target streaming_parser 05:26:04 Scanning dependencies of target sort 05:26:04 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 05:26:04 [ 96%] Linking C executable sort 05:26:05 [ 96%] Built target sort 05:26:05 Scanning dependencies of target hello 05:26:05 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 05:26:05 [100%] Linking C executable hello 05:26:05 [100%] Built target hello 05:26:05 Install the project... 05:26:05 -- Install configuration: "Release" 05:26:05 -- Installing: /usr/local/include/cbor/configuration.h 05:26:05 -- Installing: /usr/local/lib64/libcbor.a 05:26:05 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 05:26:05 -- Installing: /usr/local/lib64/libcbor.so.0 05:26:05 -- Installing: /usr/local/lib64/libcbor.so 05:26:05 -- Up-to-date: /usr/local/include/cbor 05:26:05 -- Installing: /usr/local/include/cbor/arrays.h 05:26:05 -- Installing: /usr/local/include/cbor/bytestrings.h 05:26:05 -- Installing: /usr/local/include/cbor/callbacks.h 05:26:05 -- Installing: /usr/local/include/cbor/common.h 05:26:05 -- Installing: /usr/local/include/cbor/data.h 05:26:05 -- Installing: /usr/local/include/cbor/encoding.h 05:26:05 -- Installing: /usr/local/include/cbor/floats_ctrls.h 05:26:05 -- Installing: /usr/local/include/cbor/internal 05:26:05 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 05:26:05 -- Installing: /usr/local/include/cbor/internal/encoders.h 05:26:05 -- Installing: /usr/local/include/cbor/internal/loaders.h 05:26:05 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 05:26:05 -- Installing: /usr/local/include/cbor/internal/stack.h 05:26:05 -- Installing: /usr/local/include/cbor/internal/unicode.h 05:26:05 -- Installing: /usr/local/include/cbor/ints.h 05:26:05 -- Installing: /usr/local/include/cbor/maps.h 05:26:05 -- Installing: /usr/local/include/cbor/serialization.h 05:26:05 -- Installing: /usr/local/include/cbor/streaming.h 05:26:05 -- Installing: /usr/local/include/cbor/strings.h 05:26:05 -- Installing: /usr/local/include/cbor/tags.h 05:26:05 -- Installing: /usr/local/include/cbor.h 05:26:05 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 05:26:07 Removing intermediate container 0a6ebc30c0a1 05:26:07 ---> be20748fe806 05:26:07 Step 6/21 : RUN mkdir /tmp/sdk 05:26:07 ---> Running in 72dad410c248 05:26:07 Removing intermediate container 72dad410c248 05:26:07 ---> a3eb00934e61 05:26:07 Step 7/21 : COPY VERSION /tmp/sdk 05:26:08 ---> e0a8236ebfa8 05:26:08 Step 8/21 : COPY src /tmp/sdk/src 05:26:09 ---> d0ccda010176 05:26:09 Step 9/21 : COPY include /tmp/sdk/include 05:26:09 ---> b9dec5241b72 05:26:09 Step 10/21 : COPY scripts /tmp/sdk/scripts 05:26:09 ---> 20d73d6f27e3 05:26:09 Step 11/21 : COPY LICENSE /tmp/sdk 05:26:09 ---> dcec19ebfe8c 05:26:09 Step 12/21 : COPY Attribution.txt /tmp/sdk 05:26:09 ---> 32887a17c2d8 05:26:09 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 05:26:09 ---> Running in 7ed238ec1535 05:26:10 + CPPCHECK=false 05:26:10 + DOCGEN=false 05:26:10 + TOMLVER=SDK-0.2 05:26:10 + CUTILVER=1.0.4 05:26:10 + '[' 0 -gt 0 ] 05:26:10 + readlink -f ./scripts/build.sh 05:26:10 + dirname /tmp/sdk/scripts/build.sh 05:26:10 + dirname /tmp/sdk/scripts 05:26:10 + ROOT=/tmp/sdk 05:26:10 + cd /tmp/sdk 05:26:10 + '[' '!' -d deps ] 05:26:10 + mkdir deps 05:26:10 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 05:26:10 + tar -C deps -z -x -f - 05:26:10 --2020-07-23 05:26:10-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 05:26:10 Resolving github.com... 140.82.114.4 05:26:10 Connecting to github.com|140.82.114.4|:443... connected. 05:26:10 HTTP request sent, awaiting response... 302 Found 05:26:10 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 05:26:10 --2020-07-23 05:26:10-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 05:26:10 Resolving codeload.github.com... 140.82.112.10 05:26:10 Connecting to codeload.github.com|140.82.112.10|:443... connected. 05:26:10 HTTP request sent, awaiting response... 200 OK 05:26:10 Length: unspecified [application/x-gzip] 05:26:10 Saving to: 'STDOUT' 05:26:10  05:26:10 0K .......... ......  908K=0.02s 05:26:10 05:26:10 2020-07-23 05:26:10 (908 KB/s) - written to stdout [16451] 05:26:10 05:26:10 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 05:26:10 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz 05:26:10 + tar -C deps -z -x -f - 05:26:10 --2020-07-23 05:26:10-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz 05:26:10 Resolving github.com... 140.82.114.4 05:26:10 Connecting to github.com|140.82.114.4|:443... connected. 05:26:10 HTTP request sent, awaiting response... 302 Found 05:26:10 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] 05:26:10 --2020-07-23 05:26:10-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 05:26:10 Resolving codeload.github.com... 140.82.112.10 05:26:10 Connecting to codeload.github.com|140.82.112.10|:443... connected. 05:26:11 HTTP request sent, awaiting response... 200 OK 05:26:11 Length: unspecified [application/x-gzip] 05:26:11 Saving to: 'STDOUT' 05:26:11 05:26:11 0K .......... .......... .......... .......... .......... 1.36M 05:26:11 50K .......... .......... .......... .......... .......... 2.75M 05:26:11 100K .......... .......... .......... .......... .......... 55.8M 05:26:11 150K ........ 71.7M=0.05s 05:26:11 05:26:11 2020-07-23 05:26:10 (2.82 MB/s) - written to stdout [162267] 05:26:11 05:26:11 + mkdir -p src/c/iot 05:26:11 + cp deps/iotech-c-utils-1.0.4/src/c/base64.c deps/iotech-c-utils-1.0.4/src/c/component.c deps/iotech-c-utils-1.0.4/src/c/container.c deps/iotech-c-utils-1.0.4/src/c/data.c deps/iotech-c-utils-1.0.4/src/c/hash.c deps/iotech-c-utils-1.0.4/src/c/iot.c deps/iotech-c-utils-1.0.4/src/c/json.c deps/iotech-c-utils-1.0.4/src/c/logger.c deps/iotech-c-utils-1.0.4/src/c/os.c deps/iotech-c-utils-1.0.4/src/c/scheduler.c deps/iotech-c-utils-1.0.4/src/c/thread.c deps/iotech-c-utils-1.0.4/src/c/threadpool.c deps/iotech-c-utils-1.0.4/src/c/time.c src/c/iot 05:26:11 + mkdir -p include/iot 05:26:11 + cp deps/iotech-c-utils-1.0.4/include/iot/base64.h deps/iotech-c-utils-1.0.4/include/iot/component.h deps/iotech-c-utils-1.0.4/include/iot/container.h deps/iotech-c-utils-1.0.4/include/iot/data.h deps/iotech-c-utils-1.0.4/include/iot/hash.h deps/iotech-c-utils-1.0.4/include/iot/iot.h deps/iotech-c-utils-1.0.4/include/iot/json.h deps/iotech-c-utils-1.0.4/include/iot/logger.h deps/iotech-c-utils-1.0.4/include/iot/os.h deps/iotech-c-utils-1.0.4/include/iot/scheduler.h deps/iotech-c-utils-1.0.4/include/iot/thread.h deps/iotech-c-utils-1.0.4/include/iot/threadpool.h deps/iotech-c-utils-1.0.4/include/iot/time.h deps/iotech-c-utils-1.0.4/include/iot/typecode.h include/iot 05:26:11 + mkdir -p include/iot/os 05:26:11 + cp deps/iotech-c-utils-1.0.4/include/iot/os/linux.h deps/iotech-c-utils-1.0.4/include/iot/os/zephyr.h include/iot/os 05:26:11 + mkdir -p /tmp/sdk/build/release 05:26:11 + cd /tmp/sdk/build/release 05:26:11 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 05:26:11 -- The C compiler identification is GNU 8.3.0 05:26:11 -- Check for working C compiler: /usr/bin/cc 05:26:11 -- Check for working C compiler: /usr/bin/cc -- works 05:26:11 -- Detecting C compiler ABI info 05:26:11 -- Detecting C compiler ABI info - done 05:26:11 -- Detecting C compile features 05:26:11 -- Detecting C compile features - done 05:26:11 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 05:26:11 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 05:26:11 -- Found LIBYAML: /usr/lib/libyaml.so 05:26:11 -- Found LIBUUID: /usr/lib/libuuid.so 05:26:11 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 05:26:11 -- C SDK 0.0.0 for Linux 05:26:11 -- Performing Test CSDK_HAVE_ATOMIC 05:26:11 -- Performing Test CSDK_HAVE_ATOMIC - Success 05:26:11 -- Found Curses: /usr/lib/libcurses.so 05:26:11 -- Configuring done 05:26:11 -- Generating done 05:26:11 -- Build files have been written to: /tmp/sdk/build/release 05:26:11 + make 05:26:11 + tee release.log 05:26:11 Scanning dependencies of target csdk 05:26:11 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 05:26:12 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 05:26:12 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 05:26:12 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 05:26:12 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 05:26:12 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 05:26:12 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 05:26:13 [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 05:26:13 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 05:26:13 [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 05:26:13 [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 05:26:13 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 05:26:13 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 05:26:13 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 05:26:14 [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 05:26:14 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 05:26:14 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 05:26:15 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 05:26:15 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 05:26:15 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 05:26:16 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 05:26:16 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 05:26:16 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 05:26:16 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 05:26:16 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 05:26:16 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 05:26:16 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 05:26:16 [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o 05:26:16 [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 05:26:17 [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 05:26:17 [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 05:26:18 [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 05:26:18 [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 05:26:18 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 05:26:18 [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 05:26:18 [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o 05:26:19 [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 05:26:20 [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 05:26:20 [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 05:26:20 [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 05:26:21 [ 65%] Linking C shared library libcsdk.so 05:26:21 [ 65%] Built target csdk 05:26:21 Scanning dependencies of target template 05:26:21 [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 05:26:21 [ 68%] Linking C executable template 05:26:21 [ 68%] Built target template 05:26:21 Scanning dependencies of target device-counter 05:26:21 [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 05:26:21 [ 71%] Linking C executable device-counter 05:26:21 [ 71%] Built target device-counter 05:26:21 Scanning dependencies of target device-random 05:26:21 [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 05:26:21 [ 74%] Linking C executable device-random 05:26:21 [ 74%] Built target device-random 05:26:21 Scanning dependencies of target device-gyro 05:26:21 [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 05:26:21 [ 77%] Linking C executable device-gyro 05:26:21 [ 77%] Built target device-gyro 05:26:21 Scanning dependencies of target template-discovery 05:26:21 [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 05:26:22 [ 80%] Linking C executable template-discovery 05:26:22 [ 80%] Built target template-discovery 05:26:22 Scanning dependencies of target device-terminal 05:26:22 [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 05:26:22 [ 84%] Linking C executable device-terminal 05:26:22 [ 84%] Built target device-terminal 05:26:22 Scanning dependencies of target template2 05:26:22 [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o 05:26:22 [ 87%] Linking C executable template2 05:26:22 [ 87%] Built target template2 05:26:22 Scanning dependencies of target device-counterv2 05:26:22 [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o 05:26:22 [ 90%] Linking C executable device-counterv2 05:26:22 [ 90%] Built target device-counterv2 05:26:22 Scanning dependencies of target device-gyrov2 05:26:22 [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o 05:26:22 [ 93%] Linking C executable device-gyrov2 05:26:22 [ 93%] Built target device-gyrov2 05:26:22 Scanning dependencies of target device-randomv2 05:26:22 [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o 05:26:23 [ 96%] Linking C executable device-randomv2 05:26:23 [ 96%] Built target device-randomv2 05:26:23 Scanning dependencies of target device-terminalv2 05:26:23 [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o 05:26:23 [100%] Linking C executable device-terminalv2 05:26:23 [100%] Built target device-terminalv2 05:26:23 + make package 05:26:23 + tee -a release.log 05:26:23 [ 65%] Built target csdk 05:26:23 [ 68%] Built target template 05:26:23 [ 71%] Built target device-counter 05:26:23 [ 74%] Built target device-random 05:26:23 [ 77%] Built target device-gyro 05:26:23 [ 80%] Built target template-discovery 05:26:23 [ 84%] Built target device-terminal 05:26:23 [ 87%] Built target template2 05:26:23 [ 90%] Built target device-counterv2 05:26:23 [ 93%] Built target device-gyrov2 05:26:23 [ 96%] Built target device-randomv2 05:26:23 [100%] Built target device-terminalv2 05:26:23 Run CPack packaging tool... 05:26:23 CPack: Create package using TGZ 05:26:23 CPack: Install projects 05:26:23 CPack: - Run preinstall target for: Csdk 05:26:23 CPack: - Install project: Csdk 05:26:23 CPack: Create package 05:26:23 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 05:26:23 + '[' false '=' true ] 05:26:23 + '[' false '=' true ] 05:26:23 + mkdir -p /tmp/sdk/build/debug 05:26:23 + cd /tmp/sdk/build/debug 05:26:23 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 05:26:23 -- The C compiler identification is GNU 8.3.0 05:26:24 -- Check for working C compiler: /usr/bin/cc 05:26:24 -- Check for working C compiler: /usr/bin/cc -- works 05:26:24 -- Detecting C compiler ABI info 05:26:24 -- Detecting C compiler ABI info - done 05:26:24 -- Detecting C compile features 05:26:24 -- Detecting C compile features - done 05:26:24 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 05:26:24 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 05:26:24 -- Found LIBYAML: /usr/lib/libyaml.so 05:26:24 -- Found LIBUUID: /usr/lib/libuuid.so 05:26:24 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 05:26:24 -- C SDK 0.0.0 for Linux 05:26:24 -- Performing Test CSDK_HAVE_ATOMIC 05:26:24 -- Performing Test CSDK_HAVE_ATOMIC - Success 05:26:24 -- Found Curses: /usr/lib/libcurses.so 05:26:24 -- Configuring done 05:26:24 -- Generating done 05:26:24 -- Build files have been written to: /tmp/sdk/build/debug 05:26:24 + make 05:26:24 + tee debug.log 05:26:24 Scanning dependencies of target csdk 05:26:24 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 05:26:24 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 05:26:24 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 05:26:24 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 05:26:25 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 05:26:25 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 05:26:25 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 05:26:25 [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 05:26:25 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 05:26:25 [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 05:26:25 [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 05:26:25 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 05:26:25 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 05:26:25 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 05:26:25 [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 05:26:25 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 05:26:25 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 05:26:26 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 05:26:26 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 05:26:26 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 05:26:26 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 05:26:26 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 05:26:26 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 05:26:26 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 05:26:26 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 05:26:26 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 05:26:26 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 05:26:26 [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o 05:26:27 [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 05:26:27 [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 05:26:27 [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 05:26:27 [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 05:26:27 [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 05:26:27 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 05:26:27 [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 05:26:27 [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o 05:26:28 [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 05:26:28 [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 05:26:28 [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 05:26:28 [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 05:26:28 [ 65%] Linking C shared library libcsdk.so 05:26:28 [ 65%] Built target csdk 05:26:28 Scanning dependencies of target template 05:26:28 [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 05:26:28 [ 68%] Linking C executable template 05:26:28 [ 68%] Built target template 05:26:28 Scanning dependencies of target device-counter 05:26:28 [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 05:26:28 [ 71%] Linking C executable device-counter 05:26:28 [ 71%] Built target device-counter 05:26:28 Scanning dependencies of target device-random 05:26:28 [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 05:26:28 [ 74%] Linking C executable device-random 05:26:28 [ 74%] Built target device-random 05:26:28 Scanning dependencies of target device-gyro 05:26:28 [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 05:26:29 [ 77%] Linking C executable device-gyro 05:26:29 [ 77%] Built target device-gyro 05:26:29 Scanning dependencies of target template-discovery 05:26:29 [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 05:26:29 [ 80%] Linking C executable template-discovery 05:26:29 [ 80%] Built target template-discovery 05:26:29 Scanning dependencies of target device-terminal 05:26:29 [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 05:26:29 [ 84%] Linking C executable device-terminal 05:26:29 [ 84%] Built target device-terminal 05:26:29 Scanning dependencies of target template2 05:26:29 [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o 05:26:29 [ 87%] Linking C executable template2 05:26:29 [ 87%] Built target template2 05:26:29 Scanning dependencies of target device-counterv2 05:26:29 [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o 05:26:29 [ 90%] Linking C executable device-counterv2 05:26:29 [ 90%] Built target device-counterv2 05:26:29 Scanning dependencies of target device-gyrov2 05:26:29 [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o 05:26:29 [ 93%] Linking C executable device-gyrov2 05:26:29 [ 93%] Built target device-gyrov2 05:26:29 Scanning dependencies of target device-randomv2 05:26:29 [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o 05:26:29 [ 96%] Linking C executable device-randomv2 05:26:29 [ 96%] Built target device-randomv2 05:26:29 Scanning dependencies of target device-terminalv2 05:26:29 [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o 05:26:30 [100%] Linking C executable device-terminalv2 05:26:30 [100%] Built target device-terminalv2 05:26:30 make: Entering directory '/tmp/sdk/build/release' 05:26:30 make[1]: Entering directory '/tmp/sdk/build/release' 05:26:30 make[2]: Entering directory '/tmp/sdk/build/release' 05:26:30 Scanning dependencies of target csdk 05:26:30 make[2]: Leaving directory '/tmp/sdk/build/release' 05:26:30 make[2]: Entering directory '/tmp/sdk/build/release' 05:26:30 [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o 05:26:30 [ 3%] Linking C shared library libcsdk.so 05:26:30 make[2]: Leaving directory '/tmp/sdk/build/release' 05:26:30 [ 65%] Built target csdk 05:26:30 make[2]: Entering directory '/tmp/sdk/build/release' 05:26:30 make[2]: Leaving directory '/tmp/sdk/build/release' 05:26:30 make[2]: Entering directory '/tmp/sdk/build/release' 05:26:30 [ 66%] Linking C executable template 05:26:30 make[2]: Leaving directory '/tmp/sdk/build/release' 05:26:30 [ 68%] Built target template 05:26:30 make[2]: Entering directory '/tmp/sdk/build/release' 05:26:30 make[2]: Leaving directory '/tmp/sdk/build/release' 05:26:30 make[2]: Entering directory '/tmp/sdk/build/release' 05:26:30 [ 69%] Linking C executable device-counter 05:26:30 make[2]: Leaving directory '/tmp/sdk/build/release' 05:26:30 [ 71%] Built target device-counter 05:26:30 make[2]: Entering directory '/tmp/sdk/build/release' 05:26:30 make[2]: Leaving directory '/tmp/sdk/build/release' 05:26:30 make[2]: Entering directory '/tmp/sdk/build/release' 05:26:30 [ 73%] Linking C executable device-random 05:26:30 make[2]: Leaving directory '/tmp/sdk/build/release' 05:26:30 [ 74%] Built target device-random 05:26:30 make[2]: Entering directory '/tmp/sdk/build/release' 05:26:30 make[2]: Leaving directory '/tmp/sdk/build/release' 05:26:30 make[2]: Entering directory '/tmp/sdk/build/release' 05:26:30 [ 76%] Linking C executable device-gyro 05:26:30 make[2]: Leaving directory '/tmp/sdk/build/release' 05:26:30 [ 77%] Built target device-gyro 05:26:30 make[2]: Entering directory '/tmp/sdk/build/release' 05:26:30 make[2]: Leaving directory '/tmp/sdk/build/release' 05:26:30 make[2]: Entering directory '/tmp/sdk/build/release' 05:26:30 [ 79%] Linking C executable template-discovery 05:26:31 make[2]: Leaving directory '/tmp/sdk/build/release' 05:26:31 [ 80%] Built target template-discovery 05:26:31 make[2]: Entering directory '/tmp/sdk/build/release' 05:26:31 make[2]: Leaving directory '/tmp/sdk/build/release' 05:26:31 make[2]: Entering directory '/tmp/sdk/build/release' 05:26:31 [ 82%] Linking C executable device-terminal 05:26:31 make[2]: Leaving directory '/tmp/sdk/build/release' 05:26:31 [ 84%] Built target device-terminal 05:26:31 make[2]: Entering directory '/tmp/sdk/build/release' 05:26:31 make[2]: Leaving directory '/tmp/sdk/build/release' 05:26:31 make[2]: Entering directory '/tmp/sdk/build/release' 05:26:31 [ 85%] Linking C executable template2 05:26:31 make[2]: Leaving directory '/tmp/sdk/build/release' 05:26:31 [ 87%] Built target template2 05:26:31 make[2]: Entering directory '/tmp/sdk/build/release' 05:26:31 make[2]: Leaving directory '/tmp/sdk/build/release' 05:26:31 make[2]: Entering directory '/tmp/sdk/build/release' 05:26:31 [ 88%] Linking C executable device-counterv2 05:26:31 make[2]: Leaving directory '/tmp/sdk/build/release' 05:26:31 [ 90%] Built target device-counterv2 05:26:31 make[2]: Entering directory '/tmp/sdk/build/release' 05:26:31 make[2]: Leaving directory '/tmp/sdk/build/release' 05:26:31 make[2]: Entering directory '/tmp/sdk/build/release' 05:26:31 [ 92%] Linking C executable device-gyrov2 05:26:31 make[2]: Leaving directory '/tmp/sdk/build/release' 05:26:31 [ 93%] Built target device-gyrov2 05:26:31 make[2]: Entering directory '/tmp/sdk/build/release' 05:26:31 make[2]: Leaving directory '/tmp/sdk/build/release' 05:26:31 make[2]: Entering directory '/tmp/sdk/build/release' 05:26:31 [ 95%] Linking C executable device-randomv2 05:26:31 make[2]: Leaving directory '/tmp/sdk/build/release' 05:26:31 [ 96%] Built target device-randomv2 05:26:31 make[2]: Entering directory '/tmp/sdk/build/release' 05:26:31 make[2]: Leaving directory '/tmp/sdk/build/release' 05:26:31 make[2]: Entering directory '/tmp/sdk/build/release' 05:26:31 [ 98%] Linking C executable device-terminalv2 05:26:31 make[2]: Leaving directory '/tmp/sdk/build/release' 05:26:31 [100%] Built target device-terminalv2 05:26:31 make[1]: Leaving directory '/tmp/sdk/build/release' 05:26:31 Install the project... 05:26:31 -- Install configuration: "Release" 05:26:31 -- Installing: /usr/local/lib/libcsdk.so 05:26:31 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 05:26:31 -- Up-to-date: /usr/local/include 05:26:31 -- Installing: /usr/local/include/devsdk 05:26:31 -- Installing: /usr/local/include/devsdk/devsdk-base.h 05:26:31 -- Installing: /usr/local/include/devsdk/devsdk.h 05:26:31 -- Installing: /usr/local/include/edgex 05:26:31 -- Installing: /usr/local/include/edgex/device-mgmt.h 05:26:31 -- Installing: /usr/local/include/edgex/devices.h 05:26:31 -- Installing: /usr/local/include/edgex/devsdk.h 05:26:31 -- Installing: /usr/local/include/edgex/edgex-base.h 05:26:31 -- Installing: /usr/local/include/edgex/edgex-logging.h 05:26:31 -- Installing: /usr/local/include/edgex/edgex.h 05:26:31 -- Installing: /usr/local/include/edgex/error.h 05:26:31 -- Installing: /usr/local/include/edgex/eventgen.h 05:26:31 -- Installing: /usr/local/include/edgex/os.h 05:26:31 -- Installing: /usr/local/include/edgex/profiles.h 05:26:31 -- Installing: /usr/local/include/edgex/registry.h 05:26:31 -- Installing: /usr/local/include/edgex/rest-server.h 05:26:31 -- Installing: /usr/local/include/edgex/csdk-defs.h 05:26:31 -- Installing: /usr/local/include/iot 05:26:31 -- Installing: /usr/local/include/iot/base64.h 05:26:31 -- Installing: /usr/local/include/iot/component.h 05:26:31 -- Installing: /usr/local/include/iot/container.h 05:26:31 -- Installing: /usr/local/include/iot/data.h 05:26:31 -- Installing: /usr/local/include/iot/hash.h 05:26:31 -- Installing: /usr/local/include/iot/iot.h 05:26:31 -- Installing: /usr/local/include/iot/json.h 05:26:31 -- Installing: /usr/local/include/iot/logger.h 05:26:31 -- Installing: /usr/local/include/iot/os.h 05:26:31 -- Installing: /usr/local/include/iot/scheduler.h 05:26:31 -- Installing: /usr/local/include/iot/thread.h 05:26:31 -- Installing: /usr/local/include/iot/threadpool.h 05:26:31 -- Installing: /usr/local/include/iot/time.h 05:26:31 -- Installing: /usr/local/include/iot/typecode.h 05:26:31 -- Installing: /usr/local/include/iot/os 05:26:31 -- Installing: /usr/local/include/iot/os/linux.h 05:26:31 -- Installing: /usr/local/include/iot/os/zephyr.h 05:26:31 -- Installing: /usr/local/share/device-sdk-c/LICENSE 05:26:31 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 05:26:31 make: Leaving directory '/tmp/sdk/build/release' 05:26:33 Removing intermediate container 7ed238ec1535 05:26:33 ---> 87b92703a1ac 05:26:33 Step 14/21 : FROM alpine:3.9 05:26:33 3.9: Pulling from library/alpine 05:26:33 31603596830f: Pulling fs layer 05:26:34 31603596830f: Verifying Checksum 05:26:34 31603596830f: Download complete 05:26:34 31603596830f: Pull complete 05:26:34 Digest: sha256:414e0518bb9228d35e4cd5165567fb91d26c6a214e9c95899e1e056fcd349011 05:26:34 Status: Downloaded newer image for alpine:3.9 05:26:34 ---> 78a2ce922f86 05:26:34 Step 15/21 : MAINTAINER IOTech 05:26:34 ---> Running in 93c955fbe812 05:26:34 Removing intermediate container 93c955fbe812 05:26:34 ---> 5e8e2adc4bd9 05:26:34 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 05:26:34 ---> Running in 41a2dff029af 05:26:35 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 05:26:35 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 05:26:35 (1/48) Installing binutils (2.31.1-r2) 05:26:35 (2/48) Installing libmagic (5.36-r1) 05:26:35 (3/48) Installing file (5.36-r1) 05:26:35 (4/48) Installing gmp (6.1.2-r1) 05:26:35 (5/48) Installing isl (0.18-r0) 05:26:35 (6/48) Installing libgomp (8.3.0-r0) 05:26:35 (7/48) Installing libatomic (8.3.0-r0) 05:26:35 (8/48) Installing libgcc (8.3.0-r0) 05:26:35 (9/48) Installing mpfr3 (3.1.5-r1) 05:26:35 (10/48) Installing mpc1 (1.0.3-r1) 05:26:35 (11/48) Installing libstdc++ (8.3.0-r0) 05:26:35 (12/48) Installing gcc (8.3.0-r0) 05:26:36 (13/48) Installing musl-dev (1.1.20-r5) 05:26:36 (14/48) Installing libc-dev (0.7.1-r0) 05:26:36 (15/48) Installing g++ (8.3.0-r0) 05:26:37 (16/48) Installing make (4.2.1-r2) 05:26:37 (17/48) Installing fortify-headers (1.0-r0) 05:26:37 (18/48) Installing build-base (0.5-r1) 05:26:37 (19/48) Installing libattr (2.4.47-r7) 05:26:37 (20/48) Installing libacl (2.2.52-r5) 05:26:37 (21/48) Installing libbz2 (1.0.6-r7) 05:26:37 (22/48) Installing expat (2.2.8-r0) 05:26:37 (23/48) Installing lz4-libs (1.8.3-r2) 05:26:37 (24/48) Installing xz-libs (5.2.4-r0) 05:26:37 (25/48) Installing libarchive (3.3.3-r2) 05:26:37 (26/48) Installing ca-certificates (20191127-r2) 05:26:37 (27/48) Installing nghttp2-libs (1.35.1-r2) 05:26:37 (28/48) Installing libssh2 (1.9.0-r1) 05:26:37 (29/48) Installing libcurl (7.64.0-r3) 05:26:37 (30/48) Installing ncurses-terminfo-base (6.1_p20190105-r0) 05:26:37 (31/48) Installing ncurses-terminfo (6.1_p20190105-r0) 05:26:38 (32/48) Installing ncurses-libs (6.1_p20190105-r0) 05:26:38 (33/48) Installing rhash-libs (1.3.6-r2) 05:26:38 (34/48) Installing libuv (1.25.0-r0) 05:26:38 (35/48) Installing cmake (3.13.0-r0) 05:26:39 (36/48) Installing curl (7.64.0-r3) 05:26:39 (37/48) Installing pcre2 (10.32-r1) 05:26:39 (38/48) Installing git (2.20.4-r0) 05:26:39 (39/48) Installing nettle (3.4.1-r0) 05:26:39 (40/48) Installing libffi (3.2.1-r6) 05:26:39 (41/48) Installing p11-kit (0.23.14-r0) 05:26:39 (42/48) Installing libtasn1 (4.14-r0) 05:26:39 (43/48) Installing libunistring (0.9.10-r0) 05:26:39 (44/48) Installing gnutls (3.6.14-r0) 05:26:39 (45/48) Installing libmicrohttpd (0.9.62-r0) 05:26:39 (46/48) Installing libuuid (2.33-r0) 05:26:39 (47/48) Installing wget (1.20.3-r0) 05:26:39 (48/48) Installing yaml (0.2.1-r0) 05:26:39 Executing busybox-1.29.3-r10.trigger 05:26:39 Executing ca-certificates-20191127-r2.trigger 05:26:39 OK: 222 MiB in 62 packages 05:26:45 Running on prd-ubuntu18.04-docker-arm64-4c-16g-698 in /w/workspace/edgexfoundry_device-sdk-c_PR-283 [Pipeline] { [Pipeline] ws 05:26:45 Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout 05:26:49 Removing intermediate container 41a2dff029af 05:26:49 ---> ed5b12aec9c1 05:26:49 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 05:26:49 ---> bf501e7b6bd4 05:26:49 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 05:26:49 ---> ac97c5c94014 05:26:49 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 05:26:49 ---> b26587eae963 05:26:49 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 05:26:49 ---> 7c24395c071f 05:26:49 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 05:26:49 ---> f7fc2afed5f1 05:26:49 Successfully built f7fc2afed5f1 05:26:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:26:49 using credential edgex-jenkins-ssh 05:26:49 Cloning the remote Git repository 05:26:49 Cloning with configured refspecs honoured and without tags 05:26:49 + docker inspect -f . ci-base-image-x86_64 05:26:49 . [Pipeline] withDockerContainer 05:26:50 prd-centos7-docker-4c-2g-697 does not seem to be running inside a container 05:26:50 $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:26:49 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 05:26:49 > git init /w/workspace/device-sdk-c/2 # timeout=10 05:26:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 05:26:49 > git --version # timeout=10 05:26:49 using GIT_SSH to set credentials SSH Credentials for GitHub 05:26:50 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/283/head:refs/remotes/origin/PR-283 +refs/heads/geneva:refs/remotes/origin/geneva # timeout=10 05:26:50 $ docker top d0885d0021a8822017e5920b0d9ffd03c040f67b96a247ff9333212e83f170e9 -eo pid,comm [Pipeline] { [Pipeline] sh 05:26:51 Fetching without tags 05:26:51 + make test 05:26:51 echo "make test" 05:26:51 make test [Pipeline] } 05:26:51 $ docker stop --time=1 d0885d0021a8822017e5920b0d9ffd03c040f67b96a247ff9333212e83f170e9 05:26:50 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 05:26:50 > git config --add remote.origin.fetch +refs/pull/283/head:refs/remotes/origin/PR-283 # timeout=10 05:26:50 > git config --add remote.origin.fetch +refs/heads/geneva:refs/remotes/origin/geneva # timeout=10 05:26:51 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 05:26:51 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 05:26:51 using GIT_SSH to set credentials SSH Credentials for GitHub 05:26:51 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/283/head:refs/remotes/origin/PR-283 +refs/heads/geneva:refs/remotes/origin/geneva # timeout=10 05:26:51 Merging remotes/origin/geneva commit 11dca0682671ac21648f2eee6e4306387f0e3104 into PR head commit 67c7daa376782610486d817918b83050142a3822 05:26:51 Merge succeeded, producing 67c7daa376782610486d817918b83050142a3822 05:26:51 Checking out Revision 67c7daa376782610486d817918b83050142a3822 (PR-283) 05:26:52 $ docker rm -f d0885d0021a8822017e5920b0d9ffd03c040f67b96a247ff9333212e83f170e9 05:26:51 > git config core.sparsecheckout # timeout=10 05:26:51 > git checkout -f 67c7daa376782610486d817918b83050142a3822 # timeout=10 05:26:51 > git remote # timeout=10 05:26:51 > git config --get remote.origin.url # timeout=10 05:26:51 using GIT_SSH to set credentials SSH Credentials for GitHub 05:26:51 > git merge 11dca0682671ac21648f2eee6e4306387f0e3104 # timeout=10 05:26:51 > git rev-parse HEAD^{commit} # timeout=10 05:26:51 > git config core.sparsecheckout # timeout=10 05:26:51 > git checkout -f 67c7daa376782610486d817918b83050142a3822 # timeout=10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:26:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:26:55 + ls -al . 05:26:55 total 160 05:26:55 drwxrwxr-x. 8 jenkins jenkins 260 Jul 23 05:25 . 05:26:55 drwxrwxr-x. 4 jenkins jenkins 28 Jul 23 05:25 .. 05:26:55 -rw-rw-r--. 1 jenkins jenkins 3104 Jul 23 05:25 Attribution.txt 05:26:55 -rw-rw-r--. 1 jenkins jenkins 5455 Jul 23 05:25 CHANGES 05:26:55 drwxrwxr-x. 2 jenkins jenkins 144 Jul 23 05:25 docs 05:26:55 -rw-rw-r--. 1 jenkins jenkins 108574 Jul 23 05:25 Doxyfile 05:26:55 drwxrwxr-x. 8 jenkins jenkins 179 Jul 23 05:25 .git 05:26:55 -rw-rw-r--. 1 jenkins jenkins 176 Jul 23 05:25 .gitignore 05:26:55 drwxrwxr-x. 4 jenkins jenkins 33 Jul 23 05:25 include 05:26:55 -rw-rw-r--. 1 jenkins jenkins 792 Jul 23 05:25 Jenkinsfile 05:26:55 -rw-rw-r--. 1 jenkins jenkins 10174 Jul 23 05:25 LICENSE 05:26:55 -rw-rw-r--. 1 jenkins jenkins 448 Jul 23 05:25 Makefile 05:26:55 -rw-rw-r--. 1 jenkins jenkins 1849 Jul 23 05:25 README.md 05:26:55 -rw-rw-r--. 1 jenkins jenkins 5229 Jul 23 05:25 README.v2.md 05:26:55 drwxrwxr-x. 2 jenkins jenkins 106 Jul 23 05:25 scripts 05:26:55 drwxrwxr-x. 3 jenkins jenkins 58 Jul 23 05:25 .semver 05:26:55 drwxrwxr-x. 4 jenkins jenkins 50 Jul 23 05:25 src 05:26:55 -rw-rw-r--. 1 jenkins jenkins 5 Jul 23 05:22 VERSION [Pipeline] isUnix [Pipeline] sh 05:26:55 + 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=67c7daa376782610486d817918b83050142a3822 --label arch=amd64 --label version=0.0.0 . 05:26:55 Sending build context to Docker daemon 3.339MB 05:26:55 Step 1/15 : ARG BASE=alpine:3.9 05:26:55 Step 2/15 : FROM ${BASE} 05:26:55 ---> f7fc2afed5f1 05:26:55 Step 3/15 : MAINTAINER IOTech 05:26:56 ---> Running in 4875f23b4877 05:26:56 Commit message: "feat: Add ServerBindAddr config to set which interface to listen on (#278)" 05:26:56 Removing intermediate container 4875f23b4877 05:26:56 ---> b1621e3e2936 05:26:56 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 05:26:56 ---> Running in d94a15273f7b 05:26:56 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 05:26:56 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 05:26:56 (1/21) Installing pkgconf (1.6.0-r0) 05:26:56 (2/21) Installing openssl-dev (1.1.1g-r0) 05:26:57 (3/21) Installing zlib-dev (1.2.11-r1) 05:26:57 (4/21) Installing libssh2-dev (1.9.0-r1) 05:26:57 (5/21) Installing nghttp2-dev (1.35.1-r2) 05:26:57 (6/21) Installing curl-dev (7.64.0-r3) 05:26:57 (7/21) Installing gnutls-c++ (3.6.14-r0) 05:26:57 (8/21) Installing libgmpxx (6.1.2-r1) 05:26:57 (9/21) Installing gmp-dev (6.1.2-r1) 05:26:57 (10/21) Installing nettle-dev (3.4.1-r0) [Pipeline] echo 05:26:57 ========================================================= 05:26:57 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 05:26:57 ========================================================= 05:26:57 (11/21) Installing libtasn1-dev (4.14-r0) 05:26:57 (12/21) Installing p11-kit-dev (0.23.14-r0) 05:26:57 (13/21) Installing gnutls-dev (3.6.14-r0) 05:26:57 (14/21) Installing libmicrohttpd-dev (0.9.62-r0) 05:26:57 (15/21) Installing ncurses-dev (6.1_p20190105-r0) 05:26:57 (16/21) Installing libblkid (2.33-r0) 05:26:57 (17/21) Installing libfdisk (2.33-r0) 05:26:57 (18/21) Installing libmount (2.33-r0) 05:26:57 (19/21) Installing libsmartcols (2.33-r0) 05:26:57 (20/21) Installing util-linux-dev (2.33-r0) 05:26:57 (21/21) Installing yaml-dev (0.2.1-r0) 05:26:57 Executing busybox-1.29.3-r10.trigger 05:26:57 OK: 266 MiB in 83 packages [Pipeline] isUnix [Pipeline] sh 05:26:58 + 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 . 05:26:59 Sending build context to Docker daemon 3.339MB 05:26:59 Step 1/21 : ARG BASE=alpine:3.9 05:26:59 Step 2/21 : FROM ${BASE} as builder 05:26:59 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 05:26:59 0362ad1dd800: Pulling fs layer 05:26:59 f2cdb1532d8b: Pulling fs layer 05:26:59 37ed683be191: Pulling fs layer 05:26:59 f2cdb1532d8b: Verifying Checksum 05:26:59 f2cdb1532d8b: Download complete 05:26:59 0362ad1dd800: Verifying Checksum 05:26:59 0362ad1dd800: Download complete 05:26:59 Removing intermediate container d94a15273f7b 05:26:59 ---> a7efd0d095be 05:26:59 Step 5/15 : COPY VERSION /edgex-c-sdk/ 05:26:59 ---> cc485494fbf0 05:26:59 Step 6/15 : COPY src /edgex-c-sdk/src/ 05:27:00 ---> 2729e1a6e85f 05:27:00 Step 7/15 : COPY include /edgex-c-sdk/include/ 05:27:00 0362ad1dd800: Pull complete 05:27:01 f2cdb1532d8b: Pull complete 05:27:01 ---> f3b5f880a47c 05:27:01 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 05:27:01 ---> 71c7dca2dfb4 05:27:01 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 05:27:01 ---> 127a81590c4b 05:27:01 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 05:27:01 ---> 1a7ca5e5f870 05:27:01 Step 11/15 : WORKDIR /edgex-c-sdk 05:27:01 ---> Running in d1ebc8ea27f9 05:27:01 Removing intermediate container d1ebc8ea27f9 05:27:01 ---> 14e354a30bbf 05:27:01 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 05:27:01 ---> Running in 79d0c0a5141f 05:27:02 Removing intermediate container 79d0c0a5141f 05:27:02 ---> 36f509ec5de6 05:27:02 Step 13/15 : LABEL arch=amd64 05:27:02 ---> Running in 8a3c661c6899 05:27:02 Removing intermediate container 8a3c661c6899 05:27:02 ---> 9ce0d1efe871 05:27:02 Step 14/15 : LABEL git_sha=67c7daa376782610486d817918b83050142a3822 05:27:02 ---> Running in 5e03a5c388d7 05:27:02 Removing intermediate container 5e03a5c388d7 05:27:02 ---> b33f943033ee 05:27:02 Step 15/15 : LABEL version=0.0.0 05:27:02 37ed683be191: Verifying Checksum 05:27:02 37ed683be191: Download complete 05:27:02 ---> Running in b3a8612adf73 05:27:02 Removing intermediate container b3a8612adf73 05:27:02 ---> e98a83c13df8 05:27:02 [Warning] One or more build-args [ARCH MAKE] were not consumed 05:27:02 Successfully built e98a83c13df8 05:27:02 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] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:27:12 37ed683be191: Pull complete 05:27:12 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 05:27:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 05:27:12 ---> b23d30803547 05:27:12 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 05:27:12 ---> Running in 5519962b6b8e 05:27:14 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 05:27:15 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 05:27:15 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 05:27:15 (2/8) Installing libuuid (2.33-r0) 05:27:15 (3/8) Installing libblkid (2.33-r0) 05:27:15 (4/8) Installing libfdisk (2.33-r0) 05:27:15 (5/8) Installing libmount (2.33-r0) 05:27:16 (6/8) Installing libsmartcols (2.33-r0) 05:27:16 (7/8) Installing util-linux-dev (2.33-r0) 05:27:16 (8/8) Installing wget (1.20.3-r0) 05:27:17 Executing busybox-1.29.3-r10.trigger 05:27:17 OK: 285 MiB in 83 packages 05:27:18 Removing intermediate container 5519962b6b8e 05:27:18 ---> 50d62aeb5e00 05:27:18 Step 4/21 : ENV CBOR_VERSION=0.5.0 05:27:18 ---> Running in afc7a19527d7 05:27:19 Removing intermediate container afc7a19527d7 05:27:19 ---> f4a1d26fbe72 05:27:19 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 05:27:19 ---> Running in a6be42b43be6 05:27:21 --2020-07-23 05:27:20-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 05:27:21 Resolving github.com... 140.82.113.4 05:27:21 Connecting to github.com|140.82.113.4|:443... connected. 05:27:21 HTTP request sent, awaiting response... 302 Found 05:27:21 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 05:27:21 --2020-07-23 05:27:21-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 05:27:21 Resolving codeload.github.com... 140.82.113.9 05:27:21 Connecting to codeload.github.com|140.82.113.9|:443... connected. 05:27:21 HTTP request sent, awaiting response... 200 OK 05:27:21 Length: unspecified [application/x-gzip] 05:27:21 Saving to: 'STDOUT' 05:27:21  05:27:21 0K .......... .......... .......... .......... .......... 1.54M 05:27:21 50K .......... .......... .......... .......... .......... 3.33M 05:27:21 100K .......... .......... .......... .......... .......... 3.44M 05:27:21 150K .......... .......... .......... .......... .......... 12.2M 05:27:21 200K .......... .......... .......... .......... .......... 13.9M 05:27:21 250K .......... .......... .......... .......... .......... 3.67M 05:27:21 300K .......... .......... .......... .......... .......... 4.60M 05:27:21 350K .......... .......... .......... .......... .......... 4.58M 05:27:21 400K .......... .......... .......... .......... .......... 3.09M 05:27:21 450K .......... .......... .......... .......... .......... 3.52M 05:27:21 500K .......... .......... .......... .......... .......... 6.32M 05:27:21 550K .......... .......... .......... .......... .......... 1.56M 05:27:21 600K .......... .......... .......... .......... .......... 1023K 05:27:21 650K .......... .......... .......... .......... .......... 2.21M 05:27:21 700K .. 8.54M=0.2s 05:27:21 05:27:21 2020-07-23 05:27:21 (2.83 MB/s) - written to stdout [719348] 05:27:21 05:27:21 -- The C compiler identification is GNU 8.3.0 05:27:22 -- The CXX compiler identification is GNU 8.3.0 05:27:22 -- Check for working C compiler: /usr/bin/cc 05:27:22 -- Check for working C compiler: /usr/bin/cc -- works 05:27:22 -- Detecting C compiler ABI info 05:27:22 -- Detecting C compiler ABI info - done 05:27:22 -- Detecting C compile features 05:27:23 -- Detecting C compile features - done 05:27:23 -- Check for working CXX compiler: /usr/bin/c++ 05:27:23 -- Check for working CXX compiler: /usr/bin/c++ -- works 05:27:23 -- Detecting CXX compiler ABI info 05:27:23 -- Detecting CXX compiler ABI info - done 05:27:23 -- Detecting CXX compile features 05:27:25 -- Detecting CXX compile features - done 05:27:25 -- Looking for include file endian.h 05:27:25 -- Looking for include file endian.h - found 05:27:25 -- Check if the system is big endian 05:27:25 -- Searching 16 bit integer 05:27:25 -- Looking for sys/types.h 05:27:25 -- Looking for sys/types.h - found 05:27:25 -- Looking for stdint.h 05:27:26 -- Looking for stdint.h - found 05:27:26 -- Looking for stddef.h 05:27:26 -- Looking for stddef.h - found 05:27:26 -- Check size of unsigned short 05:27:26 -- Check size of unsigned short - done 05:27:26 -- Using unsigned short 05:27:26 -- Check if the system is big endian - little endian 05:27:26 -- Check size of size_t 05:27:27 -- Check size of size_t - done 05:27:27 CMake Warning at examples/CMakeLists.txt:16 (find_package): 05:27:27 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 05:27:27 asked CMake to find a package configuration file provided by "cJSON", but 05:27:27 CMake did not find one. 05:27:27 05:27:27 Could not find a package configuration file provided by "cJSON" with any of 05:27:27 the following names: 05:27:27 05:27:27 cJSONConfig.cmake 05:27:27 cjson-config.cmake 05:27:27 05:27:27 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 05:27:27 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 05:27:27 provides a separate development package or SDK, be sure it has been 05:27:27 installed. 05:27:27 05:27:27 05:27:27 -- Configuring done 05:27:27 -- Generating done 05:27:27 -- Build files have been written to: /tmp/cbor 05:27:27 Scanning dependencies of target cbor_shared 05:27:27 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 05:27:28 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 05:27:29 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 05:27:29 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 05:27:29 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 05:27:29 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 05:27:30 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 05:27:30 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 05:27:30 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 05:27:30 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 05:27:31 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 05:27:31 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 05:27:32 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 05:27:32 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 05:27:32 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 05:27:32 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 05:27:33 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 05:27:33 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 05:27:33 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 05:27:33 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 05:27:34 [ 40%] Linking C shared library libcbor.so 05:27:34 [ 40%] Built target cbor_shared 05:27:34 Scanning dependencies of target cbor 05:27:34 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 05:27:35 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 05:27:35 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 05:27:35 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 05:27:36 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 05:27:37 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 05:27:37 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 05:27:37 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 05:27:37 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 05:27:38 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 05:27:38 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 05:27:39 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 05:27:39 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 05:27:39 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 05:27:39 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 05:27:40 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 05:27:40 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 05:27:40 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 05:27:41 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 05:27:41 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 05:27:41 [ 80%] Linking C static library libcbor.a 05:27:41 [ 80%] Built target cbor 05:27:41 Scanning dependencies of target create_items 05:27:41 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 05:27:41 [ 84%] Linking C executable create_items 05:27:41 [ 84%] Built target create_items 05:27:41 Scanning dependencies of target readfile 05:27:41 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 05:27:42 [ 88%] Linking C executable readfile 05:27:42 [ 88%] Built target readfile 05:27:42 Scanning dependencies of target streaming_parser 05:27:42 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 05:27:42 [ 92%] Linking C executable streaming_parser 05:27:42 [ 92%] Built target streaming_parser 05:27:42 Scanning dependencies of target sort 05:27:42 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 05:27:42 [ 96%] Linking C executable sort 05:27:42 [ 96%] Built target sort 05:27:42 Scanning dependencies of target hello 05:27:42 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 05:27:43 [100%] Linking C executable hello 05:27:43 [100%] Built target hello 05:27:43 Install the project... 05:27:43 -- Install configuration: "Release" 05:27:43 -- Installing: /usr/local/include/cbor/configuration.h 05:27:43 -- Installing: /usr/local/lib64/libcbor.a 05:27:43 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 05:27:43 -- Installing: /usr/local/lib64/libcbor.so.0 05:27:43 -- Installing: /usr/local/lib64/libcbor.so 05:27:43 -- Up-to-date: /usr/local/include/cbor 05:27:43 -- Installing: /usr/local/include/cbor/streaming.h 05:27:43 -- Installing: /usr/local/include/cbor/ints.h 05:27:43 -- Installing: /usr/local/include/cbor/floats_ctrls.h 05:27:43 -- Installing: /usr/local/include/cbor/bytestrings.h 05:27:43 -- Installing: /usr/local/include/cbor/encoding.h 05:27:43 -- Installing: /usr/local/include/cbor/serialization.h 05:27:43 -- Installing: /usr/local/include/cbor/data.h 05:27:43 -- Installing: /usr/local/include/cbor/common.h 05:27:43 -- Installing: /usr/local/include/cbor/callbacks.h 05:27:43 -- Installing: /usr/local/include/cbor/strings.h 05:27:43 -- Installing: /usr/local/include/cbor/tags.h 05:27:43 -- Installing: /usr/local/include/cbor/internal 05:27:43 -- Installing: /usr/local/include/cbor/internal/encoders.h 05:27:43 -- Installing: /usr/local/include/cbor/internal/loaders.h 05:27:43 -- Installing: /usr/local/include/cbor/internal/stack.h 05:27:43 -- Installing: /usr/local/include/cbor/internal/unicode.h 05:27:43 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 05:27:43 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 05:27:43 -- Installing: /usr/local/include/cbor/arrays.h 05:27:43 -- Installing: /usr/local/include/cbor/maps.h 05:27:43 -- Installing: /usr/local/include/cbor.h 05:27:43 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 05:27:45 Removing intermediate container a6be42b43be6 05:27:45 ---> 2e726193baa9 05:27:45 Step 6/21 : RUN mkdir /tmp/sdk 05:27:45 ---> Running in ab1dde12def6 05:27:48 Removing intermediate container ab1dde12def6 05:27:48 ---> 168c18bf32c8 05:27:48 Step 7/21 : COPY VERSION /tmp/sdk 05:27:48 ---> a83599dfacac 05:27:48 Step 8/21 : COPY src /tmp/sdk/src 05:27:49 ---> 17d193d79017 05:27:49 Step 9/21 : COPY include /tmp/sdk/include 05:27:50 ---> f1ead12550ef 05:27:50 Step 10/21 : COPY scripts /tmp/sdk/scripts 05:27:51 ---> bf52b7ffe3f5 05:27:51 Step 11/21 : COPY LICENSE /tmp/sdk 05:27:52 ---> d6706d82a8e9 05:27:52 Step 12/21 : COPY Attribution.txt /tmp/sdk 05:27:52 ---> 9956d79d7684 05:27:52 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 05:27:53 ---> Running in 4d00430d26db 05:27:54 + CPPCHECK=false 05:27:54 + DOCGEN=false 05:27:54 + TOMLVER=SDK-0.2 05:27:54 + CUTILVER=1.0.4 05:27:54 + '[' 0 -gt 0 ] 05:27:54 + readlink -f ./scripts/build.sh 05:27:54 + dirname /tmp/sdk/scripts/build.sh 05:27:54 + dirname /tmp/sdk/scripts 05:27:54 + ROOT=/tmp/sdk 05:27:54 + cd /tmp/sdk 05:27:54 + '[' '!' -d deps ] 05:27:54 + mkdir deps 05:27:54 + + tarwget -C -O deps - -z -x https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz -f 05:27:54 - 05:27:54 --2020-07-23 05:27:54-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 05:27:54 Resolving github.com... 140.82.112.3 05:27:54 Connecting to github.com|140.82.112.3|:443... connected. 05:27:54 HTTP request sent, awaiting response... 302 Found 05:27:54 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 05:27:54 --2020-07-23 05:27:54-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 05:27:54 Resolving codeload.github.com... 140.82.113.9 05:27:54 Connecting to codeload.github.com|140.82.113.9|:443... connected. 05:27:54 HTTP request sent, awaiting response... 200 OK 05:27:54 Length: unspecified [application/x-gzip] 05:27:54 Saving to: 'STDOUT' 05:27:54  05:27:54 0K .......... ...... 1.06M=0.01s 05:27:54 05:27:54 2020-07-23 05:27:54 (1.06 MB/s) - written to stdout [16451] 05:27:54 05:27:54 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 05:27:54 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz 05:27:54 + tar -C deps -z -x -f - 05:27:54 --2020-07-23 05:27:54-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz 05:27:54 Resolving github.com... 140.82.112.3 05:27:54 Connecting to github.com|140.82.112.3|:443... connected. 05:27:55 HTTP request sent, awaiting response... 302 Found 05:27:55 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] 05:27:55 --2020-07-23 05:27:54-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 05:27:55 Resolving codeload.github.com... 140.82.113.9 05:27:55 Connecting to codeload.github.com|140.82.113.9|:443... connected. 05:27:55 HTTP request sent, awaiting response... 200 OK 05:27:55 Length: unspecified [application/x-gzip] 05:27:55 Saving to: 'STDOUT' 05:27:55  05:27:55 0K .......... .......... .......... .......... .......... 1.56M 05:27:55 50K .......... .......... .......... .......... .......... 3.42M 05:27:55 100K .......... .......... .......... .......... .......... 3.52M 05:27:55 150K ........  15.9M=0.06s 05:27:55 05:27:55 2020-07-23 05:27:55 (2.58 MB/s) - written to stdout [162267] 05:27:55 05:27:55 + mkdir -p src/c/iot 05:27:55 + cp deps/iotech-c-utils-1.0.4/src/c/base64.c deps/iotech-c-utils-1.0.4/src/c/component.c deps/iotech-c-utils-1.0.4/src/c/container.c deps/iotech-c-utils-1.0.4/src/c/data.c deps/iotech-c-utils-1.0.4/src/c/hash.c deps/iotech-c-utils-1.0.4/src/c/iot.c deps/iotech-c-utils-1.0.4/src/c/json.c deps/iotech-c-utils-1.0.4/src/c/logger.c deps/iotech-c-utils-1.0.4/src/c/os.c deps/iotech-c-utils-1.0.4/src/c/scheduler.c deps/iotech-c-utils-1.0.4/src/c/thread.c deps/iotech-c-utils-1.0.4/src/c/threadpool.c deps/iotech-c-utils-1.0.4/src/c/time.c src/c/iot 05:27:55 + mkdir -p include/iot 05:27:55 + cp deps/iotech-c-utils-1.0.4/include/iot/base64.h deps/iotech-c-utils-1.0.4/include/iot/component.h deps/iotech-c-utils-1.0.4/include/iot/container.h deps/iotech-c-utils-1.0.4/include/iot/data.h deps/iotech-c-utils-1.0.4/include/iot/hash.h deps/iotech-c-utils-1.0.4/include/iot/iot.h deps/iotech-c-utils-1.0.4/include/iot/json.h deps/iotech-c-utils-1.0.4/include/iot/logger.h deps/iotech-c-utils-1.0.4/include/iot/os.h deps/iotech-c-utils-1.0.4/include/iot/scheduler.h deps/iotech-c-utils-1.0.4/include/iot/thread.h deps/iotech-c-utils-1.0.4/include/iot/threadpool.h deps/iotech-c-utils-1.0.4/include/iot/time.h deps/iotech-c-utils-1.0.4/include/iot/typecode.h include/iot 05:27:55 + mkdir -p include/iot/os 05:27:55 + cp deps/iotech-c-utils-1.0.4/include/iot/os/linux.h deps/iotech-c-utils-1.0.4/include/iot/os/zephyr.h include/iot/os 05:27:55 + mkdir -p /tmp/sdk/build/release 05:27:55 + cd /tmp/sdk/build/release 05:27:55 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 05:27:55 -- The C compiler identification is GNU 8.3.0 05:27:55 -- Check for working C compiler: /usr/bin/cc 05:27:55 -- Check for working C compiler: /usr/bin/cc -- works 05:27:55 -- Detecting C compiler ABI info 05:27:56 -- Detecting C compiler ABI info - done 05:27:56 -- Detecting C compile features 05:27:57 -- Detecting C compile features - done 05:27:57 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 05:27:57 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 05:27:57 -- Found LIBYAML: /usr/lib/libyaml.so 05:27:57 -- Found LIBUUID: /usr/lib/libuuid.so 05:27:57 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 05:27:57 -- C SDK 0.0.0 for Linux 05:27:57 -- Performing Test CSDK_HAVE_ATOMIC 05:27:57 -- Performing Test CSDK_HAVE_ATOMIC - Success 05:27:57 -- Found Curses: /usr/lib/libcurses.so 05:27:57 -- Configuring done 05:27:57 -- Generating done 05:27:57 -- Build files have been written to: /tmp/sdk/build/release 05:27:57 + make 05:27:57 + tee release.log 05:27:57 Scanning dependencies of target csdk 05:27:57 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 05:27:58 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 05:27:59 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 05:28:00 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 05:28:01 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 05:28:01 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 05:28:02 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 05:28:04 [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 05:28:04 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 05:28:05 [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 05:28:05 [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 05:28:05 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 05:28:06 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 05:28:06 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 05:28:09 [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 05:28:09 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 05:28:10 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 05:28:10 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 05:28:13 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 05:28:13 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 05:28:13 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 05:28:13 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 05:28:14 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 05:28:14 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 05:28:15 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 05:28:15 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 05:28:16 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 05:28:16 [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o 05:28:16 [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 05:28:17 [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 05:28:18 [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 05:28:22 [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 05:28:22 [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 05:28:22 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 05:28:23 [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 05:28:25 [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o 05:28:27 [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 05:28:30 [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 05:28:30 [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 05:28:32 [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 05:28:32 [ 65%] Linking C shared library libcsdk.so 05:28:32 [ 65%] Built target csdk 05:28:32 Scanning dependencies of target template 05:28:32 [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 05:28:33 [ 68%] Linking C executable template 05:28:33 [ 68%] Built target template 05:28:33 Scanning dependencies of target device-counter 05:28:33 [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 05:28:33 [ 71%] Linking C executable device-counter 05:28:34 [ 71%] Built target device-counter 05:28:34 Scanning dependencies of target device-random 05:28:34 [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 05:28:34 [ 74%] Linking C executable device-random 05:28:34 [ 74%] Built target device-random 05:28:34 Scanning dependencies of target device-gyro 05:28:34 [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 05:28:35 [ 77%] Linking C executable device-gyro 05:28:35 [ 77%] Built target device-gyro 05:28:35 Scanning dependencies of target template-discovery 05:28:35 [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 05:28:36 [ 80%] Linking C executable template-discovery 05:28:36 [ 80%] Built target template-discovery 05:28:36 Scanning dependencies of target device-terminal 05:28:36 [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 05:28:36 [ 84%] Linking C executable device-terminal 05:28:37 [ 84%] Built target device-terminal 05:28:37 Scanning dependencies of target template2 05:28:37 [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o 05:28:37 [ 87%] Linking C executable template2 05:28:37 [ 87%] Built target template2 05:28:37 Scanning dependencies of target device-counterv2 05:28:37 [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o 05:28:38 [ 90%] Linking C executable device-counterv2 05:28:38 [ 90%] Built target device-counterv2 05:28:38 Scanning dependencies of target device-gyrov2 05:28:38 [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o 05:28:39 [ 93%] Linking C executable device-gyrov2 05:28:39 [ 93%] Built target device-gyrov2 05:28:39 Scanning dependencies of target device-randomv2 05:28:39 [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o 05:28:39 [ 96%] Linking C executable device-randomv2 05:28:39 [ 96%] Built target device-randomv2 05:28:39 Scanning dependencies of target device-terminalv2 05:28:40 [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o 05:28:40 [100%] Linking C executable device-terminalv2 05:28:40 [100%] Built target device-terminalv2 05:28:40 + make package 05:28:40 + tee -a release.log 05:28:41 [ 65%] Built target csdk 05:28:41 [ 68%] Built target template 05:28:41 [ 71%] Built target device-counter 05:28:41 [ 74%] Built target device-random 05:28:41 [ 77%] Built target device-gyro 05:28:41 [ 80%] Built target template-discovery 05:28:41 [ 84%] Built target device-terminal 05:28:41 [ 87%] Built target template2 05:28:41 [ 90%] Built target device-counterv2 05:28:41 [ 93%] Built target device-gyrov2 05:28:41 [ 96%] Built target device-randomv2 05:28:41 [100%] Built target device-terminalv2 05:28:41 Run CPack packaging tool... 05:28:41 CPack: Create package using TGZ 05:28:41 CPack: Install projects 05:28:41 CPack: - Run preinstall target for: Csdk 05:28:42 CPack: - Install project: Csdk 05:28:42 CPack: Create package 05:28:42 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 05:28:42 + '[' false '=' true ] 05:28:42 + '[' false '=' true ] 05:28:42 + mkdir -p /tmp/sdk/build/debug 05:28:42 + cd /tmp/sdk/build/debug 05:28:42 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 05:28:42 -- The C compiler identification is GNU 8.3.0 05:28:42 -- Check for working C compiler: /usr/bin/cc 05:28:42 -- Check for working C compiler: /usr/bin/cc -- works 05:28:42 -- Detecting C compiler ABI info 05:28:42 -- Detecting C compiler ABI info - done 05:28:43 -- Detecting C compile features 05:28:43 -- Detecting C compile features - done 05:28:43 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 05:28:43 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 05:28:43 -- Found LIBYAML: /usr/lib/libyaml.so 05:28:43 -- Found LIBUUID: /usr/lib/libuuid.so 05:28:43 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 05:28:43 -- C SDK 0.0.0 for Linux 05:28:43 -- Performing Test CSDK_HAVE_ATOMIC 05:28:44 -- Performing Test CSDK_HAVE_ATOMIC - Success 05:28:44 -- Found Curses: /usr/lib/libcurses.so 05:28:44 -- Configuring done 05:28:44 -- Generating done 05:28:44 -- Build files have been written to: /tmp/sdk/build/debug 05:28:44 + + maketee 05:28:44 debug.log 05:28:44 Scanning dependencies of target csdk 05:28:44 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 05:28:45 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 05:28:45 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 05:28:46 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 05:28:46 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 05:28:46 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 05:28:46 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 05:28:47 [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 05:28:47 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 05:28:48 [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 05:28:48 [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 05:28:48 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 05:28:48 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 05:28:48 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 05:28:49 [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 05:28:49 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 05:28:49 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 05:28:50 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 05:28:51 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 05:28:51 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 05:28:51 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 05:28:51 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 05:28:51 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 05:28:51 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 05:28:51 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 05:28:52 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 05:28:52 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 05:28:52 [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o 05:28:52 [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 05:28:53 [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 05:28:53 [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 05:28:54 [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 05:28:54 [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 05:28:55 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 05:28:55 [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 05:28:55 [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o 05:28:56 [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 05:28:57 [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 05:28:57 [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 05:28:57 [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 05:28:58 [ 65%] Linking C shared library libcsdk.so 05:28:58 [ 65%] Built target csdk 05:28:58 Scanning dependencies of target template 05:28:58 [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 05:28:58 [ 68%] Linking C executable template 05:28:58 [ 68%] Built target template 05:28:58 Scanning dependencies of target device-counter 05:28:58 [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 05:28:59 [ 71%] Linking C executable device-counter 05:28:59 [ 71%] Built target device-counter 05:28:59 Scanning dependencies of target device-random 05:28:59 [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 05:28:59 [ 74%] Linking C executable device-random 05:28:59 [ 74%] Built target device-random 05:28:59 Scanning dependencies of target device-gyro 05:28:59 [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 05:29:00 [ 77%] Linking C executable device-gyro 05:29:00 [ 77%] Built target device-gyro 05:29:00 Scanning dependencies of target template-discovery 05:29:00 [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 05:29:00 [ 80%] Linking C executable template-discovery 05:29:00 [ 80%] Built target template-discovery 05:29:00 Scanning dependencies of target device-terminal 05:29:00 [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 05:29:01 [ 84%] Linking C executable device-terminal 05:29:01 [ 84%] Built target device-terminal 05:29:01 Scanning dependencies of target template2 05:29:01 [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o 05:29:01 [ 87%] Linking C executable template2 05:29:02 [ 87%] Built target template2 05:29:02 Scanning dependencies of target device-counterv2 05:29:02 [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o 05:29:02 [ 90%] Linking C executable device-counterv2 05:29:02 [ 90%] Built target device-counterv2 05:29:02 Scanning dependencies of target device-gyrov2 05:29:02 [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o 05:29:02 [ 93%] Linking C executable device-gyrov2 05:29:02 [ 93%] Built target device-gyrov2 05:29:03 Scanning dependencies of target device-randomv2 05:29:03 [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o 05:29:03 [ 96%] Linking C executable device-randomv2 05:29:03 [ 96%] Built target device-randomv2 05:29:03 Scanning dependencies of target device-terminalv2 05:29:03 [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o 05:29:03 [100%] Linking C executable device-terminalv2 05:29:03 [100%] Built target device-terminalv2 05:29:03 make: Entering directory '/tmp/sdk/build/release' 05:29:03 make[1]: Entering directory '/tmp/sdk/build/release' 05:29:04 make[2]: Entering directory '/tmp/sdk/build/release' 05:29:04 Scanning dependencies of target csdk 05:29:04 make[2]: Leaving directory '/tmp/sdk/build/release' 05:29:04 make[2]: Entering directory '/tmp/sdk/build/release' 05:29:04 [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o 05:29:06 [ 3%] Linking C shared library libcsdk.so 05:29:06 make[2]: Leaving directory '/tmp/sdk/build/release' 05:29:06 [ 65%] Built target csdk 05:29:06 make[2]: Entering directory '/tmp/sdk/build/release' 05:29:06 make[2]: Leaving directory '/tmp/sdk/build/release' 05:29:06 make[2]: Entering directory '/tmp/sdk/build/release' 05:29:06 [ 66%] Linking C executable template 05:29:06 make[2]: Leaving directory '/tmp/sdk/build/release' 05:29:06 [ 68%] Built target template 05:29:06 make[2]: Entering directory '/tmp/sdk/build/release' 05:29:06 make[2]: Leaving directory '/tmp/sdk/build/release' 05:29:06 make[2]: Entering directory '/tmp/sdk/build/release' 05:29:06 [ 69%] Linking C executable device-counter 05:29:06 make[2]: Leaving directory '/tmp/sdk/build/release' 05:29:06 [ 71%] Built target device-counter 05:29:06 make[2]: Entering directory '/tmp/sdk/build/release' 05:29:06 make[2]: Leaving directory '/tmp/sdk/build/release' 05:29:06 make[2]: Entering directory '/tmp/sdk/build/release' 05:29:06 [ 73%] Linking C executable device-random 05:29:06 make[2]: Leaving directory '/tmp/sdk/build/release' 05:29:06 [ 74%] Built target device-random 05:29:07 make[2]: Entering directory '/tmp/sdk/build/release' 05:29:07 make[2]: Leaving directory '/tmp/sdk/build/release' 05:29:07 make[2]: Entering directory '/tmp/sdk/build/release' 05:29:07 [ 76%] Linking C executable device-gyro 05:29:07 make[2]: Leaving directory '/tmp/sdk/build/release' 05:29:07 [ 77%] Built target device-gyro 05:29:07 make[2]: Entering directory '/tmp/sdk/build/release' 05:29:07 make[2]: Leaving directory '/tmp/sdk/build/release' 05:29:07 make[2]: Entering directory '/tmp/sdk/build/release' 05:29:07 [ 79%] Linking C executable template-discovery 05:29:07 make[2]: Leaving directory '/tmp/sdk/build/release' 05:29:07 [ 80%] Built target template-discovery 05:29:07 make[2]: Entering directory '/tmp/sdk/build/release' 05:29:07 make[2]: Leaving directory '/tmp/sdk/build/release' 05:29:07 make[2]: Entering directory '/tmp/sdk/build/release' 05:29:07 [ 82%] Linking C executable device-terminal 05:29:07 make[2]: Leaving directory '/tmp/sdk/build/release' 05:29:07 [ 84%] Built target device-terminal 05:29:07 make[2]: Entering directory '/tmp/sdk/build/release' 05:29:07 make[2]: Leaving directory '/tmp/sdk/build/release' 05:29:07 make[2]: Entering directory '/tmp/sdk/build/release' 05:29:07 [ 85%] Linking C executable template2 05:29:07 make[2]: Leaving directory '/tmp/sdk/build/release' 05:29:07 [ 87%] Built target template2 05:29:07 make[2]: Entering directory '/tmp/sdk/build/release' 05:29:07 make[2]: Leaving directory '/tmp/sdk/build/release' 05:29:07 make[2]: Entering directory '/tmp/sdk/build/release' 05:29:07 [ 88%] Linking C executable device-counterv2 05:29:08 make[2]: Leaving directory '/tmp/sdk/build/release' 05:29:08 [ 90%] Built target device-counterv2 05:29:08 make[2]: Entering directory '/tmp/sdk/build/release' 05:29:08 make[2]: Leaving directory '/tmp/sdk/build/release' 05:29:08 make[2]: Entering directory '/tmp/sdk/build/release' 05:29:08 [ 92%] Linking C executable device-gyrov2 05:29:08 make[2]: Leaving directory '/tmp/sdk/build/release' 05:29:08 [ 93%] Built target device-gyrov2 05:29:08 make[2]: Entering directory '/tmp/sdk/build/release' 05:29:08 make[2]: Leaving directory '/tmp/sdk/build/release' 05:29:08 make[2]: Entering directory '/tmp/sdk/build/release' 05:29:08 [ 95%] Linking C executable device-randomv2 05:29:08 make[2]: Leaving directory '/tmp/sdk/build/release' 05:29:08 [ 96%] Built target device-randomv2 05:29:08 make[2]: Entering directory '/tmp/sdk/build/release' 05:29:08 make[2]: Leaving directory '/tmp/sdk/build/release' 05:29:08 make[2]: Entering directory '/tmp/sdk/build/release' 05:29:08 [ 98%] Linking C executable device-terminalv2 05:29:08 make[2]: Leaving directory '/tmp/sdk/build/release' 05:29:08 [100%] Built target device-terminalv2 05:29:08 make[1]: Leaving directory '/tmp/sdk/build/release' 05:29:08 Install the project... 05:29:08 -- Install configuration: "Release" 05:29:08 -- Installing: /usr/local/lib/libcsdk.so 05:29:08 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 05:29:08 -- Up-to-date: /usr/local/include 05:29:08 -- Installing: /usr/local/include/edgex 05:29:08 -- Installing: /usr/local/include/edgex/device-mgmt.h 05:29:08 -- Installing: /usr/local/include/edgex/eventgen.h 05:29:08 -- Installing: /usr/local/include/edgex/error.h 05:29:08 -- Installing: /usr/local/include/edgex/rest-server.h 05:29:08 -- Installing: /usr/local/include/edgex/edgex-base.h 05:29:08 -- Installing: /usr/local/include/edgex/devsdk.h 05:29:08 -- Installing: /usr/local/include/edgex/edgex.h 05:29:08 -- Installing: /usr/local/include/edgex/registry.h 05:29:08 -- Installing: /usr/local/include/edgex/edgex-logging.h 05:29:08 -- Installing: /usr/local/include/edgex/devices.h 05:29:08 -- Installing: /usr/local/include/edgex/os.h 05:29:08 -- Installing: /usr/local/include/edgex/profiles.h 05:29:08 -- Installing: /usr/local/include/edgex/csdk-defs.h 05:29:08 -- Installing: /usr/local/include/devsdk 05:29:08 -- Installing: /usr/local/include/devsdk/devsdk-base.h 05:29:08 -- Installing: /usr/local/include/devsdk/devsdk.h 05:29:08 -- Installing: /usr/local/include/iot 05:29:08 -- Installing: /usr/local/include/iot/json.h 05:29:08 -- Installing: /usr/local/include/iot/container.h 05:29:08 -- Installing: /usr/local/include/iot/component.h 05:29:09 -- Installing: /usr/local/include/iot/typecode.h 05:29:09 -- Installing: /usr/local/include/iot/iot.h 05:29:09 -- Installing: /usr/local/include/iot/time.h 05:29:09 -- Installing: /usr/local/include/iot/hash.h 05:29:09 -- Installing: /usr/local/include/iot/logger.h 05:29:09 -- Installing: /usr/local/include/iot/os 05:29:09 -- Installing: /usr/local/include/iot/os/zephyr.h 05:29:09 -- Installing: /usr/local/include/iot/os/linux.h 05:29:09 -- Installing: /usr/local/include/iot/scheduler.h 05:29:09 -- Installing: /usr/local/include/iot/data.h 05:29:09 -- Installing: /usr/local/include/iot/thread.h 05:29:09 -- Installing: /usr/local/include/iot/os.h 05:29:09 -- Installing: /usr/local/include/iot/base64.h 05:29:09 -- Installing: /usr/local/include/iot/threadpool.h 05:29:09 -- Installing: /usr/local/share/device-sdk-c/LICENSE 05:29:09 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 05:29:09 make: Leaving directory '/tmp/sdk/build/release' 05:29:11 Removing intermediate container 4d00430d26db 05:29:11 ---> 54ffe10ca425 05:29:11 Step 14/21 : FROM alpine:3.9 05:29:11 3.9: Pulling from library/alpine 05:29:11 941f399634ec: Pulling fs layer 05:29:11 941f399634ec: Verifying Checksum 05:29:11 941f399634ec: Download complete 05:29:12 941f399634ec: Pull complete 05:29:12 Digest: sha256:414e0518bb9228d35e4cd5165567fb91d26c6a214e9c95899e1e056fcd349011 05:29:12 Status: Downloaded newer image for alpine:3.9 05:29:12 ---> 9afdd4a290bf 05:29:12 Step 15/21 : MAINTAINER IOTech 05:29:12 ---> Running in 4cf2e2b51b5c 05:29:13 Removing intermediate container 4cf2e2b51b5c 05:29:13 ---> 2f96c3d269ea 05:29:13 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 05:29:13 ---> Running in 0fb6032f912e 05:29:14 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 05:29:15 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 05:29:15 (1/48) Installing binutils (2.31.1-r2) 05:29:15 (2/48) Installing libmagic (5.36-r1) 05:29:15 (3/48) Installing file (5.36-r1) 05:29:15 (4/48) Installing gmp (6.1.2-r1) 05:29:15 (5/48) Installing isl (0.18-r0) 05:29:15 (6/48) Installing libgomp (8.3.0-r0) 05:29:15 (7/48) Installing libatomic (8.3.0-r0) 05:29:15 (8/48) Installing libgcc (8.3.0-r0) 05:29:15 (9/48) Installing mpfr3 (3.1.5-r1) 05:29:15 (10/48) Installing mpc1 (1.0.3-r1) 05:29:15 (11/48) Installing libstdc++ (8.3.0-r0) 05:29:16 (12/48) Installing gcc (8.3.0-r0) 05:29:17 (13/48) Installing musl-dev (1.1.20-r5) 05:29:17 (14/48) Installing libc-dev (0.7.1-r0) 05:29:17 (15/48) Installing g++ (8.3.0-r0) 05:29:18 (16/48) Installing make (4.2.1-r2) 05:29:18 (17/48) Installing fortify-headers (1.0-r0) 05:29:18 (18/48) Installing build-base (0.5-r1) 05:29:18 (19/48) Installing libattr (2.4.47-r7) 05:29:18 (20/48) Installing libacl (2.2.52-r5) 05:29:18 (21/48) Installing libbz2 (1.0.6-r7) 05:29:18 (22/48) Installing expat (2.2.8-r0) 05:29:18 (23/48) Installing lz4-libs (1.8.3-r2) 05:29:18 (24/48) Installing xz-libs (5.2.4-r0) 05:29:18 (25/48) Installing libarchive (3.3.3-r2) 05:29:18 (26/48) Installing ca-certificates (20191127-r2) 05:29:19 (27/48) Installing nghttp2-libs (1.35.1-r2) 05:29:19 (28/48) Installing libssh2 (1.9.0-r1) 05:29:19 (29/48) Installing libcurl (7.64.0-r3) 05:29:19 (30/48) Installing ncurses-terminfo-base (6.1_p20190105-r0) 05:29:19 (31/48) Installing ncurses-terminfo (6.1_p20190105-r0) 05:29:20 (32/48) Installing ncurses-libs (6.1_p20190105-r0) 05:29:20 (33/48) Installing rhash-libs (1.3.6-r2) 05:29:20 (34/48) Installing libuv (1.25.0-r0) 05:29:20 (35/48) Installing cmake (3.13.0-r0) 05:29:21 (36/48) Installing curl (7.64.0-r3) 05:29:21 (37/48) Installing pcre2 (10.32-r1) 05:29:21 (38/48) Installing git (2.20.4-r0) 05:29:21 (39/48) Installing nettle (3.4.1-r0) 05:29:21 (40/48) Installing libffi (3.2.1-r6) 05:29:21 (41/48) Installing p11-kit (0.23.14-r0) 05:29:21 (42/48) Installing libtasn1 (4.14-r0) 05:29:21 (43/48) Installing libunistring (0.9.10-r0) 05:29:22 (44/48) Installing gnutls (3.6.14-r0) 05:29:22 (45/48) Installing libmicrohttpd (0.9.62-r0) 05:29:22 (46/48) Installing libuuid (2.33-r0) 05:29:22 (47/48) Installing wget (1.20.3-r0) 05:29:22 (48/48) Installing yaml (0.2.1-r0) 05:29:22 Executing busybox-1.29.3-r10.trigger 05:29:22 Executing ca-certificates-20191127-r2.trigger 05:29:22 OK: 219 MiB in 62 packages 05:29:37 Removing intermediate container 0fb6032f912e 05:29:37 ---> c0dac05f27df 05:29:37 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 05:29:37 ---> ed392205588f 05:29:37 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 05:29:37 ---> db8df0fba881 05:29:37 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 05:29:37 ---> 6aa024ae0dcb 05:29:37 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 05:29:38 ---> f3c666a4dbf3 05:29:38 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 05:29:39 ---> f1d8e7a81da1 05:29:39 Successfully built f1d8e7a81da1 05:29:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:29:39 + docker inspect -f . ci-base-image-arm64 05:29:39 . [Pipeline] withDockerContainer 05:29:40 prd-ubuntu18.04-docker-arm64-4c-16g-698 does not seem to be running inside a container 05:29:40 $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:29:41 $ docker top 752425312d7017715650d6d5eab15aac4f3d714d3c1da3a662e0b0a5f29b6525 -eo pid,comm [Pipeline] { [Pipeline] sh 05:29:43 + make test 05:29:43 echo "make test" 05:29:43 make test [Pipeline] } 05:29:43 $ docker stop --time=1 752425312d7017715650d6d5eab15aac4f3d714d3c1da3a662e0b0a5f29b6525 05:29:45 $ docker rm -f 752425312d7017715650d6d5eab15aac4f3d714d3c1da3a662e0b0a5f29b6525 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:29:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:29:46 + ls -al . 05:29:46 total 192 05:29:46 drwxrwxr-x 8 jenkins jenkins 4096 Jul 23 05:26 . 05:29:46 drwxrwxr-x 4 jenkins jenkins 4096 Jul 23 05:26 .. 05:29:46 drwxrwxr-x 8 jenkins jenkins 4096 Jul 23 05:26 .git 05:29:46 -rw-rw-r-- 1 jenkins jenkins 176 Jul 23 05:26 .gitignore 05:29:46 drwxrwxr-x 3 jenkins jenkins 4096 Jul 23 05:26 .semver 05:29:46 -rw-rw-r-- 1 jenkins jenkins 3104 Jul 23 05:26 Attribution.txt 05:29:46 -rw-rw-r-- 1 jenkins jenkins 5455 Jul 23 05:26 CHANGES 05:29:46 -rw-rw-r-- 1 jenkins jenkins 108574 Jul 23 05:26 Doxyfile 05:29:46 -rw-rw-r-- 1 jenkins jenkins 792 Jul 23 05:26 Jenkinsfile 05:29:46 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 23 05:26 LICENSE 05:29:46 -rw-rw-r-- 1 jenkins jenkins 448 Jul 23 05:26 Makefile 05:29:46 -rw-rw-r-- 1 jenkins jenkins 1849 Jul 23 05:26 README.md 05:29:46 -rw-rw-r-- 1 jenkins jenkins 5229 Jul 23 05:26 README.v2.md 05:29:46 -rw-rw-r-- 1 jenkins jenkins 5 Jul 23 05:22 VERSION 05:29:46 drwxrwxr-x 2 jenkins jenkins 4096 Jul 23 05:26 docs 05:29:46 drwxrwxr-x 4 jenkins jenkins 4096 Jul 23 05:26 include 05:29:46 drwxrwxr-x 2 jenkins jenkins 4096 Jul 23 05:26 scripts 05:29:46 drwxrwxr-x 4 jenkins jenkins 4096 Jul 23 05:26 src [Pipeline] isUnix [Pipeline] sh 05:29:46 + 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=67c7daa376782610486d817918b83050142a3822 --label arch=arm64 --label version=0.0.0 . 05:29:47 Sending build context to Docker daemon 3.339MB 05:29:47 Step 1/15 : ARG BASE=alpine:3.9 05:29:47 Step 2/15 : FROM ${BASE} 05:29:47 ---> f1d8e7a81da1 05:29:47 Step 3/15 : MAINTAINER IOTech 05:29:47 ---> Running in d2382a9c1035 05:29:47 Removing intermediate container d2382a9c1035 05:29:47 ---> bfeb753c6b8d 05:29:47 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 05:29:47 ---> Running in 56cdec7717f6 05:29:49 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 05:29:49 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 05:29:49 (1/21) Installing pkgconf (1.6.0-r0) 05:29:49 (2/21) Installing openssl-dev (1.1.1g-r0) 05:29:50 (3/21) Installing zlib-dev (1.2.11-r1) 05:29:50 (4/21) Installing libssh2-dev (1.9.0-r1) 05:29:50 (5/21) Installing nghttp2-dev (1.35.1-r2) 05:29:50 (6/21) Installing curl-dev (7.64.0-r3) 05:29:50 (7/21) Installing gnutls-c++ (3.6.14-r0) 05:29:50 (8/21) Installing libgmpxx (6.1.2-r1) 05:29:50 (9/21) Installing gmp-dev (6.1.2-r1) 05:29:50 (10/21) Installing nettle-dev (3.4.1-r0) 05:29:51 (11/21) Installing libtasn1-dev (4.14-r0) 05:29:51 (12/21) Installing p11-kit-dev (0.23.14-r0) 05:29:51 (13/21) Installing gnutls-dev (3.6.14-r0) 05:29:51 (14/21) Installing libmicrohttpd-dev (0.9.62-r0) 05:29:51 (15/21) Installing ncurses-dev (6.1_p20190105-r0) 05:29:51 (16/21) Installing libblkid (2.33-r0) 05:29:51 (17/21) Installing libfdisk (2.33-r0) 05:29:52 (18/21) Installing libmount (2.33-r0) 05:29:52 (19/21) Installing libsmartcols (2.33-r0) 05:29:52 (20/21) Installing util-linux-dev (2.33-r0) 05:29:52 (21/21) Installing yaml-dev (0.2.1-r0) 05:29:52 Executing busybox-1.29.3-r10.trigger 05:29:52 OK: 280 MiB in 83 packages 05:29:55 Removing intermediate container 56cdec7717f6 05:29:55 ---> ab15de4ca9cd 05:29:55 Step 5/15 : COPY VERSION /edgex-c-sdk/ 05:29:55 ---> 30b44a22e2e1 05:29:55 Step 6/15 : COPY src /edgex-c-sdk/src/ 05:29:56 ---> b9d3ee9e295f 05:29:56 Step 7/15 : COPY include /edgex-c-sdk/include/ 05:29:57 ---> 67c24bb3191f 05:29:57 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 05:29:58 ---> a923ddd6bf73 05:29:58 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 05:29:58 ---> f76a7823c7bd 05:29:58 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 05:29:59 ---> a65f11ea43cc 05:29:59 Step 11/15 : WORKDIR /edgex-c-sdk 05:29:59 ---> Running in 99a31e8c438e 05:30:00 Removing intermediate container 99a31e8c438e 05:30:00 ---> ebd7aead9ded 05:30:00 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 05:30:00 ---> Running in b0ec48a0c857 05:30:00 Removing intermediate container b0ec48a0c857 05:30:00 ---> 9a9d4c09fa5d 05:30:00 Step 13/15 : LABEL arch=arm64 05:30:00 ---> Running in a484ed633784 05:30:01 Removing intermediate container a484ed633784 05:30:01 ---> ac4b306092b0 05:30:01 Step 14/15 : LABEL git_sha=67c7daa376782610486d817918b83050142a3822 05:30:01 ---> Running in 60b0cefbd537 05:30:01 Removing intermediate container 60b0cefbd537 05:30:01 ---> 9978c5e986b3 05:30:01 Step 15/15 : LABEL version=0.0.0 05:30:01 ---> Running in 3e335f861312 05:30:02 Removing intermediate container 3e335f861312 05:30:02 ---> be0b973e7711 05:30:02 [Warning] One or more build-args [ARCH MAKE] were not consumed 05:30:02 Successfully built be0b973e7711 05:30:02 Successfully tagged docker-device-sdk-c-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 05:30:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:30:05 ---> package-listing.sh 05:30:05 ++ facter osfamily 05:30:05 ++ tr '[:upper:]' '[:lower:]' 05:30:05 + OS_FAMILY=redhat 05:30:05 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-283 05:30:05 + START_PACKAGES=/tmp/packages_start.txt 05:30:05 + END_PACKAGES=/tmp/packages_end.txt 05:30:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:30:05 + PACKAGES=/tmp/packages_start.txt 05:30:05 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-283 ']' 05:30:05 + PACKAGES=/tmp/packages_end.txt 05:30:05 + case "${OS_FAMILY}" in 05:30:05 + rpm -qa 05:30:05 + sort 05:30:09 + '[' -f /tmp/packages_start.txt ']' 05:30:09 + '[' -f /tmp/packages_end.txt ']' 05:30:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:30:09 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-283 ']' 05:30:09 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-283/archives/ 05:30:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-283/archives/ [Pipeline] isUnix [Pipeline] sh 05:30:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:30:10 05:30:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:30:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:30:10 alpine: Pulling from edgex-lftools-log-publisher 05:30:10 c9b1b535fdd9: Pulling fs layer 05:30:10 2cc5ad85d9ab: Pulling fs layer 05:30:10 756a868c4378: Pulling fs layer 05:30:10 444b2fc9a129: Pulling fs layer 05:30:10 ea15f1150254: Pulling fs layer 05:30:10 41b27a9f41bf: Pulling fs layer 05:30:10 28c525ee5125: Pulling fs layer 05:30:10 094b1ea09ed8: Pulling fs layer 05:30:10 138eaada9080: Pulling fs layer 05:30:10 0622d0fa9048: Pulling fs layer 05:30:10 41b27a9f41bf: Waiting 05:30:10 28c525ee5125: Waiting 05:30:10 094b1ea09ed8: Waiting 05:30:10 138eaada9080: Waiting 05:30:10 0622d0fa9048: Waiting 05:30:10 444b2fc9a129: Waiting 05:30:10 2cc5ad85d9ab: Download complete 05:30:10 444b2fc9a129: Verifying Checksum 05:30:10 444b2fc9a129: Download complete 05:30:10 c9b1b535fdd9: Verifying Checksum 05:30:10 c9b1b535fdd9: Download complete 05:30:10 ea15f1150254: Verifying Checksum 05:30:10 ea15f1150254: Download complete 05:30:10 28c525ee5125: Verifying Checksum 05:30:10 28c525ee5125: Download complete 05:30:11 756a868c4378: Verifying Checksum 05:30:11 756a868c4378: Download complete 05:30:11 c9b1b535fdd9: Pull complete 05:30:11 138eaada9080: Verifying Checksum 05:30:11 138eaada9080: Download complete 05:30:11 0622d0fa9048: Verifying Checksum 05:30:11 0622d0fa9048: Download complete 05:30:11 094b1ea09ed8: Verifying Checksum 05:30:11 094b1ea09ed8: Download complete 05:30:11 2cc5ad85d9ab: Pull complete 05:30:11 41b27a9f41bf: Verifying Checksum 05:30:11 41b27a9f41bf: Download complete 05:30:12 756a868c4378: Pull complete 05:30:12 444b2fc9a129: Pull complete 05:30:13 ea15f1150254: Pull complete 05:30:17 41b27a9f41bf: Pull complete 05:30:17 28c525ee5125: Pull complete 05:30:19 094b1ea09ed8: Pull complete 05:30:20 138eaada9080: Pull complete 05:30:20 0622d0fa9048: Pull complete 05:30:20 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 05:30:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:30:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:30:20 prd-centos7-docker-4c-2g-696 does not seem to be running inside a container 05:30:20 $ 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-283 -v /w/workspace/edgexfoundry_device-sdk-c_PR-283:/w/workspace/edgexfoundry_device-sdk-c_PR-283:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-283@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-283@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 05:30:24 $ docker top 520d094ac2750d567cf30855e26275e78971e371df099bd2749e896f37590102 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:30:24 provisioning config files... 05:30:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-283@tmp/config6908834385828188088tmp [Pipeline] { [Pipeline] echo 05:30:24 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:30:24 ---> create-netrc.sh [Pipeline] echo 05:30:24 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:30:24 ---> logs-deploy.sh 05:30:24 + ARCHIVE_ARTIFACTS= 05:30:24 + LOGS_SERVER=https://logs.edgexfoundry.org 05:30:24 + '[' https://logs.edgexfoundry.org == None ']' 05:30:24 + NEXUS_URL=https://nexus.edgexfoundry.org 05:30:24 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-283/2 05:30:24 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-283/2/ 05:30:24 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-283/2 /w/workspace/edgexfoundry_device-sdk-c_PR-283 05:30:26 Archives upload complete. 05:30:26 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-283/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-283/2/ 05:30:26 ---> uname -a: 05:30:26 Linux 520d094ac275 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 05:30:26 05:30:26 05:30:26 ---> lscpu: 05:30:26 Architecture: x86_64 05:30:26 CPU op-mode(s): 32-bit, 64-bit 05:30:26 Byte Order: Little Endian 05:30:26 Address sizes: 40 bits physical, 48 bits virtual 05:30:26 CPU(s): 4 05:30:26 On-line CPU(s) list: 0-3 05:30:26 Thread(s) per core: 1 05:30:26 Core(s) per socket: 1 05:30:26 Socket(s): 4 05:30:26 NUMA node(s): 1 05:30:26 Vendor ID: GenuineIntel 05:30:26 CPU family: 6 05:30:26 Model: 44 05:30:26 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 05:30:26 Stepping: 1 05:30:26 CPU MHz: 2933.438 05:30:26 BogoMIPS: 5866.87 05:30:26 Virtualization: VT-x 05:30:26 Hypervisor vendor: KVM 05:30:26 Virtualization type: full 05:30:26 L1d cache: 128 KiB 05:30:26 L1i cache: 128 KiB 05:30:26 L2 cache: 16 MiB 05:30:26 L3 cache: 64 MiB 05:30:26 NUMA node0 CPU(s): 0-3 05:30:26 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 05:30:26 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 05:30:26 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 05:30:26 Vulnerability Meltdown: Mitigation; PTI 05:30:26 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:30:26 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 05:30:26 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 05:30:26 Vulnerability Tsx async abort: Not affected 05:30:26 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 05:30:26 05:30:26