Pull request #275 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 433f8bd9e2fac67d6eb6b5e6b63b7e85aaee9e7f+b4873c23cc909bb34276112007e0d4a5fd45beca (ecce4097f13b9cb5ed670901ced3f905fe7e8896) Running in Durability level: PERFORMANCE_OPTIMIZED 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-3.11-base, dockerFilePath:scripts/Dockerfile.alpine-3.11, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine-3.11 DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-3.11-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-c DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-4865 in /w/workspace/edgexfoundry_device-sdk-c_PR-275 [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-275 # 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/275/head:refs/remotes/origin/PR-275 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/275/head:refs/remotes/origin/PR-275 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit b4873c23cc909bb34276112007e0d4a5fd45beca into PR head commit 433f8bd9e2fac67d6eb6b5e6b63b7e85aaee9e7f Merge succeeded, producing 433f8bd9e2fac67d6eb6b5e6b63b7e85aaee9e7f Checking out Revision 433f8bd9e2fac67d6eb6b5e6b63b7e85aaee9e7f (PR-275) > 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/275/head:refs/remotes/origin/PR-275 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 433f8bd9e2fac67d6eb6b5e6b63b7e85aaee9e7f # 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 b4873c23cc909bb34276112007e0d4a5fd45beca # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 433f8bd9e2fac67d6eb6b5e6b63b7e85aaee9e7f # timeout=10 Commit message: "feat: implement device endpoint for v2 REST API" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:01:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:01:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git rev-list --no-walk a064d3c97585ef2d8ef2f5a9a6efcaa20fe91ff3 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:01:43 ========================================================= 09:01:43 EdgeX Global Pipelines Version Info 09:01:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:01:45 ------------------- 09:01:45 stable info: 09:01:45 ------------------- 09:01:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:01:45 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 09:01:45 Message: update stable to v1.0.89 09:01:46 ------------------- 09:01:46 experimental info: 09:01:46 ------------------- 09:01:46 Commited By: **** collab-it+edgex@linuxfoundation.org 09:01:46 Commit SHA: 50d5b24b0ab5f81d75c339234d0e2512bee9338e 09:01:46 Message: update experimental to v1.0.91 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 09:01:47 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:01:47 09:01:47 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:01:48 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:01:48 latest: Pulling from edgex-devops/git-semver 09:01:48 9123ac7c32f7: Pulling fs layer 09:01:48 b8cc5d1170e3: Pulling fs layer 09:01:48 2924cbbf6a41: Pulling fs layer 09:01:48 93b08a4f1073: Pulling fs layer 09:01:48 93b08a4f1073: Waiting 09:01:48 b8cc5d1170e3: Verifying Checksum 09:01:48 b8cc5d1170e3: Download complete 09:01:48 9123ac7c32f7: Verifying Checksum 09:01:48 9123ac7c32f7: Download complete 09:01:48 93b08a4f1073: Verifying Checksum 09:01:48 93b08a4f1073: Download complete 09:01:48 2924cbbf6a41: Verifying Checksum 09:01:48 2924cbbf6a41: Download complete 09:01:48 9123ac7c32f7: Pull complete 09:01:48 b8cc5d1170e3: Pull complete 09:01:49 2924cbbf6a41: Pull complete 09:01:49 93b08a4f1073: Pull complete 09:01:49 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 09:01:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:01:49 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:01:49 prd-centos7-docker-4c-2g-4865 does not seem to be running inside a container 09:01:49 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-275 -v /w/workspace/edgexfoundry_device-sdk-c_PR-275:/w/workspace/edgexfoundry_device-sdk-c_PR-275:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-275@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-275@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:01:52 $ docker top 10f121a4808ca481e10b8994cea9c12a06e27581812fc41024616b4031bb6b61 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:01:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:01:52 [ssh-agent] Looking for ssh-agent implementation... 09:01:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:01:52 $ docker exec 10f121a4808ca481e10b8994cea9c12a06e27581812fc41024616b4031bb6b61 ssh-agent 09:01:52 SSH_AUTH_SOCK=/tmp/ssh-W5NFOFOeGVfc/agent.12 09:01:52 SSH_AGENT_PID=18 09:01:52 Running ssh-add (command line suppressed) 09:01:52 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-275@tmp/private_key_3979735715352719146.key (/w/workspace/edgexfoundry_device-sdk-c_PR-275@tmp/private_key_3979735715352719146.key) 09:01:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:01:53 + git describe --exact-match --tags HEAD 09:01:53 fatal: No names found, cannot describe anything. [Pipeline] } 09:01:53 $ docker exec --env ******** --env ******** 10f121a4808ca481e10b8994cea9c12a06e27581812fc41024616b4031bb6b61 ssh-agent -k 09:01:53 unset SSH_AUTH_SOCK; 09:01:53 unset SSH_AGENT_PID; 09:01:53 echo Agent pid 18 killed; 09:01:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 09:01:53 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 09:01:53 This usually means this commit has not been tagged. [Pipeline] sshagent 09:01:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:01:53 [ssh-agent] Looking for ssh-agent implementation... 09:01:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:01:53 $ docker exec 10f121a4808ca481e10b8994cea9c12a06e27581812fc41024616b4031bb6b61 ssh-agent 09:01:53 SSH_AUTH_SOCK=/tmp/ssh-SNtCBLjXEJlp/agent.49 09:01:53 SSH_AGENT_PID=54 09:01:53 Running ssh-add (command line suppressed) 09:01:53 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-275@tmp/private_key_2166118553305541104.key (/w/workspace/edgexfoundry_device-sdk-c_PR-275@tmp/private_key_2166118553305541104.key) 09:01:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:01:54 + git semver init 09:01:54 # -> Open(): unable to determine branch for HEAD 09:01:54 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-275/.git 09:01:54 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-275 09:01:54 # $SEMVER_REMOTE_NAME = origin 09:01:54 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:01:54 # $SEMVER_USER_NAME = edgex-jenkins 09:01:54 # $SEMVER_BRANCH = PR-275 09:01:54 # $SEMVER_TEMP = /tmp/semver-268856575 09:01:54 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 09:01:54 # '/tmp/semver-268856575' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-275/.semver' 09:01:54 # -> Force: false 09:01:54 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-275/.semver [Pipeline] } 09:01:54 $ docker exec --env ******** --env ******** 10f121a4808ca481e10b8994cea9c12a06e27581812fc41024616b4031bb6b61 ssh-agent -k 09:01:54 unset SSH_AUTH_SOCK; 09:01:54 unset SSH_AGENT_PID; 09:01:54 echo Agent pid 54 killed; 09:01:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:01:55 + git semver [Pipeline] } 09:01:55 $ docker stop --time=1 10f121a4808ca481e10b8994cea9c12a06e27581812fc41024616b4031bb6b61 09:01:56 $ docker rm -f 10f121a4808ca481e10b8994cea9c12a06e27581812fc41024616b4031bb6b61 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 09:01:57 Stashed 53 file(s) [Pipeline] echo 09:01:57 [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 09:02:12 Still waiting to schedule task 09:02:12 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-4865’ 09:02:12 Still waiting to schedule task 09:02:12 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 09:03:49 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4866 in /w/workspace/edgexfoundry_device-sdk-c_PR-275 [Pipeline] { [Pipeline] ws 09:03:49 Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout 09:03:54 using credential edgex-jenkins-ssh 09:03:54 Cloning the remote Git repository 09:03:54 Cloning with configured refspecs honoured and without tags 09:03:54 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 09:03:55 > git init /w/workspace/device-sdk-c/2 # timeout=10 09:03:55 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 09:03:55 > git --version # timeout=10 09:03:55 using GIT_SSH to set credentials SSH Credentials for GitHub 09:03:55 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/275/head:refs/remotes/origin/PR-275 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:03:56 Fetching without tags 09:03:56 Merging remotes/origin/master commit b4873c23cc909bb34276112007e0d4a5fd45beca into PR head commit 433f8bd9e2fac67d6eb6b5e6b63b7e85aaee9e7f 09:03:57 Merge succeeded, producing 433f8bd9e2fac67d6eb6b5e6b63b7e85aaee9e7f 09:03:57 Checking out Revision 433f8bd9e2fac67d6eb6b5e6b63b7e85aaee9e7f (PR-275) 09:03:56 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 09:03:56 > git config --add remote.origin.fetch +refs/pull/275/head:refs/remotes/origin/PR-275 # timeout=10 09:03:56 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 09:03:56 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 09:03:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 09:03:56 using GIT_SSH to set credentials SSH Credentials for GitHub 09:03:56 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/275/head:refs/remotes/origin/PR-275 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:03:56 > git config core.sparsecheckout # timeout=10 09:03:56 > git checkout -f 433f8bd9e2fac67d6eb6b5e6b63b7e85aaee9e7f # timeout=10 09:03:56 > git remote # timeout=10 09:03:56 > git config --get remote.origin.url # timeout=10 09:03:56 using GIT_SSH to set credentials SSH Credentials for GitHub 09:03:57 > git merge b4873c23cc909bb34276112007e0d4a5fd45beca # timeout=10 09:03:57 > git rev-parse HEAD^{commit} # timeout=10 09:03:57 > git config core.sparsecheckout # timeout=10 09:03:57 > git checkout -f 433f8bd9e2fac67d6eb6b5e6b63b7e85aaee9e7f # timeout=10 09:04:01 Commit message: "feat: implement device endpoint for v2 REST API" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:04:02 ========================================================= 09:04:02 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 09:04:02 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:04:03 + 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 . 09:04:04 Sending build context to Docker daemon 3.312MB 09:04:04 Step 1/21 : ARG BASE=alpine:3.11 09:04:04 Step 2/21 : FROM ${BASE} as builder 09:04:04 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 09:04:04 0362ad1dd800: Pulling fs layer 09:04:04 f2cdb1532d8b: Pulling fs layer 09:04:04 37ed683be191: Pulling fs layer 09:04:04 f2cdb1532d8b: Verifying Checksum 09:04:04 f2cdb1532d8b: Download complete 09:04:04 0362ad1dd800: Verifying Checksum 09:04:04 0362ad1dd800: Download complete 09:04:05 0362ad1dd800: Pull complete 09:04:06 f2cdb1532d8b: Pull complete 09:04:07 37ed683be191: Verifying Checksum 09:04:07 37ed683be191: Download complete 09:04:17 37ed683be191: Pull complete 09:04:17 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 09:04:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 09:04:17 ---> b23d30803547 09:04:17 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 09:04:17 ---> Running in 9637e776c77f 09:04:19 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 09:04:20 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 09:04:20 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 09:04:20 (2/8) Installing libuuid (2.33-r0) 09:04:20 (3/8) Installing libblkid (2.33-r0) 09:04:21 (4/8) Installing libfdisk (2.33-r0) 09:04:21 (5/8) Installing libmount (2.33-r0) 09:04:21 (6/8) Installing libsmartcols (2.33-r0) 09:04:21 (7/8) Installing util-linux-dev (2.33-r0) 09:04:21 (8/8) Installing wget (1.20.3-r0) 09:04:21 Executing busybox-1.29.3-r10.trigger 09:04:21 OK: 285 MiB in 83 packages 09:04:23 Removing intermediate container 9637e776c77f 09:04:23 ---> ea8b2d7038dd 09:04:23 Step 4/21 : ENV CBOR_VERSION=0.5.0 09:04:23 ---> Running in bd1fb81660e0 09:04:23 Removing intermediate container bd1fb81660e0 09:04:23 ---> 19654dac656e 09:04:23 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 09:04:24 ---> Running in 9d03796caa60 09:04:25 --2020-06-30 09:04:25-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 09:04:25 Resolving github.com... 140.82.112.4 09:04:25 Connecting to github.com|140.82.112.4|:443... connected. 09:04:25 HTTP request sent, awaiting response... 302 Found 09:04:25 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 09:04:25 --2020-06-30 09:04:25-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 09:04:25 Resolving codeload.github.com... 140.82.112.10 09:04:25 Connecting to codeload.github.com|140.82.112.10|:443... connected. 09:04:25 HTTP request sent, awaiting response... 200 OK 09:04:25 Length: unspecified [application/x-gzip] 09:04:25 Saving to: 'STDOUT' 09:04:25  09:04:25 0K .......... .......... .......... .......... .......... 1.34M 09:04:25 50K .......... .......... .......... .......... .......... 2.80M 09:04:25 100K .......... .......... .......... .......... .......... 11.7M 09:04:25 150K .......... .......... .......... .......... .......... 3.09M 09:04:25 200K .......... .......... .......... .......... .......... 14.0M 09:04:25 250K .......... .......... .......... .......... .......... 3.11M 09:04:25 300K .......... .......... .......... .......... .......... 3.64M 09:04:25 350K .......... .......... .......... .......... .......... 4.88M 09:04:25 400K .......... .......... .......... .......... .......... 3.72M 09:04:25 450K .......... .......... .......... .......... .......... 3.35M 09:04:25 500K .......... .......... .......... .......... .......... 6.50M 09:04:26 550K .......... .......... .......... .......... .......... 2.20M 09:04:26 600K .......... .......... .......... .......... .......... 861K 09:04:26 650K .......... .......... .......... .......... .......... 2.84M 09:04:26 700K ..                          387K=0.3s 09:04:26 09:04:26 2020-06-30 09:04:25 (2.68 MB/s) - written to stdout [719348] 09:04:26 09:04:26 -- The C compiler identification is GNU 8.3.0 09:04:26 -- The CXX compiler identification is GNU 8.3.0 09:04:26 -- Check for working C compiler: /usr/bin/cc 09:04:26 -- Check for working C compiler: /usr/bin/cc -- works 09:04:26 -- Detecting C compiler ABI info 09:04:27 -- Detecting C compiler ABI info - done 09:04:27 -- Detecting C compile features 09:04:27 -- Detecting C compile features - done 09:04:27 -- Check for working CXX compiler: /usr/bin/c++ 09:04:28 -- Check for working CXX compiler: /usr/bin/c++ -- works 09:04:28 -- Detecting CXX compiler ABI info 09:04:28 -- Detecting CXX compiler ABI info - done 09:04:28 -- Detecting CXX compile features 09:04:29 -- Detecting CXX compile features - done 09:04:29 -- Looking for include file endian.h 09:04:29 -- Looking for include file endian.h - found 09:04:29 -- Check if the system is big endian 09:04:29 -- Searching 16 bit integer 09:04:29 -- Looking for sys/types.h 09:04:30 -- Looking for sys/types.h - found 09:04:30 -- Looking for stdint.h 09:04:30 -- Looking for stdint.h - found 09:04:30 -- Looking for stddef.h 09:04:30 -- Looking for stddef.h - found 09:04:30 -- Check size of unsigned short 09:04:31 -- Check size of unsigned short - done 09:04:31 -- Using unsigned short 09:04:31 -- Check if the system is big endian - little endian 09:04:31 -- Check size of size_t 09:04:31 -- Check size of size_t - done 09:04:31 CMake Warning at examples/CMakeLists.txt:16 (find_package): 09:04:31 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 09:04:31 asked CMake to find a package configuration file provided by "cJSON", but 09:04:31 CMake did not find one. 09:04:31 09:04:31 Could not find a package configuration file provided by "cJSON" with any of 09:04:31 the following names: 09:04:31 09:04:31 cJSONConfig.cmake 09:04:31 cjson-config.cmake 09:04:31 09:04:31 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 09:04:31 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 09:04:31 provides a separate development package or SDK, be sure it has been 09:04:31 installed. 09:04:31 09:04:31 09:04:31 -- Configuring done 09:04:31 -- Generating done 09:04:31 -- Build files have been written to: /tmp/cbor 09:04:31 Scanning dependencies of target cbor_shared 09:04:31 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 09:04:32 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 09:04:33 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 09:04:33 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 09:04:34 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 09:04:34 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 09:04:34 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 09:04:34 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 09:04:34 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 09:04:35 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 09:04:35 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 09:04:36 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 09:04:36 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 09:04:36 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 09:04:36 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 09:04:37 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 09:04:37 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 09:04:37 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 09:04:37 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 09:04:38 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 09:04:38 [ 40%] Linking C shared library libcbor.so 09:04:38 [ 40%] Built target cbor_shared 09:04:38 Scanning dependencies of target cbor 09:04:38 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 09:04:39 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 09:04:40 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 09:04:40 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 09:04:41 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 09:04:41 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 09:04:41 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 09:04:41 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 09:04:42 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 09:04:42 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 09:04:43 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 09:04:43 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 09:04:43 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 09:04:44 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 09:04:44 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 09:04:44 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 09:04:45 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 09:04:45 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 09:04:45 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 09:04:45 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 09:04:45 [ 80%] Linking C static library libcbor.a 09:04:45 [ 80%] Built target cbor 09:04:45 Scanning dependencies of target create_items 09:04:45 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 09:04:46 [ 84%] Linking C executable create_items 09:04:46 [ 84%] Built target create_items 09:04:46 Scanning dependencies of target readfile 09:04:46 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 09:04:46 [ 88%] Linking C executable readfile 09:04:46 [ 88%] Built target readfile 09:04:46 Scanning dependencies of target streaming_parser 09:04:46 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 09:04:46 [ 92%] Linking C executable streaming_parser 09:04:47 [ 92%] Built target streaming_parser 09:04:47 Scanning dependencies of target sort 09:04:47 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 09:04:47 [ 96%] Linking C executable sort 09:04:47 [ 96%] Built target sort 09:04:47 Scanning dependencies of target hello 09:04:47 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 09:04:47 [100%] Linking C executable hello 09:04:47 [100%] Built target hello 09:04:47 Install the project... 09:04:47 -- Install configuration: "Release" 09:04:47 -- Installing: /usr/local/include/cbor/configuration.h 09:04:47 -- Installing: /usr/local/lib64/libcbor.a 09:04:47 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 09:04:47 -- Installing: /usr/local/lib64/libcbor.so.0 09:04:47 -- Installing: /usr/local/lib64/libcbor.so 09:04:47 -- Up-to-date: /usr/local/include/cbor 09:04:47 -- Installing: /usr/local/include/cbor/streaming.h 09:04:47 -- Installing: /usr/local/include/cbor/ints.h 09:04:47 -- Installing: /usr/local/include/cbor/floats_ctrls.h 09:04:47 -- Installing: /usr/local/include/cbor/bytestrings.h 09:04:47 -- Installing: /usr/local/include/cbor/encoding.h 09:04:47 -- Installing: /usr/local/include/cbor/serialization.h 09:04:47 -- Installing: /usr/local/include/cbor/data.h 09:04:47 -- Installing: /usr/local/include/cbor/common.h 09:04:47 -- Installing: /usr/local/include/cbor/callbacks.h 09:04:47 -- Installing: /usr/local/include/cbor/strings.h 09:04:47 -- Installing: /usr/local/include/cbor/tags.h 09:04:47 -- Installing: /usr/local/include/cbor/internal 09:04:47 -- Installing: /usr/local/include/cbor/internal/encoders.h 09:04:47 -- Installing: /usr/local/include/cbor/internal/loaders.h 09:04:47 -- Installing: /usr/local/include/cbor/internal/stack.h 09:04:47 -- Installing: /usr/local/include/cbor/internal/unicode.h 09:04:47 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 09:04:47 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 09:04:47 -- Installing: /usr/local/include/cbor/arrays.h 09:04:47 -- Installing: /usr/local/include/cbor/maps.h 09:04:47 -- Installing: /usr/local/include/cbor.h 09:04:47 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 09:04:49 Removing intermediate container 9d03796caa60 09:04:49 ---> 7d3bb4277e99 09:04:49 Step 6/21 : RUN mkdir /tmp/sdk 09:04:49 ---> Running in bfff4ff0ec95 09:04:52 Running on prd-centos7-docker-4c-2g-4868 in /w/workspace/edgexfoundry_device-sdk-c_PR-275 [Pipeline] { [Pipeline] ws 09:04:52 Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout 09:04:52 Removing intermediate container bfff4ff0ec95 09:04:52 ---> 9da9d9f6b7b6 09:04:52 Step 7/21 : COPY VERSION /tmp/sdk 09:04:52 ---> 69a5f3c72922 09:04:52 Step 8/21 : COPY src /tmp/sdk/src 09:04:53 ---> 66dd7f823ade 09:04:53 Step 9/21 : COPY include /tmp/sdk/include 09:04:54 ---> 58e4d05a0c55 09:04:54 Step 10/21 : COPY scripts /tmp/sdk/scripts 09:04:54 using credential edgex-jenkins-ssh 09:04:54 Cloning the remote Git repository 09:04:54 Cloning with configured refspecs honoured and without tags 09:04:54 ---> fb671aaf7b23 09:04:54 Step 11/21 : COPY LICENSE /tmp/sdk 09:04:55 ---> 280bc548c5ca 09:04:55 Step 12/21 : COPY Attribution.txt /tmp/sdk 09:04:55 Fetching without tags 09:04:54 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 09:04:54 > git init /w/workspace/device-sdk-c/2 # timeout=10 09:04:54 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 09:04:54 > git --version # timeout=10 09:04:54 using GIT_SSH to set credentials SSH Credentials for GitHub 09:04:55 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/275/head:refs/remotes/origin/PR-275 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:04:55 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 09:04:55 > git config --add remote.origin.fetch +refs/pull/275/head:refs/remotes/origin/PR-275 # timeout=10 09:04:55 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 09:04:55 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 09:04:55 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 09:04:55 using GIT_SSH to set credentials SSH Credentials for GitHub 09:04:56 Merging remotes/origin/master commit b4873c23cc909bb34276112007e0d4a5fd45beca into PR head commit 433f8bd9e2fac67d6eb6b5e6b63b7e85aaee9e7f 09:04:56 ---> 43131fba8cba 09:04:56 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 09:04:56 Merge succeeded, producing 433f8bd9e2fac67d6eb6b5e6b63b7e85aaee9e7f 09:04:56 Checking out Revision 433f8bd9e2fac67d6eb6b5e6b63b7e85aaee9e7f (PR-275) 09:04:56 ---> Running in 711138fee611 09:04:55 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/275/head:refs/remotes/origin/PR-275 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:04:56 > git config core.sparsecheckout # timeout=10 09:04:56 > git checkout -f 433f8bd9e2fac67d6eb6b5e6b63b7e85aaee9e7f # timeout=10 09:04:56 > git remote # timeout=10 09:04:56 > git config --get remote.origin.url # timeout=10 09:04:56 using GIT_SSH to set credentials SSH Credentials for GitHub 09:04:56 > git merge b4873c23cc909bb34276112007e0d4a5fd45beca # timeout=10 09:04:56 > git rev-parse HEAD^{commit} # timeout=10 09:04:56 > git config core.sparsecheckout # timeout=10 09:04:56 > git checkout -f 433f8bd9e2fac67d6eb6b5e6b63b7e85aaee9e7f # timeout=10 09:04:57 + CPPCHECK=false 09:04:57 + DOCGEN=false 09:04:57 + TOMLVER=SDK-0.2 09:04:57 + CUTILVER=1.0.4 09:04:57 + '[' 0 -gt 0 ] 09:04:57 + readlink -f ./scripts/build.sh 09:04:57 + dirname /tmp/sdk/scripts/build.sh 09:04:57 + dirname /tmp/sdk/scripts 09:04:57 + ROOT=/tmp/sdk 09:04:57 + cd /tmp/sdk 09:04:57 + '[' '!' -d deps ] 09:04:57 + mkdir deps 09:04:57 + tar -C deps -z -x -f - 09:04:57 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 09:04:57 --2020-06-30 09:04:57-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 09:04:57 Resolving github.com... 140.82.112.3 09:04:57 Connecting to github.com|140.82.112.3|:443... connected. 09:04:57 HTTP request sent, awaiting response... 302 Found 09:04:57 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 09:04:57 --2020-06-30 09:04:57-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 09:04:57 Resolving codeload.github.com... 140.82.112.10 09:04:57 Connecting to codeload.github.com|140.82.112.10|:443... connected. 09:04:58 HTTP request sent, awaiting response... 200 OK 09:04:58 Length: unspecified [application/x-gzip] 09:04:58 Saving to: 'STDOUT' 09:04:58  09:04:58 0K .......... ......   929K=0.02s 09:04:58 09:04:58 2020-06-30 09:04:57 (929 KB/s) - written to stdout [16451] 09:04:58 09:04:58 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 09:04:58 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz 09:04:58 + tar -C deps -z -x -f - 09:04:58 --2020-06-30 09:04:57-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz 09:04:58 Resolving github.com... 140.82.112.3 09:04:58 Connecting to github.com|140.82.112.3|:443... connected. 09:04:58 HTTP request sent, awaiting response... 302 Found 09:04:58 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] 09:04:58 --2020-06-30 09:04:58-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 09:04:58 Resolving codeload.github.com... 140.82.112.10 09:04:58 Connecting to codeload.github.com|140.82.112.10|:443... connected. 09:04:58 HTTP request sent, awaiting response... 200 OK 09:04:58 Length: unspecified [application/x-gzip] 09:04:58 Saving to: 'STDOUT' 09:04:58  09:04:58 0K .......... .......... .......... .......... .......... 1.31M 09:04:58 50K .......... .......... .......... .......... .......... 2.79M 09:04:58 100K .......... .......... .......... .......... .......... 7.21M 09:04:58 150K ........    15.8M=0.06s 09:04:58 09:04:58 2020-06-30 09:04:58 (2.50 MB/s) - written to stdout [162267] 09:04:58 09:04:58 + mkdir -p src/c/iot 09:04:58 + 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 09:04:58 + mkdir -p include/iot 09:04:58 + 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 09:04:58 + mkdir -p include/iot/os 09:04:58 + 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 09:04:58 + mkdir -p /tmp/sdk/build/release 09:04:58 + cd /tmp/sdk/build/release 09:04:58 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 09:04:58 -- The C compiler identification is GNU 8.3.0 09:04:58 -- Check for working C compiler: /usr/bin/cc 09:04:59 -- Check for working C compiler: /usr/bin/cc -- works 09:04:59 -- Detecting C compiler ABI info 09:04:59 -- Detecting C compiler ABI info - done 09:04:59 -- Detecting C compile features 09:04:59 Commit message: "feat: implement device endpoint for v2 REST API" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 09:05:00 -- Detecting C compile features - done 09:05:00 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 09:05:00 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 09:05:00 -- Found LIBYAML: /usr/lib/libyaml.so 09:05:00 -- Found LIBUUID: /usr/lib/libuuid.so 09:05:00 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 09:05:00 -- C SDK 0.0.0 for Linux 09:05:00 -- Performing Test CSDK_HAVE_ATOMIC 09:05:00 -- Performing Test CSDK_HAVE_ATOMIC - Success 09:05:00 -- Found Curses: /usr/lib/libcurses.so [Pipeline] echo 09:05:00 ========================================================= 09:05:00 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 09:05:00 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:05:00 -- Configuring done 09:05:00 -- Generating done 09:05:00 -- Build files have been written to: /tmp/sdk/build/release 09:05:00 + make 09:05:00 + tee release.log 09:05:00 Scanning dependencies of target csdk 09:05:01 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 09:05:01 + 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 . 09:05:01 Sending build context to Docker daemon 3.312MB 09:05:01 Step 1/21 : ARG BASE=alpine:3.11 09:05:01 Step 2/21 : FROM ${BASE} as builder 09:05:01 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 09:05:02 latest: Pulling from edgex-devops/edgex-gcc-base 09:05:02 e7c96db7181b: Pulling fs layer 09:05:02 4c13bbce0fe7: Pulling fs layer 09:05:02 6059c847ac2f: Pulling fs layer 09:05:02 4c13bbce0fe7: Verifying Checksum 09:05:02 4c13bbce0fe7: Download complete 09:05:02 e7c96db7181b: Verifying Checksum 09:05:02 e7c96db7181b: Download complete 09:05:02 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 09:05:02 e7c96db7181b: Pull complete 09:05:02 4c13bbce0fe7: Pull complete 09:05:03 6059c847ac2f: Verifying Checksum 09:05:03 6059c847ac2f: Download complete 09:05:04 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 09:05:04 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 09:05:04 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 09:05:05 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 09:05:07 6059c847ac2f: Pull complete 09:05:07 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 09:05:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 09:05:07 ---> 5eabd8fd8ba2 09:05:07 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 09:05:07 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 09:05:08 [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 09:05:08 [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 09:05:08 ---> Running in 00e105ddc147 09:05:09 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 09:05:09 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 09:05:09 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 09:05:09 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 09:05:10 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 09:05:10 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 09:05:10 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 09:05:10 (2/8) Installing libuuid (2.33-r0) 09:05:10 (3/8) Installing libblkid (2.33-r0) 09:05:10 (4/8) Installing libfdisk (2.33-r0) 09:05:10 (5/8) Installing libmount (2.33-r0) 09:05:10 (6/8) Installing libsmartcols (2.33-r0) 09:05:10 (7/8) Installing util-linux-dev (2.33-r0) 09:05:11 (8/8) Installing wget (1.20.3-r0) 09:05:11 Executing busybox-1.29.3-r10.trigger 09:05:11 OK: 272 MiB in 83 packages 09:05:11 Removing intermediate container 00e105ddc147 09:05:11 ---> af21927f28f7 09:05:11 Step 4/21 : ENV CBOR_VERSION=0.5.0 09:05:11 ---> Running in 6769aafa5ca0 09:05:12 Removing intermediate container 6769aafa5ca0 09:05:12 ---> ea0836bd68da 09:05:12 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 09:05:12 ---> Running in c056165c1942 09:05:12 --2020-06-30 09:05:12-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 09:05:12 Resolving github.com... 140.82.112.3 09:05:12 Connecting to github.com|140.82.112.3|:443... connected. 09:05:12 HTTP request sent, awaiting response... 302 Found 09:05:12 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 09:05:12 --2020-06-30 09:05:12-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 09:05:12 Resolving codeload.github.com... 140.82.112.10 09:05:12 Connecting to codeload.github.com|140.82.112.10|:443... connected. 09:05:12 HTTP request sent, awaiting response... 200 OK 09:05:12 Length: unspecified [application/x-gzip] 09:05:12 Saving to: 'STDOUT' 09:05:12  09:05:12 0K .......... .......... .......... .......... .......... 1.62M 09:05:12 50K .......... .......... .......... .......... .......... 3.71M 09:05:12 100K .......... .......... .......... .......... .......... 15.7M 09:05:12 150K .......... .......... .......... .......... .......... 4.21M 09:05:12 200K .......... .......... .......... .......... .......... 15.6M 09:05:12 250K .......... .......... .......... .......... .......... 13.6M 09:05:12 300K .......... .......... .......... .......... .......... 6.04M 09:05:12 350K .......... .......... .......... .......... .......... 8.76M 09:05:12 400K .......... .......... .......... .......... .......... 6.23M 09:05:12 450K .......... .......... .......... .......... .......... 9.32M 09:05:12 500K .......... .......... .......... .......... .......... 23.5M 09:05:12 550K .......... .......... .......... .......... .......... 4.68M 09:05:12 600K .......... .......... .......... .......... .......... 2.24M 09:05:13 650K .......... .......... .......... .......... .......... 5.20M 09:05:13 700K ..  949K=0.1s 09:05:13 09:05:13 2020-06-30 09:05:12 (4.98 MB/s) - written to stdout [719348] 09:05:13 09:05:13 -- The C compiler identification is GNU 8.3.0 09:05:13 -- The CXX compiler identification is GNU 8.3.0 09:05:13 -- Check for working C compiler: /usr/bin/cc 09:05:13 -- Check for working C compiler: /usr/bin/cc -- works 09:05:13 -- Detecting C compiler ABI info 09:05:13 -- Detecting C compiler ABI info - done 09:05:13 -- Detecting C compile features 09:05:13 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 09:05:13 -- Detecting C compile features - done 09:05:13 -- Check for working CXX compiler: /usr/bin/c++ 09:05:13 -- Check for working CXX compiler: /usr/bin/c++ -- works 09:05:13 -- Detecting CXX compiler ABI info 09:05:13 -- Detecting CXX compiler ABI info - done 09:05:13 -- Detecting CXX compile features 09:05:13 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 09:05:14 -- Detecting CXX compile features - done 09:05:14 -- Looking for include file endian.h 09:05:14 -- Looking for include file endian.h - found 09:05:14 -- Check if the system is big endian 09:05:14 -- Searching 16 bit integer 09:05:14 -- Looking for sys/types.h 09:05:14 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 09:05:14 -- Looking for sys/types.h - found 09:05:14 -- Looking for stdint.h 09:05:14 -- Looking for stdint.h - found 09:05:14 -- Looking for stddef.h 09:05:14 -- Looking for stddef.h - found 09:05:14 -- Check size of unsigned short 09:05:14 -- Check size of unsigned short - done 09:05:14 -- Using unsigned short 09:05:14 -- Check if the system is big endian - little endian 09:05:14 -- Check size of size_t 09:05:14 -- Check size of size_t - done 09:05:14 CMake Warning at examples/CMakeLists.txt:16 (find_package): 09:05:14 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 09:05:14 asked CMake to find a package configuration file provided by "cJSON", but 09:05:14 CMake did not find one. 09:05:14 09:05:14 Could not find a package configuration file provided by "cJSON" with any of 09:05:14 the following names: 09:05:14 09:05:14 cJSONConfig.cmake 09:05:14 cjson-config.cmake 09:05:14 09:05:14 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 09:05:14 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 09:05:14 provides a separate development package or SDK, be sure it has been 09:05:14 installed. 09:05:14 09:05:14 09:05:14 -- Configuring done 09:05:14 -- Generating done 09:05:14 -- Build files have been written to: /tmp/cbor 09:05:15 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 09:05:15 Scanning dependencies of target cbor_shared 09:05:15 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 09:05:15 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 09:05:15 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 09:05:15 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 09:05:15 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 09:05:15 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 09:05:15 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 09:05:15 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 09:05:15 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 09:05:15 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 09:05:16 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 09:05:16 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 09:05:16 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 09:05:16 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 09:05:16 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 09:05:16 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 09:05:16 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 09:05:16 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 09:05:16 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 09:05:16 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 09:05:16 [ 40%] Linking C shared library libcbor.so 09:05:16 [ 40%] Built target cbor_shared 09:05:16 Scanning dependencies of target cbor 09:05:16 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 09:05:16 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 09:05:16 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 09:05:17 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 09:05:17 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 09:05:17 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 09:05:17 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 09:05:17 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 09:05:17 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 09:05:17 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 09:05:17 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 09:05:17 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 09:05:17 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 09:05:17 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 09:05:17 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 09:05:18 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 09:05:18 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 09:05:18 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 09:05:18 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 09:05:18 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 09:05:18 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 09:05:18 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 09:05:18 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 09:05:18 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 09:05:18 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 09:05:18 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 09:05:18 [ 80%] Linking C static library libcbor.a 09:05:18 [ 80%] Built target cbor 09:05:18 Scanning dependencies of target create_items 09:05:18 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 09:05:18 [ 84%] Linking C executable create_items 09:05:19 [ 84%] Built target create_items 09:05:19 Scanning dependencies of target readfile 09:05:19 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 09:05:19 [ 88%] Linking C executable readfile 09:05:19 [ 88%] Built target readfile 09:05:19 Scanning dependencies of target streaming_parser 09:05:19 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 09:05:19 [ 92%] Linking C executable streaming_parser 09:05:19 [ 92%] Built target streaming_parser 09:05:19 Scanning dependencies of target sort 09:05:19 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 09:05:19 [ 96%] Linking C executable sort 09:05:19 [ 96%] Built target sort 09:05:19 Scanning dependencies of target hello 09:05:19 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 09:05:19 [100%] Linking C executable hello 09:05:19 [100%] Built target hello 09:05:19 Install the project... 09:05:19 -- Install configuration: "Release" 09:05:19 -- Installing: /usr/local/include/cbor/configuration.h 09:05:19 -- Installing: /usr/local/lib64/libcbor.a 09:05:19 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 09:05:19 -- Installing: /usr/local/lib64/libcbor.so.0 09:05:19 -- Installing: /usr/local/lib64/libcbor.so 09:05:19 -- Up-to-date: /usr/local/include/cbor 09:05:19 -- Installing: /usr/local/include/cbor/arrays.h 09:05:19 -- Installing: /usr/local/include/cbor/bytestrings.h 09:05:19 -- Installing: /usr/local/include/cbor/callbacks.h 09:05:19 -- Installing: /usr/local/include/cbor/common.h 09:05:19 -- Installing: /usr/local/include/cbor/data.h 09:05:19 -- Installing: /usr/local/include/cbor/encoding.h 09:05:19 -- Installing: /usr/local/include/cbor/floats_ctrls.h 09:05:19 -- Installing: /usr/local/include/cbor/internal 09:05:19 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 09:05:19 -- Installing: /usr/local/include/cbor/internal/encoders.h 09:05:19 -- Installing: /usr/local/include/cbor/internal/loaders.h 09:05:19 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 09:05:19 -- Installing: /usr/local/include/cbor/internal/stack.h 09:05:19 -- Installing: /usr/local/include/cbor/internal/unicode.h 09:05:19 -- Installing: /usr/local/include/cbor/ints.h 09:05:19 -- Installing: /usr/local/include/cbor/maps.h 09:05:19 -- Installing: /usr/local/include/cbor/serialization.h 09:05:19 -- Installing: /usr/local/include/cbor/streaming.h 09:05:19 -- Installing: /usr/local/include/cbor/strings.h 09:05:19 -- Installing: /usr/local/include/cbor/tags.h 09:05:19 -- Installing: /usr/local/include/cbor.h 09:05:19 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 09:05:19 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 09:05:19 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 09:05:20 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 09:05:20 [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o 09:05:21 [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 09:05:21 Removing intermediate container c056165c1942 09:05:21 ---> 34e0cdb099f8 09:05:21 Step 6/21 : RUN mkdir /tmp/sdk 09:05:21 ---> Running in a0b8c9872e6e 09:05:22 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 09:05:22 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 09:05:22 Removing intermediate container a0b8c9872e6e 09:05:22 ---> 5784dfbf25c0 09:05:22 Step 7/21 : COPY VERSION /tmp/sdk 09:05:22 ---> b8a27cc381ad 09:05:22 Step 8/21 : COPY src /tmp/sdk/src 09:05:23 ---> a33752ec7d62 09:05:23 Step 9/21 : COPY include /tmp/sdk/include 09:05:23 ---> d5f40364a202 09:05:23 Step 10/21 : COPY scripts /tmp/sdk/scripts 09:05:23 ---> d8f254087943 09:05:23 Step 11/21 : COPY LICENSE /tmp/sdk 09:05:24 ---> d4c36479c1a4 09:05:24 Step 12/21 : COPY Attribution.txt /tmp/sdk 09:05:24 ---> aa85568073a1 09:05:24 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 09:05:24 ---> Running in 36a083bc85f2 09:05:24 + CPPCHECK=false 09:05:24 + DOCGEN=false 09:05:24 + TOMLVER=SDK-0.2 09:05:24 + CUTILVER=1.0.4 09:05:24 + '[' 0 -gt 0 ] 09:05:24 + readlink -f ./scripts/build.sh 09:05:24 + dirname /tmp/sdk/scripts/build.sh 09:05:24 + dirname /tmp/sdk/scripts 09:05:24 + ROOT=/tmp/sdk 09:05:24 + cd /tmp/sdk 09:05:24 + '[' '!' -d deps ] 09:05:24 + mkdir deps 09:05:24 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 09:05:24 + tar -C deps -z -x -f - 09:05:24 --2020-06-30 09:05:24-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 09:05:24 Resolving github.com... 140.82.112.3 09:05:24 Connecting to github.com|140.82.112.3|:443... connected. 09:05:25 HTTP request sent, awaiting response... 302 Found 09:05:25 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 09:05:25 --2020-06-30 09:05:24-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 09:05:25 Resolving codeload.github.com... 140.82.112.10 09:05:25 Connecting to codeload.github.com|140.82.112.10|:443... connected. 09:05:25 HTTP request sent, awaiting response... 200 OK 09:05:25 Length: unspecified [application/x-gzip] 09:05:25 Saving to: 'STDOUT' 09:05:25 09:05:25 0K .......... ......  1.06M=0.01s 09:05:25 09:05:25 2020-06-30 09:05:24 (1.06 MB/s) - written to stdout [16451] 09:05:25 09:05:25 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 09:05:25 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz 09:05:25 + tar -C deps -z -x -f - 09:05:25 --2020-06-30 09:05:24-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz 09:05:25 Resolving github.com... 140.82.112.3 09:05:25 Connecting to github.com|140.82.112.3|:443... connected. 09:05:25 HTTP request sent, awaiting response... 302 Found 09:05:25 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] 09:05:25 --2020-06-30 09:05:25-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 09:05:25 Resolving codeload.github.com... 140.82.112.9 09:05:25 Connecting to codeload.github.com|140.82.112.9|:443... connected. 09:05:25 HTTP request sent, awaiting response... 200 OK 09:05:25 Length: unspecified [application/x-gzip] 09:05:25 Saving to: 'STDOUT' 09:05:25 09:05:25 0K .......... .......... .......... .......... .......... 1.66M 09:05:25 50K .......... .......... .......... .......... .......... 9.80M 09:05:25 100K .......... .......... .......... .......... .......... 4.56M 09:05:25 150K ........ 50.4M=0.05s 09:05:25 09:05:25 2020-06-30 09:05:25 (3.41 MB/s) - written to stdout [162267] 09:05:25 09:05:25 + mkdir -p src/c/iot 09:05:25 + 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 09:05:25 + mkdir -p include/iot 09:05:25 + 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 09:05:25 + mkdir -p include/iot/os 09:05:25 + 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 09:05:25 + mkdir -p /tmp/sdk/build/release 09:05:25 + cd /tmp/sdk/build/release 09:05:25 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 09:05:25 -- The C compiler identification is GNU 8.3.0 09:05:25 -- Check for working C compiler: /usr/bin/cc 09:05:25 -- Check for working C compiler: /usr/bin/cc -- works 09:05:25 -- Detecting C compiler ABI info 09:05:25 -- Detecting C compiler ABI info - done 09:05:25 -- Detecting C compile features 09:05:25 -- Detecting C compile features - done 09:05:25 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 09:05:25 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 09:05:25 -- Found LIBYAML: /usr/lib/libyaml.so 09:05:25 -- Found LIBUUID: /usr/lib/libuuid.so 09:05:25 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 09:05:25 -- C SDK 0.0.0 for Linux 09:05:25 -- Performing Test CSDK_HAVE_ATOMIC 09:05:25 -- Performing Test CSDK_HAVE_ATOMIC - Success 09:05:25 -- Found Curses: /usr/lib/libcurses.so 09:05:25 -- Configuring done 09:05:26 -- Generating done 09:05:26 -- Build files have been written to: /tmp/sdk/build/release 09:05:26 + make 09:05:26 + tee release.log 09:05:26 Scanning dependencies of target csdk 09:05:26 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 09:05:26 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 09:05:26 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 09:05:26 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 09:05:26 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 09:05:26 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 09:05:26 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 09:05:26 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 09:05:27 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 09:05:27 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 09:05:27 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 09:05:27 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 09:05:27 [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 09:05:28 [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 09:05:28 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 09:05:28 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 09:05:28 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 09:05:28 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 09:05:29 [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o 09:05:29 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 09:05:29 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 09:05:29 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 09:05:29 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 09:05:30 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 09:05:30 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 09:05:30 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 09:05:30 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 09:05:30 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 09:05:30 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 09:05:30 [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 09:05:30 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 09:05:30 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 09:05:31 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 09:05:31 [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o 09:05:31 [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 09:05:31 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 09:05:31 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 09:05:32 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 09:05:32 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 09:05:32 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 09:05:33 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 09:05:33 [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o 09:05:33 [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 09:05:34 [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 09:05:34 [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 09:05:34 [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 09:05:34 [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 09:05:35 [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 09:05:35 [ 74%] Linking C shared library libcsdk.so 09:05:35 [ 74%] Built target csdk 09:05:35 Scanning dependencies of target template 09:05:35 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 09:05:35 [ 78%] Linking C executable template 09:05:35 [ 78%] Built target template 09:05:35 Scanning dependencies of target device-counter 09:05:35 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 09:05:35 [ 81%] Linking C executable device-counter 09:05:35 [ 81%] Built target device-counter 09:05:35 Scanning dependencies of target device-random 09:05:35 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 09:05:35 [ 85%] Linking C executable device-random 09:05:35 [ 85%] Built target device-random 09:05:35 Scanning dependencies of target device-gyro 09:05:35 [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 09:05:36 [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 09:05:36 [ 89%] Linking C executable device-gyro 09:05:36 [ 89%] Built target device-gyro 09:05:36 Scanning dependencies of target template-discovery 09:05:36 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 09:05:36 [ 74%] Linking C shared library libcsdk.so 09:05:36 [ 74%] Built target csdk 09:05:36 Scanning dependencies of target template 09:05:36 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 09:05:36 [ 92%] Linking C executable template-discovery 09:05:36 [ 92%] Built target template-discovery 09:05:36 Scanning dependencies of target device-terminal 09:05:36 [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 09:05:36 [ 96%] Linking C executable device-terminal 09:05:36 [ 96%] Built target device-terminal 09:05:36 Scanning dependencies of target templatev1 09:05:36 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 09:05:36 [100%] Linking C executable templatev1 09:05:36 [ 78%] Linking C executable template 09:05:36 [100%] Built target templatev1 09:05:36 + make package 09:05:36 + tee -a release.log 09:05:36 [ 74%] Built target csdk 09:05:36 [ 78%] Built target template 09:05:36 [ 81%] Built target device-counter 09:05:36 [ 85%] Built target device-random 09:05:36 [ 89%] Built target device-gyro 09:05:36 [ 92%] Built target template-discovery 09:05:36 [ 96%] Built target device-terminal 09:05:36 [100%] Built target templatev1 09:05:36 Run CPack packaging tool... 09:05:36 CPack: Create package using TGZ 09:05:36 CPack: Install projects 09:05:36 CPack: - Run preinstall target for: Csdk 09:05:37 [ 78%] Built target template 09:05:37 Scanning dependencies of target device-counter 09:05:37 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 09:05:37 CPack: - Install project: Csdk 09:05:37 CPack: Create package 09:05:37 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 09:05:37 + '[' false '=' true ] 09:05:37 + '[' false '=' true ] 09:05:37 + mkdir -p /tmp/sdk/build/debug 09:05:37 + cd /tmp/sdk/build/debug 09:05:37 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 09:05:37 -- The C compiler identification is GNU 8.3.0 09:05:37 -- Check for working C compiler: /usr/bin/cc 09:05:37 -- Check for working C compiler: /usr/bin/cc -- works 09:05:37 -- Detecting C compiler ABI info 09:05:37 -- Detecting C compiler ABI info - done 09:05:37 -- Detecting C compile features 09:05:37 [ 81%] Linking C executable device-counter 09:05:37 -- Detecting C compile features - done 09:05:37 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 09:05:37 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 09:05:37 -- Found LIBYAML: /usr/lib/libyaml.so 09:05:37 -- Found LIBUUID: /usr/lib/libuuid.so 09:05:37 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 09:05:37 -- C SDK 0.0.0 for Linux 09:05:37 -- Performing Test CSDK_HAVE_ATOMIC 09:05:38 [ 81%] Built target device-counter 09:05:38 Scanning dependencies of target device-random 09:05:38 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 09:05:38 -- Performing Test CSDK_HAVE_ATOMIC - Success 09:05:38 -- Found Curses: /usr/lib/libcurses.so 09:05:38 -- Configuring done 09:05:38 -- Generating done 09:05:38 -- Build files have been written to: /tmp/sdk/build/debug 09:05:38 + make 09:05:38 + tee debug.log 09:05:38 Scanning dependencies of target csdk 09:05:38 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 09:05:38 [ 85%] Linking C executable device-random 09:05:38 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 09:05:38 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 09:05:38 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 09:05:38 [ 85%] Built target device-random 09:05:38 Scanning dependencies of target device-gyro 09:05:38 [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 09:05:38 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 09:05:38 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 09:05:38 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 09:05:38 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 09:05:38 [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 09:05:39 [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 09:05:39 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 09:05:39 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 09:05:39 [ 89%] Linking C executable device-gyro 09:05:39 [ 89%] Built target device-gyro 09:05:39 Scanning dependencies of target template-discovery 09:05:39 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 09:05:39 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 09:05:39 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 09:05:39 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 09:05:39 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 09:05:39 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 09:05:39 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 09:05:39 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 09:05:39 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 09:05:40 [ 92%] Linking C executable template-discovery 09:05:40 [ 92%] Built target template-discovery 09:05:40 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 09:05:40 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 09:05:40 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 09:05:40 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 09:05:40 Scanning dependencies of target device-terminal 09:05:40 [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 09:05:40 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 09:05:40 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 09:05:40 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 09:05:40 [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o 09:05:40 [ 96%] Linking C executable device-terminal 09:05:40 [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 09:05:40 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 09:05:40 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 09:05:40 [ 96%] Built target device-terminal 09:05:40 Scanning dependencies of target templatev1 09:05:40 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 09:05:40 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 09:05:41 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 09:05:41 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 09:05:41 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 09:05:41 [100%] Linking C executable templatev1 09:05:41 [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o 09:05:41 [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 09:05:41 [100%] Built target templatev1 09:05:41 + make package 09:05:41 + tee -a release.log 09:05:41 [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 09:05:41 [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 09:05:41 [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 09:05:41 [ 74%] Built target csdk 09:05:41 [ 78%] Built target template 09:05:41 [ 81%] Built target device-counter 09:05:41 [ 85%] Built target device-random 09:05:41 [ 89%] Built target device-gyro 09:05:41 [ 92%] Built target template-discovery 09:05:42 [ 74%] Linking C shared library libcsdk.so 09:05:42 [ 74%] Built target csdk 09:05:42 Scanning dependencies of target template 09:05:42 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 09:05:42 [ 78%] Linking C executable template 09:05:42 [ 78%] Built target template 09:05:42 Scanning dependencies of target device-counter 09:05:42 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 09:05:42 [ 96%] Built target device-terminal 09:05:42 [100%] Built target templatev1 09:05:42 Run CPack packaging tool... 09:05:42 CPack: Create package using TGZ 09:05:42 CPack: Install projects 09:05:42 CPack: - Run preinstall target for: Csdk 09:05:42 [ 81%] Linking C executable device-counter 09:05:42 [ 81%] Built target device-counter 09:05:42 Scanning dependencies of target device-random 09:05:42 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 09:05:42 [ 85%] Linking C executable device-random 09:05:42 [ 85%] Built target device-random 09:05:42 Scanning dependencies of target device-gyro 09:05:42 [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 09:05:42 [ 89%] Linking C executable device-gyro 09:05:42 [ 89%] Built target device-gyro 09:05:42 Scanning dependencies of target template-discovery 09:05:42 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 09:05:42 CPack: - Install project: Csdk 09:05:42 CPack: Create package 09:05:42 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 09:05:42 + '[' false '=' true ] 09:05:42 + '[' false '=' true ] 09:05:42 + mkdir -p /tmp/sdk/build/debug 09:05:42 + cd /tmp/sdk/build/debug 09:05:42 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 09:05:42 [ 92%] Linking C executable template-discovery 09:05:42 [ 92%] Built target template-discovery 09:05:42 Scanning dependencies of target device-terminal 09:05:42 [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 09:05:42 [ 96%] Linking C executable device-terminal 09:05:42 [ 96%] Built target device-terminal 09:05:42 Scanning dependencies of target templatev1 09:05:42 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 09:05:43 -- The C compiler identification is GNU 8.3.0 09:05:43 -- Check for working C compiler: /usr/bin/cc 09:05:43 [100%] Linking C executable templatev1 09:05:43 [100%] Built target templatev1 09:05:43 make: Entering directory '/tmp/sdk/build/release' 09:05:43 make[1]: Entering directory '/tmp/sdk/build/release' 09:05:43 make[2]: Entering directory '/tmp/sdk/build/release' 09:05:43 Scanning dependencies of target csdk 09:05:43 make[2]: Leaving directory '/tmp/sdk/build/release' 09:05:43 make[2]: Entering directory '/tmp/sdk/build/release' 09:05:43 [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o 09:05:43 -- Check for working C compiler: /usr/bin/cc -- works 09:05:43 -- Detecting C compiler ABI info 09:05:43 -- Detecting C compiler ABI info - done 09:05:43 -- Detecting C compile features 09:05:43 [ 3%] Linking C shared library libcsdk.so 09:05:43 make[2]: Leaving directory '/tmp/sdk/build/release' 09:05:43 [ 74%] Built target csdk 09:05:43 make[2]: Entering directory '/tmp/sdk/build/release' 09:05:43 make[2]: Leaving directory '/tmp/sdk/build/release' 09:05:43 make[2]: Entering directory '/tmp/sdk/build/release' 09:05:43 [ 76%] Linking C executable template 09:05:43 make[2]: Leaving directory '/tmp/sdk/build/release' 09:05:43 [ 78%] Built target template 09:05:43 make[2]: Entering directory '/tmp/sdk/build/release' 09:05:43 make[2]: Leaving directory '/tmp/sdk/build/release' 09:05:43 make[2]: Entering directory '/tmp/sdk/build/release' 09:05:43 [ 80%] Linking C executable device-counter 09:05:44 make[2]: Leaving directory '/tmp/sdk/build/release' 09:05:44 [ 81%] Built target device-counter 09:05:44 make[2]: Entering directory '/tmp/sdk/build/release' 09:05:44 make[2]: Leaving directory '/tmp/sdk/build/release' 09:05:44 make[2]: Entering directory '/tmp/sdk/build/release' 09:05:44 [ 83%] Linking C executable device-random 09:05:44 make[2]: Leaving directory '/tmp/sdk/build/release' 09:05:44 [ 85%] Built target device-random 09:05:44 make[2]: Entering directory '/tmp/sdk/build/release' 09:05:44 make[2]: Leaving directory '/tmp/sdk/build/release' 09:05:44 make[2]: Entering directory '/tmp/sdk/build/release' 09:05:44 [ 87%] Linking C executable device-gyro 09:05:44 make[2]: Leaving directory '/tmp/sdk/build/release' 09:05:44 [ 89%] Built target device-gyro 09:05:44 make[2]: Entering directory '/tmp/sdk/build/release' 09:05:44 make[2]: Leaving directory '/tmp/sdk/build/release' 09:05:44 make[2]: Entering directory '/tmp/sdk/build/release' 09:05:44 [ 90%] Linking C executable template-discovery 09:05:44 make[2]: Leaving directory '/tmp/sdk/build/release' 09:05:44 [ 92%] Built target template-discovery 09:05:44 make[2]: Entering directory '/tmp/sdk/build/release' 09:05:44 make[2]: Leaving directory '/tmp/sdk/build/release' 09:05:44 make[2]: Entering directory '/tmp/sdk/build/release' 09:05:44 [ 94%] Linking C executable device-terminal 09:05:44 make[2]: Leaving directory '/tmp/sdk/build/release' 09:05:44 [ 96%] Built target device-terminal 09:05:44 make[2]: Entering directory '/tmp/sdk/build/release' 09:05:44 make[2]: Leaving directory '/tmp/sdk/build/release' 09:05:44 make[2]: Entering directory '/tmp/sdk/build/release' 09:05:44 [ 98%] Linking C executable templatev1 09:05:44 make[2]: Leaving directory '/tmp/sdk/build/release' 09:05:44 [100%] Built target templatev1 09:05:44 make[1]: Leaving directory '/tmp/sdk/build/release' 09:05:44 Install the project... 09:05:44 -- Install configuration: "Release" 09:05:44 -- Installing: /usr/local/lib/libcsdk.so 09:05:44 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 09:05:44 -- Up-to-date: /usr/local/include 09:05:44 -- Installing: /usr/local/include/devsdk 09:05:44 -- Installing: /usr/local/include/devsdk/devsdk-base.h 09:05:44 -- Installing: /usr/local/include/devsdk/devsdk.h 09:05:44 -- Installing: /usr/local/include/edgex 09:05:44 -- Installing: /usr/local/include/edgex/device-mgmt.h 09:05:44 -- Installing: /usr/local/include/edgex/devices.h 09:05:44 -- Installing: /usr/local/include/edgex/devsdk.h 09:05:44 -- Installing: /usr/local/include/edgex/edgex-base.h 09:05:44 -- Installing: /usr/local/include/edgex/edgex-logging.h 09:05:44 -- Installing: /usr/local/include/edgex/edgex.h 09:05:44 -- Installing: /usr/local/include/edgex/error.h 09:05:44 -- Installing: /usr/local/include/edgex/eventgen.h 09:05:44 -- Installing: /usr/local/include/edgex/os.h 09:05:44 -- Installing: /usr/local/include/edgex/profiles.h 09:05:44 -- Installing: /usr/local/include/edgex/registry.h 09:05:44 -- Installing: /usr/local/include/edgex/rest-server.h 09:05:44 -- Installing: /usr/local/include/edgex/csdk-defs.h 09:05:44 -- Installing: /usr/local/include/iot 09:05:44 -- Installing: /usr/local/include/iot/base64.h 09:05:44 -- Installing: /usr/local/include/iot/component.h 09:05:44 -- Installing: /usr/local/include/iot/container.h 09:05:44 -- Installing: /usr/local/include/iot/data.h 09:05:44 -- Installing: /usr/local/include/iot/hash.h 09:05:44 -- Installing: /usr/local/include/iot/iot.h 09:05:44 -- Installing: /usr/local/include/iot/json.h 09:05:44 -- Installing: /usr/local/include/iot/logger.h 09:05:44 -- Installing: /usr/local/include/iot/os.h 09:05:44 -- Installing: /usr/local/include/iot/scheduler.h 09:05:44 -- Installing: /usr/local/include/iot/thread.h 09:05:44 -- Installing: /usr/local/include/iot/threadpool.h 09:05:44 -- Installing: /usr/local/include/iot/time.h 09:05:44 -- Installing: /usr/local/include/iot/typecode.h 09:05:44 -- Installing: /usr/local/include/iot/os 09:05:44 -- Installing: /usr/local/include/iot/os/linux.h 09:05:44 -- Installing: /usr/local/include/iot/os/zephyr.h 09:05:44 -- Installing: /usr/local/share/device-sdk-c/LICENSE 09:05:44 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 09:05:44 make: Leaving directory '/tmp/sdk/build/release' 09:05:44 -- Detecting C compile features - done 09:05:44 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 09:05:44 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 09:05:44 -- Found LIBYAML: /usr/lib/libyaml.so 09:05:44 -- Found LIBUUID: /usr/lib/libuuid.so 09:05:44 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 09:05:44 -- C SDK 0.0.0 for Linux 09:05:44 -- Performing Test CSDK_HAVE_ATOMIC 09:05:44 -- Performing Test CSDK_HAVE_ATOMIC - Success 09:05:44 -- Found Curses: /usr/lib/libcurses.so 09:05:44 -- Configuring done 09:05:45 -- Generating done 09:05:45 -- Build files have been written to: /tmp/sdk/build/debug 09:05:45 + + maketee debug.log 09:05:45 09:05:45 Scanning dependencies of target csdk 09:05:45 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 09:05:45 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 09:05:45 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 09:05:46 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 09:05:46 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 09:05:46 Removing intermediate container 36a083bc85f2 09:05:46 ---> 3369e014e60a 09:05:46 Step 14/21 : FROM ${BASE} 09:05:46 ---> 5eabd8fd8ba2 09:05:46 Step 15/21 : MAINTAINER IOTech 09:05:46 ---> Running in 02ba7ea97c30 09:05:46 Removing intermediate container 02ba7ea97c30 09:05:46 ---> 9fd486c0b2c0 09:05:46 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 09:05:46 ---> Running in 46eb0c7430ec 09:05:47 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 09:05:47 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 09:05:47 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 09:05:47 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 09:05:48 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 09:05:48 [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 09:05:48 (1/3) Installing curl (7.64.0-r3) 09:05:48 [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 09:05:48 (2/3) Installing libuuid (2.33-r0) 09:05:48 (3/3) Installing wget (1.20.3-r0) 09:05:48 Executing busybox-1.29.3-r10.trigger 09:05:48 OK: 268 MiB in 78 packages 09:05:48 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 09:05:49 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 09:05:49 Removing intermediate container 46eb0c7430ec 09:05:49 ---> 6383f4bafbbb 09:05:49 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 09:05:49 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 09:05:49 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 09:05:49 ---> 505e2ef30ed4 09:05:49 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 09:05:49 ---> 65af9047b756 09:05:49 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 09:05:49 ---> f27a11d2b77f 09:05:49 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 09:05:49 ---> 7e481f7b7269 09:05:49 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 09:05:50 ---> d96fedbe7abd 09:05:50 Successfully built d96fedbe7abd 09:05:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage 09:05:50 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:05:50 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 09:05:50 + docker inspect -f . ci-base-image-x86_64 09:05:50 . [Pipeline] withDockerContainer 09:05:50 prd-centos7-docker-4c-2g-4868 does not seem to be running inside a container 09:05:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:05:50 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 09:05:51 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 09:05:51 $ docker top c3b7311142a1b604ac7e9813e5f8f4441d276847af93b75cdfde49052c564620 -eo pid,comm [Pipeline] { [Pipeline] sh 09:05:51 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 09:05:51 + make test 09:05:51 echo "make test" 09:05:51 make test [Pipeline] } 09:05:51 $ docker stop --time=1 c3b7311142a1b604ac7e9813e5f8f4441d276847af93b75cdfde49052c564620 09:05:52 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 09:05:52 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 09:05:52 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 09:05:52 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 09:05:52 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 09:05:52 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 09:05:53 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 09:05:53 $ docker rm -f c3b7311142a1b604ac7e9813e5f8f4441d276847af93b75cdfde49052c564620 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 09:05:53 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 09:05:53 [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o 09:05:53 [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 09:05:54 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 09:05:54 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [Pipeline] sh 09:05:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:05:55 + ls -al . 09:05:55 total 160 09:05:55 drwxrwxr-x. 9 jenkins jenkins 275 Jun 30 09:05 . 09:05:55 drwxrwxr-x. 4 jenkins jenkins 28 Jun 30 09:04 .. 09:05:55 -rw-rw-r--. 1 jenkins jenkins 3104 Jun 30 09:04 Attribution.txt 09:05:55 -rw-rw-r--. 1 jenkins jenkins 5323 Jun 30 09:04 CHANGES 09:05:55 drwxrwxr-x. 2 jenkins jenkins 144 Jun 30 09:04 docs 09:05:55 -rw-rw-r--. 1 jenkins jenkins 108574 Jun 30 09:04 Doxyfile 09:05:55 drwxrwxr-x. 8 jenkins jenkins 179 Jun 30 09:04 .git 09:05:55 drwxrwxr-x. 2 jenkins jenkins 38 Jun 30 09:04 .github 09:05:55 -rw-rw-r--. 1 jenkins jenkins 176 Jun 30 09:04 .gitignore 09:05:55 drwxrwxr-x. 4 jenkins jenkins 33 Jun 30 09:04 include 09:05:55 -rw-rw-r--. 1 jenkins jenkins 794 Jun 30 09:04 Jenkinsfile 09:05:55 -rw-rw-r--. 1 jenkins jenkins 10174 Jun 30 09:04 LICENSE 09:05:55 -rw-rw-r--. 1 jenkins jenkins 449 Jun 30 09:04 Makefile 09:05:55 -rw-rw-r--. 1 jenkins jenkins 1849 Jun 30 09:04 README.md 09:05:55 -rw-rw-r--. 1 jenkins jenkins 5229 Jun 30 09:04 README.v2.md 09:05:55 drwxrwxr-x. 2 jenkins jenkins 108 Jun 30 09:04 scripts 09:05:55 drwxrwxr-x. 3 jenkins jenkins 58 Jun 30 09:05 .semver 09:05:55 drwxrwxr-x. 4 jenkins jenkins 50 Jun 30 09:04 src 09:05:55 -rw-rw-r--. 1 jenkins jenkins 5 Jun 30 09:01 VERSION [Pipeline] isUnix [Pipeline] sh 09:05:55 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 09:05:55 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 09:05:55 + 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=433f8bd9e2fac67d6eb6b5e6b63b7e85aaee9e7f --label arch=amd64 --label version=0.0.0 . 09:05:55 Sending build context to Docker daemon 3.312MB 09:05:55 Step 1/15 : ARG BASE=alpine:3.11 09:05:55 Step 2/15 : FROM ${BASE} 09:05:55 ---> d96fedbe7abd 09:05:55 Step 3/15 : MAINTAINER IOTech 09:05:55 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 09:05:56 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 09:05:56 ---> Running in cacbda8dd67d 09:05:56 Removing intermediate container cacbda8dd67d 09:05:56 ---> f8cbfbce2ee4 09:05:56 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 09:05:56 ---> Running in fbe41f11382b 09:05:56 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 09:05:57 [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o 09:05:57 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 09:05:57 [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 09:05:57 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 09:05:57 (2/6) Installing libblkid (2.33-r0) 09:05:58 (3/6) Installing libfdisk (2.33-r0) 09:05:58 (4/6) Installing libmount (2.33-r0) 09:05:58 (5/6) Installing libsmartcols (2.33-r0) 09:05:58 [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 09:05:58 (6/6) Installing util-linux-dev (2.33-r0) 09:05:58 [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 09:05:58 Executing busybox-1.29.3-r10.trigger 09:05:58 OK: 272 MiB in 84 packages 09:05:59 [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 09:05:59 [ 74%] Linking C shared library libcsdk.so 09:05:59 Removing intermediate container fbe41f11382b 09:05:59 ---> 66e9ba6a6ba1 09:05:59 Step 5/15 : COPY VERSION /edgex-c-sdk/ 09:05:59 [ 74%] Built target csdk 09:05:59 Scanning dependencies of target template 09:05:59 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 09:05:59 ---> 3bd578822952 09:05:59 Step 6/15 : COPY src /edgex-c-sdk/src/ 09:05:59 [ 78%] Linking C executable template 09:05:59 [ 78%] Built target template 09:05:59 Scanning dependencies of target device-counter 09:05:59 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 09:05:59 ---> ad800ba5150c 09:05:59 Step 7/15 : COPY include /edgex-c-sdk/include/ 09:06:00 [ 81%] Linking C executable device-counter 09:06:00 ---> 1d2470d746a7 09:06:00 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 09:06:00 [ 81%] Built target device-counter 09:06:00 Scanning dependencies of target device-random 09:06:00 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 09:06:00 ---> dd8a54404bc6 09:06:00 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 09:06:00 ---> 9c466d9075b1 09:06:00 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 09:06:00 [ 85%] Linking C executable device-random 09:06:00 ---> 23132a2975b4 09:06:00 Step 11/15 : WORKDIR /edgex-c-sdk 09:06:00 ---> Running in 66d36461ca41 09:06:00 [ 85%] Built target device-random 09:06:00 Scanning dependencies of target device-gyro 09:06:00 [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 09:06:01 Removing intermediate container 66d36461ca41 09:06:01 ---> 79a096b3ec28 09:06:01 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 09:06:01 ---> Running in db03c6731987 09:06:01 [ 89%] Linking C executable device-gyro 09:06:01 Removing intermediate container db03c6731987 09:06:01 ---> f81ee2f6e264 09:06:01 Step 13/15 : LABEL arch=amd64 09:06:01 ---> Running in e5da6d7a7a00 09:06:01 [ 89%] Built target device-gyro 09:06:01 Scanning dependencies of target template-discovery 09:06:01 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 09:06:01 Removing intermediate container e5da6d7a7a00 09:06:01 ---> 92d7e47e21a2 09:06:01 Step 14/15 : LABEL git_sha=433f8bd9e2fac67d6eb6b5e6b63b7e85aaee9e7f 09:06:01 ---> Running in 44397cbe3f84 09:06:01 Removing intermediate container 44397cbe3f84 09:06:01 ---> da0a421f10c2 09:06:01 Step 15/15 : LABEL version=0.0.0 09:06:01 [ 92%] Linking C executable template-discovery 09:06:01 ---> Running in e59b23638ff1 09:06:01 Removing intermediate container e59b23638ff1 09:06:01 ---> 9f8da5cd35bb 09:06:01 [Warning] One or more build-args [ARCH MAKE] were not consumed 09:06:01 Successfully built 9f8da5cd35bb 09:06:01 Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } 09:06:02 [ 92%] Built target template-discovery 09:06:02 Scanning dependencies of target device-terminal 09:06:02 [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 09:06:02 [ 96%] Linking C executable device-terminal 09:06:02 [ 96%] Built target device-terminal 09:06:02 Scanning dependencies of target templatev1 09:06:02 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 09:06:02 [100%] Linking C executable templatev1 09:06:02 [100%] Built target templatev1 09:06:02 make: Entering directory '/tmp/sdk/build/release' 09:06:03 make[1]: Entering directory '/tmp/sdk/build/release' 09:06:03 make[2]: Entering directory '/tmp/sdk/build/release' 09:06:03 Scanning dependencies of target csdk 09:06:03 make[2]: Leaving directory '/tmp/sdk/build/release' 09:06:03 make[2]: Entering directory '/tmp/sdk/build/release' 09:06:03 [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o 09:06:05 [ 3%] Linking C shared library libcsdk.so 09:06:05 make[2]: Leaving directory '/tmp/sdk/build/release' 09:06:05 [ 74%] Built target csdk 09:06:05 make[2]: Entering directory '/tmp/sdk/build/release' 09:06:05 make[2]: Leaving directory '/tmp/sdk/build/release' 09:06:05 make[2]: Entering directory '/tmp/sdk/build/release' 09:06:05 [ 76%] Linking C executable template 09:06:05 make[2]: Leaving directory '/tmp/sdk/build/release' 09:06:05 [ 78%] Built target template 09:06:05 make[2]: Entering directory '/tmp/sdk/build/release' 09:06:05 make[2]: Leaving directory '/tmp/sdk/build/release' 09:06:05 make[2]: Entering directory '/tmp/sdk/build/release' 09:06:05 [ 80%] Linking C executable device-counter 09:06:05 make[2]: Leaving directory '/tmp/sdk/build/release' 09:06:05 [ 81%] Built target device-counter 09:06:05 make[2]: Entering directory '/tmp/sdk/build/release' 09:06:05 make[2]: Leaving directory '/tmp/sdk/build/release' 09:06:05 make[2]: Entering directory '/tmp/sdk/build/release' 09:06:05 [ 83%] Linking C executable device-random 09:06:05 make[2]: Leaving directory '/tmp/sdk/build/release' 09:06:05 [ 85%] Built target device-random 09:06:05 make[2]: Entering directory '/tmp/sdk/build/release' 09:06:05 make[2]: Leaving directory '/tmp/sdk/build/release' 09:06:05 make[2]: Entering directory '/tmp/sdk/build/release' 09:06:05 [ 87%] Linking C executable device-gyro 09:06:06 make[2]: Leaving directory '/tmp/sdk/build/release' 09:06:06 [ 89%] Built target device-gyro 09:06:06 make[2]: Entering directory '/tmp/sdk/build/release' 09:06:06 make[2]: Leaving directory '/tmp/sdk/build/release' 09:06:06 make[2]: Entering directory '/tmp/sdk/build/release' 09:06:06 [ 90%] Linking C executable template-discovery 09:06:06 make[2]: Leaving directory '/tmp/sdk/build/release' 09:06:06 [ 92%] Built target template-discovery 09:06:06 make[2]: Entering directory '/tmp/sdk/build/release' 09:06:06 make[2]: Leaving directory '/tmp/sdk/build/release' 09:06:06 make[2]: Entering directory '/tmp/sdk/build/release' 09:06:06 [ 94%] Linking C executable device-terminal 09:06:06 make[2]: Leaving directory '/tmp/sdk/build/release' 09:06:06 [ 96%] Built target device-terminal 09:06:06 make[2]: Entering directory '/tmp/sdk/build/release' 09:06:06 make[2]: Leaving directory '/tmp/sdk/build/release' 09:06:06 make[2]: Entering directory '/tmp/sdk/build/release' 09:06:06 [ 98%] Linking C executable templatev1 09:06:06 make[2]: Leaving directory '/tmp/sdk/build/release' 09:06:06 [100%] Built target templatev1 09:06:06 make[1]: Leaving directory '/tmp/sdk/build/release' 09:06:06 Install the project... 09:06:06 -- Install configuration: "Release" 09:06:06 -- Installing: /usr/local/lib/libcsdk.so 09:06:06 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 09:06:06 -- Up-to-date: /usr/local/include 09:06:06 -- Installing: /usr/local/include/edgex 09:06:06 -- Installing: /usr/local/include/edgex/device-mgmt.h 09:06:06 -- Installing: /usr/local/include/edgex/eventgen.h 09:06:06 -- Installing: /usr/local/include/edgex/error.h 09:06:06 -- Installing: /usr/local/include/edgex/rest-server.h 09:06:06 -- Installing: /usr/local/include/edgex/edgex-base.h 09:06:06 -- Installing: /usr/local/include/edgex/devsdk.h 09:06:06 -- Installing: /usr/local/include/edgex/edgex.h 09:06:06 -- Installing: /usr/local/include/edgex/registry.h 09:06:06 -- Installing: /usr/local/include/edgex/edgex-logging.h 09:06:06 -- Installing: /usr/local/include/edgex/devices.h 09:06:06 -- Installing: /usr/local/include/edgex/os.h 09:06:06 -- Installing: /usr/local/include/edgex/profiles.h 09:06:06 -- Installing: /usr/local/include/edgex/csdk-defs.h 09:06:06 -- Installing: /usr/local/include/devsdk 09:06:06 -- Installing: /usr/local/include/devsdk/devsdk-base.h 09:06:06 -- Installing: /usr/local/include/devsdk/devsdk.h 09:06:06 -- Installing: /usr/local/include/iot 09:06:06 -- Installing: /usr/local/include/iot/json.h 09:06:06 -- Installing: /usr/local/include/iot/container.h 09:06:06 -- Installing: /usr/local/include/iot/component.h 09:06:06 -- Installing: /usr/local/include/iot/typecode.h 09:06:06 -- Installing: /usr/local/include/iot/iot.h 09:06:06 -- Installing: /usr/local/include/iot/time.h 09:06:06 -- Installing: /usr/local/include/iot/hash.h 09:06:06 -- Installing: /usr/local/include/iot/logger.h 09:06:06 -- Installing: /usr/local/include/iot/os 09:06:06 -- Installing: /usr/local/include/iot/os/zephyr.h 09:06:06 -- Installing: /usr/local/include/iot/os/linux.h 09:06:06 -- Installing: /usr/local/include/iot/scheduler.h 09:06:06 -- Installing: /usr/local/include/iot/data.h 09:06:06 -- Installing: /usr/local/include/iot/thread.h 09:06:06 -- Installing: /usr/local/include/iot/os.h 09:06:06 -- Installing: /usr/local/include/iot/base64.h 09:06:06 -- Installing: /usr/local/include/iot/threadpool.h 09:06:06 -- Installing: /usr/local/share/device-sdk-c/LICENSE 09:06:06 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 09:06:06 make: Leaving directory '/tmp/sdk/build/release' 09:06:08 Removing intermediate container 711138fee611 09:06:08 ---> 1564d5e21753 09:06:08 Step 14/21 : FROM ${BASE} 09:06:08 ---> b23d30803547 09:06:08 Step 15/21 : MAINTAINER IOTech 09:06:09 ---> Running in 99def2554620 09:06:09 Removing intermediate container 99def2554620 09:06:09 ---> 79e8b875f97d 09:06:09 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 09:06:09 ---> Running in 0f0357abd367 09:06:11 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 09:06:12 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 09:06:12 (1/3) Installing curl (7.64.0-r3) 09:06:12 (2/3) Installing libuuid (2.33-r0) 09:06:12 (3/3) Installing wget (1.20.3-r0) 09:06:12 Executing busybox-1.29.3-r10.trigger 09:06:12 OK: 281 MiB in 78 packages 09:06:13 Removing intermediate container 0f0357abd367 09:06:13 ---> 55d0c56288cf 09:06:13 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 09:06:14 ---> dbabf30f7f1f 09:06:14 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 09:06:15 ---> 641895391bac 09:06:15 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 09:06:16 ---> 879c404bc6dd 09:06:16 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 09:06:16 ---> 3506729bc728 09:06:16 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 09:06:17 ---> 88d3fc98cbc0 09:06:17 Successfully built 88d3fc98cbc0 09:06:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:06:18 + docker inspect -f . ci-base-image-arm64 09:06:18 . [Pipeline] withDockerContainer 09:06:18 prd-ubuntu18.04-docker-arm64-4c-16g-4866 does not seem to be running inside a container 09:06:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:06:20 $ docker top c9333aa6ccce0586afe733e9cb87d71f6548bb33570b0918aa232507646b9115 -eo pid,comm [Pipeline] { [Pipeline] sh 09:06:21 + make test 09:06:21 echo "make test" 09:06:21 make test [Pipeline] } 09:06:21 $ docker stop --time=1 c9333aa6ccce0586afe733e9cb87d71f6548bb33570b0918aa232507646b9115 09:06:23 $ docker rm -f c9333aa6ccce0586afe733e9cb87d71f6548bb33570b0918aa232507646b9115 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:06:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:06:25 + ls -al . 09:06:25 total 196 09:06:25 drwxrwxr-x 9 jenkins jenkins 4096 Jun 30 09:04 . 09:06:25 drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 09:03 .. 09:06:25 drwxrwxr-x 8 jenkins jenkins 4096 Jun 30 09:04 .git 09:06:25 drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 09:03 .github 09:06:25 -rw-rw-r-- 1 jenkins jenkins 176 Jun 30 09:03 .gitignore 09:06:25 drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 09:04 .semver 09:06:25 -rw-rw-r-- 1 jenkins jenkins 3104 Jun 30 09:03 Attribution.txt 09:06:25 -rw-rw-r-- 1 jenkins jenkins 5323 Jun 30 09:03 CHANGES 09:06:25 -rw-rw-r-- 1 jenkins jenkins 108574 Jun 30 09:03 Doxyfile 09:06:25 -rw-rw-r-- 1 jenkins jenkins 794 Jun 30 09:03 Jenkinsfile 09:06:25 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 30 09:03 LICENSE 09:06:25 -rw-rw-r-- 1 jenkins jenkins 449 Jun 30 09:03 Makefile 09:06:25 -rw-rw-r-- 1 jenkins jenkins 1849 Jun 30 09:03 README.md 09:06:25 -rw-rw-r-- 1 jenkins jenkins 5229 Jun 30 09:03 README.v2.md 09:06:25 -rw-rw-r-- 1 jenkins jenkins 5 Jun 30 09:01 VERSION 09:06:25 drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 09:03 docs 09:06:25 drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 09:03 include 09:06:25 drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 09:03 scripts 09:06:25 drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 09:03 src [Pipeline] isUnix [Pipeline] sh 09:06:25 + 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=433f8bd9e2fac67d6eb6b5e6b63b7e85aaee9e7f --label arch=arm64 --label version=0.0.0 . 09:06:26 Sending build context to Docker daemon 3.312MB 09:06:26 Step 1/15 : ARG BASE=alpine:3.11 09:06:26 Step 2/15 : FROM ${BASE} 09:06:26 ---> 88d3fc98cbc0 09:06:26 Step 3/15 : MAINTAINER IOTech 09:06:26 ---> Running in 188e1f4c10f1 09:06:26 Removing intermediate container 188e1f4c10f1 09:06:26 ---> 3b14a32cecea 09:06:26 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 09:06:26 ---> Running in 3d4ee3aa194f 09:06:28 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 09:06:28 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 09:06:29 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 09:06:29 (2/6) Installing libblkid (2.33-r0) 09:06:29 (3/6) Installing libfdisk (2.33-r0) 09:06:29 (4/6) Installing libmount (2.33-r0) 09:06:29 (5/6) Installing libsmartcols (2.33-r0) 09:06:29 (6/6) Installing util-linux-dev (2.33-r0) 09:06:30 Executing busybox-1.29.3-r10.trigger 09:06:30 OK: 286 MiB in 84 packages 09:06:31 Removing intermediate container 3d4ee3aa194f 09:06:31 ---> cc894af7285a 09:06:31 Step 5/15 : COPY VERSION /edgex-c-sdk/ 09:06:32 ---> ac9305eabe3f 09:06:32 Step 6/15 : COPY src /edgex-c-sdk/src/ 09:06:33 ---> ed39dc56a949 09:06:33 Step 7/15 : COPY include /edgex-c-sdk/include/ 09:06:33 ---> 4c417798e0a5 09:06:33 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 09:06:34 ---> 76d48ce3783b 09:06:34 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 09:06:35 ---> b576b0c099ed 09:06:35 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 09:06:36 ---> 7a9a93a75d6c 09:06:36 Step 11/15 : WORKDIR /edgex-c-sdk 09:06:36 ---> Running in 48bc0fe9fe5f 09:06:36 Removing intermediate container 48bc0fe9fe5f 09:06:36 ---> 1c31a143d632 09:06:36 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 09:06:36 ---> Running in a981416a9f91 09:06:37 Removing intermediate container a981416a9f91 09:06:37 ---> 30b15503e3fd 09:06:37 Step 13/15 : LABEL arch=arm64 09:06:37 ---> Running in 96b168af9877 09:06:37 Removing intermediate container 96b168af9877 09:06:37 ---> 572a94fe4536 09:06:37 Step 14/15 : LABEL git_sha=433f8bd9e2fac67d6eb6b5e6b63b7e85aaee9e7f 09:06:38 ---> Running in 5790c8243e62 09:06:38 Removing intermediate container 5790c8243e62 09:06:38 ---> c25b9cd959af 09:06:38 Step 15/15 : LABEL version=0.0.0 09:06:38 ---> Running in f6bd05e5b2ce 09:06:39 Removing intermediate container f6bd05e5b2ce 09:06:39 ---> 33b982e69c0c 09:06:39 [Warning] One or more build-args [ARCH MAKE] were not consumed 09:06:39 Successfully built 33b982e69c0c 09:06:39 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 09:06:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:06:41 ---> package-listing.sh 09:06:41 ++ facter osfamily 09:06:41 ++ tr '[:upper:]' '[:lower:]' 09:06:41 + OS_FAMILY=redhat 09:06:41 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-275 09:06:41 + START_PACKAGES=/tmp/packages_start.txt 09:06:41 + END_PACKAGES=/tmp/packages_end.txt 09:06:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:06:41 + PACKAGES=/tmp/packages_start.txt 09:06:41 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-275 ']' 09:06:41 + PACKAGES=/tmp/packages_end.txt 09:06:41 + case "${OS_FAMILY}" in 09:06:41 + rpm -qa 09:06:41 + sort 09:06:45 + '[' -f /tmp/packages_start.txt ']' 09:06:45 + '[' -f /tmp/packages_end.txt ']' 09:06:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:06:45 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-275 ']' 09:06:45 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-275/archives/ 09:06:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-275/archives/ [Pipeline] isUnix [Pipeline] sh 09:06:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:06:45 09:06:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:06:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:06:46 alpine: Pulling from edgex-lftools-log-publisher 09:06:46 c9b1b535fdd9: Pulling fs layer 09:06:46 2cc5ad85d9ab: Pulling fs layer 09:06:46 756a868c4378: Pulling fs layer 09:06:46 444b2fc9a129: Pulling fs layer 09:06:46 ea15f1150254: Pulling fs layer 09:06:46 41b27a9f41bf: Pulling fs layer 09:06:46 28c525ee5125: Pulling fs layer 09:06:46 094b1ea09ed8: Pulling fs layer 09:06:46 138eaada9080: Pulling fs layer 09:06:46 0622d0fa9048: Pulling fs layer 09:06:46 41b27a9f41bf: Waiting 09:06:46 28c525ee5125: Waiting 09:06:46 094b1ea09ed8: Waiting 09:06:46 138eaada9080: Waiting 09:06:46 0622d0fa9048: Waiting 09:06:46 444b2fc9a129: Waiting 09:06:46 ea15f1150254: Waiting 09:06:46 2cc5ad85d9ab: Download complete 09:06:46 444b2fc9a129: Verifying Checksum 09:06:46 444b2fc9a129: Download complete 09:06:46 c9b1b535fdd9: Verifying Checksum 09:06:46 c9b1b535fdd9: Download complete 09:06:46 ea15f1150254: Verifying Checksum 09:06:46 ea15f1150254: Download complete 09:06:46 28c525ee5125: Verifying Checksum 09:06:46 28c525ee5125: Download complete 09:06:46 756a868c4378: Verifying Checksum 09:06:46 756a868c4378: Download complete 09:06:46 138eaada9080: Verifying Checksum 09:06:46 138eaada9080: Download complete 09:06:46 094b1ea09ed8: Verifying Checksum 09:06:46 094b1ea09ed8: Download complete 09:06:46 0622d0fa9048: Verifying Checksum 09:06:46 0622d0fa9048: Download complete 09:06:46 c9b1b535fdd9: Pull complete 09:06:47 2cc5ad85d9ab: Pull complete 09:06:47 41b27a9f41bf: Verifying Checksum 09:06:47 41b27a9f41bf: Download complete 09:06:48 756a868c4378: Pull complete 09:06:48 444b2fc9a129: Pull complete 09:06:49 ea15f1150254: Pull complete 09:06:53 41b27a9f41bf: Pull complete 09:06:53 28c525ee5125: Pull complete 09:06:55 094b1ea09ed8: Pull complete 09:06:55 138eaada9080: Pull complete 09:06:55 0622d0fa9048: Pull complete 09:06:55 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 09:06:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:06:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:06:56 prd-centos7-docker-4c-2g-4865 does not seem to be running inside a container 09:06:56 $ 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-275 -v /w/workspace/edgexfoundry_device-sdk-c_PR-275:/w/workspace/edgexfoundry_device-sdk-c_PR-275:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-275@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-275@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 09:07:00 $ docker top ebeb17d8cd51f45fc0a9c385b80fd1e710a317c5be90c4fcaebc2231fe593929 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:07:00 provisioning config files... 09:07:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-275@tmp/config7300126300199871150tmp [Pipeline] { [Pipeline] echo 09:07:00 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:07:00 ---> create-netrc.sh [Pipeline] echo 09:07:00 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:07:01 ---> logs-deploy.sh 09:07:01 + ARCHIVE_ARTIFACTS= 09:07:01 + LOGS_SERVER=https://logs.edgexfoundry.org 09:07:01 + '[' https://logs.edgexfoundry.org == None ']' 09:07:01 + NEXUS_URL=https://nexus.edgexfoundry.org 09:07:01 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-275/2 09:07:01 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-275/2/ 09:07:01 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-275/2 /w/workspace/edgexfoundry_device-sdk-c_PR-275 09:07:02 Archives upload complete. 09:07:02 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-275/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-275/2/ 09:07:03 ---> uname -a: 09:07:03 Linux ebeb17d8cd51 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 09:07:03 09:07:03 09:07:03 ---> lscpu: 09:07:03 Architecture: x86_64 09:07:03 CPU op-mode(s): 32-bit, 64-bit 09:07:03 Byte Order: Little Endian 09:07:03 Address sizes: 40 bits physical, 48 bits virtual 09:07:03 CPU(s): 4 09:07:03 On-line CPU(s) list: 0-3 09:07:03 Thread(s) per core: 1 09:07:03 Core(s) per socket: 1 09:07:03 Socket(s): 4 09:07:03 NUMA node(s): 1 09:07:03 Vendor ID: GenuineIntel 09:07:03 CPU family: 6 09:07:03 Model: 44 09:07:03 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 09:07:03 Stepping: 1 09:07:03 CPU MHz: 2933.396 09:07:03 BogoMIPS: 5866.79 09:07:03 Virtualization: VT-x 09:07:03 Hypervisor vendor: KVM 09:07:03 Virtualization type: full 09:07:03 L1d cache: 128 KiB 09:07:03 L1i cache: 128 KiB 09:07:03 L2 cache: 16 MiB 09:07:03 L3 cache: 64 MiB 09:07:03 NUMA node0 CPU(s): 0-3 09:07:03 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 09:07:03 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 09:07:03 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 09:07:03 Vulnerability Meltdown: Mitigation; PTI 09:07:03 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 09:07:03 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 09:07:03 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 09:07:03 Vulnerability Tsx async abort: Not affected 09:07:03 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 09:07:03 09:07:03 09:07:03 ---> nproc: 09:07:03 4 09:07:03 09:07:03 09:07:03 ---> df -h: 09:07:03 Filesystem Size Used Available Use% Mounted on 09:07:03 overlay 50.0G 7.2G 42.8G 14% / 09:07:03 tmpfs 64.0M 0 64.0M 0% /dev 09:07:03 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 09:07:03 shm 64.0M 0 64.0M 0% /dev/shm 09:07:03 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/resolv.conf 09:07:03 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hostname 09:07:03 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hosts 09:07:03 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/sa 09:07:03 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/edgexfoundry_device-sdk-c_PR-275 09:07:03 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/edgexfoundry_device-sdk-c_PR-275@tmp 09:07:03 09:07:03 09:07:03 ---> free -m: 09:07:03 total used free shared buff/cache available 09:07:03 Mem: 1837 671 128 0 1036 1059 09:07:03 Swap: 1023 1 1022 09:07:03 09:07:03 09:07:03 ---> ip addr: 09:07:03 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 09:07:03 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 09:07:03 inet 127.0.0.1/8 scope host lo 09:07:03 valid_lft forever preferred_lft forever 09:07:03 6: eth0@if7: mtu 1458 qdisc noqueue state UP 09:07:03 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 09:07:03 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 09:07:03 valid_lft forever preferred_lft forever 09:07:03 09:07:03 09:07:03 ---> sar -b -r -n DEV: 09:07:03 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 06/30/20 _x86_64_ (4 CPU) 09:07:03 09:07:03 09:00:56 LINUX RESTART 09:07:03 09:07:03 09:02:01 tps rtps wtps bread/s bwrtn/s 09:07:03 09:03:01 2.08 0.00 2.08 0.00 45.51 09:07:03 09:04:01 0.15 0.00 0.15 0.00 2.15 09:07:03 09:05:01 0.37 0.00 0.37 0.00 5.33 09:07:03 09:06:01 0.27 0.00 0.27 0.00 3.11 09:07:03 09:07:02 168.00 108.17 59.83 8149.29 20012.40 09:07:03 Average: 34.19 21.64 12.54 1630.46 4015.17 09:07:03 09:07:03 09:02:01 kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 09:07:03 09:03:01 154712 1726844 91.78 2620 1138752 1087312 37.11 452544 1115376 20 09:07:03 09:04:01 152776 1728780 91.88 2620 1138756 1082416 36.94 455248 1114772 8 09:07:03 09:05:01 150168 1731388 92.02 2620 1138764 1082528 36.94 457756 1114768 8 09:07:03 09:06:01 150076 1731480 92.02 2620 1138764 1082300 36.94 464804 1108044 8 09:07:03 09:07:02 131244 1750312 93.02 2620 1059176 1247000 42.56 523172 1025604 404 09:07:03 Average: 147795 1733761 92.15 2620 1122842 1116311 38.10 470705 1095713 90 09:07:03 09:07:03 09:02:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 09:07:03 09:03:01 eth0 3.95 2.36 2.95 0.16 0.00 0.00 0.00 09:07:03 09:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:07:03 09:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:07:03 09:04:01 eth0 1.17 0.37 0.43 0.20 0.00 0.00 0.00 09:07:03 09:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:07:03 09:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:07:03 09:05:01 eth0 1.27 0.57 0.61 0.39 0.00 0.00 0.00 09:07:03 09:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:07:03 09:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:07:03 09:06:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 09:07:03 09:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:07:03 09:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:07:03 09:07:02 eth0 104.26 67.12 2335.32 12.63 0.00 0.00 0.00 09:07:03 09:07:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:07:03 09:07:02 docker0 0.22 0.18 0.38 0.09 0.00 0.00 0.00 09:07:03 09:07:02 veth6c25749 0.22 0.23 0.39 0.09 0.00 0.00 0.00 09:07:03 Average: eth0 22.15 14.11 468.04 2.68 0.00 0.00 0.00 09:07:03 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:07:03 Average: docker0 0.04 0.04 0.08 0.02 0.00 0.00 0.00 09:07:03 Average: veth6c25749 0.04 0.05 0.08 0.02 0.00 0.00 0.00 09:07:03 09:07:03 09:07:03 ---> sar -P ALL: 09:07:03 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 06/30/20 _x86_64_ (4 CPU) 09:07:03 09:07:03 09:00:56 LINUX RESTART 09:07:03 09:07:03 09:02:01 CPU %user %nice %system %iowait %steal %idle 09:07:03 09:03:01 all 0.20 0.00 0.06 0.00 0.00 99.74 09:07:03 09:03:01 0 0.10 0.00 0.05 0.00 0.00 99.85 09:07:03 09:03:01 1 0.55 0.00 0.07 0.00 0.00 99.38 09:07:03 09:03:01 2 0.05 0.00 0.03 0.00 0.00 99.92 09:07:03 09:03:01 3 0.08 0.00 0.07 0.00 0.00 99.85 09:07:03 09:04:01 all 0.16 0.00 0.04 0.00 0.00 99.80 09:07:03 09:04:01 0 0.03 0.00 0.03 0.00 0.00 99.93 09:07:03 09:04:01 1 0.05 0.00 0.03 0.00 0.00 99.92 09:07:03 09:04:01 2 0.45 0.00 0.03 0.00 0.00 99.52 09:07:03 09:04:01 3 0.08 0.00 0.08 0.00 0.02 99.82 09:07:03 09:05:01 all 0.15 0.00 0.03 0.00 0.00 99.82 09:07:03 09:05:01 0 0.08 0.00 0.07 0.00 0.00 99.85 09:07:03 09:05:01 1 0.03 0.00 0.02 0.00 0.00 99.95 09:07:03 09:05:01 2 0.07 0.00 0.02 0.00 0.00 99.92 09:07:03 09:05:01 3 0.40 0.00 0.02 0.00 0.00 99.58 09:07:03 09:06:01 all 0.12 0.00 0.03 0.00 0.00 99.85 09:07:03 09:06:01 0 0.03 0.00 0.05 0.00 0.02 99.90 09:07:03 09:06:01 1 0.03 0.00 0.02 0.00 0.00 99.95 09:07:03 09:06:01 2 0.02 0.00 0.02 0.00 0.00 99.97 09:07:03 09:06:01 3 0.40 0.00 0.05 0.00 0.00 99.55 09:07:03 09:07:02 all 5.58 0.00 3.42 2.26 0.01 88.73 09:07:03 09:07:02 0 4.99 0.00 2.96 1.44 0.00 90.61 09:07:03 09:07:02 1 6.26 0.00 3.85 4.57 0.02 85.30 09:07:03 09:07:02 2 4.93 0.00 3.42 2.46 0.00 89.19 09:07:03 09:07:02 3 6.15 0.00 3.45 0.54 0.02 89.84 09:07:03 Average: all 1.23 0.00 0.71 0.45 0.00 97.60 09:07:03 Average: 0 1.04 0.00 0.63 0.29 0.00 98.04 09:07:03 Average: 1 1.38 0.00 0.79 0.91 0.00 96.91 09:07:03 Average: 2 1.10 0.00 0.70 0.49 0.00 97.71 09:07:03 Average: 3 1.41 0.00 0.73 0.11 0.01 97.74 09:07:03 09:07:03 09:07:03