Push event to branch geneva Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 2c055263c90b1575009cf35c07aefd2acc805cd1 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-710 in /w/workspace/edgexfoundry_device-sdk-c_geneva [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_geneva # 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/heads/geneva:refs/remotes/origin/geneva # timeout=10 Fetching without tags Checking out Revision 2c055263c90b1575009cf35c07aefd2acc805cd1 (geneva) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # 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/heads/geneva:refs/remotes/origin/geneva # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2c055263c90b1575009cf35c07aefd2acc805cd1 # timeout=10 Commit message: "Merge pull request #283 from iain-anderson/issue-278-geneva" > git rev-list --no-walk 11dca0682671ac21648f2eee6e4306387f0e3104 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-07-23T09:07:45.350Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-07-23T09:07:45.586Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-07-23T09:07:45.665Z] ========================================================= [2020-07-23T09:07:45.665Z] EdgeX Global Pipelines Version Info [2020-07-23T09:07:45.665Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-07-23T09:07:47.525Z] ------------------- [2020-07-23T09:07:47.525Z] stable info: [2020-07-23T09:07:47.525Z] ------------------- [2020-07-23T09:07:47.525Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-07-23T09:07:47.525Z] Commit SHA: 58add5173bd5747e956b7cc86a1e88a765e134cb [2020-07-23T09:07:47.525Z] Message: update stable to v1.0.103 [2020-07-23T09:07:48.098Z] ------------------- [2020-07-23T09:07:48.098Z] experimental info: [2020-07-23T09:07:48.098Z] ------------------- [2020-07-23T09:07:48.098Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-07-23T09:07:48.098Z] Commit SHA: 58add5173bd5747e956b7cc86a1e88a765e134cb [2020-07-23T09:07:48.098Z] 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 [2020-07-23T09:07:50.495Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-23T09:07:50.756Z] [2020-07-23T09:07:50.756Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-07-23T09:07:51.099Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-23T09:07:51.099Z] latest: Pulling from edgex-devops/git-semver [2020-07-23T09:07:51.099Z] 31603596830f: Pulling fs layer [2020-07-23T09:07:51.099Z] 2a8b12db71e7: Pulling fs layer [2020-07-23T09:07:51.099Z] 6ca5941a6612: Pulling fs layer [2020-07-23T09:07:51.099Z] ecc8261a40a4: Pulling fs layer [2020-07-23T09:07:51.099Z] ecc8261a40a4: Waiting [2020-07-23T09:07:51.099Z] 2a8b12db71e7: Verifying Checksum [2020-07-23T09:07:51.099Z] 2a8b12db71e7: Download complete [2020-07-23T09:07:51.367Z] 31603596830f: Verifying Checksum [2020-07-23T09:07:51.367Z] 31603596830f: Download complete [2020-07-23T09:07:51.367Z] ecc8261a40a4: Verifying Checksum [2020-07-23T09:07:51.367Z] ecc8261a40a4: Download complete [2020-07-23T09:07:51.367Z] 6ca5941a6612: Verifying Checksum [2020-07-23T09:07:51.367Z] 6ca5941a6612: Download complete [2020-07-23T09:07:51.630Z] 31603596830f: Pull complete [2020-07-23T09:07:51.630Z] 2a8b12db71e7: Pull complete [2020-07-23T09:07:52.586Z] 6ca5941a6612: Pull complete [2020-07-23T09:07:52.586Z] ecc8261a40a4: Pull complete [2020-07-23T09:07:52.586Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-07-23T09:07:52.586Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-23T09:07:52.586Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-07-23T09:07:52.695Z] prd-centos7-docker-4c-2g-710 does not seem to be running inside a container [2020-07-23T09:07:52.733Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_geneva -v /w/workspace/edgexfoundry_device-sdk-c_geneva:/w/workspace/edgexfoundry_device-sdk-c_geneva:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_geneva@tmp:/w/workspace/edgexfoundry_device-sdk-c_geneva@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-07-23T09:07:54.962Z] $ docker top a69b90131ba29bb0ce52ced430681696df1d8a9d129eb497cf721cb2cb40df43 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-07-23T09:07:55.253Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-23T09:07:55.253Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-23T09:07:55.458Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-23T09:07:55.458Z] $ docker exec a69b90131ba29bb0ce52ced430681696df1d8a9d129eb497cf721cb2cb40df43 ssh-agent [2020-07-23T09:07:55.734Z] SSH_AUTH_SOCK=/tmp/ssh-AI3IuaFv78BL/agent.12 [2020-07-23T09:07:55.734Z] SSH_AGENT_PID=17 [2020-07-23T09:07:55.743Z] Running ssh-add (command line suppressed) [2020-07-23T09:07:55.858Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_geneva@tmp/private_key_4859979690294174314.key (/w/workspace/edgexfoundry_device-sdk-c_geneva@tmp/private_key_4859979690294174314.key) [2020-07-23T09:07:55.919Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-23T09:07:56.244Z] + git describe --exact-match --tags HEAD [2020-07-23T09:07:56.244Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-07-23T09:07:56.357Z] $ docker exec --env ******** --env ******** a69b90131ba29bb0ce52ced430681696df1d8a9d129eb497cf721cb2cb40df43 ssh-agent -k [2020-07-23T09:07:56.489Z] unset SSH_AUTH_SOCK; [2020-07-23T09:07:56.490Z] unset SSH_AGENT_PID; [2020-07-23T09:07:56.490Z] echo Agent pid 17 killed; [2020-07-23T09:07:56.540Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-07-23T09:07:56.622Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-07-23T09:07:56.622Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-07-23T09:07:56.708Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-23T09:07:56.708Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-23T09:07:56.875Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-23T09:07:56.875Z] $ docker exec a69b90131ba29bb0ce52ced430681696df1d8a9d129eb497cf721cb2cb40df43 ssh-agent [2020-07-23T09:07:57.037Z] SSH_AUTH_SOCK=/tmp/ssh-Y3g6DxN6NmmH/agent.46 [2020-07-23T09:07:57.037Z] SSH_AGENT_PID=51 [2020-07-23T09:07:57.043Z] Running ssh-add (command line suppressed) [2020-07-23T09:07:57.158Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_geneva@tmp/private_key_5639451265782175914.key (/w/workspace/edgexfoundry_device-sdk-c_geneva@tmp/private_key_5639451265782175914.key) [2020-07-23T09:07:57.216Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-23T09:07:57.542Z] + git semver init [2020-07-23T09:07:57.542Z] # -> Open(): unable to determine branch for HEAD [2020-07-23T09:07:57.542Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_geneva/.git [2020-07-23T09:07:57.542Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_geneva [2020-07-23T09:07:57.542Z] # $SEMVER_REMOTE_NAME = origin [2020-07-23T09:07:57.542Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-07-23T09:07:57.542Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-07-23T09:07:57.542Z] # $SEMVER_BRANCH = geneva [2020-07-23T09:07:57.542Z] # $SEMVER_TEMP = /tmp/semver-258031811 [2020-07-23T09:07:57.542Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2020-07-23T09:07:58.126Z] # '/tmp/semver-258031811' -> '/w/workspace/edgexfoundry_device-sdk-c_geneva/.semver' [2020-07-23T09:07:58.126Z] # -> Force: false [2020-07-23T09:07:58.126Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_geneva/.semver [Pipeline] } [2020-07-23T09:07:58.137Z] $ docker exec --env ******** --env ******** a69b90131ba29bb0ce52ced430681696df1d8a9d129eb497cf721cb2cb40df43 ssh-agent -k [2020-07-23T09:07:58.263Z] unset SSH_AUTH_SOCK; [2020-07-23T09:07:58.263Z] unset SSH_AGENT_PID; [2020-07-23T09:07:58.263Z] echo Agent pid 51 killed; [2020-07-23T09:07:58.308Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-07-23T09:07:58.752Z] + git semver [Pipeline] } [2020-07-23T09:07:58.764Z] $ docker stop --time=1 a69b90131ba29bb0ce52ced430681696df1d8a9d129eb497cf721cb2cb40df43 [2020-07-23T09:08:00.087Z] $ docker rm -f a69b90131ba29bb0ce52ced430681696df1d8a9d129eb497cf721cb2cb40df43 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-07-23T09:08:00.955Z] Stashed 35 file(s) [Pipeline] echo [2020-07-23T09:08:00.958Z] [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-07-23T09:08:16.221Z] Still waiting to schedule task [2020-07-23T09:08:16.221Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-710’ [2020-07-23T09:08:16.223Z] Still waiting to schedule task [2020-07-23T09:08:16.223Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-07-23T09:10:07.694Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-711 in /w/workspace/edgexfoundry_device-sdk-c_geneva [Pipeline] { [Pipeline] ws [2020-07-23T09:10:07.739Z] Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout [2020-07-23T09:10:13.159Z] using credential edgex-jenkins-ssh [2020-07-23T09:10:13.209Z] Cloning the remote Git repository [2020-07-23T09:10:13.209Z] Cloning with configured refspecs honoured and without tags [2020-07-23T09:10:13.303Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-07-23T09:10:13.421Z] > git init /w/workspace/device-sdk-c/2 # timeout=10 [2020-07-23T09:10:13.524Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-07-23T09:10:13.525Z] > git --version # timeout=10 [2020-07-23T09:10:13.545Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-23T09:10:13.600Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/geneva:refs/remotes/origin/geneva # timeout=10 [2020-07-23T09:10:14.525Z] Fetching without tags [2020-07-23T09:10:15.006Z] Checking out Revision 2c055263c90b1575009cf35c07aefd2acc805cd1 (geneva) [2020-07-23T09:10:14.470Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-07-23T09:10:14.486Z] > git config --add remote.origin.fetch +refs/heads/geneva:refs/remotes/origin/geneva # timeout=10 [2020-07-23T09:10:14.518Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-07-23T09:10:14.560Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-07-23T09:10:14.560Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-23T09:10:14.572Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/geneva:refs/remotes/origin/geneva # timeout=10 [2020-07-23T09:10:15.051Z] > git config core.sparsecheckout # timeout=10 [2020-07-23T09:10:15.076Z] > git checkout -f 2c055263c90b1575009cf35c07aefd2acc805cd1 # timeout=10 [2020-07-23T09:10:19.381Z] Commit message: "Merge pull request #283 from iain-anderson/issue-278-geneva" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-07-23T09:10:20.805Z] ========================================================= [2020-07-23T09:10:20.805Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2020-07-23T09:10:20.805Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-23T09:10:21.953Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-3.9-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2020-07-23T09:10:22.930Z] Sending build context to Docker daemon 3.336MB [2020-07-23T09:10:22.930Z] Step 1/21 : ARG BASE=alpine:3.9 [2020-07-23T09:10:22.930Z] Step 2/21 : FROM ${BASE} as builder [2020-07-23T09:10:23.527Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2020-07-23T09:10:23.527Z] 0362ad1dd800: Pulling fs layer [2020-07-23T09:10:23.527Z] f2cdb1532d8b: Pulling fs layer [2020-07-23T09:10:23.527Z] 37ed683be191: Pulling fs layer [2020-07-23T09:10:23.527Z] f2cdb1532d8b: Verifying Checksum [2020-07-23T09:10:23.527Z] f2cdb1532d8b: Download complete [2020-07-23T09:10:23.527Z] 0362ad1dd800: Verifying Checksum [2020-07-23T09:10:23.527Z] 0362ad1dd800: Download complete [2020-07-23T09:10:24.514Z] 0362ad1dd800: Pull complete [2020-07-23T09:10:24.788Z] f2cdb1532d8b: Pull complete [2020-07-23T09:10:25.769Z] 37ed683be191: Verifying Checksum [2020-07-23T09:10:25.769Z] 37ed683be191: Download complete [2020-07-23T09:10:29.529Z] Running on prd-centos7-docker-4c-2g-712 in /w/workspace/edgexfoundry_device-sdk-c_geneva [Pipeline] { [Pipeline] ws [2020-07-23T09:10:29.567Z] Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout [2020-07-23T09:10:32.150Z] using credential edgex-jenkins-ssh [2020-07-23T09:10:32.198Z] Cloning the remote Git repository [2020-07-23T09:10:32.198Z] Cloning with configured refspecs honoured and without tags [2020-07-23T09:10:32.180Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-07-23T09:10:32.251Z] > git init /w/workspace/device-sdk-c/2 # timeout=10 [2020-07-23T09:10:32.300Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-07-23T09:10:32.301Z] > git --version # timeout=10 [2020-07-23T09:10:32.308Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-23T09:10:32.334Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/geneva:refs/remotes/origin/geneva # timeout=10 [2020-07-23T09:10:32.987Z] Fetching without tags [2020-07-23T09:10:33.434Z] Checking out Revision 2c055263c90b1575009cf35c07aefd2acc805cd1 (geneva) [2020-07-23T09:10:32.958Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-07-23T09:10:32.963Z] > git config --add remote.origin.fetch +refs/heads/geneva:refs/remotes/origin/geneva # timeout=10 [2020-07-23T09:10:32.976Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-07-23T09:10:32.987Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-07-23T09:10:32.987Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-23T09:10:32.991Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/geneva:refs/remotes/origin/geneva # timeout=10 [2020-07-23T09:10:33.438Z] > git config core.sparsecheckout # timeout=10 [2020-07-23T09:10:33.443Z] > git checkout -f 2c055263c90b1575009cf35c07aefd2acc805cd1 # timeout=10 [2020-07-23T09:10:35.931Z] 37ed683be191: Pull complete [2020-07-23T09:10:35.932Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2020-07-23T09:10:35.932Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2020-07-23T09:10:35.932Z] ---> b23d30803547 [2020-07-23T09:10:35.932Z] Step 3/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev [2020-07-23T09:10:36.913Z] ---> Running in 991c135860db [2020-07-23T09:10:36.996Z] Commit message: "Merge pull request #283 from iain-anderson/issue-278-geneva" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-07-23T09:10:37.742Z] ========================================================= [2020-07-23T09:10:37.742Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2020-07-23T09:10:37.742Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-23T09:10:38.349Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-07-23T09:10:38.356Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-3.9-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2020-07-23T09:10:38.620Z] Sending build context to Docker daemon 3.336MB [2020-07-23T09:10:38.620Z] Step 1/21 : ARG BASE=alpine:3.9 [2020-07-23T09:10:38.620Z] Step 2/21 : FROM ${BASE} as builder [2020-07-23T09:10:38.620Z] latest: Pulling from edgex-devops/edgex-gcc-base [2020-07-23T09:10:38.620Z] e7c96db7181b: Pulling fs layer [2020-07-23T09:10:38.620Z] 4c13bbce0fe7: Pulling fs layer [2020-07-23T09:10:38.620Z] 6059c847ac2f: Pulling fs layer [2020-07-23T09:10:38.621Z] 4c13bbce0fe7: Download complete [2020-07-23T09:10:38.886Z] e7c96db7181b: Verifying Checksum [2020-07-23T09:10:38.886Z] e7c96db7181b: Download complete [2020-07-23T09:10:38.886Z] e7c96db7181b: Pull complete [2020-07-23T09:10:39.323Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-07-23T09:10:39.470Z] 4c13bbce0fe7: Pull complete [2020-07-23T09:10:39.595Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-07-23T09:10:39.734Z] 6059c847ac2f: Verifying Checksum [2020-07-23T09:10:39.734Z] 6059c847ac2f: Download complete [2020-07-23T09:10:39.865Z] (2/8) Installing libuuid (2.33-r0) [2020-07-23T09:10:39.865Z] (3/8) Installing libblkid (2.33-r0) [2020-07-23T09:10:40.138Z] (4/8) Installing libfdisk (2.33-r0) [2020-07-23T09:10:40.138Z] (5/8) Installing libmount (2.33-r0) [2020-07-23T09:10:40.138Z] (6/8) Installing libsmartcols (2.33-r0) [2020-07-23T09:10:40.409Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-07-23T09:10:40.409Z] (8/8) Installing wget (1.20.3-r0) [2020-07-23T09:10:40.683Z] Executing busybox-1.29.3-r10.trigger [2020-07-23T09:10:40.683Z] OK: 285 MiB in 83 packages [2020-07-23T09:10:42.126Z] Removing intermediate container 991c135860db [2020-07-23T09:10:42.126Z] ---> 6ef0743211af [2020-07-23T09:10:42.126Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-07-23T09:10:42.126Z] ---> Running in 1cf80f8b6dfb [2020-07-23T09:10:42.408Z] Removing intermediate container 1cf80f8b6dfb [2020-07-23T09:10:42.408Z] ---> eeb31e7e9e14 [2020-07-23T09:10:42.408Z] Step 5/21 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2020-07-23T09:10:42.683Z] ---> Running in 95f324d5945c [2020-07-23T09:10:43.970Z] 6059c847ac2f: Pull complete [2020-07-23T09:10:43.970Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2020-07-23T09:10:43.970Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2020-07-23T09:10:43.970Z] ---> 5eabd8fd8ba2 [2020-07-23T09:10:43.970Z] Step 3/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev [2020-07-23T09:10:44.120Z] --2020-07-23 09:10:43-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-07-23T09:10:44.120Z] Resolving github.com... 140.82.113.4 [2020-07-23T09:10:44.120Z] Connecting to github.com|140.82.113.4|:443... connected. [2020-07-23T09:10:44.402Z] HTTP request sent, awaiting response... 302 Found [2020-07-23T09:10:44.402Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-07-23T09:10:44.402Z] --2020-07-23 09:10:44-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-07-23T09:10:44.402Z] Resolving codeload.github.com... 140.82.112.10 [2020-07-23T09:10:44.402Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2020-07-23T09:10:44.402Z] HTTP request sent, awaiting response... 200 OK [2020-07-23T09:10:44.402Z] Length: unspecified [application/x-gzip] [2020-07-23T09:10:44.402Z] Saving to: 'STDOUT' [2020-07-23T09:10:44.402Z] [2020-07-23T09:10:44.402Z] 0K .......... .......... .......... .......... .......... 1.55M [2020-07-23T09:10:44.402Z] 50K .......... .......... .......... .......... .......... 2.76M [2020-07-23T09:10:44.402Z] 100K .......... .......... .......... .......... .......... 13.7M [2020-07-23T09:10:44.678Z] 150K .......... .......... .......... .......... .......... 3.28M [2020-07-23T09:10:44.678Z] 200K .......... .......... .......... .......... .......... 11.7M [2020-07-23T09:10:44.678Z] 250K .......... .......... .......... .......... .......... 3.36M [2020-07-23T09:10:44.678Z] 300K .......... .......... .......... .......... .......... 2.99M [2020-07-23T09:10:44.678Z] 350K .......... .......... .......... .......... .......... 4.27M [2020-07-23T09:10:44.678Z] 400K .......... .......... .......... .......... .......... 4.18M [2020-07-23T09:10:44.678Z] 450K .......... .......... .......... .......... .......... 3.79M [2020-07-23T09:10:44.678Z] 500K .......... .......... .......... .......... .......... 8.05M [2020-07-23T09:10:44.678Z] 550K .......... .......... .......... .......... .......... 2.62M [2020-07-23T09:10:44.678Z] 600K .......... .......... .......... .......... .......... 826K [2020-07-23T09:10:44.678Z] 650K .......... .......... .......... .......... .......... 3.29M [2020-07-23T09:10:44.678Z] 700K .. 367K=0.2s [2020-07-23T09:10:44.678Z] [2020-07-23T09:10:44.678Z] 2020-07-23 09:10:44 (2.79 MB/s) - written to stdout [719348] [2020-07-23T09:10:44.678Z] [2020-07-23T09:10:44.950Z] -- The C compiler identification is GNU 8.3.0 [2020-07-23T09:10:45.222Z] -- The CXX compiler identification is GNU 8.3.0 [2020-07-23T09:10:45.222Z] -- Check for working C compiler: /usr/bin/cc [2020-07-23T09:10:45.495Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-07-23T09:10:45.495Z] -- Detecting C compiler ABI info [2020-07-23T09:10:45.770Z] -- Detecting C compiler ABI info - done [2020-07-23T09:10:45.770Z] -- Detecting C compile features [2020-07-23T09:10:45.895Z] ---> Running in e03efd13c757 [2020-07-23T09:10:46.364Z] -- Detecting C compile features - done [2020-07-23T09:10:46.364Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-07-23T09:10:46.475Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-07-23T09:10:46.635Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-07-23T09:10:46.635Z] -- Detecting CXX compiler ABI info [2020-07-23T09:10:46.906Z] -- Detecting CXX compiler ABI info - done [2020-07-23T09:10:46.906Z] -- Detecting CXX compile features [2020-07-23T09:10:47.050Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-07-23T09:10:47.310Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-07-23T09:10:47.310Z] (2/8) Installing libuuid (2.33-r0) [2020-07-23T09:10:47.571Z] (3/8) Installing libblkid (2.33-r0) [2020-07-23T09:10:47.571Z] (4/8) Installing libfdisk (2.33-r0) [2020-07-23T09:10:47.831Z] (5/8) Installing libmount (2.33-r0) [2020-07-23T09:10:47.831Z] (6/8) Installing libsmartcols (2.33-r0) [2020-07-23T09:10:47.831Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-07-23T09:10:48.092Z] (8/8) Installing wget (1.20.3-r0) [2020-07-23T09:10:48.352Z] Executing busybox-1.29.3-r10.trigger [2020-07-23T09:10:48.352Z] OK: 272 MiB in 83 packages [2020-07-23T09:10:48.875Z] -- Detecting CXX compile features - done [2020-07-23T09:10:48.875Z] -- Looking for include file endian.h [2020-07-23T09:10:48.875Z] -- Looking for include file endian.h - found [2020-07-23T09:10:48.875Z] -- Check if the system is big endian [2020-07-23T09:10:48.875Z] -- Searching 16 bit integer [2020-07-23T09:10:48.875Z] -- Looking for sys/types.h [2020-07-23T09:10:48.875Z] -- Looking for sys/types.h - found [2020-07-23T09:10:48.875Z] -- Looking for stdint.h [2020-07-23T09:10:48.923Z] Removing intermediate container e03efd13c757 [2020-07-23T09:10:48.923Z] ---> f7bad6f8dbe9 [2020-07-23T09:10:48.923Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-07-23T09:10:48.923Z] ---> Running in 54db1338b0db [2020-07-23T09:10:48.923Z] Removing intermediate container 54db1338b0db [2020-07-23T09:10:49.153Z] -- Looking for stdint.h - found [2020-07-23T09:10:49.153Z] -- Looking for stddef.h [2020-07-23T09:10:49.184Z] ---> 986587eec41b [2020-07-23T09:10:49.184Z] Step 5/21 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2020-07-23T09:10:49.184Z] ---> Running in 9c57c9ae1c47 [2020-07-23T09:10:49.426Z] -- Looking for stddef.h - found [2020-07-23T09:10:49.427Z] -- Check size of unsigned short [2020-07-23T09:10:49.457Z] --2020-07-23 09:10:49-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-07-23T09:10:49.457Z] Resolving github.com... 140.82.113.4 [2020-07-23T09:10:49.457Z] Connecting to github.com|140.82.113.4|:443... connected. [2020-07-23T09:10:49.457Z] HTTP request sent, awaiting response... 302 Found [2020-07-23T09:10:49.457Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-07-23T09:10:49.457Z] --2020-07-23 09:10:49-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-07-23T09:10:49.457Z] Resolving codeload.github.com... 140.82.112.10 [2020-07-23T09:10:49.700Z] -- Check size of unsigned short - done [2020-07-23T09:10:49.700Z] -- Using unsigned short [2020-07-23T09:10:49.724Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2020-07-23T09:10:49.724Z] HTTP request sent, awaiting response... 200 OK [2020-07-23T09:10:49.724Z] Length: unspecified [application/x-gzip] [2020-07-23T09:10:49.724Z] Saving to: 'STDOUT' [2020-07-23T09:10:49.724Z]  [2020-07-23T09:10:49.724Z] 0K .......... .......... .......... .......... .......... 1.60M [2020-07-23T09:10:49.724Z] 50K .......... .......... .......... .......... .......... 3.46M [2020-07-23T09:10:49.724Z] 100K .......... .......... .......... .......... .......... 22.8M [2020-07-23T09:10:49.724Z] 150K .......... .......... .......... .......... .......... 3.85M [2020-07-23T09:10:49.724Z] 200K .......... .......... .......... .......... .......... 52.6M [2020-07-23T09:10:49.724Z] 250K .......... .......... .......... .......... .......... 8.10M [2020-07-23T09:10:49.724Z] 300K .......... .......... .......... .......... .......... 9.11M [2020-07-23T09:10:49.724Z] 350K .......... .......... .......... .......... .......... 9.70M [2020-07-23T09:10:49.724Z] 400K .......... .......... .......... .......... .......... 7.56M [2020-07-23T09:10:49.725Z] 450K .......... .......... .......... .......... .......... 6.66M [2020-07-23T09:10:49.725Z] 500K .......... .......... .......... .......... .......... 22.8M [2020-07-23T09:10:49.725Z] 550K .......... .......... .......... .......... .......... 6.52M [2020-07-23T09:10:49.725Z] 600K .......... .......... .......... .......... .......... 2.19M [2020-07-23T09:10:49.725Z] 650K .......... .......... .......... .......... .......... 3.91M [2020-07-23T09:10:49.725Z] 700K .. 47.5M=0.1s [2020-07-23T09:10:49.725Z] [2020-07-23T09:10:49.725Z] 2020-07-23 09:10:49 (5.08 MB/s) - written to stdout [719348] [2020-07-23T09:10:49.725Z] [2020-07-23T09:10:49.978Z] -- Check if the system is big endian - little endian [2020-07-23T09:10:49.978Z] -- Check size of size_t [2020-07-23T09:10:49.987Z] -- The C compiler identification is GNU 8.3.0 [2020-07-23T09:10:49.987Z] -- The CXX compiler identification is GNU 8.3.0 [2020-07-23T09:10:49.987Z] -- Check for working C compiler: /usr/bin/cc [2020-07-23T09:10:50.250Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-07-23T09:10:50.250Z] -- Detecting C compiler ABI info [2020-07-23T09:10:50.250Z] -- Detecting C compiler ABI info - done [2020-07-23T09:10:50.250Z] -- Detecting C compile features [2020-07-23T09:10:50.261Z] -- Check size of size_t - done [2020-07-23T09:10:50.261Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-07-23T09:10:50.261Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-07-23T09:10:50.261Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-07-23T09:10:50.261Z] CMake did not find one. [2020-07-23T09:10:50.261Z] [2020-07-23T09:10:50.261Z] Could not find a package configuration file provided by "cJSON" with any of [2020-07-23T09:10:50.261Z] the following names: [2020-07-23T09:10:50.261Z] [2020-07-23T09:10:50.261Z] cJSONConfig.cmake [2020-07-23T09:10:50.261Z] cjson-config.cmake [2020-07-23T09:10:50.261Z] [2020-07-23T09:10:50.261Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-07-23T09:10:50.261Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-07-23T09:10:50.261Z] provides a separate development package or SDK, be sure it has been [2020-07-23T09:10:50.261Z] installed. [2020-07-23T09:10:50.261Z] [2020-07-23T09:10:50.261Z] [2020-07-23T09:10:50.261Z] -- Configuring done [2020-07-23T09:10:50.511Z] -- Detecting C compile features - done [2020-07-23T09:10:50.511Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-07-23T09:10:50.511Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-07-23T09:10:50.511Z] -- Detecting CXX compiler ABI info [2020-07-23T09:10:50.511Z] -- Detecting CXX compiler ABI info - done [2020-07-23T09:10:50.511Z] -- Detecting CXX compile features [2020-07-23T09:10:50.534Z] -- Generating done [2020-07-23T09:10:50.534Z] -- Build files have been written to: /tmp/cbor [2020-07-23T09:10:50.534Z] Scanning dependencies of target cbor_shared [2020-07-23T09:10:50.534Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-07-23T09:10:51.084Z] -- Detecting CXX compile features - done [2020-07-23T09:10:51.084Z] -- Looking for include file endian.h [2020-07-23T09:10:51.084Z] -- Looking for include file endian.h - found [2020-07-23T09:10:51.084Z] -- Check if the system is big endian [2020-07-23T09:10:51.084Z] -- Searching 16 bit integer [2020-07-23T09:10:51.084Z] -- Looking for sys/types.h [2020-07-23T09:10:51.345Z] -- Looking for sys/types.h - found [2020-07-23T09:10:51.345Z] -- Looking for stdint.h [2020-07-23T09:10:51.345Z] -- Looking for stdint.h - found [2020-07-23T09:10:51.345Z] -- Looking for stddef.h [2020-07-23T09:10:51.345Z] -- Looking for stddef.h - found [2020-07-23T09:10:51.345Z] -- Check size of unsigned short [2020-07-23T09:10:51.345Z] -- Check size of unsigned short - done [2020-07-23T09:10:51.345Z] -- Using unsigned short [2020-07-23T09:10:51.506Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-07-23T09:10:51.606Z] -- Check if the system is big endian - little endian [2020-07-23T09:10:51.606Z] -- Check size of size_t [2020-07-23T09:10:51.606Z] -- Check size of size_t - done [2020-07-23T09:10:51.606Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-07-23T09:10:51.606Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-07-23T09:10:51.606Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-07-23T09:10:51.606Z] CMake did not find one. [2020-07-23T09:10:51.606Z] [2020-07-23T09:10:51.606Z] Could not find a package configuration file provided by "cJSON" with any of [2020-07-23T09:10:51.606Z] the following names: [2020-07-23T09:10:51.606Z] [2020-07-23T09:10:51.606Z] cJSONConfig.cmake [2020-07-23T09:10:51.606Z] cjson-config.cmake [2020-07-23T09:10:51.606Z] [2020-07-23T09:10:51.606Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-07-23T09:10:51.606Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-07-23T09:10:51.606Z] provides a separate development package or SDK, be sure it has been [2020-07-23T09:10:51.606Z] installed. [2020-07-23T09:10:51.606Z] [2020-07-23T09:10:51.606Z] [2020-07-23T09:10:51.606Z] -- Configuring done [2020-07-23T09:10:51.606Z] -- Generating done [2020-07-23T09:10:51.866Z] -- Build files have been written to: /tmp/cbor [2020-07-23T09:10:51.866Z] Scanning dependencies of target cbor_shared [2020-07-23T09:10:51.866Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-07-23T09:10:51.866Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-07-23T09:10:52.101Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-07-23T09:10:52.101Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-07-23T09:10:52.126Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-07-23T09:10:52.126Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-07-23T09:10:52.387Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-07-23T09:10:52.387Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-07-23T09:10:52.387Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-07-23T09:10:52.648Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-07-23T09:10:52.648Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-07-23T09:10:52.648Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-07-23T09:10:52.694Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-07-23T09:10:52.909Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-07-23T09:10:52.909Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-07-23T09:10:52.909Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-07-23T09:10:52.967Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-07-23T09:10:53.171Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-07-23T09:10:53.171Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-07-23T09:10:53.171Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-07-23T09:10:53.242Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-07-23T09:10:53.242Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-07-23T09:10:53.431Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-07-23T09:10:53.431Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-07-23T09:10:53.431Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-07-23T09:10:53.516Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-07-23T09:10:53.693Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-07-23T09:10:53.693Z] [ 40%] Linking C shared library libcbor.so [2020-07-23T09:10:53.693Z] [ 40%] Built target cbor_shared [2020-07-23T09:10:53.693Z] Scanning dependencies of target cbor [2020-07-23T09:10:53.693Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-07-23T09:10:53.791Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-07-23T09:10:53.953Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-07-23T09:10:53.953Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-07-23T09:10:54.214Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-07-23T09:10:54.383Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-07-23T09:10:54.475Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-07-23T09:10:54.475Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-07-23T09:10:54.475Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-07-23T09:10:54.475Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-07-23T09:10:54.475Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-07-23T09:10:54.663Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-07-23T09:10:54.738Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-07-23T09:10:54.738Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-07-23T09:10:54.936Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-07-23T09:10:55.002Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-07-23T09:10:55.002Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-07-23T09:10:55.263Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-07-23T09:10:55.263Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-07-23T09:10:55.263Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-07-23T09:10:55.263Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-07-23T09:10:55.525Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-07-23T09:10:55.525Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-07-23T09:10:55.525Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-07-23T09:10:55.525Z] [ 80%] Linking C static library libcbor.a [2020-07-23T09:10:55.531Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-07-23T09:10:55.531Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-07-23T09:10:55.785Z] [ 80%] Built target cbor [2020-07-23T09:10:55.785Z] Scanning dependencies of target create_items [2020-07-23T09:10:55.785Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-07-23T09:10:55.785Z] [ 84%] Linking C executable create_items [2020-07-23T09:10:55.785Z] [ 84%] Built target create_items [2020-07-23T09:10:55.785Z] Scanning dependencies of target readfile [2020-07-23T09:10:55.785Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-07-23T09:10:55.785Z] [ 88%] Linking C executable readfile [2020-07-23T09:10:55.785Z] [ 88%] Built target readfile [2020-07-23T09:10:55.785Z] Scanning dependencies of target streaming_parser [2020-07-23T09:10:55.785Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-07-23T09:10:55.804Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-07-23T09:10:56.048Z] [ 92%] Linking C executable streaming_parser [2020-07-23T09:10:56.048Z] [ 92%] Built target streaming_parser [2020-07-23T09:10:56.048Z] Scanning dependencies of target sort [2020-07-23T09:10:56.048Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-07-23T09:10:56.048Z] [ 96%] Linking C executable sort [2020-07-23T09:10:56.048Z] [ 96%] Built target sort [2020-07-23T09:10:56.048Z] Scanning dependencies of target hello [2020-07-23T09:10:56.048Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-07-23T09:10:56.048Z] [100%] Linking C executable hello [2020-07-23T09:10:56.048Z] [100%] Built target hello [2020-07-23T09:10:56.074Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-07-23T09:10:56.312Z] Install the project... [2020-07-23T09:10:56.313Z] -- Install configuration: "Release" [2020-07-23T09:10:56.313Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-07-23T09:10:56.313Z] -- Installing: /usr/local/lib64/libcbor.a [2020-07-23T09:10:56.313Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-07-23T09:10:56.313Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-07-23T09:10:56.313Z] -- Installing: /usr/local/lib64/libcbor.so [2020-07-23T09:10:56.313Z] -- Up-to-date: /usr/local/include/cbor [2020-07-23T09:10:56.313Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-07-23T09:10:56.313Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-07-23T09:10:56.313Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-07-23T09:10:56.313Z] -- Installing: /usr/local/include/cbor/common.h [2020-07-23T09:10:56.313Z] -- Installing: /usr/local/include/cbor/data.h [2020-07-23T09:10:56.313Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-07-23T09:10:56.313Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-07-23T09:10:56.313Z] -- Installing: /usr/local/include/cbor/internal [2020-07-23T09:10:56.313Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-07-23T09:10:56.313Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-07-23T09:10:56.313Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-07-23T09:10:56.313Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-07-23T09:10:56.313Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-07-23T09:10:56.313Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-07-23T09:10:56.313Z] -- Installing: /usr/local/include/cbor/ints.h [2020-07-23T09:10:56.313Z] -- Installing: /usr/local/include/cbor/maps.h [2020-07-23T09:10:56.313Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-07-23T09:10:56.313Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-07-23T09:10:56.313Z] -- Installing: /usr/local/include/cbor/strings.h [2020-07-23T09:10:56.313Z] -- Installing: /usr/local/include/cbor/tags.h [2020-07-23T09:10:56.313Z] -- Installing: /usr/local/include/cbor.h [2020-07-23T09:10:56.313Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-07-23T09:10:56.345Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-07-23T09:10:56.616Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-07-23T09:10:56.887Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-07-23T09:10:56.887Z] [ 40%] Linking C shared library libcbor.so [2020-07-23T09:10:57.162Z] [ 40%] Built target cbor_shared [2020-07-23T09:10:57.162Z] Scanning dependencies of target cbor [2020-07-23T09:10:57.162Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-07-23T09:10:58.133Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-07-23T09:10:58.403Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-07-23T09:10:58.674Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-07-23T09:10:58.859Z] Removing intermediate container 9c57c9ae1c47 [2020-07-23T09:10:58.859Z] ---> 245bbd3fd2e3 [2020-07-23T09:10:58.859Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-07-23T09:10:58.859Z] ---> Running in c7ca72f04739 [2020-07-23T09:10:59.432Z] Removing intermediate container c7ca72f04739 [2020-07-23T09:10:59.432Z] ---> 47e24bcc885a [2020-07-23T09:10:59.432Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-07-23T09:10:59.645Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-07-23T09:10:59.693Z] ---> 993c9b2e531b [2020-07-23T09:10:59.693Z] Step 8/21 : COPY src /tmp/sdk/src [2020-07-23T09:10:59.917Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-07-23T09:11:00.188Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-07-23T09:11:00.459Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-07-23T09:11:00.637Z] ---> 1876eb8e7b26 [2020-07-23T09:11:00.637Z] Step 9/21 : COPY include /tmp/sdk/include [2020-07-23T09:11:00.637Z] ---> 7ad1e227f5e3 [2020-07-23T09:11:00.637Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-07-23T09:11:00.731Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-07-23T09:11:00.898Z] ---> 68666e3fd0e5 [2020-07-23T09:11:00.898Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-07-23T09:11:01.001Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-07-23T09:11:01.160Z] ---> 33459a5c6991 [2020-07-23T09:11:01.160Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-07-23T09:11:01.160Z] ---> 7ac10ce2d196 [2020-07-23T09:11:01.160Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-07-23T09:11:01.421Z] ---> Running in 27e12a7fca0e [2020-07-23T09:11:01.593Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-07-23T09:11:01.690Z] + CPPCHECK=false [2020-07-23T09:11:01.690Z] + DOCGEN=false [2020-07-23T09:11:01.690Z] + TOMLVER=SDK-0.2 [2020-07-23T09:11:01.690Z] + CUTILVER=1.0.4 [2020-07-23T09:11:01.690Z] + '[' 0 -gt 0 ] [2020-07-23T09:11:01.690Z] + readlink -f ./scripts/build.sh [2020-07-23T09:11:01.690Z] + dirname /tmp/sdk/scripts/build.sh [2020-07-23T09:11:01.690Z] + dirname /tmp/sdk/scripts [2020-07-23T09:11:01.690Z] + ROOT=/tmp/sdk [2020-07-23T09:11:01.690Z] + cd /tmp/sdk [2020-07-23T09:11:01.690Z] + '[' '!' -d deps ] [2020-07-23T09:11:01.690Z] + mkdir deps [2020-07-23T09:11:01.690Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-07-23T09:11:01.690Z] + tar -C deps -z -x -f - [2020-07-23T09:11:01.690Z] --2020-07-23 09:11:01-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-07-23T09:11:01.690Z] Resolving github.com... 140.82.112.3 [2020-07-23T09:11:01.690Z] Connecting to github.com|140.82.112.3|:443... connected. [2020-07-23T09:11:01.865Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-07-23T09:11:01.950Z] HTTP request sent, awaiting response... 302 Found [2020-07-23T09:11:01.950Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-07-23T09:11:01.950Z] --2020-07-23 09:11:01-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-07-23T09:11:01.950Z] Resolving codeload.github.com... 140.82.112.10 [2020-07-23T09:11:01.950Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2020-07-23T09:11:02.211Z] HTTP request sent, awaiting response... 200 OK [2020-07-23T09:11:02.211Z] Length: unspecified [application/x-gzip] [2020-07-23T09:11:02.211Z] Saving to: 'STDOUT' [2020-07-23T09:11:02.211Z]  [2020-07-23T09:11:02.211Z] 0K .......... ......  1.05M=0.01s [2020-07-23T09:11:02.211Z] [2020-07-23T09:11:02.211Z] 2020-07-23 09:11:01 (1.05 MB/s) - written to stdout [16451] [2020-07-23T09:11:02.211Z] [2020-07-23T09:11:02.211Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-07-23T09:11:02.211Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-07-23T09:11:02.211Z] + tar -C deps -z -x -f - [2020-07-23T09:11:02.211Z] --2020-07-23 09:11:01-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-07-23T09:11:02.211Z] Resolving github.com... 140.82.112.3 [2020-07-23T09:11:02.211Z] Connecting to github.com|140.82.112.3|:443... connected. [2020-07-23T09:11:02.211Z] HTTP request sent, awaiting response... 302 Found [2020-07-23T09:11:02.211Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] [2020-07-23T09:11:02.211Z] --2020-07-23 09:11:02-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [2020-07-23T09:11:02.211Z] Resolving codeload.github.com... 140.82.112.10 [2020-07-23T09:11:02.211Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2020-07-23T09:11:02.457Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-07-23T09:11:02.472Z] HTTP request sent, awaiting response... 200 OK [2020-07-23T09:11:02.472Z] Length: unspecified [application/x-gzip] [2020-07-23T09:11:02.472Z] Saving to: 'STDOUT' [2020-07-23T09:11:02.472Z] [2020-07-23T09:11:02.472Z] 0K .......... .......... .......... .......... .......... 1.62M [2020-07-23T09:11:02.472Z] 50K .......... .......... .......... .......... .......... 3.22M [2020-07-23T09:11:02.472Z] 100K .......... .......... .......... .......... .......... 53.0M [2020-07-23T09:11:02.472Z] 150K ........ 7.34M=0.05s [2020-07-23T09:11:02.472Z] [2020-07-23T09:11:02.472Z] 2020-07-23 09:11:02 (3.27 MB/s) - written to stdout [162267] [2020-07-23T09:11:02.472Z] [2020-07-23T09:11:02.472Z] + mkdir -p src/c/iot [2020-07-23T09:11:02.472Z] + cp deps/iotech-c-utils-1.0.4/src/c/base64.c deps/iotech-c-utils-1.0.4/src/c/component.c deps/iotech-c-utils-1.0.4/src/c/container.c deps/iotech-c-utils-1.0.4/src/c/data.c deps/iotech-c-utils-1.0.4/src/c/hash.c deps/iotech-c-utils-1.0.4/src/c/iot.c deps/iotech-c-utils-1.0.4/src/c/json.c deps/iotech-c-utils-1.0.4/src/c/logger.c deps/iotech-c-utils-1.0.4/src/c/os.c deps/iotech-c-utils-1.0.4/src/c/scheduler.c deps/iotech-c-utils-1.0.4/src/c/thread.c deps/iotech-c-utils-1.0.4/src/c/threadpool.c deps/iotech-c-utils-1.0.4/src/c/time.c src/c/iot [2020-07-23T09:11:02.472Z] + mkdir -p include/iot [2020-07-23T09:11:02.472Z] + cp deps/iotech-c-utils-1.0.4/include/iot/base64.h deps/iotech-c-utils-1.0.4/include/iot/component.h deps/iotech-c-utils-1.0.4/include/iot/container.h deps/iotech-c-utils-1.0.4/include/iot/data.h deps/iotech-c-utils-1.0.4/include/iot/hash.h deps/iotech-c-utils-1.0.4/include/iot/iot.h deps/iotech-c-utils-1.0.4/include/iot/json.h deps/iotech-c-utils-1.0.4/include/iot/logger.h deps/iotech-c-utils-1.0.4/include/iot/os.h deps/iotech-c-utils-1.0.4/include/iot/scheduler.h deps/iotech-c-utils-1.0.4/include/iot/thread.h deps/iotech-c-utils-1.0.4/include/iot/threadpool.h deps/iotech-c-utils-1.0.4/include/iot/time.h deps/iotech-c-utils-1.0.4/include/iot/typecode.h include/iot [2020-07-23T09:11:02.472Z] + mkdir -p include/iot/os [2020-07-23T09:11:02.472Z] + cp deps/iotech-c-utils-1.0.4/include/iot/os/linux.h deps/iotech-c-utils-1.0.4/include/iot/os/zephyr.h include/iot/os [2020-07-23T09:11:02.472Z] + mkdir -p /tmp/sdk/build/release [2020-07-23T09:11:02.472Z] + cd /tmp/sdk/build/release [2020-07-23T09:11:02.472Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-07-23T09:11:02.727Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-07-23T09:11:02.732Z] -- The C compiler identification is GNU 8.3.0 [2020-07-23T09:11:02.732Z] -- Check for working C compiler: /usr/bin/cc [2020-07-23T09:11:02.732Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-07-23T09:11:02.732Z] -- Detecting C compiler ABI info [2020-07-23T09:11:02.732Z] -- Detecting C compiler ABI info - done [2020-07-23T09:11:02.732Z] -- Detecting C compile features [2020-07-23T09:11:02.993Z] -- Detecting C compile features - done [2020-07-23T09:11:02.993Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-07-23T09:11:02.993Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-07-23T09:11:02.993Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-07-23T09:11:02.993Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-07-23T09:11:02.993Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-07-23T09:11:02.993Z] -- C SDK 0.0.0 for Linux [2020-07-23T09:11:02.993Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-07-23T09:11:02.999Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-07-23T09:11:03.256Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-07-23T09:11:03.256Z] -- Found Curses: /usr/lib/libcurses.so [2020-07-23T09:11:03.256Z] -- Configuring done [2020-07-23T09:11:03.256Z] -- Generating done [2020-07-23T09:11:03.256Z] -- Build files have been written to: /tmp/sdk/build/release [2020-07-23T09:11:03.256Z] + make [2020-07-23T09:11:03.256Z] + tee release.log [2020-07-23T09:11:03.256Z] Scanning dependencies of target csdk [2020-07-23T09:11:03.256Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-07-23T09:11:03.272Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-07-23T09:11:03.517Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-07-23T09:11:03.517Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-07-23T09:11:03.544Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-07-23T09:11:03.815Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-07-23T09:11:04.086Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-07-23T09:11:04.088Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-07-23T09:11:04.349Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-07-23T09:11:04.349Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-07-23T09:11:04.356Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-07-23T09:11:04.356Z] [ 80%] Linking C static library libcbor.a [2020-07-23T09:11:04.611Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-07-23T09:11:04.628Z] [ 80%] Built target cbor [2020-07-23T09:11:04.628Z] Scanning dependencies of target create_items [2020-07-23T09:11:04.628Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-07-23T09:11:04.628Z] [ 84%] Linking C executable create_items [2020-07-23T09:11:04.872Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-07-23T09:11:04.908Z] [ 84%] Built target create_items [2020-07-23T09:11:04.908Z] Scanning dependencies of target readfile [2020-07-23T09:11:04.908Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-07-23T09:11:05.134Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-07-23T09:11:05.134Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-07-23T09:11:05.180Z] [ 88%] Linking C executable readfile [2020-07-23T09:11:05.180Z] [ 88%] Built target readfile [2020-07-23T09:11:05.180Z] Scanning dependencies of target streaming_parser [2020-07-23T09:11:05.180Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-07-23T09:11:05.395Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-07-23T09:11:05.395Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-07-23T09:11:05.452Z] [ 92%] Linking C executable streaming_parser [2020-07-23T09:11:05.453Z] [ 92%] Built target streaming_parser [2020-07-23T09:11:05.453Z] Scanning dependencies of target sort [2020-07-23T09:11:05.453Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-07-23T09:11:05.656Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-07-23T09:11:05.656Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-07-23T09:11:05.726Z] [ 96%] Linking C executable sort [2020-07-23T09:11:05.999Z] [ 96%] Built target sort [2020-07-23T09:11:05.999Z] Scanning dependencies of target hello [2020-07-23T09:11:05.999Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-07-23T09:11:05.999Z] [100%] Linking C executable hello [2020-07-23T09:11:06.271Z] [100%] Built target hello [2020-07-23T09:11:06.271Z] Install the project... [2020-07-23T09:11:06.271Z] -- Install configuration: "Release" [2020-07-23T09:11:06.271Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-07-23T09:11:06.271Z] -- Installing: /usr/local/lib64/libcbor.a [2020-07-23T09:11:06.271Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-07-23T09:11:06.271Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-07-23T09:11:06.271Z] -- Installing: /usr/local/lib64/libcbor.so [2020-07-23T09:11:06.271Z] -- Up-to-date: /usr/local/include/cbor [2020-07-23T09:11:06.271Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-07-23T09:11:06.271Z] -- Installing: /usr/local/include/cbor/ints.h [2020-07-23T09:11:06.271Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-07-23T09:11:06.271Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-07-23T09:11:06.271Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-07-23T09:11:06.271Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-07-23T09:11:06.271Z] -- Installing: /usr/local/include/cbor/data.h [2020-07-23T09:11:06.271Z] -- Installing: /usr/local/include/cbor/common.h [2020-07-23T09:11:06.271Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-07-23T09:11:06.271Z] -- Installing: /usr/local/include/cbor/strings.h [2020-07-23T09:11:06.271Z] -- Installing: /usr/local/include/cbor/tags.h [2020-07-23T09:11:06.272Z] -- Installing: /usr/local/include/cbor/internal [2020-07-23T09:11:06.272Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-07-23T09:11:06.272Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-07-23T09:11:06.272Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-07-23T09:11:06.272Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-07-23T09:11:06.272Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-07-23T09:11:06.272Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-07-23T09:11:06.272Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-07-23T09:11:06.272Z] -- Installing: /usr/local/include/cbor/maps.h [2020-07-23T09:11:06.272Z] -- Installing: /usr/local/include/cbor.h [2020-07-23T09:11:06.272Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-07-23T09:11:06.606Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-07-23T09:11:06.606Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-07-23T09:11:06.606Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-07-23T09:11:06.867Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-07-23T09:11:07.439Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-07-23T09:11:07.439Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-07-23T09:11:07.439Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-07-23T09:11:07.439Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-07-23T09:11:07.707Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-07-23T09:11:07.707Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-07-23T09:11:07.967Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-07-23T09:11:07.967Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-07-23T09:11:08.231Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-07-23T09:11:08.231Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-07-23T09:11:08.252Z] Removing intermediate container 95f324d5945c [2020-07-23T09:11:08.252Z] ---> bbfa1230c779 [2020-07-23T09:11:08.252Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-07-23T09:11:08.252Z] ---> Running in 0b45e69901a4 [2020-07-23T09:11:08.491Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-07-23T09:11:08.753Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-07-23T09:11:08.753Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-07-23T09:11:09.697Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-07-23T09:11:09.957Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-07-23T09:11:09.957Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-07-23T09:11:10.217Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-07-23T09:11:10.478Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-07-23T09:11:10.865Z] Removing intermediate container 0b45e69901a4 [2020-07-23T09:11:10.865Z] ---> bb972ed268aa [2020-07-23T09:11:10.865Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-07-23T09:11:11.050Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-07-23T09:11:11.461Z] ---> 15bcb6a59eee [2020-07-23T09:11:11.461Z] Step 8/21 : COPY src /tmp/sdk/src [2020-07-23T09:11:11.991Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-07-23T09:11:11.991Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-07-23T09:11:12.438Z] ---> 07bd08140fae [2020-07-23T09:11:12.438Z] Step 9/21 : COPY include /tmp/sdk/include [2020-07-23T09:11:12.563Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-07-23T09:11:12.563Z] [ 65%] Linking C shared library libcsdk.so [2020-07-23T09:11:12.563Z] [ 65%] Built target csdk [2020-07-23T09:11:12.563Z] Scanning dependencies of target template [2020-07-23T09:11:12.563Z] [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-07-23T09:11:12.823Z] [ 68%] Linking C executable template [2020-07-23T09:11:12.823Z] [ 68%] Built target template [2020-07-23T09:11:12.823Z] Scanning dependencies of target device-counter [2020-07-23T09:11:12.823Z] [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-07-23T09:11:12.823Z] [ 71%] Linking C executable device-counter [2020-07-23T09:11:13.031Z] ---> c18adbc730d1 [2020-07-23T09:11:13.031Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-07-23T09:11:13.082Z] [ 71%] Built target device-counter [2020-07-23T09:11:13.083Z] Scanning dependencies of target device-random [2020-07-23T09:11:13.083Z] [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-07-23T09:11:13.083Z] [ 74%] Linking C executable device-random [2020-07-23T09:11:13.083Z] [ 74%] Built target device-random [2020-07-23T09:11:13.347Z] Scanning dependencies of target device-gyro [2020-07-23T09:11:13.347Z] [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-07-23T09:11:13.347Z] [ 77%] Linking C executable device-gyro [2020-07-23T09:11:13.347Z] [ 77%] Built target device-gyro [2020-07-23T09:11:13.347Z] Scanning dependencies of target template-discovery [2020-07-23T09:11:13.347Z] [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-07-23T09:11:13.606Z] [ 80%] Linking C executable template-discovery [2020-07-23T09:11:13.607Z] [ 80%] Built target template-discovery [2020-07-23T09:11:13.607Z] Scanning dependencies of target device-terminal [2020-07-23T09:11:13.607Z] [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-07-23T09:11:13.625Z] ---> 35d459c777c6 [2020-07-23T09:11:13.625Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-07-23T09:11:13.867Z] [ 84%] Linking C executable device-terminal [2020-07-23T09:11:13.867Z] [ 84%] Built target device-terminal [2020-07-23T09:11:13.867Z] Scanning dependencies of target template2 [2020-07-23T09:11:13.867Z] [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-07-23T09:11:14.127Z] [ 87%] Linking C executable template2 [2020-07-23T09:11:14.127Z] [ 87%] Built target template2 [2020-07-23T09:11:14.127Z] Scanning dependencies of target device-counterv2 [2020-07-23T09:11:14.127Z] [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-07-23T09:11:14.127Z] [ 90%] Linking C executable device-counterv2 [2020-07-23T09:11:14.388Z] [ 90%] Built target device-counterv2 [2020-07-23T09:11:14.388Z] Scanning dependencies of target device-gyrov2 [2020-07-23T09:11:14.388Z] [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o [2020-07-23T09:11:14.388Z] [ 93%] Linking C executable device-gyrov2 [2020-07-23T09:11:14.388Z] [ 93%] Built target device-gyrov2 [2020-07-23T09:11:14.388Z] Scanning dependencies of target device-randomv2 [2020-07-23T09:11:14.388Z] [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-07-23T09:11:14.604Z] ---> 8f2e4566546b [2020-07-23T09:11:14.604Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-07-23T09:11:14.650Z] [ 96%] Linking C executable device-randomv2 [2020-07-23T09:11:14.650Z] [ 96%] Built target device-randomv2 [2020-07-23T09:11:14.650Z] Scanning dependencies of target device-terminalv2 [2020-07-23T09:11:14.650Z] [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o [2020-07-23T09:11:14.911Z] [100%] Linking C executable device-terminalv2 [2020-07-23T09:11:14.911Z] [100%] Built target device-terminalv2 [2020-07-23T09:11:14.911Z] + make package [2020-07-23T09:11:14.911Z] + tee -a release.log [2020-07-23T09:11:14.911Z] [ 65%] Built target csdk [2020-07-23T09:11:14.911Z] [ 68%] Built target template [2020-07-23T09:11:14.911Z] [ 71%] Built target device-counter [2020-07-23T09:11:15.173Z] [ 74%] Built target device-random [2020-07-23T09:11:15.173Z] [ 77%] Built target device-gyro [2020-07-23T09:11:15.173Z] [ 80%] Built target template-discovery [2020-07-23T09:11:15.173Z] [ 84%] Built target device-terminal [2020-07-23T09:11:15.173Z] [ 87%] Built target template2 [2020-07-23T09:11:15.173Z] [ 90%] Built target device-counterv2 [2020-07-23T09:11:15.173Z] [ 93%] Built target device-gyrov2 [2020-07-23T09:11:15.173Z] [ 96%] Built target device-randomv2 [2020-07-23T09:11:15.173Z] [100%] Built target device-terminalv2 [2020-07-23T09:11:15.173Z] Run CPack packaging tool... [2020-07-23T09:11:15.173Z] CPack: Create package using TGZ [2020-07-23T09:11:15.173Z] CPack: Install projects [2020-07-23T09:11:15.173Z] CPack: - Run preinstall target for: Csdk [2020-07-23T09:11:15.199Z] ---> 6bc0d4cb31d8 [2020-07-23T09:11:15.200Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-07-23T09:11:15.200Z] ---> Running in bb7f87e4e956 [2020-07-23T09:11:15.434Z] CPack: - Install project: Csdk [2020-07-23T09:11:15.434Z] CPack: Create package [2020-07-23T09:11:15.434Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2020-07-23T09:11:15.434Z] + '[' false '=' true ] [2020-07-23T09:11:15.434Z] + '[' false '=' true ] [2020-07-23T09:11:15.434Z] + mkdir -p /tmp/sdk/build/debug [2020-07-23T09:11:15.434Z] + cd /tmp/sdk/build/debug [2020-07-23T09:11:15.434Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-07-23T09:11:15.694Z] -- The C compiler identification is GNU 8.3.0 [2020-07-23T09:11:15.694Z] -- Check for working C compiler: /usr/bin/cc [2020-07-23T09:11:15.694Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-07-23T09:11:15.694Z] -- Detecting C compiler ABI info [2020-07-23T09:11:15.694Z] -- Detecting C compiler ABI info - done [2020-07-23T09:11:15.694Z] -- Detecting C compile features [2020-07-23T09:11:15.954Z] -- Detecting C compile features - done [2020-07-23T09:11:15.954Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-07-23T09:11:15.954Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-07-23T09:11:15.954Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-07-23T09:11:15.954Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-07-23T09:11:15.954Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-07-23T09:11:15.954Z] -- C SDK 0.0.0 for Linux [2020-07-23T09:11:15.954Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-07-23T09:11:16.213Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-07-23T09:11:16.213Z] -- Found Curses: /usr/lib/libcurses.so [2020-07-23T09:11:16.213Z] -- Configuring done [2020-07-23T09:11:16.213Z] -- Generating done [2020-07-23T09:11:16.213Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-07-23T09:11:16.213Z] + make [2020-07-23T09:11:16.213Z] + tee debug.log [2020-07-23T09:11:16.213Z] Scanning dependencies of target csdk [2020-07-23T09:11:16.213Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-07-23T09:11:16.473Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-07-23T09:11:16.473Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-07-23T09:11:16.625Z] + CPPCHECK=false [2020-07-23T09:11:16.625Z] + DOCGEN=false [2020-07-23T09:11:16.625Z] + TOMLVER=SDK-0.2 [2020-07-23T09:11:16.625Z] + CUTILVER=1.0.4 [2020-07-23T09:11:16.625Z] + '[' 0 -gt 0 ] [2020-07-23T09:11:16.625Z] + readlink -f ./scripts/build.sh [2020-07-23T09:11:16.625Z] + dirname /tmp/sdk/scripts/build.sh [2020-07-23T09:11:16.625Z] + dirname /tmp/sdk/scripts [2020-07-23T09:11:16.625Z] + ROOT=/tmp/sdk [2020-07-23T09:11:16.625Z] + cd /tmp/sdk [2020-07-23T09:11:16.625Z] + '[' '!' -d deps ] [2020-07-23T09:11:16.625Z] + mkdir deps [2020-07-23T09:11:16.625Z] + + tarwget -C -O deps - -z https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz -x [2020-07-23T09:11:16.625Z] -f - [2020-07-23T09:11:16.625Z] --2020-07-23 09:11:16-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-07-23T09:11:16.625Z] Resolving github.com... 140.82.112.3 [2020-07-23T09:11:16.625Z] Connecting to github.com|140.82.112.3|:443... connected. [2020-07-23T09:11:16.732Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-07-23T09:11:16.732Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-07-23T09:11:16.732Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-07-23T09:11:16.896Z] HTTP request sent, awaiting response... 302 Found [2020-07-23T09:11:16.897Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-07-23T09:11:16.897Z] --2020-07-23 09:11:16-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-07-23T09:11:16.897Z] Resolving codeload.github.com... 140.82.112.10 [2020-07-23T09:11:16.897Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2020-07-23T09:11:16.897Z] HTTP request sent, awaiting response... 200 OK [2020-07-23T09:11:16.897Z] Length: unspecified [application/x-gzip] [2020-07-23T09:11:16.897Z] Saving to: 'STDOUT' [2020-07-23T09:11:16.897Z]  [2020-07-23T09:11:16.897Z] 0K .......... ......  1.08M=0.01s [2020-07-23T09:11:16.897Z] [2020-07-23T09:11:16.897Z] 2020-07-23 09:11:16 (1.08 MB/s) - written to stdout [16451] [2020-07-23T09:11:16.897Z] [2020-07-23T09:11:16.897Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-07-23T09:11:16.897Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-07-23T09:11:16.897Z] + tar -C deps -z -x -f - [2020-07-23T09:11:16.897Z] --2020-07-23 09:11:16-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-07-23T09:11:16.897Z] Resolving github.com... 140.82.112.3 [2020-07-23T09:11:16.897Z] Connecting to github.com|140.82.112.3|:443... connected. [2020-07-23T09:11:16.992Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-07-23T09:11:16.992Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-07-23T09:11:16.992Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-07-23T09:11:17.169Z] HTTP request sent, awaiting response... 302 Found [2020-07-23T09:11:17.169Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] [2020-07-23T09:11:17.169Z] --2020-07-23 09:11:16-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [2020-07-23T09:11:17.169Z] Resolving codeload.github.com... 140.82.112.10 [2020-07-23T09:11:17.169Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2020-07-23T09:11:17.169Z] HTTP request sent, awaiting response... 200 OK [2020-07-23T09:11:17.169Z] Length: unspecified [application/x-gzip] [2020-07-23T09:11:17.169Z] Saving to: 'STDOUT' [2020-07-23T09:11:17.169Z]  [2020-07-23T09:11:17.169Z] 0K .......... .......... .......... .......... .......... 1.56M [2020-07-23T09:11:17.169Z] 50K .......... .......... .......... .......... .......... 3.46M [2020-07-23T09:11:17.169Z] 100K .......... .......... .......... .......... .......... 4.14M [2020-07-23T09:11:17.169Z] 150K ........ 5.31M=0.06s [2020-07-23T09:11:17.169Z] [2020-07-23T09:11:17.169Z] 2020-07-23 09:11:17 (2.63 MB/s) - written to stdout [162267] [2020-07-23T09:11:17.169Z] [2020-07-23T09:11:17.169Z] + mkdir -p src/c/iot [2020-07-23T09:11:17.169Z] + cp deps/iotech-c-utils-1.0.4/src/c/base64.c deps/iotech-c-utils-1.0.4/src/c/component.c deps/iotech-c-utils-1.0.4/src/c/container.c deps/iotech-c-utils-1.0.4/src/c/data.c deps/iotech-c-utils-1.0.4/src/c/hash.c deps/iotech-c-utils-1.0.4/src/c/iot.c deps/iotech-c-utils-1.0.4/src/c/json.c deps/iotech-c-utils-1.0.4/src/c/logger.c deps/iotech-c-utils-1.0.4/src/c/os.c deps/iotech-c-utils-1.0.4/src/c/scheduler.c deps/iotech-c-utils-1.0.4/src/c/thread.c deps/iotech-c-utils-1.0.4/src/c/threadpool.c deps/iotech-c-utils-1.0.4/src/c/time.c src/c/iot [2020-07-23T09:11:17.169Z] + mkdir -p include/iot [2020-07-23T09:11:17.169Z] + cp deps/iotech-c-utils-1.0.4/include/iot/base64.h deps/iotech-c-utils-1.0.4/include/iot/component.h deps/iotech-c-utils-1.0.4/include/iot/container.h deps/iotech-c-utils-1.0.4/include/iot/data.h deps/iotech-c-utils-1.0.4/include/iot/hash.h deps/iotech-c-utils-1.0.4/include/iot/iot.h deps/iotech-c-utils-1.0.4/include/iot/json.h deps/iotech-c-utils-1.0.4/include/iot/logger.h deps/iotech-c-utils-1.0.4/include/iot/os.h deps/iotech-c-utils-1.0.4/include/iot/scheduler.h deps/iotech-c-utils-1.0.4/include/iot/thread.h deps/iotech-c-utils-1.0.4/include/iot/threadpool.h deps/iotech-c-utils-1.0.4/include/iot/time.h deps/iotech-c-utils-1.0.4/include/iot/typecode.h include/iot [2020-07-23T09:11:17.169Z] + mkdir -p include/iot/os [2020-07-23T09:11:17.169Z] + cp deps/iotech-c-utils-1.0.4/include/iot/os/linux.h deps/iotech-c-utils-1.0.4/include/iot/os/zephyr.h include/iot/os [2020-07-23T09:11:17.169Z] + mkdir -p /tmp/sdk/build/release [2020-07-23T09:11:17.169Z] + cd /tmp/sdk/build/release [2020-07-23T09:11:17.169Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-07-23T09:11:17.251Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-07-23T09:11:17.251Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-07-23T09:11:17.251Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-07-23T09:11:17.251Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-07-23T09:11:17.441Z] -- The C compiler identification is GNU 8.3.0 [2020-07-23T09:11:17.511Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-07-23T09:11:17.713Z] -- Check for working C compiler: /usr/bin/cc [2020-07-23T09:11:17.771Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-07-23T09:11:17.771Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-07-23T09:11:17.771Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-07-23T09:11:17.771Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-07-23T09:11:17.986Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-07-23T09:11:17.986Z] -- Detecting C compiler ABI info [2020-07-23T09:11:17.986Z] -- Detecting C compiler ABI info - done [2020-07-23T09:11:18.030Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-07-23T09:11:18.030Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-07-23T09:11:18.030Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-07-23T09:11:18.259Z] -- Detecting C compile features [2020-07-23T09:11:18.290Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-07-23T09:11:18.290Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-07-23T09:11:18.290Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-07-23T09:11:18.290Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-07-23T09:11:18.551Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-07-23T09:11:18.551Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-07-23T09:11:18.551Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-07-23T09:11:18.551Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-07-23T09:11:18.812Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-07-23T09:11:18.812Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-07-23T09:11:18.851Z] -- Detecting C compile features - done [2020-07-23T09:11:18.851Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-07-23T09:11:18.851Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-07-23T09:11:18.851Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-07-23T09:11:18.851Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-07-23T09:11:18.851Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-07-23T09:11:18.851Z] -- C SDK 0.0.0 for Linux [2020-07-23T09:11:18.851Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-07-23T09:11:19.073Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-07-23T09:11:19.122Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-07-23T09:11:19.122Z] -- Found Curses: /usr/lib/libcurses.so [2020-07-23T09:11:19.333Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-07-23T09:11:19.333Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-07-23T09:11:19.333Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-07-23T09:11:19.391Z] -- Configuring done [2020-07-23T09:11:19.595Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-07-23T09:11:19.662Z] -- Generating done [2020-07-23T09:11:19.662Z] -- Build files have been written to: /tmp/sdk/build/release [2020-07-23T09:11:19.662Z] + make [2020-07-23T09:11:19.662Z] + tee release.log [2020-07-23T09:11:19.662Z] Scanning dependencies of target csdk [2020-07-23T09:11:19.855Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-07-23T09:11:19.855Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-07-23T09:11:19.933Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-07-23T09:11:20.115Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-07-23T09:11:20.115Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-07-23T09:11:20.115Z] [ 65%] Linking C shared library libcsdk.so [2020-07-23T09:11:20.374Z] [ 65%] Built target csdk [2020-07-23T09:11:20.374Z] Scanning dependencies of target template [2020-07-23T09:11:20.374Z] [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-07-23T09:11:20.374Z] [ 68%] Linking C executable template [2020-07-23T09:11:20.374Z] [ 68%] Built target template [2020-07-23T09:11:20.374Z] Scanning dependencies of target device-counter [2020-07-23T09:11:20.374Z] [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-07-23T09:11:20.545Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-07-23T09:11:20.635Z] [ 71%] Linking C executable device-counter [2020-07-23T09:11:20.635Z] [ 71%] Built target device-counter [2020-07-23T09:11:20.635Z] Scanning dependencies of target device-random [2020-07-23T09:11:20.635Z] [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-07-23T09:11:20.635Z] [ 74%] Linking C executable device-random [2020-07-23T09:11:20.635Z] [ 74%] Built target device-random [2020-07-23T09:11:20.635Z] Scanning dependencies of target device-gyro [2020-07-23T09:11:20.816Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-07-23T09:11:20.894Z] [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-07-23T09:11:20.894Z] [ 77%] Linking C executable device-gyro [2020-07-23T09:11:20.894Z] [ 77%] Built target device-gyro [2020-07-23T09:11:20.894Z] Scanning dependencies of target template-discovery [2020-07-23T09:11:20.894Z] [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-07-23T09:11:20.894Z] [ 80%] Linking C executable template-discovery [2020-07-23T09:11:21.154Z] [ 80%] Built target template-discovery [2020-07-23T09:11:21.154Z] Scanning dependencies of target device-terminal [2020-07-23T09:11:21.154Z] [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-07-23T09:11:21.154Z] [ 84%] Linking C executable device-terminal [2020-07-23T09:11:21.154Z] [ 84%] Built target device-terminal [2020-07-23T09:11:21.154Z] Scanning dependencies of target template2 [2020-07-23T09:11:21.154Z] [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-07-23T09:11:21.414Z] [ 87%] Linking C executable template2 [2020-07-23T09:11:21.414Z] [ 87%] Built target template2 [2020-07-23T09:11:21.414Z] Scanning dependencies of target device-counterv2 [2020-07-23T09:11:21.414Z] [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-07-23T09:11:21.414Z] [ 90%] Linking C executable device-counterv2 [2020-07-23T09:11:21.414Z] [ 90%] Built target device-counterv2 [2020-07-23T09:11:21.674Z] Scanning dependencies of target device-gyrov2 [2020-07-23T09:11:21.674Z] [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o [2020-07-23T09:11:21.674Z] [ 93%] Linking C executable device-gyrov2 [2020-07-23T09:11:21.674Z] [ 93%] Built target device-gyrov2 [2020-07-23T09:11:21.674Z] Scanning dependencies of target device-randomv2 [2020-07-23T09:11:21.674Z] [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-07-23T09:11:21.674Z] [ 96%] Linking C executable device-randomv2 [2020-07-23T09:11:21.934Z] [ 96%] Built target device-randomv2 [2020-07-23T09:11:21.934Z] Scanning dependencies of target device-terminalv2 [2020-07-23T09:11:21.934Z] [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o [2020-07-23T09:11:21.934Z] [100%] Linking C executable device-terminalv2 [2020-07-23T09:11:21.934Z] [100%] Built target device-terminalv2 [2020-07-23T09:11:21.934Z] make: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:11:21.934Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:11:21.934Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:11:21.934Z] Scanning dependencies of target csdk [2020-07-23T09:11:21.934Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:11:21.934Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:11:22.194Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-07-23T09:11:22.454Z] [ 3%] Linking C shared library libcsdk.so [2020-07-23T09:11:22.454Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:11:22.454Z] [ 65%] Built target csdk [2020-07-23T09:11:22.454Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:11:22.454Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:11:22.454Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:11:22.454Z] [ 66%] Linking C executable template [2020-07-23T09:11:22.779Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-07-23T09:11:23.024Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:11:23.024Z] [ 68%] Built target template [2020-07-23T09:11:23.024Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:11:23.024Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:11:23.024Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:11:23.024Z] [ 69%] Linking C executable device-counter [2020-07-23T09:11:23.024Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:11:23.024Z] [ 71%] Built target device-counter [2020-07-23T09:11:23.024Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:11:23.024Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:11:23.024Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:11:23.024Z] [ 73%] Linking C executable device-random [2020-07-23T09:11:23.024Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:11:23.024Z] [ 74%] Built target device-random [2020-07-23T09:11:23.024Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:11:23.024Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:11:23.024Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:11:23.024Z] [ 76%] Linking C executable device-gyro [2020-07-23T09:11:23.283Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:11:23.283Z] [ 77%] Built target device-gyro [2020-07-23T09:11:23.283Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:11:23.283Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:11:23.283Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:11:23.283Z] [ 79%] Linking C executable template-discovery [2020-07-23T09:11:23.283Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:11:23.283Z] [ 80%] Built target template-discovery [2020-07-23T09:11:23.283Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:11:23.283Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:11:23.283Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:11:23.283Z] [ 82%] Linking C executable device-terminal [2020-07-23T09:11:23.283Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:11:23.283Z] [ 84%] Built target device-terminal [2020-07-23T09:11:23.283Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:11:23.283Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:11:23.283Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:11:23.283Z] [ 85%] Linking C executable template2 [2020-07-23T09:11:23.373Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-07-23T09:11:23.373Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-07-23T09:11:23.543Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:11:23.543Z] [ 87%] Built target template2 [2020-07-23T09:11:23.543Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:11:23.543Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:11:23.543Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:11:23.543Z] [ 88%] Linking C executable device-counterv2 [2020-07-23T09:11:23.543Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:11:23.543Z] [ 90%] Built target device-counterv2 [2020-07-23T09:11:23.543Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:11:23.543Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:11:23.543Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:11:23.543Z] [ 92%] Linking C executable device-gyrov2 [2020-07-23T09:11:23.543Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:11:23.543Z] [ 93%] Built target device-gyrov2 [2020-07-23T09:11:23.543Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:11:23.543Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:11:23.543Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:11:23.543Z] [ 95%] Linking C executable device-randomv2 [2020-07-23T09:11:23.807Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:11:23.807Z] [ 96%] Built target device-randomv2 [2020-07-23T09:11:23.807Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:11:23.807Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:11:23.807Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:11:23.807Z] [ 98%] Linking C executable device-terminalv2 [2020-07-23T09:11:23.807Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:11:23.807Z] [100%] Built target device-terminalv2 [2020-07-23T09:11:23.807Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:11:23.807Z] Install the project... [2020-07-23T09:11:23.807Z] -- Install configuration: "Release" [2020-07-23T09:11:23.807Z] -- Installing: /usr/local/lib/libcsdk.so [2020-07-23T09:11:23.807Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-07-23T09:11:23.807Z] -- Up-to-date: /usr/local/include [2020-07-23T09:11:23.807Z] -- Installing: /usr/local/include/devsdk [2020-07-23T09:11:23.807Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-07-23T09:11:23.807Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-07-23T09:11:23.807Z] -- Installing: /usr/local/include/edgex [2020-07-23T09:11:23.807Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-07-23T09:11:23.807Z] -- Installing: /usr/local/include/edgex/devices.h [2020-07-23T09:11:23.807Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-07-23T09:11:23.807Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-07-23T09:11:23.807Z] -- Installing: /usr/local/include/edgex/edgex-logging.h [2020-07-23T09:11:23.807Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-07-23T09:11:23.807Z] -- Installing: /usr/local/include/edgex/error.h [2020-07-23T09:11:23.807Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-07-23T09:11:23.807Z] -- Installing: /usr/local/include/edgex/os.h [2020-07-23T09:11:23.807Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-07-23T09:11:23.807Z] -- Installing: /usr/local/include/edgex/registry.h [2020-07-23T09:11:23.807Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-07-23T09:11:23.807Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-07-23T09:11:23.807Z] -- Installing: /usr/local/include/iot [2020-07-23T09:11:23.807Z] -- Installing: /usr/local/include/iot/base64.h [2020-07-23T09:11:23.807Z] -- Installing: /usr/local/include/iot/component.h [2020-07-23T09:11:23.807Z] -- Installing: /usr/local/include/iot/container.h [2020-07-23T09:11:23.807Z] -- Installing: /usr/local/include/iot/data.h [2020-07-23T09:11:23.807Z] -- Installing: /usr/local/include/iot/hash.h [2020-07-23T09:11:23.807Z] -- Installing: /usr/local/include/iot/iot.h [2020-07-23T09:11:23.807Z] -- Installing: /usr/local/include/iot/json.h [2020-07-23T09:11:23.807Z] -- Installing: /usr/local/include/iot/logger.h [2020-07-23T09:11:23.807Z] -- Installing: /usr/local/include/iot/os.h [2020-07-23T09:11:23.807Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-07-23T09:11:23.807Z] -- Installing: /usr/local/include/iot/thread.h [2020-07-23T09:11:23.807Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-07-23T09:11:23.807Z] -- Installing: /usr/local/include/iot/time.h [2020-07-23T09:11:23.807Z] -- Installing: /usr/local/include/iot/typecode.h [2020-07-23T09:11:23.807Z] -- Installing: /usr/local/include/iot/os [2020-07-23T09:11:23.807Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-07-23T09:11:23.807Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-07-23T09:11:23.807Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-07-23T09:11:23.807Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-07-23T09:11:23.807Z] make: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:11:24.343Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-07-23T09:11:26.305Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-07-23T09:11:26.359Z] Removing intermediate container 27e12a7fca0e [2020-07-23T09:11:26.359Z] ---> 29c3a6ff4155 [2020-07-23T09:11:26.359Z] Step 14/21 : FROM alpine:3.9 [2020-07-23T09:11:26.359Z] 3.9: Pulling from library/alpine [2020-07-23T09:11:26.359Z] 31603596830f: Pulling fs layer [2020-07-23T09:11:26.577Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-07-23T09:11:26.620Z] 31603596830f: Verifying Checksum [2020-07-23T09:11:26.620Z] 31603596830f: Download complete [2020-07-23T09:11:26.620Z] 31603596830f: Pull complete [2020-07-23T09:11:26.620Z] Digest: sha256:414e0518bb9228d35e4cd5165567fb91d26c6a214e9c95899e1e056fcd349011 [2020-07-23T09:11:26.620Z] Status: Downloaded newer image for alpine:3.9 [2020-07-23T09:11:26.620Z] ---> 78a2ce922f86 [2020-07-23T09:11:26.620Z] Step 15/21 : MAINTAINER IOTech [2020-07-23T09:11:26.900Z] ---> Running in d54aeb3f19af [2020-07-23T09:11:26.900Z] Removing intermediate container d54aeb3f19af [2020-07-23T09:11:26.900Z] ---> 3992e20ff805 [2020-07-23T09:11:26.900Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-07-23T09:11:26.900Z] ---> Running in e1a29450d55b [2020-07-23T09:11:27.167Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-07-23T09:11:27.440Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-07-23T09:11:27.840Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-07-23T09:11:27.840Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-07-23T09:11:27.840Z] (1/48) Installing binutils (2.31.1-r2) [2020-07-23T09:11:28.033Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-07-23T09:11:28.033Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-07-23T09:11:28.100Z] (2/48) Installing libmagic (5.36-r1) [2020-07-23T09:11:28.100Z] (3/48) Installing file (5.36-r1) [2020-07-23T09:11:28.100Z] (4/48) Installing gmp (6.1.2-r1) [2020-07-23T09:11:28.100Z] (5/48) Installing isl (0.18-r0) [2020-07-23T09:11:28.100Z] (6/48) Installing libgomp (8.3.0-r0) [2020-07-23T09:11:28.100Z] (7/48) Installing libatomic (8.3.0-r0) [2020-07-23T09:11:28.100Z] (8/48) Installing libgcc (8.3.0-r0) [2020-07-23T09:11:28.100Z] (9/48) Installing mpfr3 (3.1.5-r1) [2020-07-23T09:11:28.100Z] (10/48) Installing mpc1 (1.0.3-r1) [2020-07-23T09:11:28.100Z] (11/48) Installing libstdc++ (8.3.0-r0) [2020-07-23T09:11:28.100Z] (12/48) Installing gcc (8.3.0-r0) [2020-07-23T09:11:28.304Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-07-23T09:11:29.038Z] (13/48) Installing musl-dev (1.1.20-r5) [2020-07-23T09:11:29.300Z] (14/48) Installing libc-dev (0.7.1-r0) [2020-07-23T09:11:29.300Z] (15/48) Installing g++ (8.3.0-r0) [2020-07-23T09:11:29.874Z] (16/48) Installing make (4.2.1-r2) [2020-07-23T09:11:29.874Z] (17/48) Installing fortify-headers (1.0-r0) [2020-07-23T09:11:29.874Z] (18/48) Installing build-base (0.5-r1) [2020-07-23T09:11:29.874Z] (19/48) Installing libattr (2.4.47-r7) [2020-07-23T09:11:29.874Z] (20/48) Installing libacl (2.2.52-r5) [2020-07-23T09:11:29.874Z] (21/48) Installing libbz2 (1.0.6-r7) [2020-07-23T09:11:29.874Z] (22/48) Installing expat (2.2.8-r0) [2020-07-23T09:11:29.874Z] (23/48) Installing lz4-libs (1.8.3-r2) [2020-07-23T09:11:29.874Z] (24/48) Installing xz-libs (5.2.4-r0) [2020-07-23T09:11:29.874Z] (25/48) Installing libarchive (3.3.3-r2) [2020-07-23T09:11:30.134Z] (26/48) Installing ca-certificates (20191127-r2) [2020-07-23T09:11:30.134Z] (27/48) Installing nghttp2-libs (1.35.1-r2) [2020-07-23T09:11:30.398Z] (28/48) Installing libssh2 (1.9.0-r1) [2020-07-23T09:11:30.398Z] (29/48) Installing libcurl (7.64.0-r3) [2020-07-23T09:11:30.398Z] (30/48) Installing ncurses-terminfo-base (6.1_p20190105-r0) [2020-07-23T09:11:30.398Z] (31/48) Installing ncurses-terminfo (6.1_p20190105-r0) [2020-07-23T09:11:30.659Z] (32/48) Installing ncurses-libs (6.1_p20190105-r0) [2020-07-23T09:11:30.659Z] (33/48) Installing rhash-libs (1.3.6-r2) [2020-07-23T09:11:30.659Z] (34/48) Installing libuv (1.25.0-r0) [2020-07-23T09:11:30.659Z] (35/48) Installing cmake (3.13.0-r0) [2020-07-23T09:11:31.601Z] (36/48) Installing curl (7.64.0-r3) [2020-07-23T09:11:31.601Z] (37/48) Installing pcre2 (10.32-r1) [2020-07-23T09:11:31.601Z] (38/48) Installing git (2.20.4-r0) [2020-07-23T09:11:31.601Z] (39/48) Installing nettle (3.4.1-r0) [2020-07-23T09:11:31.601Z] (40/48) Installing libffi (3.2.1-r6) [2020-07-23T09:11:31.601Z] (41/48) Installing p11-kit (0.23.14-r0) [2020-07-23T09:11:31.674Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-07-23T09:11:31.861Z] (42/48) Installing libtasn1 (4.14-r0) [2020-07-23T09:11:31.861Z] (43/48) Installing libunistring (0.9.10-r0) [2020-07-23T09:11:31.861Z] (44/48) Installing gnutls (3.6.14-r0) [2020-07-23T09:11:31.861Z] (45/48) Installing libmicrohttpd (0.9.62-r0) [2020-07-23T09:11:31.862Z] (46/48) Installing libuuid (2.33-r0) [2020-07-23T09:11:31.862Z] (47/48) Installing wget (1.20.3-r0) [2020-07-23T09:11:31.862Z] (48/48) Installing yaml (0.2.1-r0) [2020-07-23T09:11:31.862Z] Executing busybox-1.29.3-r10.trigger [2020-07-23T09:11:31.862Z] Executing ca-certificates-20191127-r2.trigger [2020-07-23T09:11:31.862Z] OK: 222 MiB in 62 packages [2020-07-23T09:11:31.945Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-07-23T09:11:32.217Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-07-23T09:11:32.812Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-07-23T09:11:35.418Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-07-23T09:11:35.418Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-07-23T09:11:35.418Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-07-23T09:11:36.010Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-07-23T09:11:36.604Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-07-23T09:11:36.604Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-07-23T09:11:37.580Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-07-23T09:11:37.580Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-07-23T09:11:38.170Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-07-23T09:11:38.443Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-07-23T09:11:39.036Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-07-23T09:11:40.011Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-07-23T09:11:40.011Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-07-23T09:11:41.860Z] Removing intermediate container e1a29450d55b [2020-07-23T09:11:41.860Z] ---> 19299a272326 [2020-07-23T09:11:41.860Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-07-23T09:11:41.860Z] ---> cf42cdd49917 [2020-07-23T09:11:41.860Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-07-23T09:11:41.860Z] ---> 1a38df97d2e8 [2020-07-23T09:11:41.860Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-07-23T09:11:41.860Z] ---> b166e2e37f00 [2020-07-23T09:11:41.860Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-07-23T09:11:41.860Z] ---> dc51f1be0552 [2020-07-23T09:11:41.860Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-07-23T09:11:41.860Z] ---> 6baddf94e545 [2020-07-23T09:11:41.860Z] Successfully built 6baddf94e545 [2020-07-23T09:11:41.860Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-07-23T09:11:42.595Z] + docker inspect -f . ci-base-image-x86_64 [2020-07-23T09:11:42.595Z] . [Pipeline] withDockerContainer [2020-07-23T09:11:42.755Z] prd-centos7-docker-4c-2g-712 does not seem to be running inside a container [2020-07-23T09:11:42.794Z] $ 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 ******** ci-base-image-x86_64 cat [2020-07-23T09:11:43.453Z] $ docker top 54c29f800e67b92a4198f297852be52136e1bca718cd5d6bf04a55b544186e0a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-07-23T09:11:43.954Z] + make test [2020-07-23T09:11:43.954Z] echo "make test" [2020-07-23T09:11:43.954Z] make test [Pipeline] } [2020-07-23T09:11:43.964Z] $ docker stop --time=1 54c29f800e67b92a4198f297852be52136e1bca718cd5d6bf04a55b544186e0a [2020-07-23T09:11:44.309Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-07-23T09:11:44.901Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-07-23T09:11:45.172Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-07-23T09:11:45.300Z] $ docker rm -f 54c29f800e67b92a4198f297852be52136e1bca718cd5d6bf04a55b544186e0a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2020-07-23T09:11:45.763Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-07-23T09:11:47.190Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [Pipeline] sh [2020-07-23T09:11:47.978Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-07-23T09:11:48.269Z] + ls -al . [2020-07-23T09:11:48.269Z] total 160 [2020-07-23T09:11:48.269Z] drwxrwxr-x. 8 jenkins jenkins 260 Jul 23 09:10 . [2020-07-23T09:11:48.269Z] drwxrwxr-x. 4 jenkins jenkins 28 Jul 23 09:10 .. [2020-07-23T09:11:48.269Z] -rw-rw-r--. 1 jenkins jenkins 3104 Jul 23 09:10 Attribution.txt [2020-07-23T09:11:48.269Z] -rw-rw-r--. 1 jenkins jenkins 5455 Jul 23 09:10 CHANGES [2020-07-23T09:11:48.269Z] drwxrwxr-x. 2 jenkins jenkins 144 Jul 23 09:10 docs [2020-07-23T09:11:48.269Z] -rw-rw-r--. 1 jenkins jenkins 108574 Jul 23 09:10 Doxyfile [2020-07-23T09:11:48.269Z] drwxrwxr-x. 8 jenkins jenkins 162 Jul 23 09:10 .git [2020-07-23T09:11:48.269Z] -rw-rw-r--. 1 jenkins jenkins 176 Jul 23 09:10 .gitignore [2020-07-23T09:11:48.269Z] drwxrwxr-x. 4 jenkins jenkins 33 Jul 23 09:10 include [2020-07-23T09:11:48.269Z] -rw-rw-r--. 1 jenkins jenkins 792 Jul 23 09:10 Jenkinsfile [2020-07-23T09:11:48.269Z] -rw-rw-r--. 1 jenkins jenkins 10174 Jul 23 09:10 LICENSE [2020-07-23T09:11:48.269Z] -rw-rw-r--. 1 jenkins jenkins 448 Jul 23 09:10 Makefile [2020-07-23T09:11:48.269Z] -rw-rw-r--. 1 jenkins jenkins 1849 Jul 23 09:10 README.md [2020-07-23T09:11:48.269Z] -rw-rw-r--. 1 jenkins jenkins 5229 Jul 23 09:10 README.v2.md [2020-07-23T09:11:48.269Z] drwxrwxr-x. 2 jenkins jenkins 106 Jul 23 09:10 scripts [2020-07-23T09:11:48.269Z] drwxrwxr-x. 3 jenkins jenkins 58 Jul 23 09:10 .semver [2020-07-23T09:11:48.269Z] drwxrwxr-x. 4 jenkins jenkins 50 Jul 23 09:10 src [2020-07-23T09:11:48.269Z] -rw-rw-r--. 1 jenkins jenkins 5 Jul 23 09:08 VERSION [Pipeline] isUnix [Pipeline] sh [2020-07-23T09:11:48.567Z] + 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=2c055263c90b1575009cf35c07aefd2acc805cd1 --label arch=amd64 --label version=0.0.0 . [2020-07-23T09:11:48.567Z] Sending build context to Docker daemon 3.336MB [2020-07-23T09:11:48.567Z] Step 1/15 : ARG BASE=alpine:3.9 [2020-07-23T09:11:48.567Z] Step 2/15 : FROM ${BASE} [2020-07-23T09:11:48.567Z] ---> 6baddf94e545 [2020-07-23T09:11:48.567Z] Step 3/15 : MAINTAINER IOTech [2020-07-23T09:11:49.142Z] ---> Running in bb107f2b83f8 [2020-07-23T09:11:49.142Z] Removing intermediate container bb107f2b83f8 [2020-07-23T09:11:49.142Z] ---> a67efa7971fe [2020-07-23T09:11:49.142Z] Step 4/15 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev && mkdir -p /edgex-c-sdk/build [2020-07-23T09:11:49.152Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-07-23T09:11:49.401Z] ---> Running in 39a5e1d5b8c4 [2020-07-23T09:11:49.663Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-07-23T09:11:49.663Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-07-23T09:11:49.924Z] (1/21) Installing pkgconf (1.6.0-r0) [2020-07-23T09:11:49.924Z] (2/21) Installing openssl-dev (1.1.1g-r0) [2020-07-23T09:11:50.183Z] (3/21) Installing zlib-dev (1.2.11-r1) [2020-07-23T09:11:50.184Z] (4/21) Installing libssh2-dev (1.9.0-r1) [2020-07-23T09:11:50.184Z] (5/21) Installing nghttp2-dev (1.35.1-r2) [2020-07-23T09:11:50.184Z] (6/21) Installing curl-dev (7.64.0-r3) [2020-07-23T09:11:50.184Z] (7/21) Installing gnutls-c++ (3.6.14-r0) [2020-07-23T09:11:50.184Z] (8/21) Installing libgmpxx (6.1.2-r1) [2020-07-23T09:11:50.184Z] (9/21) Installing gmp-dev (6.1.2-r1) [2020-07-23T09:11:50.184Z] (10/21) Installing nettle-dev (3.4.1-r0) [2020-07-23T09:11:50.755Z] (11/21) Installing libtasn1-dev (4.14-r0) [2020-07-23T09:11:50.755Z] (12/21) Installing p11-kit-dev (0.23.14-r0) [2020-07-23T09:11:50.755Z] (13/21) Installing gnutls-dev (3.6.14-r0) [2020-07-23T09:11:50.755Z] (14/21) Installing libmicrohttpd-dev (0.9.62-r0) [2020-07-23T09:11:50.755Z] (15/21) Installing ncurses-dev (6.1_p20190105-r0) [2020-07-23T09:11:50.755Z] (16/21) Installing libblkid (2.33-r0) [2020-07-23T09:11:51.016Z] (17/21) Installing libfdisk (2.33-r0) [2020-07-23T09:11:51.016Z] (18/21) Installing libmount (2.33-r0) [2020-07-23T09:11:51.016Z] (19/21) Installing libsmartcols (2.33-r0) [2020-07-23T09:11:51.016Z] (20/21) Installing util-linux-dev (2.33-r0) [2020-07-23T09:11:51.016Z] (21/21) Installing yaml-dev (0.2.1-r0) [2020-07-23T09:11:51.016Z] Executing busybox-1.29.3-r10.trigger [2020-07-23T09:11:51.016Z] OK: 266 MiB in 83 packages [2020-07-23T09:11:52.529Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-07-23T09:11:52.529Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-07-23T09:11:53.954Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-07-23T09:11:54.223Z] [ 65%] Linking C shared library libcsdk.so [2020-07-23T09:11:54.314Z] Removing intermediate container 39a5e1d5b8c4 [2020-07-23T09:11:54.314Z] ---> b1e05bf11ef8 [2020-07-23T09:11:54.314Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-07-23T09:11:54.314Z] ---> e15e32f26ee5 [2020-07-23T09:11:54.314Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-07-23T09:11:54.500Z] [ 65%] Built target csdk [2020-07-23T09:11:54.500Z] Scanning dependencies of target template [2020-07-23T09:11:54.500Z] [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-07-23T09:11:54.884Z] ---> d85eeb7f20e0 [2020-07-23T09:11:54.884Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-07-23T09:11:55.090Z] [ 68%] Linking C executable template [2020-07-23T09:11:55.090Z] [ 68%] Built target template [2020-07-23T09:11:55.090Z] Scanning dependencies of target device-counter [2020-07-23T09:11:55.144Z] ---> d44d6c513260 [2020-07-23T09:11:55.144Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-07-23T09:11:55.361Z] [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-07-23T09:11:55.405Z] ---> fb3393951635 [2020-07-23T09:11:55.405Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-07-23T09:11:55.633Z] [ 71%] Linking C executable device-counter [2020-07-23T09:11:55.666Z] ---> 91f80e922914 [2020-07-23T09:11:55.666Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-07-23T09:11:55.666Z] ---> 9147246cd6a4 [2020-07-23T09:11:55.666Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-07-23T09:11:55.906Z] [ 71%] Built target device-counter [2020-07-23T09:11:55.906Z] Scanning dependencies of target device-random [2020-07-23T09:11:55.906Z] [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-07-23T09:11:55.927Z] ---> Running in d16d1d3e7475 [2020-07-23T09:11:55.927Z] Removing intermediate container d16d1d3e7475 [2020-07-23T09:11:55.927Z] ---> bc3a8cb60311 [2020-07-23T09:11:55.927Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-07-23T09:11:55.927Z] ---> Running in 1fdb38de66c2 [2020-07-23T09:11:56.188Z] Removing intermediate container 1fdb38de66c2 [2020-07-23T09:11:56.189Z] ---> 9b8ecbaa7335 [2020-07-23T09:11:56.189Z] Step 13/15 : LABEL arch=amd64 [2020-07-23T09:11:56.189Z] ---> Running in 55bca4b926ce [2020-07-23T09:11:56.451Z] Removing intermediate container 55bca4b926ce [2020-07-23T09:11:56.451Z] ---> 08e30fe5e582 [2020-07-23T09:11:56.451Z] Step 14/15 : LABEL git_sha=2c055263c90b1575009cf35c07aefd2acc805cd1 [2020-07-23T09:11:56.451Z] ---> Running in b27a0d976044 [2020-07-23T09:11:56.498Z] [ 74%] Linking C executable device-random [2020-07-23T09:11:56.498Z] [ 74%] Built target device-random [2020-07-23T09:11:56.498Z] Scanning dependencies of target device-gyro [2020-07-23T09:11:56.498Z] [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-07-23T09:11:56.712Z] Removing intermediate container b27a0d976044 [2020-07-23T09:11:56.712Z] ---> 7af934220a55 [2020-07-23T09:11:56.712Z] Step 15/15 : LABEL version=0.0.0 [2020-07-23T09:11:56.712Z] ---> Running in f77dbdcc4e59 [2020-07-23T09:11:56.712Z] Removing intermediate container f77dbdcc4e59 [2020-07-23T09:11:56.712Z] ---> 3853f1a50558 [2020-07-23T09:11:56.712Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2020-07-23T09:11:56.712Z] Successfully built 3853f1a50558 [2020-07-23T09:11:56.712Z] 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 [2020-07-23T09:11:57.089Z] [ 77%] Linking C executable device-gyro [2020-07-23T09:11:57.090Z] [ 77%] Built target device-gyro [2020-07-23T09:11:57.090Z] Scanning dependencies of target template-discovery [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [2020-07-23T09:11:57.364Z] [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-07-23T09:11:57.954Z] [ 80%] Linking C executable template-discovery [2020-07-23T09:11:57.954Z] [ 80%] Built target template-discovery [2020-07-23T09:11:57.954Z] Scanning dependencies of target device-terminal [2020-07-23T09:11:57.954Z] [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-07-23T09:11:58.545Z] [ 84%] Linking C executable device-terminal [2020-07-23T09:11:58.815Z] [ 84%] Built target device-terminal [2020-07-23T09:11:58.815Z] Scanning dependencies of target template2 [2020-07-23T09:11:58.815Z] [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-07-23T09:11:59.404Z] [ 87%] Linking C executable template2 [2020-07-23T09:11:59.404Z] [ 87%] Built target template2 [2020-07-23T09:11:59.674Z] Scanning dependencies of target device-counterv2 [2020-07-23T09:11:59.674Z] [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-07-23T09:11:59.942Z] [ 90%] Linking C executable device-counterv2 [2020-07-23T09:12:00.213Z] [ 90%] Built target device-counterv2 [2020-07-23T09:12:00.213Z] Scanning dependencies of target device-gyrov2 [2020-07-23T09:12:00.213Z] [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o [2020-07-23T09:12:00.802Z] [ 93%] Linking C executable device-gyrov2 [2020-07-23T09:12:00.802Z] [ 93%] Built target device-gyrov2 [2020-07-23T09:12:00.802Z] Scanning dependencies of target device-randomv2 [2020-07-23T09:12:01.074Z] [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-07-23T09:12:01.350Z] [ 96%] Linking C executable device-randomv2 [2020-07-23T09:12:01.621Z] [ 96%] Built target device-randomv2 [2020-07-23T09:12:01.621Z] Scanning dependencies of target device-terminalv2 [2020-07-23T09:12:01.621Z] [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o [2020-07-23T09:12:02.211Z] [100%] Linking C executable device-terminalv2 [2020-07-23T09:12:02.211Z] [100%] Built target device-terminalv2 [2020-07-23T09:12:02.484Z] + make package [2020-07-23T09:12:02.484Z] + tee -a release.log [2020-07-23T09:12:02.484Z] [ 65%] Built target csdk [2020-07-23T09:12:02.484Z] [ 68%] Built target template [2020-07-23T09:12:02.484Z] [ 71%] Built target device-counter [2020-07-23T09:12:02.754Z] [ 74%] Built target device-random [2020-07-23T09:12:02.755Z] [ 77%] Built target device-gyro [2020-07-23T09:12:02.755Z] [ 80%] Built target template-discovery [2020-07-23T09:12:02.755Z] [ 84%] Built target device-terminal [2020-07-23T09:12:02.755Z] [ 87%] Built target template2 [2020-07-23T09:12:02.755Z] [ 90%] Built target device-counterv2 [2020-07-23T09:12:02.755Z] [ 93%] Built target device-gyrov2 [2020-07-23T09:12:03.024Z] [ 96%] Built target device-randomv2 [2020-07-23T09:12:03.024Z] [100%] Built target device-terminalv2 [2020-07-23T09:12:03.024Z] Run CPack packaging tool... [2020-07-23T09:12:03.024Z] CPack: Create package using TGZ [2020-07-23T09:12:03.024Z] CPack: Install projects [2020-07-23T09:12:03.024Z] CPack: - Run preinstall target for: Csdk [2020-07-23T09:12:03.614Z] CPack: - Install project: Csdk [2020-07-23T09:12:03.614Z] CPack: Create package [2020-07-23T09:12:03.886Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2020-07-23T09:12:03.886Z] + '[' false '=' true ] [2020-07-23T09:12:03.886Z] + '[' false '=' true ] [2020-07-23T09:12:03.886Z] + mkdir -p /tmp/sdk/build/debug [2020-07-23T09:12:03.886Z] + cd /tmp/sdk/build/debug [2020-07-23T09:12:03.886Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-07-23T09:12:04.158Z] -- The C compiler identification is GNU 8.3.0 [2020-07-23T09:12:04.158Z] -- Check for working C compiler: /usr/bin/cc [2020-07-23T09:12:04.430Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-07-23T09:12:04.430Z] -- Detecting C compiler ABI info [2020-07-23T09:12:04.702Z] -- Detecting C compiler ABI info - done [2020-07-23T09:12:04.702Z] -- Detecting C compile features [2020-07-23T09:12:05.297Z] -- Detecting C compile features - done [2020-07-23T09:12:05.297Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-07-23T09:12:05.297Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-07-23T09:12:05.297Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-07-23T09:12:05.570Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-07-23T09:12:05.570Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-07-23T09:12:05.570Z] -- C SDK 0.0.0 for Linux [2020-07-23T09:12:05.570Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-07-23T09:12:05.570Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-07-23T09:12:05.570Z] -- Found Curses: /usr/lib/libcurses.so [2020-07-23T09:12:05.841Z] -- Configuring done [2020-07-23T09:12:06.113Z] -- Generating done [2020-07-23T09:12:06.113Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-07-23T09:12:06.113Z] + + maketee [2020-07-23T09:12:06.113Z] debug.log [2020-07-23T09:12:06.384Z] Scanning dependencies of target csdk [2020-07-23T09:12:06.384Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-07-23T09:12:06.655Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-07-23T09:12:06.928Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-07-23T09:12:07.527Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-07-23T09:12:07.798Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-07-23T09:12:08.070Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-07-23T09:12:08.342Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-07-23T09:12:08.931Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-07-23T09:12:09.201Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-07-23T09:12:09.473Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-07-23T09:12:09.747Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-07-23T09:12:10.024Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-07-23T09:12:10.024Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-07-23T09:12:10.299Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-07-23T09:12:11.285Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-07-23T09:12:11.285Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-07-23T09:12:11.556Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-07-23T09:12:11.830Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-07-23T09:12:12.425Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-07-23T09:12:12.699Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-07-23T09:12:12.974Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-07-23T09:12:12.974Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-07-23T09:12:13.246Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-07-23T09:12:13.518Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-07-23T09:12:13.790Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-07-23T09:12:13.790Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-07-23T09:12:14.066Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-07-23T09:12:14.341Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-07-23T09:12:14.614Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-07-23T09:12:14.887Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-07-23T09:12:15.160Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-07-23T09:12:16.133Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-07-23T09:12:16.403Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-07-23T09:12:16.676Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-07-23T09:12:16.947Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-07-23T09:12:17.920Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-07-23T09:12:18.193Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-07-23T09:12:19.167Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-07-23T09:12:19.167Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-07-23T09:12:19.765Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-07-23T09:12:19.765Z] [ 65%] Linking C shared library libcsdk.so [2020-07-23T09:12:20.036Z] [ 65%] Built target csdk [2020-07-23T09:12:20.036Z] Scanning dependencies of target template [2020-07-23T09:12:20.036Z] [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-07-23T09:12:20.308Z] [ 68%] Linking C executable template [2020-07-23T09:12:20.580Z] [ 68%] Built target template [2020-07-23T09:12:20.580Z] Scanning dependencies of target device-counter [2020-07-23T09:12:20.580Z] [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-07-23T09:12:20.851Z] [ 71%] Linking C executable device-counter [2020-07-23T09:12:21.124Z] [ 71%] Built target device-counter [2020-07-23T09:12:21.124Z] Scanning dependencies of target device-random [2020-07-23T09:12:21.124Z] [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-07-23T09:12:21.394Z] [ 74%] Linking C executable device-random [2020-07-23T09:12:21.665Z] [ 74%] Built target device-random [2020-07-23T09:12:21.665Z] Scanning dependencies of target device-gyro [2020-07-23T09:12:21.665Z] [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-07-23T09:12:21.937Z] [ 77%] Linking C executable device-gyro [2020-07-23T09:12:22.208Z] [ 77%] Built target device-gyro [2020-07-23T09:12:22.208Z] Scanning dependencies of target template-discovery [2020-07-23T09:12:22.208Z] [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-07-23T09:12:22.479Z] [ 80%] Linking C executable template-discovery [2020-07-23T09:12:22.752Z] [ 80%] Built target template-discovery [2020-07-23T09:12:22.752Z] Scanning dependencies of target device-terminal [2020-07-23T09:12:22.752Z] [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-07-23T09:12:23.022Z] [ 84%] Linking C executable device-terminal [2020-07-23T09:12:23.292Z] [ 84%] Built target device-terminal [2020-07-23T09:12:23.292Z] Scanning dependencies of target template2 [2020-07-23T09:12:23.292Z] [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-07-23T09:12:23.564Z] [ 87%] Linking C executable template2 [2020-07-23T09:12:23.564Z] [ 87%] Built target template2 [2020-07-23T09:12:23.833Z] Scanning dependencies of target device-counterv2 [2020-07-23T09:12:23.833Z] [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-07-23T09:12:24.106Z] [ 90%] Linking C executable device-counterv2 [2020-07-23T09:12:24.106Z] [ 90%] Built target device-counterv2 [2020-07-23T09:12:24.106Z] Scanning dependencies of target device-gyrov2 [2020-07-23T09:12:24.106Z] [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o [2020-07-23T09:12:24.380Z] [ 93%] Linking C executable device-gyrov2 [2020-07-23T09:12:24.651Z] [ 93%] Built target device-gyrov2 [2020-07-23T09:12:24.651Z] Scanning dependencies of target device-randomv2 [2020-07-23T09:12:24.651Z] [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-07-23T09:12:24.924Z] [ 96%] Linking C executable device-randomv2 [2020-07-23T09:12:25.195Z] [ 96%] Built target device-randomv2 [2020-07-23T09:12:25.195Z] Scanning dependencies of target device-terminalv2 [2020-07-23T09:12:25.195Z] [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o [2020-07-23T09:12:25.470Z] [100%] Linking C executable device-terminalv2 [2020-07-23T09:12:25.739Z] [100%] Built target device-terminalv2 [2020-07-23T09:12:25.739Z] make: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:12:25.739Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:12:25.739Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:12:25.739Z] Scanning dependencies of target csdk [2020-07-23T09:12:26.021Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:12:26.021Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:12:26.021Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-07-23T09:12:27.987Z] [ 3%] Linking C shared library libcsdk.so [2020-07-23T09:12:27.987Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:12:27.987Z] [ 65%] Built target csdk [2020-07-23T09:12:27.987Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:12:27.987Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:12:27.987Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:12:27.987Z] [ 66%] Linking C executable template [2020-07-23T09:12:27.987Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:12:27.987Z] [ 68%] Built target template [2020-07-23T09:12:27.987Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:12:27.987Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:12:27.987Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:12:27.987Z] [ 69%] Linking C executable device-counter [2020-07-23T09:12:28.257Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:12:28.257Z] [ 71%] Built target device-counter [2020-07-23T09:12:28.257Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:12:28.257Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:12:28.257Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:12:28.257Z] [ 73%] Linking C executable device-random [2020-07-23T09:12:28.536Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:12:28.536Z] [ 74%] Built target device-random [2020-07-23T09:12:28.536Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:12:28.536Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:12:28.536Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:12:28.536Z] [ 76%] Linking C executable device-gyro [2020-07-23T09:12:28.812Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:12:28.812Z] [ 77%] Built target device-gyro [2020-07-23T09:12:28.812Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:12:28.812Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:12:28.812Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:12:28.812Z] [ 79%] Linking C executable template-discovery [2020-07-23T09:12:29.085Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:12:29.085Z] [ 80%] Built target template-discovery [2020-07-23T09:12:29.085Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:12:29.085Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:12:29.085Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:12:29.085Z] [ 82%] Linking C executable device-terminal [2020-07-23T09:12:29.361Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:12:29.361Z] [ 84%] Built target device-terminal [2020-07-23T09:12:29.361Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:12:29.361Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:12:29.361Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:12:29.361Z] [ 85%] Linking C executable template2 [2020-07-23T09:12:29.634Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:12:29.634Z] [ 87%] Built target template2 [2020-07-23T09:12:29.634Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:12:29.634Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:12:29.634Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:12:29.634Z] [ 88%] Linking C executable device-counterv2 [2020-07-23T09:12:29.634Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:12:29.634Z] [ 90%] Built target device-counterv2 [2020-07-23T09:12:29.906Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:12:29.906Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:12:29.906Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:12:29.906Z] [ 92%] Linking C executable device-gyrov2 [2020-07-23T09:12:29.906Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:12:29.906Z] [ 93%] Built target device-gyrov2 [2020-07-23T09:12:29.906Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:12:30.180Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:12:30.180Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:12:30.180Z] [ 95%] Linking C executable device-randomv2 [2020-07-23T09:12:30.180Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:12:30.180Z] [ 96%] Built target device-randomv2 [2020-07-23T09:12:30.180Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:12:30.180Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:12:30.180Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T09:12:30.180Z] [ 98%] Linking C executable device-terminalv2 [2020-07-23T09:12:30.451Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:12:30.451Z] [100%] Built target device-terminalv2 [2020-07-23T09:12:30.451Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:12:30.451Z] Install the project... [2020-07-23T09:12:30.724Z] -- Install configuration: "Release" [2020-07-23T09:12:30.724Z] -- Installing: /usr/local/lib/libcsdk.so [2020-07-23T09:12:30.724Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-07-23T09:12:30.724Z] -- Up-to-date: /usr/local/include [2020-07-23T09:12:30.724Z] -- Installing: /usr/local/include/edgex [2020-07-23T09:12:30.724Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-07-23T09:12:30.724Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-07-23T09:12:30.724Z] -- Installing: /usr/local/include/edgex/error.h [2020-07-23T09:12:30.724Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-07-23T09:12:30.724Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-07-23T09:12:30.724Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-07-23T09:12:30.724Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-07-23T09:12:30.724Z] -- Installing: /usr/local/include/edgex/registry.h [2020-07-23T09:12:30.724Z] -- Installing: /usr/local/include/edgex/edgex-logging.h [2020-07-23T09:12:30.724Z] -- Installing: /usr/local/include/edgex/devices.h [2020-07-23T09:12:30.724Z] -- Installing: /usr/local/include/edgex/os.h [2020-07-23T09:12:30.724Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-07-23T09:12:30.724Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-07-23T09:12:30.724Z] -- Installing: /usr/local/include/devsdk [2020-07-23T09:12:30.724Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-07-23T09:12:30.724Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-07-23T09:12:30.724Z] -- Installing: /usr/local/include/iot [2020-07-23T09:12:30.724Z] -- Installing: /usr/local/include/iot/json.h [2020-07-23T09:12:30.724Z] -- Installing: /usr/local/include/iot/container.h [2020-07-23T09:12:30.724Z] -- Installing: /usr/local/include/iot/component.h [2020-07-23T09:12:30.724Z] -- Installing: /usr/local/include/iot/typecode.h [2020-07-23T09:12:30.724Z] -- Installing: /usr/local/include/iot/iot.h [2020-07-23T09:12:30.724Z] -- Installing: /usr/local/include/iot/time.h [2020-07-23T09:12:30.724Z] -- Installing: /usr/local/include/iot/hash.h [2020-07-23T09:12:30.724Z] -- Installing: /usr/local/include/iot/logger.h [2020-07-23T09:12:30.724Z] -- Installing: /usr/local/include/iot/os [2020-07-23T09:12:30.724Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-07-23T09:12:30.724Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-07-23T09:12:30.724Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-07-23T09:12:30.724Z] -- Installing: /usr/local/include/iot/data.h [2020-07-23T09:12:30.724Z] -- Installing: /usr/local/include/iot/thread.h [2020-07-23T09:12:30.724Z] -- Installing: /usr/local/include/iot/os.h [2020-07-23T09:12:30.724Z] -- Installing: /usr/local/include/iot/base64.h [2020-07-23T09:12:30.724Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-07-23T09:12:30.724Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-07-23T09:12:30.724Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-07-23T09:12:30.724Z] make: Leaving directory '/tmp/sdk/build/release' [2020-07-23T09:12:33.343Z] Removing intermediate container bb7f87e4e956 [2020-07-23T09:12:33.343Z] ---> 21b0c4b0f624 [2020-07-23T09:12:33.343Z] Step 14/21 : FROM alpine:3.9 [2020-07-23T09:12:33.343Z] 3.9: Pulling from library/alpine [2020-07-23T09:12:33.343Z] 941f399634ec: Pulling fs layer [2020-07-23T09:12:33.614Z] 941f399634ec: Verifying Checksum [2020-07-23T09:12:33.614Z] 941f399634ec: Download complete [2020-07-23T09:12:34.209Z] 941f399634ec: Pull complete [2020-07-23T09:12:34.209Z] Digest: sha256:414e0518bb9228d35e4cd5165567fb91d26c6a214e9c95899e1e056fcd349011 [2020-07-23T09:12:34.209Z] Status: Downloaded newer image for alpine:3.9 [2020-07-23T09:12:34.209Z] ---> 9afdd4a290bf [2020-07-23T09:12:34.209Z] Step 15/21 : MAINTAINER IOTech [2020-07-23T09:12:34.480Z] ---> Running in fcc05dffc5b7 [2020-07-23T09:12:35.041Z] Removing intermediate container fcc05dffc5b7 [2020-07-23T09:12:35.041Z] ---> 91d90e4a5671 [2020-07-23T09:12:35.041Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-07-23T09:12:35.635Z] ---> Running in 85dd7726b7cb [2020-07-23T09:12:37.067Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-07-23T09:12:37.339Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-07-23T09:12:37.611Z] (1/48) Installing binutils (2.31.1-r2) [2020-07-23T09:12:37.883Z] (2/48) Installing libmagic (5.36-r1) [2020-07-23T09:12:37.883Z] (3/48) Installing file (5.36-r1) [2020-07-23T09:12:37.883Z] (4/48) Installing gmp (6.1.2-r1) [2020-07-23T09:12:38.156Z] (5/48) Installing isl (0.18-r0) [2020-07-23T09:12:38.156Z] (6/48) Installing libgomp (8.3.0-r0) [2020-07-23T09:12:38.156Z] (7/48) Installing libatomic (8.3.0-r0) [2020-07-23T09:12:38.156Z] (8/48) Installing libgcc (8.3.0-r0) [2020-07-23T09:12:38.156Z] (9/48) Installing mpfr3 (3.1.5-r1) [2020-07-23T09:12:38.156Z] (10/48) Installing mpc1 (1.0.3-r1) [2020-07-23T09:12:38.156Z] (11/48) Installing libstdc++ (8.3.0-r0) [2020-07-23T09:12:38.156Z] (12/48) Installing gcc (8.3.0-r0) [2020-07-23T09:12:39.581Z] (13/48) Installing musl-dev (1.1.20-r5) [2020-07-23T09:12:39.850Z] (14/48) Installing libc-dev (0.7.1-r0) [2020-07-23T09:12:39.850Z] (15/48) Installing g++ (8.3.0-r0) [2020-07-23T09:12:41.272Z] (16/48) Installing make (4.2.1-r2) [2020-07-23T09:12:41.272Z] (17/48) Installing fortify-headers (1.0-r0) [2020-07-23T09:12:41.272Z] (18/48) Installing build-base (0.5-r1) [2020-07-23T09:12:41.272Z] (19/48) Installing libattr (2.4.47-r7) [2020-07-23T09:12:41.272Z] (20/48) Installing libacl (2.2.52-r5) [2020-07-23T09:12:41.272Z] (21/48) Installing libbz2 (1.0.6-r7) [2020-07-23T09:12:41.272Z] (22/48) Installing expat (2.2.8-r0) [2020-07-23T09:12:41.272Z] (23/48) Installing lz4-libs (1.8.3-r2) [2020-07-23T09:12:41.272Z] (24/48) Installing xz-libs (5.2.4-r0) [2020-07-23T09:12:41.272Z] (25/48) Installing libarchive (3.3.3-r2) [2020-07-23T09:12:41.272Z] (26/48) Installing ca-certificates (20191127-r2) [2020-07-23T09:12:41.543Z] (27/48) Installing nghttp2-libs (1.35.1-r2) [2020-07-23T09:12:41.543Z] (28/48) Installing libssh2 (1.9.0-r1) [2020-07-23T09:12:41.543Z] (29/48) Installing libcurl (7.64.0-r3) [2020-07-23T09:12:41.543Z] (30/48) Installing ncurses-terminfo-base (6.1_p20190105-r0) [2020-07-23T09:12:41.543Z] (31/48) Installing ncurses-terminfo (6.1_p20190105-r0) [2020-07-23T09:12:42.512Z] (32/48) Installing ncurses-libs (6.1_p20190105-r0) [2020-07-23T09:12:42.512Z] (33/48) Installing rhash-libs (1.3.6-r2) [2020-07-23T09:12:42.512Z] (34/48) Installing libuv (1.25.0-r0) [2020-07-23T09:12:42.512Z] (35/48) Installing cmake (3.13.0-r0) [2020-07-23T09:12:43.930Z] (36/48) Installing curl (7.64.0-r3) [2020-07-23T09:12:43.930Z] (37/48) Installing pcre2 (10.32-r1) [2020-07-23T09:12:43.930Z] (38/48) Installing git (2.20.4-r0) [2020-07-23T09:12:44.521Z] (39/48) Installing nettle (3.4.1-r0) [2020-07-23T09:12:44.521Z] (40/48) Installing libffi (3.2.1-r6) [2020-07-23T09:12:44.521Z] (41/48) Installing p11-kit (0.23.14-r0) [2020-07-23T09:12:44.521Z] (42/48) Installing libtasn1 (4.14-r0) [2020-07-23T09:12:44.521Z] (43/48) Installing libunistring (0.9.10-r0) [2020-07-23T09:12:44.521Z] (44/48) Installing gnutls (3.6.14-r0) [2020-07-23T09:12:44.521Z] (45/48) Installing libmicrohttpd (0.9.62-r0) [2020-07-23T09:12:44.521Z] (46/48) Installing libuuid (2.33-r0) [2020-07-23T09:12:44.521Z] (47/48) Installing wget (1.20.3-r0) [2020-07-23T09:12:44.521Z] (48/48) Installing yaml (0.2.1-r0) [2020-07-23T09:12:44.521Z] Executing busybox-1.29.3-r10.trigger [2020-07-23T09:12:44.521Z] Executing ca-certificates-20191127-r2.trigger [2020-07-23T09:12:44.792Z] OK: 219 MiB in 62 packages [2020-07-23T09:12:59.862Z] Removing intermediate container 85dd7726b7cb [2020-07-23T09:12:59.862Z] ---> e9fead34772b [2020-07-23T09:12:59.862Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-07-23T09:12:59.862Z] ---> 3eb2f9a6f83d [2020-07-23T09:12:59.862Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-07-23T09:12:59.862Z] ---> 11303acca2e2 [2020-07-23T09:12:59.862Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-07-23T09:13:00.454Z] ---> eea4642606d6 [2020-07-23T09:13:00.454Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-07-23T09:13:01.433Z] ---> 1748329f0d0e [2020-07-23T09:13:01.433Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-07-23T09:13:02.027Z] ---> ddc3ce4faffb [2020-07-23T09:13:02.027Z] Successfully built ddc3ce4faffb [2020-07-23T09:13:02.027Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-07-23T09:13:02.783Z] + docker inspect -f . ci-base-image-arm64 [2020-07-23T09:13:02.783Z] . [Pipeline] withDockerContainer [2020-07-23T09:13:03.055Z] prd-ubuntu18.04-docker-arm64-4c-16g-711 does not seem to be running inside a container [2020-07-23T09:13:03.134Z] $ 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 ******** ci-base-image-arm64 cat [2020-07-23T09:13:04.949Z] $ docker top 5b28cb843314bd464c951ffcc87a3c2127fcfc6f377760e84824792a741082d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-07-23T09:13:06.369Z] + make test [2020-07-23T09:13:06.369Z] echo "make test" [2020-07-23T09:13:06.369Z] make test [Pipeline] } [2020-07-23T09:13:06.389Z] $ docker stop --time=1 5b28cb843314bd464c951ffcc87a3c2127fcfc6f377760e84824792a741082d7 [2020-07-23T09:13:08.279Z] $ docker rm -f 5b28cb843314bd464c951ffcc87a3c2127fcfc6f377760e84824792a741082d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-07-23T09:13:09.215Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-07-23T09:13:09.546Z] + ls -al . [2020-07-23T09:13:09.546Z] total 192 [2020-07-23T09:13:09.546Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 23 09:10 . [2020-07-23T09:13:09.546Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 23 09:10 .. [2020-07-23T09:13:09.546Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 23 09:10 .git [2020-07-23T09:13:09.546Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 23 09:10 .gitignore [2020-07-23T09:13:09.546Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 23 09:10 .semver [2020-07-23T09:13:09.546Z] -rw-rw-r-- 1 jenkins jenkins 3104 Jul 23 09:10 Attribution.txt [2020-07-23T09:13:09.546Z] -rw-rw-r-- 1 jenkins jenkins 5455 Jul 23 09:10 CHANGES [2020-07-23T09:13:09.546Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 23 09:10 Doxyfile [2020-07-23T09:13:09.546Z] -rw-rw-r-- 1 jenkins jenkins 792 Jul 23 09:10 Jenkinsfile [2020-07-23T09:13:09.546Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 23 09:10 LICENSE [2020-07-23T09:13:09.546Z] -rw-rw-r-- 1 jenkins jenkins 448 Jul 23 09:10 Makefile [2020-07-23T09:13:09.546Z] -rw-rw-r-- 1 jenkins jenkins 1849 Jul 23 09:10 README.md [2020-07-23T09:13:09.546Z] -rw-rw-r-- 1 jenkins jenkins 5229 Jul 23 09:10 README.v2.md [2020-07-23T09:13:09.547Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 23 09:08 VERSION [2020-07-23T09:13:09.547Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 23 09:10 docs [2020-07-23T09:13:09.547Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 23 09:10 include [2020-07-23T09:13:09.547Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 23 09:10 scripts [2020-07-23T09:13:09.547Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 23 09:10 src [Pipeline] isUnix [Pipeline] sh [2020-07-23T09:13:09.883Z] + 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=2c055263c90b1575009cf35c07aefd2acc805cd1 --label arch=arm64 --label version=0.0.0 . [2020-07-23T09:13:10.476Z] Sending build context to Docker daemon 3.336MB [2020-07-23T09:13:10.476Z] Step 1/15 : ARG BASE=alpine:3.9 [2020-07-23T09:13:10.476Z] Step 2/15 : FROM ${BASE} [2020-07-23T09:13:10.476Z] ---> ddc3ce4faffb [2020-07-23T09:13:10.476Z] Step 3/15 : MAINTAINER IOTech [2020-07-23T09:13:10.476Z] ---> Running in 098cd3f01a17 [2020-07-23T09:13:11.071Z] Removing intermediate container 098cd3f01a17 [2020-07-23T09:13:11.071Z] ---> 2670c349e07a [2020-07-23T09:13:11.071Z] Step 4/15 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev && mkdir -p /edgex-c-sdk/build [2020-07-23T09:13:11.346Z] ---> Running in 521027c39f1f [2020-07-23T09:13:12.775Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-07-23T09:13:12.775Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-07-23T09:13:13.046Z] (1/21) Installing pkgconf (1.6.0-r0) [2020-07-23T09:13:13.046Z] (2/21) Installing openssl-dev (1.1.1g-r0) [2020-07-23T09:13:13.640Z] (3/21) Installing zlib-dev (1.2.11-r1) [2020-07-23T09:13:13.640Z] (4/21) Installing libssh2-dev (1.9.0-r1) [2020-07-23T09:13:13.640Z] (5/21) Installing nghttp2-dev (1.35.1-r2) [2020-07-23T09:13:13.640Z] (6/21) Installing curl-dev (7.64.0-r3) [2020-07-23T09:13:13.640Z] (7/21) Installing gnutls-c++ (3.6.14-r0) [2020-07-23T09:13:13.640Z] (8/21) Installing libgmpxx (6.1.2-r1) [2020-07-23T09:13:13.640Z] (9/21) Installing gmp-dev (6.1.2-r1) [2020-07-23T09:13:13.640Z] (10/21) Installing nettle-dev (3.4.1-r0) [2020-07-23T09:13:14.233Z] (11/21) Installing libtasn1-dev (4.14-r0) [2020-07-23T09:13:14.233Z] (12/21) Installing p11-kit-dev (0.23.14-r0) [2020-07-23T09:13:14.233Z] (13/21) Installing gnutls-dev (3.6.14-r0) [2020-07-23T09:13:14.233Z] (14/21) Installing libmicrohttpd-dev (0.9.62-r0) [2020-07-23T09:13:14.233Z] (15/21) Installing ncurses-dev (6.1_p20190105-r0) [2020-07-23T09:13:14.233Z] (16/21) Installing libblkid (2.33-r0) [2020-07-23T09:13:14.233Z] (17/21) Installing libfdisk (2.33-r0) [2020-07-23T09:13:14.233Z] (18/21) Installing libmount (2.33-r0) [2020-07-23T09:13:14.233Z] (19/21) Installing libsmartcols (2.33-r0) [2020-07-23T09:13:14.233Z] (20/21) Installing util-linux-dev (2.33-r0) [2020-07-23T09:13:14.506Z] (21/21) Installing yaml-dev (0.2.1-r0) [2020-07-23T09:13:14.506Z] Executing busybox-1.29.3-r10.trigger [2020-07-23T09:13:14.506Z] OK: 280 MiB in 83 packages [2020-07-23T09:13:17.882Z] Removing intermediate container 521027c39f1f [2020-07-23T09:13:17.882Z] ---> 25dbc2605116 [2020-07-23T09:13:17.882Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-07-23T09:13:18.153Z] ---> 72496a3ae301 [2020-07-23T09:13:18.153Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-07-23T09:13:19.127Z] ---> 450f0b595381 [2020-07-23T09:13:19.127Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-07-23T09:13:19.721Z] ---> e01628b6b20e [2020-07-23T09:13:19.721Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-07-23T09:13:20.312Z] ---> dcfd767b5064 [2020-07-23T09:13:20.312Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-07-23T09:13:20.903Z] ---> 4d17c86f1b84 [2020-07-23T09:13:20.903Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-07-23T09:13:21.495Z] ---> ac5e022288be [2020-07-23T09:13:21.495Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-07-23T09:13:21.767Z] ---> Running in bfc1681e809a [2020-07-23T09:13:22.038Z] Removing intermediate container bfc1681e809a [2020-07-23T09:13:22.038Z] ---> 1c82fb9743f1 [2020-07-23T09:13:22.038Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-07-23T09:13:22.310Z] ---> Running in 911920a488e4 [2020-07-23T09:13:22.582Z] Removing intermediate container 911920a488e4 [2020-07-23T09:13:22.582Z] ---> d7e6289d31e8 [2020-07-23T09:13:22.582Z] Step 13/15 : LABEL arch=arm64 [2020-07-23T09:13:22.851Z] ---> Running in a4229ad5a597 [2020-07-23T09:13:23.121Z] Removing intermediate container a4229ad5a597 [2020-07-23T09:13:23.121Z] ---> 717ad8a2180f [2020-07-23T09:13:23.121Z] Step 14/15 : LABEL git_sha=2c055263c90b1575009cf35c07aefd2acc805cd1 [2020-07-23T09:13:23.393Z] ---> Running in 886f44daec2f [2020-07-23T09:13:23.664Z] Removing intermediate container 886f44daec2f [2020-07-23T09:13:23.664Z] ---> 68cb4c64a5ee [2020-07-23T09:13:23.664Z] Step 15/15 : LABEL version=0.0.0 [2020-07-23T09:13:23.935Z] ---> Running in 29d5ee60fb3a [2020-07-23T09:13:24.205Z] Removing intermediate container 29d5ee60fb3a [2020-07-23T09:13:24.205Z] ---> 278305499777 [2020-07-23T09:13:24.205Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2020-07-23T09:13:24.205Z] Successfully built 278305499777 [2020-07-23T09:13:24.205Z] Successfully tagged docker-device-sdk-c-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-07-23T09:13:26.305Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-23T09:13:26.867Z] ---> package-listing.sh [2020-07-23T09:13:26.867Z] ++ facter osfamily [2020-07-23T09:13:26.867Z] ++ tr '[:upper:]' '[:lower:]' [2020-07-23T09:13:26.867Z] + OS_FAMILY=redhat [2020-07-23T09:13:26.867Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_geneva [2020-07-23T09:13:26.867Z] + START_PACKAGES=/tmp/packages_start.txt [2020-07-23T09:13:26.867Z] + END_PACKAGES=/tmp/packages_end.txt [2020-07-23T09:13:26.867Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-07-23T09:13:26.867Z] + PACKAGES=/tmp/packages_start.txt [2020-07-23T09:13:26.867Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_geneva ']' [2020-07-23T09:13:26.867Z] + PACKAGES=/tmp/packages_end.txt [2020-07-23T09:13:26.867Z] + case "${OS_FAMILY}" in [2020-07-23T09:13:26.867Z] + rpm -qa [2020-07-23T09:13:26.867Z] + sort [2020-07-23T09:13:31.078Z] + '[' -f /tmp/packages_start.txt ']' [2020-07-23T09:13:31.078Z] + '[' -f /tmp/packages_end.txt ']' [2020-07-23T09:13:31.078Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-07-23T09:13:31.078Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_geneva ']' [2020-07-23T09:13:31.078Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_geneva/archives/ [2020-07-23T09:13:31.078Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_geneva/archives/ [Pipeline] isUnix [Pipeline] sh [2020-07-23T09:13:31.677Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-23T09:13:31.677Z] [2020-07-23T09:13:31.677Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-07-23T09:13:32.016Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-23T09:13:32.016Z] alpine: Pulling from edgex-lftools-log-publisher [2020-07-23T09:13:32.016Z] c9b1b535fdd9: Pulling fs layer [2020-07-23T09:13:32.016Z] 2cc5ad85d9ab: Pulling fs layer [2020-07-23T09:13:32.016Z] 756a868c4378: Pulling fs layer [2020-07-23T09:13:32.016Z] 444b2fc9a129: Pulling fs layer [2020-07-23T09:13:32.016Z] ea15f1150254: Pulling fs layer [2020-07-23T09:13:32.016Z] 41b27a9f41bf: Pulling fs layer [2020-07-23T09:13:32.017Z] 28c525ee5125: Pulling fs layer [2020-07-23T09:13:32.017Z] 094b1ea09ed8: Pulling fs layer [2020-07-23T09:13:32.017Z] 138eaada9080: Pulling fs layer [2020-07-23T09:13:32.017Z] 0622d0fa9048: Pulling fs layer [2020-07-23T09:13:32.017Z] ea15f1150254: Waiting [2020-07-23T09:13:32.017Z] 41b27a9f41bf: Waiting [2020-07-23T09:13:32.017Z] 28c525ee5125: Waiting [2020-07-23T09:13:32.017Z] 094b1ea09ed8: Waiting [2020-07-23T09:13:32.017Z] 138eaada9080: Waiting [2020-07-23T09:13:32.017Z] 0622d0fa9048: Waiting [2020-07-23T09:13:32.017Z] 444b2fc9a129: Waiting [2020-07-23T09:13:32.017Z] 2cc5ad85d9ab: Download complete [2020-07-23T09:13:32.017Z] 444b2fc9a129: Verifying Checksum [2020-07-23T09:13:32.017Z] 444b2fc9a129: Download complete [2020-07-23T09:13:32.017Z] c9b1b535fdd9: Verifying Checksum [2020-07-23T09:13:32.017Z] ea15f1150254: Verifying Checksum [2020-07-23T09:13:32.017Z] ea15f1150254: Download complete [2020-07-23T09:13:32.286Z] 28c525ee5125: Verifying Checksum [2020-07-23T09:13:32.286Z] 28c525ee5125: Download complete [2020-07-23T09:13:32.555Z] 756a868c4378: Verifying Checksum [2020-07-23T09:13:32.555Z] 756a868c4378: Download complete [2020-07-23T09:13:32.555Z] c9b1b535fdd9: Pull complete [2020-07-23T09:13:32.555Z] 094b1ea09ed8: Verifying Checksum [2020-07-23T09:13:32.555Z] 094b1ea09ed8: Download complete [2020-07-23T09:13:32.555Z] 0622d0fa9048: Verifying Checksum [2020-07-23T09:13:32.555Z] 0622d0fa9048: Download complete [2020-07-23T09:13:32.823Z] 138eaada9080: Verifying Checksum [2020-07-23T09:13:32.823Z] 138eaada9080: Download complete [2020-07-23T09:13:33.093Z] 2cc5ad85d9ab: Pull complete [2020-07-23T09:13:33.093Z] 41b27a9f41bf: Verifying Checksum [2020-07-23T09:13:33.093Z] 41b27a9f41bf: Download complete [2020-07-23T09:13:34.485Z] 756a868c4378: Pull complete [2020-07-23T09:13:34.485Z] 444b2fc9a129: Pull complete [2020-07-23T09:13:34.749Z] ea15f1150254: Pull complete [2020-07-23T09:13:38.963Z] 41b27a9f41bf: Pull complete [2020-07-23T09:13:38.963Z] 28c525ee5125: Pull complete [2020-07-23T09:13:41.521Z] 094b1ea09ed8: Pull complete [2020-07-23T09:13:41.521Z] 138eaada9080: Pull complete [2020-07-23T09:13:41.521Z] 0622d0fa9048: Pull complete [2020-07-23T09:13:41.521Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-07-23T09:13:41.521Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-23T09:13:41.521Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-07-23T09:13:41.661Z] prd-centos7-docker-4c-2g-710 does not seem to be running inside a container [2020-07-23T09:13:41.698Z] $ 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_geneva -v /w/workspace/edgexfoundry_device-sdk-c_geneva:/w/workspace/edgexfoundry_device-sdk-c_geneva:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_geneva@tmp:/w/workspace/edgexfoundry_device-sdk-c_geneva@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-07-23T09:13:44.739Z] $ docker top b53d18f1ddb2d7e869e63eb8da031f5aed527e68690b7a81f5c195b7e3950791 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-07-23T09:13:45.030Z] provisioning config files... [2020-07-23T09:13:45.046Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_geneva@tmp/config6824890173669089289tmp [Pipeline] { [Pipeline] echo [2020-07-23T09:13:45.135Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-23T09:13:45.424Z] ---> create-netrc.sh [Pipeline] echo [2020-07-23T09:13:45.433Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-23T09:13:45.726Z] ---> logs-deploy.sh [2020-07-23T09:13:45.726Z] + ARCHIVE_ARTIFACTS= [2020-07-23T09:13:45.726Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-07-23T09:13:45.726Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-07-23T09:13:45.726Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-07-23T09:13:45.726Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/geneva/2 [2020-07-23T09:13:45.726Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/geneva/2/ [2020-07-23T09:13:45.726Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/geneva/2 /w/workspace/edgexfoundry_device-sdk-c_geneva [2020-07-23T09:13:47.114Z] Archives upload complete. [2020-07-23T09:13:47.375Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/geneva/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/geneva/2/