Pull request #271 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 414b841636228c254328d50dab08f2821d7f5031+9807c98aec50e436adf0acc90aeecd299a070733 (0f29a286e1ad51f7a5ee62bf841125388b25bc63) 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-271/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 ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3710 in /w/workspace/edgexfoundry_device-sdk-c_PR-271 [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-271 # 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/271/head:refs/remotes/origin/PR-271 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 9807c98aec50e436adf0acc90aeecd299a070733 into PR head commit 414b841636228c254328d50dab08f2821d7f5031 Merge succeeded, producing 414b841636228c254328d50dab08f2821d7f5031 Checking out Revision 414b841636228c254328d50dab08f2821d7f5031 (PR-271) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/271/head:refs/remotes/origin/PR-271 # 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/271/head:refs/remotes/origin/PR-271 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 414b841636228c254328d50dab08f2821d7f5031 # 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 9807c98aec50e436adf0acc90aeecd299a070733 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 414b841636228c254328d50dab08f2821d7f5031 # timeout=10 Commit message: "fix: wrong map size for CBOR readings feat: take a reasonable default for mediaType" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:36:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:36:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:36:34 ========================================================= 11:36:34 EdgeX Global Pipelines Version Info 11:36:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:36:35 ------------------- 11:36:35 stable info: 11:36:35 ------------------- 11:36:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:36:35 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 11:36:35 Message: update stable to v1.0.89 11:36:36 ------------------- 11:36:36 experimental info: 11:36:36 ------------------- 11:36:36 Commited By: **** collab-it+edgex@linuxfoundation.org 11:36:36 Commit SHA: aa323fb5dfebb31640c35badf05a5a9beff52318 11:36:36 Message: update experimental to v1.0.90 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 11:36:37 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:36:38 11:36:38 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 11:36:38 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:36:38 latest: Pulling from edgex-devops/git-semver 11:36:38 9123ac7c32f7: Pulling fs layer 11:36:38 b8cc5d1170e3: Pulling fs layer 11:36:38 2924cbbf6a41: Pulling fs layer 11:36:38 93b08a4f1073: Pulling fs layer 11:36:38 93b08a4f1073: Waiting 11:36:38 b8cc5d1170e3: Download complete 11:36:38 9123ac7c32f7: Verifying Checksum 11:36:38 9123ac7c32f7: Download complete 11:36:39 93b08a4f1073: Verifying Checksum 11:36:39 93b08a4f1073: Download complete 11:36:39 2924cbbf6a41: Verifying Checksum 11:36:39 2924cbbf6a41: Download complete 11:36:39 9123ac7c32f7: Pull complete 11:36:39 b8cc5d1170e3: Pull complete 11:36:40 2924cbbf6a41: Pull complete 11:36:40 93b08a4f1073: Pull complete 11:36:40 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 11:36:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:36:40 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 11:36:40 prd-centos7-docker-4c-2g-3710 does not seem to be running inside a container 11:36:40 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-271 -v /w/workspace/edgexfoundry_device-sdk-c_PR-271:/w/workspace/edgexfoundry_device-sdk-c_PR-271:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-271@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-271@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:36:42 $ docker top 026879d6daf3172e160514627d7796028ae4e0b17c84433c2e6318f20dfc43ee -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:36:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:36:42 [ssh-agent] Looking for ssh-agent implementation... 11:36:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:36:43 $ docker exec 026879d6daf3172e160514627d7796028ae4e0b17c84433c2e6318f20dfc43ee ssh-agent 11:36:43 SSH_AUTH_SOCK=/tmp/ssh-Wt7BKBIjpbaU/agent.12 11:36:43 SSH_AGENT_PID=17 11:36:43 Running ssh-add (command line suppressed) 11:36:43 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-271@tmp/private_key_4553592029942027796.key (/w/workspace/edgexfoundry_device-sdk-c_PR-271@tmp/private_key_4553592029942027796.key) 11:36:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:36:43 + git describe --exact-match --tags HEAD 11:36:43 fatal: No names found, cannot describe anything. [Pipeline] } 11:36:43 $ docker exec --env ******** --env ******** 026879d6daf3172e160514627d7796028ae4e0b17c84433c2e6318f20dfc43ee ssh-agent -k 11:36:43 unset SSH_AUTH_SOCK; 11:36:43 unset SSH_AGENT_PID; 11:36:43 echo Agent pid 17 killed; 11:36:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 11:36:44 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 11:36:44 This usually means this commit has not been tagged. [Pipeline] sshagent 11:36:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:36:44 [ssh-agent] Looking for ssh-agent implementation... 11:36:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:36:44 $ docker exec 026879d6daf3172e160514627d7796028ae4e0b17c84433c2e6318f20dfc43ee ssh-agent 11:36:44 SSH_AUTH_SOCK=/tmp/ssh-XiL0NWDst3tY/agent.46 11:36:44 SSH_AGENT_PID=51 11:36:44 Running ssh-add (command line suppressed) 11:36:44 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-271@tmp/private_key_5508554558877769628.key (/w/workspace/edgexfoundry_device-sdk-c_PR-271@tmp/private_key_5508554558877769628.key) 11:36:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:36:45 + git semver init 11:36:45 # -> Open(): unable to determine branch for HEAD 11:36:45 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-271/.git 11:36:45 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-271 11:36:45 # $SEMVER_REMOTE_NAME = origin 11:36:45 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:36:45 # $SEMVER_USER_NAME = edgex-jenkins 11:36:45 # $SEMVER_BRANCH = PR-271 11:36:45 # $SEMVER_TEMP = /tmp/semver-100002492 11:36:45 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 11:36:45 # '/tmp/semver-100002492' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-271/.semver' 11:36:45 # -> Force: false 11:36:45 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-271/.semver [Pipeline] } 11:36:45 $ docker exec --env ******** --env ******** 026879d6daf3172e160514627d7796028ae4e0b17c84433c2e6318f20dfc43ee ssh-agent -k 11:36:46 unset SSH_AUTH_SOCK; 11:36:46 unset SSH_AGENT_PID; 11:36:46 echo Agent pid 51 killed; 11:36:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:36:46 + git semver [Pipeline] } 11:36:46 $ docker stop --time=1 026879d6daf3172e160514627d7796028ae4e0b17c84433c2e6318f20dfc43ee 11:36:48 $ docker rm -f 026879d6daf3172e160514627d7796028ae4e0b17c84433c2e6318f20dfc43ee [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 11:36:48 Stashed 50 file(s) [Pipeline] echo 11:36:48 [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 11:37:04 Still waiting to schedule task 11:37:04 Waiting for next available executor on ‘centos7-docker-4c-2g’ 11:37:04 Still waiting to schedule task 11:37:04 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 11:38:36 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3711 in /w/workspace/edgexfoundry_device-sdk-c_PR-271 [Pipeline] { [Pipeline] ws 11:38:36 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 11:38:41 using credential edgex-jenkins-ssh 11:38:41 Cloning the remote Git repository 11:38:41 Cloning with configured refspecs honoured and without tags 11:38:42 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 11:38:42 > git init /w/workspace/device-sdk-c/1 # timeout=10 11:38:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 11:38:42 > git --version # timeout=10 11:38:42 using GIT_SSH to set credentials SSH Credentials for GitHub 11:38:42 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/271/head:refs/remotes/origin/PR-271 +refs/heads/master:refs/remotes/origin/master # timeout=10 11:38:43 Fetching without tags 11:38:43 Merging remotes/origin/master commit 9807c98aec50e436adf0acc90aeecd299a070733 into PR head commit 414b841636228c254328d50dab08f2821d7f5031 11:38:44 Merge succeeded, producing 414b841636228c254328d50dab08f2821d7f5031 11:38:44 Checking out Revision 414b841636228c254328d50dab08f2821d7f5031 (PR-271) 11:38:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 11:38:43 > git config --add remote.origin.fetch +refs/pull/271/head:refs/remotes/origin/PR-271 # timeout=10 11:38:43 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 11:38:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 11:38:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 11:38:43 using GIT_SSH to set credentials SSH Credentials for GitHub 11:38:43 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/271/head:refs/remotes/origin/PR-271 +refs/heads/master:refs/remotes/origin/master # timeout=10 11:38:43 > git config core.sparsecheckout # timeout=10 11:38:43 > git checkout -f 414b841636228c254328d50dab08f2821d7f5031 # timeout=10 11:38:43 > git remote # timeout=10 11:38:43 > git config --get remote.origin.url # timeout=10 11:38:43 using GIT_SSH to set credentials SSH Credentials for GitHub 11:38:43 > git merge 9807c98aec50e436adf0acc90aeecd299a070733 # timeout=10 11:38:44 > git rev-parse HEAD^{commit} # timeout=10 11:38:44 > git config core.sparsecheckout # timeout=10 11:38:44 > git checkout -f 414b841636228c254328d50dab08f2821d7f5031 # timeout=10 11:38:48 Commit message: "fix: wrong map size for CBOR readings feat: take a reasonable default for mediaType" 11:38:48 > git --version # timeout=10 11:38:48 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 11:38:49 ========================================================= 11:38:49 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 11:38:49 ========================================================= [Pipeline] isUnix [Pipeline] sh 11:38:50 + 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 . 11:38:51 Sending build context to Docker daemon 3.294MB 11:38:51 Step 1/21 : ARG BASE=alpine:3.11 11:38:51 Step 2/21 : FROM ${BASE} as builder 11:38:52 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 11:38:52 0362ad1dd800: Pulling fs layer 11:38:52 f2cdb1532d8b: Pulling fs layer 11:38:52 37ed683be191: Pulling fs layer 11:38:52 f2cdb1532d8b: Verifying Checksum 11:38:52 f2cdb1532d8b: Download complete 11:38:52 0362ad1dd800: Verifying Checksum 11:38:52 0362ad1dd800: Download complete 11:38:53 0362ad1dd800: Pull complete 11:38:53 f2cdb1532d8b: Pull complete 11:38:54 37ed683be191: Verifying Checksum 11:38:54 37ed683be191: Download complete 11:39:04 37ed683be191: Pull complete 11:39:04 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 11:39:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 11:39:04 ---> b23d30803547 11:39:04 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 11:39:05 ---> Running in 2f6a3531d194 11:39:07 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 11:39:08 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 11:39:08 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 11:39:08 (2/8) Installing libuuid (2.33-r0) 11:39:08 (3/8) Installing libblkid (2.33-r0) 11:39:08 (4/8) Installing libfdisk (2.33-r0) 11:39:09 (5/8) Installing libmount (2.33-r0) 11:39:09 (6/8) Installing libsmartcols (2.33-r0) 11:39:09 (7/8) Installing util-linux-dev (2.33-r0) 11:39:09 (8/8) Installing wget (1.20.3-r0) 11:39:09 Executing busybox-1.29.3-r10.trigger 11:39:09 OK: 285 MiB in 83 packages 11:39:11 Removing intermediate container 2f6a3531d194 11:39:11 ---> b63358bcf354 11:39:11 Step 4/21 : ENV CBOR_VERSION=0.5.0 11:39:11 ---> Running in 754933b1c401 11:39:11 Removing intermediate container 754933b1c401 11:39:11 ---> f0e84b5e082c 11:39:11 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 11:39:12 ---> Running in e350802c6495 11:39:13 --2020-06-19 11:39:13-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 11:39:13 Resolving github.com... 140.82.112.3 11:39:13 Connecting to github.com|140.82.112.3|:443... connected. 11:39:13 HTTP request sent, awaiting response... 302 Found 11:39:13 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 11:39:13 --2020-06-19 11:39:13-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 11:39:13 Resolving codeload.github.com... 140.82.114.10 11:39:13 Connecting to codeload.github.com|140.82.114.10|:443... connected. 11:39:13 HTTP request sent, awaiting response... 200 OK 11:39:13 Length: unspecified [application/x-gzip] 11:39:13 Saving to: 'STDOUT' 11:39:13 11:39:13 0K .......... .......... .......... .......... .......... 1.32M 11:39:13 50K .......... .......... .......... .......... .......... 2.62M 11:39:13 100K .......... .......... .......... .......... .......... 2.83M 11:39:13 150K .......... .......... .......... .......... .......... 9.88M 11:39:13 200K .......... .......... .......... .......... .......... 15.5M 11:39:13 250K .......... .......... .......... .......... .......... 2.78M 11:39:14 300K .......... .......... .......... .......... .......... 4.34M 11:39:14 350K .......... .......... .......... .......... .......... 6.22M 11:39:14 400K .......... .......... .......... .......... .......... 4.64M 11:39:14 450K .......... .......... .......... .......... .......... 5.06M 11:39:14 500K .......... .......... .......... .......... .......... 7.61M 11:39:14 550K .......... .......... .......... .......... .......... 5.51M 11:39:14 600K .......... .......... .......... .......... .......... 1002K 11:39:14 650K .......... .......... .......... .......... .......... 1.29M 11:39:14 700K ..  12.1M=0.2s 11:39:14 11:39:14 2020-06-19 11:39:13 (2.84 MB/s) - written to stdout [719348] 11:39:14 11:39:14 -- The C compiler identification is GNU 8.3.0 11:39:14 -- The CXX compiler identification is GNU 8.3.0 11:39:14 -- Check for working C compiler: /usr/bin/cc 11:39:14 -- Check for working C compiler: /usr/bin/cc -- works 11:39:14 -- Detecting C compiler ABI info 11:39:15 -- Detecting C compiler ABI info - done 11:39:15 -- Detecting C compile features 11:39:15 -- Detecting C compile features - done 11:39:15 -- Check for working CXX compiler: /usr/bin/c++ 11:39:15 -- Check for working CXX compiler: /usr/bin/c++ -- works 11:39:15 -- Detecting CXX compiler ABI info 11:39:16 -- Detecting CXX compiler ABI info - done 11:39:16 -- Detecting CXX compile features 11:39:18 -- Detecting CXX compile features - done 11:39:18 -- Looking for include file endian.h 11:39:18 -- Looking for include file endian.h - found 11:39:18 -- Check if the system is big endian 11:39:18 -- Searching 16 bit integer 11:39:18 -- Looking for sys/types.h 11:39:18 -- Looking for sys/types.h - found 11:39:18 -- Looking for stdint.h 11:39:18 -- Looking for stdint.h - found 11:39:18 -- Looking for stddef.h 11:39:18 -- Looking for stddef.h - found 11:39:18 -- Check size of unsigned short 11:39:19 -- Check size of unsigned short - done 11:39:19 -- Using unsigned short 11:39:19 -- Check if the system is big endian - little endian 11:39:19 -- Check size of size_t 11:39:19 -- Check size of size_t - done 11:39:19 CMake Warning at examples/CMakeLists.txt:16 (find_package): 11:39:19 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 11:39:19 asked CMake to find a package configuration file provided by "cJSON", but 11:39:19 CMake did not find one. 11:39:19 11:39:19 Could not find a package configuration file provided by "cJSON" with any of 11:39:19 the following names: 11:39:19 11:39:19 cJSONConfig.cmake 11:39:19 cjson-config.cmake 11:39:19 11:39:19 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 11:39:19 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 11:39:19 provides a separate development package or SDK, be sure it has been 11:39:19 installed. 11:39:19 11:39:19 11:39:19 -- Configuring done 11:39:19 -- Generating done 11:39:19 -- Build files have been written to: /tmp/cbor 11:39:20 Scanning dependencies of target cbor_shared 11:39:20 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 11:39:21 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 11:39:21 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 11:39:21 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 11:39:22 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 11:39:22 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 11:39:22 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 11:39:22 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 11:39:23 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 11:39:23 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 11:39:23 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 11:39:24 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 11:39:24 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 11:39:24 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 11:39:25 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 11:39:25 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 11:39:25 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 11:39:25 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 11:39:26 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 11:39:26 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 11:39:26 [ 40%] Linking C shared library libcbor.so 11:39:26 [ 40%] Built target cbor_shared 11:39:26 Scanning dependencies of target cbor 11:39:26 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 11:39:27 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 11:39:28 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 11:39:28 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 11:39:29 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 11:39:29 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 11:39:29 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 11:39:29 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 11:39:30 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 11:39:30 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 11:39:31 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 11:39:31 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 11:39:32 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 11:39:32 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 11:39:32 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 11:39:32 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 11:39:33 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 11:39:33 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 11:39:33 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 11:39:34 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 11:39:34 [ 80%] Linking C static library libcbor.a 11:39:34 [ 80%] Built target cbor 11:39:34 Scanning dependencies of target create_items 11:39:34 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 11:39:34 [ 84%] Linking C executable create_items 11:39:34 [ 84%] Built target create_items 11:39:34 Scanning dependencies of target readfile 11:39:34 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 11:39:34 [ 88%] Linking C executable readfile 11:39:34 [ 88%] Built target readfile 11:39:34 Scanning dependencies of target streaming_parser 11:39:34 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 11:39:34 [ 92%] Linking C executable streaming_parser 11:39:35 Running on prd-centos7-docker-4c-2g-3712 in /w/workspace/edgexfoundry_device-sdk-c_PR-271 [Pipeline] { 11:39:35 [ 92%] Built target streaming_parser 11:39:35 Scanning dependencies of target sort 11:39:35 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [Pipeline] ws 11:39:35 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 11:39:35 [ 96%] Linking C executable sort 11:39:35 [ 96%] Built target sort 11:39:35 Scanning dependencies of target hello 11:39:35 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 11:39:35 [100%] Linking C executable hello 11:39:35 [100%] Built target hello 11:39:35 Install the project... 11:39:35 -- Install configuration: "Release" 11:39:35 -- Installing: /usr/local/include/cbor/configuration.h 11:39:35 -- Installing: /usr/local/lib64/libcbor.a 11:39:35 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 11:39:35 -- Installing: /usr/local/lib64/libcbor.so.0 11:39:35 -- Installing: /usr/local/lib64/libcbor.so 11:39:35 -- Up-to-date: /usr/local/include/cbor 11:39:35 -- Installing: /usr/local/include/cbor/streaming.h 11:39:35 -- Installing: /usr/local/include/cbor/ints.h 11:39:35 -- Installing: /usr/local/include/cbor/floats_ctrls.h 11:39:35 -- Installing: /usr/local/include/cbor/bytestrings.h 11:39:35 -- Installing: /usr/local/include/cbor/encoding.h 11:39:35 -- Installing: /usr/local/include/cbor/serialization.h 11:39:35 -- Installing: /usr/local/include/cbor/data.h 11:39:35 -- Installing: /usr/local/include/cbor/common.h 11:39:35 -- Installing: /usr/local/include/cbor/callbacks.h 11:39:35 -- Installing: /usr/local/include/cbor/strings.h 11:39:35 -- Installing: /usr/local/include/cbor/tags.h 11:39:35 -- Installing: /usr/local/include/cbor/internal 11:39:35 -- Installing: /usr/local/include/cbor/internal/encoders.h 11:39:35 -- Installing: /usr/local/include/cbor/internal/loaders.h 11:39:35 -- Installing: /usr/local/include/cbor/internal/stack.h 11:39:35 -- Installing: /usr/local/include/cbor/internal/unicode.h 11:39:35 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 11:39:35 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 11:39:35 -- Installing: /usr/local/include/cbor/arrays.h 11:39:35 -- Installing: /usr/local/include/cbor/maps.h 11:39:35 -- Installing: /usr/local/include/cbor.h 11:39:35 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 11:39:37 using credential edgex-jenkins-ssh 11:39:37 Cloning the remote Git repository 11:39:37 Cloning with configured refspecs honoured and without tags 11:39:38 Removing intermediate container e350802c6495 11:39:38 ---> 47c5fbb56ad5 11:39:38 Step 6/21 : RUN mkdir /tmp/sdk 11:39:38 ---> Running in b3e84738cd45 11:39:37 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 11:39:38 > git init /w/workspace/device-sdk-c/1 # timeout=10 11:39:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 11:39:38 > git --version # timeout=10 11:39:38 using GIT_SSH to set credentials SSH Credentials for GitHub 11:39:38 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/271/head:refs/remotes/origin/PR-271 +refs/heads/master:refs/remotes/origin/master # timeout=10 11:39:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 11:39:38 > git config --add remote.origin.fetch +refs/pull/271/head:refs/remotes/origin/PR-271 # timeout=10 11:39:38 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 11:39:38 Fetching without tags 11:39:39 Merging remotes/origin/master commit 9807c98aec50e436adf0acc90aeecd299a070733 into PR head commit 414b841636228c254328d50dab08f2821d7f5031 11:39:39 Merge succeeded, producing 414b841636228c254328d50dab08f2821d7f5031 11:39:39 Checking out Revision 414b841636228c254328d50dab08f2821d7f5031 (PR-271) 11:39:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 11:39:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 11:39:38 using GIT_SSH to set credentials SSH Credentials for GitHub 11:39:38 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/271/head:refs/remotes/origin/PR-271 +refs/heads/master:refs/remotes/origin/master # timeout=10 11:39:39 > git config core.sparsecheckout # timeout=10 11:39:39 > git checkout -f 414b841636228c254328d50dab08f2821d7f5031 # timeout=10 11:39:39 > git remote # timeout=10 11:39:39 > git config --get remote.origin.url # timeout=10 11:39:39 using GIT_SSH to set credentials SSH Credentials for GitHub 11:39:39 > git merge 9807c98aec50e436adf0acc90aeecd299a070733 # timeout=10 11:39:39 > git rev-parse HEAD^{commit} # timeout=10 11:39:39 > git config core.sparsecheckout # timeout=10 11:39:39 > git checkout -f 414b841636228c254328d50dab08f2821d7f5031 # timeout=10 11:39:41 Removing intermediate container b3e84738cd45 11:39:41 ---> c57f8a17d175 11:39:41 Step 7/21 : COPY VERSION /tmp/sdk 11:39:41 ---> 328e4b6c14ec 11:39:41 Step 8/21 : COPY src /tmp/sdk/src 11:39:42 ---> 0adcd8b1af90 11:39:42 Step 9/21 : COPY include /tmp/sdk/include 11:39:43 Commit message: "fix: wrong map size for CBOR readings feat: take a reasonable default for mediaType" 11:39:43 > git --version # timeout=10 11:39:43 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 11:39:43 ---> 3693f42658c4 11:39:43 Step 10/21 : COPY scripts /tmp/sdk/scripts [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 11:39:43 ---> 7038040639a6 11:39:43 Step 11/21 : COPY LICENSE /tmp/sdk [Pipeline] echo 11:39:44 ========================================================= 11:39:44 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 11:39:44 ========================================================= [Pipeline] isUnix [Pipeline] sh 11:39:44 ---> 2bb7d239fa3c 11:39:44 Step 12/21 : COPY Attribution.txt /tmp/sdk 11:39:44 + 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 . 11:39:45 Sending build context to Docker daemon 3.294MB 11:39:45 Step 1/21 : ARG BASE=alpine:3.11 11:39:45 Step 2/21 : FROM ${BASE} as builder 11:39:45 ---> 11202a8aa171 11:39:45 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 11:39:45 latest: Pulling from edgex-devops/edgex-gcc-base 11:39:45 e7c96db7181b: Pulling fs layer 11:39:45 4c13bbce0fe7: Pulling fs layer 11:39:45 6059c847ac2f: Pulling fs layer 11:39:45 4c13bbce0fe7: Verifying Checksum 11:39:45 4c13bbce0fe7: Download complete 11:39:45 e7c96db7181b: Verifying Checksum 11:39:45 e7c96db7181b: Download complete 11:39:45 ---> Running in 8f8d98fc11a5 11:39:45 e7c96db7181b: Pull complete 11:39:45 4c13bbce0fe7: Pull complete 11:39:46 6059c847ac2f: Verifying Checksum 11:39:46 6059c847ac2f: Download complete 11:39:46 + CPPCHECK=false 11:39:46 + DOCGEN=false 11:39:46 + TOMLVER=SDK-0.2 11:39:46 + CUTILVER=1.0.4 11:39:46 + '[' 0 -gt 0 ] 11:39:46 + readlink -f ./scripts/build.sh 11:39:46 + dirname /tmp/sdk/scripts/build.sh 11:39:46 + dirname /tmp/sdk/scripts 11:39:46 + ROOT=/tmp/sdk 11:39:46 + cd /tmp/sdk 11:39:46 + '[' '!' -d deps ] 11:39:46 + mkdir deps 11:39:46 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 11:39:46 + tar -C deps -z -x -f - 11:39:46 --2020-06-19 11:39:46-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 11:39:46 Resolving github.com... 140.82.112.3 11:39:46 Connecting to github.com|140.82.112.3|:443... connected. 11:39:47 HTTP request sent, awaiting response... 302 Found 11:39:47 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 11:39:47 --2020-06-19 11:39:46-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 11:39:47 Resolving codeload.github.com... 140.82.114.10 11:39:47 Connecting to codeload.github.com|140.82.114.10|:443... connected. 11:39:47 HTTP request sent, awaiting response... 200 OK 11:39:47 Length: unspecified [application/x-gzip] 11:39:47 Saving to: 'STDOUT' 11:39:47  11:39:47 0K .......... ...... 1.05M=0.01s 11:39:47 11:39:47 2020-06-19 11:39:47 (1.05 MB/s) - written to stdout [16451] 11:39:47 11:39:47 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 11:39:47 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz+ 11:39:47 tar -C deps -z -x -f - 11:39:47 --2020-06-19 11:39:47-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz 11:39:47 Resolving github.com... 140.82.112.3 11:39:47 Connecting to github.com|140.82.112.3|:443... connected. 11:39:47 HTTP request sent, awaiting response... 302 Found 11:39:47 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] 11:39:47 --2020-06-19 11:39:47-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 11:39:47 Resolving codeload.github.com... 140.82.114.10 11:39:47 Connecting to codeload.github.com|140.82.114.10|:443... connected. 11:39:47 HTTP request sent, awaiting response... 200 OK 11:39:47 Length: unspecified [application/x-gzip] 11:39:47 Saving to: 'STDOUT' 11:39:47 11:39:47 0K .......... .......... .......... .......... .......... 1.31M 11:39:47 50K .......... .......... .......... .......... .......... 2.55M 11:39:47 100K .......... .......... .......... .......... .......... 6.56M 11:39:47 150K ........     4.10M=0.07s 11:39:47 11:39:47 2020-06-19 11:39:47 (2.35 MB/s) - written to stdout [162267] 11:39:47 11:39:47 + mkdir -p src/c/iot 11:39:47 + cp deps/iotech-c-utils-1.0.4/src/c/base64.c deps/iotech-c-utils-1.0.4/src/c/component.c deps/iotech-c-utils-1.0.4/src/c/container.c deps/iotech-c-utils-1.0.4/src/c/data.c deps/iotech-c-utils-1.0.4/src/c/hash.c deps/iotech-c-utils-1.0.4/src/c/iot.c deps/iotech-c-utils-1.0.4/src/c/json.c deps/iotech-c-utils-1.0.4/src/c/logger.c deps/iotech-c-utils-1.0.4/src/c/os.c deps/iotech-c-utils-1.0.4/src/c/scheduler.c deps/iotech-c-utils-1.0.4/src/c/thread.c deps/iotech-c-utils-1.0.4/src/c/threadpool.c deps/iotech-c-utils-1.0.4/src/c/time.c src/c/iot 11:39:47 + mkdir -p include/iot 11:39:47 + cp deps/iotech-c-utils-1.0.4/include/iot/base64.h deps/iotech-c-utils-1.0.4/include/iot/component.h deps/iotech-c-utils-1.0.4/include/iot/container.h deps/iotech-c-utils-1.0.4/include/iot/data.h deps/iotech-c-utils-1.0.4/include/iot/hash.h deps/iotech-c-utils-1.0.4/include/iot/iot.h deps/iotech-c-utils-1.0.4/include/iot/json.h deps/iotech-c-utils-1.0.4/include/iot/logger.h deps/iotech-c-utils-1.0.4/include/iot/os.h deps/iotech-c-utils-1.0.4/include/iot/scheduler.h deps/iotech-c-utils-1.0.4/include/iot/thread.h deps/iotech-c-utils-1.0.4/include/iot/threadpool.h deps/iotech-c-utils-1.0.4/include/iot/time.h deps/iotech-c-utils-1.0.4/include/iot/typecode.h include/iot 11:39:47 + mkdir -p include/iot/os 11:39:47 + cp deps/iotech-c-utils-1.0.4/include/iot/os/linux.h deps/iotech-c-utils-1.0.4/include/iot/os/zephyr.h include/iot/os 11:39:47 + mkdir -p /tmp/sdk/build/release 11:39:47 + cd /tmp/sdk/build/release 11:39:47 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 11:39:47 -- The C compiler identification is GNU 8.3.0 11:39:47 -- Check for working C compiler: /usr/bin/cc 11:39:48 -- Check for working C compiler: /usr/bin/cc -- works 11:39:48 -- Detecting C compiler ABI info 11:39:48 -- Detecting C compiler ABI info - done 11:39:48 -- Detecting C compile features 11:39:49 -- Detecting C compile features - done 11:39:49 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 11:39:49 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 11:39:49 -- Found LIBYAML: /usr/lib/libyaml.so 11:39:49 -- Found LIBUUID: /usr/lib/libuuid.so 11:39:49 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 11:39:49 -- C SDK 0.0.0 for Linux 11:39:49 -- Performing Test CSDK_HAVE_ATOMIC 11:39:49 -- Performing Test CSDK_HAVE_ATOMIC - Success 11:39:49 -- Found Curses: /usr/lib/libcurses.so 11:39:49 -- Configuring done 11:39:50 -- Generating done 11:39:50 -- Build files have been written to: /tmp/sdk/build/release 11:39:50 + + maketee 11:39:50 release.log 11:39:50 Scanning dependencies of target csdk 11:39:50 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 11:39:50 6059c847ac2f: Pull complete 11:39:50 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 11:39:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 11:39:50 ---> 5eabd8fd8ba2 11:39:50 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 11:39:50 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 11:39:51 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 11:39:52 ---> Running in 15729749fcd0 11:39:52 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 11:39:53 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 11:39:53 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 11:39:53 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 11:39:53 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 11:39:53 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 11:39:53 (2/8) Installing libuuid (2.33-r0) 11:39:53 (3/8) Installing libblkid (2.33-r0) 11:39:53 (4/8) Installing libfdisk (2.33-r0) 11:39:54 (5/8) Installing libmount (2.33-r0) 11:39:54 (6/8) Installing libsmartcols (2.33-r0) 11:39:54 (7/8) Installing util-linux-dev (2.33-r0) 11:39:54 (8/8) Installing wget (1.20.3-r0) 11:39:54 Executing busybox-1.29.3-r10.trigger 11:39:54 OK: 272 MiB in 83 packages 11:39:54 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 11:39:55 Removing intermediate container 15729749fcd0 11:39:55 ---> 88e60a03383e 11:39:55 Step 4/21 : ENV CBOR_VERSION=0.5.0 11:39:55 ---> Running in 4fe3a419bc1e 11:39:55 Removing intermediate container 4fe3a419bc1e 11:39:55 ---> 9bcf10807ded 11:39:55 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 11:39:55 ---> Running in 121ff6c5e149 11:39:56 --2020-06-19 11:39:56-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 11:39:56 Resolving github.com... 140.82.112.3 11:39:56 Connecting to github.com|140.82.112.3|:443... connected. 11:39:56 HTTP request sent, awaiting response... 302 Found 11:39:56 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 11:39:56 --2020-06-19 11:39:56-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 11:39:56 Resolving codeload.github.com... 140.82.114.10 11:39:56 Connecting to codeload.github.com|140.82.114.10|:443... connected. 11:39:56 HTTP request sent, awaiting response... 200 OK 11:39:56 Length: 719348 (702K) [application/x-gzip] 11:39:56 Saving to: 'STDOUT' 11:39:56  11:39:56 0K .......... .......... .......... .......... .......... 7% 1.60M 0s 11:39:56 50K .......... .......... .......... .......... .......... 14% 3.21M 0s 11:39:56 100K .......... .......... .......... .......... .......... 21% 20.2M 0s 11:39:56 150K .......... .......... .......... .......... .......... 28% 3.99M 0s 11:39:56 200K .......... .......... .......... .......... .......... 35% 44.7M 0s 11:39:56 250K .......... .......... .......... .......... .......... 42% 7.60M 0s 11:39:56 300K .......... .......... .......... .......... .......... 49% 9.50M 0s 11:39:56 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 11:39:56 [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 11:39:56 350K .......... .......... .......... .......... .......... 56% 8.59M 0s 11:39:56 400K .......... .......... .......... .......... .......... 64% 8.86M 0s 11:39:56 450K .......... .......... .......... .......... .......... 71% 9.60M 0s 11:39:56 500K .......... .......... .......... .......... .......... 78% 6.76M 0s 11:39:56 550K .......... .......... .......... .......... .......... 85% 124M 0s 11:39:56 600K .......... .......... .......... .......... .......... 92% 2.35M 0s 11:39:56 650K .......... .......... .......... .......... .......... 99% 5.30M 0s 11:39:56 700K .. 100% 662K=0.1s 11:39:56 11:39:56 2020-06-19 11:39:56 (5.25 MB/s) - written to stdout [719348/719348] 11:39:56 11:39:56 -- The C compiler identification is GNU 8.3.0 11:39:56 -- The CXX compiler identification is GNU 8.3.0 11:39:56 -- Check for working C compiler: /usr/bin/cc 11:39:56 -- Check for working C compiler: /usr/bin/cc -- works 11:39:56 -- Detecting C compiler ABI info 11:39:56 -- Detecting C compiler ABI info - done 11:39:56 -- Detecting C compile features 11:39:57 -- Detecting C compile features - done 11:39:57 -- Check for working CXX compiler: /usr/bin/c++ 11:39:57 -- Check for working CXX compiler: /usr/bin/c++ -- works 11:39:57 -- Detecting CXX compiler ABI info 11:39:57 -- Detecting CXX compiler ABI info - done 11:39:57 -- Detecting CXX compile features 11:39:57 [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 11:39:57 -- Detecting CXX compile features - done 11:39:57 -- Looking for include file endian.h 11:39:57 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 11:39:57 -- Looking for include file endian.h - found 11:39:57 -- Check if the system is big endian 11:39:57 -- Searching 16 bit integer 11:39:57 -- Looking for sys/types.h 11:39:57 -- Looking for sys/types.h - found 11:39:57 -- Looking for stdint.h 11:39:57 -- Looking for stdint.h - found 11:39:57 -- Looking for stddef.h 11:39:58 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 11:39:58 -- Looking for stddef.h - found 11:39:58 -- Check size of unsigned short 11:39:58 -- Check size of unsigned short - done 11:39:58 -- Using unsigned short 11:39:58 -- Check if the system is big endian - little endian 11:39:58 -- Check size of size_t 11:39:58 -- Check size of size_t - done 11:39:58 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 11:39:58 CMake Warning at examples/CMakeLists.txt:16 (find_package): 11:39:58 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 11:39:58 asked CMake to find a package configuration file provided by "cJSON", but 11:39:58 CMake did not find one. 11:39:58 11:39:58 Could not find a package configuration file provided by "cJSON" with any of 11:39:58 the following names: 11:39:58 11:39:58 cJSONConfig.cmake 11:39:58 cjson-config.cmake 11:39:58 11:39:58 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 11:39:58 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 11:39:58 provides a separate development package or SDK, be sure it has been 11:39:58 installed. 11:39:58 11:39:58 11:39:58 -- Configuring done 11:39:58 -- Generating done 11:39:58 -- Build files have been written to: /tmp/cbor 11:39:58 Scanning dependencies of target cbor_shared 11:39:58 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 11:39:58 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 11:39:58 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 11:39:58 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 11:39:58 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 11:39:58 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 11:39:58 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 11:39:59 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 11:39:59 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 11:39:59 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 11:39:59 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 11:39:59 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 11:39:59 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 11:39:59 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 11:39:59 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 11:39:59 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 11:39:59 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 11:40:00 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 11:40:00 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 11:40:00 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 11:40:00 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 11:40:00 [ 40%] Linking C shared library libcbor.so 11:40:00 [ 40%] Built target cbor_shared 11:40:00 Scanning dependencies of target cbor 11:40:00 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 11:40:00 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 11:40:00 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 11:40:00 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 11:40:00 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 11:40:00 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 11:40:01 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 11:40:01 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 11:40:01 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 11:40:01 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 11:40:01 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 11:40:01 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 11:40:01 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 11:40:01 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 11:40:01 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 11:40:01 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 11:40:01 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 11:40:01 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 11:40:02 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 11:40:02 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 11:40:02 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 11:40:02 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 11:40:02 [ 80%] Linking C static library libcbor.a 11:40:02 [ 80%] Built target cbor 11:40:02 Scanning dependencies of target create_items 11:40:02 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 11:40:02 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 11:40:02 [ 84%] Linking C executable create_items 11:40:02 [ 84%] Built target create_items 11:40:02 Scanning dependencies of target readfile 11:40:02 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 11:40:02 [ 88%] Linking C executable readfile 11:40:02 [ 88%] Built target readfile 11:40:02 Scanning dependencies of target streaming_parser 11:40:02 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 11:40:02 [ 92%] Linking C executable streaming_parser 11:40:02 [ 92%] Built target streaming_parser 11:40:02 Scanning dependencies of target sort 11:40:02 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 11:40:02 [ 96%] Linking C executable sort 11:40:02 [ 96%] Built target sort 11:40:02 Scanning dependencies of target hello 11:40:02 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 11:40:02 [100%] Linking C executable hello 11:40:02 [100%] Built target hello 11:40:02 Install the project... 11:40:02 -- Install configuration: "Release" 11:40:02 -- Installing: /usr/local/include/cbor/configuration.h 11:40:02 -- Installing: /usr/local/lib64/libcbor.a 11:40:02 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 11:40:02 -- Installing: /usr/local/lib64/libcbor.so.0 11:40:02 -- Installing: /usr/local/lib64/libcbor.so 11:40:02 -- Up-to-date: /usr/local/include/cbor 11:40:02 -- Installing: /usr/local/include/cbor/arrays.h 11:40:02 -- Installing: /usr/local/include/cbor/bytestrings.h 11:40:02 -- Installing: /usr/local/include/cbor/callbacks.h 11:40:02 -- Installing: /usr/local/include/cbor/common.h 11:40:02 -- Installing: /usr/local/include/cbor/data.h 11:40:02 -- Installing: /usr/local/include/cbor/encoding.h 11:40:02 -- Installing: /usr/local/include/cbor/floats_ctrls.h 11:40:02 -- Installing: /usr/local/include/cbor/internal 11:40:02 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 11:40:02 -- Installing: /usr/local/include/cbor/internal/encoders.h 11:40:02 -- Installing: /usr/local/include/cbor/internal/loaders.h 11:40:02 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 11:40:02 -- Installing: /usr/local/include/cbor/internal/stack.h 11:40:02 -- Installing: /usr/local/include/cbor/internal/unicode.h 11:40:02 -- Installing: /usr/local/include/cbor/ints.h 11:40:02 -- Installing: /usr/local/include/cbor/maps.h 11:40:02 -- Installing: /usr/local/include/cbor/serialization.h 11:40:02 -- Installing: /usr/local/include/cbor/streaming.h 11:40:02 -- Installing: /usr/local/include/cbor/strings.h 11:40:02 -- Installing: /usr/local/include/cbor/tags.h 11:40:02 -- Installing: /usr/local/include/cbor.h 11:40:02 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 11:40:02 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 11:40:04 Removing intermediate container 121ff6c5e149 11:40:04 ---> a8152616c05d 11:40:04 Step 6/21 : RUN mkdir /tmp/sdk 11:40:04 ---> Running in 40cd8f9ea327 11:40:05 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 11:40:05 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 11:40:05 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 11:40:05 Removing intermediate container 40cd8f9ea327 11:40:05 ---> 0c48c3573bda 11:40:05 Step 7/21 : COPY VERSION /tmp/sdk 11:40:05 ---> 33df4d9b4bbe 11:40:05 Step 8/21 : COPY src /tmp/sdk/src 11:40:06 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 11:40:06 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 11:40:06 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 11:40:06 ---> 27e888147b36 11:40:06 Step 9/21 : COPY include /tmp/sdk/include 11:40:06 ---> 4ffa0fa6b923 11:40:06 Step 10/21 : COPY scripts /tmp/sdk/scripts 11:40:07 ---> d28fb14a0f0c 11:40:07 Step 11/21 : COPY LICENSE /tmp/sdk 11:40:07 ---> 7d99b39c74d6 11:40:07 Step 12/21 : COPY Attribution.txt /tmp/sdk 11:40:07 ---> 03dd0ce2d2fe 11:40:07 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 11:40:07 ---> Running in 6b98b932810c 11:40:07 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 11:40:07 + CPPCHECK=false 11:40:07 + DOCGEN=false 11:40:07 + TOMLVER=SDK-0.2 11:40:07 + CUTILVER=1.0.4 11:40:07 + '[' 0 -gt 0 ] 11:40:07 + readlink -f ./scripts/build.sh 11:40:07 + dirname /tmp/sdk/scripts/build.sh 11:40:07 + dirname /tmp/sdk/scripts 11:40:07 + ROOT=/tmp/sdk 11:40:07 + cd /tmp/sdk 11:40:07 + '[' '!' -d deps ] 11:40:07 + mkdir deps 11:40:07 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 11:40:07 + tar -C deps -z -x -f - 11:40:07 --2020-06-19 11:40:07-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 11:40:07 Resolving github.com... 140.82.112.3 11:40:07 Connecting to github.com|140.82.112.3|:443... connected. 11:40:07 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 11:40:08 HTTP request sent, awaiting response... 302 Found 11:40:08 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 11:40:08 --2020-06-19 11:40:07-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 11:40:08 Resolving codeload.github.com... 140.82.114.10 11:40:08 Connecting to codeload.github.com|140.82.114.10|:443... connected. 11:40:08 HTTP request sent, awaiting response... 200 OK 11:40:08 Length: 16451 (16K) [application/x-gzip] 11:40:08 Saving to: 'STDOUT' 11:40:08  11:40:08 0K .......... ...... 100% 1.06M=0.01s 11:40:08 11:40:08 2020-06-19 11:40:07 (1.06 MB/s) - written to stdout [16451/16451] 11:40:08 11:40:08 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 11:40:08 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz 11:40:08 + tar -C deps -z -x -f - 11:40:08 --2020-06-19 11:40:07-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz 11:40:08 Resolving github.com... 140.82.112.3 11:40:08 Connecting to github.com|140.82.112.3|:443... connected. 11:40:08 HTTP request sent, awaiting response... 302 Found 11:40:08 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] 11:40:08 --2020-06-19 11:40:08-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 11:40:08 Resolving codeload.github.com... 140.82.114.10 11:40:08 Connecting to codeload.github.com|140.82.114.10|:443... connected. 11:40:08 HTTP request sent, awaiting response... 200 OK 11:40:08 Length: 162267 (158K) [application/x-gzip] 11:40:08 Saving to: 'STDOUT' 11:40:08 11:40:08 0K .......... .......... .......... .......... .......... 31% 1.33M 0s 11:40:08 50K .......... .......... .......... .......... .......... 63% 2.66M 0s 11:40:08 100K .......... .......... .......... .......... .......... 94% 50.7M 0s 11:40:08 150K ........ 100% 3.69M=0.06s 11:40:08 11:40:08 2020-06-19 11:40:08 (2.66 MB/s) - written to stdout [162267/162267] 11:40:08 11:40:08 + mkdir -p src/c/iot 11:40:08 + cp deps/iotech-c-utils-1.0.4/src/c/base64.c deps/iotech-c-utils-1.0.4/src/c/component.c deps/iotech-c-utils-1.0.4/src/c/container.c deps/iotech-c-utils-1.0.4/src/c/data.c deps/iotech-c-utils-1.0.4/src/c/hash.c deps/iotech-c-utils-1.0.4/src/c/iot.c deps/iotech-c-utils-1.0.4/src/c/json.c deps/iotech-c-utils-1.0.4/src/c/logger.c deps/iotech-c-utils-1.0.4/src/c/os.c deps/iotech-c-utils-1.0.4/src/c/scheduler.c deps/iotech-c-utils-1.0.4/src/c/thread.c deps/iotech-c-utils-1.0.4/src/c/threadpool.c deps/iotech-c-utils-1.0.4/src/c/time.c src/c/iot 11:40:08 + mkdir -p include/iot 11:40:08 + cp deps/iotech-c-utils-1.0.4/include/iot/base64.h deps/iotech-c-utils-1.0.4/include/iot/component.h deps/iotech-c-utils-1.0.4/include/iot/container.h deps/iotech-c-utils-1.0.4/include/iot/data.h deps/iotech-c-utils-1.0.4/include/iot/hash.h deps/iotech-c-utils-1.0.4/include/iot/iot.h deps/iotech-c-utils-1.0.4/include/iot/json.h deps/iotech-c-utils-1.0.4/include/iot/logger.h deps/iotech-c-utils-1.0.4/include/iot/os.h deps/iotech-c-utils-1.0.4/include/iot/scheduler.h deps/iotech-c-utils-1.0.4/include/iot/thread.h deps/iotech-c-utils-1.0.4/include/iot/threadpool.h deps/iotech-c-utils-1.0.4/include/iot/time.h deps/iotech-c-utils-1.0.4/include/iot/typecode.h include/iot 11:40:08 + mkdir -p include/iot/os 11:40:08 + cp deps/iotech-c-utils-1.0.4/include/iot/os/linux.h deps/iotech-c-utils-1.0.4/include/iot/os/zephyr.h include/iot/os 11:40:08 + mkdir -p /tmp/sdk/build/release 11:40:08 + cd /tmp/sdk/build/release 11:40:08 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 11:40:08 -- The C compiler identification is GNU 8.3.0 11:40:08 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 11:40:08 [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o 11:40:08 -- Check for working C compiler: /usr/bin/cc 11:40:08 -- Check for working C compiler: /usr/bin/cc -- works 11:40:08 -- Detecting C compiler ABI info 11:40:08 -- Detecting C compiler ABI info - done 11:40:08 -- Detecting C compile features 11:40:08 -- Detecting C compile features - done 11:40:08 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 11:40:08 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 11:40:08 -- Found LIBYAML: /usr/lib/libyaml.so 11:40:08 -- Found LIBUUID: /usr/lib/libuuid.so 11:40:08 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 11:40:08 -- C SDK 0.0.0 for Linux 11:40:08 -- Performing Test CSDK_HAVE_ATOMIC 11:40:08 -- Performing Test CSDK_HAVE_ATOMIC - Success 11:40:08 -- Found Curses: /usr/lib/libcurses.so 11:40:08 -- Configuring done 11:40:09 [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 11:40:09 -- Generating done 11:40:09 -- Build files have been written to: /tmp/sdk/build/release 11:40:09 + make 11:40:09 + tee release.log 11:40:09 Scanning dependencies of target csdk 11:40:09 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 11:40:09 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 11:40:09 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 11:40:09 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 11:40:09 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 11:40:09 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 11:40:10 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 11:40:10 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 11:40:10 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 11:40:10 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 11:40:10 [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 11:40:11 [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 11:40:11 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 11:40:11 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 11:40:11 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 11:40:11 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 11:40:12 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 11:40:12 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 11:40:12 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 11:40:12 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 11:40:13 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 11:40:13 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 11:40:13 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 11:40:13 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 11:40:13 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 11:40:13 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 11:40:13 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 11:40:13 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 11:40:13 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 11:40:13 [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o 11:40:14 [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 11:40:14 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 11:40:14 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 11:40:14 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 11:40:14 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 11:40:15 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 11:40:15 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 11:40:15 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 11:40:15 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 11:40:15 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 11:40:15 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 11:40:16 [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:40:16 [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 11:40:17 [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:40:17 [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 11:40:17 [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 11:40:17 [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 11:40:17 [ 74%] Linking C shared library libcsdk.so 11:40:18 [ 74%] Built target csdk 11:40:18 Scanning dependencies of target template 11:40:18 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 11:40:18 [ 78%] Linking C executable template 11:40:18 [ 78%] Built target template 11:40:18 Scanning dependencies of target device-counter 11:40:18 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 11:40:18 [ 81%] Linking C executable device-counter 11:40:18 [ 81%] Built target device-counter 11:40:18 Scanning dependencies of target device-random 11:40:18 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 11:40:18 [ 85%] Linking C executable device-random 11:40:18 [ 85%] Built target device-random 11:40:18 Scanning dependencies of target device-gyro 11:40:18 [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 11:40:18 [ 89%] Linking C executable device-gyro 11:40:18 [ 89%] Built target device-gyro 11:40:18 Scanning dependencies of target template-discovery 11:40:18 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 11:40:18 [ 92%] Linking C executable template-discovery 11:40:19 [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 11:40:19 [ 92%] Built target template-discovery 11:40:19 Scanning dependencies of target device-terminal 11:40:19 [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 11:40:19 [ 96%] Linking C executable device-terminal 11:40:19 [ 96%] Built target device-terminal 11:40:19 Scanning dependencies of target templatev1 11:40:19 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 11:40:19 [100%] Linking C executable templatev1 11:40:19 [100%] Built target templatev1 11:40:19 + make package 11:40:19 + tee -a release.log 11:40:19 [ 74%] Built target csdk 11:40:19 [ 78%] Built target template 11:40:19 [ 81%] Built target device-counter 11:40:19 [ 85%] Built target device-random 11:40:19 [ 89%] Built target device-gyro 11:40:19 [ 92%] Built target template-discovery 11:40:19 [ 96%] Built target device-terminal 11:40:19 [100%] Built target templatev1 11:40:19 Run CPack packaging tool... 11:40:19 CPack: Create package using TGZ 11:40:19 CPack: Install projects 11:40:19 CPack: - Run preinstall target for: Csdk 11:40:20 CPack: - Install project: Csdk 11:40:20 CPack: Create package 11:40:20 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 11:40:20 + '[' false '=' true ] 11:40:20 + '[' false '=' true ] 11:40:20 + mkdir -p /tmp/sdk/build/debug 11:40:20 + cd /tmp/sdk/build/debug 11:40:20 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 11:40:20 -- The C compiler identification is GNU 8.3.0 11:40:20 -- Check for working C compiler: /usr/bin/cc 11:40:20 -- Check for working C compiler: /usr/bin/cc -- works 11:40:20 -- Detecting C compiler ABI info 11:40:20 -- Detecting C compiler ABI info - done 11:40:20 -- Detecting C compile features 11:40:20 -- Detecting C compile features - done 11:40:20 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 11:40:20 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 11:40:20 -- Found LIBYAML: /usr/lib/libyaml.so 11:40:20 -- Found LIBUUID: /usr/lib/libuuid.so 11:40:20 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 11:40:20 -- C SDK 0.0.0 for Linux 11:40:20 -- Performing Test CSDK_HAVE_ATOMIC 11:40:20 -- Performing Test CSDK_HAVE_ATOMIC - Success 11:40:20 -- Found Curses: /usr/lib/libcurses.so 11:40:20 -- Configuring done 11:40:20 -- Generating done 11:40:20 -- Build files have been written to: /tmp/sdk/build/debug 11:40:20 + make+ 11:40:20 tee debug.log 11:40:20 Scanning dependencies of target csdk 11:40:20 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 11:40:20 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 11:40:21 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 11:40:21 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 11:40:21 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 11:40:21 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 11:40:21 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 11:40:21 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 11:40:21 [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 11:40:21 [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 11:40:21 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 11:40:21 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 11:40:21 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 11:40:21 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 11:40:22 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 11:40:22 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 11:40:22 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 11:40:22 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 11:40:22 [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 11:40:22 [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 11:40:22 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 11:40:22 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 11:40:22 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 11:40:22 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 11:40:22 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 11:40:22 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 11:40:22 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 11:40:22 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 11:40:23 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 11:40:23 [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o 11:40:23 [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 11:40:23 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 11:40:23 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 11:40:23 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 11:40:23 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 11:40:23 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 11:40:23 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 11:40:23 [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 11:40:24 [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:40:24 [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 11:40:24 [ 74%] Linking C shared library libcsdk.so 11:40:24 [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 11:40:24 [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 11:40:24 [ 74%] Built target csdk 11:40:24 Scanning dependencies of target template 11:40:24 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 11:40:24 [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 11:40:24 [ 74%] Linking C shared library libcsdk.so 11:40:24 [ 74%] Built target csdk 11:40:24 Scanning dependencies of target template 11:40:24 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 11:40:24 [ 78%] Linking C executable template 11:40:24 [ 78%] Built target template 11:40:24 Scanning dependencies of target device-counter 11:40:24 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 11:40:24 [ 81%] Linking C executable device-counter 11:40:24 [ 81%] Built target device-counter 11:40:24 Scanning dependencies of target device-random 11:40:25 [ 78%] Linking C executable template 11:40:25 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 11:40:25 [ 85%] Linking C executable device-random 11:40:25 [ 85%] Built target device-random 11:40:25 Scanning dependencies of target device-gyro 11:40:25 [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 11:40:25 [ 89%] Linking C executable device-gyro 11:40:25 [ 78%] Built target template 11:40:25 Scanning dependencies of target device-counter 11:40:25 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 11:40:25 [ 89%] Built target device-gyro 11:40:25 Scanning dependencies of target template-discovery 11:40:25 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 11:40:25 [ 92%] Linking C executable template-discovery 11:40:25 [ 92%] Built target template-discovery 11:40:25 Scanning dependencies of target device-terminal 11:40:25 [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 11:40:25 [ 96%] Linking C executable device-terminal 11:40:25 [ 96%] Built target device-terminal 11:40:25 Scanning dependencies of target templatev1 11:40:25 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 11:40:25 [100%] Linking C executable templatev1 11:40:26 [100%] Built target templatev1 11:40:26 make: Entering directory '/tmp/sdk/build/release' 11:40:26 make[1]: Entering directory '/tmp/sdk/build/release' 11:40:26 make[2]: Entering directory '/tmp/sdk/build/release' 11:40:26 Scanning dependencies of target csdk 11:40:26 make[2]: Leaving directory '/tmp/sdk/build/release' 11:40:26 make[2]: Entering directory '/tmp/sdk/build/release' 11:40:26 [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:40:26 [ 81%] Linking C executable device-counter 11:40:26 [ 81%] Built target device-counter 11:40:26 [ 3%] Linking C shared library libcsdk.so 11:40:26 Scanning dependencies of target device-random 11:40:26 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 11:40:26 make[2]: Leaving directory '/tmp/sdk/build/release' 11:40:26 [ 74%] Built target csdk 11:40:26 make[2]: Entering directory '/tmp/sdk/build/release' 11:40:26 make[2]: Leaving directory '/tmp/sdk/build/release' 11:40:26 make[2]: Entering directory '/tmp/sdk/build/release' 11:40:26 [ 76%] Linking C executable template 11:40:26 make[2]: Leaving directory '/tmp/sdk/build/release' 11:40:26 [ 78%] Built target template 11:40:26 make[2]: Entering directory '/tmp/sdk/build/release' 11:40:26 make[2]: Leaving directory '/tmp/sdk/build/release' 11:40:26 make[2]: Entering directory '/tmp/sdk/build/release' 11:40:26 [ 80%] Linking C executable device-counter 11:40:26 [ 85%] Linking C executable device-random 11:40:26 make[2]: Leaving directory '/tmp/sdk/build/release' 11:40:26 [ 81%] Built target device-counter 11:40:26 make[2]: Entering directory '/tmp/sdk/build/release' 11:40:26 make[2]: Leaving directory '/tmp/sdk/build/release' 11:40:26 make[2]: Entering directory '/tmp/sdk/build/release' 11:40:26 [ 83%] Linking C executable device-random 11:40:26 make[2]: Leaving directory '/tmp/sdk/build/release' 11:40:26 [ 85%] Built target device-random 11:40:26 make[2]: Entering directory '/tmp/sdk/build/release' 11:40:26 make[2]: Leaving directory '/tmp/sdk/build/release' 11:40:26 make[2]: Entering directory '/tmp/sdk/build/release' 11:40:26 [ 87%] Linking C executable device-gyro 11:40:26 make[2]: Leaving directory '/tmp/sdk/build/release' 11:40:26 [ 89%] Built target device-gyro 11:40:26 make[2]: Entering directory '/tmp/sdk/build/release' 11:40:26 make[2]: Leaving directory '/tmp/sdk/build/release' 11:40:26 make[2]: Entering directory '/tmp/sdk/build/release' 11:40:26 [ 90%] Linking C executable template-discovery 11:40:26 [ 85%] Built target device-random 11:40:26 Scanning dependencies of target device-gyro 11:40:26 [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 11:40:27 make[2]: Leaving directory '/tmp/sdk/build/release' 11:40:27 [ 92%] Built target template-discovery 11:40:27 make[2]: Entering directory '/tmp/sdk/build/release' 11:40:27 make[2]: Leaving directory '/tmp/sdk/build/release' 11:40:27 make[2]: Entering directory '/tmp/sdk/build/release' 11:40:27 [ 94%] Linking C executable device-terminal 11:40:27 make[2]: Leaving directory '/tmp/sdk/build/release' 11:40:27 [ 96%] Built target device-terminal 11:40:27 make[2]: Entering directory '/tmp/sdk/build/release' 11:40:27 make[2]: Leaving directory '/tmp/sdk/build/release' 11:40:27 make[2]: Entering directory '/tmp/sdk/build/release' 11:40:27 [ 98%] Linking C executable templatev1 11:40:27 make[2]: Leaving directory '/tmp/sdk/build/release' 11:40:27 [100%] Built target templatev1 11:40:27 make[1]: Leaving directory '/tmp/sdk/build/release' 11:40:27 Install the project... 11:40:27 -- Install configuration: "Release" 11:40:27 -- Installing: /usr/local/lib/libcsdk.so 11:40:27 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 11:40:27 -- Up-to-date: /usr/local/include 11:40:27 -- Installing: /usr/local/include/devsdk 11:40:27 -- Installing: /usr/local/include/devsdk/devsdk-base.h 11:40:27 -- Installing: /usr/local/include/devsdk/devsdk.h 11:40:27 -- Installing: /usr/local/include/edgex 11:40:27 -- Installing: /usr/local/include/edgex/device-mgmt.h 11:40:27 -- Installing: /usr/local/include/edgex/devices.h 11:40:27 -- Installing: /usr/local/include/edgex/devsdk.h 11:40:27 -- Installing: /usr/local/include/edgex/edgex-base.h 11:40:27 -- Installing: /usr/local/include/edgex/edgex-logging.h 11:40:27 -- Installing: /usr/local/include/edgex/edgex.h 11:40:27 -- Installing: /usr/local/include/edgex/error.h 11:40:27 -- Installing: /usr/local/include/edgex/eventgen.h 11:40:27 -- Installing: /usr/local/include/edgex/os.h 11:40:27 -- Installing: /usr/local/include/edgex/profiles.h 11:40:27 -- Installing: /usr/local/include/edgex/registry.h 11:40:27 -- Installing: /usr/local/include/edgex/rest-server.h 11:40:27 -- Installing: /usr/local/include/edgex/csdk-defs.h 11:40:27 -- Installing: /usr/local/include/iot 11:40:27 -- Installing: /usr/local/include/iot/base64.h 11:40:27 -- Installing: /usr/local/include/iot/component.h 11:40:27 -- Installing: /usr/local/include/iot/container.h 11:40:27 -- Installing: /usr/local/include/iot/data.h 11:40:27 -- Installing: /usr/local/include/iot/hash.h 11:40:27 -- Installing: /usr/local/include/iot/iot.h 11:40:27 -- Installing: /usr/local/include/iot/json.h 11:40:27 -- Installing: /usr/local/include/iot/logger.h 11:40:27 -- Installing: /usr/local/include/iot/os.h 11:40:27 -- Installing: /usr/local/include/iot/scheduler.h 11:40:27 -- Installing: /usr/local/include/iot/thread.h 11:40:27 -- Installing: /usr/local/include/iot/threadpool.h 11:40:27 -- Installing: /usr/local/include/iot/time.h 11:40:27 -- Installing: /usr/local/include/iot/typecode.h 11:40:27 -- Installing: /usr/local/include/iot/os 11:40:27 -- Installing: /usr/local/include/iot/os/linux.h 11:40:27 -- Installing: /usr/local/include/iot/os/zephyr.h 11:40:27 -- Installing: /usr/local/share/device-sdk-c/LICENSE 11:40:27 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 11:40:27 make: Leaving directory '/tmp/sdk/build/release' 11:40:27 [ 89%] Linking C executable device-gyro 11:40:27 [ 89%] Built target device-gyro 11:40:27 Scanning dependencies of target template-discovery 11:40:27 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 11:40:28 [ 92%] Linking C executable template-discovery 11:40:28 [ 92%] Built target template-discovery 11:40:28 Scanning dependencies of target device-terminal 11:40:28 [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 11:40:28 Removing intermediate container 6b98b932810c 11:40:28 ---> 5a774c555a79 11:40:28 Step 14/21 : FROM ${BASE} 11:40:28 ---> 5eabd8fd8ba2 11:40:28 Step 15/21 : MAINTAINER IOTech 11:40:28 ---> Running in 12037ddc3251 11:40:29 Removing intermediate container 12037ddc3251 11:40:29 ---> 064da62a86a7 11:40:29 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 11:40:29 ---> Running in c8dc4cc416bf 11:40:29 [ 96%] Linking C executable device-terminal 11:40:29 [ 96%] Built target device-terminal 11:40:29 Scanning dependencies of target templatev1 11:40:29 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 11:40:29 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 11:40:30 [100%] Linking C executable templatev1 11:40:30 [100%] Built target templatev1 11:40:30 + make package 11:40:30 + tee -a release.log 11:40:30 [ 74%] Built target csdk 11:40:30 [ 78%] Built target template 11:40:30 [ 81%] Built target device-counter 11:40:30 [ 85%] Built target device-random 11:40:30 [ 89%] Built target device-gyro 11:40:30 [ 92%] Built target template-discovery 11:40:30 [ 96%] Built target device-terminal 11:40:30 [100%] Built target templatev1 11:40:30 Run CPack packaging tool... 11:40:30 CPack: Create package using TGZ 11:40:30 CPack: Install projects 11:40:30 CPack: - Run preinstall target for: Csdk 11:40:30 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 11:40:31 (1/3) Installing curl (7.64.0-r3) 11:40:31 (2/3) Installing libuuid (2.33-r0) 11:40:31 (3/3) Installing wget (1.20.3-r0) 11:40:31 Executing busybox-1.29.3-r10.trigger 11:40:31 OK: 268 MiB in 78 packages 11:40:31 CPack: - Install project: Csdk 11:40:31 CPack: Create package 11:40:31 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 11:40:31 + '[' false '=' true ] 11:40:31 + '[' false '=' true ] 11:40:31 + mkdir -p /tmp/sdk/build/debug 11:40:31 + cd /tmp/sdk/build/debug 11:40:31 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 11:40:31 -- The C compiler identification is GNU 8.3.0 11:40:31 -- Check for working C compiler: /usr/bin/cc 11:40:31 Removing intermediate container c8dc4cc416bf 11:40:31 ---> 8781416a2057 11:40:31 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 11:40:31 ---> 4f0a4bf1efad 11:40:31 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 11:40:32 -- Check for working C compiler: /usr/bin/cc -- works 11:40:32 -- Detecting C compiler ABI info 11:40:32 -- Detecting C compiler ABI info - done 11:40:32 ---> 04483f3987e9 11:40:32 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 11:40:32 -- Detecting C compile features 11:40:32 ---> 641882ff3d92 11:40:32 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 11:40:32 ---> a9abf448cfad 11:40:32 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 11:40:32 ---> 47bdb5180771 11:40:32 Successfully built 47bdb5180771 11:40:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } 11:40:32 -- Detecting C compile features - done 11:40:32 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 11:40:32 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 11:40:32 -- Found LIBYAML: /usr/lib/libyaml.so 11:40:32 -- Found LIBUUID: /usr/lib/libuuid.so 11:40:32 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 11:40:32 -- C SDK 0.0.0 for Linux 11:40:32 -- Performing Test CSDK_HAVE_ATOMIC [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { 11:40:33 -- Performing Test CSDK_HAVE_ATOMIC - Success 11:40:33 -- Found Curses: /usr/lib/libcurses.so [Pipeline] isUnix [Pipeline] sh 11:40:33 -- Configuring done 11:40:33 + docker inspect -f . ci-base-image-x86_64 11:40:33 . [Pipeline] withDockerContainer 11:40:33 prd-centos7-docker-4c-2g-3712 does not seem to be running inside a container 11:40:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:40:33 -- Generating done 11:40:33 -- Build files have been written to: /tmp/sdk/build/debug 11:40:33 + + teemake debug.log 11:40:33 11:40:33 Scanning dependencies of target csdk 11:40:34 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 11:40:34 $ docker top 95515e710d17b709a7154d0567b83c96714fd0d9dfe1887a154601e007dcdea3 -eo pid,comm 11:40:34 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [Pipeline] { [Pipeline] sh 11:40:34 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 11:40:34 + make test 11:40:34 echo "make test" 11:40:34 make test [Pipeline] } 11:40:34 $ docker stop --time=1 95515e710d17b709a7154d0567b83c96714fd0d9dfe1887a154601e007dcdea3 11:40:35 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 11:40:35 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 11:40:35 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 11:40:36 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 11:40:36 $ docker rm -f 95515e710d17b709a7154d0567b83c96714fd0d9dfe1887a154601e007dcdea3 [Pipeline] // withDockerContainer 11:40:36 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script 11:40:36 [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [Pipeline] { [Pipeline] sh 11:40:37 + sudo chown -R jenkins:jenkins . 11:40:37 [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 11:40:37 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [Pipeline] sh 11:40:37 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 11:40:37 + ls -al . 11:40:37 total 160 11:40:37 drwxrwxr-x. 9 jenkins jenkins 275 Jun 19 11:39 . 11:40:37 drwxrwxr-x. 4 jenkins jenkins 28 Jun 19 11:39 .. 11:40:37 -rw-rw-r--. 1 jenkins jenkins 3104 Jun 19 11:39 Attribution.txt 11:40:37 -rw-rw-r--. 1 jenkins jenkins 5323 Jun 19 11:39 CHANGES 11:40:37 drwxrwxr-x. 2 jenkins jenkins 144 Jun 19 11:39 docs 11:40:37 -rw-rw-r--. 1 jenkins jenkins 108574 Jun 19 11:39 Doxyfile 11:40:37 drwxrwxr-x. 8 jenkins jenkins 179 Jun 19 11:39 .git 11:40:37 drwxrwxr-x. 2 jenkins jenkins 38 Jun 19 11:39 .github 11:40:37 -rw-rw-r--. 1 jenkins jenkins 176 Jun 19 11:39 .gitignore 11:40:37 drwxrwxr-x. 4 jenkins jenkins 33 Jun 19 11:39 include 11:40:37 -rw-rw-r--. 1 jenkins jenkins 794 Jun 19 11:39 Jenkinsfile 11:40:37 -rw-rw-r--. 1 jenkins jenkins 10174 Jun 19 11:39 LICENSE 11:40:37 -rw-rw-r--. 1 jenkins jenkins 449 Jun 19 11:39 Makefile 11:40:37 -rw-rw-r--. 1 jenkins jenkins 1849 Jun 19 11:39 README.md 11:40:37 -rw-rw-r--. 1 jenkins jenkins 5229 Jun 19 11:39 README.v2.md 11:40:37 drwxrwxr-x. 2 jenkins jenkins 108 Jun 19 11:39 scripts 11:40:37 drwxrwxr-x. 3 jenkins jenkins 58 Jun 19 11:39 .semver 11:40:37 drwxrwxr-x. 4 jenkins jenkins 50 Jun 19 11:39 src 11:40:37 -rw-rw-r--. 1 jenkins jenkins 5 Jun 19 11:36 VERSION [Pipeline] isUnix [Pipeline] sh 11:40:37 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 11:40:37 + 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=414b841636228c254328d50dab08f2821d7f5031 --label arch=amd64 --label version=0.0.0 . 11:40:37 Sending build context to Docker daemon 3.294MB 11:40:37 Step 1/15 : ARG BASE=alpine:3.11 11:40:37 Step 2/15 : FROM ${BASE} 11:40:37 ---> 47bdb5180771 11:40:37 Step 3/15 : MAINTAINER IOTech 11:40:38 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 11:40:38 ---> Running in 7926baa29ed0 11:40:38 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 11:40:38 Removing intermediate container 7926baa29ed0 11:40:38 ---> 60944d7288f0 11:40:38 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 11:40:38 ---> Running in e608e961ba3d 11:40:38 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 11:40:38 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 11:40:39 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 11:40:39 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 11:40:39 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 11:40:40 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 11:40:40 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 11:40:40 (2/6) Installing libblkid (2.33-r0) 11:40:40 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 11:40:40 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 11:40:40 (3/6) Installing libfdisk (2.33-r0) 11:40:40 (4/6) Installing libmount (2.33-r0) 11:40:40 (5/6) Installing libsmartcols (2.33-r0) 11:40:40 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 11:40:40 (6/6) Installing util-linux-dev (2.33-r0) 11:40:40 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 11:40:40 Executing busybox-1.29.3-r10.trigger 11:40:40 OK: 272 MiB in 84 packages 11:40:41 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 11:40:41 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 11:40:41 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 11:40:41 Removing intermediate container e608e961ba3d 11:40:41 ---> 9e504701dc15 11:40:41 Step 5/15 : COPY VERSION /edgex-c-sdk/ 11:40:41 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 11:40:41 ---> d2ec3bf77edd 11:40:41 Step 6/15 : COPY src /edgex-c-sdk/src/ 11:40:41 [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o 11:40:42 [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 11:40:42 ---> 79fb70566c91 11:40:42 Step 7/15 : COPY include /edgex-c-sdk/include/ 11:40:42 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 11:40:42 ---> 2fe977eaff61 11:40:42 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 11:40:42 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 11:40:42 ---> dc953409de00 11:40:42 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 11:40:43 ---> c684bc201a9e 11:40:43 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 11:40:43 ---> 49595f4e904e 11:40:43 Step 11/15 : WORKDIR /edgex-c-sdk 11:40:43 ---> Running in 3c7dff2e7765 11:40:43 Removing intermediate container 3c7dff2e7765 11:40:43 ---> d8c7ec015f73 11:40:43 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 11:40:43 ---> Running in 5e23a7530063 11:40:43 Removing intermediate container 5e23a7530063 11:40:43 ---> 2a93be2d0fa8 11:40:43 Step 13/15 : LABEL arch=amd64 11:40:43 ---> Running in 1b6b48dc12ae 11:40:43 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 11:40:43 Removing intermediate container 1b6b48dc12ae 11:40:43 ---> 8a813e5ae5ce 11:40:43 Step 14/15 : LABEL git_sha=414b841636228c254328d50dab08f2821d7f5031 11:40:43 ---> Running in 2fb41c289ddf 11:40:43 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 11:40:44 Removing intermediate container 2fb41c289ddf 11:40:44 ---> 3c556634aaac 11:40:44 Step 15/15 : LABEL version=0.0.0 11:40:44 ---> Running in e43b2e967e28 11:40:44 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 11:40:44 Removing intermediate container e43b2e967e28 11:40:44 ---> 1c82de7c241b 11:40:44 [Warning] One or more build-args [ARCH MAKE] were not consumed 11:40:44 Successfully built 1c82de7c241b 11:40:44 Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } 11:40:44 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [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] } 11:40:45 [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:40:45 [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 11:40:46 [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 11:40:46 [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 11:40:47 [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 11:40:47 [ 74%] Linking C shared library libcsdk.so 11:40:47 [ 74%] Built target csdk 11:40:47 Scanning dependencies of target template 11:40:47 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 11:40:48 [ 78%] Linking C executable template 11:40:48 [ 78%] Built target template 11:40:48 Scanning dependencies of target device-counter 11:40:48 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 11:40:48 [ 81%] Linking C executable device-counter 11:40:48 [ 81%] Built target device-counter 11:40:48 Scanning dependencies of target device-random 11:40:48 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 11:40:48 [ 85%] Linking C executable device-random 11:40:49 [ 85%] Built target device-random 11:40:49 Scanning dependencies of target device-gyro 11:40:49 [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 11:40:49 [ 89%] Linking C executable device-gyro 11:40:49 [ 89%] Built target device-gyro 11:40:49 Scanning dependencies of target template-discovery 11:40:49 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 11:40:50 [ 92%] Linking C executable template-discovery 11:40:50 [ 92%] Built target template-discovery 11:40:50 Scanning dependencies of target device-terminal 11:40:50 [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 11:40:50 [ 96%] Linking C executable device-terminal 11:40:50 [ 96%] Built target device-terminal 11:40:50 Scanning dependencies of target templatev1 11:40:50 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 11:40:51 [100%] Linking C executable templatev1 11:40:51 [100%] Built target templatev1 11:40:51 make: Entering directory '/tmp/sdk/build/release' 11:40:51 make[1]: Entering directory '/tmp/sdk/build/release' 11:40:51 make[2]: Entering directory '/tmp/sdk/build/release' 11:40:51 Scanning dependencies of target csdk 11:40:51 make[2]: Leaving directory '/tmp/sdk/build/release' 11:40:51 make[2]: Entering directory '/tmp/sdk/build/release' 11:40:51 [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:40:53 [ 3%] Linking C shared library libcsdk.so 11:40:53 make[2]: Leaving directory '/tmp/sdk/build/release' 11:40:53 [ 74%] Built target csdk 11:40:53 make[2]: Entering directory '/tmp/sdk/build/release' 11:40:53 make[2]: Leaving directory '/tmp/sdk/build/release' 11:40:53 make[2]: Entering directory '/tmp/sdk/build/release' 11:40:53 [ 76%] Linking C executable template 11:40:53 make[2]: Leaving directory '/tmp/sdk/build/release' 11:40:53 [ 78%] Built target template 11:40:53 make[2]: Entering directory '/tmp/sdk/build/release' 11:40:53 make[2]: Leaving directory '/tmp/sdk/build/release' 11:40:53 make[2]: Entering directory '/tmp/sdk/build/release' 11:40:53 [ 80%] Linking C executable device-counter 11:40:53 make[2]: Leaving directory '/tmp/sdk/build/release' 11:40:53 [ 81%] Built target device-counter 11:40:53 make[2]: Entering directory '/tmp/sdk/build/release' 11:40:53 make[2]: Leaving directory '/tmp/sdk/build/release' 11:40:53 make[2]: Entering directory '/tmp/sdk/build/release' 11:40:53 [ 83%] Linking C executable device-random 11:40:54 make[2]: Leaving directory '/tmp/sdk/build/release' 11:40:54 [ 85%] Built target device-random 11:40:54 make[2]: Entering directory '/tmp/sdk/build/release' 11:40:54 make[2]: Leaving directory '/tmp/sdk/build/release' 11:40:54 make[2]: Entering directory '/tmp/sdk/build/release' 11:40:54 [ 87%] Linking C executable device-gyro 11:40:54 make[2]: Leaving directory '/tmp/sdk/build/release' 11:40:54 [ 89%] Built target device-gyro 11:40:54 make[2]: Entering directory '/tmp/sdk/build/release' 11:40:54 make[2]: Leaving directory '/tmp/sdk/build/release' 11:40:54 make[2]: Entering directory '/tmp/sdk/build/release' 11:40:54 [ 90%] Linking C executable template-discovery 11:40:54 make[2]: Leaving directory '/tmp/sdk/build/release' 11:40:54 [ 92%] Built target template-discovery 11:40:54 make[2]: Entering directory '/tmp/sdk/build/release' 11:40:54 make[2]: Leaving directory '/tmp/sdk/build/release' 11:40:54 make[2]: Entering directory '/tmp/sdk/build/release' 11:40:54 [ 94%] Linking C executable device-terminal 11:40:55 make[2]: Leaving directory '/tmp/sdk/build/release' 11:40:55 [ 96%] Built target device-terminal 11:40:55 make[2]: Entering directory '/tmp/sdk/build/release' 11:40:55 make[2]: Leaving directory '/tmp/sdk/build/release' 11:40:55 make[2]: Entering directory '/tmp/sdk/build/release' 11:40:55 [ 98%] Linking C executable templatev1 11:40:55 make[2]: Leaving directory '/tmp/sdk/build/release' 11:40:55 [100%] Built target templatev1 11:40:55 make[1]: Leaving directory '/tmp/sdk/build/release' 11:40:55 Install the project... 11:40:55 -- Install configuration: "Release" 11:40:55 -- Installing: /usr/local/lib/libcsdk.so 11:40:55 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 11:40:55 -- Up-to-date: /usr/local/include 11:40:55 -- Installing: /usr/local/include/edgex 11:40:55 -- Installing: /usr/local/include/edgex/device-mgmt.h 11:40:55 -- Installing: /usr/local/include/edgex/eventgen.h 11:40:55 -- Installing: /usr/local/include/edgex/error.h 11:40:55 -- Installing: /usr/local/include/edgex/rest-server.h 11:40:55 -- Installing: /usr/local/include/edgex/edgex-base.h 11:40:55 -- Installing: /usr/local/include/edgex/devsdk.h 11:40:55 -- Installing: /usr/local/include/edgex/edgex.h 11:40:55 -- Installing: /usr/local/include/edgex/registry.h 11:40:55 -- Installing: /usr/local/include/edgex/edgex-logging.h 11:40:55 -- Installing: /usr/local/include/edgex/devices.h 11:40:55 -- Installing: /usr/local/include/edgex/os.h 11:40:55 -- Installing: /usr/local/include/edgex/profiles.h 11:40:55 -- Installing: /usr/local/include/edgex/csdk-defs.h 11:40:55 -- Installing: /usr/local/include/devsdk 11:40:55 -- Installing: /usr/local/include/devsdk/devsdk-base.h 11:40:55 -- Installing: /usr/local/include/devsdk/devsdk.h 11:40:55 -- Installing: /usr/local/include/iot 11:40:55 -- Installing: /usr/local/include/iot/json.h 11:40:55 -- Installing: /usr/local/include/iot/container.h 11:40:55 -- Installing: /usr/local/include/iot/component.h 11:40:55 -- Installing: /usr/local/include/iot/typecode.h 11:40:55 -- Installing: /usr/local/include/iot/iot.h 11:40:55 -- Installing: /usr/local/include/iot/time.h 11:40:55 -- Installing: /usr/local/include/iot/hash.h 11:40:55 -- Installing: /usr/local/include/iot/logger.h 11:40:55 -- Installing: /usr/local/include/iot/os 11:40:55 -- Installing: /usr/local/include/iot/os/zephyr.h 11:40:55 -- Installing: /usr/local/include/iot/os/linux.h 11:40:55 -- Installing: /usr/local/include/iot/scheduler.h 11:40:55 -- Installing: /usr/local/include/iot/data.h 11:40:55 -- Installing: /usr/local/include/iot/thread.h 11:40:55 -- Installing: /usr/local/include/iot/os.h 11:40:55 -- Installing: /usr/local/include/iot/base64.h 11:40:55 -- Installing: /usr/local/include/iot/threadpool.h 11:40:55 -- Installing: /usr/local/share/device-sdk-c/LICENSE 11:40:55 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 11:40:55 make: Leaving directory '/tmp/sdk/build/release' 11:40:57 Removing intermediate container 8f8d98fc11a5 11:40:57 ---> 83c5171a4aa0 11:40:57 Step 14/21 : FROM ${BASE} 11:40:57 ---> b23d30803547 11:40:57 Step 15/21 : MAINTAINER IOTech 11:40:57 ---> Running in 541172a36e1f 11:40:57 Removing intermediate container 541172a36e1f 11:40:57 ---> bf2cf33e6df4 11:40:57 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 11:40:58 ---> Running in c26a0e8d6642 11:40:59 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 11:41:00 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 11:41:00 (1/3) Installing curl (7.64.0-r3) 11:41:00 (2/3) Installing libuuid (2.33-r0) 11:41:00 (3/3) Installing wget (1.20.3-r0) 11:41:01 Executing busybox-1.29.3-r10.trigger 11:41:01 OK: 281 MiB in 78 packages 11:41:02 Removing intermediate container c26a0e8d6642 11:41:02 ---> c65311396824 11:41:02 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 11:41:03 ---> e2ef74643c2f 11:41:03 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 11:41:03 ---> db6aa4fecf53 11:41:03 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 11:41:04 ---> e95fc055ea39 11:41:04 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 11:41:05 ---> f97834ef49ea 11:41:05 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 11:41:06 ---> 0ce906dd2feb 11:41:06 Successfully built 0ce906dd2feb 11:41:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:41:06 + docker inspect -f . ci-base-image-arm64 11:41:06 . [Pipeline] withDockerContainer 11:41:07 prd-ubuntu18.04-docker-arm64-4c-16g-3711 does not seem to be running inside a container 11:41:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:41:09 $ docker top 9b160f43f66bb541151bf12a7c51f61f2a53f89c97a55c83e78303983510fe67 -eo pid,comm [Pipeline] { [Pipeline] sh 11:41:10 + make test 11:41:10 echo "make test" 11:41:10 make test [Pipeline] } 11:41:10 $ docker stop --time=1 9b160f43f66bb541151bf12a7c51f61f2a53f89c97a55c83e78303983510fe67 11:41:12 $ docker rm -f 9b160f43f66bb541151bf12a7c51f61f2a53f89c97a55c83e78303983510fe67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:41:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:41:13 + ls -al . 11:41:13 total 196 11:41:13 drwxrwxr-x 9 jenkins jenkins 4096 Jun 19 11:38 . 11:41:13 drwxrwxr-x 4 jenkins jenkins 4096 Jun 19 11:38 .. 11:41:13 drwxrwxr-x 8 jenkins jenkins 4096 Jun 19 11:38 .git 11:41:13 drwxrwxr-x 2 jenkins jenkins 4096 Jun 19 11:38 .github 11:41:13 -rw-rw-r-- 1 jenkins jenkins 176 Jun 19 11:38 .gitignore 11:41:13 drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 11:38 .semver 11:41:13 -rw-rw-r-- 1 jenkins jenkins 3104 Jun 19 11:38 Attribution.txt 11:41:13 -rw-rw-r-- 1 jenkins jenkins 5323 Jun 19 11:38 CHANGES 11:41:13 -rw-rw-r-- 1 jenkins jenkins 108574 Jun 19 11:38 Doxyfile 11:41:13 -rw-rw-r-- 1 jenkins jenkins 794 Jun 19 11:38 Jenkinsfile 11:41:13 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 19 11:38 LICENSE 11:41:13 -rw-rw-r-- 1 jenkins jenkins 449 Jun 19 11:38 Makefile 11:41:13 -rw-rw-r-- 1 jenkins jenkins 1849 Jun 19 11:38 README.md 11:41:13 -rw-rw-r-- 1 jenkins jenkins 5229 Jun 19 11:38 README.v2.md 11:41:13 -rw-rw-r-- 1 jenkins jenkins 5 Jun 19 11:36 VERSION 11:41:13 drwxrwxr-x 2 jenkins jenkins 4096 Jun 19 11:38 docs 11:41:13 drwxrwxr-x 4 jenkins jenkins 4096 Jun 19 11:38 include 11:41:13 drwxrwxr-x 2 jenkins jenkins 4096 Jun 19 11:38 scripts 11:41:13 drwxrwxr-x 4 jenkins jenkins 4096 Jun 19 11:38 src [Pipeline] isUnix [Pipeline] sh 11:41:14 + 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=414b841636228c254328d50dab08f2821d7f5031 --label arch=arm64 --label version=0.0.0 . 11:41:14 Sending build context to Docker daemon 3.294MB 11:41:14 Step 1/15 : ARG BASE=alpine:3.11 11:41:14 Step 2/15 : FROM ${BASE} 11:41:14 ---> 0ce906dd2feb 11:41:14 Step 3/15 : MAINTAINER IOTech 11:41:15 ---> Running in 0e98ca55a66c 11:41:15 Removing intermediate container 0e98ca55a66c 11:41:15 ---> a0cae68b194f 11:41:15 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 11:41:15 ---> Running in f47bee7397d2 11:41:17 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 11:41:17 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 11:41:18 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 11:41:18 (2/6) Installing libblkid (2.33-r0) 11:41:18 (3/6) Installing libfdisk (2.33-r0) 11:41:18 (4/6) Installing libmount (2.33-r0) 11:41:18 (5/6) Installing libsmartcols (2.33-r0) 11:41:18 (6/6) Installing util-linux-dev (2.33-r0) 11:41:19 Executing busybox-1.29.3-r10.trigger 11:41:19 OK: 286 MiB in 84 packages 11:41:20 Removing intermediate container f47bee7397d2 11:41:20 ---> 55b9bf83b85a 11:41:20 Step 5/15 : COPY VERSION /edgex-c-sdk/ 11:41:21 ---> 0b681d4e9812 11:41:21 Step 6/15 : COPY src /edgex-c-sdk/src/ 11:41:22 ---> ac292c884d20 11:41:22 Step 7/15 : COPY include /edgex-c-sdk/include/ 11:41:22 ---> 23494382e915 11:41:22 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 11:41:23 ---> 9bf9771bbf3d 11:41:23 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 11:41:24 ---> 4b1441f51fc2 11:41:24 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 11:41:24 ---> 8df598eb5952 11:41:24 Step 11/15 : WORKDIR /edgex-c-sdk 11:41:24 ---> Running in 0206ea58e60a 11:41:25 Removing intermediate container 0206ea58e60a 11:41:25 ---> 15a9b1d5d73c 11:41:25 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 11:41:25 ---> Running in 4da72d2ecf04 11:41:25 Removing intermediate container 4da72d2ecf04 11:41:25 ---> 07868d6413cd 11:41:25 Step 13/15 : LABEL arch=arm64 11:41:26 ---> Running in 69709c480ce7 11:41:26 Removing intermediate container 69709c480ce7 11:41:26 ---> 621bee67770f 11:41:26 Step 14/15 : LABEL git_sha=414b841636228c254328d50dab08f2821d7f5031 11:41:26 ---> Running in 9c68c68c69d8 11:41:26 Removing intermediate container 9c68c68c69d8 11:41:26 ---> 00cfe8abaa8c 11:41:26 Step 15/15 : LABEL version=0.0.0 11:41:27 ---> Running in b3397a03ab95 11:41:27 Removing intermediate container b3397a03ab95 11:41:27 ---> 66cd657f6aea 11:41:27 [Warning] One or more build-args [MAKE ARCH] were not consumed 11:41:27 Successfully built 66cd657f6aea 11:41:27 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 11:41:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:41:30 ---> package-listing.sh 11:41:30 ++ facter osfamily 11:41:30 ++ tr '[:upper:]' '[:lower:]' 11:41:30 + OS_FAMILY=redhat 11:41:30 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-271 11:41:30 + START_PACKAGES=/tmp/packages_start.txt 11:41:30 + END_PACKAGES=/tmp/packages_end.txt 11:41:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:41:30 + PACKAGES=/tmp/packages_start.txt 11:41:30 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-271 ']' 11:41:30 + PACKAGES=/tmp/packages_end.txt 11:41:30 + case "${OS_FAMILY}" in 11:41:30 + rpm -qa 11:41:30 + sort 11:41:34 + '[' -f /tmp/packages_start.txt ']' 11:41:34 + '[' -f /tmp/packages_end.txt ']' 11:41:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:41:34 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-271 ']' 11:41:34 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-271/archives/ 11:41:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-271/archives/ [Pipeline] isUnix [Pipeline] sh 11:41:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:41:35 11:41:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 11:41:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:41:35 alpine: Pulling from edgex-lftools-log-publisher 11:41:35 c9b1b535fdd9: Pulling fs layer 11:41:35 2cc5ad85d9ab: Pulling fs layer 11:41:35 756a868c4378: Pulling fs layer 11:41:35 444b2fc9a129: Pulling fs layer 11:41:35 ea15f1150254: Pulling fs layer 11:41:35 41b27a9f41bf: Pulling fs layer 11:41:35 28c525ee5125: Pulling fs layer 11:41:35 094b1ea09ed8: Pulling fs layer 11:41:35 138eaada9080: Pulling fs layer 11:41:35 0622d0fa9048: Pulling fs layer 11:41:35 444b2fc9a129: Waiting 11:41:35 ea15f1150254: Waiting 11:41:35 41b27a9f41bf: Waiting 11:41:35 28c525ee5125: Waiting 11:41:35 094b1ea09ed8: Waiting 11:41:35 138eaada9080: Waiting 11:41:35 0622d0fa9048: Waiting 11:41:35 2cc5ad85d9ab: Verifying Checksum 11:41:35 2cc5ad85d9ab: Download complete 11:41:35 444b2fc9a129: Verifying Checksum 11:41:35 444b2fc9a129: Download complete 11:41:35 c9b1b535fdd9: Download complete 11:41:35 ea15f1150254: Download complete 11:41:35 28c525ee5125: Verifying Checksum 11:41:35 28c525ee5125: Download complete 11:41:36 756a868c4378: Download complete 11:41:36 c9b1b535fdd9: Pull complete 11:41:36 094b1ea09ed8: Verifying Checksum 11:41:36 094b1ea09ed8: Download complete 11:41:36 138eaada9080: Verifying Checksum 11:41:36 138eaada9080: Download complete 11:41:36 0622d0fa9048: Verifying Checksum 11:41:36 0622d0fa9048: Download complete 11:41:36 2cc5ad85d9ab: Pull complete 11:41:36 41b27a9f41bf: Verifying Checksum 11:41:36 41b27a9f41bf: Download complete 11:41:38 756a868c4378: Pull complete 11:41:38 444b2fc9a129: Pull complete 11:41:38 ea15f1150254: Pull complete 11:41:42 41b27a9f41bf: Pull complete 11:41:42 28c525ee5125: Pull complete 11:41:45 094b1ea09ed8: Pull complete 11:41:45 138eaada9080: Pull complete 11:41:45 0622d0fa9048: Pull complete 11:41:45 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 11:41:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:41:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 11:41:45 prd-centos7-docker-4c-2g-3710 does not seem to be running inside a container 11:41:45 $ 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-271 -v /w/workspace/edgexfoundry_device-sdk-c_PR-271:/w/workspace/edgexfoundry_device-sdk-c_PR-271:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-271@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-271@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 11:41:49 $ docker top ee0f8b742fe2f5c3bc7db65220d0402fb4f84d599641ddb357756c99ccc77e7b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:41:50 provisioning config files... 11:41:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-271@tmp/config3214933479251481593tmp [Pipeline] { [Pipeline] echo 11:41:50 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:41:50 ---> create-netrc.sh [Pipeline] echo 11:41:50 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:41:51 ---> logs-deploy.sh 11:41:51 + ARCHIVE_ARTIFACTS= 11:41:51 + LOGS_SERVER=https://logs.edgexfoundry.org 11:41:51 + '[' https://logs.edgexfoundry.org == None ']' 11:41:51 + NEXUS_URL=https://nexus.edgexfoundry.org 11:41:51 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-271/1 11:41:51 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-271/1/ 11:41:51 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-271/1 /w/workspace/edgexfoundry_device-sdk-c_PR-271 11:41:52 Archives upload complete. 11:41:52 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-271/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-271/1/ 11:41:52 ---> uname -a: 11:41:52 Linux ee0f8b742fe2 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 11:41:52 11:41:52 11:41:52 ---> lscpu: 11:41:52 Architecture: x86_64 11:41:52 CPU op-mode(s): 32-bit, 64-bit 11:41:52 Byte Order: Little Endian 11:41:52 Address sizes: 40 bits physical, 48 bits virtual 11:41:52 CPU(s): 4 11:41:52 On-line CPU(s) list: 0-3 11:41:52 Thread(s) per core: 1 11:41:52 Core(s) per socket: 1 11:41:52 Socket(s): 4 11:41:52 NUMA node(s): 1 11:41:52 Vendor ID: GenuineIntel 11:41:52 CPU family: 6 11:41:52 Model: 44 11:41:52 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 11:41:52 Stepping: 1 11:41:52 CPU MHz: 2933.438 11:41:52 BogoMIPS: 5866.87 11:41:52 Virtualization: VT-x 11:41:52 Hypervisor vendor: KVM 11:41:52 Virtualization type: full 11:41:52 L1d cache: 128 KiB 11:41:52 L1i cache: 128 KiB 11:41:52 L2 cache: 16 MiB 11:41:52 L3 cache: 64 MiB 11:41:52 NUMA node0 CPU(s): 0-3 11:41:52 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 11:41:52 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 11:41:52 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 11:41:52 Vulnerability Meltdown: Mitigation; PTI 11:41:52 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 11:41:52 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 11:41:52 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 11:41:52 Vulnerability Tsx async abort: Not affected 11:41:52 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 11:41:52 11:41:52 11:41:52 ---> nproc: 11:41:52 4 11:41:52 11:41:52 11:41:52 ---> df -h: 11:41:52 Filesystem Size Used Available Use% Mounted on 11:41:52 overlay 50.0G 7.2G 42.8G 14% / 11:41:52 tmpfs 64.0M 0 64.0M 0% /dev 11:41:52 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 11:41:52 shm 64.0M 0 64.0M 0% /dev/shm 11:41:52 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/resolv.conf 11:41:52 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hostname 11:41:52 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hosts 11:41:52 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/edgexfoundry_device-sdk-c_PR-271 11:41:52 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/edgexfoundry_device-sdk-c_PR-271@tmp 11:41:52 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/sa 11:41:52 11:41:52 11:41:52 ---> free -m: 11:41:52 total used free shared buff/cache available 11:41:52 Mem: 1837 628 122 0 1086 1102 11:41:52 Swap: 1023 1 1022 11:41:52 11:41:52 11:41:52 ---> ip addr: 11:41:52 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 11:41:52 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 11:41:52 inet 127.0.0.1/8 scope host lo 11:41:52 valid_lft forever preferred_lft forever 11:41:52 6: eth0@if7: mtu 1458 qdisc noqueue state UP 11:41:52 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 11:41:52 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 11:41:52 valid_lft forever preferred_lft forever 11:41:52 11:41:52 11:41:52 ---> sar -b -r -n DEV: 11:41:52 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 06/19/20 _x86_64_ (4 CPU) 11:41:52 11:41:52 11:35:46 LINUX RESTART 11:41:52 11:41:52 11:37:01 tps rtps wtps bread/s bwrtn/s 11:41:52 11:38:01 2.30 0.00 2.30 0.00 49.67 11:41:52 11:39:01 0.37 0.00 0.37 0.00 5.63 11:41:52 11:40:01 0.25 0.00 0.25 0.00 3.11 11:41:52 11:41:01 0.18 0.00 0.18 0.00 1.88 11:41:52 Average: 0.77 0.00 0.77 0.00 15.08 11:41:52 11:41:52 11:37:01 kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:41:52 11:38:01 183940 1697616 90.22 2620 1157392 1067860 36.44 375544 1162708 20 11:41:52 11:39:01 180760 1700796 90.39 2620 1157396 1068104 36.45 379048 1162208 8 11:41:52 11:40:01 180008 1701548 90.43 2620 1157404 1068164 36.45 381448 1160260 8 11:41:52 11:41:01 181908 1699648 90.33 2620 1157404 1067924 36.45 380140 1160260 12 11:41:52 Average: 181654 1699902 90.35 2620 1157399 1068013 36.45 379045 1161359 12 11:41:52 11:41:52 11:37:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 11:41:52 11:38:01 eth0 0.72 0.12 0.06 0.03 0.00 0.00 0.00 11:41:52 11:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:41:52 11:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:41:52 11:39:01 eth0 0.75 0.45 0.30 0.20 0.00 0.00 0.00 11:41:52 11:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:41:52 11:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:41:52 11:40:01 eth0 0.68 0.28 0.29 0.20 0.00 0.00 0.00 11:41:52 11:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:41:52 11:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:41:52 11:41:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 11:41:52 11:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:41:52 11:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:41:52 Average: eth0 0.56 0.23 0.16 0.11 0.00 0.00 0.00 11:41:52 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:41:52 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:41:52 11:41:52 11:41:52 ---> sar -P ALL: 11:41:52 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 06/19/20 _x86_64_ (4 CPU) 11:41:52 11:41:52 11:35:46 LINUX RESTART 11:41:52 11:41:52 11:37:01 CPU %user %nice %system %iowait %steal %idle 11:41:52 11:38:01 all 0.16 0.00 0.04 0.00 0.00 99.80 11:41:52 11:38:01 0 0.47 0.00 0.07 0.00 0.00 99.47 11:41:52 11:38:01 1 0.05 0.00 0.02 0.00 0.00 99.93 11:41:52 11:38:01 2 0.08 0.00 0.05 0.00 0.02 99.85 11:41:52 11:38:01 3 0.03 0.00 0.03 0.00 0.00 99.93 11:41:52 11:39:01 all 0.17 0.00 0.04 0.00 0.00 99.80 11:41:52 11:39:01 0 0.48 0.00 0.02 0.00 0.00 99.50 11:41:52 11:39:01 1 0.12 0.00 0.03 0.00 0.02 99.83 11:41:52 11:39:01 2 0.08 0.00 0.05 0.00 0.00 99.87 11:41:52 11:39:01 3 0.02 0.00 0.03 0.00 0.00 99.95 11:41:52 11:40:01 all 0.15 0.00 0.03 0.00 0.00 99.82 11:41:52 11:40:01 0 0.45 0.00 0.05 0.00 0.02 99.48 11:41:52 11:40:01 1 0.05 0.00 0.03 0.00 0.00 99.92 11:41:52 11:40:01 2 0.03 0.00 0.03 0.00 0.00 99.93 11:41:52 11:40:01 3 0.05 0.00 0.02 0.00 0.00 99.93 11:41:52 11:41:01 all 0.13 0.00 0.03 0.00 0.00 99.85 11:41:52 11:41:01 0 0.43 0.00 0.05 0.00 0.00 99.52 11:41:52 11:41:01 1 0.02 0.00 0.02 0.00 0.00 99.97 11:41:52 11:41:01 2 0.03 0.00 0.03 0.00 0.00 99.93 11:41:52 11:41:01 3 0.02 0.00 0.02 0.00 0.00 99.97 11:41:52 Average: all 0.15 0.00 0.03 0.00 0.00 99.81 11:41:52 Average: 0 0.46 0.00 0.05 0.00 0.00 99.49 11:41:52 Average: 1 0.06 0.00 0.02 0.00 0.00 99.91 11:41:52 Average: 2 0.06 0.00 0.04 0.00 0.00 99.90 11:41:52 Average: 3 0.03 0.00 0.02 0.00 0.00 99.95 11:41:52 11:41:52 11:41:52