Pull request #245 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of jamesiotech for edgexfoundry/device-sdk-c Loading trusted files from base branch master at 9d735d1f6129c08be60f72e7e36f35f4ed1f8142 rather than 9db5f8fff4ba9010fac5857ef3f7cec0839b3c93 Obtained Jenkinsfile from 9d735d1f6129c08be60f72e7e36f35f4ed1f8142 Running in Durability level: PERFORMANCE_OPTIMIZED 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 c26106ffa7303c9cfaed1787c18b3b6a39928acb using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 Checking out Revision c26106ffa7303c9cfaed1787c18b3b6a39928acb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c26106ffa7303c9cfaed1787c18b3b6a39928acb # timeout=10 Commit message: "Merge pull request #139 from ernestojeda/use-cache-image" > 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 [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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1752 in /w/workspace/edgexfoundry_device-sdk-c_PR-245 [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 Fetching without tags > git init /w/workspace/edgexfoundry_device-sdk-c_PR-245 # 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/245/head:refs/remotes/origin/PR-245 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/245/head:refs/remotes/origin/PR-245 # 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/245/head:refs/remotes/origin/PR-245 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 9d735d1f6129c08be60f72e7e36f35f4ed1f8142 into PR head commit 9db5f8fff4ba9010fac5857ef3f7cec0839b3c93 Merge succeeded, producing 9db5f8fff4ba9010fac5857ef3f7cec0839b3c93 Checking out Revision 9db5f8fff4ba9010fac5857ef3f7cec0839b3c93 (PR-245) > git config core.sparsecheckout # timeout=10 > git checkout -f 9db5f8fff4ba9010fac5857ef3f7cec0839b3c93 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9d735d1f6129c08be60f72e7e36f35f4ed1f8142 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9db5f8fff4ba9010fac5857ef3f7cec0839b3c93 # timeout=10 Commit message: "Made changes according to second review" > git rev-list --no-walk 6859719aad03d4f07fcc9e6fc8df4ca857e17f55 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:21:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 16:21:40 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:21:40 16:21:40 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:21:41 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:21:41 latest: Pulling from edgex-devops/git-semver 16:21:41 9123ac7c32f7: Pulling fs layer 16:21:41 b8cc5d1170e3: Pulling fs layer 16:21:41 2924cbbf6a41: Pulling fs layer 16:21:41 93b08a4f1073: Pulling fs layer 16:21:41 93b08a4f1073: Waiting 16:21:41 b8cc5d1170e3: Verifying Checksum 16:21:41 b8cc5d1170e3: Download complete 16:21:41 9123ac7c32f7: Verifying Checksum 16:21:41 9123ac7c32f7: Download complete 16:21:41 93b08a4f1073: Verifying Checksum 16:21:41 93b08a4f1073: Download complete 16:21:41 2924cbbf6a41: Verifying Checksum 16:21:41 2924cbbf6a41: Download complete 16:21:41 9123ac7c32f7: Pull complete 16:21:41 b8cc5d1170e3: Pull complete 16:21:42 2924cbbf6a41: Pull complete 16:21:42 93b08a4f1073: Pull complete 16:21:42 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 16:21:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:21:42 prd-centos7-docker-4c-2g-1752 does not seem to be running inside a container 16:21:42 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-245 -v /w/workspace/edgexfoundry_device-sdk-c_PR-245:/w/workspace/edgexfoundry_device-sdk-c_PR-245:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-245@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-245@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:21:43 $ docker top d5eec5050ae680be8d633656e2f37b25fddaabeae0e28f83f831d9c60090499a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:21:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:21:43 [ssh-agent] Looking for ssh-agent implementation... 16:21:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:21:44 $ docker exec d5eec5050ae680be8d633656e2f37b25fddaabeae0e28f83f831d9c60090499a ssh-agent 16:21:44 SSH_AUTH_SOCK=/tmp/ssh-ifDlDvdlyHhD/agent.15 16:21:44 SSH_AGENT_PID=22 16:21:44 Running ssh-add (command line suppressed) 16:21:44 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-245@tmp/private_key_8274216529886879718.key (/w/workspace/edgexfoundry_device-sdk-c_PR-245@tmp/private_key_8274216529886879718.key) 16:21:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:21:44 + git describe --exact-match --tags HEAD 16:21:44 fatal: No names found, cannot describe anything. [Pipeline] } 16:21:44 $ docker exec --env ******** --env ******** d5eec5050ae680be8d633656e2f37b25fddaabeae0e28f83f831d9c60090499a ssh-agent -k 16:21:45 unset SSH_AUTH_SOCK; 16:21:45 unset SSH_AGENT_PID; 16:21:45 echo Agent pid 22 killed; 16:21:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 16:21:45 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 16:21:45 This usually means this commit has not been tagged. [Pipeline] sshagent 16:21:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:21:45 [ssh-agent] Looking for ssh-agent implementation... 16:21:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:21:45 $ docker exec d5eec5050ae680be8d633656e2f37b25fddaabeae0e28f83f831d9c60090499a ssh-agent 16:21:45 SSH_AUTH_SOCK=/tmp/ssh-tAf4GOSvXcKo/agent.57 16:21:45 SSH_AGENT_PID=64 16:21:45 Running ssh-add (command line suppressed) 16:21:45 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-245@tmp/private_key_2549605832255295509.key (/w/workspace/edgexfoundry_device-sdk-c_PR-245@tmp/private_key_2549605832255295509.key) 16:21:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:21:46 + git semver init 16:21:46 # -> Open(): unable to determine branch for HEAD 16:21:46 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-245/.git 16:21:46 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-245 16:21:46 # $SEMVER_REMOTE_NAME = origin 16:21:46 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 16:21:46 # $SEMVER_USER_NAME = jenkins 16:21:46 # $SEMVER_BRANCH = PR-245 16:21:46 # $SEMVER_TEMP = /tmp/semver-447581138 16:21:46 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 16:21:46 # '/tmp/semver-447581138' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-245/.semver' 16:21:46 # -> Force: false 16:21:46 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-245/.semver [Pipeline] } 16:21:46 $ docker exec --env ******** --env ******** d5eec5050ae680be8d633656e2f37b25fddaabeae0e28f83f831d9c60090499a ssh-agent -k 16:21:46 unset SSH_AUTH_SOCK; 16:21:46 unset SSH_AGENT_PID; 16:21:46 echo Agent pid 64 killed; 16:21:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:21:47 + git semver [Pipeline] } 16:21:47 $ docker stop --time=1 d5eec5050ae680be8d633656e2f37b25fddaabeae0e28f83f831d9c60090499a 16:21:48 $ docker rm -f d5eec5050ae680be8d633656e2f37b25fddaabeae0e28f83f831d9c60090499a [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 16:21:49 Stashed 35 file(s) [Pipeline] echo 16:21:49 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 16:22:04 Still waiting to schedule task 16:22:04 Waiting for next available executor on ‘centos7-docker-4c-2g’ 16:22:04 Still waiting to schedule task 16:22:04 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 16:23:55 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1754 in /w/workspace/edgexfoundry_device-sdk-c_PR-245 [Pipeline] { [Pipeline] ws 16:23:55 Running in /w/workspace/device-sdk-c/5 [Pipeline] { [Pipeline] checkout 16:24:02 using credential edgex-jenkins-ssh 16:24:02 Cloning the remote Git repository 16:24:02 Cloning with configured refspecs honoured and without tags 16:24:02 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 16:24:02 > git init /w/workspace/device-sdk-c/5 # timeout=10 16:24:02 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:24:02 > git --version # timeout=10 16:24:03 Fetching without tags 16:24:02 using GIT_SSH to set credentials SSH Credentials for GitHub 16:24:02 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/245/head:refs/remotes/origin/PR-245 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:24:03 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:24:03 > git config --add remote.origin.fetch +refs/pull/245/head:refs/remotes/origin/PR-245 # timeout=10 16:24:03 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 16:24:03 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:24:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:24:03 using GIT_SSH to set credentials SSH Credentials for GitHub 16:24:03 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/245/head:refs/remotes/origin/PR-245 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:24:04 Merging remotes/origin/master commit 9d735d1f6129c08be60f72e7e36f35f4ed1f8142 into PR head commit 9db5f8fff4ba9010fac5857ef3f7cec0839b3c93 16:24:04 Merge succeeded, producing 9db5f8fff4ba9010fac5857ef3f7cec0839b3c93 16:24:04 Checking out Revision 9db5f8fff4ba9010fac5857ef3f7cec0839b3c93 (PR-245) 16:24:04 > git config core.sparsecheckout # timeout=10 16:24:04 > git checkout -f 9db5f8fff4ba9010fac5857ef3f7cec0839b3c93 # timeout=10 16:24:04 > git remote # timeout=10 16:24:04 > git config --get remote.origin.url # timeout=10 16:24:04 using GIT_SSH to set credentials SSH Credentials for GitHub 16:24:04 > git merge 9d735d1f6129c08be60f72e7e36f35f4ed1f8142 # timeout=10 16:24:04 > git rev-parse HEAD^{commit} # timeout=10 16:24:04 > git config core.sparsecheckout # timeout=10 16:24:04 > git checkout -f 9db5f8fff4ba9010fac5857ef3f7cec0839b3c93 # timeout=10 16:24:08 Commit message: "Made changes according to second review" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 16:24:10 ========================================================= 16:24:10 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 16:24:10 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:24:11 + 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 . 16:24:12 Sending build context to Docker daemon 2.949MB 16:24:12 Step 1/21 : ARG BASE=alpine:3.9 16:24:12 Step 2/21 : FROM ${BASE} as builder 16:24:12 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 16:24:12 0362ad1dd800: Pulling fs layer 16:24:12 f2cdb1532d8b: Pulling fs layer 16:24:12 37ed683be191: Pulling fs layer 16:24:12 f2cdb1532d8b: Download complete 16:24:12 0362ad1dd800: Verifying Checksum 16:24:12 0362ad1dd800: Download complete 16:24:13 0362ad1dd800: Pull complete 16:24:13 f2cdb1532d8b: Pull complete 16:24:20 37ed683be191: Verifying Checksum 16:24:20 37ed683be191: Download complete 16:24:23 Running on prd-centos7-docker-4c-2g-1755 in /w/workspace/edgexfoundry_device-sdk-c_PR-245 [Pipeline] { [Pipeline] ws 16:24:23 Running in /w/workspace/device-sdk-c/5 [Pipeline] { [Pipeline] checkout 16:24:25 using credential edgex-jenkins-ssh 16:24:25 Cloning the remote Git repository 16:24:25 Cloning with configured refspecs honoured and without tags 16:24:25 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 16:24:25 > git init /w/workspace/device-sdk-c/5 # timeout=10 16:24:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:24:25 > git --version # timeout=10 16:24:25 using GIT_SSH to set credentials SSH Credentials for GitHub 16:24:26 Fetching without tags 16:24:26 Merging remotes/origin/master commit 9d735d1f6129c08be60f72e7e36f35f4ed1f8142 into PR head commit 9db5f8fff4ba9010fac5857ef3f7cec0839b3c93 16:24:25 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/245/head:refs/remotes/origin/PR-245 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:24:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:24:25 > git config --add remote.origin.fetch +refs/pull/245/head:refs/remotes/origin/PR-245 # timeout=10 16:24:25 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 16:24:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:24:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:24:25 using GIT_SSH to set credentials SSH Credentials for GitHub 16:24:26 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/245/head:refs/remotes/origin/PR-245 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:24:26 > git config core.sparsecheckout # timeout=10 16:24:26 > git checkout -f 9db5f8fff4ba9010fac5857ef3f7cec0839b3c93 # timeout=10 16:24:26 > git remote # timeout=10 16:24:26 > git config --get remote.origin.url # timeout=10 16:24:26 using GIT_SSH to set credentials SSH Credentials for GitHub 16:24:26 > git merge 9d735d1f6129c08be60f72e7e36f35f4ed1f8142 # timeout=10 16:24:26 Merge succeeded, producing 9db5f8fff4ba9010fac5857ef3f7cec0839b3c93 16:24:26 Checking out Revision 9db5f8fff4ba9010fac5857ef3f7cec0839b3c93 (PR-245) 16:24:26 > git rev-parse HEAD^{commit} # timeout=10 16:24:26 > git config core.sparsecheckout # timeout=10 16:24:26 > git checkout -f 9db5f8fff4ba9010fac5857ef3f7cec0839b3c93 # timeout=10 16:24:28 37ed683be191: Pull complete 16:24:28 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 16:24:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 16:24:28 ---> b23d30803547 16:24:28 Step 3/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev 16:24:30 Commit message: "Made changes according to second review" 16:24:31 ---> Running in 6c0879ec1729 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 16:24:31 ========================================================= 16:24:31 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 16:24:31 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:24:32 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 16:24:32 + 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 . 16:24:32 Sending build context to Docker daemon 2.949MB 16:24:32 Step 1/21 : ARG BASE=alpine:3.9 16:24:32 Step 2/21 : FROM ${BASE} as builder 16:24:32 latest: Pulling from edgex-devops/edgex-gcc-base 16:24:32 e7c96db7181b: Pulling fs layer 16:24:32 4c13bbce0fe7: Pulling fs layer 16:24:32 6059c847ac2f: Pulling fs layer 16:24:32 4c13bbce0fe7: Verifying Checksum 16:24:32 4c13bbce0fe7: Download complete 16:24:32 e7c96db7181b: Verifying Checksum 16:24:32 e7c96db7181b: Download complete 16:24:32 e7c96db7181b: Pull complete 16:24:32 4c13bbce0fe7: Pull complete 16:24:32 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 16:24:33 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 16:24:33 (2/8) Installing libuuid (2.33-r0) 16:24:33 (3/8) Installing libblkid (2.33-r0) 16:24:33 (4/8) Installing libfdisk (2.33-r0) 16:24:33 6059c847ac2f: Verifying Checksum 16:24:33 6059c847ac2f: Download complete 16:24:33 (5/8) Installing libmount (2.33-r0) 16:24:34 (6/8) Installing libsmartcols (2.33-r0) 16:24:34 (7/8) Installing util-linux-dev (2.33-r0) 16:24:34 (8/8) Installing wget (1.20.3-r0) 16:24:34 Executing busybox-1.29.3-r10.trigger 16:24:34 OK: 285 MiB in 83 packages 16:24:36 Removing intermediate container 6c0879ec1729 16:24:36 ---> 73ce0e9d0fc6 16:24:36 Step 4/21 : ENV CBOR_VERSION=0.5.0 16:24:36 ---> Running in c4a7d58017aa 16:24:36 Removing intermediate container c4a7d58017aa 16:24:36 ---> d948567cf076 16:24:36 Step 5/21 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 16:24:36 ---> Running in eafc24ccf1f5 16:24:36 6059c847ac2f: Pull complete 16:24:37 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 16:24:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 16:24:37 ---> 5eabd8fd8ba2 16:24:37 Step 3/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev 16:24:37 ---> Running in 1ce1cf4d0d3a 16:24:37 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 16:24:37 --2020-04-01 16:24:37-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 16:24:37 Resolving github.com... 140.82.113.4 16:24:37 Connecting to github.com|140.82.113.4|:443... connected. 16:24:38 HTTP request sent, awaiting response... 302 Found 16:24:38 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 16:24:38 --2020-04-01 16:24:37-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 16:24:38 Resolving codeload.github.com... 140.82.113.10 16:24:38 Connecting to codeload.github.com|140.82.113.10|:443... connected. 16:24:38 HTTP request sent, awaiting response... 200 OK 16:24:38 Length: unspecified [application/x-gzip] 16:24:38 Saving to: 'STDOUT' 16:24:38  16:24:38 0K .......... .......... .......... .......... .......... 1.57M 16:24:38 50K .......... .......... .......... .......... .......... 3.39M 16:24:38 100K .......... .......... .......... .......... .......... 9.76M 16:24:38 150K .......... .......... .......... .......... .......... 13.9M 16:24:38 200K .......... .......... .......... .......... .......... 3.85M 16:24:38 250K .......... .......... .......... .......... .......... 3.97M 16:24:38 300K .......... .......... .......... .......... .......... 3.44M 16:24:38 350K .......... .......... .......... .......... .......... 5.70M 16:24:38 400K .......... .......... .......... .......... .......... 3.69M 16:24:38 450K .......... .......... .......... .......... .......... 3.96M 16:24:38 500K .......... .......... .......... .......... .......... 6.66M 16:24:38 550K .......... .......... .......... .......... .......... 2.95M 16:24:38 600K .......... .......... .......... .......... .......... 890K 16:24:38 650K .......... .......... .......... .......... .......... 2.96M 16:24:38 700K ..  302K=0.2s 16:24:38 16:24:38 2020-04-01 16:24:38 (2.96 MB/s) - written to stdout [719348] 16:24:38 16:24:38 -- The C compiler identification is GNU 8.3.0 16:24:38 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 16:24:38 -- The CXX compiler identification is GNU 8.3.0 16:24:38 -- Check for working C compiler: /usr/bin/cc 16:24:39 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 16:24:39 (2/8) Installing libuuid (2.33-r0) 16:24:39 -- Check for working C compiler: /usr/bin/cc -- works 16:24:39 -- Detecting C compiler ABI info 16:24:39 (3/8) Installing libblkid (2.33-r0) 16:24:39 (4/8) Installing libfdisk (2.33-r0) 16:24:39 (5/8) Installing libmount (2.33-r0) 16:24:39 -- Detecting C compiler ABI info - done 16:24:39 -- Detecting C compile features 16:24:39 (6/8) Installing libsmartcols (2.33-r0) 16:24:39 (7/8) Installing util-linux-dev (2.33-r0) 16:24:40 (8/8) Installing wget (1.20.3-r0) 16:24:40 Executing busybox-1.29.3-r10.trigger 16:24:40 OK: 272 MiB in 83 packages 16:24:40 -- Detecting C compile features - done 16:24:40 -- Check for working CXX compiler: /usr/bin/c++ 16:24:40 -- Check for working CXX compiler: /usr/bin/c++ -- works 16:24:40 -- Detecting CXX compiler ABI info 16:24:40 Removing intermediate container 1ce1cf4d0d3a 16:24:40 ---> 926605405bc8 16:24:40 Step 4/21 : ENV CBOR_VERSION=0.5.0 16:24:40 ---> Running in fd4190a488e5 16:24:40 -- Detecting CXX compiler ABI info - done 16:24:40 -- Detecting CXX compile features 16:24:40 Removing intermediate container fd4190a488e5 16:24:40 ---> 71b6eb11641b 16:24:40 Step 5/21 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 16:24:40 ---> Running in 6b0cfd115021 16:24:41 --2020-04-01 16:24:41-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 16:24:41 Resolving github.com... 140.82.114.4 16:24:41 Connecting to github.com|140.82.114.4|:443... connected. 16:24:41 HTTP request sent, awaiting response... 302 Found 16:24:41 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 16:24:41 --2020-04-01 16:24:41-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 16:24:41 Resolving codeload.github.com... 140.82.113.9 16:24:41 Connecting to codeload.github.com|140.82.113.9|:443... connected. 16:24:41 HTTP request sent, awaiting response... 200 OK 16:24:41 Length: unspecified [application/x-gzip] 16:24:41 Saving to: 'STDOUT' 16:24:41  16:24:41 0K .......... .......... .......... .......... .......... 1.57M 16:24:41 50K .......... .......... .......... .......... .......... 3.28M 16:24:41 100K .......... .......... .......... .......... .......... 47.1M 16:24:41 150K .......... .......... .......... .......... .......... 3.59M 16:24:41 200K .......... .......... .......... .......... .......... 40.3M 16:24:41 250K .......... .......... .......... .......... .......... 11.5M 16:24:41 300K .......... .......... .......... .......... .......... 9.80M 16:24:41 350K .......... .......... .......... .......... .......... 8.11M 16:24:41 400K .......... .......... .......... .......... .......... 9.20M 16:24:41 450K .......... .......... .......... .......... .......... 12.2M 16:24:41 500K .......... .......... .......... .......... .......... 19.4M 16:24:41 550K .......... .......... .......... .......... .......... 3.83M 16:24:41 600K .......... .......... .......... .......... .......... 3.51M 16:24:41 650K .......... .......... .......... .......... .......... 5.56M 16:24:41 700K .. 56.0M=0.1s 16:24:41 16:24:41 2020-04-01 16:24:41 (5.51 MB/s) - written to stdout [719348] 16:24:41 16:24:41 -- The C compiler identification is GNU 8.3.0 16:24:42 -- The CXX compiler identification is GNU 8.3.0 16:24:42 -- Check for working C compiler: /usr/bin/cc 16:24:42 -- Check for working C compiler: /usr/bin/cc -- works 16:24:42 -- Detecting C compiler ABI info 16:24:42 -- Detecting C compiler ABI info - done 16:24:42 -- Detecting C compile features 16:24:42 -- Detecting C compile features - done 16:24:42 -- Check for working CXX compiler: /usr/bin/c++ 16:24:42 -- Check for working CXX compiler: /usr/bin/c++ -- works 16:24:42 -- Detecting CXX compiler ABI info 16:24:42 -- Detecting CXX compiler ABI info - done 16:24:42 -- Detecting CXX compile features 16:24:42 -- Detecting CXX compile features - done 16:24:42 -- Looking for include file endian.h 16:24:42 -- Looking for include file endian.h - found 16:24:42 -- Check if the system is big endian 16:24:42 -- Searching 16 bit integer 16:24:42 -- Looking for sys/types.h 16:24:42 -- Looking for sys/types.h - found 16:24:42 -- Looking for stdint.h 16:24:42 -- Detecting CXX compile features - done 16:24:42 -- Looking for include file endian.h 16:24:42 -- Looking for include file endian.h - found 16:24:42 -- Check if the system is big endian 16:24:42 -- Searching 16 bit integer 16:24:42 -- Looking for sys/types.h 16:24:42 -- Looking for stdint.h - found 16:24:42 -- Looking for stddef.h 16:24:43 -- Looking for sys/types.h - found 16:24:43 -- Looking for stdint.h 16:24:43 -- Looking for stdint.h - found 16:24:43 -- Looking for stddef.h 16:24:43 -- Looking for stddef.h - found 16:24:43 -- Check size of unsigned short 16:24:43 -- Looking for stddef.h - found 16:24:43 -- Check size of unsigned short 16:24:43 -- Check size of unsigned short - done 16:24:43 -- Using unsigned short 16:24:43 -- Check if the system is big endian - little endian 16:24:43 -- Check size of size_t 16:24:43 -- Check size of size_t - done 16:24:43 CMake Warning at examples/CMakeLists.txt:16 (find_package): 16:24:43 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 16:24:43 asked CMake to find a package configuration file provided by "cJSON", but 16:24:43 CMake did not find one. 16:24:43 16:24:43 Could not find a package configuration file provided by "cJSON" with any of 16:24:43 the following names: 16:24:43 16:24:43 cJSONConfig.cmake 16:24:43 cjson-config.cmake 16:24:43 16:24:43 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 16:24:43 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 16:24:43 provides a separate development package or SDK, be sure it has been 16:24:43 installed. 16:24:43 16:24:43 16:24:43 -- Configuring done 16:24:43 -- Check size of unsigned short - done 16:24:43 -- Using unsigned short 16:24:43 -- Generating done 16:24:43 -- Build files have been written to: /tmp/cbor 16:24:43 Scanning dependencies of target cbor_shared 16:24:43 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 16:24:43 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 16:24:43 -- Check if the system is big endian - little endian 16:24:43 -- Check size of size_t 16:24:43 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 16:24:43 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 16:24:44 -- Check size of size_t - done 16:24:44 CMake Warning at examples/CMakeLists.txt:16 (find_package): 16:24:44 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 16:24:44 asked CMake to find a package configuration file provided by "cJSON", but 16:24:44 CMake did not find one. 16:24:44 16:24:44 Could not find a package configuration file provided by "cJSON" with any of 16:24:44 the following names: 16:24:44 16:24:44 cJSONConfig.cmake 16:24:44 cjson-config.cmake 16:24:44 16:24:44 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 16:24:44 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 16:24:44 provides a separate development package or SDK, be sure it has been 16:24:44 installed. 16:24:44 16:24:44 16:24:44 -- Configuring done 16:24:44 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 16:24:44 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 16:24:44 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 16:24:44 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 16:24:44 -- Generating done 16:24:44 -- Build files have been written to: /tmp/cbor 16:24:44 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 16:24:44 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 16:24:44 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 16:24:44 Scanning dependencies of target cbor_shared 16:24:44 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 16:24:44 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 16:24:44 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 16:24:44 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 16:24:44 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 16:24:44 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 16:24:44 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 16:24:44 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 16:24:45 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 16:24:45 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 16:24:45 [ 40%] Linking C shared library libcbor.so 16:24:45 [ 40%] Built target cbor_shared 16:24:45 Scanning dependencies of target cbor 16:24:45 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 16:24:45 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 16:24:45 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 16:24:45 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 16:24:45 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 16:24:45 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 16:24:45 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 16:24:45 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 16:24:45 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 16:24:45 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 16:24:46 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 16:24:46 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 16:24:46 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 16:24:46 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 16:24:46 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 16:24:46 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 16:24:46 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 16:24:46 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 16:24:46 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 16:24:46 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 16:24:46 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 16:24:46 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 16:24:47 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 16:24:47 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 16:24:47 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 16:24:47 [ 80%] Linking C static library libcbor.a 16:24:47 [ 80%] Built target cbor 16:24:47 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 16:24:47 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 16:24:47 Scanning dependencies of target create_items 16:24:47 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 16:24:47 [ 84%] Linking C executable create_items 16:24:47 [ 84%] Built target create_items 16:24:47 Scanning dependencies of target readfile 16:24:47 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 16:24:47 [ 88%] Linking C executable readfile 16:24:47 [ 88%] Built target readfile 16:24:47 Scanning dependencies of target streaming_parser 16:24:47 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 16:24:47 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 16:24:47 [ 92%] Linking C executable streaming_parser 16:24:47 [ 92%] Built target streaming_parser 16:24:47 Scanning dependencies of target sort 16:24:47 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 16:24:47 [ 96%] Linking C executable sort 16:24:47 [ 96%] Built target sort 16:24:47 Scanning dependencies of target hello 16:24:47 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 16:24:47 [100%] Linking C executable hello 16:24:47 [100%] Built target hello 16:24:47 Install the project... 16:24:47 -- Install configuration: "Release" 16:24:47 -- Installing: /usr/local/include/cbor/configuration.h 16:24:47 -- Installing: /usr/local/lib64/libcbor.a 16:24:47 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 16:24:47 -- Installing: /usr/local/lib64/libcbor.so.0 16:24:47 -- Installing: /usr/local/lib64/libcbor.so 16:24:47 -- Up-to-date: /usr/local/include/cbor 16:24:47 -- Installing: /usr/local/include/cbor/arrays.h 16:24:47 -- Installing: /usr/local/include/cbor/bytestrings.h 16:24:47 -- Installing: /usr/local/include/cbor/callbacks.h 16:24:47 -- Installing: /usr/local/include/cbor/common.h 16:24:47 -- Installing: /usr/local/include/cbor/data.h 16:24:47 -- Installing: /usr/local/include/cbor/encoding.h 16:24:47 -- Installing: /usr/local/include/cbor/floats_ctrls.h 16:24:47 -- Installing: /usr/local/include/cbor/internal 16:24:47 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 16:24:47 -- Installing: /usr/local/include/cbor/internal/encoders.h 16:24:47 -- Installing: /usr/local/include/cbor/internal/loaders.h 16:24:47 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 16:24:47 -- Installing: /usr/local/include/cbor/internal/stack.h 16:24:47 -- Installing: /usr/local/include/cbor/internal/unicode.h 16:24:47 -- Installing: /usr/local/include/cbor/ints.h 16:24:47 -- Installing: /usr/local/include/cbor/maps.h 16:24:47 -- Installing: /usr/local/include/cbor/serialization.h 16:24:47 -- Installing: /usr/local/include/cbor/streaming.h 16:24:47 -- Installing: /usr/local/include/cbor/strings.h 16:24:47 -- Installing: /usr/local/include/cbor/tags.h 16:24:47 -- Installing: /usr/local/include/cbor.h 16:24:47 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 16:24:47 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 16:24:48 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 16:24:48 Removing intermediate container 6b0cfd115021 16:24:48 ---> bb678200cc28 16:24:48 Step 6/21 : RUN mkdir /tmp/sdk 16:24:48 ---> Running in bf4891aa8a91 16:24:48 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 16:24:49 Removing intermediate container bf4891aa8a91 16:24:49 ---> 1a17015b28a6 16:24:49 Step 7/21 : COPY VERSION /tmp/sdk 16:24:49 ---> 03ea88794dc4 16:24:49 Step 8/21 : COPY src /tmp/sdk/src 16:24:49 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 16:24:49 ---> 317aef1305b7 16:24:49 Step 9/21 : COPY include /tmp/sdk/include 16:24:49 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 16:24:49 ---> 87249ba85444 16:24:49 Step 10/21 : COPY scripts /tmp/sdk/scripts 16:24:49 ---> 4a6f2c84d8c0 16:24:49 Step 11/21 : COPY LICENSE /tmp/sdk 16:24:49 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 16:24:49 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 16:24:49 ---> 4d38efda4d98 16:24:49 Step 12/21 : COPY Attribution.txt /tmp/sdk 16:24:50 ---> 99f7cdfd3fcb 16:24:50 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 16:24:50 ---> Running in 9ebbe1e2276a 16:24:50 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 16:24:50 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 16:24:50 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 16:24:50 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 16:24:50 + CPPCHECK=false 16:24:50 + DOCGEN=false 16:24:50 + TOMLVER=SDK-0.2 16:24:50 + CUTILVER=1.0.0 16:24:50 + '[' 0 -gt 0 ] 16:24:50 + readlink -f ./scripts/build.sh 16:24:50 + dirname /tmp/sdk/scripts/build.sh 16:24:50 + dirname /tmp/sdk/scripts 16:24:50 + ROOT=/tmp/sdk 16:24:50 + cd /tmp/sdk 16:24:50 + '[' '!' -d deps ] 16:24:50 + mkdir deps 16:24:50 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:24:50 + tar -C deps -z -x -f - 16:24:50 --2020-04-01 16:24:50-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:24:50 Resolving github.com... 140.82.114.4 16:24:50 Connecting to github.com|140.82.114.4|:443... connected. 16:24:51 [ 40%] Linking C shared library libcbor.so 16:24:51 [ 40%] Built target cbor_shared 16:24:51 Scanning dependencies of target cbor 16:24:51 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 16:24:51 HTTP request sent, awaiting response... 302 Found 16:24:51 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 16:24:51 --2020-04-01 16:24:51-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 16:24:51 Resolving codeload.github.com... 140.82.113.9 16:24:51 Connecting to codeload.github.com|140.82.113.9|:443... connected. 16:24:51 HTTP request sent, awaiting response... 200 OK 16:24:51 Length: unspecified [application/x-gzip] 16:24:51 Saving to: 'STDOUT' 16:24:51  16:24:51 0K .......... ......  1010K=0.02s 16:24:51 16:24:51 2020-04-01 16:24:51 (1010 KB/s) - written to stdout [16451] 16:24:51 16:24:51 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 16:24:51 + wget -O -+ https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.0.tar.gz 16:24:51 tar -C deps -z -x -f - 16:24:51 --2020-04-01 16:24:51-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.0.tar.gz 16:24:51 Resolving github.com... 140.82.114.4 16:24:51 Connecting to github.com|140.82.114.4|:443... connected. 16:24:51 HTTP request sent, awaiting response... 302 Found 16:24:51 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.0 [following] 16:24:51 --2020-04-01 16:24:51-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.0 16:24:51 Resolving codeload.github.com... 140.82.113.9 16:24:51 Connecting to codeload.github.com|140.82.113.9|:443... connected. 16:24:51 HTTP request sent, awaiting response... 200 OK 16:24:51 Length: unspecified [application/x-gzip] 16:24:51 Saving to: 'STDOUT' 16:24:51  16:24:51 0K .......... .......... .......... .......... .......... 1.62M 16:24:51 50K .......... .......... .......... .......... .......... 3.20M 16:24:51 100K .......... .......... .......... .......... ........ 59.7M=0.05s 16:24:51 16:24:51 2020-04-01 16:24:51 (3.14 MB/s) - written to stdout [151809] 16:24:51 16:24:51 + mkdir -p src/c/iot 16:24:51 + cp deps/iotech-c-utils-1.0.0/src/c/base64.c deps/iotech-c-utils-1.0.0/src/c/component.c deps/iotech-c-utils-1.0.0/src/c/container.c deps/iotech-c-utils-1.0.0/src/c/data.c deps/iotech-c-utils-1.0.0/src/c/hash.c deps/iotech-c-utils-1.0.0/src/c/iot.c deps/iotech-c-utils-1.0.0/src/c/json.c deps/iotech-c-utils-1.0.0/src/c/logger.c deps/iotech-c-utils-1.0.0/src/c/os.c deps/iotech-c-utils-1.0.0/src/c/scheduler.c deps/iotech-c-utils-1.0.0/src/c/thread.c deps/iotech-c-utils-1.0.0/src/c/threadpool.c deps/iotech-c-utils-1.0.0/src/c/time.c src/c/iot 16:24:51 + mkdir -p include/iot 16:24:51 + cp deps/iotech-c-utils-1.0.0/include/iot/base64.h deps/iotech-c-utils-1.0.0/include/iot/component.h deps/iotech-c-utils-1.0.0/include/iot/container.h deps/iotech-c-utils-1.0.0/include/iot/data.h deps/iotech-c-utils-1.0.0/include/iot/hash.h deps/iotech-c-utils-1.0.0/include/iot/iot.h deps/iotech-c-utils-1.0.0/include/iot/json.h deps/iotech-c-utils-1.0.0/include/iot/logger.h deps/iotech-c-utils-1.0.0/include/iot/os.h deps/iotech-c-utils-1.0.0/include/iot/scheduler.h deps/iotech-c-utils-1.0.0/include/iot/thread.h deps/iotech-c-utils-1.0.0/include/iot/threadpool.h deps/iotech-c-utils-1.0.0/include/iot/time.h include/iot 16:24:51 + mkdir -p include/iot/os 16:24:51 + cp deps/iotech-c-utils-1.0.0/include/iot/os/linux.h deps/iotech-c-utils-1.0.0/include/iot/os/zephyr.h include/iot/os 16:24:51 + mkdir -p /tmp/sdk/build/release 16:24:51 + cd /tmp/sdk/build/release 16:24:51 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 16:24:51 -- The C compiler identification is GNU 8.3.0 16:24:52 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 16:24:52 -- Check for working C compiler: /usr/bin/cc 16:24:52 -- Check for working C compiler: /usr/bin/cc -- works 16:24:52 -- Detecting C compiler ABI info 16:24:52 -- Detecting C compiler ABI info - done 16:24:52 -- Detecting C compile features 16:24:52 -- Detecting C compile features - done 16:24:52 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:24:52 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 16:24:52 -- Found LIBYAML: /usr/lib/libyaml.so 16:24:52 -- Found LIBUUID: /usr/lib/libuuid.so 16:24:52 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:24:52 -- C SDK 0.0.0 for Linux 16:24:52 -- Performing Test CSDK_HAVE_ATOMIC 16:24:52 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:24:52 -- Found Curses: /usr/lib/libcurses.so 16:24:52 -- Configuring done 16:24:52 -- Generating done 16:24:52 -- Build files have been written to: /tmp/sdk/build/release 16:24:52 + make 16:24:52 + tee release.log 16:24:52 Scanning dependencies of target csdk 16:24:52 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:24:52 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 16:24:52 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 16:24:52 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 16:24:52 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:24:53 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:24:53 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:24:53 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:24:53 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:24:53 [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:24:54 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 16:24:54 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 16:24:54 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:24:54 [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:24:54 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 16:24:54 [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:24:54 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:24:54 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:24:54 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:24:54 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 16:24:54 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 16:24:55 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 16:24:55 [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:24:55 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:24:55 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:24:55 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:24:55 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 16:24:56 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 16:24:56 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:24:56 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:24:56 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:24:56 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:24:56 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 16:24:56 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:24:56 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:24:56 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:24:56 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:24:56 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 16:24:56 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 16:24:56 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:24:56 [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:24:56 [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:24:57 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 16:24:57 [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:24:57 [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:24:57 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 16:24:57 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 16:24:57 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 16:24:58 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 16:24:58 [ 80%] Linking C static library libcbor.a 16:24:58 [ 80%] Built target cbor 16:24:58 Scanning dependencies of target create_items 16:24:58 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 16:24:58 [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:24:58 [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:24:58 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:24:58 [ 84%] Linking C executable create_items 16:24:58 [ 84%] Built target create_items 16:24:58 Scanning dependencies of target readfile 16:24:58 [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:24:59 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 16:24:59 [ 88%] Linking C executable readfile 16:24:59 [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:24:59 [ 88%] Built target readfile 16:24:59 Scanning dependencies of target streaming_parser 16:24:59 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 16:24:59 [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:24:59 [ 92%] Linking C executable streaming_parser 16:24:59 [ 92%] Built target streaming_parser 16:24:59 Scanning dependencies of target sort 16:24:59 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 16:24:59 [ 96%] Linking C executable sort 16:24:59 [ 96%] Built target sort 16:24:59 Scanning dependencies of target hello 16:24:59 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 16:25:00 [100%] Linking C executable hello 16:25:00 [100%] Built target hello 16:25:00 Install the project... 16:25:00 [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:25:00 [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 16:25:00 -- Install configuration: "Release" 16:25:00 -- Installing: /usr/local/include/cbor/configuration.h 16:25:00 -- Installing: /usr/local/lib64/libcbor.a 16:25:00 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 16:25:00 -- Installing: /usr/local/lib64/libcbor.so.0 16:25:00 -- Installing: /usr/local/lib64/libcbor.so 16:25:00 -- Up-to-date: /usr/local/include/cbor 16:25:00 -- Installing: /usr/local/include/cbor/common.h 16:25:00 -- Installing: /usr/local/include/cbor/serialization.h 16:25:00 -- Installing: /usr/local/include/cbor/encoding.h 16:25:00 -- Installing: /usr/local/include/cbor/maps.h 16:25:00 -- Installing: /usr/local/include/cbor/strings.h 16:25:00 -- Installing: /usr/local/include/cbor/arrays.h 16:25:00 -- Installing: /usr/local/include/cbor/internal 16:25:00 -- Installing: /usr/local/include/cbor/internal/loaders.h 16:25:00 -- Installing: /usr/local/include/cbor/internal/stack.h 16:25:00 -- Installing: /usr/local/include/cbor/internal/unicode.h 16:25:00 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 16:25:00 -- Installing: /usr/local/include/cbor/internal/encoders.h 16:25:00 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 16:25:00 -- Installing: /usr/local/include/cbor/data.h 16:25:00 -- Installing: /usr/local/include/cbor/floats_ctrls.h 16:25:00 -- Installing: /usr/local/include/cbor/bytestrings.h 16:25:00 -- Installing: /usr/local/include/cbor/tags.h 16:25:00 -- Installing: /usr/local/include/cbor/streaming.h 16:25:00 -- Installing: /usr/local/include/cbor/ints.h 16:25:00 -- Installing: /usr/local/include/cbor/callbacks.h 16:25:00 -- Installing: /usr/local/include/cbor.h 16:25:00 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 16:25:00 [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:25:00 [ 65%] Linking C shared library libcsdk.so 16:25:00 [ 65%] Built target csdk 16:25:00 Scanning dependencies of target template 16:25:00 [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:25:01 [ 68%] Linking C executable template 16:25:01 [ 68%] Built target template 16:25:01 Scanning dependencies of target device-counter 16:25:01 [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:25:01 [ 71%] Linking C executable device-counter 16:25:01 [ 71%] Built target device-counter 16:25:01 Scanning dependencies of target device-random 16:25:01 [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:25:01 [ 74%] Linking C executable device-random 16:25:01 [ 74%] Built target device-random 16:25:01 Scanning dependencies of target device-gyro 16:25:01 [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:25:01 [ 77%] Linking C executable device-gyro 16:25:01 [ 77%] Built target device-gyro 16:25:01 Scanning dependencies of target template-discovery 16:25:01 [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:25:01 [ 80%] Linking C executable template-discovery 16:25:01 [ 80%] Built target template-discovery 16:25:01 Scanning dependencies of target device-terminal 16:25:01 [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:25:01 [ 84%] Linking C executable device-terminal 16:25:02 [ 84%] Built target device-terminal 16:25:02 Scanning dependencies of target template2 16:25:02 [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o 16:25:02 [ 87%] Linking C executable template2 16:25:02 [ 87%] Built target template2 16:25:02 Scanning dependencies of target device-counterv2 16:25:02 [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o 16:25:02 Removing intermediate container eafc24ccf1f5 16:25:02 ---> a49bd7d180eb 16:25:02 Step 6/21 : RUN mkdir /tmp/sdk 16:25:02 [ 90%] Linking C executable device-counterv2 16:25:02 [ 90%] Built target device-counterv2 16:25:02 Scanning dependencies of target device-gyrov2 16:25:02 [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o 16:25:02 ---> Running in 8ea3e50be6ab 16:25:02 [ 93%] Linking C executable device-gyrov2 16:25:02 [ 93%] Built target device-gyrov2 16:25:02 Scanning dependencies of target device-randomv2 16:25:02 [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o 16:25:02 [ 96%] Linking C executable device-randomv2 16:25:02 [ 96%] Built target device-randomv2 16:25:02 Scanning dependencies of target device-terminalv2 16:25:02 [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o 16:25:02 [100%] Linking C executable device-terminalv2 16:25:02 [100%] Built target device-terminalv2 16:25:02 + make package 16:25:02 + tee -a release.log 16:25:03 [ 65%] Built target csdk 16:25:03 [ 68%] Built target template 16:25:03 [ 71%] Built target device-counter 16:25:03 [ 74%] Built target device-random 16:25:03 [ 77%] Built target device-gyro 16:25:03 [ 80%] Built target template-discovery 16:25:03 [ 84%] Built target device-terminal 16:25:03 [ 87%] Built target template2 16:25:03 [ 90%] Built target device-counterv2 16:25:03 [ 93%] Built target device-gyrov2 16:25:03 [ 96%] Built target device-randomv2 16:25:03 [100%] Built target device-terminalv2 16:25:03 Run CPack packaging tool... 16:25:03 CPack: Create package using TGZ 16:25:03 CPack: Install projects 16:25:03 CPack: - Run preinstall target for: Csdk 16:25:03 CPack: - Install project: Csdk 16:25:03 CPack: Create package 16:25:03 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 16:25:03 + '[' false '=' true ] 16:25:03 + '[' false '=' true ] 16:25:03 + mkdir -p /tmp/sdk/build/debug 16:25:03 + cd /tmp/sdk/build/debug 16:25:03 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 16:25:03 -- The C compiler identification is GNU 8.3.0 16:25:03 -- Check for working C compiler: /usr/bin/cc 16:25:03 -- Check for working C compiler: /usr/bin/cc -- works 16:25:03 -- Detecting C compiler ABI info 16:25:03 -- Detecting C compiler ABI info - done 16:25:03 -- Detecting C compile features 16:25:03 -- Detecting C compile features - done 16:25:03 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:25:03 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 16:25:03 -- Found LIBYAML: /usr/lib/libyaml.so 16:25:03 -- Found LIBUUID: /usr/lib/libuuid.so 16:25:03 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:25:03 -- C SDK 0.0.0 for Linux 16:25:03 -- Performing Test CSDK_HAVE_ATOMIC 16:25:04 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:25:04 -- Found Curses: /usr/lib/libcurses.so 16:25:04 -- Configuring done 16:25:04 -- Generating done 16:25:04 -- Build files have been written to: /tmp/sdk/build/debug 16:25:04 + + teemake debug.log 16:25:04 16:25:04 Scanning dependencies of target csdk 16:25:04 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:25:04 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 16:25:04 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:25:04 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:25:04 Removing intermediate container 8ea3e50be6ab 16:25:04 ---> 75518ef91b2a 16:25:04 Step 7/21 : COPY VERSION /tmp/sdk 16:25:04 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:25:04 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:25:04 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:25:05 [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:25:05 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:25:05 [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:25:05 ---> adff6fc8eb60 16:25:05 Step 8/21 : COPY src /tmp/sdk/src 16:25:05 [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:25:05 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:25:05 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:25:05 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:25:05 [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:25:05 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:25:05 ---> 7d5c2a176f10 16:25:05 Step 9/21 : COPY include /tmp/sdk/include 16:25:05 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:25:05 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:25:05 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:25:06 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:25:06 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:25:06 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:25:06 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:25:06 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:25:06 ---> 87bfc9c6447e 16:25:06 Step 10/21 : COPY scripts /tmp/sdk/scripts 16:25:06 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:25:06 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:25:06 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:25:06 [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:25:06 [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:25:06 [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:25:06 [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:25:06 ---> 6f5a5e924879 16:25:06 Step 11/21 : COPY LICENSE /tmp/sdk 16:25:06 [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:25:06 [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:25:07 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:25:07 [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:25:07 [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:25:07 [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:25:07 ---> 4540f43db34c 16:25:07 Step 12/21 : COPY Attribution.txt /tmp/sdk 16:25:07 [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:25:07 [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 16:25:07 [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:25:07 [ 65%] Linking C shared library libcsdk.so 16:25:07 [ 65%] Built target csdk 16:25:07 Scanning dependencies of target template 16:25:07 [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:25:08 ---> 8235a9d833fa 16:25:08 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 16:25:08 ---> Running in 2bbeaee8867b 16:25:08 [ 68%] Linking C executable template 16:25:08 [ 68%] Built target template 16:25:08 Scanning dependencies of target device-counter 16:25:08 [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:25:08 [ 71%] Linking C executable device-counter 16:25:08 [ 71%] Built target device-counter 16:25:08 Scanning dependencies of target device-random 16:25:08 [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:25:08 [ 74%] Linking C executable device-random 16:25:08 [ 74%] Built target device-random 16:25:08 Scanning dependencies of target device-gyro 16:25:08 [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:25:08 [ 77%] Linking C executable device-gyro 16:25:08 [ 77%] Built target device-gyro 16:25:08 Scanning dependencies of target template-discovery 16:25:08 [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:25:08 [ 80%] Linking C executable template-discovery 16:25:08 [ 80%] Built target template-discovery 16:25:08 Scanning dependencies of target device-terminal 16:25:08 [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:25:08 [ 84%] Linking C executable device-terminal 16:25:09 [ 84%] Built target device-terminal 16:25:09 Scanning dependencies of target template2 16:25:09 [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o 16:25:09 [ 87%] Linking C executable template2 16:25:09 [ 87%] Built target template2 16:25:09 Scanning dependencies of target device-counterv2 16:25:09 [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o 16:25:09 [ 90%] Linking C executable device-counterv2 16:25:09 + CPPCHECK=false 16:25:09 + DOCGEN=false 16:25:09 + TOMLVER=SDK-0.2 16:25:09 + CUTILVER=1.0.0 16:25:09 + '[' 0 -gt 0 ] 16:25:09 + readlink -f ./scripts/build.sh 16:25:09 + dirname /tmp/sdk/scripts/build.sh 16:25:09 + dirname /tmp/sdk/scripts 16:25:09 + ROOT=/tmp/sdk 16:25:09 + cd /tmp/sdk 16:25:09 + '[' '!' -d deps ] 16:25:09 + mkdir deps 16:25:09 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:25:09 + tar -C deps -z -x -f - 16:25:09 --2020-04-01 16:25:08-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:25:09 Resolving github.com... 140.82.112.4 16:25:09 Connecting to github.com|140.82.112.4|:443... connected. 16:25:09 HTTP request sent, awaiting response... 302 Found 16:25:09 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 16:25:09 --2020-04-01 16:25:08-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 16:25:09 Resolving codeload.github.com... 140.82.113.10 16:25:09 Connecting to codeload.github.com|140.82.113.10|:443... connected. 16:25:09 [ 90%] Built target device-counterv2 16:25:09 Scanning dependencies of target device-gyrov2 16:25:09 [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o 16:25:09 [ 93%] Linking C executable device-gyrov2 16:25:09 [ 93%] Built target device-gyrov2 16:25:09 Scanning dependencies of target device-randomv2 16:25:09 [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o 16:25:09 HTTP request sent, awaiting response... 200 OK 16:25:09 Length: unspecified [application/x-gzip] 16:25:09 Saving to: 'STDOUT' 16:25:09  16:25:09 0K .......... ......  1.03M=0.02s 16:25:09 16:25:09 2020-04-01 16:25:09 (1.03 MB/s) - written to stdout [16451] 16:25:09 16:25:09 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 16:25:09 + + tarwget -C -O deps - -z https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.0.tar.gz -x 16:25:09 -f - 16:25:09 --2020-04-01 16:25:09-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.0.tar.gz 16:25:09 Resolving github.com... 140.82.112.4 16:25:09 Connecting to github.com|140.82.112.4|:443... connected. 16:25:09 [ 96%] Linking C executable device-randomv2 16:25:09 [ 96%] Built target device-randomv2 16:25:09 Scanning dependencies of target device-terminalv2 16:25:09 [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o 16:25:09 [100%] Linking C executable device-terminalv2 16:25:09 [100%] Built target device-terminalv2 16:25:09 make: Entering directory '/tmp/sdk/build/release' 16:25:09 make[1]: Entering directory '/tmp/sdk/build/release' 16:25:09 make[2]: Entering directory '/tmp/sdk/build/release' 16:25:09 Scanning dependencies of target csdk 16:25:09 HTTP request sent, awaiting response... 302 Found 16:25:09 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.0 [following] 16:25:09 --2020-04-01 16:25:09-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.0 16:25:09 Resolving codeload.github.com... 140.82.113.9 16:25:09 Connecting to codeload.github.com|140.82.113.9|:443... connected. 16:25:09 HTTP request sent, awaiting response... 200 OK 16:25:09 Length: unspecified [application/x-gzip] 16:25:09 Saving to: 'STDOUT' 16:25:09  16:25:09 0K .......... .......... .......... .......... .......... 1.58M 16:25:09 50K .......... .......... .......... .......... .......... 3.12M 16:25:09 100K .......... .......... .......... .......... ........ 4.01M=0.06s 16:25:09 16:25:09 2020-04-01 16:25:09 (2.49 MB/s) - written to stdout [151809] 16:25:09 16:25:09 + mkdir -p src/c/iot 16:25:09 + cp deps/iotech-c-utils-1.0.0/src/c/base64.c deps/iotech-c-utils-1.0.0/src/c/component.c deps/iotech-c-utils-1.0.0/src/c/container.c deps/iotech-c-utils-1.0.0/src/c/data.c deps/iotech-c-utils-1.0.0/src/c/hash.c deps/iotech-c-utils-1.0.0/src/c/iot.c deps/iotech-c-utils-1.0.0/src/c/json.c deps/iotech-c-utils-1.0.0/src/c/logger.c deps/iotech-c-utils-1.0.0/src/c/os.c deps/iotech-c-utils-1.0.0/src/c/scheduler.c deps/iotech-c-utils-1.0.0/src/c/thread.c deps/iotech-c-utils-1.0.0/src/c/threadpool.c deps/iotech-c-utils-1.0.0/src/c/time.c src/c/iot 16:25:09 + mkdir -p include/iot 16:25:09 + cp deps/iotech-c-utils-1.0.0/include/iot/base64.h deps/iotech-c-utils-1.0.0/include/iot/component.h deps/iotech-c-utils-1.0.0/include/iot/container.h deps/iotech-c-utils-1.0.0/include/iot/data.h deps/iotech-c-utils-1.0.0/include/iot/hash.h deps/iotech-c-utils-1.0.0/include/iot/iot.h deps/iotech-c-utils-1.0.0/include/iot/json.h deps/iotech-c-utils-1.0.0/include/iot/logger.h deps/iotech-c-utils-1.0.0/include/iot/os.h deps/iotech-c-utils-1.0.0/include/iot/scheduler.h deps/iotech-c-utils-1.0.0/include/iot/thread.h deps/iotech-c-utils-1.0.0/include/iot/threadpool.h deps/iotech-c-utils-1.0.0/include/iot/time.h include/iot 16:25:09 + mkdir -p include/iot/os 16:25:09 + cp deps/iotech-c-utils-1.0.0/include/iot/os/linux.h deps/iotech-c-utils-1.0.0/include/iot/os/zephyr.h include/iot/os 16:25:09 + mkdir -p /tmp/sdk/build/release 16:25:09 + cd /tmp/sdk/build/release 16:25:09 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 16:25:09 make[2]: Leaving directory '/tmp/sdk/build/release' 16:25:09 make[2]: Entering directory '/tmp/sdk/build/release' 16:25:09 [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:25:10 [ 3%] Linking C shared library libcsdk.so 16:25:10 make[2]: Leaving directory '/tmp/sdk/build/release' 16:25:10 [ 65%] Built target csdk 16:25:10 make[2]: Entering directory '/tmp/sdk/build/release' 16:25:10 make[2]: Leaving directory '/tmp/sdk/build/release' 16:25:10 make[2]: Entering directory '/tmp/sdk/build/release' 16:25:10 [ 66%] Linking C executable template 16:25:10 make[2]: Leaving directory '/tmp/sdk/build/release' 16:25:10 [ 68%] Built target template 16:25:10 make[2]: Entering directory '/tmp/sdk/build/release' 16:25:10 make[2]: Leaving directory '/tmp/sdk/build/release' 16:25:10 make[2]: Entering directory '/tmp/sdk/build/release' 16:25:10 [ 69%] Linking C executable device-counter 16:25:10 -- The C compiler identification is GNU 8.3.0 16:25:10 -- Check for working C compiler: /usr/bin/cc 16:25:10 -- Check for working C compiler: /usr/bin/cc -- works 16:25:10 -- Detecting C compiler ABI info 16:25:10 make[2]: Leaving directory '/tmp/sdk/build/release' 16:25:10 [ 71%] Built target device-counter 16:25:10 make[2]: Entering directory '/tmp/sdk/build/release' 16:25:10 make[2]: Leaving directory '/tmp/sdk/build/release' 16:25:10 make[2]: Entering directory '/tmp/sdk/build/release' 16:25:10 [ 73%] Linking C executable device-random 16:25:10 make[2]: Leaving directory '/tmp/sdk/build/release' 16:25:10 [ 74%] Built target device-random 16:25:10 make[2]: Entering directory '/tmp/sdk/build/release' 16:25:10 make[2]: Leaving directory '/tmp/sdk/build/release' 16:25:10 make[2]: Entering directory '/tmp/sdk/build/release' 16:25:10 [ 76%] Linking C executable device-gyro 16:25:10 make[2]: Leaving directory '/tmp/sdk/build/release' 16:25:10 [ 77%] Built target device-gyro 16:25:10 make[2]: Entering directory '/tmp/sdk/build/release' 16:25:10 make[2]: Leaving directory '/tmp/sdk/build/release' 16:25:10 make[2]: Entering directory '/tmp/sdk/build/release' 16:25:10 [ 79%] Linking C executable template-discovery 16:25:10 -- Detecting C compiler ABI info - done 16:25:10 -- Detecting C compile features 16:25:10 make[2]: Leaving directory '/tmp/sdk/build/release' 16:25:10 [ 80%] Built target template-discovery 16:25:10 make[2]: Entering directory '/tmp/sdk/build/release' 16:25:10 make[2]: Leaving directory '/tmp/sdk/build/release' 16:25:10 make[2]: Entering directory '/tmp/sdk/build/release' 16:25:10 [ 82%] Linking C executable device-terminal 16:25:10 make[2]: Leaving directory '/tmp/sdk/build/release' 16:25:10 [ 84%] Built target device-terminal 16:25:10 make[2]: Entering directory '/tmp/sdk/build/release' 16:25:10 make[2]: Leaving directory '/tmp/sdk/build/release' 16:25:10 make[2]: Entering directory '/tmp/sdk/build/release' 16:25:10 [ 85%] Linking C executable template2 16:25:10 make[2]: Leaving directory '/tmp/sdk/build/release' 16:25:10 [ 87%] Built target template2 16:25:10 make[2]: Entering directory '/tmp/sdk/build/release' 16:25:10 make[2]: Leaving directory '/tmp/sdk/build/release' 16:25:10 make[2]: Entering directory '/tmp/sdk/build/release' 16:25:10 [ 88%] Linking C executable device-counterv2 16:25:10 make[2]: Leaving directory '/tmp/sdk/build/release' 16:25:10 [ 90%] Built target device-counterv2 16:25:10 make[2]: Entering directory '/tmp/sdk/build/release' 16:25:10 make[2]: Leaving directory '/tmp/sdk/build/release' 16:25:10 make[2]: Entering directory '/tmp/sdk/build/release' 16:25:10 [ 92%] Linking C executable device-gyrov2 16:25:10 make[2]: Leaving directory '/tmp/sdk/build/release' 16:25:10 [ 93%] Built target device-gyrov2 16:25:10 make[2]: Entering directory '/tmp/sdk/build/release' 16:25:10 make[2]: Leaving directory '/tmp/sdk/build/release' 16:25:10 make[2]: Entering directory '/tmp/sdk/build/release' 16:25:10 [ 95%] Linking C executable device-randomv2 16:25:10 make[2]: Leaving directory '/tmp/sdk/build/release' 16:25:10 [ 96%] Built target device-randomv2 16:25:10 make[2]: Entering directory '/tmp/sdk/build/release' 16:25:10 make[2]: Leaving directory '/tmp/sdk/build/release' 16:25:10 make[2]: Entering directory '/tmp/sdk/build/release' 16:25:10 [ 98%] Linking C executable device-terminalv2 16:25:10 make[2]: Leaving directory '/tmp/sdk/build/release' 16:25:10 [100%] Built target device-terminalv2 16:25:10 make[1]: Leaving directory '/tmp/sdk/build/release' 16:25:10 Install the project... 16:25:10 -- Install configuration: "Release" 16:25:10 -- Installing: /usr/local/lib/libcsdk.so 16:25:10 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 16:25:10 -- Up-to-date: /usr/local/include 16:25:10 -- Installing: /usr/local/include/devsdk 16:25:10 -- Installing: /usr/local/include/devsdk/devsdk-base.h 16:25:10 -- Installing: /usr/local/include/devsdk/devsdk.h 16:25:10 -- Installing: /usr/local/include/edgex 16:25:10 -- Installing: /usr/local/include/edgex/device-mgmt.h 16:25:10 -- Installing: /usr/local/include/edgex/devices.h 16:25:10 -- Installing: /usr/local/include/edgex/devsdk.h 16:25:10 -- Installing: /usr/local/include/edgex/edgex-base.h 16:25:10 -- Installing: /usr/local/include/edgex/edgex-logging.h 16:25:10 -- Installing: /usr/local/include/edgex/edgex.h 16:25:10 -- Installing: /usr/local/include/edgex/error.h 16:25:10 -- Installing: /usr/local/include/edgex/eventgen.h 16:25:10 -- Installing: /usr/local/include/edgex/os.h 16:25:10 -- Installing: /usr/local/include/edgex/profiles.h 16:25:10 -- Installing: /usr/local/include/edgex/registry.h 16:25:10 -- Installing: /usr/local/include/edgex/rest-server.h 16:25:10 -- Installing: /usr/local/include/edgex/csdk-defs.h 16:25:10 -- Installing: /usr/local/include/iot 16:25:10 -- Installing: /usr/local/include/iot/base64.h 16:25:10 -- Installing: /usr/local/include/iot/component.h 16:25:10 -- Installing: /usr/local/include/iot/container.h 16:25:10 -- Installing: /usr/local/include/iot/data.h 16:25:10 -- Installing: /usr/local/include/iot/hash.h 16:25:10 -- Installing: /usr/local/include/iot/iot.h 16:25:10 -- Installing: /usr/local/include/iot/json.h 16:25:10 -- Installing: /usr/local/include/iot/logger.h 16:25:10 -- Installing: /usr/local/include/iot/os.h 16:25:10 -- Installing: /usr/local/include/iot/scheduler.h 16:25:10 -- Installing: /usr/local/include/iot/thread.h 16:25:10 -- Installing: /usr/local/include/iot/threadpool.h 16:25:10 -- Installing: /usr/local/include/iot/time.h 16:25:10 -- Installing: /usr/local/include/iot/os 16:25:10 -- Installing: /usr/local/include/iot/os/linux.h 16:25:10 -- Installing: /usr/local/include/iot/os/zephyr.h 16:25:10 -- Installing: /usr/local/share/device-sdk-c/LICENSE 16:25:10 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 16:25:10 make: Leaving directory '/tmp/sdk/build/release' 16:25:11 -- Detecting C compile features - done 16:25:11 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:25:11 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 16:25:11 -- Found LIBYAML: /usr/lib/libyaml.so 16:25:11 -- Found LIBUUID: /usr/lib/libuuid.so 16:25:11 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:25:11 -- C SDK 0.0.0 for Linux 16:25:11 -- Performing Test CSDK_HAVE_ATOMIC 16:25:11 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:25:11 -- Found Curses: /usr/lib/libcurses.so 16:25:11 -- Configuring done 16:25:11 -- Generating done 16:25:11 -- Build files have been written to: /tmp/sdk/build/release 16:25:11 + + maketee 16:25:11 release.log 16:25:12 Scanning dependencies of target csdk 16:25:12 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:25:12 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 16:25:13 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:25:13 Removing intermediate container 9ebbe1e2276a 16:25:13 ---> 9a6b0b863bf2 16:25:13 Step 14/21 : FROM alpine:3.9 16:25:13 3.9: Pulling from library/alpine 16:25:13 9123ac7c32f7: Pulling fs layer 16:25:13 9123ac7c32f7: Verifying Checksum 16:25:13 9123ac7c32f7: Download complete 16:25:13 9123ac7c32f7: Pull complete 16:25:13 Digest: sha256:115731bab0862031b44766733890091c17924f9b7781b79997f5f163be262178 16:25:13 Status: Downloaded newer image for alpine:3.9 16:25:13 ---> 82f67be598eb 16:25:13 Step 15/21 : MAINTAINER IOTech 16:25:13 ---> Running in 4cd5dc85e373 16:25:13 Removing intermediate container 4cd5dc85e373 16:25:13 ---> 2c7b5ffc4506 16:25:13 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 16:25:13 ---> Running in 85fad89a2e82 16:25:14 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:25:14 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 16:25:14 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 16:25:15 (1/48) Installing binutils (2.31.1-r2) 16:25:15 (2/48) Installing libmagic (5.36-r1) 16:25:15 (3/48) Installing file (5.36-r1) 16:25:15 (4/48) Installing gmp (6.1.2-r1) 16:25:15 (5/48) Installing isl (0.18-r0) 16:25:15 (6/48) Installing libgomp (8.3.0-r0) 16:25:15 (7/48) Installing libatomic (8.3.0-r0) 16:25:15 (8/48) Installing libgcc (8.3.0-r0) 16:25:15 (9/48) Installing mpfr3 (3.1.5-r1) 16:25:15 (10/48) Installing mpc1 (1.0.3-r1) 16:25:15 (11/48) Installing libstdc++ (8.3.0-r0) 16:25:15 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:25:15 (12/48) Installing gcc (8.3.0-r0) 16:25:15 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:25:16 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:25:17 (13/48) Installing musl-dev (1.1.20-r5) 16:25:17 [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:25:17 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:25:18 [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:25:18 (14/48) Installing libc-dev (0.7.1-r0) 16:25:18 (15/48) Installing g++ (8.3.0-r0) 16:25:19 [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:25:19 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:25:19 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:25:19 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:25:21 (16/48) Installing make (4.2.1-r2) 16:25:21 (17/48) Installing fortify-headers (1.0-r0) 16:25:21 (18/48) Installing build-base (0.5-r1) 16:25:21 (19/48) Installing libattr (2.4.47-r7) 16:25:21 (20/48) Installing libacl (2.2.52-r5) 16:25:21 (21/48) Installing libbz2 (1.0.6-r7) 16:25:21 (22/48) Installing expat (2.2.8-r0) 16:25:21 (23/48) Installing lz4-libs (1.8.3-r2) 16:25:21 (24/48) Installing xz-libs (5.2.4-r0) 16:25:21 (25/48) Installing libarchive (3.3.3-r2) 16:25:21 (26/48) Installing ca-certificates (20190108-r0) 16:25:21 (27/48) Installing nghttp2-libs (1.35.1-r1) 16:25:21 (28/48) Installing libssh2 (1.9.0-r1) 16:25:21 (29/48) Installing libcurl (7.64.0-r3) 16:25:21 (30/48) Installing ncurses-terminfo-base (6.1_p20190105-r0) 16:25:21 (31/48) Installing ncurses-terminfo (6.1_p20190105-r0) 16:25:21 (32/48) Installing ncurses-libs (6.1_p20190105-r0) 16:25:21 (33/48) Installing rhash-libs (1.3.6-r2) 16:25:21 (34/48) Installing libuv (1.23.2-r0) 16:25:21 (35/48) Installing cmake (3.13.0-r0) 16:25:23 (36/48) Installing curl (7.64.0-r3) 16:25:23 (37/48) Installing pcre2 (10.32-r1) 16:25:23 (38/48) Installing git (2.20.2-r0) 16:25:23 [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:25:23 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:25:23 (39/48) Installing nettle (3.4.1-r0) 16:25:23 (40/48) Installing libffi (3.2.1-r6) 16:25:23 (41/48) Installing p11-kit (0.23.14-r0) 16:25:23 (42/48) Installing libtasn1 (4.14-r0) 16:25:23 (43/48) Installing libunistring (0.9.10-r0) 16:25:23 (44/48) Installing gnutls (3.6.7-r1) 16:25:23 (45/48) Installing libmicrohttpd (0.9.62-r0) 16:25:23 (46/48) Installing libuuid (2.33-r0) 16:25:23 (47/48) Installing wget (1.20.3-r0) 16:25:23 (48/48) Installing yaml (0.2.1-r0) 16:25:23 Executing busybox-1.29.3-r10.trigger 16:25:23 Executing ca-certificates-20190108-r0.trigger 16:25:23 OK: 222 MiB in 62 packages 16:25:23 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:25:24 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:25:26 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:25:26 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:25:26 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:25:27 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:25:27 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:25:27 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:25:28 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:25:28 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:25:29 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:25:29 [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:25:30 [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:25:30 Removing intermediate container 85fad89a2e82 16:25:30 ---> ba88cb5fdb99 16:25:30 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 16:25:30 ---> 229c772d7d0f 16:25:30 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 16:25:30 ---> 97b0406ec816 16:25:30 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 16:25:30 ---> 20f1d91f1467 16:25:30 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 16:25:30 ---> 638255a93eed 16:25:30 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 16:25:30 [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:25:31 ---> cd25a72a2fff 16:25:31 Successfully built cd25a72a2fff 16:25:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } 16:25:31 [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:25:31 + docker inspect -f . ci-base-image-x86_64 16:25:31 . [Pipeline] withDockerContainer 16:25:31 prd-centos7-docker-4c-2g-1755 does not seem to be running inside a container 16:25:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/5 -v /w/workspace/device-sdk-c/5:/w/workspace/device-sdk-c/5:rw,z -v /w/workspace/device-sdk-c/5@tmp:/w/workspace/device-sdk-c/5@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 ******** ci-base-image-x86_64 cat 16:25:32 $ docker top 5452e07c1bb7e44206c7cc09184950b87e88ebf88d544de9ff0f7440d7486ed3 -eo pid,comm [Pipeline] { [Pipeline] sh 16:25:32 + make test 16:25:32 echo "make test" 16:25:32 make test [Pipeline] } 16:25:32 $ docker stop --time=1 5452e07c1bb7e44206c7cc09184950b87e88ebf88d544de9ff0f7440d7486ed3 16:25:34 $ docker rm -f 5452e07c1bb7e44206c7cc09184950b87e88ebf88d544de9ff0f7440d7486ed3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:25:35 [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:25:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:25:35 [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:25:35 + ls -al . 16:25:35 total 160 16:25:35 drwxrwxr-x. 8 jenkins jenkins 260 Apr 1 16:24 . 16:25:35 drwxrwxr-x. 4 jenkins jenkins 28 Apr 1 16:24 .. 16:25:35 -rw-rw-r--. 1 jenkins jenkins 3104 Apr 1 16:24 Attribution.txt 16:25:35 -rw-rw-r--. 1 jenkins jenkins 4941 Apr 1 16:24 CHANGES 16:25:35 drwxrwxr-x. 2 jenkins jenkins 144 Apr 1 16:24 docs 16:25:35 -rw-rw-r--. 1 jenkins jenkins 108574 Apr 1 16:24 Doxyfile 16:25:35 drwxrwxr-x. 8 jenkins jenkins 179 Apr 1 16:24 .git 16:25:35 -rw-rw-r--. 1 jenkins jenkins 176 Apr 1 16:24 .gitignore 16:25:35 drwxrwxr-x. 4 jenkins jenkins 33 Apr 1 16:24 include 16:25:35 -rw-rw-r--. 1 jenkins jenkins 792 Apr 1 16:24 Jenkinsfile 16:25:35 -rw-rw-r--. 1 jenkins jenkins 10174 Apr 1 16:24 LICENSE 16:25:35 -rw-rw-r--. 1 jenkins jenkins 448 Apr 1 16:24 Makefile 16:25:35 -rw-rw-r--. 1 jenkins jenkins 1849 Apr 1 16:24 README.md 16:25:35 -rw-rw-r--. 1 jenkins jenkins 5031 Apr 1 16:24 README.v2.md 16:25:35 drwxrwxr-x. 2 jenkins jenkins 106 Apr 1 16:24 scripts 16:25:35 drwxrwxr-x. 3 jenkins jenkins 58 Apr 1 16:24 .semver 16:25:35 drwxrwxr-x. 4 jenkins jenkins 50 Apr 1 16:24 src 16:25:35 -rw-rw-r--. 1 jenkins jenkins 5 Apr 1 16:21 VERSION [Pipeline] isUnix [Pipeline] sh 16:25:36 + 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=9db5f8fff4ba9010fac5857ef3f7cec0839b3c93 --label arch=amd64 --label version=0.0.0 . 16:25:36 Sending build context to Docker daemon 2.949MB 16:25:36 Step 1/15 : ARG BASE=alpine:3.9 16:25:36 Step 2/15 : FROM ${BASE} 16:25:36 ---> cd25a72a2fff 16:25:36 Step 3/15 : MAINTAINER IOTech 16:25:36 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:25:36 ---> Running in 0024994537ee 16:25:36 Removing intermediate container 0024994537ee 16:25:36 ---> 23a081795c4a 16:25:36 Step 4/15 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev && mkdir -p /edgex-c-sdk/build 16:25:36 ---> Running in 426819e71150 16:25:36 [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:25:36 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 16:25:36 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 16:25:36 (1/21) Installing pkgconf (1.6.0-r0) 16:25:36 (2/21) Installing openssl-dev (1.1.1d-r2) 16:25:37 (3/21) Installing zlib-dev (1.2.11-r1) 16:25:37 (4/21) Installing libssh2-dev (1.9.0-r1) 16:25:37 (5/21) Installing nghttp2-dev (1.35.1-r1) 16:25:37 (6/21) Installing curl-dev (7.64.0-r3) 16:25:37 (7/21) Installing gnutls-c++ (3.6.7-r1) 16:25:37 (8/21) Installing libgmpxx (6.1.2-r1) 16:25:37 (9/21) Installing gmp-dev (6.1.2-r1) 16:25:37 (10/21) Installing nettle-dev (3.4.1-r0) 16:25:38 (11/21) Installing libtasn1-dev (4.14-r0) 16:25:38 (12/21) Installing p11-kit-dev (0.23.14-r0) 16:25:38 (13/21) Installing gnutls-dev (3.6.7-r1) 16:25:38 (14/21) Installing libmicrohttpd-dev (0.9.62-r0) 16:25:38 (15/21) Installing ncurses-dev (6.1_p20190105-r0) 16:25:38 (16/21) Installing libblkid (2.33-r0) 16:25:38 (17/21) Installing libfdisk (2.33-r0) 16:25:38 (18/21) Installing libmount (2.33-r0) 16:25:38 (19/21) Installing libsmartcols (2.33-r0) 16:25:38 (20/21) Installing util-linux-dev (2.33-r0) 16:25:38 (21/21) Installing yaml-dev (0.2.1-r0) 16:25:38 Executing busybox-1.29.3-r10.trigger 16:25:38 OK: 265 MiB in 83 packages 16:25:38 [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:25:39 [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:25:40 Removing intermediate container 426819e71150 16:25:40 ---> 869f57dabbeb 16:25:40 Step 5/15 : COPY VERSION /edgex-c-sdk/ 16:25:40 ---> b33ce7b8c99c 16:25:40 Step 6/15 : COPY src /edgex-c-sdk/src/ 16:25:41 ---> cb7ce6374f1e 16:25:41 Step 7/15 : COPY include /edgex-c-sdk/include/ 16:25:41 ---> c154b72251e8 16:25:41 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 16:25:41 ---> 41da90b8180b 16:25:41 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 16:25:41 ---> 40150b619e4c 16:25:41 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 16:25:41 ---> 9b82aee31a63 16:25:41 Step 11/15 : WORKDIR /edgex-c-sdk 16:25:41 ---> Running in d782badab8e9 16:25:41 Removing intermediate container d782badab8e9 16:25:41 ---> ec7b5cae9f20 16:25:41 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 16:25:42 ---> Running in dce108fec9f1 16:25:42 Removing intermediate container dce108fec9f1 16:25:42 ---> d4a89b477668 16:25:42 Step 13/15 : LABEL arch=amd64 16:25:42 ---> Running in d66cafacc362 16:25:42 Removing intermediate container d66cafacc362 16:25:42 ---> 2120cae41c8e 16:25:42 Step 14/15 : LABEL git_sha=9db5f8fff4ba9010fac5857ef3f7cec0839b3c93 16:25:42 ---> Running in a086af908811 16:25:42 Removing intermediate container a086af908811 16:25:42 ---> 052acd9bae04 16:25:42 Step 15/15 : LABEL version=0.0.0 16:25:42 ---> Running in 6d5e62eac953 16:25:42 Removing intermediate container 6d5e62eac953 16:25:42 ---> 59d33f59ffb2 16:25:42 [Warning] One or more build-args [MAKE ARCH] were not consumed 16:25:42 Successfully built 59d33f59ffb2 16:25:42 Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } 16:25:43 [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage 16:25:43 [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [Pipeline] } 16:25:44 [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:25:45 [ 65%] Linking C shared library libcsdk.so 16:25:45 [ 65%] Built target csdk 16:25:45 Scanning dependencies of target template 16:25:45 [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:25:45 [ 68%] Linking C executable template 16:25:45 [ 68%] Built target template 16:25:45 Scanning dependencies of target device-counter 16:25:45 [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:25:46 [ 71%] Linking C executable device-counter 16:25:46 [ 71%] Built target device-counter 16:25:46 Scanning dependencies of target device-random 16:25:46 [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:25:47 [ 74%] Linking C executable device-random 16:25:47 [ 74%] Built target device-random 16:25:47 Scanning dependencies of target device-gyro 16:25:47 [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:25:47 [ 77%] Linking C executable device-gyro 16:25:47 [ 77%] Built target device-gyro 16:25:47 Scanning dependencies of target template-discovery 16:25:47 [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:25:48 [ 80%] Linking C executable template-discovery 16:25:48 [ 80%] Built target template-discovery 16:25:48 Scanning dependencies of target device-terminal 16:25:48 [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:25:49 [ 84%] Linking C executable device-terminal 16:25:49 [ 84%] Built target device-terminal 16:25:49 Scanning dependencies of target template2 16:25:49 [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o 16:25:50 [ 87%] Linking C executable template2 16:25:50 [ 87%] Built target template2 16:25:50 Scanning dependencies of target device-counterv2 16:25:50 [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o 16:25:51 [ 90%] Linking C executable device-counterv2 16:25:51 [ 90%] Built target device-counterv2 16:25:51 Scanning dependencies of target device-gyrov2 16:25:51 [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o 16:25:51 [ 93%] Linking C executable device-gyrov2 16:25:51 [ 93%] Built target device-gyrov2 16:25:51 Scanning dependencies of target device-randomv2 16:25:51 [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o 16:25:52 [ 96%] Linking C executable device-randomv2 16:25:52 [ 96%] Built target device-randomv2 16:25:52 Scanning dependencies of target device-terminalv2 16:25:52 [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o 16:25:53 [100%] Linking C executable device-terminalv2 16:25:53 [100%] Built target device-terminalv2 16:25:53 + + maketee package 16:25:53 -a release.log 16:25:53 [ 65%] Built target csdk 16:25:53 [ 68%] Built target template 16:25:53 [ 71%] Built target device-counter 16:25:53 [ 74%] Built target device-random 16:25:53 [ 77%] Built target device-gyro 16:25:53 [ 80%] Built target template-discovery 16:25:53 [ 84%] Built target device-terminal 16:25:53 [ 87%] Built target template2 16:25:53 [ 90%] Built target device-counterv2 16:25:53 [ 93%] Built target device-gyrov2 16:25:53 [ 96%] Built target device-randomv2 16:25:53 [100%] Built target device-terminalv2 16:25:53 Run CPack packaging tool... 16:25:53 CPack: Create package using TGZ 16:25:53 CPack: Install projects 16:25:53 CPack: - Run preinstall target for: Csdk 16:25:54 CPack: - Install project: Csdk 16:25:54 CPack: Create package 16:25:54 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 16:25:54 + '[' false '=' true ] 16:25:54 + '[' false '=' true ] 16:25:54 + mkdir -p /tmp/sdk/build/debug 16:25:54 + cd /tmp/sdk/build/debug 16:25:54 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 16:25:55 -- The C compiler identification is GNU 8.3.0 16:25:55 -- Check for working C compiler: /usr/bin/cc 16:25:55 -- Check for working C compiler: /usr/bin/cc -- works 16:25:55 -- Detecting C compiler ABI info 16:25:55 -- Detecting C compiler ABI info - done 16:25:55 -- Detecting C compile features 16:25:56 -- Detecting C compile features - done 16:25:56 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:25:56 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 16:25:56 -- Found LIBYAML: /usr/lib/libyaml.so 16:25:56 -- Found LIBUUID: /usr/lib/libuuid.so 16:25:56 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:25:56 -- C SDK 0.0.0 for Linux 16:25:56 -- Performing Test CSDK_HAVE_ATOMIC 16:25:56 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:25:56 -- Found Curses: /usr/lib/libcurses.so 16:25:56 -- Configuring done 16:25:57 -- Generating done 16:25:57 -- Build files have been written to: /tmp/sdk/build/debug 16:25:57 + make 16:25:57 + tee debug.log 16:25:57 Scanning dependencies of target csdk 16:25:57 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:25:57 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 16:25:57 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:25:58 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:25:58 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:25:58 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:25:59 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:25:59 [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:25:59 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:26:00 [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:26:00 [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:26:00 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:26:00 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:26:01 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:26:02 [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:26:02 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:26:02 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:26:02 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:26:03 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:26:03 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:26:03 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:26:03 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:26:04 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:26:04 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:26:04 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:26:04 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:26:04 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:26:05 [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:26:05 [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:26:05 [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:26:06 [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:26:06 [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:26:07 [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:26:07 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:26:07 [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:26:08 [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:26:09 [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:26:09 [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:26:09 [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 16:26:10 [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:26:10 [ 65%] Linking C shared library libcsdk.so 16:26:10 [ 65%] Built target csdk 16:26:10 Scanning dependencies of target template 16:26:10 [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:26:11 [ 68%] Linking C executable template 16:26:11 [ 68%] Built target template 16:26:11 Scanning dependencies of target device-counter 16:26:11 [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:26:11 [ 71%] Linking C executable device-counter 16:26:11 [ 71%] Built target device-counter 16:26:11 Scanning dependencies of target device-random 16:26:11 [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:26:12 [ 74%] Linking C executable device-random 16:26:12 [ 74%] Built target device-random 16:26:12 Scanning dependencies of target device-gyro 16:26:12 [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:26:12 [ 77%] Linking C executable device-gyro 16:26:12 [ 77%] Built target device-gyro 16:26:12 Scanning dependencies of target template-discovery 16:26:12 [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:26:13 [ 80%] Linking C executable template-discovery 16:26:13 [ 80%] Built target template-discovery 16:26:13 Scanning dependencies of target device-terminal 16:26:13 [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:26:13 [ 84%] Linking C executable device-terminal 16:26:13 [ 84%] Built target device-terminal 16:26:13 Scanning dependencies of target template2 16:26:13 [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o 16:26:14 [ 87%] Linking C executable template2 16:26:14 [ 87%] Built target template2 16:26:14 Scanning dependencies of target device-counterv2 16:26:14 [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o 16:26:14 [ 90%] Linking C executable device-counterv2 16:26:15 [ 90%] Built target device-counterv2 16:26:15 Scanning dependencies of target device-gyrov2 16:26:15 [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o 16:26:15 [ 93%] Linking C executable device-gyrov2 16:26:15 [ 93%] Built target device-gyrov2 16:26:15 Scanning dependencies of target device-randomv2 16:26:15 [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o 16:26:15 [ 96%] Linking C executable device-randomv2 16:26:15 [ 96%] Built target device-randomv2 16:26:15 Scanning dependencies of target device-terminalv2 16:26:16 [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o 16:26:16 [100%] Linking C executable device-terminalv2 16:26:16 [100%] Built target device-terminalv2 16:26:16 make: Entering directory '/tmp/sdk/build/release' 16:26:16 make[1]: Entering directory '/tmp/sdk/build/release' 16:26:16 make[2]: Entering directory '/tmp/sdk/build/release' 16:26:16 Scanning dependencies of target csdk 16:26:16 make[2]: Leaving directory '/tmp/sdk/build/release' 16:26:16 make[2]: Entering directory '/tmp/sdk/build/release' 16:26:16 [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:26:18 [ 3%] Linking C shared library libcsdk.so 16:26:18 make[2]: Leaving directory '/tmp/sdk/build/release' 16:26:18 [ 65%] Built target csdk 16:26:18 make[2]: Entering directory '/tmp/sdk/build/release' 16:26:18 make[2]: Leaving directory '/tmp/sdk/build/release' 16:26:18 make[2]: Entering directory '/tmp/sdk/build/release' 16:26:18 [ 66%] Linking C executable template 16:26:18 make[2]: Leaving directory '/tmp/sdk/build/release' 16:26:18 [ 68%] Built target template 16:26:18 make[2]: Entering directory '/tmp/sdk/build/release' 16:26:18 make[2]: Leaving directory '/tmp/sdk/build/release' 16:26:18 make[2]: Entering directory '/tmp/sdk/build/release' 16:26:18 [ 69%] Linking C executable device-counter 16:26:18 make[2]: Leaving directory '/tmp/sdk/build/release' 16:26:18 [ 71%] Built target device-counter 16:26:18 make[2]: Entering directory '/tmp/sdk/build/release' 16:26:18 make[2]: Leaving directory '/tmp/sdk/build/release' 16:26:18 make[2]: Entering directory '/tmp/sdk/build/release' 16:26:18 [ 73%] Linking C executable device-random 16:26:19 make[2]: Leaving directory '/tmp/sdk/build/release' 16:26:19 [ 74%] Built target device-random 16:26:19 make[2]: Entering directory '/tmp/sdk/build/release' 16:26:19 make[2]: Leaving directory '/tmp/sdk/build/release' 16:26:19 make[2]: Entering directory '/tmp/sdk/build/release' 16:26:19 [ 76%] Linking C executable device-gyro 16:26:19 make[2]: Leaving directory '/tmp/sdk/build/release' 16:26:19 [ 77%] Built target device-gyro 16:26:19 make[2]: Entering directory '/tmp/sdk/build/release' 16:26:19 make[2]: Leaving directory '/tmp/sdk/build/release' 16:26:19 make[2]: Entering directory '/tmp/sdk/build/release' 16:26:19 [ 79%] Linking C executable template-discovery 16:26:19 make[2]: Leaving directory '/tmp/sdk/build/release' 16:26:19 [ 80%] Built target template-discovery 16:26:19 make[2]: Entering directory '/tmp/sdk/build/release' 16:26:19 make[2]: Leaving directory '/tmp/sdk/build/release' 16:26:19 make[2]: Entering directory '/tmp/sdk/build/release' 16:26:19 [ 82%] Linking C executable device-terminal 16:26:19 make[2]: Leaving directory '/tmp/sdk/build/release' 16:26:19 [ 84%] Built target device-terminal 16:26:19 make[2]: Entering directory '/tmp/sdk/build/release' 16:26:19 make[2]: Leaving directory '/tmp/sdk/build/release' 16:26:19 make[2]: Entering directory '/tmp/sdk/build/release' 16:26:19 [ 85%] Linking C executable template2 16:26:20 make[2]: Leaving directory '/tmp/sdk/build/release' 16:26:20 [ 87%] Built target template2 16:26:20 make[2]: Entering directory '/tmp/sdk/build/release' 16:26:20 make[2]: Leaving directory '/tmp/sdk/build/release' 16:26:20 make[2]: Entering directory '/tmp/sdk/build/release' 16:26:20 [ 88%] Linking C executable device-counterv2 16:26:20 make[2]: Leaving directory '/tmp/sdk/build/release' 16:26:20 [ 90%] Built target device-counterv2 16:26:20 make[2]: Entering directory '/tmp/sdk/build/release' 16:26:20 make[2]: Leaving directory '/tmp/sdk/build/release' 16:26:20 make[2]: Entering directory '/tmp/sdk/build/release' 16:26:20 [ 92%] Linking C executable device-gyrov2 16:26:20 make[2]: Leaving directory '/tmp/sdk/build/release' 16:26:20 [ 93%] Built target device-gyrov2 16:26:20 make[2]: Entering directory '/tmp/sdk/build/release' 16:26:20 make[2]: Leaving directory '/tmp/sdk/build/release' 16:26:20 make[2]: Entering directory '/tmp/sdk/build/release' 16:26:20 [ 95%] Linking C executable device-randomv2 16:26:21 make[2]: Leaving directory '/tmp/sdk/build/release' 16:26:21 [ 96%] Built target device-randomv2 16:26:21 make[2]: Entering directory '/tmp/sdk/build/release' 16:26:21 make[2]: Leaving directory '/tmp/sdk/build/release' 16:26:21 make[2]: Entering directory '/tmp/sdk/build/release' 16:26:21 [ 98%] Linking C executable device-terminalv2 16:26:21 make[2]: Leaving directory '/tmp/sdk/build/release' 16:26:21 [100%] Built target device-terminalv2 16:26:21 make[1]: Leaving directory '/tmp/sdk/build/release' 16:26:21 Install the project... 16:26:21 -- Install configuration: "Release" 16:26:21 -- Installing: /usr/local/lib/libcsdk.so 16:26:21 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 16:26:21 -- Up-to-date: /usr/local/include 16:26:21 -- Installing: /usr/local/include/devsdk 16:26:21 -- Installing: /usr/local/include/devsdk/devsdk-base.h 16:26:21 -- Installing: /usr/local/include/devsdk/devsdk.h 16:26:21 -- Installing: /usr/local/include/edgex 16:26:21 -- Installing: /usr/local/include/edgex/devices.h 16:26:21 -- Installing: /usr/local/include/edgex/edgex.h 16:26:21 -- Installing: /usr/local/include/edgex/device-mgmt.h 16:26:21 -- Installing: /usr/local/include/edgex/profiles.h 16:26:21 -- Installing: /usr/local/include/edgex/edgex-base.h 16:26:21 -- Installing: /usr/local/include/edgex/error.h 16:26:21 -- Installing: /usr/local/include/edgex/registry.h 16:26:21 -- Installing: /usr/local/include/edgex/rest-server.h 16:26:21 -- Installing: /usr/local/include/edgex/os.h 16:26:21 -- Installing: /usr/local/include/edgex/devsdk.h 16:26:21 -- Installing: /usr/local/include/edgex/eventgen.h 16:26:21 -- Installing: /usr/local/include/edgex/edgex-logging.h 16:26:21 -- Installing: /usr/local/include/edgex/csdk-defs.h 16:26:21 -- Installing: /usr/local/include/iot 16:26:21 -- Installing: /usr/local/include/iot/hash.h 16:26:21 -- Installing: /usr/local/include/iot/thread.h 16:26:21 -- Installing: /usr/local/include/iot/json.h 16:26:21 -- Installing: /usr/local/include/iot/os 16:26:21 -- Installing: /usr/local/include/iot/os/zephyr.h 16:26:21 -- Installing: /usr/local/include/iot/os/linux.h 16:26:21 -- Installing: /usr/local/include/iot/base64.h 16:26:21 -- Installing: /usr/local/include/iot/container.h 16:26:21 -- Installing: /usr/local/include/iot/data.h 16:26:21 -- Installing: /usr/local/include/iot/threadpool.h 16:26:21 -- Installing: /usr/local/include/iot/scheduler.h 16:26:21 -- Installing: /usr/local/include/iot/component.h 16:26:21 -- Installing: /usr/local/include/iot/os.h 16:26:21 -- Installing: /usr/local/include/iot/logger.h 16:26:21 -- Installing: /usr/local/include/iot/time.h 16:26:21 -- Installing: /usr/local/include/iot/iot.h 16:26:21 -- Installing: /usr/local/share/device-sdk-c/LICENSE 16:26:21 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 16:26:21 make: Leaving directory '/tmp/sdk/build/release' 16:26:23 Removing intermediate container 2bbeaee8867b 16:26:23 ---> 582312cbb78e 16:26:23 Step 14/21 : FROM alpine:3.9 16:26:23 3.9: Pulling from library/alpine 16:26:23 eb93038481dd: Pulling fs layer 16:26:24 eb93038481dd: Verifying Checksum 16:26:25 eb93038481dd: Pull complete 16:26:25 Digest: sha256:115731bab0862031b44766733890091c17924f9b7781b79997f5f163be262178 16:26:25 Status: Downloaded newer image for alpine:3.9 16:26:25 ---> 355993758880 16:26:25 Step 15/21 : MAINTAINER IOTech 16:26:25 ---> Running in 0c32f5c31c24 16:26:25 Removing intermediate container 0c32f5c31c24 16:26:25 ---> dd1d99240ed9 16:26:25 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 16:26:25 ---> Running in 01d26330aa8d 16:26:26 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 16:26:27 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 16:26:27 (1/48) Installing binutils (2.31.1-r2) 16:26:27 (2/48) Installing libmagic (5.36-r1) 16:26:27 (3/48) Installing file (5.36-r1) 16:26:27 (4/48) Installing gmp (6.1.2-r1) 16:26:27 (5/48) Installing isl (0.18-r0) 16:26:27 (6/48) Installing libgomp (8.3.0-r0) 16:26:27 (7/48) Installing libatomic (8.3.0-r0) 16:26:27 (8/48) Installing libgcc (8.3.0-r0) 16:26:27 (9/48) Installing mpfr3 (3.1.5-r1) 16:26:27 (10/48) Installing mpc1 (1.0.3-r1) 16:26:27 (11/48) Installing libstdc++ (8.3.0-r0) 16:26:27 (12/48) Installing gcc (8.3.0-r0) 16:26:29 (13/48) Installing musl-dev (1.1.20-r5) 16:26:29 (14/48) Installing libc-dev (0.7.1-r0) 16:26:29 (15/48) Installing g++ (8.3.0-r0) 16:26:31 (16/48) Installing make (4.2.1-r2) 16:26:31 (17/48) Installing fortify-headers (1.0-r0) 16:26:31 (18/48) Installing build-base (0.5-r1) 16:26:31 (19/48) Installing libattr (2.4.47-r7) 16:26:31 (20/48) Installing libacl (2.2.52-r5) 16:26:31 (21/48) Installing libbz2 (1.0.6-r7) 16:26:31 (22/48) Installing expat (2.2.8-r0) 16:26:31 (23/48) Installing lz4-libs (1.8.3-r2) 16:26:31 (24/48) Installing xz-libs (5.2.4-r0) 16:26:31 (25/48) Installing libarchive (3.3.3-r2) 16:26:31 (26/48) Installing ca-certificates (20190108-r0) 16:26:31 (27/48) Installing nghttp2-libs (1.35.1-r1) 16:26:31 (28/48) Installing libssh2 (1.9.0-r1) 16:26:31 (29/48) Installing libcurl (7.64.0-r3) 16:26:31 (30/48) Installing ncurses-terminfo-base (6.1_p20190105-r0) 16:26:31 (31/48) Installing ncurses-terminfo (6.1_p20190105-r0) 16:26:32 (32/48) Installing ncurses-libs (6.1_p20190105-r0) 16:26:32 (33/48) Installing rhash-libs (1.3.6-r2) 16:26:32 (34/48) Installing libuv (1.23.2-r0) 16:26:32 (35/48) Installing cmake (3.13.0-r0) 16:26:33 (36/48) Installing curl (7.64.0-r3) 16:26:33 (37/48) Installing pcre2 (10.32-r1) 16:26:33 (38/48) Installing git (2.20.2-r0) 16:26:34 (39/48) Installing nettle (3.4.1-r0) 16:26:34 (40/48) Installing libffi (3.2.1-r6) 16:26:34 (41/48) Installing p11-kit (0.23.14-r0) 16:26:34 (42/48) Installing libtasn1 (4.14-r0) 16:26:34 (43/48) Installing libunistring (0.9.10-r0) 16:26:34 (44/48) Installing gnutls (3.6.7-r1) 16:26:34 (45/48) Installing libmicrohttpd (0.9.62-r0) 16:26:34 (46/48) Installing libuuid (2.33-r0) 16:26:34 (47/48) Installing wget (1.20.3-r0) 16:26:34 (48/48) Installing yaml (0.2.1-r0) 16:26:34 Executing busybox-1.29.3-r10.trigger 16:26:34 Executing ca-certificates-20190108-r0.trigger 16:26:34 OK: 219 MiB in 62 packages 16:26:49 Removing intermediate container 01d26330aa8d 16:26:49 ---> 3a72385477d7 16:26:49 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 16:26:49 ---> 5cc27bc48f76 16:26:49 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 16:26:49 ---> 4f543f9176dc 16:26:49 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 16:26:49 ---> 09ea60c1de6a 16:26:49 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 16:26:49 ---> 2028063ec146 16:26:49 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 16:26:50 ---> a3cc573a497d 16:26:50 Successfully built a3cc573a497d 16:26:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:26:51 + docker inspect -f . ci-base-image-arm64 16:26:51 . [Pipeline] withDockerContainer 16:26:51 prd-ubuntu18.04-docker-arm64-4c-16g-1754 does not seem to be running inside a container 16:26:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/5 -v /w/workspace/device-sdk-c/5:/w/workspace/device-sdk-c/5:rw,z -v /w/workspace/device-sdk-c/5@tmp:/w/workspace/device-sdk-c/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:26:53 $ docker top 99cd21d070e6028b36f08f1f225643fc964506e5af72710aa89c8aeed1f51b0a -eo pid,comm [Pipeline] { [Pipeline] sh 16:26:54 + make test 16:26:54 echo "make test" 16:26:54 make test [Pipeline] } 16:26:54 $ docker stop --time=1 99cd21d070e6028b36f08f1f225643fc964506e5af72710aa89c8aeed1f51b0a 16:26:56 $ docker rm -f 99cd21d070e6028b36f08f1f225643fc964506e5af72710aa89c8aeed1f51b0a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:26:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:26:57 + ls -al . 16:26:57 total 192 16:26:57 drwxrwxr-x 8 jenkins jenkins 4096 Apr 1 16:24 . 16:26:57 drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 16:24 .. 16:26:57 drwxrwxr-x 8 jenkins jenkins 4096 Apr 1 16:24 .git 16:26:57 -rw-rw-r-- 1 jenkins jenkins 176 Apr 1 16:24 .gitignore 16:26:57 drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 16:24 .semver 16:26:57 -rw-rw-r-- 1 jenkins jenkins 3104 Apr 1 16:24 Attribution.txt 16:26:57 -rw-rw-r-- 1 jenkins jenkins 4941 Apr 1 16:24 CHANGES 16:26:57 -rw-rw-r-- 1 jenkins jenkins 108574 Apr 1 16:24 Doxyfile 16:26:57 -rw-rw-r-- 1 jenkins jenkins 792 Apr 1 16:24 Jenkinsfile 16:26:57 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 1 16:24 LICENSE 16:26:57 -rw-rw-r-- 1 jenkins jenkins 448 Apr 1 16:24 Makefile 16:26:57 -rw-rw-r-- 1 jenkins jenkins 1849 Apr 1 16:24 README.md 16:26:57 -rw-rw-r-- 1 jenkins jenkins 5031 Apr 1 16:24 README.v2.md 16:26:57 -rw-rw-r-- 1 jenkins jenkins 5 Apr 1 16:21 VERSION 16:26:57 drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 16:24 docs 16:26:57 drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 16:24 include 16:26:57 drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 16:24 scripts 16:26:57 drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 16:24 src [Pipeline] isUnix [Pipeline] sh 16:26:57 + 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=9db5f8fff4ba9010fac5857ef3f7cec0839b3c93 --label arch=arm64 --label version=0.0.0 . 16:26:58 Sending build context to Docker daemon 2.949MB 16:26:58 Step 1/15 : ARG BASE=alpine:3.9 16:26:58 Step 2/15 : FROM ${BASE} 16:26:58 ---> a3cc573a497d 16:26:58 Step 3/15 : MAINTAINER IOTech 16:26:58 ---> Running in 575af6749bf8 16:26:58 Removing intermediate container 575af6749bf8 16:26:58 ---> 5e9461004a7b 16:26:58 Step 4/15 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev && mkdir -p /edgex-c-sdk/build 16:26:59 ---> Running in fc75ff2fc461 16:27:00 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 16:27:00 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 16:27:00 (1/21) Installing pkgconf (1.6.0-r0) 16:27:00 (2/21) Installing openssl-dev (1.1.1d-r2) 16:27:01 (3/21) Installing zlib-dev (1.2.11-r1) 16:27:01 (4/21) Installing libssh2-dev (1.9.0-r1) 16:27:01 (5/21) Installing nghttp2-dev (1.35.1-r1) 16:27:01 (6/21) Installing curl-dev (7.64.0-r3) 16:27:01 (7/21) Installing gnutls-c++ (3.6.7-r1) 16:27:01 (8/21) Installing libgmpxx (6.1.2-r1) 16:27:01 (9/21) Installing gmp-dev (6.1.2-r1) 16:27:01 (10/21) Installing nettle-dev (3.4.1-r0) 16:27:01 (11/21) Installing libtasn1-dev (4.14-r0) 16:27:01 (12/21) Installing p11-kit-dev (0.23.14-r0) 16:27:01 (13/21) Installing gnutls-dev (3.6.7-r1) 16:27:01 (14/21) Installing libmicrohttpd-dev (0.9.62-r0) 16:27:01 (15/21) Installing ncurses-dev (6.1_p20190105-r0) 16:27:01 (16/21) Installing libblkid (2.33-r0) 16:27:01 (17/21) Installing libfdisk (2.33-r0) 16:27:01 (18/21) Installing libmount (2.33-r0) 16:27:01 (19/21) Installing libsmartcols (2.33-r0) 16:27:01 (20/21) Installing util-linux-dev (2.33-r0) 16:27:01 (21/21) Installing yaml-dev (0.2.1-r0) 16:27:01 Executing busybox-1.29.3-r10.trigger 16:27:01 OK: 279 MiB in 83 packages 16:27:05 Removing intermediate container fc75ff2fc461 16:27:05 ---> 725b93596e98 16:27:05 Step 5/15 : COPY VERSION /edgex-c-sdk/ 16:27:05 ---> 6d10c09a2440 16:27:05 Step 6/15 : COPY src /edgex-c-sdk/src/ 16:27:06 ---> efd6d734bdb7 16:27:06 Step 7/15 : COPY include /edgex-c-sdk/include/ 16:27:06 ---> 4720e92929dc 16:27:06 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 16:27:07 ---> bbc2bbd4f103 16:27:07 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 16:27:08 ---> 1be111f9cbb5 16:27:08 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 16:27:08 ---> 45c1ef220167 16:27:08 Step 11/15 : WORKDIR /edgex-c-sdk 16:27:08 ---> Running in 2a4f6f29999f 16:27:08 Removing intermediate container 2a4f6f29999f 16:27:08 ---> bc7df3033fe7 16:27:08 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 16:27:09 ---> Running in 7dc36fb83cc7 16:27:09 Removing intermediate container 7dc36fb83cc7 16:27:09 ---> 553b1d8f837f 16:27:09 Step 13/15 : LABEL arch=arm64 16:27:09 ---> Running in 065f861e6cfa 16:27:09 Removing intermediate container 065f861e6cfa 16:27:09 ---> 27114ac31f18 16:27:09 Step 14/15 : LABEL git_sha=9db5f8fff4ba9010fac5857ef3f7cec0839b3c93 16:27:09 ---> Running in cf2740db5f14 16:27:10 Removing intermediate container cf2740db5f14 16:27:10 ---> 832691bdf741 16:27:10 Step 15/15 : LABEL version=0.0.0 16:27:10 ---> Running in 9c338131b22c 16:27:10 Removing intermediate container 9c338131b22c 16:27:10 ---> fad6e456a404 16:27:10 [Warning] One or more build-args [MAKE ARCH] were not consumed 16:27:10 Successfully built fad6e456a404 16:27:10 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] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 16:27:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:27:12 ---> package-listing.sh 16:27:12 ++ facter osfamily 16:27:12 ++ tr '[:upper:]' '[:lower:]' 16:27:12 + OS_FAMILY=redhat 16:27:12 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-245 16:27:12 + START_PACKAGES=/tmp/packages_start.txt 16:27:12 + END_PACKAGES=/tmp/packages_end.txt 16:27:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:27:12 + PACKAGES=/tmp/packages_start.txt 16:27:12 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-245 ']' 16:27:12 + PACKAGES=/tmp/packages_end.txt 16:27:12 + case "${OS_FAMILY}" in 16:27:12 + rpm -qa 16:27:12 + sort 16:27:17 + '[' -f /tmp/packages_start.txt ']' 16:27:17 + '[' -f /tmp/packages_end.txt ']' 16:27:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:27:17 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-245 ']' 16:27:17 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-245/archives/ 16:27:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-245/archives/ [Pipeline] isUnix [Pipeline] sh 16:27:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:27:17 16:27:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 16:27:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:27:17 alpine: Pulling from edgex-lftools-log-publisher 16:27:17 c9b1b535fdd9: Pulling fs layer 16:27:17 2cc5ad85d9ab: Pulling fs layer 16:27:17 756a868c4378: Pulling fs layer 16:27:17 444b2fc9a129: Pulling fs layer 16:27:17 ea15f1150254: Pulling fs layer 16:27:17 41b27a9f41bf: Pulling fs layer 16:27:17 28c525ee5125: Pulling fs layer 16:27:17 094b1ea09ed8: Pulling fs layer 16:27:17 138eaada9080: Pulling fs layer 16:27:17 0622d0fa9048: Pulling fs layer 16:27:17 28c525ee5125: Waiting 16:27:17 094b1ea09ed8: Waiting 16:27:17 138eaada9080: Waiting 16:27:17 0622d0fa9048: Waiting 16:27:17 ea15f1150254: Waiting 16:27:17 444b2fc9a129: Waiting 16:27:17 41b27a9f41bf: Waiting 16:27:18 2cc5ad85d9ab: Verifying Checksum 16:27:18 2cc5ad85d9ab: Download complete 16:27:18 444b2fc9a129: Verifying Checksum 16:27:18 444b2fc9a129: Download complete 16:27:18 c9b1b535fdd9: Verifying Checksum 16:27:18 c9b1b535fdd9: Download complete 16:27:18 ea15f1150254: Verifying Checksum 16:27:18 ea15f1150254: Download complete 16:27:18 28c525ee5125: Verifying Checksum 16:27:18 28c525ee5125: Download complete 16:27:18 c9b1b535fdd9: Pull complete 16:27:18 2cc5ad85d9ab: Pull complete 16:27:18 756a868c4378: Verifying Checksum 16:27:18 756a868c4378: Download complete 16:27:18 094b1ea09ed8: Verifying Checksum 16:27:18 094b1ea09ed8: Download complete 16:27:18 0622d0fa9048: Verifying Checksum 16:27:18 0622d0fa9048: Download complete 16:27:18 138eaada9080: Verifying Checksum 16:27:18 138eaada9080: Download complete 16:27:19 41b27a9f41bf: Verifying Checksum 16:27:19 41b27a9f41bf: Download complete 16:27:20 756a868c4378: Pull complete 16:27:20 444b2fc9a129: Pull complete 16:27:21 ea15f1150254: Pull complete 16:27:24 41b27a9f41bf: Pull complete 16:27:24 28c525ee5125: Pull complete 16:27:26 094b1ea09ed8: Pull complete 16:27:26 138eaada9080: Pull complete 16:27:26 0622d0fa9048: Pull complete 16:27:26 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 16:27:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 16:27:26 prd-centos7-docker-4c-2g-1752 does not seem to be running inside a container 16:27:26 $ 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-245 -v /w/workspace/edgexfoundry_device-sdk-c_PR-245:/w/workspace/edgexfoundry_device-sdk-c_PR-245:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-245@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-245@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 16:27:27 $ docker top b4b83007bbd939d7d83cea20dd84be274cc4c6f0dc81285f834ac960c1647817 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:27:28 provisioning config files... 16:27:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-245@tmp/config2356337625630415342tmp [Pipeline] { [Pipeline] echo 16:27:28 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:27:28 ---> create-netrc.sh [Pipeline] echo 16:27:28 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:27:28 ---> logs-deploy.sh 16:27:28 + ARCHIVE_ARTIFACTS= 16:27:28 + LOGS_SERVER=https://logs.edgexfoundry.org 16:27:28 + '[' https://logs.edgexfoundry.org == None ']' 16:27:28 + NEXUS_URL=https://nexus.edgexfoundry.org 16:27:28 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-245/5 16:27:28 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-245/5/ 16:27:28 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-245/5 /w/workspace/edgexfoundry_device-sdk-c_PR-245 16:27:30 Archives upload complete. 16:27:30 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-245/5 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-245/5/ 16:27:30 ---> uname -a: 16:27:30 Linux b4b83007bbd9 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux 16:27:30 16:27:30 16:27:30 ---> lscpu: 16:27:30 Architecture: x86_64 16:27:30 CPU op-mode(s): 32-bit, 64-bit 16:27:30 Byte Order: Little Endian 16:27:30 Address sizes: 40 bits physical, 48 bits virtual 16:27:30 CPU(s): 4 16:27:30 On-line CPU(s) list: 0-3 16:27:30 Thread(s) per core: 1 16:27:30 Core(s) per socket: 1 16:27:30 Socket(s): 4 16:27:30 NUMA node(s): 1 16:27:30 Vendor ID: GenuineIntel 16:27:30 CPU family: 6 16:27:30 Model: 44 16:27:30 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 16:27:30 Stepping: 1 16:27:30 CPU MHz: 2933.438 16:27:30 BogoMIPS: 5866.87 16:27:30 Virtualization: VT-x 16:27:30 Hypervisor vendor: KVM 16:27:30 Virtualization type: full 16:27:30 L1d cache: 128 KiB 16:27:30 L1i cache: 128 KiB 16:27:30 L2 cache: 16 MiB 16:27:30 L3 cache: 64 MiB 16:27:30 NUMA node0 CPU(s): 0-3 16:27:30 Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes 16:27:30 Vulnerability Meltdown: Mitigation; PTI 16:27:30 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 16:27:30 Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization 16:27:30 Vulnerability Spectre v2: Mitigation; Full retpoline 16:27:30 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 16:27:30 16:27:30 16:27:30 ---> nproc: 16:27:30 4 16:27:30 16:27:30 16:27:30 ---> df -h: 16:27:30 Filesystem Size Used Available Use% Mounted on 16:27:30 overlay 50.0G 6.3G 43.7G 13% / 16:27:30 tmpfs 64.0M 0 64.0M 0% /dev 16:27:30 tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup 16:27:30 shm 64.0M 0 64.0M 0% /dev/shm 16:27:30 /dev/vda1 50.0G 6.3G 43.7G 13% /etc/resolv.conf 16:27:30 /dev/vda1 50.0G 6.3G 43.7G 13% /etc/hostname 16:27:30 /dev/vda1 50.0G 6.3G 43.7G 13% /etc/hosts 16:27:30 /dev/vda1 50.0G 6.3G 43.7G 13% /var/log/sa 16:27:30 /dev/vda1 50.0G 6.3G 43.7G 13% /w/workspace/edgexfoundry_device-sdk-c_PR-245 16:27:30 /dev/vda1 50.0G 6.3G 43.7G 13% /w/workspace/edgexfoundry_device-sdk-c_PR-245@tmp 16:27:30 16:27:30 16:27:30 ---> free -m: 16:27:30 total used free shared buff/cache available 16:27:30 Mem: 1838 604 73 0 1160 1128 16:27:30 Swap: 1023 0 1023 16:27:30 16:27:30 16:27:30 ---> ip addr: 16:27:30 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 16:27:30 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 16:27:30 inet 127.0.0.1/8 scope host lo 16:27:30 valid_lft forever preferred_lft forever 16:27:30 6: eth0@if7: mtu 1458 qdisc noqueue state UP 16:27:30 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 16:27:30 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 16:27:30 valid_lft forever preferred_lft forever 16:27:30 16:27:30 16:27:30 ---> sar -b -r -n DEV: 16:27:30 Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 04/01/20 _x86_64_ (4 CPU) 16:27:30 16:27:30 16:20:52 LINUX RESTART 16:27:30 16:27:30 16:22:01 tps rtps wtps bread/s bwrtn/s 16:27:30 16:23:01 13.34 0.00 13.34 0.00 2163.24 16:27:30 16:24:01 0.35 0.00 0.35 0.00 5.10 16:27:30 16:25:01 0.27 0.00 0.27 0.00 3.75 16:27:30 16:26:01 0.27 0.00 0.27 0.00 3.16 16:27:30 16:27:01 0.40 0.00 0.40 0.00 6.26 16:27:30 Average: 2.92 0.00 2.92 0.00 436.29 16:27:30 16:27:30 16:22:01 kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 16:27:30 16:23:01 112060 1770244 94.05 2620 1226324 938120 32.01 446344 1165260 8 16:27:30 16:24:01 116612 1765692 93.80 2620 1226328 901808 30.77 443132 1164960 16 16:27:30 16:25:01 118016 1764288 93.73 2620 1226392 901484 30.76 441512 1164912 20 16:27:30 16:26:01 119056 1763248 93.67 2620 1226340 901340 30.75 440636 1164904 8 16:27:30 16:27:01 119096 1763208 93.67 2620 1226348 901372 30.75 441088 1164904 8 16:27:30 Average: 116968 1765336 93.79 2620 1226346 908825 31.01 442542 1164988 12 16:27:30 16:27:30 16:22:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 16:27:30 16:23:01 eth0 1.02 0.28 0.31 0.20 0.00 0.00 0.00 16:27:30 16:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:27:30 16:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:27:30 16:24:01 eth0 1.10 0.52 0.33 0.18 0.00 0.00 0.00 16:27:30 16:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:27:30 16:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:27:30 16:25:01 eth0 0.53 0.40 0.27 0.24 0.00 0.00 0.00 16:27:30 16:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:27:30 16:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:27:30 16:26:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 16:27:30 16:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:27:30 16:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:27:30 16:27:01 eth0 0.28 0.23 0.14 0.07 0.00 0.00 0.00 16:27:30 16:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:27:30 16:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:27:30 Average: eth0 0.61 0.30 0.21 0.14 0.00 0.00 0.00 16:27:30 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:27:30 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:27:30 16:27:30 16:27:30 ---> sar -P ALL: 16:27:30 Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 04/01/20 _x86_64_ (4 CPU) 16:27:30 16:27:30 16:20:52 LINUX RESTART 16:27:30 16:27:30 16:22:01 CPU %user %nice %system %iowait %steal %idle 16:27:30 16:23:01 all 0.21 0.00 0.10 0.00 0.00 99.68 16:27:30 16:23:01 0 0.10 0.00 0.12 0.00 0.00 99.78 16:27:30 16:23:01 1 0.12 0.00 0.10 0.00 0.00 99.78 16:27:30 16:23:01 2 0.07 0.00 0.13 0.00 0.00 99.80 16:27:30 16:23:01 3 0.58 0.00 0.07 0.00 0.00 99.35 16:27:30 16:24:01 all 0.21 0.00 0.05 0.00 0.00 99.73 16:27:30 16:24:01 0 0.08 0.00 0.07 0.00 0.00 99.85 16:27:30 16:24:01 1 0.08 0.00 0.05 0.00 0.02 99.85 16:27:30 16:24:01 2 0.15 0.00 0.05 0.00 0.00 99.80 16:27:30 16:24:01 3 0.52 0.00 0.07 0.00 0.02 99.40 16:27:30 16:25:01 all 0.17 0.00 0.06 0.00 0.00 99.76 16:27:30 16:25:01 0 0.05 0.00 0.03 0.00 0.00 99.92 16:27:30 16:25:01 1 0.08 0.00 0.12 0.00 0.00 99.80 16:27:30 16:25:01 2 0.52 0.00 0.03 0.00 0.00 99.45 16:27:30 16:25:01 3 0.03 0.00 0.03 0.00 0.00 99.93 16:27:30 16:26:01 all 0.20 0.00 0.04 0.00 0.00 99.76 16:27:30 16:26:01 0 0.03 0.00 0.03 0.00 0.00 99.93 16:27:30 16:26:01 1 0.10 0.00 0.07 0.00 0.00 99.83 16:27:30 16:26:01 2 0.57 0.00 0.03 0.00 0.02 99.38 16:27:30 16:26:01 3 0.07 0.00 0.07 0.02 0.00 99.85 16:27:30 16:27:01 all 0.18 0.00 0.05 0.00 0.00 99.77 16:27:30 16:27:01 0 0.05 0.00 0.03 0.00 0.02 99.90 16:27:30 16:27:01 1 0.07 0.00 0.05 0.00 0.00 99.88 16:27:30 16:27:01 2 0.55 0.00 0.03 0.00 0.00 99.42 16:27:30 16:27:01 3 0.08 0.00 0.05 0.00 0.00 99.87 16:27:30 Average: all 0.19 0.00 0.06 0.00 0.00 99.74 16:27:30 Average: 0 0.06 0.00 0.06 0.00 0.00 99.88 16:27:30 Average: 1 0.09 0.00 0.08 0.00 0.00 99.83 16:27:30 Average: 2 0.37 0.00 0.06 0.00 0.00 99.57 16:27:30 Average: 3 0.26 0.00 0.06 0.00 0.00 99.68 16:27:30 16:27:30 16:27:30