Pull request #263 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 f2270728e824aee143bf465ae2c8f9a2bc1cbe22+34c806719c07a595e60a1991047deece8ce10381 (1d501aec387da831e08a53c20230b70c73183697) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision 8d8818eaf3da2c68d83cf4d78c7504a3bbcde7a6 using credential edgex-jenkins-access-pat Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository https://github.com/edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-263/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/tags/stable:refs/tags/stable # timeout=10 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision 8d8818eaf3da2c68d83cf4d78c7504a3bbcde7a6 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d8818eaf3da2c68d83cf4d78c7504a3bbcde7a6 # 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 https://github.com/edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-3.9-base, dockerFilePath:scripts/Dockerfile.alpine-3.9, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine-3.9 DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-3.9-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-c DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-1218’ is offline Running on prd-centos7-docker-4c-2g-1466 in /w/workspace/edgexfoundry_device-sdk-c_PR-263 [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-263 # 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/263/head:refs/remotes/origin/PR-263 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 34c806719c07a595e60a1991047deece8ce10381 into PR head commit f2270728e824aee143bf465ae2c8f9a2bc1cbe22 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/263/head:refs/remotes/origin/PR-263 # 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/263/head:refs/remotes/origin/PR-263 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f2270728e824aee143bf465ae2c8f9a2bc1cbe22 # timeout=10 Merge succeeded, producing f2270728e824aee143bf465ae2c8f9a2bc1cbe22 Checking out Revision f2270728e824aee143bf465ae2c8f9a2bc1cbe22 (PR-263) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 34c806719c07a595e60a1991047deece8ce10381 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f2270728e824aee143bf465ae2c8f9a2bc1cbe22 # timeout=10 Commit message: "feat: prevent service_start being called twice" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 8d8818eaf3da2c68d83cf4d78c7504a3bbcde7a6 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:59:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:59:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:59:06 ========================================================= 19:59:06 EdgeX Global Pipelines Version Info 19:59:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:59:08 ------------------- 19:59:08 stable info: 19:59:08 ------------------- 19:59:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:59:08 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 19:59:08 Message: update stable to v1.0.89 19:59:09 ------------------- 19:59:09 experimental info: 19:59:09 ------------------- 19:59:09 Commited By: **** collab-it+edgex@linuxfoundation.org 19:59:09 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 19:59:09 Message: update experimental to v1.0.89 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 19:59:14 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:59:14 19:59:14 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 19:59:15 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:59:15 latest: Pulling from edgex-devops/git-semver 19:59:15 9123ac7c32f7: Pulling fs layer 19:59:15 b8cc5d1170e3: Pulling fs layer 19:59:15 2924cbbf6a41: Pulling fs layer 19:59:15 93b08a4f1073: Pulling fs layer 19:59:15 93b08a4f1073: Waiting 19:59:15 b8cc5d1170e3: Verifying Checksum 19:59:15 b8cc5d1170e3: Download complete 19:59:15 9123ac7c32f7: Verifying Checksum 19:59:15 9123ac7c32f7: Download complete 19:59:15 93b08a4f1073: Verifying Checksum 19:59:15 93b08a4f1073: Download complete 19:59:15 2924cbbf6a41: Verifying Checksum 19:59:15 2924cbbf6a41: Download complete 19:59:15 9123ac7c32f7: Pull complete 19:59:15 b8cc5d1170e3: Pull complete 19:59:16 2924cbbf6a41: Pull complete 19:59:17 93b08a4f1073: Pull complete 19:59:17 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 19:59:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 19:59:17 prd-centos7-docker-4c-2g-1466 does not seem to be running inside a container 19:59:17 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-263 -v /w/workspace/edgexfoundry_device-sdk-c_PR-263:/w/workspace/edgexfoundry_device-sdk-c_PR-263:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-263@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-263@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 19:59:18 $ docker top 1ccea6945faef31ecf10e8c8b43e6cd414327f58f308500b05abf83ec729ec72 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:59:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:59:19 [ssh-agent] Looking for ssh-agent implementation... 19:59:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:59:19 $ docker exec 1ccea6945faef31ecf10e8c8b43e6cd414327f58f308500b05abf83ec729ec72 ssh-agent 19:59:20 SSH_AUTH_SOCK=/tmp/ssh-4krUtBkeGGiP/agent.14 19:59:20 SSH_AGENT_PID=20 19:59:20 Running ssh-add (command line suppressed) 19:59:20 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-263@tmp/private_key_201922132108099270.key (/w/workspace/edgexfoundry_device-sdk-c_PR-263@tmp/private_key_201922132108099270.key) 19:59:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:59:21 + git describe --exact-match --tags HEAD 19:59:21 fatal: No names found, cannot describe anything. [Pipeline] } 19:59:21 $ docker exec --env ******** --env ******** 1ccea6945faef31ecf10e8c8b43e6cd414327f58f308500b05abf83ec729ec72 ssh-agent -k 19:59:22 unset SSH_AUTH_SOCK; 19:59:22 unset SSH_AGENT_PID; 19:59:22 echo Agent pid 20 killed; 19:59:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 19:59:22 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 19:59:22 This usually means this commit has not been tagged. [Pipeline] sshagent 19:59:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:59:22 [ssh-agent] Looking for ssh-agent implementation... 19:59:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:59:22 $ docker exec 1ccea6945faef31ecf10e8c8b43e6cd414327f58f308500b05abf83ec729ec72 ssh-agent 19:59:23 SSH_AUTH_SOCK=/tmp/ssh-drOlqB85CYdw/agent.55 19:59:23 SSH_AGENT_PID=61 19:59:23 Running ssh-add (command line suppressed) 19:59:23 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-263@tmp/private_key_2580806791681910632.key (/w/workspace/edgexfoundry_device-sdk-c_PR-263@tmp/private_key_2580806791681910632.key) 19:59:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:59:24 + git semver init 19:59:24 # -> Open(): unable to determine branch for HEAD 19:59:24 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-263/.git 19:59:24 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-263 19:59:24 # $SEMVER_REMOTE_NAME = origin 19:59:24 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:59:24 # $SEMVER_USER_NAME = edgex-jenkins 19:59:24 # $SEMVER_BRANCH = PR-263 19:59:24 # $SEMVER_TEMP = /tmp/semver-205720646 19:59:24 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 19:59:25 # '/tmp/semver-205720646' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-263/.semver' 19:59:25 # -> Force: false 19:59:25 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-263/.semver [Pipeline] } 19:59:25 $ docker exec --env ******** --env ******** 1ccea6945faef31ecf10e8c8b43e6cd414327f58f308500b05abf83ec729ec72 ssh-agent -k 19:59:25 unset SSH_AUTH_SOCK; 19:59:25 unset SSH_AGENT_PID; 19:59:25 echo Agent pid 61 killed; 19:59:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:59:26 + git semver [Pipeline] } 19:59:26 $ docker stop --time=1 1ccea6945faef31ecf10e8c8b43e6cd414327f58f308500b05abf83ec729ec72 19:59:28 $ docker rm -f 1ccea6945faef31ecf10e8c8b43e6cd414327f58f308500b05abf83ec729ec72 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 19:59:30 Stashed 44 file(s) [Pipeline] echo 19:59:30 [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 19:59:45 Still waiting to schedule task 19:59:45 Waiting for next available executor on ‘centos7-docker-4c-2g’ 19:59:45 Still waiting to schedule task 19:59:45 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 20:01:20 Running on prd-centos7-docker-4c-2g-1468 in /w/workspace/edgexfoundry_device-sdk-c_PR-263 [Pipeline] { [Pipeline] ws 20:01:20 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 20:01:22 using credential edgex-jenkins-ssh 20:01:22 Cloning the remote Git repository 20:01:22 Cloning with configured refspecs honoured and without tags 20:01:23 Fetching without tags 20:01:22 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 20:01:22 > git init /w/workspace/device-sdk-c/1 # timeout=10 20:01:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 20:01:22 > git --version # timeout=10 20:01:22 using GIT_SSH to set credentials SSH Credentials for GitHub 20:01:22 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/263/head:refs/remotes/origin/PR-263 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:01:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 20:01:23 > git config --add remote.origin.fetch +refs/pull/263/head:refs/remotes/origin/PR-263 # timeout=10 20:01:23 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 20:01:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 20:01:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 20:01:23 using GIT_SSH to set credentials SSH Credentials for GitHub 20:01:23 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/263/head:refs/remotes/origin/PR-263 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:01:23 Merging remotes/origin/master commit 34c806719c07a595e60a1991047deece8ce10381 into PR head commit f2270728e824aee143bf465ae2c8f9a2bc1cbe22 20:01:24 Merge succeeded, producing f2270728e824aee143bf465ae2c8f9a2bc1cbe22 20:01:24 Checking out Revision f2270728e824aee143bf465ae2c8f9a2bc1cbe22 (PR-263) 20:01:23 > git config core.sparsecheckout # timeout=10 20:01:23 > git checkout -f f2270728e824aee143bf465ae2c8f9a2bc1cbe22 # timeout=10 20:01:23 > git remote # timeout=10 20:01:23 > git config --get remote.origin.url # timeout=10 20:01:23 using GIT_SSH to set credentials SSH Credentials for GitHub 20:01:23 > git merge 34c806719c07a595e60a1991047deece8ce10381 # timeout=10 20:01:23 > git rev-parse HEAD^{commit} # timeout=10 20:01:23 > git config core.sparsecheckout # timeout=10 20:01:23 > git checkout -f f2270728e824aee143bf465ae2c8f9a2bc1cbe22 # timeout=10 20:01:27 Commit message: "feat: prevent service_start being called twice" 20:01:27 > git --version # timeout=10 20:01:27 fatal: bad object 8d8818eaf3da2c68d83cf4d78c7504a3bbcde7a6 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 20:01:28 ========================================================= 20:01:28 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 20:01:28 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:01:29 + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-3.9-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . 20:01:29 Sending build context to Docker daemon 3.153MB 20:01:29 Step 1/21 : ARG BASE=alpine:3.9 20:01:29 Step 2/21 : FROM ${BASE} as builder 20:01:29 latest: Pulling from edgex-devops/edgex-gcc-base 20:01:29 e7c96db7181b: Pulling fs layer 20:01:29 4c13bbce0fe7: Pulling fs layer 20:01:29 6059c847ac2f: Pulling fs layer 20:01:29 4c13bbce0fe7: Verifying Checksum 20:01:29 4c13bbce0fe7: Download complete 20:01:29 e7c96db7181b: Verifying Checksum 20:01:29 e7c96db7181b: Download complete 20:01:30 e7c96db7181b: Pull complete 20:01:30 4c13bbce0fe7: Pull complete 20:01:30 6059c847ac2f: Verifying Checksum 20:01:30 6059c847ac2f: Download complete 20:01:30 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1467 in /w/workspace/edgexfoundry_device-sdk-c_PR-263 [Pipeline] { [Pipeline] ws 20:01:31 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 20:01:35 6059c847ac2f: Pull complete 20:01:35 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 20:01:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 20:01:35 ---> 5eabd8fd8ba2 20:01:35 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 20:01:35 ---> Running in dc336ba648ec 20:01:35 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 20:01:36 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 20:01:36 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 20:01:36 (2/8) Installing libuuid (2.33-r0) 20:01:36 (3/8) Installing libblkid (2.33-r0) 20:01:36 (4/8) Installing libfdisk (2.33-r0) 20:01:36 (5/8) Installing libmount (2.33-r0) 20:01:36 (6/8) Installing libsmartcols (2.33-r0) 20:01:36 (7/8) Installing util-linux-dev (2.33-r0) 20:01:37 (8/8) Installing wget (1.20.3-r0) 20:01:37 Executing busybox-1.29.3-r10.trigger 20:01:37 OK: 272 MiB in 83 packages 20:01:37 Removing intermediate container dc336ba648ec 20:01:37 ---> 9f79186e7377 20:01:37 Step 4/21 : ENV CBOR_VERSION=0.5.0 20:01:37 ---> Running in dcf577a63b70 20:01:37 Removing intermediate container dcf577a63b70 20:01:37 ---> 36b15dd6a3ea 20:01:37 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 20:01:37 ---> Running in bb24bc1669a8 20:01:37 using credential edgex-jenkins-ssh 20:01:37 Cloning the remote Git repository 20:01:37 Cloning with configured refspecs honoured and without tags 20:01:38 --2020-06-01 20:01:38-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 20:01:38 Resolving github.com... 140.82.113.3 20:01:38 Connecting to github.com|140.82.113.3|:443... connected. 20:01:38 HTTP request sent, awaiting response... 302 Found 20:01:38 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 20:01:38 --2020-06-01 20:01:38-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 20:01:38 Resolving codeload.github.com... 140.82.112.9 20:01:38 Connecting to codeload.github.com|140.82.112.9|:443... connected. 20:01:38 HTTP request sent, awaiting response... 200 OK 20:01:38 Length: unspecified [application/x-gzip] 20:01:38 Saving to: 'STDOUT' 20:01:38  20:01:38 0K .......... .......... .......... .......... .......... 1.64M 20:01:38 50K .......... .......... .......... .......... .......... 3.20M 20:01:38 100K .......... .......... .......... .......... .......... 3.35M 20:01:38 150K .......... .......... .......... .......... .......... 33.7M 20:01:38 200K .......... .......... .......... .......... .......... 56.0M 20:01:38 250K .......... .......... .......... .......... .......... 3.87M 20:01:38 300K .......... .......... .......... .......... .......... 23.3M 20:01:38 350K .......... .......... .......... .......... .......... 12.3M 20:01:38 400K .......... .......... .......... .......... .......... 8.53M 20:01:38 450K .......... .......... .......... .......... .......... 8.32M 20:01:38 500K .......... .......... .......... .......... .......... 12.6M 20:01:38 550K .......... .......... .......... .......... .......... 4.32M 20:01:38 600K .......... .......... .......... .......... .......... 2.68M 20:01:38 650K .......... .......... .......... .......... .......... 5.18M 20:01:38 700K .. 40.1M=0.1s 20:01:38 20:01:38 2020-06-01 20:01:38 (5.08 MB/s) - written to stdout [719348] 20:01:38 20:01:38 -- The C compiler identification is GNU 8.3.0 20:01:38 -- The CXX compiler identification is GNU 8.3.0 20:01:38 -- Check for working C compiler: /usr/bin/cc 20:01:38 -- Check for working C compiler: /usr/bin/cc -- works 20:01:38 -- Detecting C compiler ABI info 20:01:37 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 20:01:37 > git init /w/workspace/device-sdk-c/1 # timeout=10 20:01:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 20:01:38 > git --version # timeout=10 20:01:38 using GIT_SSH to set credentials SSH Credentials for GitHub 20:01:38 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/263/head:refs/remotes/origin/PR-263 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:01:39 -- Detecting C compiler ABI info - done 20:01:39 -- Detecting C compile features 20:01:39 -- Detecting C compile features - done 20:01:39 -- Check for working CXX compiler: /usr/bin/c++ 20:01:39 -- Check for working CXX compiler: /usr/bin/c++ -- works 20:01:39 -- Detecting CXX compiler ABI info 20:01:39 -- Detecting CXX compiler ABI info - done 20:01:39 -- Detecting CXX compile features 20:01:39 Fetching without tags 20:01:39 -- Detecting CXX compile features - done 20:01:39 -- Looking for include file endian.h 20:01:39 -- Looking for include file endian.h - found 20:01:39 -- Check if the system is big endian 20:01:39 -- Searching 16 bit integer 20:01:39 -- Looking for sys/types.h 20:01:39 -- Looking for sys/types.h - found 20:01:39 -- Looking for stdint.h 20:01:40 Merging remotes/origin/master commit 34c806719c07a595e60a1991047deece8ce10381 into PR head commit f2270728e824aee143bf465ae2c8f9a2bc1cbe22 20:01:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 20:01:39 > git config --add remote.origin.fetch +refs/pull/263/head:refs/remotes/origin/PR-263 # timeout=10 20:01:39 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 20:01:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 20:01:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 20:01:39 using GIT_SSH to set credentials SSH Credentials for GitHub 20:01:39 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/263/head:refs/remotes/origin/PR-263 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:01:40 > git config core.sparsecheckout # timeout=10 20:01:40 > git checkout -f f2270728e824aee143bf465ae2c8f9a2bc1cbe22 # timeout=10 20:01:40 -- Looking for stdint.h - found 20:01:40 -- Looking for stddef.h 20:01:40 -- Looking for stddef.h - found 20:01:40 -- Check size of unsigned short 20:01:40 -- Check size of unsigned short - done 20:01:40 -- Using unsigned short 20:01:40 -- Check if the system is big endian - little endian 20:01:40 Merge succeeded, producing f2270728e824aee143bf465ae2c8f9a2bc1cbe22 20:01:40 Checking out Revision f2270728e824aee143bf465ae2c8f9a2bc1cbe22 (PR-263) 20:01:40 -- Check size of size_t 20:01:40 -- Check size of size_t - done 20:01:40 CMake Warning at examples/CMakeLists.txt:16 (find_package): 20:01:40 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 20:01:40 asked CMake to find a package configuration file provided by "cJSON", but 20:01:40 CMake did not find one. 20:01:40 20:01:40 Could not find a package configuration file provided by "cJSON" with any of 20:01:40 the following names: 20:01:40 20:01:40 cJSONConfig.cmake 20:01:40 cjson-config.cmake 20:01:40 20:01:40 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 20:01:40 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 20:01:40 provides a separate development package or SDK, be sure it has been 20:01:40 installed. 20:01:40 20:01:40 20:01:40 -- Configuring done 20:01:40 -- Generating done 20:01:40 -- Build files have been written to: /tmp/cbor 20:01:40 Scanning dependencies of target cbor_shared 20:01:40 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 20:01:40 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 20:01:40 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 20:01:40 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 20:01:40 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 20:01:41 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 20:01:41 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 20:01:41 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 20:01:41 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 20:01:41 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 20:01:41 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 20:01:40 > git remote # timeout=10 20:01:40 > git config --get remote.origin.url # timeout=10 20:01:40 using GIT_SSH to set credentials SSH Credentials for GitHub 20:01:40 > git merge 34c806719c07a595e60a1991047deece8ce10381 # timeout=10 20:01:40 > git rev-parse HEAD^{commit} # timeout=10 20:01:40 > git config core.sparsecheckout # timeout=10 20:01:40 > git checkout -f f2270728e824aee143bf465ae2c8f9a2bc1cbe22 # timeout=10 20:01:41 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 20:01:41 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 20:01:41 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 20:01:41 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 20:01:41 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 20:01:41 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 20:01:41 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 20:01:42 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 20:01:42 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 20:01:42 [ 40%] Linking C shared library libcbor.so 20:01:42 [ 40%] Built target cbor_shared 20:01:42 Scanning dependencies of target cbor 20:01:42 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 20:01:42 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 20:01:42 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 20:01:42 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 20:01:43 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 20:01:43 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 20:01:43 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 20:01:43 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 20:01:43 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 20:01:43 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 20:01:43 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 20:01:43 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 20:01:43 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 20:01:43 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 20:01:43 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 20:01:44 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 20:01:44 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 20:01:44 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 20:01:44 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 20:01:44 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 20:01:44 [ 80%] Linking C static library libcbor.a 20:01:44 [ 80%] Built target cbor 20:01:44 Scanning dependencies of target create_items 20:01:44 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 20:01:44 Commit message: "feat: prevent service_start being called twice" 20:01:44 [ 84%] Linking C executable create_items 20:01:44 [ 84%] Built target create_items 20:01:44 Scanning dependencies of target readfile 20:01:44 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 20:01:44 [ 88%] Linking C executable readfile 20:01:44 [ 88%] Built target readfile 20:01:44 Scanning dependencies of target streaming_parser 20:01:44 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 20:01:44 [ 92%] Linking C executable streaming_parser 20:01:44 [ 92%] Built target streaming_parser 20:01:44 > git --version # timeout=10 20:01:44 fatal: bad object 8d8818eaf3da2c68d83cf4d78c7504a3bbcde7a6 20:01:45 Scanning dependencies of target sort 20:01:45 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 20:01:45 [ 96%] Linking C executable sort 20:01:45 [ 96%] Built target sort 20:01:45 Scanning dependencies of target hello 20:01:45 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 20:01:45 [100%] Linking C executable hello 20:01:45 [100%] Built target hello 20:01:45 Install the project... 20:01:45 -- Install configuration: "Release" 20:01:45 -- Installing: /usr/local/include/cbor/configuration.h 20:01:45 -- Installing: /usr/local/lib64/libcbor.a 20:01:45 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 20:01:45 -- Installing: /usr/local/lib64/libcbor.so.0 20:01:45 -- Installing: /usr/local/lib64/libcbor.so 20:01:45 -- Up-to-date: /usr/local/include/cbor 20:01:45 -- Installing: /usr/local/include/cbor/arrays.h 20:01:45 -- Installing: /usr/local/include/cbor/bytestrings.h 20:01:45 -- Installing: /usr/local/include/cbor/callbacks.h 20:01:45 -- Installing: /usr/local/include/cbor/common.h 20:01:45 -- Installing: /usr/local/include/cbor/data.h 20:01:45 -- Installing: /usr/local/include/cbor/encoding.h 20:01:45 -- Installing: /usr/local/include/cbor/floats_ctrls.h 20:01:45 -- Installing: /usr/local/include/cbor/internal 20:01:45 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 20:01:45 -- Installing: /usr/local/include/cbor/internal/encoders.h 20:01:45 -- Installing: /usr/local/include/cbor/internal/loaders.h 20:01:45 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 20:01:45 -- Installing: /usr/local/include/cbor/internal/stack.h 20:01:45 -- Installing: /usr/local/include/cbor/internal/unicode.h 20:01:45 -- Installing: /usr/local/include/cbor/ints.h 20:01:45 -- Installing: /usr/local/include/cbor/maps.h 20:01:45 -- Installing: /usr/local/include/cbor/serialization.h 20:01:45 -- Installing: /usr/local/include/cbor/streaming.h 20:01:45 -- Installing: /usr/local/include/cbor/strings.h 20:01:45 -- Installing: /usr/local/include/cbor/tags.h 20:01:45 -- Installing: /usr/local/include/cbor.h 20:01:45 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 20:01:46 Removing intermediate container bb24bc1669a8 20:01:46 ---> 1f456e2c6f10 20:01:46 Step 6/21 : RUN mkdir /tmp/sdk 20:01:46 ---> Running in c2705f50ee28 [Pipeline] echo 20:01:46 ========================================================= 20:01:46 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 20:01:46 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:01:46 Removing intermediate container c2705f50ee28 20:01:46 ---> c0bd1cc71a5b 20:01:46 Step 7/21 : COPY VERSION /tmp/sdk 20:01:46 ---> 4899a9e339d5 20:01:46 Step 8/21 : COPY src /tmp/sdk/src 20:01:47 ---> 5d68586d43fc 20:01:47 Step 9/21 : COPY include /tmp/sdk/include 20:01:47 ---> b6eebfb0437f 20:01:47 Step 10/21 : COPY scripts /tmp/sdk/scripts 20:01:47 ---> 333eea198522 20:01:47 Step 11/21 : COPY LICENSE /tmp/sdk 20:01:47 ---> 3c5ac9736a92 20:01:47 Step 12/21 : COPY Attribution.txt /tmp/sdk 20:01:47 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-3.9-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 20:01:47 ---> db8a4de518d8 20:01:47 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 20:01:47 ---> Running in e43a65c07a0d 20:01:48 Sending build context to Docker daemon 3.153MB 20:01:48 Step 1/21 : ARG BASE=alpine:3.9 20:01:48 Step 2/21 : FROM ${BASE} as builder 20:01:48 + CPPCHECK=false 20:01:48 + DOCGEN=false 20:01:48 + TOMLVER=SDK-0.2 20:01:48 + CUTILVER=1.0.4 20:01:48 + '[' 0 -gt 0 ] 20:01:48 + readlink -f ./scripts/build.sh 20:01:48 + dirname /tmp/sdk/scripts/build.sh 20:01:48 + dirname /tmp/sdk/scripts 20:01:48 + ROOT=/tmp/sdk 20:01:48 + cd /tmp/sdk 20:01:48 + '[' '!' -d deps ] 20:01:48 + mkdir deps 20:01:48 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 20:01:48 + tar -C deps -z -x -f - 20:01:48 --2020-06-01 20:01:48-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 20:01:48 Resolving github.com... 140.82.113.3 20:01:48 Connecting to github.com|140.82.113.3|:443... connected. 20:01:48 HTTP request sent, awaiting response... 302 Found 20:01:48 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 20:01:48 --2020-06-01 20:01:48-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 20:01:48 Resolving codeload.github.com... 140.82.112.9 20:01:48 Connecting to codeload.github.com|140.82.112.9|:443... connected. 20:01:48 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 20:01:48 0362ad1dd800: Pulling fs layer 20:01:48 f2cdb1532d8b: Pulling fs layer 20:01:48 37ed683be191: Pulling fs layer 20:01:48 f2cdb1532d8b: Verifying Checksum 20:01:48 f2cdb1532d8b: Download complete 20:01:49 0362ad1dd800: Verifying Checksum 20:01:49 0362ad1dd800: Download complete 20:01:49 HTTP request sent, awaiting response... 200 OK 20:01:49 Length: unspecified [application/x-gzip] 20:01:49 Saving to: 'STDOUT' 20:01:49  20:01:49 0K .......... ......  1.07M=0.01s 20:01:49 20:01:49 2020-06-01 20:01:49 (1.07 MB/s) - written to stdout [16451] 20:01:49 20:01:49 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 20:01:49 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz 20:01:49 + tar -C deps -z -x -f - 20:01:49 --2020-06-01 20:01:49-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz 20:01:49 Resolving github.com... 140.82.113.3 20:01:49 Connecting to github.com|140.82.113.3|:443... connected. 20:01:49 HTTP request sent, awaiting response... 302 Found 20:01:49 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] 20:01:49 --2020-06-01 20:01:49-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 20:01:49 Resolving codeload.github.com... 140.82.112.9 20:01:49 Connecting to codeload.github.com|140.82.112.9|:443... connected. 20:01:49 0362ad1dd800: Pull complete 20:01:49 HTTP request sent, awaiting response... 200 OK 20:01:49 Length: unspecified [application/x-gzip] 20:01:49 Saving to: 'STDOUT' 20:01:49  20:01:49 0K .......... .......... .......... .......... .......... 1.64M 20:01:49 50K .......... .......... .......... .......... .......... 3.18M 20:01:49 100K .......... .......... .......... .......... .......... 46.9M 20:01:49 150K ........ 52.5M=0.05s 20:01:49 20:01:49 2020-06-01 20:01:49 (3.34 MB/s) - written to stdout [162267] 20:01:49 20:01:49 + mkdir -p src/c/iot 20:01:49 + 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 20:01:49 + mkdir -p include/iot 20:01:49 + 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 20:01:49 + mkdir -p include/iot/os 20:01:49 + 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 20:01:49 + mkdir -p /tmp/sdk/build/release 20:01:49 + cd /tmp/sdk/build/release 20:01:49 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 20:01:49 -- The C compiler identification is GNU 8.3.0 20:01:49 -- Check for working C compiler: /usr/bin/cc 20:01:49 f2cdb1532d8b: Pull complete 20:01:50 -- Check for working C compiler: /usr/bin/cc -- works 20:01:50 -- Detecting C compiler ABI info 20:01:50 -- Detecting C compiler ABI info - done 20:01:50 -- Detecting C compile features 20:01:50 -- Detecting C compile features - done 20:01:50 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 20:01:50 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 20:01:50 -- Found LIBYAML: /usr/lib/libyaml.so 20:01:50 -- Found LIBUUID: /usr/lib/libuuid.so 20:01:50 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 20:01:50 -- C SDK 0.0.0 for Linux 20:01:50 -- Performing Test CSDK_HAVE_ATOMIC 20:01:50 -- Performing Test CSDK_HAVE_ATOMIC - Success 20:01:50 -- Found Curses: /usr/lib/libcurses.so 20:01:50 -- Configuring done 20:01:50 -- Generating done 20:01:50 -- Build files have been written to: /tmp/sdk/build/release 20:01:50 + make 20:01:50 + tee release.log 20:01:50 Scanning dependencies of target csdk 20:01:50 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 20:01:50 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 20:01:50 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 20:01:51 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 20:01:51 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 20:01:51 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 20:01:51 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 20:01:52 [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 20:01:52 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 20:01:52 [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 20:01:52 [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 20:01:52 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 20:01:52 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 20:01:52 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 20:01:53 [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 20:01:53 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 20:01:53 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 20:01:54 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 20:01:54 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 20:01:54 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 20:01:54 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 20:01:54 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 20:01:54 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 20:01:54 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 20:01:55 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 20:01:55 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 20:01:55 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 20:01:55 [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o 20:01:55 [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 20:01:55 [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 20:01:55 [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 20:01:56 37ed683be191: Verifying Checksum 20:01:56 37ed683be191: Download complete 20:01:56 [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 20:01:57 [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 20:01:57 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 20:01:57 [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 20:01:57 [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o 20:01:58 [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 20:01:59 [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 20:01:59 [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 20:01:59 [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 20:01:59 [ 65%] Linking C shared library libcsdk.so 20:01:59 [ 65%] Built target csdk 20:01:59 Scanning dependencies of target template 20:01:59 [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 20:01:59 [ 68%] Linking C executable template 20:01:59 [ 68%] Built target template 20:01:59 Scanning dependencies of target device-counter 20:01:59 [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 20:02:00 [ 71%] Linking C executable device-counter 20:02:00 [ 71%] Built target device-counter 20:02:00 Scanning dependencies of target device-random 20:02:00 [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 20:02:00 [ 74%] Linking C executable device-random 20:02:00 [ 74%] Built target device-random 20:02:00 Scanning dependencies of target device-gyro 20:02:00 [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 20:02:00 [ 77%] Linking C executable device-gyro 20:02:00 [ 77%] Built target device-gyro 20:02:00 Scanning dependencies of target template-discovery 20:02:00 [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 20:02:00 [ 80%] Linking C executable template-discovery 20:02:00 [ 80%] Built target template-discovery 20:02:00 Scanning dependencies of target device-terminal 20:02:00 [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 20:02:01 [ 84%] Linking C executable device-terminal 20:02:01 [ 84%] Built target device-terminal 20:02:01 Scanning dependencies of target template2 20:02:01 [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o 20:02:01 [ 87%] Linking C executable template2 20:02:01 [ 87%] Built target template2 20:02:01 Scanning dependencies of target device-counterv2 20:02:01 [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o 20:02:01 [ 90%] Linking C executable device-counterv2 20:02:01 [ 90%] Built target device-counterv2 20:02:01 Scanning dependencies of target device-gyrov2 20:02:01 [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o 20:02:01 [ 93%] Linking C executable device-gyrov2 20:02:01 [ 93%] Built target device-gyrov2 20:02:01 Scanning dependencies of target device-randomv2 20:02:01 [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o 20:02:01 [ 96%] Linking C executable device-randomv2 20:02:01 [ 96%] Built target device-randomv2 20:02:01 Scanning dependencies of target device-terminalv2 20:02:02 [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o 20:02:02 [100%] Linking C executable device-terminalv2 20:02:02 [100%] Built target device-terminalv2 20:02:02 + + make packagetee 20:02:02 -a release.log 20:02:02 [ 65%] Built target csdk 20:02:02 [ 68%] Built target template 20:02:02 [ 71%] Built target device-counter 20:02:02 [ 74%] Built target device-random 20:02:02 [ 77%] Built target device-gyro 20:02:02 [ 80%] Built target template-discovery 20:02:02 [ 84%] Built target device-terminal 20:02:02 [ 87%] Built target template2 20:02:02 [ 90%] Built target device-counterv2 20:02:02 [ 93%] Built target device-gyrov2 20:02:02 [ 96%] Built target device-randomv2 20:02:02 [100%] Built target device-terminalv2 20:02:02 Run CPack packaging tool... 20:02:02 CPack: Create package using TGZ 20:02:02 CPack: Install projects 20:02:02 CPack: - Run preinstall target for: Csdk 20:02:02 CPack: - Install project: Csdk 20:02:02 CPack: Create package 20:02:02 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 20:02:02 + '[' false '=' true ] 20:02:02 + '[' false '=' true ] 20:02:02 + mkdir -p /tmp/sdk/build/debug 20:02:02 + cd /tmp/sdk/build/debug 20:02:02 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 20:02:02 -- The C compiler identification is GNU 8.3.0 20:02:02 -- Check for working C compiler: /usr/bin/cc 20:02:02 -- Check for working C compiler: /usr/bin/cc -- works 20:02:02 -- Detecting C compiler ABI info 20:02:02 -- Detecting C compiler ABI info - done 20:02:02 -- Detecting C compile features 20:02:03 -- Detecting C compile features - done 20:02:03 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 20:02:03 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 20:02:03 -- Found LIBYAML: /usr/lib/libyaml.so 20:02:03 -- Found LIBUUID: /usr/lib/libuuid.so 20:02:03 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 20:02:03 -- C SDK 0.0.0 for Linux 20:02:03 -- Performing Test CSDK_HAVE_ATOMIC 20:02:03 -- Performing Test CSDK_HAVE_ATOMIC - Success 20:02:03 -- Found Curses: /usr/lib/libcurses.so 20:02:03 -- Configuring done 20:02:03 -- Generating done 20:02:03 -- Build files have been written to: /tmp/sdk/build/debug 20:02:03 + make 20:02:03 + tee debug.log 20:02:03 Scanning dependencies of target csdk 20:02:03 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 20:02:03 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 20:02:03 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 20:02:03 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 20:02:03 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 20:02:03 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 20:02:04 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 20:02:04 [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 20:02:04 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 20:02:04 [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 20:02:04 [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 20:02:04 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 20:02:04 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 20:02:04 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 20:02:04 [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 20:02:04 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 20:02:04 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 20:02:04 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 20:02:05 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 20:02:05 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 20:02:05 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 20:02:05 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 20:02:05 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 20:02:05 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 20:02:05 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 20:02:05 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 20:02:05 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 20:02:05 [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o 20:02:05 [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 20:02:06 [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 20:02:06 [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 20:02:06 [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 20:02:06 [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 20:02:06 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 20:02:06 [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 20:02:06 [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o 20:02:06 37ed683be191: Pull complete 20:02:06 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 20:02:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 20:02:06 ---> b23d30803547 20:02:06 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 20:02:07 [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 20:02:07 [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 20:02:07 [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 20:02:07 [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 20:02:07 [ 65%] Linking C shared library libcsdk.so 20:02:07 [ 65%] Built target csdk 20:02:07 Scanning dependencies of target template 20:02:07 [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 20:02:07 [ 68%] Linking C executable template 20:02:07 [ 68%] Built target template 20:02:07 Scanning dependencies of target device-counter 20:02:07 [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 20:02:07 [ 71%] Linking C executable device-counter 20:02:07 [ 71%] Built target device-counter 20:02:07 Scanning dependencies of target device-random 20:02:07 [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 20:02:07 [ 74%] Linking C executable device-random 20:02:07 [ 74%] Built target device-random 20:02:07 Scanning dependencies of target device-gyro 20:02:08 [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 20:02:08 [ 77%] Linking C executable device-gyro 20:02:08 [ 77%] Built target device-gyro 20:02:08 Scanning dependencies of target template-discovery 20:02:08 [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 20:02:08 [ 80%] Linking C executable template-discovery 20:02:08 [ 80%] Built target template-discovery 20:02:08 Scanning dependencies of target device-terminal 20:02:08 [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 20:02:08 [ 84%] Linking C executable device-terminal 20:02:08 [ 84%] Built target device-terminal 20:02:08 Scanning dependencies of target template2 20:02:08 [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o 20:02:08 [ 87%] Linking C executable template2 20:02:08 [ 87%] Built target template2 20:02:08 Scanning dependencies of target device-counterv2 20:02:08 [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o 20:02:08 [ 90%] Linking C executable device-counterv2 20:02:08 ---> Running in 045c068ed425 20:02:08 [ 90%] Built target device-counterv2 20:02:08 Scanning dependencies of target device-gyrov2 20:02:08 [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o 20:02:09 [ 93%] Linking C executable device-gyrov2 20:02:09 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 20:02:09 [ 93%] Built target device-gyrov2 20:02:09 Scanning dependencies of target device-randomv2 20:02:09 [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o 20:02:09 [ 96%] Linking C executable device-randomv2 20:02:09 [ 96%] Built target device-randomv2 20:02:09 Scanning dependencies of target device-terminalv2 20:02:09 [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o 20:02:09 [100%] Linking C executable device-terminalv2 20:02:09 [100%] Built target device-terminalv2 20:02:10 make: Entering directory '/tmp/sdk/build/release' 20:02:10 make[1]: Entering directory '/tmp/sdk/build/release' 20:02:10 make[2]: Entering directory '/tmp/sdk/build/release' 20:02:10 Scanning dependencies of target csdk 20:02:10 make[2]: Leaving directory '/tmp/sdk/build/release' 20:02:10 make[2]: Entering directory '/tmp/sdk/build/release' 20:02:10 [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o 20:02:10 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 20:02:10 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 20:02:10 [ 3%] Linking C shared library libcsdk.so 20:02:10 make[2]: Leaving directory '/tmp/sdk/build/release' 20:02:10 [ 65%] Built target csdk 20:02:10 make[2]: Entering directory '/tmp/sdk/build/release' 20:02:10 make[2]: Leaving directory '/tmp/sdk/build/release' 20:02:10 make[2]: Entering directory '/tmp/sdk/build/release' 20:02:10 [ 66%] Linking C executable template 20:02:10 make[2]: Leaving directory '/tmp/sdk/build/release' 20:02:10 [ 68%] Built target template 20:02:10 make[2]: Entering directory '/tmp/sdk/build/release' 20:02:10 make[2]: Leaving directory '/tmp/sdk/build/release' 20:02:10 make[2]: Entering directory '/tmp/sdk/build/release' 20:02:10 [ 69%] Linking C executable device-counter 20:02:10 make[2]: Leaving directory '/tmp/sdk/build/release' 20:02:10 [ 71%] Built target device-counter 20:02:10 make[2]: Entering directory '/tmp/sdk/build/release' 20:02:10 make[2]: Leaving directory '/tmp/sdk/build/release' 20:02:10 make[2]: Entering directory '/tmp/sdk/build/release' 20:02:10 (2/8) Installing libuuid (2.33-r0) 20:02:10 (3/8) Installing libblkid (2.33-r0) 20:02:10 (4/8) Installing libfdisk (2.33-r0) 20:02:10 [ 73%] Linking C executable device-random 20:02:10 make[2]: Leaving directory '/tmp/sdk/build/release' 20:02:10 [ 74%] Built target device-random 20:02:10 make[2]: Entering directory '/tmp/sdk/build/release' 20:02:10 make[2]: Leaving directory '/tmp/sdk/build/release' 20:02:10 make[2]: Entering directory '/tmp/sdk/build/release' 20:02:10 [ 76%] Linking C executable device-gyro 20:02:10 make[2]: Leaving directory '/tmp/sdk/build/release' 20:02:10 [ 77%] Built target device-gyro 20:02:10 make[2]: Entering directory '/tmp/sdk/build/release' 20:02:10 make[2]: Leaving directory '/tmp/sdk/build/release' 20:02:10 make[2]: Entering directory '/tmp/sdk/build/release' 20:02:10 [ 79%] Linking C executable template-discovery 20:02:10 make[2]: Leaving directory '/tmp/sdk/build/release' 20:02:10 [ 80%] Built target template-discovery 20:02:10 make[2]: Entering directory '/tmp/sdk/build/release' 20:02:10 make[2]: Leaving directory '/tmp/sdk/build/release' 20:02:10 make[2]: Entering directory '/tmp/sdk/build/release' 20:02:10 [ 82%] Linking C executable device-terminal 20:02:10 (5/8) Installing libmount (2.33-r0) 20:02:10 (6/8) Installing libsmartcols (2.33-r0) 20:02:10 (7/8) Installing util-linux-dev (2.33-r0) 20:02:11 make[2]: Leaving directory '/tmp/sdk/build/release' 20:02:11 [ 84%] Built target device-terminal 20:02:11 make[2]: Entering directory '/tmp/sdk/build/release' 20:02:11 make[2]: Leaving directory '/tmp/sdk/build/release' 20:02:11 make[2]: Entering directory '/tmp/sdk/build/release' 20:02:11 [ 85%] Linking C executable template2 20:02:11 make[2]: Leaving directory '/tmp/sdk/build/release' 20:02:11 [ 87%] Built target template2 20:02:11 make[2]: Entering directory '/tmp/sdk/build/release' 20:02:11 make[2]: Leaving directory '/tmp/sdk/build/release' 20:02:11 make[2]: Entering directory '/tmp/sdk/build/release' 20:02:11 [ 88%] Linking C executable device-counterv2 20:02:11 make[2]: Leaving directory '/tmp/sdk/build/release' 20:02:11 [ 90%] Built target device-counterv2 20:02:11 make[2]: Entering directory '/tmp/sdk/build/release' 20:02:11 make[2]: Leaving directory '/tmp/sdk/build/release' 20:02:11 make[2]: Entering directory '/tmp/sdk/build/release' 20:02:11 [ 92%] Linking C executable device-gyrov2 20:02:11 (8/8) Installing wget (1.20.3-r0) 20:02:11 Executing busybox-1.29.3-r10.trigger 20:02:11 make[2]: Leaving directory '/tmp/sdk/build/release' 20:02:11 [ 93%] Built target device-gyrov2 20:02:11 make[2]: Entering directory '/tmp/sdk/build/release' 20:02:11 make[2]: Leaving directory '/tmp/sdk/build/release' 20:02:11 make[2]: Entering directory '/tmp/sdk/build/release' 20:02:11 [ 95%] Linking C executable device-randomv2 20:02:11 make[2]: Leaving directory '/tmp/sdk/build/release' 20:02:11 [ 96%] Built target device-randomv2 20:02:11 make[2]: Entering directory '/tmp/sdk/build/release' 20:02:11 make[2]: Leaving directory '/tmp/sdk/build/release' 20:02:11 make[2]: Entering directory '/tmp/sdk/build/release' 20:02:11 [ 98%] Linking C executable device-terminalv2 20:02:11 make[2]: Leaving directory '/tmp/sdk/build/release' 20:02:11 [100%] Built target device-terminalv2 20:02:11 make[1]: Leaving directory '/tmp/sdk/build/release' 20:02:11 Install the project... 20:02:11 -- Install configuration: "Release" 20:02:11 -- Installing: /usr/local/lib/libcsdk.so 20:02:11 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 20:02:11 -- Up-to-date: /usr/local/include 20:02:11 -- Installing: /usr/local/include/devsdk 20:02:11 -- Installing: /usr/local/include/devsdk/devsdk-base.h 20:02:11 -- Installing: /usr/local/include/devsdk/devsdk.h 20:02:11 -- Installing: /usr/local/include/edgex 20:02:11 -- Installing: /usr/local/include/edgex/device-mgmt.h 20:02:11 -- Installing: /usr/local/include/edgex/devices.h 20:02:11 -- Installing: /usr/local/include/edgex/devsdk.h 20:02:11 -- Installing: /usr/local/include/edgex/edgex-base.h 20:02:11 -- Installing: /usr/local/include/edgex/edgex-logging.h 20:02:11 -- Installing: /usr/local/include/edgex/edgex.h 20:02:11 -- Installing: /usr/local/include/edgex/error.h 20:02:11 -- Installing: /usr/local/include/edgex/eventgen.h 20:02:11 -- Installing: /usr/local/include/edgex/os.h 20:02:11 -- Installing: /usr/local/include/edgex/profiles.h 20:02:11 -- Installing: /usr/local/include/edgex/registry.h 20:02:11 -- Installing: /usr/local/include/edgex/rest-server.h 20:02:11 -- Installing: /usr/local/include/edgex/csdk-defs.h 20:02:11 -- Installing: /usr/local/include/iot 20:02:11 -- Installing: /usr/local/include/iot/base64.h 20:02:11 -- Installing: /usr/local/include/iot/component.h 20:02:11 -- Installing: /usr/local/include/iot/container.h 20:02:11 -- Installing: /usr/local/include/iot/data.h 20:02:11 -- Installing: /usr/local/include/iot/hash.h 20:02:11 -- Installing: /usr/local/include/iot/iot.h 20:02:11 -- Installing: /usr/local/include/iot/json.h 20:02:11 -- Installing: /usr/local/include/iot/logger.h 20:02:11 -- Installing: /usr/local/include/iot/os.h 20:02:11 -- Installing: /usr/local/include/iot/scheduler.h 20:02:11 -- Installing: /usr/local/include/iot/thread.h 20:02:11 -- Installing: /usr/local/include/iot/threadpool.h 20:02:11 -- Installing: /usr/local/include/iot/time.h 20:02:11 -- Installing: /usr/local/include/iot/typecode.h 20:02:11 -- Installing: /usr/local/include/iot/os 20:02:11 -- Installing: /usr/local/include/iot/os/linux.h 20:02:11 -- Installing: /usr/local/include/iot/os/zephyr.h 20:02:11 -- Installing: /usr/local/share/device-sdk-c/LICENSE 20:02:11 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 20:02:11 make: Leaving directory '/tmp/sdk/build/release' 20:02:11 OK: 285 MiB in 83 packages 20:02:12 Removing intermediate container e43a65c07a0d 20:02:12 ---> 3c1cccbd78f0 20:02:12 Step 14/21 : FROM alpine:3.9 20:02:12 3.9: Pulling from library/alpine 20:02:12 31603596830f: Pulling fs layer 20:02:12 31603596830f: Verifying Checksum 20:02:12 31603596830f: Download complete 20:02:12 31603596830f: Pull complete 20:02:12 Digest: sha256:414e0518bb9228d35e4cd5165567fb91d26c6a214e9c95899e1e056fcd349011 20:02:13 Removing intermediate container 045c068ed425 20:02:13 ---> 8e93b204c677 20:02:13 Step 4/21 : ENV CBOR_VERSION=0.5.0 20:02:13 ---> Running in 916a4db18e71 20:02:13 Status: Downloaded newer image for alpine:3.9 20:02:13 ---> 78a2ce922f86 20:02:13 Step 15/21 : MAINTAINER IOTech 20:02:13 ---> Running in ccbda0c6e473 20:02:13 Removing intermediate container ccbda0c6e473 20:02:13 ---> 4cc9534328d2 20:02:13 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 20:02:13 ---> Running in 60d95fffa19c 20:02:13 Removing intermediate container 916a4db18e71 20:02:13 ---> 7fd4623304e4 20:02:13 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 20:02:13 ---> Running in 995e6d64f5f2 20:02:13 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 20:02:13 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 20:02:13 (1/48) Installing binutils (2.31.1-r2) 20:02:13 (2/48) Installing libmagic (5.36-r1) 20:02:13 (3/48) Installing file (5.36-r1) 20:02:13 (4/48) Installing gmp (6.1.2-r1) 20:02:13 (5/48) Installing isl (0.18-r0) 20:02:14 (6/48) Installing libgomp (8.3.0-r0) 20:02:14 (7/48) Installing libatomic (8.3.0-r0) 20:02:14 (8/48) Installing libgcc (8.3.0-r0) 20:02:14 (9/48) Installing mpfr3 (3.1.5-r1) 20:02:14 (10/48) Installing mpc1 (1.0.3-r1) 20:02:14 (11/48) Installing libstdc++ (8.3.0-r0) 20:02:14 (12/48) Installing gcc (8.3.0-r0) 20:02:14 --2020-06-01 20:02:14-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 20:02:14 Resolving github.com... 140.82.113.4 20:02:14 Connecting to github.com|140.82.113.4|:443... connected. 20:02:14 HTTP request sent, awaiting response... 302 Found 20:02:14 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 20:02:14 --2020-06-01 20:02:14-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 20:02:14 Resolving codeload.github.com... 140.82.113.10 20:02:14 Connecting to codeload.github.com|140.82.113.10|:443... connected. 20:02:14 HTTP request sent, awaiting response... 200 OK 20:02:14 Length: unspecified [application/x-gzip] 20:02:14 Saving to: 'STDOUT' 20:02:14 20:02:14 0K .......... .......... .......... .......... .......... 1.60M 20:02:14 50K .......... .......... .......... .......... .......... 3.43M 20:02:14 100K .......... .......... .......... .......... .......... 12.1M 20:02:14 150K .......... .......... .......... .......... .......... 11.6M 20:02:14 200K .......... .......... .......... .......... .......... 4.26M 20:02:14 250K .......... .......... .......... .......... .......... 5.71M 20:02:14 300K .......... .......... .......... .......... .......... 3.37M 20:02:14 350K .......... .......... .......... .......... .......... 4.54M 20:02:14 400K .......... .......... .......... .......... .......... 3.34M 20:02:14 450K .......... .......... .......... .......... .......... 3.28M 20:02:14 500K .......... .......... .......... .......... .......... 6.17M 20:02:14 550K .......... .......... .......... .......... .......... 2.60M 20:02:14 600K .......... .......... .......... .......... .......... 904K 20:02:14 650K .......... .......... .......... .......... .......... 2.12M 20:02:14 700K ..  529K=0.2s 20:02:14 20:02:14 2020-06-01 20:02:14 (2.89 MB/s) - written to stdout [719348] 20:02:14 20:02:15 -- The C compiler identification is GNU 8.3.0 20:02:15 -- The CXX compiler identification is GNU 8.3.0 20:02:15 -- Check for working C compiler: /usr/bin/cc 20:02:15 -- Check for working C compiler: /usr/bin/cc -- works 20:02:15 -- Detecting C compiler ABI info 20:02:15 -- Detecting C compiler ABI info - done 20:02:15 -- Detecting C compile features 20:02:16 -- Detecting C compile features - done 20:02:16 -- Check for working CXX compiler: /usr/bin/c++ 20:02:16 -- Check for working CXX compiler: /usr/bin/c++ -- works 20:02:16 -- Detecting CXX compiler ABI info 20:02:17 -- Detecting CXX compiler ABI info - done 20:02:17 -- Detecting CXX compile features 20:02:18 (13/48) Installing musl-dev (1.1.20-r5) 20:02:18 (14/48) Installing libc-dev (0.7.1-r0) 20:02:18 (15/48) Installing g++ (8.3.0-r0) 20:02:18 -- Detecting CXX compile features - done 20:02:18 -- Looking for include file endian.h 20:02:18 -- Looking for include file endian.h - found 20:02:18 -- Check if the system is big endian 20:02:18 -- Searching 16 bit integer 20:02:18 -- Looking for sys/types.h 20:02:19 -- Looking for sys/types.h - found 20:02:19 -- Looking for stdint.h 20:02:19 -- Looking for stdint.h - found 20:02:19 -- Looking for stddef.h 20:02:19 -- Looking for stddef.h - found 20:02:19 -- Check size of unsigned short 20:02:19 (16/48) Installing make (4.2.1-r2) 20:02:19 (17/48) Installing fortify-headers (1.0-r0) 20:02:19 (18/48) Installing build-base (0.5-r1) 20:02:19 (19/48) Installing libattr (2.4.47-r7) 20:02:19 (20/48) Installing libacl (2.2.52-r5) 20:02:19 (21/48) Installing libbz2 (1.0.6-r7) 20:02:19 (22/48) Installing expat (2.2.8-r0) 20:02:19 (23/48) Installing lz4-libs (1.8.3-r2) 20:02:19 (24/48) Installing xz-libs (5.2.4-r0) 20:02:19 (25/48) Installing libarchive (3.3.3-r2) 20:02:19 (26/48) Installing ca-certificates (20191127-r0) 20:02:19 (27/48) Installing nghttp2-libs (1.35.1-r1) 20:02:19 (28/48) Installing libssh2 (1.9.0-r1) 20:02:19 (29/48) Installing libcurl (7.64.0-r3) 20:02:19 (30/48) Installing ncurses-terminfo-base (6.1_p20190105-r0) 20:02:19 (31/48) Installing ncurses-terminfo (6.1_p20190105-r0) 20:02:19 -- Check size of unsigned short - done 20:02:19 -- Using unsigned short 20:02:20 (32/48) Installing ncurses-libs (6.1_p20190105-r0) 20:02:20 -- Check if the system is big endian - little endian 20:02:20 -- Check size of size_t 20:02:20 (33/48) Installing rhash-libs (1.3.6-r2) 20:02:20 (34/48) Installing libuv (1.23.2-r0) 20:02:20 (35/48) Installing cmake (3.13.0-r0) 20:02:20 -- Check size of size_t - done 20:02:20 CMake Warning at examples/CMakeLists.txt:16 (find_package): 20:02:20 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 20:02:20 asked CMake to find a package configuration file provided by "cJSON", but 20:02:20 CMake did not find one. 20:02:20 20:02:20 Could not find a package configuration file provided by "cJSON" with any of 20:02:20 the following names: 20:02:20 20:02:20 cJSONConfig.cmake 20:02:20 cjson-config.cmake 20:02:20 20:02:20 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 20:02:20 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 20:02:20 provides a separate development package or SDK, be sure it has been 20:02:20 installed. 20:02:20 20:02:20 20:02:20 -- Configuring done 20:02:20 -- Generating done 20:02:20 -- Build files have been written to: /tmp/cbor 20:02:20 Scanning dependencies of target cbor_shared 20:02:20 (36/48) Installing curl (7.64.0-r3) 20:02:20 (37/48) Installing pcre2 (10.32-r1) 20:02:20 (38/48) Installing git (2.20.4-r0) 20:02:21 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 20:02:21 (39/48) Installing nettle (3.4.1-r0) 20:02:21 (40/48) Installing libffi (3.2.1-r6) 20:02:21 (41/48) Installing p11-kit (0.23.14-r0) 20:02:21 (42/48) Installing libtasn1 (4.14-r0) 20:02:21 (43/48) Installing libunistring (0.9.10-r0) 20:02:21 (44/48) Installing gnutls (3.6.7-r1) 20:02:21 (45/48) Installing libmicrohttpd (0.9.62-r0) 20:02:21 (46/48) Installing libuuid (2.33-r0) 20:02:21 (47/48) Installing wget (1.20.3-r0) 20:02:21 (48/48) Installing yaml (0.2.1-r0) 20:02:21 Executing busybox-1.29.3-r10.trigger 20:02:21 Executing ca-certificates-20191127-r0.trigger 20:02:21 OK: 222 MiB in 62 packages 20:02:21 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 20:02:22 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 20:02:22 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 20:02:23 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 20:02:23 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 20:02:23 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 20:02:23 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 20:02:23 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 20:02:24 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 20:02:24 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 20:02:25 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 20:02:25 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 20:02:25 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 20:02:25 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 20:02:26 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 20:02:26 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 20:02:26 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 20:02:27 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 20:02:27 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 20:02:27 [ 40%] Linking C shared library libcbor.so 20:02:27 [ 40%] Built target cbor_shared 20:02:27 Scanning dependencies of target cbor 20:02:27 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 20:02:28 Removing intermediate container 60d95fffa19c 20:02:28 ---> 56a2e3a8e18f 20:02:28 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 20:02:28 ---> 4458088badcf 20:02:28 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 20:02:28 ---> a16abf951ed7 20:02:28 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 20:02:28 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 20:02:28 ---> 4fe3a8c9c11a 20:02:28 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 20:02:28 ---> 1d729b5fb133 20:02:28 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 20:02:28 ---> 6a9a02238403 20:02:29 Successfully built 6a9a02238403 20:02:29 Successfully tagged ci-base-image-x86_64:latest 20:02:29 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 20:02:29 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:02:29 + docker inspect -f . ci-base-image-x86_64 20:02:29 . [Pipeline] withDockerContainer 20:02:30 prd-centos7-docker-4c-2g-1468 does not seem to be running inside a container 20:02:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:02:30 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 20:02:30 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 20:02:30 $ docker top 6cbfc95adbef3b688732e97ae77fc1c50b808bdaeeb7e7ad10ee7ce821d25818 -eo pid,comm 20:02:30 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 20:02:30 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [Pipeline] { [Pipeline] sh 20:02:31 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 20:02:31 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 20:02:31 + make test 20:02:31 echo "make test" 20:02:31 make test [Pipeline] } 20:02:31 $ docker stop --time=1 6cbfc95adbef3b688732e97ae77fc1c50b808bdaeeb7e7ad10ee7ce821d25818 20:02:32 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 20:02:32 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 20:02:32 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 20:02:33 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 20:02:33 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 20:02:33 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 20:02:33 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 20:02:33 $ docker rm -f 6cbfc95adbef3b688732e97ae77fc1c50b808bdaeeb7e7ad10ee7ce821d25818 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script 20:02:34 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 20:02:34 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [Pipeline] } [Pipeline] // stage 20:02:34 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 20:02:34 [ 80%] Linking C static library libcbor.a 20:02:34 [ 80%] Built target cbor 20:02:34 Scanning dependencies of target create_items 20:02:34 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 20:02:35 [ 84%] Linking C executable create_items 20:02:35 [ 84%] Built target create_items 20:02:35 Scanning dependencies of target readfile 20:02:35 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 20:02:35 [ 88%] Linking C executable readfile 20:02:35 [ 88%] Built target readfile 20:02:35 Scanning dependencies of target streaming_parser 20:02:35 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 20:02:35 [ 92%] Linking C executable streaming_parser 20:02:36 [ 92%] Built target streaming_parser 20:02:36 Scanning dependencies of target sort 20:02:36 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 20:02:36 [ 96%] Linking C executable sort 20:02:36 [ 96%] Built target sort 20:02:36 Scanning dependencies of target hello 20:02:36 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 20:02:36 [100%] Linking C executable hello 20:02:36 [100%] Built target hello 20:02:36 Install the project... 20:02:36 -- Install configuration: "Release" 20:02:36 -- Installing: /usr/local/include/cbor/configuration.h 20:02:36 -- Installing: /usr/local/lib64/libcbor.a 20:02:36 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 20:02:36 -- Installing: /usr/local/lib64/libcbor.so.0 20:02:36 -- Installing: /usr/local/lib64/libcbor.so 20:02:36 -- Up-to-date: /usr/local/include/cbor 20:02:36 -- Installing: /usr/local/include/cbor/common.h 20:02:36 -- Installing: /usr/local/include/cbor/serialization.h 20:02:36 -- Installing: /usr/local/include/cbor/encoding.h 20:02:36 -- Installing: /usr/local/include/cbor/maps.h 20:02:36 -- Installing: /usr/local/include/cbor/strings.h 20:02:36 -- Installing: /usr/local/include/cbor/arrays.h 20:02:36 -- Installing: /usr/local/include/cbor/internal 20:02:36 -- Installing: /usr/local/include/cbor/internal/loaders.h 20:02:36 -- Installing: /usr/local/include/cbor/internal/stack.h 20:02:36 -- Installing: /usr/local/include/cbor/internal/unicode.h 20:02:36 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 20:02:36 -- Installing: /usr/local/include/cbor/internal/encoders.h 20:02:36 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 20:02:36 -- Installing: /usr/local/include/cbor/data.h 20:02:36 -- Installing: /usr/local/include/cbor/floats_ctrls.h 20:02:36 -- Installing: /usr/local/include/cbor/bytestrings.h 20:02:36 -- Installing: /usr/local/include/cbor/tags.h 20:02:36 -- Installing: /usr/local/include/cbor/streaming.h 20:02:36 -- Installing: /usr/local/include/cbor/ints.h 20:02:36 -- Installing: /usr/local/include/cbor/callbacks.h 20:02:36 -- Installing: /usr/local/include/cbor.h 20:02:36 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [Pipeline] sh 20:02:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:02:39 Removing intermediate container 995e6d64f5f2 20:02:39 ---> 18f023e17a31 20:02:39 Step 6/21 : RUN mkdir /tmp/sdk 20:02:39 ---> Running in 9bb55b7a4904 20:02:39 + ls -al . 20:02:39 total 160 20:02:39 drwxrwxr-x. 8 jenkins jenkins 260 Jun 1 20:01 . 20:02:39 drwxrwxr-x. 4 jenkins jenkins 28 Jun 1 20:01 .. 20:02:39 -rw-rw-r--. 1 jenkins jenkins 3104 Jun 1 20:01 Attribution.txt 20:02:39 -rw-rw-r--. 1 jenkins jenkins 5393 Jun 1 20:01 CHANGES 20:02:39 drwxrwxr-x. 2 jenkins jenkins 144 Jun 1 20:01 docs 20:02:39 -rw-rw-r--. 1 jenkins jenkins 108574 Jun 1 20:01 Doxyfile 20:02:39 drwxrwxr-x. 8 jenkins jenkins 179 Jun 1 20:01 .git 20:02:39 -rw-rw-r--. 1 jenkins jenkins 176 Jun 1 20:01 .gitignore 20:02:39 drwxrwxr-x. 4 jenkins jenkins 33 Jun 1 20:01 include 20:02:39 -rw-rw-r--. 1 jenkins jenkins 792 Jun 1 20:01 Jenkinsfile 20:02:39 -rw-rw-r--. 1 jenkins jenkins 10174 Jun 1 20:01 LICENSE 20:02:39 -rw-rw-r--. 1 jenkins jenkins 448 Jun 1 20:01 Makefile 20:02:39 -rw-rw-r--. 1 jenkins jenkins 1849 Jun 1 20:01 README.md 20:02:39 -rw-rw-r--. 1 jenkins jenkins 5229 Jun 1 20:01 README.v2.md 20:02:39 drwxrwxr-x. 2 jenkins jenkins 106 Jun 1 20:01 scripts 20:02:39 drwxrwxr-x. 3 jenkins jenkins 58 Jun 1 20:01 .semver 20:02:39 drwxrwxr-x. 4 jenkins jenkins 50 Jun 1 20:01 src 20:02:39 -rw-rw-r--. 1 jenkins jenkins 5 Jun 1 19:59 VERSION [Pipeline] isUnix [Pipeline] sh 20:02:39 + docker build -t docker-device-sdk-c -f scripts/Dockerfile.alpine-3.9 --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=f2270728e824aee143bf465ae2c8f9a2bc1cbe22 --label arch=amd64 --label version=0.0.0 . 20:02:39 Sending build context to Docker daemon 3.153MB 20:02:39 Step 1/15 : ARG BASE=alpine:3.9 20:02:39 Step 2/15 : FROM ${BASE} 20:02:39 ---> 6a9a02238403 20:02:39 Step 3/15 : MAINTAINER IOTech 20:02:39 ---> Running in 81a8dafa9b5e 20:02:40 Removing intermediate container 81a8dafa9b5e 20:02:40 ---> bf034c25fefe 20:02:40 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 20:02:40 ---> Running in 93fb490ac342 20:02:40 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 20:02:40 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 20:02:40 (1/21) Installing pkgconf (1.6.0-r0) 20:02:40 (2/21) Installing openssl-dev (1.1.1g-r0) 20:02:41 Removing intermediate container 9bb55b7a4904 20:02:41 ---> 811735d5eec9 20:02:41 Step 7/21 : COPY VERSION /tmp/sdk 20:02:41 (3/21) Installing zlib-dev (1.2.11-r1) 20:02:41 (4/21) Installing libssh2-dev (1.9.0-r1) 20:02:41 (5/21) Installing nghttp2-dev (1.35.1-r1) 20:02:41 (6/21) Installing curl-dev (7.64.0-r3) 20:02:41 ---> a31b52be522b 20:02:41 Step 8/21 : COPY src /tmp/sdk/src 20:02:41 (7/21) Installing gnutls-c++ (3.6.7-r1) 20:02:41 (8/21) Installing libgmpxx (6.1.2-r1) 20:02:41 (9/21) Installing gmp-dev (6.1.2-r1) 20:02:41 (10/21) Installing nettle-dev (3.4.1-r0) 20:02:41 (11/21) Installing libtasn1-dev (4.14-r0) 20:02:41 (12/21) Installing p11-kit-dev (0.23.14-r0) 20:02:41 (13/21) Installing gnutls-dev (3.6.7-r1) 20:02:41 (14/21) Installing libmicrohttpd-dev (0.9.62-r0) 20:02:41 (15/21) Installing ncurses-dev (6.1_p20190105-r0) 20:02:41 (16/21) Installing libblkid (2.33-r0) 20:02:41 (17/21) Installing libfdisk (2.33-r0) 20:02:41 (18/21) Installing libmount (2.33-r0) 20:02:41 (19/21) Installing libsmartcols (2.33-r0) 20:02:41 (20/21) Installing util-linux-dev (2.33-r0) 20:02:41 (21/21) Installing yaml-dev (0.2.1-r0) 20:02:41 Executing busybox-1.29.3-r10.trigger 20:02:41 OK: 266 MiB in 83 packages 20:02:42 ---> 45d66fa8392e 20:02:42 Step 9/21 : COPY include /tmp/sdk/include 20:02:42 ---> b33686d95e2d 20:02:42 Step 10/21 : COPY scripts /tmp/sdk/scripts 20:02:42 Removing intermediate container 93fb490ac342 20:02:42 ---> d151453c3583 20:02:42 Step 5/15 : COPY VERSION /edgex-c-sdk/ 20:02:42 ---> bb7af70d05dc 20:02:42 Step 6/15 : COPY src /edgex-c-sdk/src/ 20:02:43 ---> aac644ef4634 20:02:43 Step 7/15 : COPY include /edgex-c-sdk/include/ 20:02:43 ---> 9aa65ac90182 20:02:43 Step 11/21 : COPY LICENSE /tmp/sdk 20:02:43 ---> d8972e2092f8 20:02:43 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 20:02:43 ---> ac363ad7a554 20:02:43 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 20:02:43 ---> 7cf90d607dfb 20:02:43 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 20:02:43 ---> 259c7f8cea22 20:02:43 Step 12/21 : COPY Attribution.txt /tmp/sdk 20:02:44 ---> 69a0d95d3905 20:02:44 Step 11/15 : WORKDIR /edgex-c-sdk 20:02:44 ---> Running in 055b2ab7a5ab 20:02:44 Removing intermediate container 055b2ab7a5ab 20:02:44 ---> a0abe1a00d23 20:02:44 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 20:02:44 ---> ef8f75ba5a87 20:02:44 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 20:02:44 ---> Running in af64bda25df1 20:02:44 Removing intermediate container af64bda25df1 20:02:44 ---> 2bf38acdbb20 20:02:44 Step 13/15 : LABEL arch=amd64 20:02:44 ---> Running in 1d9e8995119e 20:02:44 ---> Running in 2cdb02109da5 20:02:44 Removing intermediate container 1d9e8995119e 20:02:44 ---> 17eea1a03cff 20:02:44 Step 14/15 : LABEL git_sha=f2270728e824aee143bf465ae2c8f9a2bc1cbe22 20:02:45 ---> Running in c3039c399c42 20:02:45 Removing intermediate container c3039c399c42 20:02:45 ---> ddf3fa4e7517 20:02:45 Step 15/15 : LABEL version=0.0.0 20:02:45 ---> Running in 10fa5c5a6cda 20:02:45 + CPPCHECK=false 20:02:45 + DOCGEN=false 20:02:45 + TOMLVER=SDK-0.2 20:02:45 + CUTILVER=1.0.4 20:02:45 + '[' 0 -gt 0 ] 20:02:45 + readlink -f ./scripts/build.sh 20:02:45 + dirname /tmp/sdk/scripts/build.sh 20:02:45 + dirname /tmp/sdk/scripts 20:02:45 + ROOT=/tmp/sdk 20:02:45 + cd /tmp/sdk 20:02:45 + '[' '!' -d deps ] 20:02:45 + mkdir deps 20:02:45 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 20:02:45 + tar -C deps -z -x -f - 20:02:45 --2020-06-01 20:02:45-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 20:02:45 Resolving github.com... 140.82.113.4 20:02:45 Connecting to github.com|140.82.113.4|:443... connected. 20:02:45 HTTP request sent, awaiting response... 302 Found 20:02:45 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 20:02:45 --2020-06-01 20:02:45-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 20:02:45 Resolving codeload.github.com... 140.82.114.10 20:02:45 Connecting to codeload.github.com|140.82.114.10|:443... connected. 20:02:45 Removing intermediate container 10fa5c5a6cda 20:02:45 ---> e8f660205a3c 20:02:45 [Warning] One or more build-args [MAKE ARCH] were not consumed 20:02:45 Successfully built e8f660205a3c 20:02:45 Successfully tagged docker-device-sdk-c:latest [Pipeline] } 20:02:45 HTTP request sent, awaiting response... 200 OK 20:02:45 Length: unspecified [application/x-gzip] 20:02:45 Saving to: 'STDOUT' 20:02:45  20:02:45 0K .......... ...... 1.03M=0.02s 20:02:45 20:02:45 2020-06-01 20:02:45 (1.03 MB/s) - written to stdout [16451] 20:02:45 20:02:45 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 20:02:45 + + tarwget -C -O deps - -z https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz -x 20:02:45 -f - 20:02:45 --2020-06-01 20:02:45-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz 20:02:45 Resolving github.com... 140.82.114.3 20:02:45 Connecting to github.com|140.82.114.3|:443... connected. [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 20:02:45 HTTP request sent, awaiting response... 302 Found 20:02:45 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] 20:02:45 --2020-06-01 20:02:45-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 20:02:45 Resolving codeload.github.com... 140.82.112.9 20:02:45 Connecting to codeload.github.com|140.82.112.9|:443... connected. 20:02:45 HTTP request sent, awaiting response... 200 OK 20:02:45 Length: unspecified [application/x-gzip] 20:02:45 Saving to: 'STDOUT' 20:02:45  20:02:45 0K .......... .......... .......... .......... .......... 1.60M 20:02:45 50K .......... .......... .......... .......... .......... 3.10M 20:02:45 100K .......... .......... .......... .......... .......... 4.59M 20:02:45 150K ........ 3.98M=0.06s 20:02:45 20:02:45 2020-06-01 20:02:45 (2.62 MB/s) - written to stdout [162267] 20:02:45 20:02:45 + mkdir -p src/c/iot 20:02:45 + 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 20:02:45 + mkdir -p include/iot 20:02:45 + 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 20:02:45 + mkdir -p include/iot/os 20:02:45 + 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 20:02:45 + mkdir -p /tmp/sdk/build/release 20:02:45 + cd /tmp/sdk/build/release 20:02:45 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage 20:02:46 -- The C compiler identification is GNU 8.3.0 [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage 20:02:46 -- Check for working C compiler: /usr/bin/cc 20:02:46 -- Check for working C compiler: /usr/bin/cc -- works [Pipeline] } [Pipeline] // withEnv [Pipeline] } 20:02:46 -- Detecting C compiler ABI info 20:02:46 -- Detecting C compiler ABI info - done [Pipeline] // withEnv [Pipeline] } 20:02:47 -- Detecting C compile features [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } 20:02:47 -- Detecting C compile features - done 20:02:47 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 20:02:47 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 20:02:47 -- Found LIBYAML: /usr/lib/libyaml.so 20:02:47 -- Found LIBUUID: /usr/lib/libuuid.so 20:02:47 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 20:02:47 -- C SDK 0.0.0 for Linux 20:02:47 -- Performing Test CSDK_HAVE_ATOMIC [Pipeline] // stage [Pipeline] } 20:02:47 -- Performing Test CSDK_HAVE_ATOMIC - Success 20:02:47 -- Found Curses: /usr/lib/libcurses.so 20:02:48 -- Configuring done 20:02:48 -- Generating done 20:02:48 -- Build files have been written to: /tmp/sdk/build/release 20:02:48 + make 20:02:48 + tee release.log 20:02:48 Scanning dependencies of target csdk 20:02:48 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 20:02:49 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 20:02:49 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 20:02:51 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 20:02:51 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 20:02:52 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 20:02:53 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 20:02:55 [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 20:02:55 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 20:02:55 [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 20:02:56 [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 20:02:56 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 20:02:56 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 20:02:57 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 20:03:00 [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 20:03:00 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 20:03:00 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 20:03:01 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 20:03:03 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 20:03:03 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 20:03:03 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 20:03:04 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 20:03:04 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 20:03:05 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 20:03:05 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 20:03:06 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 20:03:06 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 20:03:06 [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o 20:03:07 [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 20:03:08 [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 20:03:08 [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 20:03:12 [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 20:03:12 [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 20:03:13 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 20:03:13 [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 20:03:15 [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o 20:03:17 [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 20:03:20 [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 20:03:20 [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 20:03:22 [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 20:03:22 [ 65%] Linking C shared library libcsdk.so 20:03:22 [ 65%] Built target csdk 20:03:22 Scanning dependencies of target template 20:03:22 [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 20:03:23 [ 68%] Linking C executable template 20:03:23 [ 68%] Built target template 20:03:23 Scanning dependencies of target device-counter 20:03:23 [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 20:03:23 [ 71%] Linking C executable device-counter 20:03:24 [ 71%] Built target device-counter 20:03:24 Scanning dependencies of target device-random 20:03:24 [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 20:03:24 [ 74%] Linking C executable device-random 20:03:24 [ 74%] Built target device-random 20:03:24 Scanning dependencies of target device-gyro 20:03:24 [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 20:03:25 [ 77%] Linking C executable device-gyro 20:03:25 [ 77%] Built target device-gyro 20:03:25 Scanning dependencies of target template-discovery 20:03:25 [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 20:03:26 [ 80%] Linking C executable template-discovery 20:03:26 [ 80%] Built target template-discovery 20:03:26 Scanning dependencies of target device-terminal 20:03:26 [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 20:03:26 [ 84%] Linking C executable device-terminal 20:03:26 [ 84%] Built target device-terminal 20:03:26 Scanning dependencies of target template2 20:03:27 [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o 20:03:27 [ 87%] Linking C executable template2 20:03:27 [ 87%] Built target template2 20:03:27 Scanning dependencies of target device-counterv2 20:03:27 [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o 20:03:28 [ 90%] Linking C executable device-counterv2 20:03:28 [ 90%] Built target device-counterv2 20:03:28 Scanning dependencies of target device-gyrov2 20:03:28 [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o 20:03:28 [ 93%] Linking C executable device-gyrov2 20:03:29 [ 93%] Built target device-gyrov2 20:03:29 Scanning dependencies of target device-randomv2 20:03:29 [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o 20:03:29 [ 96%] Linking C executable device-randomv2 20:03:30 [ 96%] Built target device-randomv2 20:03:30 Scanning dependencies of target device-terminalv2 20:03:30 [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o 20:03:30 [100%] Linking C executable device-terminalv2 20:03:30 [100%] Built target device-terminalv2 20:03:30 + make package 20:03:30 + tee -a release.log 20:03:30 [ 65%] Built target csdk 20:03:30 [ 68%] Built target template 20:03:30 [ 71%] Built target device-counter 20:03:30 [ 74%] Built target device-random 20:03:31 [ 77%] Built target device-gyro 20:03:31 [ 80%] Built target template-discovery 20:03:31 [ 84%] Built target device-terminal 20:03:31 [ 87%] Built target template2 20:03:31 [ 90%] Built target device-counterv2 20:03:31 [ 93%] Built target device-gyrov2 20:03:31 [ 96%] Built target device-randomv2 20:03:31 [100%] Built target device-terminalv2 20:03:31 Run CPack packaging tool... 20:03:31 CPack: Create package using TGZ 20:03:31 CPack: Install projects 20:03:31 CPack: - Run preinstall target for: Csdk 20:03:32 CPack: - Install project: Csdk 20:03:32 CPack: Create package 20:03:32 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 20:03:32 + '[' false '=' true ] 20:03:32 + '[' false '=' true ] 20:03:32 + mkdir -p /tmp/sdk/build/debug 20:03:32 + cd /tmp/sdk/build/debug 20:03:32 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 20:03:32 -- The C compiler identification is GNU 8.3.0 20:03:32 -- Check for working C compiler: /usr/bin/cc 20:03:32 -- Check for working C compiler: /usr/bin/cc -- works 20:03:32 -- Detecting C compiler ABI info 20:03:33 -- Detecting C compiler ABI info - done 20:03:33 -- Detecting C compile features 20:03:33 -- Detecting C compile features - done 20:03:33 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 20:03:33 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 20:03:33 -- Found LIBYAML: /usr/lib/libyaml.so 20:03:33 -- Found LIBUUID: /usr/lib/libuuid.so 20:03:33 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 20:03:33 -- C SDK 0.0.0 for Linux 20:03:33 -- Performing Test CSDK_HAVE_ATOMIC 20:03:34 -- Performing Test CSDK_HAVE_ATOMIC - Success 20:03:34 -- Found Curses: /usr/lib/libcurses.so 20:03:34 -- Configuring done 20:03:34 -- Generating done 20:03:34 -- Build files have been written to: /tmp/sdk/build/debug 20:03:34 + + maketee 20:03:34 debug.log 20:03:34 Scanning dependencies of target csdk 20:03:34 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 20:03:35 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 20:03:35 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 20:03:35 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 20:03:36 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 20:03:36 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 20:03:36 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 20:03:37 [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 20:03:37 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 20:03:37 [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 20:03:37 [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 20:03:38 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 20:03:38 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 20:03:38 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 20:03:39 [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 20:03:39 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 20:03:39 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 20:03:40 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 20:03:40 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 20:03:40 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 20:03:40 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 20:03:41 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 20:03:41 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 20:03:41 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 20:03:41 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 20:03:42 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 20:03:42 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 20:03:42 [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o 20:03:42 [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 20:03:43 [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 20:03:43 [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 20:03:44 [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 20:03:44 [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 20:03:44 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 20:03:45 [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 20:03:46 [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o 20:03:46 [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 20:03:47 [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 20:03:47 [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 20:03:47 [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 20:03:47 [ 65%] Linking C shared library libcsdk.so 20:03:48 [ 65%] Built target csdk 20:03:48 Scanning dependencies of target template 20:03:48 [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 20:03:48 [ 68%] Linking C executable template 20:03:48 [ 68%] Built target template 20:03:48 Scanning dependencies of target device-counter 20:03:48 [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 20:03:48 [ 71%] Linking C executable device-counter 20:03:49 [ 71%] Built target device-counter 20:03:49 Scanning dependencies of target device-random 20:03:49 [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 20:03:49 [ 74%] Linking C executable device-random 20:03:49 [ 74%] Built target device-random 20:03:49 Scanning dependencies of target device-gyro 20:03:49 [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 20:03:50 [ 77%] Linking C executable device-gyro 20:03:50 [ 77%] Built target device-gyro 20:03:50 Scanning dependencies of target template-discovery 20:03:50 [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 20:03:50 [ 80%] Linking C executable template-discovery 20:03:50 [ 80%] Built target template-discovery 20:03:50 Scanning dependencies of target device-terminal 20:03:50 [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 20:03:51 [ 84%] Linking C executable device-terminal 20:03:51 [ 84%] Built target device-terminal 20:03:51 Scanning dependencies of target template2 20:03:51 [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o 20:03:51 [ 87%] Linking C executable template2 20:03:51 [ 87%] Built target template2 20:03:51 Scanning dependencies of target device-counterv2 20:03:51 [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o 20:03:52 [ 90%] Linking C executable device-counterv2 20:03:52 [ 90%] Built target device-counterv2 20:03:52 Scanning dependencies of target device-gyrov2 20:03:52 [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o 20:03:52 [ 93%] Linking C executable device-gyrov2 20:03:52 [ 93%] Built target device-gyrov2 20:03:52 Scanning dependencies of target device-randomv2 20:03:52 [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o 20:03:53 [ 96%] Linking C executable device-randomv2 20:03:53 [ 96%] Built target device-randomv2 20:03:53 Scanning dependencies of target device-terminalv2 20:03:53 [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o 20:03:53 [100%] Linking C executable device-terminalv2 20:03:53 [100%] Built target device-terminalv2 20:03:53 make: Entering directory '/tmp/sdk/build/release' 20:03:53 make[1]: Entering directory '/tmp/sdk/build/release' 20:03:53 make[2]: Entering directory '/tmp/sdk/build/release' 20:03:53 Scanning dependencies of target csdk 20:03:54 make[2]: Leaving directory '/tmp/sdk/build/release' 20:03:54 make[2]: Entering directory '/tmp/sdk/build/release' 20:03:54 [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o 20:03:56 [ 3%] Linking C shared library libcsdk.so 20:03:56 make[2]: Leaving directory '/tmp/sdk/build/release' 20:03:56 [ 65%] Built target csdk 20:03:56 make[2]: Entering directory '/tmp/sdk/build/release' 20:03:56 make[2]: Leaving directory '/tmp/sdk/build/release' 20:03:56 make[2]: Entering directory '/tmp/sdk/build/release' 20:03:56 [ 66%] Linking C executable template 20:03:56 make[2]: Leaving directory '/tmp/sdk/build/release' 20:03:56 [ 68%] Built target template 20:03:56 make[2]: Entering directory '/tmp/sdk/build/release' 20:03:56 make[2]: Leaving directory '/tmp/sdk/build/release' 20:03:56 make[2]: Entering directory '/tmp/sdk/build/release' 20:03:56 [ 69%] Linking C executable device-counter 20:03:56 make[2]: Leaving directory '/tmp/sdk/build/release' 20:03:56 [ 71%] Built target device-counter 20:03:56 make[2]: Entering directory '/tmp/sdk/build/release' 20:03:56 make[2]: Leaving directory '/tmp/sdk/build/release' 20:03:56 make[2]: Entering directory '/tmp/sdk/build/release' 20:03:56 [ 73%] Linking C executable device-random 20:03:56 make[2]: Leaving directory '/tmp/sdk/build/release' 20:03:56 [ 74%] Built target device-random 20:03:56 make[2]: Entering directory '/tmp/sdk/build/release' 20:03:56 make[2]: Leaving directory '/tmp/sdk/build/release' 20:03:56 make[2]: Entering directory '/tmp/sdk/build/release' 20:03:56 [ 76%] Linking C executable device-gyro 20:03:56 make[2]: Leaving directory '/tmp/sdk/build/release' 20:03:56 [ 77%] Built target device-gyro 20:03:56 make[2]: Entering directory '/tmp/sdk/build/release' 20:03:56 make[2]: Leaving directory '/tmp/sdk/build/release' 20:03:56 make[2]: Entering directory '/tmp/sdk/build/release' 20:03:56 [ 79%] Linking C executable template-discovery 20:03:57 make[2]: Leaving directory '/tmp/sdk/build/release' 20:03:57 [ 80%] Built target template-discovery 20:03:57 make[2]: Entering directory '/tmp/sdk/build/release' 20:03:57 make[2]: Leaving directory '/tmp/sdk/build/release' 20:03:57 make[2]: Entering directory '/tmp/sdk/build/release' 20:03:57 [ 82%] Linking C executable device-terminal 20:03:57 make[2]: Leaving directory '/tmp/sdk/build/release' 20:03:57 [ 84%] Built target device-terminal 20:03:57 make[2]: Entering directory '/tmp/sdk/build/release' 20:03:57 make[2]: Leaving directory '/tmp/sdk/build/release' 20:03:57 make[2]: Entering directory '/tmp/sdk/build/release' 20:03:57 [ 85%] Linking C executable template2 20:03:57 make[2]: Leaving directory '/tmp/sdk/build/release' 20:03:57 [ 87%] Built target template2 20:03:57 make[2]: Entering directory '/tmp/sdk/build/release' 20:03:57 make[2]: Leaving directory '/tmp/sdk/build/release' 20:03:57 make[2]: Entering directory '/tmp/sdk/build/release' 20:03:57 [ 88%] Linking C executable device-counterv2 20:03:58 make[2]: Leaving directory '/tmp/sdk/build/release' 20:03:58 [ 90%] Built target device-counterv2 20:03:58 make[2]: Entering directory '/tmp/sdk/build/release' 20:03:58 make[2]: Leaving directory '/tmp/sdk/build/release' 20:03:58 make[2]: Entering directory '/tmp/sdk/build/release' 20:03:58 [ 92%] Linking C executable device-gyrov2 20:03:58 make[2]: Leaving directory '/tmp/sdk/build/release' 20:03:58 [ 93%] Built target device-gyrov2 20:03:58 make[2]: Entering directory '/tmp/sdk/build/release' 20:03:58 make[2]: Leaving directory '/tmp/sdk/build/release' 20:03:58 make[2]: Entering directory '/tmp/sdk/build/release' 20:03:58 [ 95%] Linking C executable device-randomv2 20:03:58 make[2]: Leaving directory '/tmp/sdk/build/release' 20:03:58 [ 96%] Built target device-randomv2 20:03:58 make[2]: Entering directory '/tmp/sdk/build/release' 20:03:58 make[2]: Leaving directory '/tmp/sdk/build/release' 20:03:58 make[2]: Entering directory '/tmp/sdk/build/release' 20:03:58 [ 98%] Linking C executable device-terminalv2 20:03:58 make[2]: Leaving directory '/tmp/sdk/build/release' 20:03:58 [100%] Built target device-terminalv2 20:03:58 make[1]: Leaving directory '/tmp/sdk/build/release' 20:03:58 Install the project... 20:03:58 -- Install configuration: "Release" 20:03:58 -- Installing: /usr/local/lib/libcsdk.so 20:03:58 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 20:03:58 -- Up-to-date: /usr/local/include 20:03:58 -- Installing: /usr/local/include/devsdk 20:03:58 -- Installing: /usr/local/include/devsdk/devsdk-base.h 20:03:58 -- Installing: /usr/local/include/devsdk/devsdk.h 20:03:58 -- Installing: /usr/local/include/edgex 20:03:58 -- Installing: /usr/local/include/edgex/devices.h 20:03:58 -- Installing: /usr/local/include/edgex/edgex.h 20:03:58 -- Installing: /usr/local/include/edgex/device-mgmt.h 20:03:58 -- Installing: /usr/local/include/edgex/profiles.h 20:03:58 -- Installing: /usr/local/include/edgex/edgex-base.h 20:03:58 -- Installing: /usr/local/include/edgex/error.h 20:03:58 -- Installing: /usr/local/include/edgex/registry.h 20:03:58 -- Installing: /usr/local/include/edgex/rest-server.h 20:03:58 -- Installing: /usr/local/include/edgex/os.h 20:03:58 -- Installing: /usr/local/include/edgex/devsdk.h 20:03:58 -- Installing: /usr/local/include/edgex/eventgen.h 20:03:58 -- Installing: /usr/local/include/edgex/edgex-logging.h 20:03:58 -- Installing: /usr/local/include/edgex/csdk-defs.h 20:03:58 -- Installing: /usr/local/include/iot 20:03:58 -- Installing: /usr/local/include/iot/hash.h 20:03:58 -- Installing: /usr/local/include/iot/thread.h 20:03:58 -- Installing: /usr/local/include/iot/json.h 20:03:58 -- Installing: /usr/local/include/iot/os 20:03:58 -- Installing: /usr/local/include/iot/os/zephyr.h 20:03:58 -- Installing: /usr/local/include/iot/os/linux.h 20:03:58 -- Installing: /usr/local/include/iot/typecode.h 20:03:58 -- Installing: /usr/local/include/iot/base64.h 20:03:58 -- Installing: /usr/local/include/iot/container.h 20:03:58 -- Installing: /usr/local/include/iot/data.h 20:03:58 -- Installing: /usr/local/include/iot/threadpool.h 20:03:58 -- Installing: /usr/local/include/iot/scheduler.h 20:03:58 -- Installing: /usr/local/include/iot/component.h 20:03:58 -- Installing: /usr/local/include/iot/os.h 20:03:58 -- Installing: /usr/local/include/iot/logger.h 20:03:58 -- Installing: /usr/local/include/iot/time.h 20:03:58 -- Installing: /usr/local/include/iot/iot.h 20:03:58 -- Installing: /usr/local/share/device-sdk-c/LICENSE 20:03:58 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 20:03:58 make: Leaving directory '/tmp/sdk/build/release' 20:04:01 Removing intermediate container 2cdb02109da5 20:04:01 ---> 878453ac575e 20:04:01 Step 14/21 : FROM alpine:3.9 20:04:01 3.9: Pulling from library/alpine 20:04:01 941f399634ec: Pulling fs layer 20:04:02 941f399634ec: Verifying Checksum 20:04:02 941f399634ec: Download complete 20:04:02 941f399634ec: Pull complete 20:04:02 Digest: sha256:414e0518bb9228d35e4cd5165567fb91d26c6a214e9c95899e1e056fcd349011 20:04:02 Status: Downloaded newer image for alpine:3.9 20:04:02 ---> 9afdd4a290bf 20:04:02 Step 15/21 : MAINTAINER IOTech 20:04:02 ---> Running in ad36208d8524 20:04:03 Removing intermediate container ad36208d8524 20:04:03 ---> af008be2d3f4 20:04:03 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 20:04:03 ---> Running in ebd40bd3daec 20:04:04 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 20:04:04 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 20:04:04 (1/48) Installing binutils (2.31.1-r2) 20:04:05 (2/48) Installing libmagic (5.36-r1) 20:04:05 (3/48) Installing file (5.36-r1) 20:04:05 (4/48) Installing gmp (6.1.2-r1) 20:04:05 (5/48) Installing isl (0.18-r0) 20:04:05 (6/48) Installing libgomp (8.3.0-r0) 20:04:05 (7/48) Installing libatomic (8.3.0-r0) 20:04:05 (8/48) Installing libgcc (8.3.0-r0) 20:04:05 (9/48) Installing mpfr3 (3.1.5-r1) 20:04:05 (10/48) Installing mpc1 (1.0.3-r1) 20:04:05 (11/48) Installing libstdc++ (8.3.0-r0) 20:04:05 (12/48) Installing gcc (8.3.0-r0) 20:04:06 (13/48) Installing musl-dev (1.1.20-r5) 20:04:07 (14/48) Installing libc-dev (0.7.1-r0) 20:04:07 (15/48) Installing g++ (8.3.0-r0) 20:04:08 (16/48) Installing make (4.2.1-r2) 20:04:08 (17/48) Installing fortify-headers (1.0-r0) 20:04:08 (18/48) Installing build-base (0.5-r1) 20:04:08 (19/48) Installing libattr (2.4.47-r7) 20:04:08 (20/48) Installing libacl (2.2.52-r5) 20:04:08 (21/48) Installing libbz2 (1.0.6-r7) 20:04:08 (22/48) Installing expat (2.2.8-r0) 20:04:08 (23/48) Installing lz4-libs (1.8.3-r2) 20:04:08 (24/48) Installing xz-libs (5.2.4-r0) 20:04:08 (25/48) Installing libarchive (3.3.3-r2) 20:04:08 (26/48) Installing ca-certificates (20191127-r0) 20:04:08 (27/48) Installing nghttp2-libs (1.35.1-r1) 20:04:08 (28/48) Installing libssh2 (1.9.0-r1) 20:04:08 (29/48) Installing libcurl (7.64.0-r3) 20:04:08 (30/48) Installing ncurses-terminfo-base (6.1_p20190105-r0) 20:04:08 (31/48) Installing ncurses-terminfo (6.1_p20190105-r0) 20:04:09 (32/48) Installing ncurses-libs (6.1_p20190105-r0) 20:04:09 (33/48) Installing rhash-libs (1.3.6-r2) 20:04:09 (34/48) Installing libuv (1.23.2-r0) 20:04:09 (35/48) Installing cmake (3.13.0-r0) 20:04:11 (36/48) Installing curl (7.64.0-r3) 20:04:11 (37/48) Installing pcre2 (10.32-r1) 20:04:11 (38/48) Installing git (2.20.4-r0) 20:04:11 (39/48) Installing nettle (3.4.1-r0) 20:04:11 (40/48) Installing libffi (3.2.1-r6) 20:04:11 (41/48) Installing p11-kit (0.23.14-r0) 20:04:11 (42/48) Installing libtasn1 (4.14-r0) 20:04:11 (43/48) Installing libunistring (0.9.10-r0) 20:04:11 (44/48) Installing gnutls (3.6.7-r1) 20:04:11 (45/48) Installing libmicrohttpd (0.9.62-r0) 20:04:11 (46/48) Installing libuuid (2.33-r0) 20:04:11 (47/48) Installing wget (1.20.3-r0) 20:04:11 (48/48) Installing yaml (0.2.1-r0) 20:04:11 Executing busybox-1.29.3-r10.trigger 20:04:11 Executing ca-certificates-20191127-r0.trigger 20:04:12 OK: 219 MiB in 62 packages 20:04:24 Removing intermediate container ebd40bd3daec 20:04:24 ---> 9255094e8906 20:04:24 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 20:04:25 ---> f2a3c41bc611 20:04:25 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 20:04:25 ---> ed866ae5a097 20:04:25 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 20:04:26 ---> b148c76fa19d 20:04:26 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 20:04:26 ---> e99fcaa6e317 20:04:26 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 20:04:27 ---> 2dda44077d10 20:04:27 Successfully built 2dda44077d10 20:04:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:04:28 + docker inspect -f . ci-base-image-arm64 20:04:28 . [Pipeline] withDockerContainer 20:04:29 prd-ubuntu18.04-docker-arm64-4c-16g-1467 does not seem to be running inside a container 20:04:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:04:30 $ docker top 4d8d81175f5198d0a176147a70387a4548aefdcc4c6e27e07c0ac22d2b548867 -eo pid,comm [Pipeline] { [Pipeline] sh 20:04:31 + make test 20:04:31 echo "make test" 20:04:31 make test [Pipeline] } 20:04:31 $ docker stop --time=1 4d8d81175f5198d0a176147a70387a4548aefdcc4c6e27e07c0ac22d2b548867 20:04:33 $ docker rm -f 4d8d81175f5198d0a176147a70387a4548aefdcc4c6e27e07c0ac22d2b548867 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:04:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:04:35 + ls -al . 20:04:35 total 192 20:04:35 drwxrwxr-x 8 jenkins jenkins 4096 Jun 1 20:01 . 20:04:35 drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 20:01 .. 20:04:35 drwxrwxr-x 8 jenkins jenkins 4096 Jun 1 20:01 .git 20:04:35 -rw-rw-r-- 1 jenkins jenkins 176 Jun 1 20:01 .gitignore 20:04:35 drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 20:01 .semver 20:04:35 -rw-rw-r-- 1 jenkins jenkins 3104 Jun 1 20:01 Attribution.txt 20:04:35 -rw-rw-r-- 1 jenkins jenkins 5393 Jun 1 20:01 CHANGES 20:04:35 -rw-rw-r-- 1 jenkins jenkins 108574 Jun 1 20:01 Doxyfile 20:04:35 -rw-rw-r-- 1 jenkins jenkins 792 Jun 1 20:01 Jenkinsfile 20:04:35 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 1 20:01 LICENSE 20:04:35 -rw-rw-r-- 1 jenkins jenkins 448 Jun 1 20:01 Makefile 20:04:35 -rw-rw-r-- 1 jenkins jenkins 1849 Jun 1 20:01 README.md 20:04:35 -rw-rw-r-- 1 jenkins jenkins 5229 Jun 1 20:01 README.v2.md 20:04:35 -rw-rw-r-- 1 jenkins jenkins 5 Jun 1 19:59 VERSION 20:04:35 drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 20:01 docs 20:04:35 drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 20:01 include 20:04:35 drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 20:01 scripts 20:04:35 drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 20:01 src [Pipeline] isUnix [Pipeline] sh 20:04:35 + docker build -t docker-device-sdk-c-arm64 -f scripts/Dockerfile.alpine-3.9 --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=f2270728e824aee143bf465ae2c8f9a2bc1cbe22 --label arch=arm64 --label version=0.0.0 . 20:04:36 Sending build context to Docker daemon 3.153MB 20:04:36 Step 1/15 : ARG BASE=alpine:3.9 20:04:36 Step 2/15 : FROM ${BASE} 20:04:36 ---> 2dda44077d10 20:04:36 Step 3/15 : MAINTAINER IOTech 20:04:36 ---> Running in ab6dcb5308d4 20:04:37 Removing intermediate container ab6dcb5308d4 20:04:37 ---> 79f40cc6291c 20:04:37 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 20:04:37 ---> Running in 4eda149bd103 20:04:38 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 20:04:38 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 20:04:38 (1/21) Installing pkgconf (1.6.0-r0) 20:04:38 (2/21) Installing openssl-dev (1.1.1g-r0) 20:04:39 (3/21) Installing zlib-dev (1.2.11-r1) 20:04:39 (4/21) Installing libssh2-dev (1.9.0-r1) 20:04:39 (5/21) Installing nghttp2-dev (1.35.1-r1) 20:04:39 (6/21) Installing curl-dev (7.64.0-r3) 20:04:39 (7/21) Installing gnutls-c++ (3.6.7-r1) 20:04:39 (8/21) Installing libgmpxx (6.1.2-r1) 20:04:39 (9/21) Installing gmp-dev (6.1.2-r1) 20:04:39 (10/21) Installing nettle-dev (3.4.1-r0) 20:04:43 (11/21) Installing libtasn1-dev (4.14-r0) 20:04:43 (12/21) Installing p11-kit-dev (0.23.14-r0) 20:04:43 (13/21) Installing gnutls-dev (3.6.7-r1) 20:04:43 (14/21) Installing libmicrohttpd-dev (0.9.62-r0) 20:04:43 (15/21) Installing ncurses-dev (6.1_p20190105-r0) 20:04:43 (16/21) Installing libblkid (2.33-r0) 20:04:43 (17/21) Installing libfdisk (2.33-r0) 20:04:43 (18/21) Installing libmount (2.33-r0) 20:04:43 (19/21) Installing libsmartcols (2.33-r0) 20:04:43 (20/21) Installing util-linux-dev (2.33-r0) 20:04:43 (21/21) Installing yaml-dev (0.2.1-r0) 20:04:43 Executing busybox-1.29.3-r10.trigger 20:04:43 OK: 279 MiB in 83 packages 20:04:47 Removing intermediate container 4eda149bd103 20:04:47 ---> 1f3f34d2c5db 20:04:47 Step 5/15 : COPY VERSION /edgex-c-sdk/ 20:04:47 ---> 624c7cb79843 20:04:47 Step 6/15 : COPY src /edgex-c-sdk/src/ 20:04:48 ---> 3757f56e4350 20:04:48 Step 7/15 : COPY include /edgex-c-sdk/include/ 20:04:48 ---> 3f65a8b6fb8f 20:04:48 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 20:04:49 ---> ba42ff669436 20:04:49 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 20:04:49 ---> 0523a9d66c72 20:04:49 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 20:04:50 ---> 19bf3e383ee3 20:04:50 Step 11/15 : WORKDIR /edgex-c-sdk 20:04:50 ---> Running in f23b5f8d22c9 20:04:50 Removing intermediate container f23b5f8d22c9 20:04:50 ---> 0ba2c5edbb88 20:04:50 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 20:04:50 ---> Running in 96b9e2cd4f0a 20:04:51 Removing intermediate container 96b9e2cd4f0a 20:04:51 ---> 39e9a5b1e16c 20:04:51 Step 13/15 : LABEL arch=arm64 20:04:51 ---> Running in 092b7619001b 20:04:51 Removing intermediate container 092b7619001b 20:04:51 ---> 82832251e3a9 20:04:51 Step 14/15 : LABEL git_sha=f2270728e824aee143bf465ae2c8f9a2bc1cbe22 20:04:51 ---> Running in fbf6358ca904 20:04:52 Removing intermediate container fbf6358ca904 20:04:52 ---> c675a6c1c7d9 20:04:52 Step 15/15 : LABEL version=0.0.0 20:04:52 ---> Running in 8e6db851954e 20:04:52 Removing intermediate container 8e6db851954e 20:04:52 ---> 612ae2e45b75 20:04:52 [Warning] One or more build-args [ARCH MAKE] were not consumed 20:04:52 Successfully built 612ae2e45b75 20:04:52 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 20:04:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:04:56 ---> package-listing.sh 20:04:56 ++ facter osfamily 20:04:56 ++ tr '[:upper:]' '[:lower:]' 20:04:56 + OS_FAMILY=redhat 20:04:56 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-263 20:04:56 + START_PACKAGES=/tmp/packages_start.txt 20:04:56 + END_PACKAGES=/tmp/packages_end.txt 20:04:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:04:56 + PACKAGES=/tmp/packages_start.txt 20:04:56 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-263 ']' 20:04:56 + PACKAGES=/tmp/packages_end.txt 20:04:56 + case "${OS_FAMILY}" in 20:04:56 + rpm -qa 20:04:56 + sort 20:05:01 + '[' -f /tmp/packages_start.txt ']' 20:05:01 + '[' -f /tmp/packages_end.txt ']' 20:05:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:05:01 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-263 ']' 20:05:01 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-263/archives/ 20:05:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-263/archives/ [Pipeline] isUnix [Pipeline] sh 20:05:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:05:03 20:05:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 20:05:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:05:04 alpine: Pulling from edgex-lftools-log-publisher 20:05:04 c9b1b535fdd9: Pulling fs layer 20:05:04 2cc5ad85d9ab: Pulling fs layer 20:05:04 756a868c4378: Pulling fs layer 20:05:04 444b2fc9a129: Pulling fs layer 20:05:04 ea15f1150254: Pulling fs layer 20:05:04 41b27a9f41bf: Pulling fs layer 20:05:04 28c525ee5125: Pulling fs layer 20:05:04 094b1ea09ed8: Pulling fs layer 20:05:04 138eaada9080: Pulling fs layer 20:05:04 0622d0fa9048: Pulling fs layer 20:05:04 41b27a9f41bf: Waiting 20:05:04 28c525ee5125: Waiting 20:05:04 094b1ea09ed8: Waiting 20:05:04 138eaada9080: Waiting 20:05:04 0622d0fa9048: Waiting 20:05:04 444b2fc9a129: Waiting 20:05:04 ea15f1150254: Waiting 20:05:04 2cc5ad85d9ab: Verifying Checksum 20:05:04 2cc5ad85d9ab: Download complete 20:05:04 444b2fc9a129: Verifying Checksum 20:05:04 444b2fc9a129: Download complete 20:05:04 c9b1b535fdd9: Verifying Checksum 20:05:04 c9b1b535fdd9: Download complete 20:05:04 c9b1b535fdd9: Pull complete 20:05:04 ea15f1150254: Verifying Checksum 20:05:04 ea15f1150254: Download complete 20:05:04 28c525ee5125: Verifying Checksum 20:05:04 28c525ee5125: Download complete 20:05:04 2cc5ad85d9ab: Pull complete 20:05:05 756a868c4378: Verifying Checksum 20:05:05 756a868c4378: Download complete 20:05:05 138eaada9080: Verifying Checksum 20:05:05 138eaada9080: Download complete 20:05:05 0622d0fa9048: Verifying Checksum 20:05:05 0622d0fa9048: Download complete 20:05:05 094b1ea09ed8: Verifying Checksum 20:05:05 094b1ea09ed8: Download complete 20:05:06 41b27a9f41bf: Verifying Checksum 20:05:06 41b27a9f41bf: Download complete 20:05:08 756a868c4378: Pull complete 20:05:08 444b2fc9a129: Pull complete 20:05:08 ea15f1150254: Pull complete 20:05:15 41b27a9f41bf: Pull complete 20:05:15 28c525ee5125: Pull complete 20:05:17 094b1ea09ed8: Pull complete 20:05:18 138eaada9080: Pull complete 20:05:18 0622d0fa9048: Pull complete 20:05:18 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 20:05:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 20:05:18 prd-centos7-docker-4c-2g-1466 does not seem to be running inside a container 20:05:18 $ 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-263 -v /w/workspace/edgexfoundry_device-sdk-c_PR-263:/w/workspace/edgexfoundry_device-sdk-c_PR-263:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-263@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-263@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 20:05:19 $ docker top db8ba5bc56419b5aedd3504a20e887ab0e44898c0374102345928161f44ecef7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:05:20 provisioning config files... 20:05:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-263@tmp/config6074992699943048737tmp [Pipeline] { [Pipeline] echo 20:05:20 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:05:21 ---> create-netrc.sh [Pipeline] echo 20:05:21 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:05:22 ---> logs-deploy.sh 20:05:22 + ARCHIVE_ARTIFACTS= 20:05:22 + LOGS_SERVER=https://logs.edgexfoundry.org 20:05:22 + '[' https://logs.edgexfoundry.org == None ']' 20:05:22 + NEXUS_URL=https://nexus.edgexfoundry.org 20:05:22 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-263/1 20:05:22 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-263/1/ 20:05:22 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-263/1 /w/workspace/edgexfoundry_device-sdk-c_PR-263 20:05:23 Archives upload complete. 20:05:23 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-263/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-263/1/ 20:05:25 ---> uname -a: 20:05:25 Linux db8ba5bc5641 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux 20:05:25 20:05:25 20:05:25 ---> lscpu: 20:05:25 Architecture: x86_64 20:05:25 CPU op-mode(s): 32-bit, 64-bit 20:05:25 Byte Order: Little Endian 20:05:25 Address sizes: 40 bits physical, 48 bits virtual 20:05:25 CPU(s): 4 20:05:25 On-line CPU(s) list: 0-3 20:05:25 Thread(s) per core: 1 20:05:25 Core(s) per socket: 1 20:05:25 Socket(s): 4 20:05:25 NUMA node(s): 1 20:05:25 Vendor ID: GenuineIntel 20:05:25 CPU family: 6 20:05:25 Model: 44 20:05:25 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 20:05:25 Stepping: 1 20:05:25 CPU MHz: 2933.438 20:05:25 BogoMIPS: 5866.87 20:05:25 Virtualization: VT-x 20:05:25 Hypervisor vendor: KVM 20:05:25 Virtualization type: full 20:05:25 L1d cache: 128 KiB 20:05:25 L1i cache: 128 KiB 20:05:25 L2 cache: 16 MiB 20:05:25 L3 cache: 64 MiB 20:05:25 NUMA node0 CPU(s): 0-3 20:05:25 Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes 20:05:25 Vulnerability Meltdown: Mitigation; PTI 20:05:25 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:05:25 Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization 20:05:25 Vulnerability Spectre v2: Mitigation; Full retpoline 20:05:25 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 20:05:25 20:05:25 20:05:25 ---> nproc: 20:05:25 4 20:05:25 20:05:25 20:05:25 ---> df -h: 20:05:25 Filesystem Size Used Available Use% Mounted on 20:05:25 overlay 50.0G 6.4G 43.6G 13% / 20:05:25 tmpfs 64.0M 0 64.0M 0% /dev 20:05:25 tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup 20:05:25 shm 64.0M 0 64.0M 0% /dev/shm 20:05:25 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/resolv.conf 20:05:25 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hostname 20:05:25 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hosts 20:05:25 /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/edgexfoundry_device-sdk-c_PR-263 20:05:25 /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/edgexfoundry_device-sdk-c_PR-263@tmp 20:05:25 /dev/vda1 50.0G 6.4G 43.6G 13% /var/log/sa 20:05:25 20:05:25 20:05:25 ---> free -m: 20:05:25 total used free shared buff/cache available 20:05:25 Mem: 1838 603 74 0 1160 1130 20:05:25 Swap: 1023 0 1023 20:05:25 20:05:25 20:05:25 ---> ip addr: 20:05:25 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 20:05:25 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 20:05:25 inet 127.0.0.1/8 scope host lo 20:05:25 valid_lft forever preferred_lft forever 20:05:25 6: eth0@if7: mtu 1458 qdisc noqueue state UP 20:05:25 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 20:05:25 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 20:05:25 valid_lft forever preferred_lft forever 20:05:25 20:05:25 20:05:25 ---> sar -b -r -n DEV: 20:05:25 Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 06/01/20 _x86_64_ (4 CPU) 20:05:25 20:05:25 19:58:13 LINUX RESTART 20:05:25 20:05:25 19:59:01 tps rtps wtps bread/s bwrtn/s 20:05:25 20:00:01 42.13 7.33 34.80 2014.62 2094.47 20:05:25 20:01:02 4.03 0.02 4.01 0.13 122.65 20:05:25 20:02:01 0.46 0.12 0.34 2.17 6.74 20:05:25 20:03:01 0.25 0.00 0.25 0.00 2.96 20:05:25 20:04:01 0.18 0.00 0.18 0.00 2.25 20:05:25 20:05:01 46.30 45.95 0.35 3033.37 5.09 20:05:25 Average: 15.61 8.92 6.68 844.29 373.96 20:05:25 20:05:25 19:59:01 kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 20:05:25 20:00:01 117608 1764696 93.75 2620 1232632 956104 32.62 416208 1182380 8 20:05:25 20:01:02 125304 1757000 93.34 2620 1232640 903260 30.82 413740 1180068 12 20:05:25 20:02:01 110444 1771860 94.13 2620 1232784 901956 30.77 428496 1180144 20 20:05:25 20:03:01 112796 1769508 94.01 2620 1232788 901620 30.76 428228 1178624 20 20:05:25 20:04:01 110852 1771452 94.11 2620 1232792 901884 30.77 429728 1178624 24 20:05:25 20:05:01 90872 1791432 95.17 2620 1253508 903436 30.82 412448 1217648 100 20:05:25 Average: 111313 1770991 94.09 2620 1236191 911377 31.10 421475 1186248 31 20:05:25 20:05:25 19:59:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 20:05:25 20:00:01 eth0 79.67 63.27 456.71 56.99 0.00 0.00 0.00 20:05:25 20:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:05:25 20:00:01 docker0 5.08 3.97 0.73 17.19 0.00 0.00 0.00 20:05:25 20:01:02 eth0 1.18 0.07 0.10 0.01 0.00 0.00 0.00 20:05:25 20:01:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:05:25 20:01:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:05:25 20:02:01 eth0 1.78 1.05 1.30 0.58 0.00 0.00 0.00 20:05:25 20:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:05:25 20:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:05:25 20:03:01 eth0 0.10 0.08 0.01 0.04 0.00 0.00 0.00 20:05:25 20:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:05:25 20:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:05:25 20:04:01 eth0 2.05 1.30 4.25 0.15 0.00 0.00 0.00 20:05:25 20:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:05:25 20:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:05:25 20:05:01 eth0 5.04 3.05 4.99 2.03 0.00 0.00 0.00 20:05:25 20:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:05:25 20:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:05:25 Average: eth0 15.03 11.52 78.23 10.01 0.00 0.00 0.00 20:05:25 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:05:25 Average: docker0 0.85 0.66 0.12 2.88 0.00 0.00 0.00 20:05:25 20:05:25 20:05:25 ---> sar -P ALL: 20:05:25 Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 06/01/20 _x86_64_ (4 CPU) 20:05:25 20:05:25 19:58:13 LINUX RESTART 20:05:25 20:05:25 19:59:01 CPU %user %nice %system %iowait %steal %idle 20:05:25 20:00:01 all 3.17 0.00 1.91 0.77 5.44 88.70 20:05:25 20:00:01 0 3.93 0.00 2.07 2.82 5.76 85.42 20:05:25 20:00:01 1 3.35 0.00 1.62 0.03 5.25 89.74 20:05:25 20:00:01 2 2.61 0.00 1.86 0.20 5.50 89.83 20:05:25 20:00:01 3 2.79 0.00 2.06 0.05 5.27 89.83 20:05:25 20:01:02 all 0.10 0.00 0.08 0.00 0.66 99.16 20:05:25 20:01:02 0 0.13 0.00 0.05 0.00 0.78 99.04 20:05:25 20:01:02 1 0.17 0.00 0.08 0.00 0.73 99.02 20:05:25 20:01:02 2 0.08 0.00 0.15 0.00 0.81 98.96 20:05:25 20:01:02 3 0.03 0.00 0.05 0.00 0.30 99.62 20:05:25 20:02:01 all 0.42 0.00 0.08 0.01 0.50 98.99 20:05:25 20:02:01 0 0.08 0.00 0.07 0.00 0.57 99.27 20:05:25 20:02:01 1 0.22 0.00 0.08 0.00 0.34 99.36 20:05:25 20:02:01 2 1.32 0.00 0.12 0.05 0.73 97.78 20:05:25 20:02:01 3 0.05 0.00 0.05 0.02 0.35 99.53 20:05:25 20:03:01 all 0.08 0.00 0.05 0.00 0.19 99.67 20:05:25 20:03:01 0 0.03 0.00 0.05 0.00 0.22 99.70 20:05:25 20:03:01 1 0.22 0.00 0.05 0.00 0.32 99.42 20:05:25 20:03:01 2 0.05 0.00 0.08 0.00 0.12 99.75 20:05:25 20:03:01 3 0.05 0.00 0.03 0.00 0.13 99.78 20:05:25 20:04:01 all 0.13 0.00 0.03 0.00 0.40 99.44 20:05:25 20:04:01 0 0.05 0.00 0.03 0.00 0.48 99.43 20:05:25 20:04:01 1 0.15 0.00 0.03 0.00 0.48 99.33 20:05:25 20:04:01 2 0.27 0.00 0.03 0.00 0.35 99.35 20:05:25 20:04:01 3 0.05 0.00 0.02 0.00 0.28 99.65 20:05:25 20:05:01 all 0.58 0.00 0.22 1.40 0.63 97.18 20:05:25 20:05:01 0 1.34 0.00 0.30 1.77 0.69 95.90 20:05:25 20:05:01 1 0.18 0.00 0.25 0.15 0.67 98.75 20:05:25 20:05:01 2 0.67 0.00 0.22 1.79 0.57 96.75 20:05:25 20:05:01 3 0.12 0.00 0.12 1.86 0.57 97.34 20:05:25 Average: all 0.75 0.00 0.40 0.36 1.31 97.18 20:05:25 Average: 0 0.92 0.00 0.43 0.76 1.41 96.47 20:05:25 Average: 1 0.72 0.00 0.36 0.03 1.30 97.59 20:05:25 Average: 2 0.84 0.00 0.41 0.34 1.36 97.05 20:05:25 Average: 3 0.52 0.00 0.39 0.32 1.15 97.62 20:05:25 20:05:25 20:05:25