Pull request #270 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of jamesrgregg for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 84ab060de2acfc7e944fade273d3b37ae45e656d+fe664e697b23228791073c46494919a610be639c (8bcc083c2cf011c71a356e0eb6d43c10e14691d6) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 370697454611dc68c0596e0d0a50477a8de841a8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 370697454611dc68c0596e0d0a50477a8de841a8 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-270/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-3.11-base, dockerFilePath:scripts/Dockerfile.alpine-3.11, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine-3.11 DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-3.11-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-c DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3384 in /w/workspace/edgexfoundry_device-sdk-c_PR-270 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-270 # 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/270/head:refs/remotes/origin/PR-270 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit fe664e697b23228791073c46494919a610be639c into PR head commit 84ab060de2acfc7e944fade273d3b37ae45e656d Merge succeeded, producing 84ab060de2acfc7e944fade273d3b37ae45e656d Checking out Revision 84ab060de2acfc7e944fade273d3b37ae45e656d (PR-270) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/270/head:refs/remotes/origin/PR-270 # 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/270/head:refs/remotes/origin/PR-270 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 84ab060de2acfc7e944fade273d3b37ae45e656d # 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 fe664e697b23228791073c46494919a610be639c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 84ab060de2acfc7e944fade273d3b37ae45e656d # timeout=10 Commit message: "Add standard PR template" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:34:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:34:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:34:57 ========================================================= 18:34:57 EdgeX Global Pipelines Version Info 18:34:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:34:59 ------------------- 18:34:59 stable info: 18:34:59 ------------------- 18:34:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:34:59 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 18:34:59 Message: update stable to v1.0.89 18:35:00 ------------------- 18:35:00 experimental info: 18:35:00 ------------------- 18:35:00 Commited By: **** collab-it+edgex@linuxfoundation.org 18:35:00 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 18:35:00 Message: update experimental to v1.0.89 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 18:35:01 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:35:01 18:35:01 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:35:02 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:35:02 latest: Pulling from edgex-devops/git-semver 18:35:02 9123ac7c32f7: Pulling fs layer 18:35:02 b8cc5d1170e3: Pulling fs layer 18:35:02 2924cbbf6a41: Pulling fs layer 18:35:02 93b08a4f1073: Pulling fs layer 18:35:02 93b08a4f1073: Waiting 18:35:02 b8cc5d1170e3: Verifying Checksum 18:35:02 b8cc5d1170e3: Download complete 18:35:02 9123ac7c32f7: Verifying Checksum 18:35:02 9123ac7c32f7: Download complete 18:35:02 93b08a4f1073: Verifying Checksum 18:35:02 93b08a4f1073: Download complete 18:35:02 2924cbbf6a41: Verifying Checksum 18:35:02 2924cbbf6a41: Download complete 18:35:02 9123ac7c32f7: Pull complete 18:35:02 b8cc5d1170e3: Pull complete 18:35:03 2924cbbf6a41: Pull complete 18:35:03 93b08a4f1073: Pull complete 18:35:03 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 18:35:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:35:03 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:35:03 prd-centos7-docker-4c-2g-3384 does not seem to be running inside a container 18:35:03 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-270 -v /w/workspace/edgexfoundry_device-sdk-c_PR-270:/w/workspace/edgexfoundry_device-sdk-c_PR-270:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-270@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-270@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 18:35:05 $ docker top fbab7be8c5856ac0e7558fac381db1aeedd2ba326070307707948c02af88b881 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:35:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:35:06 [ssh-agent] Looking for ssh-agent implementation... 18:35:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:35:06 $ docker exec fbab7be8c5856ac0e7558fac381db1aeedd2ba326070307707948c02af88b881 ssh-agent 18:35:06 SSH_AUTH_SOCK=/tmp/ssh-XLuDEJOBAKx2/agent.11 18:35:06 SSH_AGENT_PID=16 18:35:06 Running ssh-add (command line suppressed) 18:35:06 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-270@tmp/private_key_3812000799945254325.key (/w/workspace/edgexfoundry_device-sdk-c_PR-270@tmp/private_key_3812000799945254325.key) 18:35:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:35:07 + git describe --exact-match --tags HEAD 18:35:07 fatal: No names found, cannot describe anything. [Pipeline] } 18:35:07 $ docker exec --env ******** --env ******** fbab7be8c5856ac0e7558fac381db1aeedd2ba326070307707948c02af88b881 ssh-agent -k 18:35:07 unset SSH_AUTH_SOCK; 18:35:07 unset SSH_AGENT_PID; 18:35:07 echo Agent pid 16 killed; 18:35:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 18:35:07 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 18:35:07 This usually means this commit has not been tagged. [Pipeline] sshagent 18:35:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:35:07 [ssh-agent] Looking for ssh-agent implementation... 18:35:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:35:07 $ docker exec fbab7be8c5856ac0e7558fac381db1aeedd2ba326070307707948c02af88b881 ssh-agent 18:35:07 SSH_AUTH_SOCK=/tmp/ssh-Kgefzgz9vDgf/agent.44 18:35:07 SSH_AGENT_PID=49 18:35:07 Running ssh-add (command line suppressed) 18:35:08 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-270@tmp/private_key_4189235732314773335.key (/w/workspace/edgexfoundry_device-sdk-c_PR-270@tmp/private_key_4189235732314773335.key) 18:35:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:35:08 + git semver init 18:35:08 # -> Open(): unable to determine branch for HEAD 18:35:08 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-270/.git 18:35:08 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-270 18:35:08 # $SEMVER_REMOTE_NAME = origin 18:35:08 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:35:08 # $SEMVER_USER_NAME = edgex-jenkins 18:35:08 # $SEMVER_BRANCH = PR-270 18:35:08 # $SEMVER_TEMP = /tmp/semver-664292146 18:35:08 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 18:35:08 # '/tmp/semver-664292146' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-270/.semver' 18:35:08 # -> Force: false 18:35:08 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-270/.semver [Pipeline] } 18:35:08 $ docker exec --env ******** --env ******** fbab7be8c5856ac0e7558fac381db1aeedd2ba326070307707948c02af88b881 ssh-agent -k 18:35:09 unset SSH_AUTH_SOCK; 18:35:09 unset SSH_AGENT_PID; 18:35:09 echo Agent pid 49 killed; 18:35:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:35:09 + git semver [Pipeline] } 18:35:09 $ docker stop --time=1 fbab7be8c5856ac0e7558fac381db1aeedd2ba326070307707948c02af88b881 18:35:10 $ docker rm -f fbab7be8c5856ac0e7558fac381db1aeedd2ba326070307707948c02af88b881 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 18:35:11 Stashed 50 file(s) [Pipeline] echo 18:35:11 [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 18:35:26 Still waiting to schedule task 18:35:26 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3384’ 18:35:26 Still waiting to schedule task 18:35:26 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 18:37:00 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3385 in /w/workspace/edgexfoundry_device-sdk-c_PR-270 [Pipeline] { [Pipeline] ws 18:37:00 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 18:37:05 using credential edgex-jenkins-ssh 18:37:06 Cloning the remote Git repository 18:37:06 Cloning with configured refspecs honoured and without tags 18:37:06 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 18:37:06 > git init /w/workspace/device-sdk-c/1 # timeout=10 18:37:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 18:37:06 > git --version # timeout=10 18:37:06 using GIT_SSH to set credentials SSH Credentials for GitHub 18:37:06 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/270/head:refs/remotes/origin/PR-270 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:37:07 Fetching without tags 18:37:07 Merging remotes/origin/master commit fe664e697b23228791073c46494919a610be639c into PR head commit 84ab060de2acfc7e944fade273d3b37ae45e656d 18:37:08 Merge succeeded, producing 84ab060de2acfc7e944fade273d3b37ae45e656d 18:37:08 Checking out Revision 84ab060de2acfc7e944fade273d3b37ae45e656d (PR-270) 18:37:07 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 18:37:07 > git config --add remote.origin.fetch +refs/pull/270/head:refs/remotes/origin/PR-270 # timeout=10 18:37:07 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 18:37:07 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 18:37:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 18:37:07 using GIT_SSH to set credentials SSH Credentials for GitHub 18:37:07 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/270/head:refs/remotes/origin/PR-270 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:37:07 > git config core.sparsecheckout # timeout=10 18:37:07 > git checkout -f 84ab060de2acfc7e944fade273d3b37ae45e656d # timeout=10 18:37:07 > git remote # timeout=10 18:37:07 > git config --get remote.origin.url # timeout=10 18:37:08 using GIT_SSH to set credentials SSH Credentials for GitHub 18:37:08 > git merge fe664e697b23228791073c46494919a610be639c # timeout=10 18:37:08 > git rev-parse HEAD^{commit} # timeout=10 18:37:08 > git config core.sparsecheckout # timeout=10 18:37:08 > git checkout -f 84ab060de2acfc7e944fade273d3b37ae45e656d # timeout=10 18:37:12 Commit message: "Add standard PR template" 18:37:12 > git --version # timeout=10 18:37:12 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 18:37:14 ========================================================= 18:37:14 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 18:37:14 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:37:15 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-3.11-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 18:37:16 Sending build context to Docker daemon 3.292MB 18:37:16 Step 1/21 : ARG BASE=alpine:3.11 18:37:16 Step 2/21 : FROM ${BASE} as builder 18:37:16 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 18:37:16 0362ad1dd800: Pulling fs layer 18:37:16 f2cdb1532d8b: Pulling fs layer 18:37:16 37ed683be191: Pulling fs layer 18:37:16 f2cdb1532d8b: Download complete 18:37:16 0362ad1dd800: Verifying Checksum 18:37:16 0362ad1dd800: Download complete 18:37:17 0362ad1dd800: Pull complete 18:37:17 f2cdb1532d8b: Pull complete 18:37:18 37ed683be191: Verifying Checksum 18:37:18 37ed683be191: Download complete 18:37:29 37ed683be191: Pull complete 18:37:29 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 18:37:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 18:37:29 ---> b23d30803547 18:37:29 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 18:37:30 ---> Running in 082ceb111b09 18:37:31 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 18:37:32 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 18:37:32 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 18:37:32 (2/8) Installing libuuid (2.33-r0) 18:37:33 (3/8) Installing libblkid (2.33-r0) 18:37:33 (4/8) Installing libfdisk (2.33-r0) 18:37:33 (5/8) Installing libmount (2.33-r0) 18:37:33 (6/8) Installing libsmartcols (2.33-r0) 18:37:33 (7/8) Installing util-linux-dev (2.33-r0) 18:37:33 (8/8) Installing wget (1.20.3-r0) 18:37:33 Executing busybox-1.29.3-r10.trigger 18:37:33 OK: 285 MiB in 83 packages 18:37:35 Removing intermediate container 082ceb111b09 18:37:35 ---> d8c6bd11f9d7 18:37:35 Step 4/21 : ENV CBOR_VERSION=0.5.0 18:37:35 ---> Running in 7fca9c4054de 18:37:35 Removing intermediate container 7fca9c4054de 18:37:35 ---> c27d867da17a 18:37:35 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 18:37:35 ---> Running in 4b8cef9a82a7 18:37:37 --2020-06-17 18:37:36-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 18:37:37 Resolving github.com... 140.82.112.4 18:37:37 Connecting to github.com|140.82.112.4|:443... connected. 18:37:37 HTTP request sent, awaiting response... 302 Found 18:37:37 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 18:37:37 --2020-06-17 18:37:37-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 18:37:37 Resolving codeload.github.com... 140.82.112.10 18:37:37 Connecting to codeload.github.com|140.82.112.10|:443... connected. 18:37:37 HTTP request sent, awaiting response... 200 OK 18:37:37 Length: unspecified [application/x-gzip] 18:37:37 Saving to: 'STDOUT' 18:37:37  18:37:37 0K .......... .......... .......... .......... .......... 1.59M 18:37:37 50K .......... .......... .......... .......... .......... 3.02M 18:37:37 100K .......... .......... .......... .......... .......... 3.29M 18:37:37 150K .......... .......... .......... .......... .......... 11.3M 18:37:37 200K .......... .......... .......... .......... .......... 7.14M 18:37:37 250K .......... .......... .......... .......... .......... 4.49M 18:37:37 300K .......... .......... .......... .......... .......... 4.08M 18:37:37 350K .......... .......... .......... .......... .......... 4.86M 18:37:37 400K .......... .......... .......... .......... .......... 1.90M 18:37:37 450K .......... .......... .......... .......... .......... 7.53M 18:37:37 500K .......... .......... .......... .......... .......... 10.5M 18:37:37 550K .......... .......... .......... .......... .......... 1.32M 18:37:37 600K .......... .......... .......... .......... .......... 1.22M 18:37:37 650K .......... .......... .......... .......... .......... 2.05M 18:37:37 700K ..                                    3.72M=0.2s 18:37:37 18:37:37 2020-06-17 18:37:37 (2.81 MB/s) - written to stdout [719348] 18:37:37 18:37:38 -- The C compiler identification is GNU 8.3.0 18:37:38 -- The CXX compiler identification is GNU 8.3.0 18:37:38 -- Check for working C compiler: /usr/bin/cc 18:37:38 -- Check for working C compiler: /usr/bin/cc -- works 18:37:38 -- Detecting C compiler ABI info 18:37:38 -- Detecting C compiler ABI info - done 18:37:38 -- Detecting C compile features 18:37:39 -- Detecting C compile features - done 18:37:39 -- Check for working CXX compiler: /usr/bin/c++ 18:37:39 -- Check for working CXX compiler: /usr/bin/c++ -- works 18:37:39 -- Detecting CXX compiler ABI info 18:37:40 -- Detecting CXX compiler ABI info - done 18:37:40 -- Detecting CXX compile features 18:37:42 -- Detecting CXX compile features - done 18:37:42 -- Looking for include file endian.h 18:37:42 -- Looking for include file endian.h - found 18:37:42 -- Check if the system is big endian 18:37:42 -- Searching 16 bit integer 18:37:42 -- Looking for sys/types.h 18:37:42 -- Looking for sys/types.h - found 18:37:42 -- Looking for stdint.h 18:37:42 -- Looking for stdint.h - found 18:37:42 -- Looking for stddef.h 18:37:42 -- Looking for stddef.h - found 18:37:42 -- Check size of unsigned short 18:37:42 -- Check size of unsigned short - done 18:37:42 -- Using unsigned short 18:37:43 -- Check if the system is big endian - little endian 18:37:43 -- Check size of size_t 18:37:43 -- Check size of size_t - done 18:37:43 CMake Warning at examples/CMakeLists.txt:16 (find_package): 18:37:43 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 18:37:43 asked CMake to find a package configuration file provided by "cJSON", but 18:37:43 CMake did not find one. 18:37:43 18:37:43 Could not find a package configuration file provided by "cJSON" with any of 18:37:43 the following names: 18:37:43 18:37:43 cJSONConfig.cmake 18:37:43 cjson-config.cmake 18:37:43 18:37:43 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 18:37:43 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 18:37:43 provides a separate development package or SDK, be sure it has been 18:37:43 installed. 18:37:43 18:37:43 18:37:43 -- Configuring done 18:37:43 -- Generating done 18:37:43 -- Build files have been written to: /tmp/cbor 18:37:43 Scanning dependencies of target cbor_shared 18:37:43 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 18:37:44 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 18:37:45 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 18:37:45 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 18:37:45 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 18:37:46 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 18:37:46 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 18:37:46 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 18:37:46 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 18:37:47 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 18:37:47 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 18:37:47 Running on prd-centos7-docker-4c-2g-3386 in /w/workspace/edgexfoundry_device-sdk-c_PR-270 [Pipeline] { [Pipeline] ws 18:37:47 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 18:37:47 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 18:37:48 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 18:37:48 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 18:37:48 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 18:37:49 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 18:37:49 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 18:37:49 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 18:37:49 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 18:37:50 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 18:37:50 [ 40%] Linking C shared library libcbor.so 18:37:50 using credential edgex-jenkins-ssh 18:37:50 Cloning the remote Git repository 18:37:50 Cloning with configured refspecs honoured and without tags 18:37:50 [ 40%] Built target cbor_shared 18:37:50 Scanning dependencies of target cbor 18:37:50 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 18:37:51 Fetching without tags 18:37:50 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 18:37:50 > git init /w/workspace/device-sdk-c/1 # timeout=10 18:37:50 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 18:37:50 > git --version # timeout=10 18:37:50 using GIT_SSH to set credentials SSH Credentials for GitHub 18:37:50 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/270/head:refs/remotes/origin/PR-270 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:37:50 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 18:37:50 > git config --add remote.origin.fetch +refs/pull/270/head:refs/remotes/origin/PR-270 # timeout=10 18:37:50 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 18:37:50 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 18:37:50 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 18:37:50 using GIT_SSH to set credentials SSH Credentials for GitHub 18:37:50 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/270/head:refs/remotes/origin/PR-270 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:37:51 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 18:37:51 Merging remotes/origin/master commit fe664e697b23228791073c46494919a610be639c into PR head commit 84ab060de2acfc7e944fade273d3b37ae45e656d 18:37:51 Merge succeeded, producing 84ab060de2acfc7e944fade273d3b37ae45e656d 18:37:51 Checking out Revision 84ab060de2acfc7e944fade273d3b37ae45e656d (PR-270) 18:37:51 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 18:37:51 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 18:37:51 > git config core.sparsecheckout # timeout=10 18:37:51 > git checkout -f 84ab060de2acfc7e944fade273d3b37ae45e656d # timeout=10 18:37:51 > git remote # timeout=10 18:37:51 > git config --get remote.origin.url # timeout=10 18:37:51 using GIT_SSH to set credentials SSH Credentials for GitHub 18:37:51 > git merge fe664e697b23228791073c46494919a610be639c # timeout=10 18:37:51 > git rev-parse HEAD^{commit} # timeout=10 18:37:51 > git config core.sparsecheckout # timeout=10 18:37:51 > git checkout -f 84ab060de2acfc7e944fade273d3b37ae45e656d # timeout=10 18:37:52 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 18:37:53 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 18:37:53 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 18:37:53 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 18:37:53 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 18:37:54 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 18:37:54 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 18:37:55 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 18:37:55 Commit message: "Add standard PR template" 18:37:55 > git --version # timeout=10 18:37:55 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 18:37:55 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 18:37:55 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [Pipeline] script [Pipeline] { [Pipeline] unstash 18:37:56 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [Pipeline] echo 18:37:56 ========================================================= 18:37:56 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 18:37:56 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:37:56 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 18:37:56 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 18:37:56 + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-3.11-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . 18:37:56 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 18:37:57 Sending build context to Docker daemon 3.292MB 18:37:57 Step 1/21 : ARG BASE=alpine:3.11 18:37:57 Step 2/21 : FROM ${BASE} as builder 18:37:57 latest: Pulling from edgex-devops/edgex-gcc-base 18:37:57 e7c96db7181b: Pulling fs layer 18:37:57 4c13bbce0fe7: Pulling fs layer 18:37:57 6059c847ac2f: Pulling fs layer 18:37:57 4c13bbce0fe7: Verifying Checksum 18:37:57 4c13bbce0fe7: Download complete 18:37:57 e7c96db7181b: Verifying Checksum 18:37:57 e7c96db7181b: Download complete 18:37:57 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 18:37:57 e7c96db7181b: Pull complete 18:37:57 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 18:37:57 4c13bbce0fe7: Pull complete 18:37:57 [ 80%] Linking C static library libcbor.a 18:37:57 [ 80%] Built target cbor 18:37:57 Scanning dependencies of target create_items 18:37:57 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 18:37:57 [ 84%] Linking C executable create_items 18:37:57 [ 84%] Built target create_items 18:37:57 Scanning dependencies of target readfile 18:37:57 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 18:37:58 6059c847ac2f: Verifying Checksum 18:37:58 6059c847ac2f: Download complete 18:37:58 [ 88%] Linking C executable readfile 18:37:58 [ 88%] Built target readfile 18:37:58 Scanning dependencies of target streaming_parser 18:37:58 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 18:37:58 [ 92%] Linking C executable streaming_parser 18:37:58 [ 92%] Built target streaming_parser 18:37:58 Scanning dependencies of target sort 18:37:58 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 18:37:59 [ 96%] Linking C executable sort 18:37:59 [ 96%] Built target sort 18:37:59 Scanning dependencies of target hello 18:37:59 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 18:37:59 [100%] Linking C executable hello 18:37:59 [100%] Built target hello 18:37:59 Install the project... 18:37:59 -- Install configuration: "Release" 18:37:59 -- Installing: /usr/local/include/cbor/configuration.h 18:37:59 -- Installing: /usr/local/lib64/libcbor.a 18:37:59 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 18:37:59 -- Installing: /usr/local/lib64/libcbor.so.0 18:37:59 -- Installing: /usr/local/lib64/libcbor.so 18:37:59 -- Up-to-date: /usr/local/include/cbor 18:37:59 -- Installing: /usr/local/include/cbor/streaming.h 18:37:59 -- Installing: /usr/local/include/cbor/ints.h 18:37:59 -- Installing: /usr/local/include/cbor/floats_ctrls.h 18:37:59 -- Installing: /usr/local/include/cbor/bytestrings.h 18:37:59 -- Installing: /usr/local/include/cbor/encoding.h 18:37:59 -- Installing: /usr/local/include/cbor/serialization.h 18:37:59 -- Installing: /usr/local/include/cbor/data.h 18:37:59 -- Installing: /usr/local/include/cbor/common.h 18:37:59 -- Installing: /usr/local/include/cbor/callbacks.h 18:37:59 -- Installing: /usr/local/include/cbor/strings.h 18:37:59 -- Installing: /usr/local/include/cbor/tags.h 18:37:59 -- Installing: /usr/local/include/cbor/internal 18:37:59 -- Installing: /usr/local/include/cbor/internal/encoders.h 18:37:59 -- Installing: /usr/local/include/cbor/internal/loaders.h 18:37:59 -- Installing: /usr/local/include/cbor/internal/stack.h 18:37:59 -- Installing: /usr/local/include/cbor/internal/unicode.h 18:37:59 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 18:37:59 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 18:37:59 -- Installing: /usr/local/include/cbor/arrays.h 18:37:59 -- Installing: /usr/local/include/cbor/maps.h 18:37:59 -- Installing: /usr/local/include/cbor.h 18:37:59 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 18:38:01 6059c847ac2f: Pull complete 18:38:01 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 18:38:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 18:38:01 ---> 5eabd8fd8ba2 18:38:01 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 18:38:01 Removing intermediate container 4b8cef9a82a7 18:38:01 ---> 1c6f1b475559 18:38:01 Step 6/21 : RUN mkdir /tmp/sdk 18:38:01 ---> Running in 6917b6227e22 18:38:03 ---> Running in d0c9635c2ded 18:38:03 Removing intermediate container 6917b6227e22 18:38:03 ---> 89ec5cb3c655 18:38:03 Step 7/21 : COPY VERSION /tmp/sdk 18:38:04 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 18:38:04 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 18:38:04 ---> 005dc3ee0b11 18:38:04 Step 8/21 : COPY src /tmp/sdk/src 18:38:05 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 18:38:05 (2/8) Installing libuuid (2.33-r0) 18:38:05 (3/8) Installing libblkid (2.33-r0) 18:38:05 (4/8) Installing libfdisk (2.33-r0) 18:38:05 (5/8) Installing libmount (2.33-r0) 18:38:05 (6/8) Installing libsmartcols (2.33-r0) 18:38:05 ---> 07fd7e076dfe 18:38:05 Step 9/21 : COPY include /tmp/sdk/include 18:38:05 (7/8) Installing util-linux-dev (2.33-r0) 18:38:05 (8/8) Installing wget (1.20.3-r0) 18:38:05 Executing busybox-1.29.3-r10.trigger 18:38:05 OK: 272 MiB in 83 packages 18:38:06 ---> e04a501bf159 18:38:06 Step 10/21 : COPY scripts /tmp/sdk/scripts 18:38:06 Removing intermediate container d0c9635c2ded 18:38:06 ---> 92c796e9470b 18:38:06 Step 4/21 : ENV CBOR_VERSION=0.5.0 18:38:06 ---> Running in 519fa95701dd 18:38:06 Removing intermediate container 519fa95701dd 18:38:06 ---> 9490d86595b5 18:38:06 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 18:38:06 ---> Running in cdd1bc4c5e39 18:38:07 ---> 4c0958bc2992 18:38:07 Step 11/21 : COPY LICENSE /tmp/sdk 18:38:07 --2020-06-17 18:38:07-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 18:38:07 Resolving github.com... 140.82.112.4 18:38:07 Connecting to github.com|140.82.112.4|:443... connected. 18:38:07 HTTP request sent, awaiting response... 302 Found 18:38:07 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 18:38:07 --2020-06-17 18:38:07-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 18:38:07 Resolving codeload.github.com... 140.82.112.10 18:38:07 Connecting to codeload.github.com|140.82.112.10|:443... connected. 18:38:07 HTTP request sent, awaiting response... 200 OK 18:38:07 Length: unspecified [application/x-gzip] 18:38:07 Saving to: 'STDOUT' 18:38:07  18:38:07 0K .......... .......... .......... .......... .......... 1.59M 18:38:07 50K .......... .......... .......... .......... .......... 3.29M 18:38:07 100K .......... .......... .......... .......... .......... 21.9M 18:38:07 150K .......... .......... .......... .......... .......... 3.68M 18:38:07 200K .......... .......... .......... .......... .......... 24.6M 18:38:07 250K .......... .......... .......... .......... .......... 10.8M 18:38:07 300K .......... .......... .......... .......... .......... 4.84M 18:38:07 350K .......... .......... .......... .......... .......... 14.9M 18:38:07 400K .......... .......... .......... .......... .......... 1.82M 18:38:07 450K .......... .......... .......... .......... .......... 44.6M 18:38:07 500K .......... .......... .......... .......... .......... 28.4M 18:38:07 550K .......... .......... .......... .......... .......... 4.11M 18:38:07 ---> 03f15ff98c8f 18:38:07 Step 12/21 : COPY Attribution.txt /tmp/sdk 18:38:07 600K .......... .......... .......... .......... .......... 2.81M 18:38:07 650K .......... .......... .......... .......... .......... 4.68M 18:38:07 700K .. 53.4M=0.2s 18:38:07 18:38:07 2020-06-17 18:38:07 (4.57 MB/s) - written to stdout [719348] 18:38:07 18:38:07 -- The C compiler identification is GNU 8.3.0 18:38:07 -- The CXX compiler identification is GNU 8.3.0 18:38:07 -- Check for working C compiler: /usr/bin/cc 18:38:07 -- Check for working C compiler: /usr/bin/cc -- works 18:38:07 -- Detecting C compiler ABI info 18:38:07 -- Detecting C compiler ABI info - done 18:38:07 -- Detecting C compile features 18:38:08 ---> 6ae5ae908d7a 18:38:08 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 18:38:08 -- Detecting C compile features - done 18:38:08 -- Check for working CXX compiler: /usr/bin/c++ 18:38:08 -- Check for working CXX compiler: /usr/bin/c++ -- works 18:38:08 -- Detecting CXX compiler ABI info 18:38:08 -- Detecting CXX compiler ABI info - done 18:38:08 -- Detecting CXX compile features 18:38:08 ---> Running in d989625106c3 18:38:08 -- Detecting CXX compile features - done 18:38:08 -- Looking for include file endian.h 18:38:08 -- Looking for include file endian.h - found 18:38:08 -- Check if the system is big endian 18:38:08 -- Searching 16 bit integer 18:38:08 -- Looking for sys/types.h 18:38:08 -- Looking for sys/types.h - found 18:38:08 -- Looking for stdint.h 18:38:08 -- Looking for stdint.h - found 18:38:08 -- Looking for stddef.h 18:38:09 -- Looking for stddef.h - found 18:38:09 -- Check size of unsigned short 18:38:09 -- Check size of unsigned short - done 18:38:09 -- Using unsigned short 18:38:09 -- Check if the system is big endian - little endian 18:38:09 -- Check size of size_t 18:38:09 -- Check size of size_t - done 18:38:09 CMake Warning at examples/CMakeLists.txt:16 (find_package): 18:38:09 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 18:38:09 asked CMake to find a package configuration file provided by "cJSON", but 18:38:09 CMake did not find one. 18:38:09 18:38:09 Could not find a package configuration file provided by "cJSON" with any of 18:38:09 the following names: 18:38:09 18:38:09 cJSONConfig.cmake 18:38:09 cjson-config.cmake 18:38:09 18:38:09 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 18:38:09 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 18:38:09 provides a separate development package or SDK, be sure it has been 18:38:09 installed. 18:38:09 18:38:09 18:38:09 -- Configuring done 18:38:09 -- Generating done 18:38:09 -- Build files have been written to: /tmp/cbor 18:38:09 Scanning dependencies of target cbor_shared 18:38:09 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 18:38:09 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 18:38:09 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 18:38:09 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 18:38:09 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 18:38:09 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 18:38:09 + CPPCHECK=false 18:38:09 + DOCGEN=false 18:38:09 + TOMLVER=SDK-0.2 18:38:09 + CUTILVER=1.0.4 18:38:09 + '[' 0 -gt 0 ] 18:38:09 + readlink -f ./scripts/build.sh 18:38:09 + dirname /tmp/sdk/scripts/build.sh 18:38:09 + dirname /tmp/sdk/scripts 18:38:09 + ROOT=/tmp/sdk 18:38:09 + cd /tmp/sdk 18:38:09 + '[' '!' -d deps ] 18:38:09 + mkdir deps 18:38:09 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 18:38:09 + tar -C deps -z -x -f - 18:38:09 --2020-06-17 18:38:09-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 18:38:09 Resolving github.com... 140.82.112.4 18:38:09 Connecting to github.com|140.82.112.4|:443... connected. 18:38:10 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 18:38:10 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 18:38:10 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 18:38:10 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 18:38:10 HTTP request sent, awaiting response... 302 Found 18:38:10 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 18:38:10 --2020-06-17 18:38:09-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 18:38:10 Resolving codeload.github.com... 140.82.112.10 18:38:10 Connecting to codeload.github.com|140.82.112.10|:443... connected. 18:38:10 HTTP request sent, awaiting response... 200 OK 18:38:10 Length: unspecified [application/x-gzip] 18:38:10 Saving to: 'STDOUT' 18:38:10  18:38:10 0K .......... ...... 911K=0.02s 18:38:10 18:38:10 2020-06-17 18:38:10 (911 KB/s) - written to stdout [16451] 18:38:10 18:38:10 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 18:38:10 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz 18:38:10 + tar -C deps -z -x -f - 18:38:10 --2020-06-17 18:38:10-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz 18:38:10 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 18:38:10 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 18:38:10 Resolving github.com... 140.82.112.4 18:38:10 Connecting to github.com|140.82.112.4|:443... connected. 18:38:10 HTTP request sent, awaiting response... 302 Found 18:38:10 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] 18:38:10 --2020-06-17 18:38:10-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 18:38:10 Resolving codeload.github.com... 140.82.112.10 18:38:10 Connecting to codeload.github.com|140.82.112.10|:443... connected. 18:38:10 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 18:38:10 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 18:38:10 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 18:38:10 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 18:38:10 HTTP request sent, awaiting response... 200 OK 18:38:10 Length: unspecified [application/x-gzip] 18:38:10 Saving to: 'STDOUT' 18:38:10  18:38:10 0K .......... .......... .......... .......... .......... 1.50M 18:38:10 50K .......... .......... .......... .......... .......... 3.42M 18:38:10 100K .......... .......... .......... .......... .......... 3.37M 18:38:10 150K ........                                   6.55M=0.06s 18:38:10 18:38:10 2020-06-17 18:38:10 (2.48 MB/s) - written to stdout [162267] 18:38:10 18:38:10 + mkdir -p src/c/iot 18:38:10 + cp deps/iotech-c-utils-1.0.4/src/c/base64.c deps/iotech-c-utils-1.0.4/src/c/component.c deps/iotech-c-utils-1.0.4/src/c/container.c deps/iotech-c-utils-1.0.4/src/c/data.c deps/iotech-c-utils-1.0.4/src/c/hash.c deps/iotech-c-utils-1.0.4/src/c/iot.c deps/iotech-c-utils-1.0.4/src/c/json.c deps/iotech-c-utils-1.0.4/src/c/logger.c deps/iotech-c-utils-1.0.4/src/c/os.c deps/iotech-c-utils-1.0.4/src/c/scheduler.c deps/iotech-c-utils-1.0.4/src/c/thread.c deps/iotech-c-utils-1.0.4/src/c/threadpool.c deps/iotech-c-utils-1.0.4/src/c/time.c src/c/iot 18:38:10 + mkdir -p include/iot 18:38:10 + cp deps/iotech-c-utils-1.0.4/include/iot/base64.h deps/iotech-c-utils-1.0.4/include/iot/component.h deps/iotech-c-utils-1.0.4/include/iot/container.h deps/iotech-c-utils-1.0.4/include/iot/data.h deps/iotech-c-utils-1.0.4/include/iot/hash.h deps/iotech-c-utils-1.0.4/include/iot/iot.h deps/iotech-c-utils-1.0.4/include/iot/json.h deps/iotech-c-utils-1.0.4/include/iot/logger.h deps/iotech-c-utils-1.0.4/include/iot/os.h deps/iotech-c-utils-1.0.4/include/iot/scheduler.h deps/iotech-c-utils-1.0.4/include/iot/thread.h deps/iotech-c-utils-1.0.4/include/iot/threadpool.h deps/iotech-c-utils-1.0.4/include/iot/time.h deps/iotech-c-utils-1.0.4/include/iot/typecode.h include/iot 18:38:10 + mkdir -p include/iot/os 18:38:10 + cp deps/iotech-c-utils-1.0.4/include/iot/os/linux.h deps/iotech-c-utils-1.0.4/include/iot/os/zephyr.h include/iot/os 18:38:10 + mkdir -p /tmp/sdk/build/release 18:38:10 + cd /tmp/sdk/build/release 18:38:10 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 18:38:10 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 18:38:10 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 18:38:10 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 18:38:10 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 18:38:11 -- The C compiler identification is GNU 8.3.0 18:38:11 -- Check for working C compiler: /usr/bin/cc 18:38:11 [ 40%] Linking C shared library libcbor.so 18:38:11 [ 40%] Built target cbor_shared 18:38:11 Scanning dependencies of target cbor 18:38:11 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 18:38:11 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 18:38:11 -- Check for working C compiler: /usr/bin/cc -- works 18:38:11 -- Detecting C compiler ABI info 18:38:11 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 18:38:11 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 18:38:11 -- Detecting C compiler ABI info - done 18:38:11 -- Detecting C compile features 18:38:11 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 18:38:11 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 18:38:11 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 18:38:11 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 18:38:11 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 18:38:11 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 18:38:12 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 18:38:12 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 18:38:12 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 18:38:12 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 18:38:12 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 18:38:12 -- Detecting C compile features - done 18:38:12 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 18:38:12 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 18:38:12 -- Found LIBYAML: /usr/lib/libyaml.so 18:38:12 -- Found LIBUUID: /usr/lib/libuuid.so 18:38:12 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 18:38:12 -- C SDK 0.0.0 for Linux 18:38:12 -- Performing Test CSDK_HAVE_ATOMIC 18:38:12 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 18:38:12 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 18:38:12 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 18:38:12 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 18:38:12 -- Performing Test CSDK_HAVE_ATOMIC - Success 18:38:12 -- Found Curses: /usr/lib/libcurses.so 18:38:12 -- Configuring done 18:38:12 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 18:38:12 [ 80%] Linking C static library libcbor.a 18:38:12 [ 80%] Built target cbor 18:38:12 Scanning dependencies of target create_items 18:38:12 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 18:38:12 [ 84%] Linking C executable create_items 18:38:12 [ 84%] Built target create_items 18:38:12 Scanning dependencies of target readfile 18:38:12 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 18:38:13 -- Generating done 18:38:13 -- Build files have been written to: /tmp/sdk/build/release 18:38:13 + + teemake release.log 18:38:13 18:38:13 Scanning dependencies of target csdk 18:38:13 [ 88%] Linking C executable readfile 18:38:13 [ 88%] Built target readfile 18:38:13 Scanning dependencies of target streaming_parser 18:38:13 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 18:38:13 [ 92%] Linking C executable streaming_parser 18:38:13 [ 92%] Built target streaming_parser 18:38:13 Scanning dependencies of target sort 18:38:13 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 18:38:13 [ 96%] Linking C executable sort 18:38:13 [ 96%] Built target sort 18:38:13 Scanning dependencies of target hello 18:38:13 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 18:38:13 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 18:38:13 [100%] Linking C executable hello 18:38:13 [100%] Built target hello 18:38:13 Install the project... 18:38:13 -- Install configuration: "Release" 18:38:13 -- Installing: /usr/local/include/cbor/configuration.h 18:38:13 -- Installing: /usr/local/lib64/libcbor.a 18:38:13 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 18:38:13 -- Installing: /usr/local/lib64/libcbor.so.0 18:38:13 -- Installing: /usr/local/lib64/libcbor.so 18:38:13 -- Up-to-date: /usr/local/include/cbor 18:38:13 -- Installing: /usr/local/include/cbor/arrays.h 18:38:13 -- Installing: /usr/local/include/cbor/bytestrings.h 18:38:13 -- Installing: /usr/local/include/cbor/callbacks.h 18:38:13 -- Installing: /usr/local/include/cbor/common.h 18:38:13 -- Installing: /usr/local/include/cbor/data.h 18:38:13 -- Installing: /usr/local/include/cbor/encoding.h 18:38:13 -- Installing: /usr/local/include/cbor/floats_ctrls.h 18:38:13 -- Installing: /usr/local/include/cbor/internal 18:38:13 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 18:38:13 -- Installing: /usr/local/include/cbor/internal/encoders.h 18:38:13 -- Installing: /usr/local/include/cbor/internal/loaders.h 18:38:13 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 18:38:13 -- Installing: /usr/local/include/cbor/internal/stack.h 18:38:13 -- Installing: /usr/local/include/cbor/internal/unicode.h 18:38:13 -- Installing: /usr/local/include/cbor/ints.h 18:38:13 -- Installing: /usr/local/include/cbor/maps.h 18:38:13 -- Installing: /usr/local/include/cbor/serialization.h 18:38:13 -- Installing: /usr/local/include/cbor/streaming.h 18:38:13 -- Installing: /usr/local/include/cbor/strings.h 18:38:13 -- Installing: /usr/local/include/cbor/tags.h 18:38:13 -- Installing: /usr/local/include/cbor.h 18:38:13 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 18:38:13 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 18:38:14 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 18:38:15 Removing intermediate container cdd1bc4c5e39 18:38:15 ---> 2bef51426b9f 18:38:15 Step 6/21 : RUN mkdir /tmp/sdk 18:38:15 ---> Running in 8ad1b866e2b0 18:38:16 Removing intermediate container 8ad1b866e2b0 18:38:16 ---> 4bb49735b33e 18:38:16 Step 7/21 : COPY VERSION /tmp/sdk 18:38:16 ---> b844e1b5e893 18:38:16 Step 8/21 : COPY src /tmp/sdk/src 18:38:16 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 18:38:16 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 18:38:16 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 18:38:16 ---> 7417c17c7c5d 18:38:16 Step 9/21 : COPY include /tmp/sdk/include 18:38:16 ---> 56e98867e35d 18:38:16 Step 10/21 : COPY scripts /tmp/sdk/scripts 18:38:17 ---> 9d29984adaf9 18:38:17 Step 11/21 : COPY LICENSE /tmp/sdk 18:38:17 ---> db2931521bcf 18:38:17 Step 12/21 : COPY Attribution.txt /tmp/sdk 18:38:17 ---> 8440996b054c 18:38:17 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 18:38:17 ---> Running in 9bee963a4759 18:38:17 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 18:38:17 + CPPCHECK=false 18:38:17 + DOCGEN=false 18:38:17 + TOMLVER=SDK-0.2 18:38:17 + CUTILVER=1.0.4 18:38:17 + '[' 0 -gt 0 ] 18:38:17 + readlink -f ./scripts/build.sh 18:38:17 + dirname /tmp/sdk/scripts/build.sh 18:38:17 + dirname /tmp/sdk/scripts 18:38:17 + ROOT=/tmp/sdk 18:38:17 + cd /tmp/sdk 18:38:17 + '[' '!' -d deps ] 18:38:17 + mkdir deps 18:38:17 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 18:38:17 + tar -C deps -z -x -f - 18:38:17 --2020-06-17 18:38:17-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 18:38:17 Resolving github.com... 140.82.112.4 18:38:17 Connecting to github.com|140.82.112.4|:443... connected. 18:38:18 HTTP request sent, awaiting response... 302 Found 18:38:18 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 18:38:18 --2020-06-17 18:38:18-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 18:38:18 Resolving codeload.github.com... 140.82.112.10 18:38:18 Connecting to codeload.github.com|140.82.112.10|:443... connected. 18:38:18 HTTP request sent, awaiting response... 200 OK 18:38:18 Length: unspecified [application/x-gzip] 18:38:18 Saving to: 'STDOUT' 18:38:18  18:38:18 0K .......... ...... 1.05M=0.01s 18:38:18 18:38:18 2020-06-17 18:38:18 (1.05 MB/s) - written to stdout [16451] 18:38:18 18:38:18 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 18:38:18 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz 18:38:18 + tar -C deps -z -x -f - 18:38:18 --2020-06-17 18:38:18-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz 18:38:18 Resolving github.com... 140.82.112.4 18:38:18 Connecting to github.com|140.82.112.4|:443... connected. 18:38:18 HTTP request sent, awaiting response... 302 Found 18:38:18 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] 18:38:18 --2020-06-17 18:38:18-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 18:38:18 Resolving codeload.github.com... 140.82.112.10 18:38:18 Connecting to codeload.github.com|140.82.112.10|:443... connected. 18:38:18 HTTP request sent, awaiting response... 200 OK 18:38:18 Length: unspecified [application/x-gzip] 18:38:18 Saving to: 'STDOUT' 18:38:18  18:38:18 0K .......... .......... .......... .......... .......... 1.57M 18:38:18 50K .......... .......... .......... .......... .......... 3.15M 18:38:18 100K .......... .......... .......... .......... .......... 51.2M 18:38:18 150K ........ 71.8M=0.05s 18:38:18 18:38:18 2020-06-17 18:38:18 (3.25 MB/s) - written to stdout [162267] 18:38:18 18:38:18 + mkdir -p src/c/iot 18:38:18 + cp deps/iotech-c-utils-1.0.4/src/c/base64.c deps/iotech-c-utils-1.0.4/src/c/component.c deps/iotech-c-utils-1.0.4/src/c/container.c deps/iotech-c-utils-1.0.4/src/c/data.c deps/iotech-c-utils-1.0.4/src/c/hash.c deps/iotech-c-utils-1.0.4/src/c/iot.c deps/iotech-c-utils-1.0.4/src/c/json.c deps/iotech-c-utils-1.0.4/src/c/logger.c deps/iotech-c-utils-1.0.4/src/c/os.c deps/iotech-c-utils-1.0.4/src/c/scheduler.c deps/iotech-c-utils-1.0.4/src/c/thread.c deps/iotech-c-utils-1.0.4/src/c/threadpool.c deps/iotech-c-utils-1.0.4/src/c/time.c src/c/iot 18:38:18 + mkdir -p include/iot 18:38:18 + cp deps/iotech-c-utils-1.0.4/include/iot/base64.h deps/iotech-c-utils-1.0.4/include/iot/component.h deps/iotech-c-utils-1.0.4/include/iot/container.h deps/iotech-c-utils-1.0.4/include/iot/data.h deps/iotech-c-utils-1.0.4/include/iot/hash.h deps/iotech-c-utils-1.0.4/include/iot/iot.h deps/iotech-c-utils-1.0.4/include/iot/json.h deps/iotech-c-utils-1.0.4/include/iot/logger.h deps/iotech-c-utils-1.0.4/include/iot/os.h deps/iotech-c-utils-1.0.4/include/iot/scheduler.h deps/iotech-c-utils-1.0.4/include/iot/thread.h deps/iotech-c-utils-1.0.4/include/iot/threadpool.h deps/iotech-c-utils-1.0.4/include/iot/time.h deps/iotech-c-utils-1.0.4/include/iot/typecode.h include/iot 18:38:18 + mkdir -p include/iot/os 18:38:18 + cp deps/iotech-c-utils-1.0.4/include/iot/os/linux.h deps/iotech-c-utils-1.0.4/include/iot/os/zephyr.h include/iot/os 18:38:18 + mkdir -p /tmp/sdk/build/release 18:38:18 + cd /tmp/sdk/build/release 18:38:18 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 18:38:18 -- The C compiler identification is GNU 8.3.0 18:38:18 -- Check for working C compiler: /usr/bin/cc 18:38:18 -- Check for working C compiler: /usr/bin/cc -- works 18:38:18 -- Detecting C compiler ABI info 18:38:18 -- Detecting C compiler ABI info - done 18:38:18 -- Detecting C compile features 18:38:19 -- Detecting C compile features - done 18:38:19 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 18:38:19 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 18:38:19 -- Found LIBYAML: /usr/lib/libyaml.so 18:38:19 -- Found LIBUUID: /usr/lib/libuuid.so 18:38:19 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 18:38:19 -- C SDK 0.0.0 for Linux 18:38:19 -- Performing Test CSDK_HAVE_ATOMIC 18:38:19 -- Performing Test CSDK_HAVE_ATOMIC - Success 18:38:19 -- Found Curses: /usr/lib/libcurses.so 18:38:19 -- Configuring done 18:38:19 -- Generating done 18:38:19 -- Build files have been written to: /tmp/sdk/build/release 18:38:19 + make 18:38:19 + tee release.log 18:38:19 Scanning dependencies of target csdk 18:38:19 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 18:38:19 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 18:38:19 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 18:38:19 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 18:38:19 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 18:38:19 [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 18:38:20 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 18:38:20 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 18:38:20 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 18:38:20 [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 18:38:20 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 18:38:20 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 18:38:20 [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 18:38:21 [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 18:38:21 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 18:38:21 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 18:38:21 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 18:38:21 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 18:38:21 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 18:38:21 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 18:38:21 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 18:38:22 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 18:38:22 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 18:38:22 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 18:38:22 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 18:38:23 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 18:38:23 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 18:38:23 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 18:38:23 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 18:38:23 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 18:38:23 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 18:38:23 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 18:38:23 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 18:38:23 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 18:38:23 [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o 18:38:23 [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 18:38:24 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 18:38:24 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 18:38:25 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 18:38:25 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 18:38:25 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 18:38:25 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 18:38:25 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 18:38:25 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 18:38:25 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 18:38:26 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 18:38:26 [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o 18:38:26 [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 18:38:27 [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 18:38:27 [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 18:38:28 [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 18:38:28 [ 74%] Linking C shared library libcsdk.so 18:38:28 [ 74%] Built target csdk 18:38:28 Scanning dependencies of target template 18:38:28 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 18:38:28 [ 78%] Linking C executable template 18:38:28 [ 78%] Built target template 18:38:28 Scanning dependencies of target device-counter 18:38:28 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 18:38:28 [ 81%] Linking C executable device-counter 18:38:28 [ 81%] Built target device-counter 18:38:28 Scanning dependencies of target device-random 18:38:28 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 18:38:28 [ 85%] Linking C executable device-random 18:38:28 [ 85%] Built target device-random 18:38:28 Scanning dependencies of target device-gyro 18:38:28 [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 18:38:28 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 18:38:28 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 18:38:28 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 18:38:28 [ 89%] Linking C executable device-gyro 18:38:28 [ 89%] Built target device-gyro 18:38:28 Scanning dependencies of target template-discovery 18:38:28 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 18:38:29 [ 92%] Linking C executable template-discovery 18:38:29 [ 92%] Built target template-discovery 18:38:29 Scanning dependencies of target device-terminal 18:38:29 [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 18:38:29 [ 96%] Linking C executable device-terminal 18:38:29 [ 96%] Built target device-terminal 18:38:29 Scanning dependencies of target templatev1 18:38:29 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 18:38:29 [100%] Linking C executable templatev1 18:38:29 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 18:38:29 [100%] Built target templatev1 18:38:29 + + teemake -a package release.log 18:38:29 18:38:29 [ 74%] Built target csdk 18:38:29 [ 78%] Built target template 18:38:29 [ 81%] Built target device-counter 18:38:29 [ 85%] Built target device-random 18:38:29 [ 89%] Built target device-gyro 18:38:29 [ 92%] Built target template-discovery 18:38:29 [ 96%] Built target device-terminal 18:38:29 [100%] Built target templatev1 18:38:29 Run CPack packaging tool... 18:38:29 CPack: Create package using TGZ 18:38:29 CPack: Install projects 18:38:29 CPack: - Run preinstall target for: Csdk 18:38:29 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 18:38:29 CPack: - Install project: Csdk 18:38:29 CPack: Create package 18:38:29 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 18:38:29 + '[' false '=' true ] 18:38:29 + '[' false '=' true ] 18:38:29 + mkdir -p /tmp/sdk/build/debug 18:38:29 + cd /tmp/sdk/build/debug 18:38:29 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 18:38:29 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 18:38:30 -- The C compiler identification is GNU 8.3.0 18:38:30 -- Check for working C compiler: /usr/bin/cc 18:38:30 -- Check for working C compiler: /usr/bin/cc -- works 18:38:30 -- Detecting C compiler ABI info 18:38:30 -- Detecting C compiler ABI info - done 18:38:30 -- Detecting C compile features 18:38:30 -- Detecting C compile features - done 18:38:30 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 18:38:30 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 18:38:30 -- Found LIBYAML: /usr/lib/libyaml.so 18:38:30 -- Found LIBUUID: /usr/lib/libuuid.so 18:38:30 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 18:38:30 -- C SDK 0.0.0 for Linux 18:38:30 -- Performing Test CSDK_HAVE_ATOMIC 18:38:30 -- Performing Test CSDK_HAVE_ATOMIC - Success 18:38:30 -- Found Curses: /usr/lib/libcurses.so 18:38:30 -- Configuring done 18:38:30 -- Generating done 18:38:30 -- Build files have been written to: /tmp/sdk/build/debug 18:38:30 + make 18:38:30 + tee debug.log 18:38:30 Scanning dependencies of target csdk 18:38:30 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 18:38:30 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 18:38:30 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 18:38:30 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 18:38:30 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 18:38:30 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 18:38:31 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 18:38:31 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 18:38:31 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 18:38:31 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 18:38:31 [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 18:38:31 [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 18:38:31 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 18:38:31 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 18:38:31 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 18:38:31 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 18:38:31 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 18:38:31 [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o 18:38:31 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 18:38:31 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 18:38:31 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 18:38:32 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 18:38:32 [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 18:38:32 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 18:38:32 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 18:38:32 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 18:38:32 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 18:38:32 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 18:38:32 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 18:38:32 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 18:38:32 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 18:38:32 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 18:38:32 [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o 18:38:33 [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 18:38:33 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 18:38:33 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 18:38:33 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 18:38:33 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 18:38:33 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 18:38:33 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 18:38:33 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 18:38:33 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 18:38:33 [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o 18:38:34 [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 18:38:34 [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 18:38:34 [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 18:38:34 [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 18:38:34 [ 74%] Linking C shared library libcsdk.so 18:38:34 [ 74%] Built target csdk 18:38:34 Scanning dependencies of target template 18:38:34 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 18:38:34 [ 78%] Linking C executable template 18:38:34 [ 78%] Built target template 18:38:34 Scanning dependencies of target device-counter 18:38:34 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 18:38:34 [ 81%] Linking C executable device-counter 18:38:34 [ 81%] Built target device-counter 18:38:34 Scanning dependencies of target device-random 18:38:34 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 18:38:34 [ 85%] Linking C executable device-random 18:38:34 [ 85%] Built target device-random 18:38:34 Scanning dependencies of target device-gyro 18:38:34 [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 18:38:35 [ 89%] Linking C executable device-gyro 18:38:35 [ 89%] Built target device-gyro 18:38:35 Scanning dependencies of target template-discovery 18:38:35 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 18:38:35 [ 92%] Linking C executable template-discovery 18:38:35 [ 92%] Built target template-discovery 18:38:35 Scanning dependencies of target device-terminal 18:38:35 [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 18:38:35 [ 96%] Linking C executable device-terminal 18:38:35 [ 96%] Built target device-terminal 18:38:35 Scanning dependencies of target templatev1 18:38:35 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 18:38:35 [100%] Linking C executable templatev1 18:38:35 [100%] Built target templatev1 18:38:35 make: Entering directory '/tmp/sdk/build/release' 18:38:35 make[1]: Entering directory '/tmp/sdk/build/release' 18:38:35 make[2]: Entering directory '/tmp/sdk/build/release' 18:38:35 Scanning dependencies of target csdk 18:38:35 make[2]: Leaving directory '/tmp/sdk/build/release' 18:38:35 make[2]: Entering directory '/tmp/sdk/build/release' 18:38:35 [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o 18:38:36 [ 3%] Linking C shared library libcsdk.so 18:38:36 make[2]: Leaving directory '/tmp/sdk/build/release' 18:38:36 [ 74%] Built target csdk 18:38:36 make[2]: Entering directory '/tmp/sdk/build/release' 18:38:36 make[2]: Leaving directory '/tmp/sdk/build/release' 18:38:36 make[2]: Entering directory '/tmp/sdk/build/release' 18:38:36 [ 76%] Linking C executable template 18:38:36 make[2]: Leaving directory '/tmp/sdk/build/release' 18:38:36 [ 78%] Built target template 18:38:36 make[2]: Entering directory '/tmp/sdk/build/release' 18:38:36 make[2]: Leaving directory '/tmp/sdk/build/release' 18:38:36 make[2]: Entering directory '/tmp/sdk/build/release' 18:38:36 [ 80%] Linking C executable device-counter 18:38:36 make[2]: Leaving directory '/tmp/sdk/build/release' 18:38:36 [ 81%] Built target device-counter 18:38:36 make[2]: Entering directory '/tmp/sdk/build/release' 18:38:36 make[2]: Leaving directory '/tmp/sdk/build/release' 18:38:36 make[2]: Entering directory '/tmp/sdk/build/release' 18:38:36 [ 83%] Linking C executable device-random 18:38:36 make[2]: Leaving directory '/tmp/sdk/build/release' 18:38:36 [ 85%] Built target device-random 18:38:36 make[2]: Entering directory '/tmp/sdk/build/release' 18:38:36 make[2]: Leaving directory '/tmp/sdk/build/release' 18:38:36 make[2]: Entering directory '/tmp/sdk/build/release' 18:38:36 [ 87%] Linking C executable device-gyro 18:38:36 make[2]: Leaving directory '/tmp/sdk/build/release' 18:38:36 [ 89%] Built target device-gyro 18:38:36 make[2]: Entering directory '/tmp/sdk/build/release' 18:38:36 make[2]: Leaving directory '/tmp/sdk/build/release' 18:38:36 make[2]: Entering directory '/tmp/sdk/build/release' 18:38:36 [ 90%] Linking C executable template-discovery 18:38:36 make[2]: Leaving directory '/tmp/sdk/build/release' 18:38:36 [ 92%] Built target template-discovery 18:38:36 make[2]: Entering directory '/tmp/sdk/build/release' 18:38:36 make[2]: Leaving directory '/tmp/sdk/build/release' 18:38:36 make[2]: Entering directory '/tmp/sdk/build/release' 18:38:36 [ 94%] Linking C executable device-terminal 18:38:36 make[2]: Leaving directory '/tmp/sdk/build/release' 18:38:36 [ 96%] Built target device-terminal 18:38:36 make[2]: Entering directory '/tmp/sdk/build/release' 18:38:36 make[2]: Leaving directory '/tmp/sdk/build/release' 18:38:36 make[2]: Entering directory '/tmp/sdk/build/release' 18:38:36 [ 98%] Linking C executable templatev1 18:38:36 make[2]: Leaving directory '/tmp/sdk/build/release' 18:38:36 [100%] Built target templatev1 18:38:36 make[1]: Leaving directory '/tmp/sdk/build/release' 18:38:36 Install the project... 18:38:36 -- Install configuration: "Release" 18:38:36 -- Installing: /usr/local/lib/libcsdk.so 18:38:36 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 18:38:36 -- Up-to-date: /usr/local/include 18:38:36 -- Installing: /usr/local/include/devsdk 18:38:36 -- Installing: /usr/local/include/devsdk/devsdk-base.h 18:38:36 -- Installing: /usr/local/include/devsdk/devsdk.h 18:38:36 -- Installing: /usr/local/include/edgex 18:38:36 -- Installing: /usr/local/include/edgex/device-mgmt.h 18:38:36 -- Installing: /usr/local/include/edgex/devices.h 18:38:36 -- Installing: /usr/local/include/edgex/devsdk.h 18:38:36 -- Installing: /usr/local/include/edgex/edgex-base.h 18:38:36 -- Installing: /usr/local/include/edgex/edgex-logging.h 18:38:36 -- Installing: /usr/local/include/edgex/edgex.h 18:38:36 -- Installing: /usr/local/include/edgex/error.h 18:38:36 -- Installing: /usr/local/include/edgex/eventgen.h 18:38:36 -- Installing: /usr/local/include/edgex/os.h 18:38:36 -- Installing: /usr/local/include/edgex/profiles.h 18:38:36 -- Installing: /usr/local/include/edgex/registry.h 18:38:36 -- Installing: /usr/local/include/edgex/rest-server.h 18:38:36 -- Installing: /usr/local/include/edgex/csdk-defs.h 18:38:36 -- Installing: /usr/local/include/iot 18:38:36 -- Installing: /usr/local/include/iot/base64.h 18:38:36 -- Installing: /usr/local/include/iot/component.h 18:38:36 -- Installing: /usr/local/include/iot/container.h 18:38:36 -- Installing: /usr/local/include/iot/data.h 18:38:36 -- Installing: /usr/local/include/iot/hash.h 18:38:36 -- Installing: /usr/local/include/iot/iot.h 18:38:36 -- Installing: /usr/local/include/iot/json.h 18:38:36 -- Installing: /usr/local/include/iot/logger.h 18:38:36 -- Installing: /usr/local/include/iot/os.h 18:38:36 -- Installing: /usr/local/include/iot/scheduler.h 18:38:36 -- Installing: /usr/local/include/iot/thread.h 18:38:36 -- Installing: /usr/local/include/iot/threadpool.h 18:38:36 -- Installing: /usr/local/include/iot/time.h 18:38:36 -- Installing: /usr/local/include/iot/typecode.h 18:38:36 -- Installing: /usr/local/include/iot/os 18:38:36 -- Installing: /usr/local/include/iot/os/linux.h 18:38:36 -- Installing: /usr/local/include/iot/os/zephyr.h 18:38:36 -- Installing: /usr/local/share/device-sdk-c/LICENSE 18:38:36 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 18:38:36 make: Leaving directory '/tmp/sdk/build/release' 18:38:37 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 18:38:38 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 18:38:38 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 18:38:38 Removing intermediate container 9bee963a4759 18:38:38 ---> c81b7fdb6f31 18:38:38 Step 14/21 : FROM ${BASE} 18:38:38 ---> 5eabd8fd8ba2 18:38:38 Step 15/21 : MAINTAINER IOTech 18:38:38 ---> Running in 72081264ca4f 18:38:38 Removing intermediate container 72081264ca4f 18:38:38 ---> 56d9a03d634d 18:38:38 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 18:38:38 ---> Running in ab4a0e33a5a3 18:38:39 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 18:38:39 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 18:38:40 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 18:38:40 (1/3) Installing curl (7.64.0-r3) 18:38:40 (2/3) Installing libuuid (2.33-r0) 18:38:40 (3/3) Installing wget (1.20.3-r0) 18:38:40 [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o 18:38:40 Executing busybox-1.29.3-r10.trigger 18:38:40 OK: 268 MiB in 78 packages 18:38:41 Removing intermediate container ab4a0e33a5a3 18:38:41 ---> a0e144e0d876 18:38:41 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 18:38:41 ---> e8544daf2665 18:38:41 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 18:38:41 ---> 37fb15fef4ac 18:38:41 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 18:38:41 ---> 09efc26cb5e3 18:38:41 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 18:38:41 [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 18:38:42 ---> 636e9bb8634a 18:38:42 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 18:38:42 ---> 6bb6553e77a6 18:38:42 Successfully built 6bb6553e77a6 18:38:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:38:42 + docker inspect -f . ci-base-image-x86_64 18:38:42 . [Pipeline] withDockerContainer 18:38:43 prd-centos7-docker-4c-2g-3386 does not seem to be running inside a container 18:38:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:38:43 $ docker top 16cb4ad648629868659f5febe5f9d1c061e33e7d68e7247e499ffda7ba3b095e -eo pid,comm [Pipeline] { [Pipeline] sh 18:38:44 + make test 18:38:44 echo "make test" 18:38:44 make test [Pipeline] } 18:38:44 $ docker stop --time=1 16cb4ad648629868659f5febe5f9d1c061e33e7d68e7247e499ffda7ba3b095e 18:38:45 [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 18:38:45 $ docker rm -f 16cb4ad648629868659f5febe5f9d1c061e33e7d68e7247e499ffda7ba3b095e [Pipeline] // withDockerContainer 18:38:45 [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 18:38:46 [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [Pipeline] sh 18:38:47 [ 74%] Linking C shared library libcsdk.so 18:38:47 [ 74%] Built target csdk 18:38:47 Scanning dependencies of target template 18:38:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:38:47 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 18:38:48 + ls -al . 18:38:48 total 160 18:38:48 drwxrwxr-x. 9 jenkins jenkins 275 Jun 17 18:37 . 18:38:48 drwxrwxr-x. 4 jenkins jenkins 28 Jun 17 18:37 .. 18:38:48 -rw-rw-r--. 1 jenkins jenkins 3104 Jun 17 18:37 Attribution.txt 18:38:48 -rw-rw-r--. 1 jenkins jenkins 5323 Jun 17 18:37 CHANGES 18:38:48 drwxrwxr-x. 2 jenkins jenkins 144 Jun 17 18:37 docs 18:38:48 -rw-rw-r--. 1 jenkins jenkins 108574 Jun 17 18:37 Doxyfile 18:38:48 drwxrwxr-x. 8 jenkins jenkins 179 Jun 17 18:37 .git 18:38:48 drwxrwxr-x. 2 jenkins jenkins 38 Jun 17 18:37 .github 18:38:48 -rw-rw-r--. 1 jenkins jenkins 176 Jun 17 18:37 .gitignore 18:38:48 drwxrwxr-x. 4 jenkins jenkins 33 Jun 17 18:37 include 18:38:48 -rw-rw-r--. 1 jenkins jenkins 794 Jun 17 18:37 Jenkinsfile 18:38:48 -rw-rw-r--. 1 jenkins jenkins 10174 Jun 17 18:37 LICENSE 18:38:48 -rw-rw-r--. 1 jenkins jenkins 449 Jun 17 18:37 Makefile 18:38:48 -rw-rw-r--. 1 jenkins jenkins 1849 Jun 17 18:37 README.md 18:38:48 -rw-rw-r--. 1 jenkins jenkins 5229 Jun 17 18:37 README.v2.md 18:38:48 drwxrwxr-x. 2 jenkins jenkins 108 Jun 17 18:37 scripts 18:38:48 drwxrwxr-x. 3 jenkins jenkins 58 Jun 17 18:37 .semver 18:38:48 drwxrwxr-x. 4 jenkins jenkins 50 Jun 17 18:37 src 18:38:48 -rw-rw-r--. 1 jenkins jenkins 5 Jun 17 18:35 VERSION [Pipeline] isUnix [Pipeline] sh 18:38:48 + docker build -t docker-device-sdk-c -f scripts/Dockerfile.alpine-3.11 --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=84ab060de2acfc7e944fade273d3b37ae45e656d --label arch=amd64 --label version=0.0.0 . 18:38:48 Sending build context to Docker daemon 3.292MB 18:38:48 Step 1/15 : ARG BASE=alpine:3.11 18:38:48 Step 2/15 : FROM ${BASE} 18:38:48 ---> 6bb6553e77a6 18:38:48 Step 3/15 : MAINTAINER IOTech 18:38:48 [ 78%] Linking C executable template 18:38:48 [ 78%] Built target template 18:38:48 Scanning dependencies of target device-counter 18:38:48 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 18:38:49 ---> Running in 094c8e748a1c 18:38:49 Removing intermediate container 094c8e748a1c 18:38:49 ---> 6ba997d535ab 18:38:49 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 18:38:49 ---> Running in 3e5d60feb6d6 18:38:49 [ 81%] Linking C executable device-counter 18:38:49 [ 81%] Built target device-counter 18:38:49 Scanning dependencies of target device-random 18:38:49 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 18:38:49 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 18:38:50 [ 85%] Linking C executable device-random 18:38:50 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 18:38:50 [ 85%] Built target device-random 18:38:50 Scanning dependencies of target device-gyro 18:38:50 [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 18:38:50 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 18:38:50 (2/6) Installing libblkid (2.33-r0) 18:38:50 [ 89%] Linking C executable device-gyro 18:38:50 (3/6) Installing libfdisk (2.33-r0) 18:38:50 (4/6) Installing libmount (2.33-r0) 18:38:50 (5/6) Installing libsmartcols (2.33-r0) 18:38:50 [ 89%] Built target device-gyro 18:38:50 Scanning dependencies of target template-discovery 18:38:50 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 18:38:50 (6/6) Installing util-linux-dev (2.33-r0) 18:38:51 Executing busybox-1.29.3-r10.trigger 18:38:51 OK: 272 MiB in 84 packages 18:38:51 [ 92%] Linking C executable template-discovery 18:38:51 Removing intermediate container 3e5d60feb6d6 18:38:51 ---> 75c7820c8f1f 18:38:51 Step 5/15 : COPY VERSION /edgex-c-sdk/ 18:38:51 ---> a119d526abb0 18:38:51 Step 6/15 : COPY src /edgex-c-sdk/src/ 18:38:51 [ 92%] Built target template-discovery 18:38:51 Scanning dependencies of target device-terminal 18:38:51 [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 18:38:52 [ 96%] Linking C executable device-terminal 18:38:52 [ 96%] Built target device-terminal 18:38:52 Scanning dependencies of target templatev1 18:38:52 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 18:38:52 ---> a6f2dca75cf7 18:38:52 Step 7/15 : COPY include /edgex-c-sdk/include/ 18:38:52 ---> 7eb5df3ee9c9 18:38:52 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 18:38:52 ---> d9601a76e4b6 18:38:52 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 18:38:52 ---> 0fbf4368c432 18:38:52 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 18:38:53 [100%] Linking C executable templatev1 18:38:53 [100%] Built target templatev1 18:38:53 + + teemake -a package release.log 18:38:53 18:38:53 ---> e23d053a7e04 18:38:53 Step 11/15 : WORKDIR /edgex-c-sdk 18:38:53 ---> Running in 8c9e65fb1178 18:38:53 [ 74%] Built target csdk 18:38:53 [ 78%] Built target template 18:38:53 [ 81%] Built target device-counter 18:38:53 [ 85%] Built target device-random 18:38:53 Removing intermediate container 8c9e65fb1178 18:38:53 ---> f046fe186503 18:38:53 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 18:38:53 ---> Running in 3e74be83aaef 18:38:53 Removing intermediate container 3e74be83aaef 18:38:53 ---> 7e61b4eb074a 18:38:53 Step 13/15 : LABEL arch=amd64 18:38:53 ---> Running in 9d564d3bbf57 18:38:53 [ 89%] Built target device-gyro 18:38:53 [ 92%] Built target template-discovery 18:38:53 [ 96%] Built target device-terminal 18:38:53 [100%] Built target templatev1 18:38:53 Run CPack packaging tool... 18:38:53 CPack: Create package using TGZ 18:38:53 CPack: Install projects 18:38:53 CPack: - Run preinstall target for: Csdk 18:38:54 Removing intermediate container 9d564d3bbf57 18:38:54 ---> d2a6411a5a3c 18:38:54 Step 14/15 : LABEL git_sha=84ab060de2acfc7e944fade273d3b37ae45e656d 18:38:54 ---> Running in 8c36bfe856d5 18:38:54 Removing intermediate container 8c36bfe856d5 18:38:54 ---> 98cd9743bc5b 18:38:54 Step 15/15 : LABEL version=0.0.0 18:38:54 ---> Running in b68068129f79 18:38:54 Removing intermediate container b68068129f79 18:38:54 ---> 9876be0cd36b 18:38:54 [Warning] One or more build-args [ARCH MAKE] were not consumed 18:38:54 Successfully built 9876be0cd36b 18:38:54 Successfully tagged docker-device-sdk-c:latest [Pipeline] } 18:38:54 CPack: - Install project: Csdk 18:38:54 CPack: Create package 18:38:54 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 18:38:54 + '[' false '=' true ] 18:38:54 + '[' false '=' true ] 18:38:54 + mkdir -p /tmp/sdk/build/debug 18:38:54 + cd /tmp/sdk/build/debug 18:38:54 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage 18:38:54 -- The C compiler identification is GNU 8.3.0 [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } 18:38:54 -- Check for working C compiler: /usr/bin/cc 18:38:54 -- Check for working C compiler: /usr/bin/cc -- works 18:38:54 -- Detecting C compiler ABI info [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } 18:38:55 -- Detecting C compiler ABI info - done 18:38:55 -- Detecting C compile features [Pipeline] // stage [Pipeline] } 18:38:56 -- Detecting C compile features - done 18:38:56 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 18:38:56 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 18:38:56 -- Found LIBYAML: /usr/lib/libyaml.so 18:38:56 -- Found LIBUUID: /usr/lib/libuuid.so 18:38:56 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 18:38:56 -- C SDK 0.0.0 for Linux 18:38:56 -- Performing Test CSDK_HAVE_ATOMIC 18:38:56 -- Performing Test CSDK_HAVE_ATOMIC - Success 18:38:56 -- Found Curses: /usr/lib/libcurses.so 18:38:56 -- Configuring done 18:38:56 -- Generating done 18:38:56 -- Build files have been written to: /tmp/sdk/build/debug 18:38:56 + make 18:38:56 + tee debug.log 18:38:56 Scanning dependencies of target csdk 18:38:56 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 18:38:57 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 18:38:57 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 18:38:58 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 18:38:58 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 18:38:58 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 18:38:58 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 18:38:59 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 18:38:59 [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 18:39:00 [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 18:39:00 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 18:39:00 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 18:39:00 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 18:39:00 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 18:39:01 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 18:39:01 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 18:39:01 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 18:39:02 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 18:39:03 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 18:39:03 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 18:39:03 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 18:39:03 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 18:39:03 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 18:39:03 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 18:39:04 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 18:39:04 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 18:39:04 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 18:39:04 [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o 18:39:04 [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 18:39:05 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 18:39:05 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 18:39:06 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 18:39:07 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 18:39:07 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 18:39:07 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 18:39:08 [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o 18:39:08 [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 18:39:09 [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 18:39:09 [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 18:39:10 [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 18:39:10 [ 74%] Linking C shared library libcsdk.so 18:39:10 [ 74%] Built target csdk 18:39:10 Scanning dependencies of target template 18:39:10 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 18:39:10 [ 78%] Linking C executable template 18:39:11 [ 78%] Built target template 18:39:11 Scanning dependencies of target device-counter 18:39:11 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 18:39:11 [ 81%] Linking C executable device-counter 18:39:11 [ 81%] Built target device-counter 18:39:11 Scanning dependencies of target device-random 18:39:11 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 18:39:11 [ 85%] Linking C executable device-random 18:39:12 [ 85%] Built target device-random 18:39:12 Scanning dependencies of target device-gyro 18:39:12 [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 18:39:12 [ 89%] Linking C executable device-gyro 18:39:12 [ 89%] Built target device-gyro 18:39:12 Scanning dependencies of target template-discovery 18:39:12 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 18:39:13 [ 92%] Linking C executable template-discovery 18:39:13 [ 92%] Built target template-discovery 18:39:13 Scanning dependencies of target device-terminal 18:39:13 [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 18:39:13 [ 96%] Linking C executable device-terminal 18:39:13 [ 96%] Built target device-terminal 18:39:13 Scanning dependencies of target templatev1 18:39:13 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 18:39:14 [100%] Linking C executable templatev1 18:39:14 [100%] Built target templatev1 18:39:14 make: Entering directory '/tmp/sdk/build/release' 18:39:14 make[1]: Entering directory '/tmp/sdk/build/release' 18:39:14 make[2]: Entering directory '/tmp/sdk/build/release' 18:39:14 Scanning dependencies of target csdk 18:39:14 make[2]: Leaving directory '/tmp/sdk/build/release' 18:39:14 make[2]: Entering directory '/tmp/sdk/build/release' 18:39:14 [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o 18:39:16 [ 3%] Linking C shared library libcsdk.so 18:39:16 make[2]: Leaving directory '/tmp/sdk/build/release' 18:39:16 [ 74%] Built target csdk 18:39:16 make[2]: Entering directory '/tmp/sdk/build/release' 18:39:16 make[2]: Leaving directory '/tmp/sdk/build/release' 18:39:16 make[2]: Entering directory '/tmp/sdk/build/release' 18:39:16 [ 76%] Linking C executable template 18:39:16 make[2]: Leaving directory '/tmp/sdk/build/release' 18:39:16 [ 78%] Built target template 18:39:16 make[2]: Entering directory '/tmp/sdk/build/release' 18:39:16 make[2]: Leaving directory '/tmp/sdk/build/release' 18:39:16 make[2]: Entering directory '/tmp/sdk/build/release' 18:39:16 [ 80%] Linking C executable device-counter 18:39:16 make[2]: Leaving directory '/tmp/sdk/build/release' 18:39:16 [ 81%] Built target device-counter 18:39:16 make[2]: Entering directory '/tmp/sdk/build/release' 18:39:16 make[2]: Leaving directory '/tmp/sdk/build/release' 18:39:16 make[2]: Entering directory '/tmp/sdk/build/release' 18:39:16 [ 83%] Linking C executable device-random 18:39:17 make[2]: Leaving directory '/tmp/sdk/build/release' 18:39:17 [ 85%] Built target device-random 18:39:17 make[2]: Entering directory '/tmp/sdk/build/release' 18:39:17 make[2]: Leaving directory '/tmp/sdk/build/release' 18:39:17 make[2]: Entering directory '/tmp/sdk/build/release' 18:39:17 [ 87%] Linking C executable device-gyro 18:39:17 make[2]: Leaving directory '/tmp/sdk/build/release' 18:39:17 [ 89%] Built target device-gyro 18:39:17 make[2]: Entering directory '/tmp/sdk/build/release' 18:39:17 make[2]: Leaving directory '/tmp/sdk/build/release' 18:39:17 make[2]: Entering directory '/tmp/sdk/build/release' 18:39:17 [ 90%] Linking C executable template-discovery 18:39:17 make[2]: Leaving directory '/tmp/sdk/build/release' 18:39:17 [ 92%] Built target template-discovery 18:39:17 make[2]: Entering directory '/tmp/sdk/build/release' 18:39:17 make[2]: Leaving directory '/tmp/sdk/build/release' 18:39:17 make[2]: Entering directory '/tmp/sdk/build/release' 18:39:17 [ 94%] Linking C executable device-terminal 18:39:17 make[2]: Leaving directory '/tmp/sdk/build/release' 18:39:17 [ 96%] Built target device-terminal 18:39:17 make[2]: Entering directory '/tmp/sdk/build/release' 18:39:17 make[2]: Leaving directory '/tmp/sdk/build/release' 18:39:17 make[2]: Entering directory '/tmp/sdk/build/release' 18:39:17 [ 98%] Linking C executable templatev1 18:39:18 make[2]: Leaving directory '/tmp/sdk/build/release' 18:39:18 [100%] Built target templatev1 18:39:18 make[1]: Leaving directory '/tmp/sdk/build/release' 18:39:18 Install the project... 18:39:18 -- Install configuration: "Release" 18:39:18 -- Installing: /usr/local/lib/libcsdk.so 18:39:18 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 18:39:18 -- Up-to-date: /usr/local/include 18:39:18 -- Installing: /usr/local/include/edgex 18:39:18 -- Installing: /usr/local/include/edgex/device-mgmt.h 18:39:18 -- Installing: /usr/local/include/edgex/eventgen.h 18:39:18 -- Installing: /usr/local/include/edgex/error.h 18:39:18 -- Installing: /usr/local/include/edgex/rest-server.h 18:39:18 -- Installing: /usr/local/include/edgex/edgex-base.h 18:39:18 -- Installing: /usr/local/include/edgex/devsdk.h 18:39:18 -- Installing: /usr/local/include/edgex/edgex.h 18:39:18 -- Installing: /usr/local/include/edgex/registry.h 18:39:18 -- Installing: /usr/local/include/edgex/edgex-logging.h 18:39:18 -- Installing: /usr/local/include/edgex/devices.h 18:39:18 -- Installing: /usr/local/include/edgex/os.h 18:39:18 -- Installing: /usr/local/include/edgex/profiles.h 18:39:18 -- Installing: /usr/local/include/edgex/csdk-defs.h 18:39:18 -- Installing: /usr/local/include/devsdk 18:39:18 -- Installing: /usr/local/include/devsdk/devsdk-base.h 18:39:18 -- Installing: /usr/local/include/devsdk/devsdk.h 18:39:18 -- Installing: /usr/local/include/iot 18:39:18 -- Installing: /usr/local/include/iot/json.h 18:39:18 -- Installing: /usr/local/include/iot/container.h 18:39:18 -- Installing: /usr/local/include/iot/component.h 18:39:18 -- Installing: /usr/local/include/iot/typecode.h 18:39:18 -- Installing: /usr/local/include/iot/iot.h 18:39:18 -- Installing: /usr/local/include/iot/time.h 18:39:18 -- Installing: /usr/local/include/iot/hash.h 18:39:18 -- Installing: /usr/local/include/iot/logger.h 18:39:18 -- Installing: /usr/local/include/iot/os 18:39:18 -- Installing: /usr/local/include/iot/os/zephyr.h 18:39:18 -- Installing: /usr/local/include/iot/os/linux.h 18:39:18 -- Installing: /usr/local/include/iot/scheduler.h 18:39:18 -- Installing: /usr/local/include/iot/data.h 18:39:18 -- Installing: /usr/local/include/iot/thread.h 18:39:18 -- Installing: /usr/local/include/iot/os.h 18:39:18 -- Installing: /usr/local/include/iot/base64.h 18:39:18 -- Installing: /usr/local/include/iot/threadpool.h 18:39:18 -- Installing: /usr/local/share/device-sdk-c/LICENSE 18:39:18 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 18:39:18 make: Leaving directory '/tmp/sdk/build/release' 18:39:20 Removing intermediate container d989625106c3 18:39:20 ---> 9ec6625777df 18:39:20 Step 14/21 : FROM ${BASE} 18:39:20 ---> b23d30803547 18:39:20 Step 15/21 : MAINTAINER IOTech 18:39:20 ---> Running in b6b14aee120a 18:39:20 Removing intermediate container b6b14aee120a 18:39:20 ---> 4ed52e5de478 18:39:20 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 18:39:21 ---> Running in b6e1c552b2d3 18:39:22 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 18:39:23 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 18:39:23 (1/3) Installing curl (7.64.0-r3) 18:39:23 (2/3) Installing libuuid (2.33-r0) 18:39:23 (3/3) Installing wget (1.20.3-r0) 18:39:23 Executing busybox-1.29.3-r10.trigger 18:39:23 OK: 281 MiB in 78 packages 18:39:24 Removing intermediate container b6e1c552b2d3 18:39:24 ---> afe337764ecb 18:39:24 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 18:39:25 ---> c70f2007ac73 18:39:25 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 18:39:26 ---> 659f9d5e5b86 18:39:26 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 18:39:27 ---> 172a1fed787c 18:39:27 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 18:39:28 ---> 4b434416b2d3 18:39:28 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 18:39:28 ---> be1104ce0a0d 18:39:28 Successfully built be1104ce0a0d 18:39:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:39:29 + docker inspect -f . ci-base-image-arm64 18:39:29 . [Pipeline] withDockerContainer 18:39:29 prd-ubuntu18.04-docker-arm64-4c-16g-3385 does not seem to be running inside a container 18:39:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:39:31 $ docker top a4d485fbba8c1e572fbee817fe446d44f9723d79e534b6d3a0c879a87fe4d90d -eo pid,comm [Pipeline] { [Pipeline] sh 18:39:33 + make test 18:39:33 echo "make test" 18:39:33 make test [Pipeline] } 18:39:33 $ docker stop --time=1 a4d485fbba8c1e572fbee817fe446d44f9723d79e534b6d3a0c879a87fe4d90d 18:39:35 $ docker rm -f a4d485fbba8c1e572fbee817fe446d44f9723d79e534b6d3a0c879a87fe4d90d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:39:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:39:36 + ls -al . 18:39:36 total 196 18:39:36 drwxrwxr-x 9 jenkins jenkins 4096 Jun 17 18:37 . 18:39:36 drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 18:37 .. 18:39:36 drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 18:37 .git 18:39:36 drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 18:37 .github 18:39:36 -rw-rw-r-- 1 jenkins jenkins 176 Jun 17 18:37 .gitignore 18:39:36 drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 18:37 .semver 18:39:36 -rw-rw-r-- 1 jenkins jenkins 3104 Jun 17 18:37 Attribution.txt 18:39:36 -rw-rw-r-- 1 jenkins jenkins 5323 Jun 17 18:37 CHANGES 18:39:36 -rw-rw-r-- 1 jenkins jenkins 108574 Jun 17 18:37 Doxyfile 18:39:36 -rw-rw-r-- 1 jenkins jenkins 794 Jun 17 18:37 Jenkinsfile 18:39:36 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 17 18:37 LICENSE 18:39:36 -rw-rw-r-- 1 jenkins jenkins 449 Jun 17 18:37 Makefile 18:39:36 -rw-rw-r-- 1 jenkins jenkins 1849 Jun 17 18:37 README.md 18:39:36 -rw-rw-r-- 1 jenkins jenkins 5229 Jun 17 18:37 README.v2.md 18:39:36 -rw-rw-r-- 1 jenkins jenkins 5 Jun 17 18:35 VERSION 18:39:36 drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 18:37 docs 18:39:36 drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 18:37 include 18:39:36 drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 18:37 scripts 18:39:36 drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 18:37 src [Pipeline] isUnix [Pipeline] sh 18:39:36 + docker build -t docker-device-sdk-c-arm64 -f scripts/Dockerfile.alpine-3.11 --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=84ab060de2acfc7e944fade273d3b37ae45e656d --label arch=arm64 --label version=0.0.0 . 18:39:37 Sending build context to Docker daemon 3.292MB 18:39:37 Step 1/15 : ARG BASE=alpine:3.11 18:39:37 Step 2/15 : FROM ${BASE} 18:39:37 ---> be1104ce0a0d 18:39:37 Step 3/15 : MAINTAINER IOTech 18:39:37 ---> Running in d491f6221e1c 18:39:37 Removing intermediate container d491f6221e1c 18:39:37 ---> 23065293550a 18:39:37 Step 4/15 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev && mkdir -p /edgex-c-sdk/build 18:39:38 ---> Running in ff2c693d2c0a 18:39:39 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 18:39:40 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 18:39:40 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 18:39:40 (2/6) Installing libblkid (2.33-r0) 18:39:40 (3/6) Installing libfdisk (2.33-r0) 18:39:40 (4/6) Installing libmount (2.33-r0) 18:39:41 (5/6) Installing libsmartcols (2.33-r0) 18:39:41 (6/6) Installing util-linux-dev (2.33-r0) 18:39:41 Executing busybox-1.29.3-r10.trigger 18:39:41 OK: 286 MiB in 84 packages 18:39:42 Removing intermediate container ff2c693d2c0a 18:39:42 ---> e22e12ab1b29 18:39:42 Step 5/15 : COPY VERSION /edgex-c-sdk/ 18:39:43 ---> 55863e3ea90b 18:39:43 Step 6/15 : COPY src /edgex-c-sdk/src/ 18:39:44 ---> 1bf5cee15329 18:39:44 Step 7/15 : COPY include /edgex-c-sdk/include/ 18:39:44 ---> b5527b68c417 18:39:44 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 18:39:45 ---> c2f557c9ef91 18:39:45 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 18:39:46 ---> 0490b7229721 18:39:46 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 18:39:47 ---> 8779aa95aeaf 18:39:47 Step 11/15 : WORKDIR /edgex-c-sdk 18:39:47 ---> Running in d926fc7f9679 18:39:47 Removing intermediate container d926fc7f9679 18:39:47 ---> b1ee7190a2cc 18:39:47 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 18:39:47 ---> Running in cac84d36ebcd 18:39:48 Removing intermediate container cac84d36ebcd 18:39:48 ---> a66cd73cf5c5 18:39:48 Step 13/15 : LABEL arch=arm64 18:39:48 ---> Running in d203c2cb311c 18:39:48 Removing intermediate container d203c2cb311c 18:39:48 ---> 6c34f0154bfd 18:39:48 Step 14/15 : LABEL git_sha=84ab060de2acfc7e944fade273d3b37ae45e656d 18:39:48 ---> Running in aa55b58e36a1 18:39:49 Removing intermediate container aa55b58e36a1 18:39:49 ---> aa15331c9e05 18:39:49 Step 15/15 : LABEL version=0.0.0 18:39:49 ---> Running in a0cda61d4ba7 18:39:50 Removing intermediate container a0cda61d4ba7 18:39:50 ---> bb61548929ca 18:39:50 [Warning] One or more build-args [ARCH MAKE] were not consumed 18:39:50 Successfully built bb61548929ca 18:39:50 Successfully tagged docker-device-sdk-c-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 18:39:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:39:52 ---> package-listing.sh 18:39:52 ++ facter osfamily 18:39:52 ++ tr '[:upper:]' '[:lower:]' 18:39:52 + OS_FAMILY=redhat 18:39:52 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-270 18:39:52 + START_PACKAGES=/tmp/packages_start.txt 18:39:52 + END_PACKAGES=/tmp/packages_end.txt 18:39:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:39:52 + PACKAGES=/tmp/packages_start.txt 18:39:52 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-270 ']' 18:39:52 + PACKAGES=/tmp/packages_end.txt 18:39:52 + case "${OS_FAMILY}" in 18:39:52 + rpm -qa 18:39:52 + sort 18:39:57 + '[' -f /tmp/packages_start.txt ']' 18:39:57 + '[' -f /tmp/packages_end.txt ']' 18:39:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:39:57 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-270 ']' 18:39:57 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-270/archives/ 18:39:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-270/archives/ [Pipeline] isUnix [Pipeline] sh 18:39:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:39:57 18:39:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 18:39:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:39:58 alpine: Pulling from edgex-lftools-log-publisher 18:39:58 c9b1b535fdd9: Pulling fs layer 18:39:58 2cc5ad85d9ab: Pulling fs layer 18:39:58 756a868c4378: Pulling fs layer 18:39:58 444b2fc9a129: Pulling fs layer 18:39:58 ea15f1150254: Pulling fs layer 18:39:58 41b27a9f41bf: Pulling fs layer 18:39:58 444b2fc9a129: Waiting 18:39:58 28c525ee5125: Pulling fs layer 18:39:58 094b1ea09ed8: Pulling fs layer 18:39:58 138eaada9080: Pulling fs layer 18:39:58 0622d0fa9048: Pulling fs layer 18:39:58 28c525ee5125: Waiting 18:39:58 41b27a9f41bf: Waiting 18:39:58 094b1ea09ed8: Waiting 18:39:58 138eaada9080: Waiting 18:39:58 2cc5ad85d9ab: Verifying Checksum 18:39:58 2cc5ad85d9ab: Download complete 18:39:58 444b2fc9a129: Verifying Checksum 18:39:58 444b2fc9a129: Download complete 18:39:58 c9b1b535fdd9: Verifying Checksum 18:39:58 c9b1b535fdd9: Download complete 18:39:58 ea15f1150254: Verifying Checksum 18:39:58 ea15f1150254: Download complete 18:39:58 28c525ee5125: Verifying Checksum 18:39:58 28c525ee5125: Download complete 18:39:58 c9b1b535fdd9: Pull complete 18:39:58 2cc5ad85d9ab: Pull complete 18:39:58 756a868c4378: Verifying Checksum 18:39:58 756a868c4378: Download complete 18:39:58 138eaada9080: Verifying Checksum 18:39:58 138eaada9080: Download complete 18:39:58 0622d0fa9048: Verifying Checksum 18:39:58 0622d0fa9048: Download complete 18:39:58 094b1ea09ed8: Verifying Checksum 18:39:58 094b1ea09ed8: Download complete 18:39:59 41b27a9f41bf: Verifying Checksum 18:39:59 41b27a9f41bf: Download complete 18:40:00 756a868c4378: Pull complete 18:40:00 444b2fc9a129: Pull complete 18:40:00 ea15f1150254: Pull complete 18:40:04 41b27a9f41bf: Pull complete 18:40:04 28c525ee5125: Pull complete 18:40:07 094b1ea09ed8: Pull complete 18:40:07 138eaada9080: Pull complete 18:40:07 0622d0fa9048: Pull complete 18:40:07 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 18:40:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:40:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 18:40:07 prd-centos7-docker-4c-2g-3384 does not seem to be running inside a container 18:40:07 $ 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-270 -v /w/workspace/edgexfoundry_device-sdk-c_PR-270:/w/workspace/edgexfoundry_device-sdk-c_PR-270:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-270@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-270@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 18:40:11 $ docker top 2a36757bb5188ecccf0db4d37d4c6f2a430c8ac0dff322adf0b1507d03fb8161 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:40:11 provisioning config files... 18:40:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-270@tmp/config975460053926307807tmp [Pipeline] { [Pipeline] echo 18:40:11 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:40:11 ---> create-netrc.sh [Pipeline] echo 18:40:11 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:40:12 ---> logs-deploy.sh 18:40:12 + ARCHIVE_ARTIFACTS= 18:40:12 + LOGS_SERVER=https://logs.edgexfoundry.org 18:40:12 + '[' https://logs.edgexfoundry.org == None ']' 18:40:12 + NEXUS_URL=https://nexus.edgexfoundry.org 18:40:12 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-270/1 18:40:12 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-270/1/ 18:40:12 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-270/1 /w/workspace/edgexfoundry_device-sdk-c_PR-270 18:40:13 Archives upload complete. 18:40:13 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-270/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-270/1/ 18:40:14 ---> uname -a: 18:40:14 Linux 2a36757bb518 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 18:40:14 18:40:14 18:40:14 ---> lscpu: 18:40:14 Architecture: x86_64 18:40:14 CPU op-mode(s): 32-bit, 64-bit 18:40:14 Byte Order: Little Endian 18:40:14 Address sizes: 40 bits physical, 48 bits virtual 18:40:14 CPU(s): 4 18:40:14 On-line CPU(s) list: 0-3 18:40:14 Thread(s) per core: 1 18:40:14 Core(s) per socket: 1 18:40:14 Socket(s): 4 18:40:14 NUMA node(s): 1 18:40:14 Vendor ID: GenuineIntel 18:40:14 CPU family: 6 18:40:14 Model: 44 18:40:14 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 18:40:14 Stepping: 1 18:40:14 CPU MHz: 2933.396 18:40:14 BogoMIPS: 5866.79 18:40:14 Virtualization: VT-x 18:40:14 Hypervisor vendor: KVM 18:40:14 Virtualization type: full 18:40:14 L1d cache: 128 KiB 18:40:14 L1i cache: 128 KiB 18:40:14 L2 cache: 16 MiB 18:40:14 L3 cache: 64 MiB 18:40:14 NUMA node0 CPU(s): 0-3 18:40:14 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 18:40:14 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 18:40:14 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 18:40:14 Vulnerability Meltdown: Mitigation; PTI 18:40:14 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 18:40:14 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 18:40:14 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 18:40:14 Vulnerability Tsx async abort: Not affected 18:40:14 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 18:40:14 18:40:14 18:40:14 ---> nproc: 18:40:14 4 18:40:14 18:40:14 18:40:14 ---> df -h: 18:40:14 Filesystem Size Used Available Use% Mounted on 18:40:14 overlay 50.0G 7.2G 42.8G 14% / 18:40:14 tmpfs 64.0M 0 64.0M 0% /dev 18:40:14 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 18:40:14 shm 64.0M 0 64.0M 0% /dev/shm 18:40:14 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/resolv.conf 18:40:14 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hostname 18:40:14 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hosts 18:40:14 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/sa 18:40:14 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/edgexfoundry_device-sdk-c_PR-270 18:40:14 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/edgexfoundry_device-sdk-c_PR-270@tmp 18:40:14 18:40:14 18:40:14 ---> free -m: 18:40:14 total used free shared buff/cache available 18:40:14 Mem: 1837 654 119 0 1063 1076 18:40:14 Swap: 1023 1 1022 18:40:14 18:40:14 18:40:14 ---> ip addr: 18:40:14 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 18:40:14 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 18:40:14 inet 127.0.0.1/8 scope host lo 18:40:14 valid_lft forever preferred_lft forever 18:40:14 6: eth0@if7: mtu 1458 qdisc noqueue state UP 18:40:14 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 18:40:14 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 18:40:14 valid_lft forever preferred_lft forever 18:40:14 18:40:14 18:40:14 ---> sar -b -r -n DEV: 18:40:14 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 06/17/20 _x86_64_ (4 CPU) 18:40:14 18:40:14 18:34:16 LINUX RESTART 18:40:14 18:40:14 18:35:01 tps rtps wtps bread/s bwrtn/s 18:40:14 18:36:01 25.96 7.74 18.22 2581.72 2459.65 18:40:14 18:37:01 0.68 0.00 0.68 0.00 9.36 18:40:14 18:38:01 0.25 0.00 0.25 0.00 3.33 18:40:14 18:39:01 0.23 0.00 0.23 0.00 2.70 18:40:14 18:40:01 59.59 44.32 15.28 4653.99 7846.79 18:40:14 Average: 17.36 10.43 6.94 1448.46 2066.69 18:40:14 18:40:14 18:35:01 kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:40:14 18:36:01 173012 1708544 90.80 2620 1133312 1105584 37.73 419952 1128460 16 18:40:14 18:37:01 177264 1704292 90.58 2620 1133316 1079580 36.84 420552 1124436 16 18:40:14 18:38:01 173308 1708248 90.79 2620 1133324 1079736 36.85 424652 1123912 8 18:40:14 18:39:01 173988 1707568 90.75 2620 1133324 1079508 36.84 424680 1123252 8 18:40:14 18:40:01 71368 1810188 96.21 2620 1131880 1512808 51.63 543748 1082056 82352 18:40:14 Average: 153788 1727768 91.83 2620 1133031 1171443 39.98 446717 1116423 16480 18:40:14 18:40:14 18:35:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 18:40:14 18:36:01 eth0 56.87 45.81 349.18 44.53 0.00 0.00 0.00 18:40:14 18:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:40:14 18:36:01 docker0 8.18 6.53 0.99 19.20 0.00 0.00 0.00 18:40:14 18:37:01 eth0 2.10 0.93 1.55 0.06 0.00 0.00 0.00 18:40:14 18:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:40:14 18:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:40:14 18:38:01 eth0 1.25 0.78 0.57 0.41 0.00 0.00 0.00 18:40:14 18:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:40:14 18:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:40:14 18:39:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 18:40:14 18:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:40:14 18:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:40:14 18:40:01 eth0 91.07 59.44 2320.64 8.02 0.00 0.00 0.00 18:40:14 18:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:40:14 18:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:40:14 Average: eth0 30.30 21.43 535.10 10.60 0.00 0.00 0.00 18:40:14 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:40:14 Average: docker0 1.63 1.31 0.20 3.84 0.00 0.00 0.00 18:40:14 18:40:14 18:40:14 ---> sar -P ALL: 18:40:14 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 06/17/20 _x86_64_ (4 CPU) 18:40:14 18:40:14 18:34:16 LINUX RESTART 18:40:14 18:40:14 18:35:01 CPU %user %nice %system %iowait %steal %idle 18:40:14 18:36:01 all 2.39 0.00 1.18 0.66 0.00 95.76 18:40:14 18:36:01 0 1.94 0.00 1.10 0.62 0.02 96.32 18:40:14 18:36:01 1 2.15 0.00 1.30 0.15 0.00 96.40 18:40:14 18:36:01 2 2.77 0.00 1.27 1.50 0.00 94.45 18:40:14 18:36:01 3 2.70 0.00 1.02 0.38 0.00 95.89 18:40:14 18:37:01 all 0.15 0.00 0.04 0.00 0.00 99.81 18:40:14 18:37:01 0 0.03 0.00 0.07 0.00 0.00 99.90 18:40:14 18:37:01 1 0.03 0.00 0.02 0.00 0.00 99.95 18:40:14 18:37:01 2 0.03 0.00 0.03 0.00 0.00 99.93 18:40:14 18:37:01 3 0.48 0.00 0.03 0.00 0.00 99.48 18:40:14 18:38:01 all 0.16 0.00 0.02 0.00 0.00 99.82 18:40:14 18:38:01 0 0.05 0.00 0.03 0.00 0.00 99.92 18:40:14 18:38:01 1 0.03 0.00 0.02 0.00 0.00 99.95 18:40:14 18:38:01 2 0.07 0.00 0.03 0.00 0.00 99.90 18:40:14 18:38:01 3 0.50 0.00 0.02 0.00 0.00 99.48 18:40:14 18:39:01 all 0.13 0.00 0.02 0.00 0.00 99.85 18:40:14 18:39:01 0 0.00 0.00 0.00 0.00 0.00 100.00 18:40:14 18:39:01 1 0.02 0.00 0.02 0.00 0.00 99.97 18:40:14 18:39:01 2 0.05 0.00 0.03 0.00 0.00 99.92 18:40:14 18:39:01 3 0.43 0.00 0.02 0.00 0.00 99.55 18:40:14 18:40:01 all 3.05 0.00 1.43 1.07 0.01 94.45 18:40:14 18:40:01 0 2.82 0.00 1.33 1.27 0.02 94.57 18:40:14 18:40:01 1 2.45 0.00 1.38 0.67 0.00 95.50 18:40:14 18:40:01 2 2.83 0.00 1.65 0.93 0.02 94.57 18:40:14 18:40:01 3 4.12 0.00 1.37 1.38 0.02 93.11 18:40:14 Average: all 1.17 0.00 0.54 0.35 0.00 97.94 18:40:14 Average: 0 0.97 0.00 0.51 0.38 0.01 98.14 18:40:14 Average: 1 0.94 0.00 0.55 0.16 0.00 98.35 18:40:14 Average: 2 1.15 0.00 0.60 0.49 0.00 97.76 18:40:14 Average: 3 1.65 0.00 0.49 0.35 0.00 97.51 18:40:14 18:40:14 18:40:14