Pull request #277 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 0b0cb1a0a91fee117775f03ebfc888832c363ca9+9c55f022443565d876ce2e8ecf330b8742e19320 (264e384d3c7cb5436685638d06e94123347a278a) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 370697454611dc68c0596e0d0a50477a8de841a8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 370697454611dc68c0596e0d0a50477a8de841a8 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-277/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-3.11-base, dockerFilePath:scripts/Dockerfile.alpine-3.11, 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.11 DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-3.11-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-c DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-487’ Running on prd-centos7-docker-4c-2g-492 in /w/workspace/edgexfoundry_device-sdk-c_PR-277 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-277 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/277/head:refs/remotes/origin/PR-277 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 9c55f022443565d876ce2e8ecf330b8742e19320 into PR head commit 0b0cb1a0a91fee117775f03ebfc888832c363ca9 Merge succeeded, producing 0b0cb1a0a91fee117775f03ebfc888832c363ca9 Checking out Revision 0b0cb1a0a91fee117775f03ebfc888832c363ca9 (PR-277) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/277/head:refs/remotes/origin/PR-277 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/277/head:refs/remotes/origin/PR-277 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0b0cb1a0a91fee117775f03ebfc888832c363ca9 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9c55f022443565d876ce2e8ecf330b8742e19320 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0b0cb1a0a91fee117775f03ebfc888832c363ca9 # timeout=10 Commit message: "Rework configuration handling using iot_data_t maps - keeps configuration type-correct - allow override via environment of any value - lets implementations specify their defaults" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:31:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:31:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:31:33 ========================================================= 16:31:33 EdgeX Global Pipelines Version Info 16:31:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:31:35 ------------------- 16:31:35 stable info: 16:31:35 ------------------- 16:31:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:31:35 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 16:31:35 Message: update stable to v1.0.89 16:31:35 ------------------- 16:31:35 experimental info: 16:31:35 ------------------- 16:31:35 Commited By: **** collab-it+edgex@linuxfoundation.org 16:31:35 Commit SHA: f6ab21c320c462fae7a5b8fd747aea39c3187bc7 16:31:35 Message: update experimental to v1.0.96 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 16:31:38 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:31:38 16:31:38 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:31:39 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:31:39 latest: Pulling from edgex-devops/git-semver 16:31:39 9123ac7c32f7: Pulling fs layer 16:31:39 b8cc5d1170e3: Pulling fs layer 16:31:39 2924cbbf6a41: Pulling fs layer 16:31:39 93b08a4f1073: Pulling fs layer 16:31:39 93b08a4f1073: Waiting 16:31:39 b8cc5d1170e3: Verifying Checksum 16:31:39 b8cc5d1170e3: Download complete 16:31:39 9123ac7c32f7: Verifying Checksum 16:31:39 9123ac7c32f7: Download complete 16:31:39 93b08a4f1073: Verifying Checksum 16:31:39 93b08a4f1073: Download complete 16:31:39 2924cbbf6a41: Verifying Checksum 16:31:39 9123ac7c32f7: Pull complete 16:31:39 b8cc5d1170e3: Pull complete 16:31:40 2924cbbf6a41: Pull complete 16:31:40 93b08a4f1073: Pull complete 16:31:40 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 16:31:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:31:40 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:31:40 prd-centos7-docker-4c-2g-492 does not seem to be running inside a container 16:31:40 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-277 -v /w/workspace/edgexfoundry_device-sdk-c_PR-277:/w/workspace/edgexfoundry_device-sdk-c_PR-277:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-277@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-277@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:31:43 $ docker top 69ee69f24a53c112ec80efa2df4b22c9914e3d6a6ed590af63516c571c4b6b29 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:31:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:31:43 [ssh-agent] Looking for ssh-agent implementation... 16:31:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:31:43 $ docker exec 69ee69f24a53c112ec80efa2df4b22c9914e3d6a6ed590af63516c571c4b6b29 ssh-agent 16:31:44 SSH_AUTH_SOCK=/tmp/ssh-gKK7o0bjNLop/agent.12 16:31:44 SSH_AGENT_PID=17 16:31:44 Running ssh-add (command line suppressed) 16:31:44 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-277@tmp/private_key_8230315352396944664.key (/w/workspace/edgexfoundry_device-sdk-c_PR-277@tmp/private_key_8230315352396944664.key) 16:31:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:31:44 + git describe --exact-match --tags HEAD 16:31:44 fatal: No names found, cannot describe anything. [Pipeline] } 16:31:44 $ docker exec --env ******** --env ******** 69ee69f24a53c112ec80efa2df4b22c9914e3d6a6ed590af63516c571c4b6b29 ssh-agent -k 16:31:44 unset SSH_AUTH_SOCK; 16:31:44 unset SSH_AGENT_PID; 16:31:44 echo Agent pid 17 killed; 16:31:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 16:31:45 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 16:31:45 This usually means this commit has not been tagged. [Pipeline] sshagent 16:31:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:31:45 [ssh-agent] Looking for ssh-agent implementation... 16:31:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:31:45 $ docker exec 69ee69f24a53c112ec80efa2df4b22c9914e3d6a6ed590af63516c571c4b6b29 ssh-agent 16:31:45 SSH_AUTH_SOCK=/tmp/ssh-gvh55ydzqtFy/agent.45 16:31:45 SSH_AGENT_PID=50 16:31:45 Running ssh-add (command line suppressed) 16:31:45 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-277@tmp/private_key_872027462674494786.key (/w/workspace/edgexfoundry_device-sdk-c_PR-277@tmp/private_key_872027462674494786.key) 16:31:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:31:46 + git semver init 16:31:46 # -> Open(): unable to determine branch for HEAD 16:31:46 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-277/.git 16:31:46 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-277 16:31:46 # $SEMVER_REMOTE_NAME = origin 16:31:46 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:31:46 # $SEMVER_USER_NAME = edgex-jenkins 16:31:46 # $SEMVER_BRANCH = PR-277 16:31:46 # $SEMVER_TEMP = /tmp/semver-053841640 16:31:46 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 16:31:47 # '/tmp/semver-053841640' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-277/.semver' 16:31:47 # -> Force: false 16:31:47 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-277/.semver [Pipeline] } 16:31:47 $ docker exec --env ******** --env ******** 69ee69f24a53c112ec80efa2df4b22c9914e3d6a6ed590af63516c571c4b6b29 ssh-agent -k 16:31:47 unset SSH_AUTH_SOCK; 16:31:47 unset SSH_AGENT_PID; 16:31:47 echo Agent pid 50 killed; 16:31:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:31:48 + git semver [Pipeline] } 16:31:48 $ docker stop --time=1 69ee69f24a53c112ec80efa2df4b22c9914e3d6a6ed590af63516c571c4b6b29 16:31:50 $ docker rm -f 69ee69f24a53c112ec80efa2df4b22c9914e3d6a6ed590af63516c571c4b6b29 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 16:31:50 Stashed 55 file(s) [Pipeline] echo 16:31:50 [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 16:32:06 Still waiting to schedule task 16:32:06 Waiting for next available executor on ‘centos7-docker-4c-2g’ 16:32:06 Still waiting to schedule task 16:32:06 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 16:35:12 Running on prd-ubuntu18.04-docker-arm64-4c-16g-496 in /w/workspace/edgexfoundry_device-sdk-c_PR-277 [Pipeline] { [Pipeline] ws 16:35:12 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 16:35:18 using credential edgex-jenkins-ssh 16:35:18 Cloning the remote Git repository 16:35:18 Cloning with configured refspecs honoured and without tags 16:35:19 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 16:35:19 > git init /w/workspace/device-sdk-c/1 # timeout=10 16:35:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:35:19 > git --version # timeout=10 16:35:19 using GIT_SSH to set credentials SSH Credentials for GitHub 16:35:19 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/277/head:refs/remotes/origin/PR-277 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:35:20 Fetching without tags 16:35:21 Merging remotes/origin/master commit 9c55f022443565d876ce2e8ecf330b8742e19320 into PR head commit 0b0cb1a0a91fee117775f03ebfc888832c363ca9 16:35:21 Merge succeeded, producing 0b0cb1a0a91fee117775f03ebfc888832c363ca9 16:35:21 Checking out Revision 0b0cb1a0a91fee117775f03ebfc888832c363ca9 (PR-277) 16:35:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:35:20 > git config --add remote.origin.fetch +refs/pull/277/head:refs/remotes/origin/PR-277 # timeout=10 16:35:20 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 16:35:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:35:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:35:20 using GIT_SSH to set credentials SSH Credentials for GitHub 16:35:20 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/277/head:refs/remotes/origin/PR-277 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:35:21 > git config core.sparsecheckout # timeout=10 16:35:21 > git checkout -f 0b0cb1a0a91fee117775f03ebfc888832c363ca9 # timeout=10 16:35:21 > git remote # timeout=10 16:35:21 > git config --get remote.origin.url # timeout=10 16:35:21 using GIT_SSH to set credentials SSH Credentials for GitHub 16:35:21 > git merge 9c55f022443565d876ce2e8ecf330b8742e19320 # timeout=10 16:35:21 > git rev-parse HEAD^{commit} # timeout=10 16:35:21 > git config core.sparsecheckout # timeout=10 16:35:21 > git checkout -f 0b0cb1a0a91fee117775f03ebfc888832c363ca9 # timeout=10 16:35:26 Commit message: "Rework configuration handling using iot_data_t maps - keeps configuration type-correct - allow override via environment of any value - lets implementations specify their defaults" 16:35:26 > git --version # timeout=10 16:35:26 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 16:35:28 ========================================================= 16:35:28 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 16:35:28 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:35:29 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-3.11-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 16:35:30 Sending build context to Docker daemon 3.411MB 16:35:30 Step 1/21 : ARG BASE=alpine:3.11 16:35:30 Step 2/21 : FROM ${BASE} as builder 16:35:31 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 16:35:31 0362ad1dd800: Pulling fs layer 16:35:31 f2cdb1532d8b: Pulling fs layer 16:35:31 37ed683be191: Pulling fs layer 16:35:31 0362ad1dd800: Verifying Checksum 16:35:31 0362ad1dd800: Download complete 16:35:31 f2cdb1532d8b: Verifying Checksum 16:35:31 f2cdb1532d8b: Download complete 16:35:31 0362ad1dd800: Pull complete 16:35:31 f2cdb1532d8b: Pull complete 16:35:33 37ed683be191: Verifying Checksum 16:35:33 37ed683be191: Download complete 16:35:44 37ed683be191: Pull complete 16:35:44 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 16:35:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 16:35:44 ---> b23d30803547 16:35:44 Step 3/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev 16:35:45 ---> Running in 9300015d0c36 16:35:46 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 16:35:47 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 16:35:48 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 16:35:48 (2/8) Installing libuuid (2.33-r0) 16:35:48 (3/8) Installing libblkid (2.33-r0) 16:35:48 (4/8) Installing libfdisk (2.33-r0) 16:35:48 (5/8) Installing libmount (2.33-r0) 16:35:48 (6/8) Installing libsmartcols (2.33-r0) 16:35:48 (7/8) Installing util-linux-dev (2.33-r0) 16:35:49 (8/8) Installing wget (1.20.3-r0) 16:35:49 Executing busybox-1.29.3-r10.trigger 16:35:49 OK: 285 MiB in 83 packages 16:35:50 Removing intermediate container 9300015d0c36 16:35:50 ---> 0d0c27ae7803 16:35:50 Step 4/21 : ENV CBOR_VERSION=0.5.0 16:35:50 ---> Running in ea7072b4d97a 16:35:51 Removing intermediate container ea7072b4d97a 16:35:51 ---> e4ef3489611c 16:35:51 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 16:35:51 ---> Running in bb17101ea366 16:35:53 --2020-07-13 16:35:52-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 16:35:53 Resolving github.com... 140.82.112.4 16:35:53 Connecting to github.com|140.82.112.4|:443... connected. 16:35:53 HTTP request sent, awaiting response... 302 Found 16:35:53 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 16:35:53 --2020-07-13 16:35:53-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 16:35:53 Resolving codeload.github.com... 140.82.112.10 16:35:53 Connecting to codeload.github.com|140.82.112.10|:443... connected. 16:35:53 HTTP request sent, awaiting response... 200 OK 16:35:53 Length: unspecified [application/x-gzip] 16:35:53 Saving to: 'STDOUT' 16:35:53  16:35:53 0K .......... .......... .......... .......... .......... 1.50M 16:35:53 50K .......... .......... .......... .......... .......... 3.01M 16:35:53 100K .......... .......... .......... .......... .......... 2.94M 16:35:53 150K .......... .......... .......... .......... .......... 11.9M 16:35:53 200K .......... .......... .......... .......... .......... 12.7M 16:35:53 250K .......... .......... .......... .......... .......... 3.51M 16:35:53 300K .......... .......... .......... .......... .......... 3.09M 16:35:53 350K .......... .......... .......... .......... .......... 5.50M 16:35:53 400K .......... .......... .......... .......... .......... 4.04M 16:35:53 450K .......... .......... .......... .......... .......... 3.54M 16:35:53 500K .......... .......... .......... .......... .......... 7.82M 16:35:53 550K .......... .......... .......... .......... .......... 3.52M 16:35:53 600K .......... .......... .......... .......... .......... 765K 16:35:53 650K .......... .......... .......... .......... .......... 2.17M 16:35:53 700K ..                2.50M=0.2s 16:35:53 16:35:53 2020-07-13 16:35:53 (2.78 MB/s) - written to stdout [719348] 16:35:53 16:35:54 -- The C compiler identification is GNU 8.3.0 16:35:54 -- The CXX compiler identification is GNU 8.3.0 16:35:54 -- Check for working C compiler: /usr/bin/cc 16:35:54 -- Check for working C compiler: /usr/bin/cc -- works 16:35:54 -- Detecting C compiler ABI info 16:35:54 -- Detecting C compiler ABI info - done 16:35:54 -- Detecting C compile features 16:35:55 -- Detecting C compile features - done 16:35:55 -- Check for working CXX compiler: /usr/bin/c++ 16:35:56 -- Check for working CXX compiler: /usr/bin/c++ -- works 16:35:56 -- Detecting CXX compiler ABI info 16:35:56 -- Detecting CXX compiler ABI info - done 16:35:56 -- Detecting CXX compile features 16:35:58 -- Detecting CXX compile features - done 16:35:58 -- Looking for include file endian.h 16:35:58 -- Looking for include file endian.h - found 16:35:58 -- Check if the system is big endian 16:35:58 -- Searching 16 bit integer 16:35:58 -- Looking for sys/types.h 16:35:58 -- Looking for sys/types.h - found 16:35:58 -- Looking for stdint.h 16:35:58 -- Looking for stdint.h - found 16:35:58 -- Looking for stddef.h 16:35:59 -- Looking for stddef.h - found 16:35:59 -- Check size of unsigned short 16:35:59 -- Check size of unsigned short - done 16:35:59 -- Using unsigned short 16:35:59 -- Check if the system is big endian - little endian 16:35:59 -- Check size of size_t 16:36:00 -- Check size of size_t - done 16:36:00 CMake Warning at examples/CMakeLists.txt:16 (find_package): 16:36:00 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 16:36:00 asked CMake to find a package configuration file provided by "cJSON", but 16:36:00 CMake did not find one. 16:36:00 16:36:00 Could not find a package configuration file provided by "cJSON" with any of 16:36:00 the following names: 16:36:00 16:36:00 cJSONConfig.cmake 16:36:00 cjson-config.cmake 16:36:00 16:36:00 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 16:36:00 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 16:36:00 provides a separate development package or SDK, be sure it has been 16:36:00 installed. 16:36:00 16:36:00 16:36:00 -- Configuring done 16:36:00 -- Generating done 16:36:00 -- Build files have been written to: /tmp/cbor 16:36:00 Scanning dependencies of target cbor_shared 16:36:00 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 16:36:01 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 16:36:02 Running on prd-centos7-docker-4c-2g-498 in /w/workspace/edgexfoundry_device-sdk-c_PR-277 [Pipeline] { [Pipeline] ws 16:36:02 Running in /w/workspace/device-sdk-c/1 [Pipeline] { 16:36:02 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [Pipeline] checkout 16:36:02 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 16:36:03 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 16:36:03 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 16:36:03 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 16:36:03 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 16:36:04 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 16:36:04 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 16:36:05 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 16:36:05 using credential edgex-jenkins-ssh 16:36:05 Cloning the remote Git repository 16:36:05 Cloning with configured refspecs honoured and without tags 16:36:05 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 16:36:05 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 16:36:05 > git init /w/workspace/device-sdk-c/1 # timeout=10 16:36:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:36:05 > git --version # timeout=10 16:36:05 using GIT_SSH to set credentials SSH Credentials for GitHub 16:36:05 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/277/head:refs/remotes/origin/PR-277 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:36:05 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 16:36:05 Fetching without tags 16:36:06 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 16:36:06 Merging remotes/origin/master commit 9c55f022443565d876ce2e8ecf330b8742e19320 into PR head commit 0b0cb1a0a91fee117775f03ebfc888832c363ca9 16:36:06 Merge succeeded, producing 0b0cb1a0a91fee117775f03ebfc888832c363ca9 16:36:06 Checking out Revision 0b0cb1a0a91fee117775f03ebfc888832c363ca9 (PR-277) 16:36:06 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 16:36:06 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 16:36:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:36:05 > git config --add remote.origin.fetch +refs/pull/277/head:refs/remotes/origin/PR-277 # timeout=10 16:36:05 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 16:36:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:36:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:36:05 using GIT_SSH to set credentials SSH Credentials for GitHub 16:36:05 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/277/head:refs/remotes/origin/PR-277 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:36:06 > git config core.sparsecheckout # timeout=10 16:36:06 > git checkout -f 0b0cb1a0a91fee117775f03ebfc888832c363ca9 # timeout=10 16:36:06 > git remote # timeout=10 16:36:06 > git config --get remote.origin.url # timeout=10 16:36:06 using GIT_SSH to set credentials SSH Credentials for GitHub 16:36:06 > git merge 9c55f022443565d876ce2e8ecf330b8742e19320 # timeout=10 16:36:06 > git rev-parse HEAD^{commit} # timeout=10 16:36:06 > git config core.sparsecheckout # timeout=10 16:36:06 > git checkout -f 0b0cb1a0a91fee117775f03ebfc888832c363ca9 # timeout=10 16:36:07 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 16:36:07 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 16:36:07 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 16:36:08 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 16:36:08 [ 40%] Linking C shared library libcbor.so 16:36:08 [ 40%] Built target cbor_shared 16:36:08 Scanning dependencies of target cbor 16:36:08 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 16:36:09 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 16:36:10 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 16:36:10 Commit message: "Rework configuration handling using iot_data_t maps - keeps configuration type-correct - allow override via environment of any value - lets implementations specify their defaults" 16:36:10 > git --version # timeout=10 16:36:10 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 16:36:10 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 16:36:11 ========================================================= 16:36:11 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 16:36:11 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:36:12 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 16:36:12 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 16:36:12 + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-3.11-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . 16:36:12 Sending build context to Docker daemon 3.411MB 16:36:12 Step 1/21 : ARG BASE=alpine:3.11 16:36:12 Step 2/21 : FROM ${BASE} as builder 16:36:12 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 16:36:12 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 16:36:12 latest: Pulling from edgex-devops/edgex-gcc-base 16:36:12 e7c96db7181b: Pulling fs layer 16:36:12 4c13bbce0fe7: Pulling fs layer 16:36:12 6059c847ac2f: Pulling fs layer 16:36:12 4c13bbce0fe7: Verifying Checksum 16:36:12 4c13bbce0fe7: Download complete 16:36:12 e7c96db7181b: Verifying Checksum 16:36:12 e7c96db7181b: Download complete 16:36:12 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 16:36:13 e7c96db7181b: Pull complete 16:36:13 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 16:36:13 4c13bbce0fe7: Pull complete 16:36:14 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 16:36:14 6059c847ac2f: Verifying Checksum 16:36:14 6059c847ac2f: Download complete 16:36:14 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 16:36:15 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 16:36:15 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 16:36:15 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 16:36:15 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 16:36:16 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 16:36:16 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 16:36:16 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 16:36:17 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 16:36:17 [ 80%] Linking C static library libcbor.a 16:36:17 [ 80%] Built target cbor 16:36:17 Scanning dependencies of target create_items 16:36:17 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 16:36:17 [ 84%] Linking C executable create_items 16:36:17 [ 84%] Built target create_items 16:36:17 Scanning dependencies of target readfile 16:36:17 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 16:36:18 [ 88%] Linking C executable readfile 16:36:18 [ 88%] Built target readfile 16:36:18 Scanning dependencies of target streaming_parser 16:36:18 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 16:36:18 6059c847ac2f: Pull complete 16:36:18 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 16:36:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 16:36:18 ---> 5eabd8fd8ba2 16:36:18 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 16:36:18 [ 92%] Linking C executable streaming_parser 16:36:18 [ 92%] Built target streaming_parser 16:36:18 Scanning dependencies of target sort 16:36:18 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 16:36:18 [ 96%] Linking C executable sort 16:36:18 [ 96%] Built target sort 16:36:18 Scanning dependencies of target hello 16:36:19 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 16:36:19 [100%] Linking C executable hello 16:36:19 [100%] Built target hello 16:36:19 Install the project... 16:36:19 -- Install configuration: "Release" 16:36:19 -- Installing: /usr/local/include/cbor/configuration.h 16:36:19 -- Installing: /usr/local/lib64/libcbor.a 16:36:19 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 16:36:19 -- Installing: /usr/local/lib64/libcbor.so.0 16:36:19 -- Installing: /usr/local/lib64/libcbor.so 16:36:19 -- Up-to-date: /usr/local/include/cbor 16:36:19 -- Installing: /usr/local/include/cbor/streaming.h 16:36:19 -- Installing: /usr/local/include/cbor/ints.h 16:36:19 -- Installing: /usr/local/include/cbor/floats_ctrls.h 16:36:19 -- Installing: /usr/local/include/cbor/bytestrings.h 16:36:19 -- Installing: /usr/local/include/cbor/encoding.h 16:36:19 -- Installing: /usr/local/include/cbor/serialization.h 16:36:19 -- Installing: /usr/local/include/cbor/data.h 16:36:19 -- Installing: /usr/local/include/cbor/common.h 16:36:19 -- Installing: /usr/local/include/cbor/callbacks.h 16:36:19 -- Installing: /usr/local/include/cbor/strings.h 16:36:19 -- Installing: /usr/local/include/cbor/tags.h 16:36:19 -- Installing: /usr/local/include/cbor/internal 16:36:19 -- Installing: /usr/local/include/cbor/internal/encoders.h 16:36:19 -- Installing: /usr/local/include/cbor/internal/loaders.h 16:36:19 -- Installing: /usr/local/include/cbor/internal/stack.h 16:36:19 -- Installing: /usr/local/include/cbor/internal/unicode.h 16:36:19 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 16:36:19 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 16:36:19 -- Installing: /usr/local/include/cbor/arrays.h 16:36:19 -- Installing: /usr/local/include/cbor/maps.h 16:36:19 -- Installing: /usr/local/include/cbor.h 16:36:19 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 16:36:20 ---> Running in 3a487eb001aa 16:36:20 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 16:36:21 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 16:36:22 Removing intermediate container bb17101ea366 16:36:22 ---> ef49ee74d972 16:36:22 Step 6/21 : RUN mkdir /tmp/sdk 16:36:22 ---> Running in 686448b0735d 16:36:22 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 16:36:22 (2/8) Installing libuuid (2.33-r0) 16:36:22 (3/8) Installing libblkid (2.33-r0) 16:36:22 (4/8) Installing libfdisk (2.33-r0) 16:36:23 (5/8) Installing libmount (2.33-r0) 16:36:23 (6/8) Installing libsmartcols (2.33-r0) 16:36:24 (7/8) Installing util-linux-dev (2.33-r0) 16:36:24 Removing intermediate container 686448b0735d 16:36:24 ---> bf877112cca9 16:36:24 Step 7/21 : COPY VERSION /tmp/sdk 16:36:25 ---> dde425e7d3e3 16:36:25 Step 8/21 : COPY src /tmp/sdk/src 16:36:25 (8/8) Installing wget (1.20.3-r0) 16:36:26 Executing busybox-1.29.3-r10.trigger 16:36:26 OK: 272 MiB in 83 packages 16:36:26 ---> 7cf916ca84c4 16:36:26 Step 9/21 : COPY include /tmp/sdk/include 16:36:26 Removing intermediate container 3a487eb001aa 16:36:26 ---> ad2a5ff73966 16:36:26 Step 4/21 : ENV CBOR_VERSION=0.5.0 16:36:26 ---> Running in faa0fe33df7d 16:36:26 Removing intermediate container faa0fe33df7d 16:36:26 ---> 3dc76e2572d6 16:36:26 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 16:36:26 ---> Running in 7c6d2b0759a2 16:36:26 ---> 12952c3df81a 16:36:26 Step 10/21 : COPY scripts /tmp/sdk/scripts 16:36:27 --2020-07-13 16:36:27-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 16:36:27 Resolving github.com... 140.82.112.4 16:36:27 Connecting to github.com|140.82.112.4|:443... connected. 16:36:27 HTTP request sent, awaiting response... 302 Found 16:36:27 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 16:36:27 --2020-07-13 16:36:27-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 16:36:27 Resolving codeload.github.com... 140.82.112.10 16:36:27 Connecting to codeload.github.com|140.82.112.10|:443... connected. 16:36:27 HTTP request sent, awaiting response... 200 OK 16:36:27 Length: unspecified [application/x-gzip] 16:36:27 Saving to: 'STDOUT' 16:36:27  16:36:27 0K .......... .......... .......... .......... .......... 1.52M 16:36:27 50K .......... .......... .......... .......... .......... 3.17M 16:36:27 100K .......... .......... .......... .......... .......... 42.7M 16:36:27 150K .......... .......... .......... .......... .......... 4.83M 16:36:27 200K .......... .......... .......... .......... .......... 7.19M 16:36:27 250K .......... .......... .......... .......... .......... 11.7M 16:36:27 300K .......... .......... .......... .......... .......... 8.49M 16:36:27 350K .......... .......... .......... .......... .......... 16.0M 16:36:27 400K .......... .......... .......... .......... .......... 6.80M 16:36:27 450K .......... .......... .......... .......... .......... 5.91M 16:36:27 500K .......... .......... .......... .......... .......... 21.3M 16:36:27 550K .......... .......... .......... .......... .......... 6.72M 16:36:27 600K .......... .......... .......... .......... .......... 2.22M 16:36:27 650K .......... .......... .......... .......... .......... 6.39M 16:36:27 700K .. 1.15M=0.1s 16:36:27 16:36:27 2020-07-13 16:36:27 (5.07 MB/s) - written to stdout [719348] 16:36:27 16:36:27 -- The C compiler identification is GNU 8.3.0 16:36:27 ---> d1812a09894a 16:36:27 Step 11/21 : COPY LICENSE /tmp/sdk 16:36:28 -- The CXX compiler identification is GNU 8.3.0 16:36:28 -- Check for working C compiler: /usr/bin/cc 16:36:28 -- Check for working C compiler: /usr/bin/cc -- works 16:36:28 -- Detecting C compiler ABI info 16:36:28 -- Detecting C compiler ABI info - done 16:36:28 -- Detecting C compile features 16:36:28 -- Detecting C compile features - done 16:36:28 -- Check for working CXX compiler: /usr/bin/c++ 16:36:28 -- Check for working CXX compiler: /usr/bin/c++ -- works 16:36:28 -- Detecting CXX compiler ABI info 16:36:28 ---> 1444ba528aa9 16:36:28 Step 12/21 : COPY Attribution.txt /tmp/sdk 16:36:28 -- Detecting CXX compiler ABI info - done 16:36:28 -- Detecting CXX compile features 16:36:29 ---> cc31de03d0ab 16:36:29 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 16:36:29 -- Detecting CXX compile features - done 16:36:29 -- Looking for include file endian.h 16:36:29 -- Looking for include file endian.h - found 16:36:29 -- Check if the system is big endian 16:36:29 -- Searching 16 bit integer 16:36:29 -- Looking for sys/types.h 16:36:29 -- Looking for sys/types.h - found 16:36:29 -- Looking for stdint.h 16:36:29 -- Looking for stdint.h - found 16:36:29 -- Looking for stddef.h 16:36:29 -- Looking for stddef.h - found 16:36:29 -- Check size of unsigned short 16:36:29 ---> Running in 837156b99c23 16:36:29 -- Check size of unsigned short - done 16:36:29 -- Using unsigned short 16:36:29 -- Check if the system is big endian - little endian 16:36:29 -- Check size of size_t 16:36:29 -- Check size of size_t - done 16:36:29 CMake Warning at examples/CMakeLists.txt:16 (find_package): 16:36:29 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 16:36:29 asked CMake to find a package configuration file provided by "cJSON", but 16:36:29 CMake did not find one. 16:36:29 16:36:29 Could not find a package configuration file provided by "cJSON" with any of 16:36:29 the following names: 16:36:29 16:36:29 cJSONConfig.cmake 16:36:29 cjson-config.cmake 16:36:29 16:36:29 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 16:36:29 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 16:36:29 provides a separate development package or SDK, be sure it has been 16:36:29 installed. 16:36:29 16:36:29 16:36:29 -- Configuring done 16:36:29 -- Generating done 16:36:29 -- Build files have been written to: /tmp/cbor 16:36:29 Scanning dependencies of target cbor_shared 16:36:29 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 16:36:30 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 16:36:30 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 16:36:30 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 16:36:30 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 16:36:30 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 16:36:30 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 16:36:30 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 16:36:30 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 16:36:30 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 16:36:30 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 16:36:30 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 16:36:30 + CPPCHECK=false 16:36:30 + DOCGEN=false 16:36:30 + TOMLVER=SDK-0.2 16:36:30 + CUTILVER=1.1-branch 16:36:30 + '[' 0 -gt 0 ] 16:36:30 + readlink -f ./scripts/build.sh 16:36:30 + dirname /tmp/sdk/scripts/build.sh 16:36:30 + dirname /tmp/sdk/scripts 16:36:30 + ROOT=/tmp/sdk 16:36:30 + cd /tmp/sdk 16:36:30 + '[' '!' -d deps ] 16:36:30 + mkdir deps 16:36:30 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:36:30 + tar -C deps -z -x -f - 16:36:30 --2020-07-13 16:36:30-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:36:30 Resolving github.com... 140.82.112.4 16:36:30 Connecting to github.com|140.82.112.4|:443... connected. 16:36:31 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 16:36:31 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 16:36:31 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 16:36:31 HTTP request sent, awaiting response... 302 Found 16:36:31 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 16:36:31 --2020-07-13 16:36:30-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 16:36:31 Resolving codeload.github.com... 140.82.112.10 16:36:31 Connecting to codeload.github.com|140.82.112.10|:443... connected. 16:36:31 HTTP request sent, awaiting response... 200 OK 16:36:31 Length: unspecified [application/x-gzip] 16:36:31 Saving to: 'STDOUT' 16:36:31 16:36:31 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 16:36:31 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 16:36:31 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 16:36:31 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 16:36:31 0K .......... ......  1.04M=0.02s 16:36:31 16:36:31 2020-07-13 16:36:31 (1.04 MB/s) - written to stdout [16451] 16:36:31 16:36:31 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 16:36:31 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1-branch.tar.gz 16:36:31 + tar -C deps -z -x -f - 16:36:31 --2020-07-13 16:36:31-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1-branch.tar.gz 16:36:31 Resolving github.com... 140.82.112.4 16:36:31 Connecting to github.com|140.82.112.4|:443... connected. 16:36:31 HTTP request sent, awaiting response... 302 Found 16:36:31 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1-branch [following] 16:36:31 --2020-07-13 16:36:31-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1-branch 16:36:31 Resolving codeload.github.com... 140.82.112.10 16:36:31 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 16:36:31 [ 40%] Linking C shared library libcbor.so 16:36:31 [ 40%] Built target cbor_shared 16:36:31 Scanning dependencies of target cbor 16:36:31 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 16:36:31 Connecting to codeload.github.com|140.82.112.10|:443... connected. 16:36:31 HTTP request sent, awaiting response... 200 OK 16:36:31 Length: unspecified [application/x-gzip] 16:36:31 Saving to: 'STDOUT' 16:36:31  16:36:31 0K .......... .......... .......... .......... .......... 1.31M 16:36:31 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 16:36:31 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 16:36:31 50K .......... .......... .......... .......... .......... 2.24M 16:36:31 100K .......... .......... .......... .......... .......... 7.52M 16:36:31 150K .......... .... 12.3M=0.07s 16:36:31 16:36:31 2020-07-13 16:36:31 (2.41 MB/s) - written to stdout [168266] 16:36:31 16:36:31 + mkdir -p src/c/iot 16:36:31 + cp deps/iotech-c-utils-1.1-branch/src/c/base64.c deps/iotech-c-utils-1.1-branch/src/c/component.c deps/iotech-c-utils-1.1-branch/src/c/config.c deps/iotech-c-utils-1.1-branch/src/c/container.c deps/iotech-c-utils-1.1-branch/src/c/data.c deps/iotech-c-utils-1.1-branch/src/c/hash.c deps/iotech-c-utils-1.1-branch/src/c/iot.c deps/iotech-c-utils-1.1-branch/src/c/json.c deps/iotech-c-utils-1.1-branch/src/c/logger.c deps/iotech-c-utils-1.1-branch/src/c/os.c deps/iotech-c-utils-1.1-branch/src/c/scheduler.c deps/iotech-c-utils-1.1-branch/src/c/thread.c deps/iotech-c-utils-1.1-branch/src/c/threadpool.c deps/iotech-c-utils-1.1-branch/src/c/time.c src/c/iot 16:36:31 + mkdir -p include/iot 16:36:31 + cp deps/iotech-c-utils-1.1-branch/include/iot/base64.h deps/iotech-c-utils-1.1-branch/include/iot/component.h deps/iotech-c-utils-1.1-branch/include/iot/config.h deps/iotech-c-utils-1.1-branch/include/iot/container.h deps/iotech-c-utils-1.1-branch/include/iot/data.h deps/iotech-c-utils-1.1-branch/include/iot/hash.h deps/iotech-c-utils-1.1-branch/include/iot/iot.h deps/iotech-c-utils-1.1-branch/include/iot/json.h deps/iotech-c-utils-1.1-branch/include/iot/logger.h deps/iotech-c-utils-1.1-branch/include/iot/os.h deps/iotech-c-utils-1.1-branch/include/iot/scheduler.h deps/iotech-c-utils-1.1-branch/include/iot/thread.h deps/iotech-c-utils-1.1-branch/include/iot/threadpool.h deps/iotech-c-utils-1.1-branch/include/iot/time.h deps/iotech-c-utils-1.1-branch/include/iot/typecode.h include/iot 16:36:31 + mkdir -p include/iot/os 16:36:31 + cp deps/iotech-c-utils-1.1-branch/include/iot/os/linux.h deps/iotech-c-utils-1.1-branch/include/iot/os/macos.h deps/iotech-c-utils-1.1-branch/include/iot/os/zephyr.h include/iot/os 16:36:31 + mkdir -p /tmp/sdk/build/release 16:36:31 + cd /tmp/sdk/build/release 16:36:31 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 16:36:32 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 16:36:32 -- The C compiler identification is GNU 8.3.0 16:36:32 -- Check for working C compiler: /usr/bin/cc 16:36:32 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 16:36:32 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 16:36:32 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 16:36:32 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 16:36:32 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 16:36:32 -- Check for working C compiler: /usr/bin/cc -- works 16:36:32 -- Detecting C compiler ABI info 16:36:32 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 16:36:32 -- Detecting C compiler ABI info - done 16:36:32 -- Detecting C compile features 16:36:32 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 16:36:32 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 16:36:32 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 16:36:33 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 16:36:33 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 16:36:33 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 16:36:33 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 16:36:33 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 16:36:33 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 16:36:33 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 16:36:33 [ 80%] Linking C static library libcbor.a 16:36:33 [ 80%] Built target cbor 16:36:33 Scanning dependencies of target create_items 16:36:33 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 16:36:33 [ 84%] Linking C executable create_items 16:36:33 [ 84%] Built target create_items 16:36:33 Scanning dependencies of target readfile 16:36:33 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 16:36:33 [ 88%] Linking C executable readfile 16:36:33 -- Detecting C compile features - done 16:36:33 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:36:33 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 16:36:33 -- Found LIBYAML: /usr/lib/libyaml.so 16:36:33 -- Found LIBUUID: /usr/lib/libuuid.so 16:36:33 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:36:33 -- C SDK 0.0.0 for Linux 16:36:33 -- Performing Test CSDK_HAVE_ATOMIC 16:36:33 [ 88%] Built target readfile 16:36:33 Scanning dependencies of target streaming_parser 16:36:33 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 16:36:33 [ 92%] Linking C executable streaming_parser 16:36:33 [ 92%] Built target streaming_parser 16:36:33 Scanning dependencies of target sort 16:36:33 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 16:36:33 [ 96%] Linking C executable sort 16:36:33 [ 96%] Built target sort 16:36:33 Scanning dependencies of target hello 16:36:33 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 16:36:34 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:36:34 -- Found Curses: /usr/lib/libcurses.so 16:36:34 -- Configuring done 16:36:34 [100%] Linking C executable hello 16:36:34 [100%] Built target hello 16:36:34 Install the project... 16:36:34 -- Install configuration: "Release" 16:36:34 -- Installing: /usr/local/include/cbor/configuration.h 16:36:34 -- Installing: /usr/local/lib64/libcbor.a 16:36:34 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 16:36:34 -- Installing: /usr/local/lib64/libcbor.so.0 16:36:34 -- Installing: /usr/local/lib64/libcbor.so 16:36:34 -- Up-to-date: /usr/local/include/cbor 16:36:34 -- Installing: /usr/local/include/cbor/arrays.h 16:36:34 -- Installing: /usr/local/include/cbor/bytestrings.h 16:36:34 -- Installing: /usr/local/include/cbor/callbacks.h 16:36:34 -- Installing: /usr/local/include/cbor/common.h 16:36:34 -- Installing: /usr/local/include/cbor/data.h 16:36:34 -- Installing: /usr/local/include/cbor/encoding.h 16:36:34 -- Installing: /usr/local/include/cbor/floats_ctrls.h 16:36:34 -- Installing: /usr/local/include/cbor/internal 16:36:34 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 16:36:34 -- Installing: /usr/local/include/cbor/internal/encoders.h 16:36:34 -- Installing: /usr/local/include/cbor/internal/loaders.h 16:36:34 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 16:36:34 -- Installing: /usr/local/include/cbor/internal/stack.h 16:36:34 -- Installing: /usr/local/include/cbor/internal/unicode.h 16:36:34 -- Installing: /usr/local/include/cbor/ints.h 16:36:34 -- Installing: /usr/local/include/cbor/maps.h 16:36:34 -- Installing: /usr/local/include/cbor/serialization.h 16:36:34 -- Installing: /usr/local/include/cbor/streaming.h 16:36:34 -- Installing: /usr/local/include/cbor/strings.h 16:36:34 -- Installing: /usr/local/include/cbor/tags.h 16:36:34 -- Installing: /usr/local/include/cbor.h 16:36:34 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 16:36:34 -- Generating done 16:36:34 -- Build files have been written to: /tmp/sdk/build/release 16:36:34 + make 16:36:34 + tee release.log 16:36:34 Scanning dependencies of target csdk 16:36:34 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:36:35 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 16:36:35 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:36:36 Removing intermediate container 7c6d2b0759a2 16:36:36 ---> b6e2f27db174 16:36:36 Step 6/21 : RUN mkdir /tmp/sdk 16:36:36 ---> Running in aa923f77fd73 16:36:37 Removing intermediate container aa923f77fd73 16:36:37 ---> 6e52fa2026af 16:36:37 Step 7/21 : COPY VERSION /tmp/sdk 16:36:37 ---> 4ddd7265a7d1 16:36:37 Step 8/21 : COPY src /tmp/sdk/src 16:36:38 ---> ae91d76e446c 16:36:38 Step 9/21 : COPY include /tmp/sdk/include 16:36:38 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:36:38 ---> 6d06361a0b45 16:36:38 Step 10/21 : COPY scripts /tmp/sdk/scripts 16:36:38 ---> 927bad68388b 16:36:38 Step 11/21 : COPY LICENSE /tmp/sdk 16:36:38 ---> 4114281001d5 16:36:38 Step 12/21 : COPY Attribution.txt /tmp/sdk 16:36:39 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:36:39 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:36:39 ---> 9ffc57ae59c2 16:36:39 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 16:36:39 ---> Running in 8faeebc6b8d3 16:36:39 + CPPCHECK=false 16:36:39 + DOCGEN=false 16:36:39 + TOMLVER=SDK-0.2 16:36:39 + CUTILVER=1.1-branch 16:36:39 + '[' 0 -gt 0 ] 16:36:39 + readlink -f ./scripts/build.sh 16:36:39 + dirname /tmp/sdk/scripts/build.sh 16:36:39 + dirname /tmp/sdk/scripts 16:36:39 + ROOT=/tmp/sdk 16:36:39 + cd /tmp/sdk 16:36:39 + '[' '!' -d deps ] 16:36:39 + mkdir deps 16:36:39 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:36:39 + tar -C deps -z -x -f - 16:36:39 --2020-07-13 16:36:39-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:36:39 Resolving github.com... 140.82.113.3 16:36:39 Connecting to github.com|140.82.113.3|:443... connected. 16:36:39 HTTP request sent, awaiting response... 302 Found 16:36:39 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 16:36:39 --2020-07-13 16:36:39-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 16:36:39 Resolving codeload.github.com... 140.82.112.10 16:36:39 Connecting to codeload.github.com|140.82.112.10|:443... connected. 16:36:39 HTTP request sent, awaiting response... 200 OK 16:36:39 Length: unspecified [application/x-gzip] 16:36:39 Saving to: 'STDOUT' 16:36:39  16:36:39 0K .......... ......  909K=0.02s 16:36:39 16:36:39 2020-07-13 16:36:39 (909 KB/s) - written to stdout [16451] 16:36:39 16:36:39 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 16:36:39 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1-branch.tar.gz 16:36:39 + tar -C deps -z -x -f - 16:36:39 --2020-07-13 16:36:39-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1-branch.tar.gz 16:36:40 Resolving github.com... 140.82.113.3 16:36:40 Connecting to github.com|140.82.113.3|:443... connected. 16:36:40 HTTP request sent, awaiting response... 302 Found 16:36:40 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1-branch [following] 16:36:40 --2020-07-13 16:36:39-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1-branch 16:36:40 Resolving codeload.github.com... 140.82.112.10 16:36:40 Connecting to codeload.github.com|140.82.112.10|:443... connected. 16:36:40 HTTP request sent, awaiting response... 200 OK 16:36:40 Length: unspecified [application/x-gzip] 16:36:40 Saving to: 'STDOUT' 16:36:40 16:36:40 0K .......... .......... .......... .......... .......... 1.64M 16:36:40 50K .......... .......... .......... .......... .......... 3.99M 16:36:40 100K .......... .......... .......... .......... .......... 15.2M 16:36:40 150K .......... .... 2.77M=0.05s 16:36:40 16:36:40 2020-07-13 16:36:40 (3.20 MB/s) - written to stdout [168266] 16:36:40 16:36:40 + mkdir -p src/c/iot 16:36:40 + cp deps/iotech-c-utils-1.1-branch/src/c/base64.c deps/iotech-c-utils-1.1-branch/src/c/component.c deps/iotech-c-utils-1.1-branch/src/c/config.c deps/iotech-c-utils-1.1-branch/src/c/container.c deps/iotech-c-utils-1.1-branch/src/c/data.c deps/iotech-c-utils-1.1-branch/src/c/hash.c deps/iotech-c-utils-1.1-branch/src/c/iot.c deps/iotech-c-utils-1.1-branch/src/c/json.c deps/iotech-c-utils-1.1-branch/src/c/logger.c deps/iotech-c-utils-1.1-branch/src/c/os.c deps/iotech-c-utils-1.1-branch/src/c/scheduler.c deps/iotech-c-utils-1.1-branch/src/c/thread.c deps/iotech-c-utils-1.1-branch/src/c/threadpool.c deps/iotech-c-utils-1.1-branch/src/c/time.c src/c/iot 16:36:40 + mkdir -p include/iot 16:36:40 + cp deps/iotech-c-utils-1.1-branch/include/iot/base64.h deps/iotech-c-utils-1.1-branch/include/iot/component.h deps/iotech-c-utils-1.1-branch/include/iot/config.h deps/iotech-c-utils-1.1-branch/include/iot/container.h deps/iotech-c-utils-1.1-branch/include/iot/data.h deps/iotech-c-utils-1.1-branch/include/iot/hash.h deps/iotech-c-utils-1.1-branch/include/iot/iot.h deps/iotech-c-utils-1.1-branch/include/iot/json.h deps/iotech-c-utils-1.1-branch/include/iot/logger.h deps/iotech-c-utils-1.1-branch/include/iot/os.h deps/iotech-c-utils-1.1-branch/include/iot/scheduler.h deps/iotech-c-utils-1.1-branch/include/iot/thread.h deps/iotech-c-utils-1.1-branch/include/iot/threadpool.h deps/iotech-c-utils-1.1-branch/include/iot/time.h deps/iotech-c-utils-1.1-branch/include/iot/typecode.h include/iot 16:36:40 + mkdir -p include/iot/os 16:36:40 + cp deps/iotech-c-utils-1.1-branch/include/iot/os/linux.h deps/iotech-c-utils-1.1-branch/include/iot/os/macos.h deps/iotech-c-utils-1.1-branch/include/iot/os/zephyr.h include/iot/os 16:36:40 + mkdir -p /tmp/sdk/build/release 16:36:40 + cd /tmp/sdk/build/release 16:36:40 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 16:36:40 -- The C compiler identification is GNU 8.3.0 16:36:40 -- Check for working C compiler: /usr/bin/cc 16:36:40 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:36:40 -- Check for working C compiler: /usr/bin/cc -- works 16:36:40 -- Detecting C compiler ABI info 16:36:40 -- Detecting C compiler ABI info - done 16:36:40 -- Detecting C compile features 16:36:40 -- Detecting C compile features - done 16:36:40 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:36:40 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 16:36:40 -- Found LIBYAML: /usr/lib/libyaml.so 16:36:40 -- Found LIBUUID: /usr/lib/libuuid.so 16:36:40 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:36:40 -- C SDK 0.0.0 for Linux 16:36:40 -- Performing Test CSDK_HAVE_ATOMIC 16:36:40 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:36:40 -- Found Curses: /usr/lib/libcurses.so 16:36:40 -- Configuring done 16:36:41 -- Generating done 16:36:41 -- Build files have been written to: /tmp/sdk/build/release 16:36:41 + make 16:36:41 + tee release.log 16:36:41 Scanning dependencies of target csdk 16:36:41 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:36:41 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 16:36:41 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:36:41 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:36:41 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:36:41 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:36:42 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:36:42 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:36:42 [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:36:42 [ 17%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:36:43 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:36:43 [ 19%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:36:43 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:36:43 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:36:43 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:36:43 [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:36:44 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:36:44 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:36:44 [ 17%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:36:44 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 16:36:44 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:36:44 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:36:44 [ 19%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:36:45 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:36:45 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:36:45 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:36:45 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:36:45 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:36:45 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:36:45 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:36:45 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:36:45 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:36:45 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:36:45 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:36:46 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:36:46 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:36:46 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:36:46 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:36:46 [ 57%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:36:47 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:36:47 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:36:47 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:36:48 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:36:48 [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:36:48 [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:36:49 [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:36:49 [ 71%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 16:36:49 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:36:50 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:36:50 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:36:50 [ 75%] Linking C shared library libcsdk.so 16:36:50 [ 75%] Built target csdk 16:36:50 Scanning dependencies of target template 16:36:50 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:36:50 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 16:36:50 [ 78%] Linking C executable template 16:36:50 [ 78%] Built target template 16:36:50 Scanning dependencies of target device-counter 16:36:50 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:36:50 [ 82%] Linking C executable device-counter 16:36:50 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:36:50 [ 82%] Built target device-counter 16:36:50 Scanning dependencies of target device-random 16:36:50 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:36:50 [ 85%] Linking C executable device-random 16:36:51 [ 85%] Built target device-random 16:36:51 Scanning dependencies of target device-gyro 16:36:51 [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:36:51 [ 89%] Linking C executable device-gyro 16:36:51 [ 89%] Built target device-gyro 16:36:51 Scanning dependencies of target template-discovery 16:36:51 [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:36:51 [ 92%] Linking C executable template-discovery 16:36:51 [ 92%] Built target template-discovery 16:36:51 Scanning dependencies of target device-terminal 16:36:51 [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:36:51 [ 96%] Linking C executable device-terminal 16:36:51 [ 96%] Built target device-terminal 16:36:51 Scanning dependencies of target templatev1 16:36:51 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 16:36:51 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:36:51 [100%] Linking C executable templatev1 16:36:51 [100%] Built target templatev1 16:36:51 + make package 16:36:51 + tee -a release.log 16:36:51 [ 75%] Built target csdk 16:36:51 [ 78%] Built target template 16:36:51 [ 82%] Built target device-counter 16:36:51 [ 85%] Built target device-random 16:36:52 [ 89%] Built target device-gyro 16:36:52 [ 92%] Built target template-discovery 16:36:52 [ 96%] Built target device-terminal 16:36:52 [100%] Built target templatev1 16:36:52 Run CPack packaging tool... 16:36:52 CPack: Create package using TGZ 16:36:52 CPack: Install projects 16:36:52 CPack: - Run preinstall target for: Csdk 16:36:52 CPack: - Install project: Csdk 16:36:52 CPack: Create package 16:36:52 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 16:36:52 + '[' false '=' true ] 16:36:52 + '[' false '=' true ] 16:36:52 + mkdir -p /tmp/sdk/build/debug 16:36:52 + cd /tmp/sdk/build/debug 16:36:52 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 16:36:52 -- The C compiler identification is GNU 8.3.0 16:36:52 -- Check for working C compiler: /usr/bin/cc 16:36:52 -- Check for working C compiler: /usr/bin/cc -- works 16:36:52 -- Detecting C compiler ABI info 16:36:52 -- Detecting C compiler ABI info - done 16:36:52 -- Detecting C compile features 16:36:52 -- Detecting C compile features - done 16:36:52 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:36:52 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 16:36:52 -- Found LIBYAML: /usr/lib/libyaml.so 16:36:52 -- Found LIBUUID: /usr/lib/libuuid.so 16:36:52 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:36:52 -- C SDK 0.0.0 for Linux 16:36:52 -- Performing Test CSDK_HAVE_ATOMIC 16:36:52 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:36:52 -- Found Curses: /usr/lib/libcurses.so 16:36:52 -- Configuring done 16:36:53 -- Generating done 16:36:53 -- Build files have been written to: /tmp/sdk/build/debug 16:36:53 + make 16:36:53 + tee debug.log 16:36:53 Scanning dependencies of target csdk 16:36:53 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:36:53 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 16:36:53 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:36:53 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:36:53 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:36:53 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:36:53 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:36:54 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:36:54 [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:36:54 [ 17%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:36:54 [ 19%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:36:54 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:36:54 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:36:54 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:36:54 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:36:54 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:36:54 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:36:54 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:36:54 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:36:54 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 16:36:54 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:36:54 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:36:55 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:36:55 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:36:55 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:36:55 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:36:55 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:36:55 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:36:55 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:36:55 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:36:55 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:36:55 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:36:55 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:36:55 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:36:55 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:36:55 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:36:56 [ 57%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:36:56 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:36:56 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:36:56 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:36:56 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:36:56 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:36:56 [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:36:56 [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:36:57 [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:36:57 [ 71%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 16:36:57 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:36:57 [ 75%] Linking C shared library libcsdk.so 16:36:57 [ 75%] Built target csdk 16:36:57 Scanning dependencies of target template 16:36:57 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:36:57 [ 78%] Linking C executable template 16:36:57 [ 78%] Built target template 16:36:57 Scanning dependencies of target device-counter 16:36:57 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:36:57 [ 82%] Linking C executable device-counter 16:36:57 [ 82%] Built target device-counter 16:36:57 Scanning dependencies of target device-random 16:36:57 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:36:57 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:36:57 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:36:57 [ 85%] Linking C executable device-random 16:36:57 [ 85%] Built target device-random 16:36:57 Scanning dependencies of target device-gyro 16:36:57 [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:36:57 [ 89%] Linking C executable device-gyro 16:36:58 [ 89%] Built target device-gyro 16:36:58 Scanning dependencies of target template-discovery 16:36:58 [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:36:58 [ 92%] Linking C executable template-discovery 16:36:58 [ 92%] Built target template-discovery 16:36:58 Scanning dependencies of target device-terminal 16:36:58 [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:36:58 [ 96%] Linking C executable device-terminal 16:36:58 [ 96%] Built target device-terminal 16:36:58 Scanning dependencies of target templatev1 16:36:58 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 16:36:58 [100%] Linking C executable templatev1 16:36:58 [100%] Built target templatev1 16:36:58 make: Entering directory '/tmp/sdk/build/release' 16:36:58 make[1]: Entering directory '/tmp/sdk/build/release' 16:36:58 make[2]: Entering directory '/tmp/sdk/build/release' 16:36:58 Scanning dependencies of target csdk 16:36:58 make[2]: Leaving directory '/tmp/sdk/build/release' 16:36:58 make[2]: Entering directory '/tmp/sdk/build/release' 16:36:58 [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:36:58 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:36:58 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:36:58 [ 3%] Linking C shared library libcsdk.so 16:36:58 make[2]: Leaving directory '/tmp/sdk/build/release' 16:36:58 [ 75%] Built target csdk 16:36:58 make[2]: Entering directory '/tmp/sdk/build/release' 16:36:58 make[2]: Leaving directory '/tmp/sdk/build/release' 16:36:58 make[2]: Entering directory '/tmp/sdk/build/release' 16:36:59 [ 76%] Linking C executable template 16:36:59 make[2]: Leaving directory '/tmp/sdk/build/release' 16:36:59 [ 78%] Built target template 16:36:59 make[2]: Entering directory '/tmp/sdk/build/release' 16:36:59 make[2]: Leaving directory '/tmp/sdk/build/release' 16:36:59 make[2]: Entering directory '/tmp/sdk/build/release' 16:36:59 [ 80%] Linking C executable device-counter 16:36:59 make[2]: Leaving directory '/tmp/sdk/build/release' 16:36:59 [ 82%] Built target device-counter 16:36:59 make[2]: Entering directory '/tmp/sdk/build/release' 16:36:59 make[2]: Leaving directory '/tmp/sdk/build/release' 16:36:59 make[2]: Entering directory '/tmp/sdk/build/release' 16:36:59 [ 83%] Linking C executable device-random 16:36:59 make[2]: Leaving directory '/tmp/sdk/build/release' 16:36:59 [ 85%] Built target device-random 16:36:59 make[2]: Entering directory '/tmp/sdk/build/release' 16:36:59 make[2]: Leaving directory '/tmp/sdk/build/release' 16:36:59 make[2]: Entering directory '/tmp/sdk/build/release' 16:36:59 [ 87%] Linking C executable device-gyro 16:36:59 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:36:59 make[2]: Leaving directory '/tmp/sdk/build/release' 16:36:59 [ 89%] Built target device-gyro 16:36:59 make[2]: Entering directory '/tmp/sdk/build/release' 16:36:59 make[2]: Leaving directory '/tmp/sdk/build/release' 16:36:59 make[2]: Entering directory '/tmp/sdk/build/release' 16:36:59 [ 91%] Linking C executable template-discovery 16:36:59 make[2]: Leaving directory '/tmp/sdk/build/release' 16:36:59 [ 92%] Built target template-discovery 16:36:59 make[2]: Entering directory '/tmp/sdk/build/release' 16:36:59 make[2]: Leaving directory '/tmp/sdk/build/release' 16:36:59 make[2]: Entering directory '/tmp/sdk/build/release' 16:36:59 [ 94%] Linking C executable device-terminal 16:36:59 make[2]: Leaving directory '/tmp/sdk/build/release' 16:36:59 [ 96%] Built target device-terminal 16:36:59 make[2]: Entering directory '/tmp/sdk/build/release' 16:36:59 make[2]: Leaving directory '/tmp/sdk/build/release' 16:36:59 make[2]: Entering directory '/tmp/sdk/build/release' 16:36:59 [ 98%] Linking C executable templatev1 16:36:59 make[2]: Leaving directory '/tmp/sdk/build/release' 16:36:59 [100%] Built target templatev1 16:36:59 make[1]: Leaving directory '/tmp/sdk/build/release' 16:36:59 Install the project... 16:36:59 -- Install configuration: "Release" 16:36:59 -- Installing: /usr/local/lib/libcsdk.so 16:36:59 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 16:36:59 -- Up-to-date: /usr/local/include 16:36:59 -- Installing: /usr/local/include/devsdk 16:36:59 -- Installing: /usr/local/include/devsdk/devsdk-base.h 16:36:59 -- Installing: /usr/local/include/devsdk/devsdk.h 16:36:59 -- Installing: /usr/local/include/edgex 16:36:59 -- Installing: /usr/local/include/edgex/device-mgmt.h 16:36:59 -- Installing: /usr/local/include/edgex/devices.h 16:36:59 -- Installing: /usr/local/include/edgex/devsdk.h 16:36:59 -- Installing: /usr/local/include/edgex/edgex-base.h 16:36:59 -- Installing: /usr/local/include/edgex/edgex.h 16:36:59 -- Installing: /usr/local/include/edgex/error.h 16:36:59 -- Installing: /usr/local/include/edgex/eventgen.h 16:36:59 -- Installing: /usr/local/include/edgex/os.h 16:36:59 -- Installing: /usr/local/include/edgex/profiles.h 16:36:59 -- Installing: /usr/local/include/edgex/rest-server.h 16:36:59 -- Installing: /usr/local/include/edgex/csdk-defs.h 16:36:59 -- Installing: /usr/local/include/iot 16:36:59 -- Installing: /usr/local/include/iot/base64.h 16:36:59 -- Installing: /usr/local/include/iot/component.h 16:36:59 -- Installing: /usr/local/include/iot/config.h 16:36:59 -- Installing: /usr/local/include/iot/container.h 16:36:59 -- Installing: /usr/local/include/iot/data.h 16:36:59 -- Installing: /usr/local/include/iot/hash.h 16:36:59 -- Installing: /usr/local/include/iot/iot.h 16:36:59 -- Installing: /usr/local/include/iot/json.h 16:36:59 -- Installing: /usr/local/include/iot/logger.h 16:36:59 -- Installing: /usr/local/include/iot/os.h 16:36:59 -- Installing: /usr/local/include/iot/scheduler.h 16:36:59 -- Installing: /usr/local/include/iot/thread.h 16:36:59 -- Installing: /usr/local/include/iot/threadpool.h 16:36:59 -- Installing: /usr/local/include/iot/time.h 16:36:59 -- Installing: /usr/local/include/iot/typecode.h 16:36:59 -- Installing: /usr/local/include/iot/os 16:36:59 -- Installing: /usr/local/include/iot/os/linux.h 16:36:59 -- Installing: /usr/local/include/iot/os/macos.h 16:36:59 -- Installing: /usr/local/include/iot/os/zephyr.h 16:36:59 -- Installing: /usr/local/share/device-sdk-c/LICENSE 16:36:59 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 16:36:59 make: Leaving directory '/tmp/sdk/build/release' 16:37:00 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:37:00 [ 57%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:37:01 Removing intermediate container 8faeebc6b8d3 16:37:01 ---> 64be038e2e23 16:37:01 Step 14/21 : FROM ${BASE} 16:37:01 ---> 5eabd8fd8ba2 16:37:01 Step 15/21 : MAINTAINER IOTech 16:37:01 ---> Running in 6ff438d37ec8 16:37:01 Removing intermediate container 6ff438d37ec8 16:37:01 ---> 02a1369c7bc9 16:37:01 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 16:37:01 ---> Running in ac1b0582ab34 16:37:02 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 16:37:03 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 16:37:03 (1/3) Installing curl (7.64.0-r3) 16:37:04 (2/3) Installing libuuid (2.33-r0) 16:37:04 (3/3) Installing wget (1.20.3-r0) 16:37:04 Executing busybox-1.29.3-r10.trigger 16:37:04 OK: 268 MiB in 78 packages 16:37:04 Removing intermediate container ac1b0582ab34 16:37:04 ---> 756878a60437 16:37:04 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 16:37:04 ---> b00085a66b31 16:37:04 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 16:37:05 ---> 5d4870696dee 16:37:05 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 16:37:05 ---> 30fbb0829131 16:37:05 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 16:37:05 ---> 310182381294 16:37:05 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 16:37:05 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:37:05 ---> f296640eec97 16:37:05 Successfully built f296640eec97 16:37:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage 16:37:06 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:37:06 + docker inspect -f . ci-base-image-x86_64 16:37:06 . 16:37:06 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [Pipeline] withDockerContainer 16:37:06 prd-centos7-docker-4c-2g-498 does not seem to be running inside a container 16:37:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:37:07 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:37:07 $ docker top 7be3ed37a0e43a70bc0e9b26d0cf31f8127b570017f193b99eae4234135288f2 -eo pid,comm [Pipeline] { [Pipeline] sh 16:37:08 + make test 16:37:08 echo "make test" 16:37:08 make test [Pipeline] } 16:37:08 $ docker stop --time=1 7be3ed37a0e43a70bc0e9b26d0cf31f8127b570017f193b99eae4234135288f2 16:37:09 [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:37:09 $ docker rm -f 7be3ed37a0e43a70bc0e9b26d0cf31f8127b570017f193b99eae4234135288f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 16:37:11 [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [Pipeline] sh 16:37:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:37:12 + ls -al . 16:37:12 total 160 16:37:12 drwxrwxr-x. 9 jenkins jenkins 275 Jul 13 16:36 . 16:37:12 drwxrwxr-x. 4 jenkins jenkins 28 Jul 13 16:36 .. 16:37:12 -rw-rw-r--. 1 jenkins jenkins 3104 Jul 13 16:36 Attribution.txt 16:37:12 -rw-rw-r--. 1 jenkins jenkins 5663 Jul 13 16:36 CHANGES 16:37:12 drwxrwxr-x. 2 jenkins jenkins 144 Jul 13 16:36 docs 16:37:12 -rw-rw-r--. 1 jenkins jenkins 108574 Jul 13 16:36 Doxyfile 16:37:12 drwxrwxr-x. 8 jenkins jenkins 179 Jul 13 16:36 .git 16:37:12 drwxrwxr-x. 2 jenkins jenkins 38 Jul 13 16:36 .github 16:37:12 -rw-rw-r--. 1 jenkins jenkins 176 Jul 13 16:36 .gitignore 16:37:12 drwxrwxr-x. 4 jenkins jenkins 33 Jul 13 16:36 include 16:37:12 -rw-rw-r--. 1 jenkins jenkins 794 Jul 13 16:36 Jenkinsfile 16:37:12 -rw-rw-r--. 1 jenkins jenkins 10174 Jul 13 16:36 LICENSE 16:37:12 -rw-rw-r--. 1 jenkins jenkins 449 Jul 13 16:36 Makefile 16:37:12 -rw-rw-r--. 1 jenkins jenkins 1849 Jul 13 16:36 README.md 16:37:12 -rw-rw-r--. 1 jenkins jenkins 5670 Jul 13 16:36 README.v2.md 16:37:12 drwxrwxr-x. 2 jenkins jenkins 108 Jul 13 16:36 scripts 16:37:12 drwxrwxr-x. 3 jenkins jenkins 58 Jul 13 16:36 .semver 16:37:12 drwxrwxr-x. 4 jenkins jenkins 50 Jul 13 16:36 src 16:37:12 -rw-rw-r--. 1 jenkins jenkins 5 Jul 13 16:31 VERSION [Pipeline] isUnix [Pipeline] sh 16:37:12 + docker build -t docker-device-sdk-c -f scripts/Dockerfile.alpine-3.11 --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=0b0cb1a0a91fee117775f03ebfc888832c363ca9 --label arch=amd64 --label version=0.0.0 . 16:37:12 Sending build context to Docker daemon 3.411MB 16:37:12 Step 1/15 : ARG BASE=alpine:3.11 16:37:12 Step 2/15 : FROM ${BASE} 16:37:12 ---> f296640eec97 16:37:12 Step 3/15 : MAINTAINER IOTech 16:37:13 ---> Running in 3c9a8a09210a 16:37:13 Removing intermediate container 3c9a8a09210a 16:37:13 ---> e17664f84a2f 16:37:13 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 16:37:13 ---> Running in 708477ba1c04 16:37:14 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 16:37:14 [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:37:14 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 16:37:15 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 16:37:15 (2/6) Installing libblkid (2.33-r0) 16:37:15 (3/6) Installing libfdisk (2.33-r0) 16:37:15 [ 71%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 16:37:15 (4/6) Installing libmount (2.33-r0) 16:37:15 (5/6) Installing libsmartcols (2.33-r0) 16:37:15 (6/6) Installing util-linux-dev (2.33-r0) 16:37:15 Executing busybox-1.29.3-r10.trigger 16:37:15 OK: 272 MiB in 84 packages 16:37:16 Removing intermediate container 708477ba1c04 16:37:16 ---> bda2860da1fa 16:37:16 Step 5/15 : COPY VERSION /edgex-c-sdk/ 16:37:16 ---> efac4d74fc9d 16:37:16 Step 6/15 : COPY src /edgex-c-sdk/src/ 16:37:16 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:37:17 [ 75%] Linking C shared library libcsdk.so 16:37:17 [ 75%] Built target csdk 16:37:17 Scanning dependencies of target template 16:37:17 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:37:17 ---> f116cc334a96 16:37:17 Step 7/15 : COPY include /edgex-c-sdk/include/ 16:37:17 ---> 1f6f2c1a8c43 16:37:17 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 16:37:17 ---> c88c19a0ad08 16:37:17 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 16:37:17 [ 78%] Linking C executable template 16:37:17 ---> 7dbef85bf71a 16:37:17 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 16:37:17 [ 78%] Built target template 16:37:17 Scanning dependencies of target device-counter 16:37:17 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:37:18 ---> 14c7ef033a59 16:37:18 Step 11/15 : WORKDIR /edgex-c-sdk 16:37:18 ---> Running in d94b77cfb0e1 16:37:18 Removing intermediate container d94b77cfb0e1 16:37:18 ---> ea8e799f0b64 16:37:18 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 16:37:18 ---> Running in 928e195d794b 16:37:18 Removing intermediate container 928e195d794b 16:37:18 ---> 98ec2515b77e 16:37:18 Step 13/15 : LABEL arch=amd64 16:37:18 ---> Running in 5504e2114ceb 16:37:18 [ 82%] Linking C executable device-counter 16:37:18 Removing intermediate container 5504e2114ceb 16:37:18 ---> 9b972f90c862 16:37:18 Step 14/15 : LABEL git_sha=0b0cb1a0a91fee117775f03ebfc888832c363ca9 16:37:18 ---> Running in 9918db7ed721 16:37:18 [ 82%] Built target device-counter 16:37:18 Scanning dependencies of target device-random 16:37:18 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:37:18 Removing intermediate container 9918db7ed721 16:37:18 ---> 8c3fefdc145c 16:37:18 Step 15/15 : LABEL version=0.0.0 16:37:18 ---> Running in 84c98a56b5ca 16:37:19 Removing intermediate container 84c98a56b5ca 16:37:19 ---> a1b05c9ee298 16:37:19 [Warning] One or more build-args [MAKE ARCH] were not consumed 16:37:19 Successfully built a1b05c9ee298 16:37:19 Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } 16:37:19 [ 85%] Linking C executable device-random 16:37:19 [ 85%] Built target device-random 16:37:19 Scanning dependencies of target device-gyro [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } 16:37:19 [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } 16:37:19 [ 89%] Linking C executable device-gyro [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv 16:37:20 [ 89%] Built target device-gyro 16:37:20 Scanning dependencies of target template-discovery 16:37:20 [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node 16:37:20 [ 92%] Linking C executable template-discovery [Pipeline] } [Pipeline] // stage [Pipeline] } 16:37:21 [ 92%] Built target template-discovery 16:37:21 Scanning dependencies of target device-terminal 16:37:21 [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:37:21 [ 96%] Linking C executable device-terminal 16:37:21 [ 96%] Built target device-terminal 16:37:21 Scanning dependencies of target templatev1 16:37:21 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 16:37:22 [100%] Linking C executable templatev1 16:37:22 [100%] Built target templatev1 16:37:22 + make package 16:37:22 + tee -a release.log 16:37:22 [ 75%] Built target csdk 16:37:22 [ 78%] Built target template 16:37:22 [ 82%] Built target device-counter 16:37:23 [ 85%] Built target device-random 16:37:23 [ 89%] Built target device-gyro 16:37:23 [ 92%] Built target template-discovery 16:37:23 [ 96%] Built target device-terminal 16:37:23 [100%] Built target templatev1 16:37:23 Run CPack packaging tool... 16:37:23 CPack: Create package using TGZ 16:37:23 CPack: Install projects 16:37:23 CPack: - Run preinstall target for: Csdk 16:37:23 CPack: - Install project: Csdk 16:37:23 CPack: Create package 16:37:23 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 16:37:23 + '[' false '=' true ] 16:37:23 + '[' false '=' true ] 16:37:23 + mkdir -p /tmp/sdk/build/debug 16:37:23 + cd /tmp/sdk/build/debug 16:37:23 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 16:37:24 -- The C compiler identification is GNU 8.3.0 16:37:24 -- Check for working C compiler: /usr/bin/cc 16:37:24 -- Check for working C compiler: /usr/bin/cc -- works 16:37:24 -- Detecting C compiler ABI info 16:37:24 -- Detecting C compiler ABI info - done 16:37:24 -- Detecting C compile features 16:37:25 -- Detecting C compile features - done 16:37:25 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:37:25 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 16:37:25 -- Found LIBYAML: /usr/lib/libyaml.so 16:37:25 -- Found LIBUUID: /usr/lib/libuuid.so 16:37:25 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:37:25 -- C SDK 0.0.0 for Linux 16:37:25 -- Performing Test CSDK_HAVE_ATOMIC 16:37:25 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:37:25 -- Found Curses: /usr/lib/libcurses.so 16:37:25 -- Configuring done 16:37:26 -- Generating done 16:37:26 -- Build files have been written to: /tmp/sdk/build/debug 16:37:26 + + teemake debug.log 16:37:26 16:37:26 Scanning dependencies of target csdk 16:37:26 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:37:26 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 16:37:26 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:37:27 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:37:27 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:37:28 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:37:28 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:37:28 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:37:29 [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:37:29 [ 17%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:37:30 [ 19%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:37:30 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:37:30 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:37:30 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:37:32 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:37:32 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:37:32 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 16:37:32 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:37:32 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:37:33 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:37:33 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:37:34 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:37:34 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:37:34 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:37:34 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:37:35 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:37:35 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:37:35 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:37:35 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:37:36 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:37:36 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:37:36 [ 57%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:37:37 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:37:38 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:37:38 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:37:39 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:37:40 [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:37:40 [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:37:41 [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:37:41 [ 71%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 16:37:42 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:37:42 [ 75%] Linking C shared library libcsdk.so 16:37:42 [ 75%] Built target csdk 16:37:42 Scanning dependencies of target template 16:37:42 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:37:43 [ 78%] Linking C executable template 16:37:43 [ 78%] Built target template 16:37:43 Scanning dependencies of target device-counter 16:37:43 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:37:43 [ 82%] Linking C executable device-counter 16:37:43 [ 82%] Built target device-counter 16:37:43 Scanning dependencies of target device-random 16:37:44 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:37:44 [ 85%] Linking C executable device-random 16:37:44 [ 85%] Built target device-random 16:37:44 Scanning dependencies of target device-gyro 16:37:44 [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:37:44 [ 89%] Linking C executable device-gyro 16:37:44 [ 89%] Built target device-gyro 16:37:44 Scanning dependencies of target template-discovery 16:37:45 [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:37:45 [ 92%] Linking C executable template-discovery 16:37:45 [ 92%] Built target template-discovery 16:37:45 Scanning dependencies of target device-terminal 16:37:45 [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:37:46 [ 96%] Linking C executable device-terminal 16:37:46 [ 96%] Built target device-terminal 16:37:46 Scanning dependencies of target templatev1 16:37:46 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 16:37:46 [100%] Linking C executable templatev1 16:37:46 [100%] Built target templatev1 16:37:46 make: Entering directory '/tmp/sdk/build/release' 16:37:46 make[1]: Entering directory '/tmp/sdk/build/release' 16:37:46 make[2]: Entering directory '/tmp/sdk/build/release' 16:37:47 Scanning dependencies of target csdk 16:37:47 make[2]: Leaving directory '/tmp/sdk/build/release' 16:37:47 make[2]: Entering directory '/tmp/sdk/build/release' 16:37:47 [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:37:49 [ 3%] Linking C shared library libcsdk.so 16:37:49 make[2]: Leaving directory '/tmp/sdk/build/release' 16:37:49 [ 75%] Built target csdk 16:37:49 make[2]: Entering directory '/tmp/sdk/build/release' 16:37:49 make[2]: Leaving directory '/tmp/sdk/build/release' 16:37:49 make[2]: Entering directory '/tmp/sdk/build/release' 16:37:49 [ 76%] Linking C executable template 16:37:49 make[2]: Leaving directory '/tmp/sdk/build/release' 16:37:49 [ 78%] Built target template 16:37:49 make[2]: Entering directory '/tmp/sdk/build/release' 16:37:49 make[2]: Leaving directory '/tmp/sdk/build/release' 16:37:49 make[2]: Entering directory '/tmp/sdk/build/release' 16:37:49 [ 80%] Linking C executable device-counter 16:37:49 make[2]: Leaving directory '/tmp/sdk/build/release' 16:37:49 [ 82%] Built target device-counter 16:37:49 make[2]: Entering directory '/tmp/sdk/build/release' 16:37:49 make[2]: Leaving directory '/tmp/sdk/build/release' 16:37:49 make[2]: Entering directory '/tmp/sdk/build/release' 16:37:49 [ 83%] Linking C executable device-random 16:37:50 make[2]: Leaving directory '/tmp/sdk/build/release' 16:37:50 [ 85%] Built target device-random 16:37:50 make[2]: Entering directory '/tmp/sdk/build/release' 16:37:50 make[2]: Leaving directory '/tmp/sdk/build/release' 16:37:50 make[2]: Entering directory '/tmp/sdk/build/release' 16:37:50 [ 87%] Linking C executable device-gyro 16:37:50 make[2]: Leaving directory '/tmp/sdk/build/release' 16:37:50 [ 89%] Built target device-gyro 16:37:50 make[2]: Entering directory '/tmp/sdk/build/release' 16:37:50 make[2]: Leaving directory '/tmp/sdk/build/release' 16:37:50 make[2]: Entering directory '/tmp/sdk/build/release' 16:37:50 [ 91%] Linking C executable template-discovery 16:37:50 make[2]: Leaving directory '/tmp/sdk/build/release' 16:37:50 [ 92%] Built target template-discovery 16:37:50 make[2]: Entering directory '/tmp/sdk/build/release' 16:37:50 make[2]: Leaving directory '/tmp/sdk/build/release' 16:37:50 make[2]: Entering directory '/tmp/sdk/build/release' 16:37:50 [ 94%] Linking C executable device-terminal 16:37:51 make[2]: Leaving directory '/tmp/sdk/build/release' 16:37:51 [ 96%] Built target device-terminal 16:37:51 make[2]: Entering directory '/tmp/sdk/build/release' 16:37:51 make[2]: Leaving directory '/tmp/sdk/build/release' 16:37:51 make[2]: Entering directory '/tmp/sdk/build/release' 16:37:51 [ 98%] Linking C executable templatev1 16:37:51 make[2]: Leaving directory '/tmp/sdk/build/release' 16:37:51 [100%] Built target templatev1 16:37:51 make[1]: Leaving directory '/tmp/sdk/build/release' 16:37:51 Install the project... 16:37:51 -- Install configuration: "Release" 16:37:51 -- Installing: /usr/local/lib/libcsdk.so 16:37:51 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 16:37:51 -- Up-to-date: /usr/local/include 16:37:51 -- Installing: /usr/local/include/edgex 16:37:51 -- Installing: /usr/local/include/edgex/device-mgmt.h 16:37:51 -- Installing: /usr/local/include/edgex/eventgen.h 16:37:51 -- Installing: /usr/local/include/edgex/error.h 16:37:51 -- Installing: /usr/local/include/edgex/rest-server.h 16:37:51 -- Installing: /usr/local/include/edgex/edgex-base.h 16:37:51 -- Installing: /usr/local/include/edgex/devsdk.h 16:37:51 -- Installing: /usr/local/include/edgex/edgex.h 16:37:51 -- Installing: /usr/local/include/edgex/devices.h 16:37:51 -- Installing: /usr/local/include/edgex/os.h 16:37:51 -- Installing: /usr/local/include/edgex/profiles.h 16:37:51 -- Installing: /usr/local/include/edgex/csdk-defs.h 16:37:51 -- Installing: /usr/local/include/devsdk 16:37:51 -- Installing: /usr/local/include/devsdk/devsdk-base.h 16:37:51 -- Installing: /usr/local/include/devsdk/devsdk.h 16:37:51 -- Installing: /usr/local/include/iot 16:37:51 -- Installing: /usr/local/include/iot/json.h 16:37:51 -- Installing: /usr/local/include/iot/container.h 16:37:51 -- Installing: /usr/local/include/iot/component.h 16:37:51 -- Installing: /usr/local/include/iot/typecode.h 16:37:51 -- Installing: /usr/local/include/iot/iot.h 16:37:51 -- Installing: /usr/local/include/iot/time.h 16:37:51 -- Installing: /usr/local/include/iot/hash.h 16:37:51 -- Installing: /usr/local/include/iot/logger.h 16:37:51 -- Installing: /usr/local/include/iot/os 16:37:51 -- Installing: /usr/local/include/iot/os/zephyr.h 16:37:51 -- Installing: /usr/local/include/iot/os/linux.h 16:37:51 -- Installing: /usr/local/include/iot/os/macos.h 16:37:51 -- Installing: /usr/local/include/iot/scheduler.h 16:37:51 -- Installing: /usr/local/include/iot/data.h 16:37:51 -- Installing: /usr/local/include/iot/thread.h 16:37:51 -- Installing: /usr/local/include/iot/os.h 16:37:51 -- Installing: /usr/local/include/iot/base64.h 16:37:51 -- Installing: /usr/local/include/iot/threadpool.h 16:37:51 -- Installing: /usr/local/include/iot/config.h 16:37:51 -- Installing: /usr/local/share/device-sdk-c/LICENSE 16:37:51 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 16:37:51 make: Leaving directory '/tmp/sdk/build/release' 16:37:53 Removing intermediate container 837156b99c23 16:37:53 ---> e20869125cd2 16:37:53 Step 14/21 : FROM ${BASE} 16:37:53 ---> b23d30803547 16:37:53 Step 15/21 : MAINTAINER IOTech 16:37:53 ---> Running in 85abfd2a0053 16:37:54 Removing intermediate container 85abfd2a0053 16:37:54 ---> 5757a408de58 16:37:54 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 16:37:54 ---> Running in 20e49d3b57a1 16:37:56 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 16:37:57 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 16:37:57 (1/3) Installing curl (7.64.0-r3) 16:37:57 (2/3) Installing libuuid (2.33-r0) 16:37:57 (3/3) Installing wget (1.20.3-r0) 16:37:57 Executing busybox-1.29.3-r10.trigger 16:37:57 OK: 281 MiB in 78 packages 16:37:59 Removing intermediate container 20e49d3b57a1 16:37:59 ---> 7496764bc37a 16:37:59 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 16:38:00 ---> 7860a87c59a1 16:38:00 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 16:38:00 ---> bdab62cfe4b8 16:38:00 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 16:38:01 ---> f6080cfe71d5 16:38:01 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 16:38:02 ---> bab3d99d8972 16:38:02 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 16:38:03 ---> b56a8ae1aaf6 16:38:03 Successfully built b56a8ae1aaf6 16:38:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:38:04 + docker inspect -f . ci-base-image-arm64 16:38:04 . [Pipeline] withDockerContainer 16:38:04 prd-ubuntu18.04-docker-arm64-4c-16g-496 does not seem to be running inside a container 16:38:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:38:07 $ docker top 2eb0503900285431e64d8dba466bf025f7b7bd837f79e1a4e85cef1c8225c965 -eo pid,comm [Pipeline] { [Pipeline] sh 16:38:08 + make test 16:38:08 echo "make test" 16:38:08 make test [Pipeline] } 16:38:08 $ docker stop --time=1 2eb0503900285431e64d8dba466bf025f7b7bd837f79e1a4e85cef1c8225c965 16:38:11 $ docker rm -f 2eb0503900285431e64d8dba466bf025f7b7bd837f79e1a4e85cef1c8225c965 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:38:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:38:12 + ls -al . 16:38:12 total 196 16:38:12 drwxrwxr-x 9 jenkins jenkins 4096 Jul 13 16:35 . 16:38:12 drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 16:35 .. 16:38:12 drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 16:35 .git 16:38:12 drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 16:35 .github 16:38:12 -rw-rw-r-- 1 jenkins jenkins 176 Jul 13 16:35 .gitignore 16:38:12 drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 16:35 .semver 16:38:12 -rw-rw-r-- 1 jenkins jenkins 3104 Jul 13 16:35 Attribution.txt 16:38:12 -rw-rw-r-- 1 jenkins jenkins 5663 Jul 13 16:35 CHANGES 16:38:12 -rw-rw-r-- 1 jenkins jenkins 108574 Jul 13 16:35 Doxyfile 16:38:12 -rw-rw-r-- 1 jenkins jenkins 794 Jul 13 16:35 Jenkinsfile 16:38:12 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 13 16:35 LICENSE 16:38:12 -rw-rw-r-- 1 jenkins jenkins 449 Jul 13 16:35 Makefile 16:38:12 -rw-rw-r-- 1 jenkins jenkins 1849 Jul 13 16:35 README.md 16:38:12 -rw-rw-r-- 1 jenkins jenkins 5670 Jul 13 16:35 README.v2.md 16:38:12 -rw-rw-r-- 1 jenkins jenkins 5 Jul 13 16:31 VERSION 16:38:12 drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 16:35 docs 16:38:12 drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 16:35 include 16:38:12 drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 16:35 scripts 16:38:12 drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 16:35 src [Pipeline] isUnix [Pipeline] sh 16:38:13 + docker build -t docker-device-sdk-c-arm64 -f scripts/Dockerfile.alpine-3.11 --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=0b0cb1a0a91fee117775f03ebfc888832c363ca9 --label arch=arm64 --label version=0.0.0 . 16:38:13 Sending build context to Docker daemon 3.411MB 16:38:13 Step 1/15 : ARG BASE=alpine:3.11 16:38:13 Step 2/15 : FROM ${BASE} 16:38:13 ---> b56a8ae1aaf6 16:38:13 Step 3/15 : MAINTAINER IOTech 16:38:14 ---> Running in 7c49fba4e795 16:38:14 Removing intermediate container 7c49fba4e795 16:38:14 ---> 60ba4a4857a4 16:38:14 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 16:38:14 ---> Running in b2bddaa346c1 16:38:16 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 16:38:17 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 16:38:17 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 16:38:17 (2/6) Installing libblkid (2.33-r0) 16:38:17 (3/6) Installing libfdisk (2.33-r0) 16:38:17 (4/6) Installing libmount (2.33-r0) 16:38:17 (5/6) Installing libsmartcols (2.33-r0) 16:38:17 (6/6) Installing util-linux-dev (2.33-r0) 16:38:18 Executing busybox-1.29.3-r10.trigger 16:38:18 OK: 286 MiB in 84 packages 16:38:20 Removing intermediate container b2bddaa346c1 16:38:20 ---> d8aa10eba008 16:38:20 Step 5/15 : COPY VERSION /edgex-c-sdk/ 16:38:21 ---> 33d0aea7f599 16:38:21 Step 6/15 : COPY src /edgex-c-sdk/src/ 16:38:22 ---> c3a0033a3f8a 16:38:22 Step 7/15 : COPY include /edgex-c-sdk/include/ 16:38:23 ---> 237d9d7d5062 16:38:23 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 16:38:25 ---> a5e58aea353d 16:38:25 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 16:38:25 ---> 17d18bf7b70f 16:38:25 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 16:38:26 ---> f62c493b1bd8 16:38:26 Step 11/15 : WORKDIR /edgex-c-sdk 16:38:26 ---> Running in fc4650f04c4c 16:38:26 Removing intermediate container fc4650f04c4c 16:38:26 ---> 8bc67a9d4fcc 16:38:26 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 16:38:27 ---> Running in 5ef8add1389b 16:38:27 Removing intermediate container 5ef8add1389b 16:38:27 ---> 3dda06c36d69 16:38:27 Step 13/15 : LABEL arch=arm64 16:38:27 ---> Running in cadb2c21dd72 16:38:28 Removing intermediate container cadb2c21dd72 16:38:28 ---> 471c7ced2eda 16:38:28 Step 14/15 : LABEL git_sha=0b0cb1a0a91fee117775f03ebfc888832c363ca9 16:38:28 ---> Running in aac464f9e222 16:38:28 Removing intermediate container aac464f9e222 16:38:28 ---> 14c1eff32ba4 16:38:28 Step 15/15 : LABEL version=0.0.0 16:38:28 ---> Running in 99f55549b0db 16:38:29 Removing intermediate container 99f55549b0db 16:38:29 ---> 80ff81c0b2cf 16:38:29 [Warning] One or more build-args [ARCH MAKE] were not consumed 16:38:29 Successfully built 80ff81c0b2cf 16:38:29 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 16:38:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:38:35 ---> package-listing.sh 16:38:35 ++ facter osfamily 16:38:35 ++ tr '[:upper:]' '[:lower:]' 16:38:35 + OS_FAMILY=redhat 16:38:35 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-277 16:38:35 + START_PACKAGES=/tmp/packages_start.txt 16:38:35 + END_PACKAGES=/tmp/packages_end.txt 16:38:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:38:35 + PACKAGES=/tmp/packages_start.txt 16:38:35 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-277 ']' 16:38:35 + PACKAGES=/tmp/packages_end.txt 16:38:35 + case "${OS_FAMILY}" in 16:38:35 + rpm -qa 16:38:35 + sort 16:38:39 + '[' -f /tmp/packages_start.txt ']' 16:38:39 + '[' -f /tmp/packages_end.txt ']' 16:38:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:38:39 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-277 ']' 16:38:39 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-277/archives/ 16:38:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-277/archives/ [Pipeline] isUnix [Pipeline] sh 16:38:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:38:40 16:38:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 16:38:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:38:40 alpine: Pulling from edgex-lftools-log-publisher 16:38:40 c9b1b535fdd9: Pulling fs layer 16:38:40 2cc5ad85d9ab: Pulling fs layer 16:38:40 756a868c4378: Pulling fs layer 16:38:40 444b2fc9a129: Pulling fs layer 16:38:40 ea15f1150254: Pulling fs layer 16:38:40 41b27a9f41bf: Pulling fs layer 16:38:40 28c525ee5125: Pulling fs layer 16:38:40 094b1ea09ed8: Pulling fs layer 16:38:40 138eaada9080: Pulling fs layer 16:38:40 0622d0fa9048: Pulling fs layer 16:38:40 41b27a9f41bf: Waiting 16:38:40 28c525ee5125: Waiting 16:38:40 094b1ea09ed8: Waiting 16:38:40 138eaada9080: Waiting 16:38:40 0622d0fa9048: Waiting 16:38:40 444b2fc9a129: Waiting 16:38:40 ea15f1150254: Waiting 16:38:40 2cc5ad85d9ab: Download complete 16:38:40 444b2fc9a129: Verifying Checksum 16:38:40 444b2fc9a129: Download complete 16:38:40 c9b1b535fdd9: Verifying Checksum 16:38:40 ea15f1150254: Verifying Checksum 16:38:40 ea15f1150254: Download complete 16:38:40 28c525ee5125: Verifying Checksum 16:38:40 28c525ee5125: Download complete 16:38:40 756a868c4378: Verifying Checksum 16:38:40 756a868c4378: Download complete 16:38:41 138eaada9080: Verifying Checksum 16:38:41 138eaada9080: Download complete 16:38:41 0622d0fa9048: Verifying Checksum 16:38:41 0622d0fa9048: Download complete 16:38:41 094b1ea09ed8: Verifying Checksum 16:38:41 094b1ea09ed8: Download complete 16:38:41 c9b1b535fdd9: Pull complete 16:38:41 2cc5ad85d9ab: Pull complete 16:38:41 41b27a9f41bf: Verifying Checksum 16:38:41 41b27a9f41bf: Download complete 16:38:43 756a868c4378: Pull complete 16:38:43 444b2fc9a129: Pull complete 16:38:43 ea15f1150254: Pull complete 16:38:47 41b27a9f41bf: Pull complete 16:38:47 28c525ee5125: Pull complete 16:38:51 094b1ea09ed8: Pull complete 16:38:51 138eaada9080: Pull complete 16:38:51 0622d0fa9048: Pull complete 16:38:51 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 16:38:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:38:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 16:38:51 prd-centos7-docker-4c-2g-492 does not seem to be running inside a container 16:38:51 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/edgexfoundry_device-sdk-c_PR-277 -v /w/workspace/edgexfoundry_device-sdk-c_PR-277:/w/workspace/edgexfoundry_device-sdk-c_PR-277:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-277@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-277@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 16:38:54 $ docker top 21621c537b97454db412ba453f7f341fc9e6b86db1f74d812dbaf8a21aad92cd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:38:55 provisioning config files... 16:38:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-277@tmp/config7324394607178765814tmp [Pipeline] { [Pipeline] echo 16:38:55 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:38:55 ---> create-netrc.sh [Pipeline] echo 16:38:55 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:38:56 ---> logs-deploy.sh 16:38:56 + ARCHIVE_ARTIFACTS= 16:38:56 + LOGS_SERVER=https://logs.edgexfoundry.org 16:38:56 + '[' https://logs.edgexfoundry.org == None ']' 16:38:56 + NEXUS_URL=https://nexus.edgexfoundry.org 16:38:56 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-277/1 16:38:56 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-277/1/ 16:38:56 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-277/1 /w/workspace/edgexfoundry_device-sdk-c_PR-277 16:38:57 Archives upload complete. 16:38:57 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-277/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-277/1/