Pull request #245 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of jamesiotech for edgexfoundry/device-sdk-c Loading trusted files from base branch master at 9d735d1f6129c08be60f72e7e36f35f4ed1f8142 rather than d577524653b908716fe3fd2127e0060690583520 Obtained Jenkinsfile from 9d735d1f6129c08be60f72e7e36f35f4ed1f8142 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision c26106ffa7303c9cfaed1787c18b3b6a39928acb using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision c26106ffa7303c9cfaed1787c18b3b6a39928acb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c26106ffa7303c9cfaed1787c18b3b6a39928acb # timeout=10 Commit message: "Merge pull request #139 from ernestojeda/use-cache-image" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-3.9-base, dockerFilePath:scripts/Dockerfile.alpine-3.9, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine-3.9 DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-3.9-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-c DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1397 in /w/workspace/edgexfoundry_device-sdk-c_PR-245 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-245 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/245/head:refs/remotes/origin/PR-245 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 9d735d1f6129c08be60f72e7e36f35f4ed1f8142 into PR head commit d577524653b908716fe3fd2127e0060690583520 Merge succeeded, producing d577524653b908716fe3fd2127e0060690583520 Checking out Revision d577524653b908716fe3fd2127e0060690583520 (PR-245) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/245/head:refs/remotes/origin/PR-245 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/245/head:refs/remotes/origin/PR-245 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d577524653b908716fe3fd2127e0060690583520 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9d735d1f6129c08be60f72e7e36f35f4ed1f8142 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d577524653b908716fe3fd2127e0060690583520 # timeout=10 Commit message: "Updated gyro and terminal examples to use v2 api" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:39:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 16:40:02 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:40:02 16:40:02 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:40:02 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:40:02 latest: Pulling from edgex-devops/git-semver 16:40:02 9123ac7c32f7: Pulling fs layer 16:40:02 b8cc5d1170e3: Pulling fs layer 16:40:02 2924cbbf6a41: Pulling fs layer 16:40:02 93b08a4f1073: Pulling fs layer 16:40:02 93b08a4f1073: Waiting 16:40:02 b8cc5d1170e3: Verifying Checksum 16:40:02 b8cc5d1170e3: Download complete 16:40:02 9123ac7c32f7: Verifying Checksum 16:40:02 9123ac7c32f7: Download complete 16:40:02 2924cbbf6a41: Verifying Checksum 16:40:02 2924cbbf6a41: Download complete 16:40:02 93b08a4f1073: Verifying Checksum 16:40:02 93b08a4f1073: Download complete 16:40:03 9123ac7c32f7: Pull complete 16:40:03 b8cc5d1170e3: Pull complete 16:40:04 2924cbbf6a41: Pull complete 16:40:04 93b08a4f1073: Pull complete 16:40:04 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 16:40:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:40:04 prd-centos7-docker-4c-2g-1397 does not seem to be running inside a container 16:40:04 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-245 -v /w/workspace/edgexfoundry_device-sdk-c_PR-245:/w/workspace/edgexfoundry_device-sdk-c_PR-245:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-245@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-245@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:40:05 $ docker top 52a00eaa961f6f17e05ef7f176d94b3446521424e0bde308e187a09a62ffb455 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:40:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:40:05 [ssh-agent] Looking for ssh-agent implementation... 16:40:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:40:06 $ docker exec 52a00eaa961f6f17e05ef7f176d94b3446521424e0bde308e187a09a62ffb455 ssh-agent 16:40:06 SSH_AUTH_SOCK=/tmp/ssh-DIeRyISmqQaJ/agent.14 16:40:06 SSH_AGENT_PID=21 16:40:06 Running ssh-add (command line suppressed) 16:40:06 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-245@tmp/private_key_3832529843243413842.key (/w/workspace/edgexfoundry_device-sdk-c_PR-245@tmp/private_key_3832529843243413842.key) 16:40:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:40:06 + git describe --exact-match --tags HEAD 16:40:06 fatal: No names found, cannot describe anything. [Pipeline] } 16:40:06 $ docker exec --env ******** --env ******** 52a00eaa961f6f17e05ef7f176d94b3446521424e0bde308e187a09a62ffb455 ssh-agent -k 16:40:07 unset SSH_AUTH_SOCK; 16:40:07 unset SSH_AGENT_PID; 16:40:07 echo Agent pid 21 killed; 16:40:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 16:40:07 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 16:40:07 This usually means this commit has not been tagged. [Pipeline] sshagent 16:40:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:40:07 [ssh-agent] Looking for ssh-agent implementation... 16:40:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:40:07 $ docker exec 52a00eaa961f6f17e05ef7f176d94b3446521424e0bde308e187a09a62ffb455 ssh-agent 16:40:07 SSH_AUTH_SOCK=/tmp/ssh-HdAtQpb5uO2B/agent.56 16:40:07 SSH_AGENT_PID=63 16:40:07 Running ssh-add (command line suppressed) 16:40:07 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-245@tmp/private_key_5689136774521733498.key (/w/workspace/edgexfoundry_device-sdk-c_PR-245@tmp/private_key_5689136774521733498.key) 16:40:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:40:08 + git semver init 16:40:08 # -> Open(): unable to determine branch for HEAD 16:40:08 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-245/.git 16:40:08 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-245 16:40:08 # $SEMVER_REMOTE_NAME = origin 16:40:08 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 16:40:08 # $SEMVER_USER_NAME = jenkins 16:40:08 # $SEMVER_BRANCH = PR-245 16:40:08 # $SEMVER_TEMP = /tmp/semver-282500874 16:40:08 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 16:40:08 # '/tmp/semver-282500874' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-245/.semver' 16:40:08 # -> Force: false 16:40:08 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-245/.semver [Pipeline] } 16:40:08 $ docker exec --env ******** --env ******** 52a00eaa961f6f17e05ef7f176d94b3446521424e0bde308e187a09a62ffb455 ssh-agent -k 16:40:08 unset SSH_AUTH_SOCK; 16:40:08 unset SSH_AGENT_PID; 16:40:08 echo Agent pid 63 killed; 16:40:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:40:09 + git semver [Pipeline] } 16:40:09 $ docker stop --time=1 52a00eaa961f6f17e05ef7f176d94b3446521424e0bde308e187a09a62ffb455 16:40:10 $ docker rm -f 52a00eaa961f6f17e05ef7f176d94b3446521424e0bde308e187a09a62ffb455 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 16:40:11 Stashed 35 file(s) [Pipeline] echo 16:40:11 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 16:40:27 Still waiting to schedule task 16:40:27 Waiting for next available executor on ‘centos7-docker-4c-2g’ 16:40:27 Still waiting to schedule task 16:40:27 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1394’ 16:42:54 Running on prd-centos7-docker-4c-2g-1398 in /w/workspace/edgexfoundry_device-sdk-c_PR-245 [Pipeline] { [Pipeline] ws 16:42:54 Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout 16:42:59 using credential edgex-jenkins-ssh 16:42:59 Cloning the remote Git repository 16:42:59 Cloning with configured refspecs honoured and without tags 16:42:59 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 16:42:59 > git init /w/workspace/device-sdk-c/2 # timeout=10 16:43:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:43:00 > git --version # timeout=10 16:43:00 using GIT_SSH to set credentials SSH Credentials for GitHub 16:43:00 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/245/head:refs/remotes/origin/PR-245 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:43:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:43:05 > git config --add remote.origin.fetch +refs/pull/245/head:refs/remotes/origin/PR-245 # timeout=10 16:43:05 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 16:43:05 Fetching without tags 16:43:06 Merging remotes/origin/master commit 9d735d1f6129c08be60f72e7e36f35f4ed1f8142 into PR head commit d577524653b908716fe3fd2127e0060690583520 16:43:06 Merge succeeded, producing d577524653b908716fe3fd2127e0060690583520 16:43:06 Checking out Revision d577524653b908716fe3fd2127e0060690583520 (PR-245) 16:43:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:43:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:43:05 using GIT_SSH to set credentials SSH Credentials for GitHub 16:43:06 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/245/head:refs/remotes/origin/PR-245 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:43:06 > git config core.sparsecheckout # timeout=10 16:43:06 > git checkout -f d577524653b908716fe3fd2127e0060690583520 # timeout=10 16:43:06 > git remote # timeout=10 16:43:06 > git config --get remote.origin.url # timeout=10 16:43:06 using GIT_SSH to set credentials SSH Credentials for GitHub 16:43:06 > git merge 9d735d1f6129c08be60f72e7e36f35f4ed1f8142 # timeout=10 16:43:06 > git rev-parse HEAD^{commit} # timeout=10 16:43:06 > git config core.sparsecheckout # timeout=10 16:43:06 > git checkout -f d577524653b908716fe3fd2127e0060690583520 # timeout=10 16:43:11 Commit message: "Updated gyro and terminal examples to use v2 api" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 16:43:12 ========================================================= 16:43:12 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 16:43:12 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:43:13 + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-3.9-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . 16:43:14 Sending build context to Docker daemon 2.943MB 16:43:14 Step 1/21 : ARG BASE=alpine:3.9 16:43:14 Step 2/21 : FROM ${BASE} as builder 16:43:14 latest: Pulling from edgex-devops/edgex-gcc-base 16:43:14 e7c96db7181b: Pulling fs layer 16:43:14 4c13bbce0fe7: Pulling fs layer 16:43:14 6059c847ac2f: Pulling fs layer 16:43:14 e7c96db7181b: Verifying Checksum 16:43:14 e7c96db7181b: Download complete 16:43:14 4c13bbce0fe7: Verifying Checksum 16:43:14 4c13bbce0fe7: Download complete 16:43:14 e7c96db7181b: Pull complete 16:43:15 4c13bbce0fe7: Pull complete 16:43:17 6059c847ac2f: Verifying Checksum 16:43:17 6059c847ac2f: Download complete 16:43:23 6059c847ac2f: Pull complete 16:43:24 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 16:43:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 16:43:24 ---> 5eabd8fd8ba2 16:43:24 Step 3/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev 16:43:24 ---> Running in c19067cce1b5 16:43:24 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 16:43:25 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 16:43:25 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 16:43:25 (2/8) Installing libuuid (2.33-r0) 16:43:25 (3/8) Installing libblkid (2.33-r0) 16:43:26 (4/8) Installing libfdisk (2.33-r0) 16:43:26 (5/8) Installing libmount (2.33-r0) 16:43:27 (6/8) Installing libsmartcols (2.33-r0) 16:43:27 (7/8) Installing util-linux-dev (2.33-r0) 16:43:27 (8/8) Installing wget (1.20.3-r0) 16:43:28 Executing busybox-1.29.3-r10.trigger 16:43:28 OK: 272 MiB in 83 packages 16:43:28 Removing intermediate container c19067cce1b5 16:43:28 ---> c83aec67c91e 16:43:28 Step 4/21 : ENV CBOR_VERSION=0.5.0 16:43:29 ---> Running in 2bccce6fa6e8 16:43:29 Removing intermediate container 2bccce6fa6e8 16:43:29 ---> 097289659d9c 16:43:29 Step 5/21 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 16:43:29 ---> Running in 83b47233d907 16:43:29 --2020-03-30 16:43:29-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 16:43:29 Resolving github.com... 140.82.112.3 16:43:29 Connecting to github.com|140.82.112.3|:443... connected. 16:43:29 HTTP request sent, awaiting response... 302 Found 16:43:29 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 16:43:29 --2020-03-30 16:43:29-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 16:43:29 Resolving codeload.github.com... 140.82.113.9 16:43:29 Connecting to codeload.github.com|140.82.113.9|:443... connected. 16:43:30 HTTP request sent, awaiting response... 200 OK 16:43:30 Length: unspecified [application/x-gzip] 16:43:30 Saving to: 'STDOUT' 16:43:30 16:43:30 0K .......... .......... .......... .......... .......... 1.61M 16:43:30 50K .......... .......... .......... .......... .......... 3.02M 16:43:30 100K .......... .......... .......... .......... .......... 10.5M 16:43:30 150K .......... .......... .......... .......... .......... 43.8M 16:43:30 200K .......... .......... .......... .......... .......... 2.84M 16:43:30 250K .......... .......... .......... .......... .......... 8.83M 16:43:30 300K .......... .......... .......... .......... .......... 5.49M 16:43:30 350K .......... .......... .......... .......... .......... 6.25M 16:43:30 400K .......... .......... .......... .......... .......... 4.31M 16:43:30 450K .......... .......... .......... .......... .......... 3.74M 16:43:30 500K .......... .......... .......... .......... .......... 17.1M 16:43:30 550K .......... .......... .......... .......... .......... 2.82M 16:43:30 600K .......... .......... .......... .......... .......... 1.33M 16:43:30 650K .......... .......... .......... .......... .......... 6.34M 16:43:30 700K .. 27.0M=0.2s 16:43:30 16:43:30 2020-03-30 16:43:30 (3.80 MB/s) - written to stdout [719348] 16:43:30 16:43:30 -- The C compiler identification is GNU 8.3.0 16:43:30 -- The CXX compiler identification is GNU 8.3.0 16:43:30 -- Check for working C compiler: /usr/bin/cc 16:43:30 -- Check for working C compiler: /usr/bin/cc -- works 16:43:30 -- Detecting C compiler ABI info 16:43:30 -- Detecting C compiler ABI info - done 16:43:30 -- Detecting C compile features 16:43:31 -- Detecting C compile features - done 16:43:31 -- Check for working CXX compiler: /usr/bin/c++ 16:43:31 -- Check for working CXX compiler: /usr/bin/c++ -- works 16:43:31 -- Detecting CXX compiler ABI info 16:43:31 -- Detecting CXX compiler ABI info - done 16:43:31 -- Detecting CXX compile features 16:43:31 -- Detecting CXX compile features - done 16:43:31 -- Looking for include file endian.h 16:43:32 -- Looking for include file endian.h - found 16:43:32 -- Check if the system is big endian 16:43:32 -- Searching 16 bit integer 16:43:32 -- Looking for sys/types.h 16:43:32 -- Looking for sys/types.h - found 16:43:32 -- Looking for stdint.h 16:43:32 -- Looking for stdint.h - found 16:43:32 -- Looking for stddef.h 16:43:32 -- Looking for stddef.h - found 16:43:32 -- Check size of unsigned short 16:43:32 -- Check size of unsigned short - done 16:43:32 -- Using unsigned short 16:43:32 -- Check if the system is big endian - little endian 16:43:32 -- Check size of size_t 16:43:32 -- Check size of size_t - done 16:43:32 CMake Warning at examples/CMakeLists.txt:16 (find_package): 16:43:32 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 16:43:32 asked CMake to find a package configuration file provided by "cJSON", but 16:43:32 CMake did not find one. 16:43:32 16:43:32 Could not find a package configuration file provided by "cJSON" with any of 16:43:32 the following names: 16:43:32 16:43:32 cJSONConfig.cmake 16:43:32 cjson-config.cmake 16:43:32 16:43:32 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 16:43:32 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 16:43:32 provides a separate development package or SDK, be sure it has been 16:43:32 installed. 16:43:32 16:43:32 16:43:32 -- Configuring done 16:43:33 -- Generating done 16:43:33 -- Build files have been written to: /tmp/cbor 16:43:33 Scanning dependencies of target cbor_shared 16:43:33 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 16:43:33 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 16:43:33 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 16:43:33 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 16:43:33 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 16:43:33 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 16:43:33 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 16:43:34 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 16:43:34 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 16:43:34 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 16:43:34 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 16:43:34 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 16:43:34 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 16:43:34 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 16:43:34 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 16:43:34 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 16:43:35 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 16:43:35 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 16:43:35 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 16:43:35 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 16:43:35 [ 40%] Linking C shared library libcbor.so 16:43:35 [ 40%] Built target cbor_shared 16:43:35 Scanning dependencies of target cbor 16:43:35 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 16:43:35 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 16:43:36 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 16:43:36 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 16:43:36 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 16:43:36 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 16:43:37 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 16:43:37 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 16:43:37 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 16:43:37 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 16:43:37 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 16:43:37 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 16:43:37 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 16:43:38 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 16:43:38 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 16:43:38 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 16:43:38 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 16:43:38 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 16:43:38 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 16:43:38 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 16:43:39 [ 80%] Linking C static library libcbor.a 16:43:39 [ 80%] Built target cbor 16:43:39 Scanning dependencies of target create_items 16:43:39 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 16:43:39 [ 84%] Linking C executable create_items 16:43:39 [ 84%] Built target create_items 16:43:39 Scanning dependencies of target readfile 16:43:39 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 16:43:39 [ 88%] Linking C executable readfile 16:43:39 [ 88%] Built target readfile 16:43:39 Scanning dependencies of target streaming_parser 16:43:39 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 16:43:39 [ 92%] Linking C executable streaming_parser 16:43:39 [ 92%] Built target streaming_parser 16:43:39 Scanning dependencies of target sort 16:43:39 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 16:43:39 [ 96%] Linking C executable sort 16:43:39 [ 96%] Built target sort 16:43:39 Scanning dependencies of target hello 16:43:39 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 16:43:39 [100%] Linking C executable hello 16:43:39 [100%] Built target hello 16:43:39 Install the project... 16:43:39 -- Install configuration: "Release" 16:43:39 -- Installing: /usr/local/include/cbor/configuration.h 16:43:39 -- Installing: /usr/local/lib64/libcbor.a 16:43:39 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 16:43:39 -- Installing: /usr/local/lib64/libcbor.so.0 16:43:39 -- Installing: /usr/local/lib64/libcbor.so 16:43:39 -- Up-to-date: /usr/local/include/cbor 16:43:39 -- Installing: /usr/local/include/cbor/arrays.h 16:43:39 -- Installing: /usr/local/include/cbor/bytestrings.h 16:43:39 -- Installing: /usr/local/include/cbor/callbacks.h 16:43:39 -- Installing: /usr/local/include/cbor/common.h 16:43:39 -- Installing: /usr/local/include/cbor/data.h 16:43:39 -- Installing: /usr/local/include/cbor/encoding.h 16:43:39 -- Installing: /usr/local/include/cbor/floats_ctrls.h 16:43:39 -- Installing: /usr/local/include/cbor/internal 16:43:39 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 16:43:39 -- Installing: /usr/local/include/cbor/internal/encoders.h 16:43:39 -- Installing: /usr/local/include/cbor/internal/loaders.h 16:43:39 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 16:43:39 -- Installing: /usr/local/include/cbor/internal/stack.h 16:43:39 -- Installing: /usr/local/include/cbor/internal/unicode.h 16:43:39 -- Installing: /usr/local/include/cbor/ints.h 16:43:39 -- Installing: /usr/local/include/cbor/maps.h 16:43:39 -- Installing: /usr/local/include/cbor/serialization.h 16:43:39 -- Installing: /usr/local/include/cbor/streaming.h 16:43:39 -- Installing: /usr/local/include/cbor/strings.h 16:43:39 -- Installing: /usr/local/include/cbor/tags.h 16:43:39 -- Installing: /usr/local/include/cbor.h 16:43:39 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 16:43:41 Removing intermediate container 83b47233d907 16:43:41 ---> e4a85bf4e74d 16:43:41 Step 6/21 : RUN mkdir /tmp/sdk 16:43:41 ---> Running in 1bf407e320d2 16:43:42 Removing intermediate container 1bf407e320d2 16:43:42 ---> 60a5aede9f1d 16:43:42 Step 7/21 : COPY VERSION /tmp/sdk 16:43:43 ---> 3572b49cca99 16:43:43 Step 8/21 : COPY src /tmp/sdk/src 16:43:43 ---> 7e23b4a04ddf 16:43:43 Step 9/21 : COPY include /tmp/sdk/include 16:43:43 ---> 42788069eb5c 16:43:43 Step 10/21 : COPY scripts /tmp/sdk/scripts 16:43:43 ---> f0d678cb345f 16:43:43 Step 11/21 : COPY LICENSE /tmp/sdk 16:43:44 ---> 8d40b8233c64 16:43:44 Step 12/21 : COPY Attribution.txt /tmp/sdk 16:43:44 ---> 8c0a974db8dd 16:43:44 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 16:43:44 ---> Running in ab342d298bf6 16:43:45 + CPPCHECK=false 16:43:45 + DOCGEN=false 16:43:45 + TOMLVER=SDK-0.2 16:43:45 + CUTILVER=1.0.0 16:43:45 + '[' 0 -gt 0 ] 16:43:45 + readlink -f ./scripts/build.sh 16:43:45 + dirname /tmp/sdk/scripts/build.sh 16:43:45 + dirname /tmp/sdk/scripts 16:43:45 + ROOT=/tmp/sdk 16:43:45 + cd /tmp/sdk 16:43:45 + '[' '!' -d deps ] 16:43:45 + mkdir deps 16:43:45 + tar -C deps -z -x -f - 16:43:45 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:43:45 --2020-03-30 16:43:44-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:43:45 Resolving github.com... 140.82.112.3 16:43:45 Connecting to github.com|140.82.112.3|:443... connected. 16:43:45 HTTP request sent, awaiting response... 302 Found 16:43:45 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 16:43:45 --2020-03-30 16:43:45-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 16:43:45 Resolving codeload.github.com... 140.82.113.9 16:43:45 Connecting to codeload.github.com|140.82.113.9|:443... connected. 16:43:45 HTTP request sent, awaiting response... 200 OK 16:43:45 Length: unspecified [application/x-gzip] 16:43:45 Saving to: 'STDOUT' 16:43:45 16:43:45 0K .......... ...... 950K=0.02s 16:43:45 16:43:45 2020-03-30 16:43:45 (950 KB/s) - written to stdout [16451] 16:43:45 16:43:45 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 16:43:45 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.0.tar.gz 16:43:45 + tar -C deps -z -x -f - 16:43:45 --2020-03-30 16:43:45-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.0.tar.gz 16:43:45 Resolving github.com... 140.82.112.3 16:43:45 Connecting to github.com|140.82.112.3|:443... connected. 16:43:45 HTTP request sent, awaiting response... 302 Found 16:43:45 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.0 [following] 16:43:45 --2020-03-30 16:43:45-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.0 16:43:45 Resolving codeload.github.com... 140.82.113.9 16:43:45 Connecting to codeload.github.com|140.82.113.9|:443... connected. 16:43:45 HTTP request sent, awaiting response... 200 OK 16:43:45 Length: unspecified [application/x-gzip] 16:43:45 Saving to: 'STDOUT' 16:43:45  16:43:45 0K .......... .......... .......... .......... .......... 1.54M 16:43:45 50K .......... .......... .......... .......... .......... 2.26M 16:43:45 100K .......... .......... .......... .......... ........ 12.1M=0.06s 16:43:45 16:43:45 2020-03-30 16:43:45 (2.53 MB/s) - written to stdout [151809] 16:43:45 16:43:45 + mkdir -p src/c/iot 16:43:45 + cp deps/iotech-c-utils-1.0.0/src/c/base64.c deps/iotech-c-utils-1.0.0/src/c/component.c deps/iotech-c-utils-1.0.0/src/c/container.c deps/iotech-c-utils-1.0.0/src/c/data.c deps/iotech-c-utils-1.0.0/src/c/hash.c deps/iotech-c-utils-1.0.0/src/c/iot.c deps/iotech-c-utils-1.0.0/src/c/json.c deps/iotech-c-utils-1.0.0/src/c/logger.c deps/iotech-c-utils-1.0.0/src/c/os.c deps/iotech-c-utils-1.0.0/src/c/scheduler.c deps/iotech-c-utils-1.0.0/src/c/thread.c deps/iotech-c-utils-1.0.0/src/c/threadpool.c deps/iotech-c-utils-1.0.0/src/c/time.c src/c/iot 16:43:45 + mkdir -p include/iot 16:43:45 + cp deps/iotech-c-utils-1.0.0/include/iot/base64.h deps/iotech-c-utils-1.0.0/include/iot/component.h deps/iotech-c-utils-1.0.0/include/iot/container.h deps/iotech-c-utils-1.0.0/include/iot/data.h deps/iotech-c-utils-1.0.0/include/iot/hash.h deps/iotech-c-utils-1.0.0/include/iot/iot.h deps/iotech-c-utils-1.0.0/include/iot/json.h deps/iotech-c-utils-1.0.0/include/iot/logger.h deps/iotech-c-utils-1.0.0/include/iot/os.h deps/iotech-c-utils-1.0.0/include/iot/scheduler.h deps/iotech-c-utils-1.0.0/include/iot/thread.h deps/iotech-c-utils-1.0.0/include/iot/threadpool.h deps/iotech-c-utils-1.0.0/include/iot/time.h include/iot 16:43:45 + mkdir -p include/iot/os 16:43:45 + cp deps/iotech-c-utils-1.0.0/include/iot/os/linux.h deps/iotech-c-utils-1.0.0/include/iot/os/zephyr.h include/iot/os 16:43:45 + mkdir -p /tmp/sdk/build/release 16:43:45 + cd /tmp/sdk/build/release 16:43:45 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 16:43:46 -- The C compiler identification is GNU 8.3.0 16:43:46 -- Check for working C compiler: /usr/bin/cc 16:43:46 -- Check for working C compiler: /usr/bin/cc -- works 16:43:46 -- Detecting C compiler ABI info 16:43:46 -- Detecting C compiler ABI info - done 16:43:46 -- Detecting C compile features 16:43:46 -- Detecting C compile features - done 16:43:46 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:43:46 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 16:43:46 -- Found LIBYAML: /usr/lib/libyaml.so 16:43:46 -- Found LIBUUID: /usr/lib/libuuid.so 16:43:46 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:43:46 -- C SDK 0.0.0 for Linux 16:43:46 -- Performing Test CSDK_HAVE_ATOMIC 16:43:46 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:43:46 -- Found Curses: /usr/lib/libcurses.so 16:43:46 -- Configuring done 16:43:46 -- Generating done 16:43:46 -- Build files have been written to: /tmp/sdk/build/release 16:43:46 + make 16:43:46 + tee release.log 16:43:47 Scanning dependencies of target csdk 16:43:47 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:43:47 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 16:43:47 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:43:48 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:43:48 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:43:48 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:43:49 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:43:49 [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:43:49 [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:43:49 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:43:50 [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:43:50 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:43:50 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:43:50 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:43:51 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:43:51 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:43:51 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:43:52 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:43:53 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:43:53 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:43:53 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:43:53 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:43:53 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:43:53 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:43:53 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:43:54 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:43:54 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:43:54 [ 47%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:43:54 [ 49%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:43:55 [ 50%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:43:55 [ 52%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:43:57 [ 54%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:43:57 [ 55%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:43:57 [ 57%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:43:57 [ 59%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:43:58 [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:43:59 [ 62%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:43:59 [ 64%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:43:59 [ 66%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 16:44:00 [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:44:00 [ 69%] Linking C shared library libcsdk.so 16:44:00 [ 69%] Built target csdk 16:44:00 Scanning dependencies of target template 16:44:00 [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:44:01 [ 72%] Linking C executable template 16:44:01 [ 72%] Built target template 16:44:01 Scanning dependencies of target device-counter 16:44:01 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:44:01 [ 76%] Linking C executable device-counter 16:44:01 [ 76%] Built target device-counter 16:44:01 Scanning dependencies of target device-random 16:44:01 [ 77%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:44:01 [ 79%] Linking C executable device-random 16:44:01 [ 79%] Built target device-random 16:44:01 Scanning dependencies of target device-gyro 16:44:01 [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:44:02 [ 83%] Linking C executable device-gyro 16:44:02 [ 83%] Built target device-gyro 16:44:02 Scanning dependencies of target template-discovery 16:44:02 [ 84%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:44:02 [ 86%] Linking C executable template-discovery 16:44:02 [ 86%] Built target template-discovery 16:44:02 Scanning dependencies of target device-terminal 16:44:02 [ 88%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:44:03 [ 89%] Linking C executable device-terminal 16:44:03 [ 89%] Built target device-terminal 16:44:03 Scanning dependencies of target template2 16:44:03 [ 91%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o 16:44:03 [ 93%] Linking C executable template2 16:44:03 [ 93%] Built target template2 16:44:03 Scanning dependencies of target device-randomv2 16:44:03 [ 94%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o 16:44:03 [ 96%] Linking C executable device-randomv2 16:44:03 [ 96%] Built target device-randomv2 16:44:03 Scanning dependencies of target device-counterv2 16:44:03 [ 98%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o 16:44:03 [100%] Linking C executable device-counterv2 16:44:03 [100%] Built target device-counterv2 16:44:03 + make package 16:44:03 + tee -a release.log 16:44:04 [ 69%] Built target csdk 16:44:04 [ 72%] Built target template 16:44:04 [ 76%] Built target device-counter 16:44:04 [ 79%] Built target device-random 16:44:04 [ 83%] Built target device-gyro 16:44:04 [ 86%] Built target template-discovery 16:44:04 [ 89%] Built target device-terminal 16:44:04 [ 93%] Built target template2 16:44:04 [ 96%] Built target device-randomv2 16:44:04 [100%] Built target device-counterv2 16:44:04 Run CPack packaging tool... 16:44:04 CPack: Create package using TGZ 16:44:04 CPack: Install projects 16:44:04 CPack: - Run preinstall target for: Csdk 16:44:04 CPack: - Install project: Csdk 16:44:04 CPack: Create package 16:44:04 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 16:44:04 + '[' false '=' true ] 16:44:04 + '[' false '=' true ] 16:44:04 + mkdir -p /tmp/sdk/build/debug 16:44:04 + cd /tmp/sdk/build/debug 16:44:04 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 16:44:04 -- The C compiler identification is GNU 8.3.0 16:44:04 -- Check for working C compiler: /usr/bin/cc 16:44:04 -- Check for working C compiler: /usr/bin/cc -- works 16:44:04 -- Detecting C compiler ABI info 16:44:05 -- Detecting C compiler ABI info - done 16:44:05 -- Detecting C compile features 16:44:05 -- Detecting C compile features - done 16:44:05 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:44:05 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 16:44:05 -- Found LIBYAML: /usr/lib/libyaml.so 16:44:05 -- Found LIBUUID: /usr/lib/libuuid.so 16:44:05 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:44:05 -- C SDK 0.0.0 for Linux 16:44:05 -- Performing Test CSDK_HAVE_ATOMIC 16:44:05 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:44:05 -- Found Curses: /usr/lib/libcurses.so 16:44:05 -- Configuring done 16:44:05 -- Generating done 16:44:05 -- Build files have been written to: /tmp/sdk/build/debug 16:44:05 + make 16:44:05 + tee debug.log 16:44:05 Scanning dependencies of target csdk 16:44:05 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:44:06 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 16:44:06 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:44:06 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:44:06 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:44:06 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:44:06 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:44:06 [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:44:06 [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:44:06 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:44:07 [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:44:07 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:44:07 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:44:07 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:44:07 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1399 in /w/workspace/edgexfoundry_device-sdk-c_PR-245 [Pipeline] { [Pipeline] ws 16:44:07 Running in /w/workspace/device-sdk-c/2 [Pipeline] { 16:44:07 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:44:07 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [Pipeline] checkout 16:44:08 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:44:08 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:44:08 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:44:08 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:44:08 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:44:08 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:44:08 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:44:08 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:44:08 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:44:08 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:44:08 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:44:09 [ 47%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:44:09 [ 49%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:44:09 [ 50%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:44:09 [ 52%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:44:10 [ 54%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:44:10 [ 55%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:44:10 [ 57%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:44:10 [ 59%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:44:10 [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:44:10 [ 62%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:44:11 [ 64%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:44:11 [ 66%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 16:44:11 [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:44:11 [ 69%] Linking C shared library libcsdk.so 16:44:11 [ 69%] Built target csdk 16:44:11 Scanning dependencies of target template 16:44:11 [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:44:11 [ 72%] Linking C executable template 16:44:11 [ 72%] Built target template 16:44:11 Scanning dependencies of target device-counter 16:44:11 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:44:11 [ 76%] Linking C executable device-counter 16:44:12 [ 76%] Built target device-counter 16:44:12 Scanning dependencies of target device-random 16:44:12 [ 77%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:44:12 [ 79%] Linking C executable device-random 16:44:12 [ 79%] Built target device-random 16:44:12 Scanning dependencies of target device-gyro 16:44:12 [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:44:12 [ 83%] Linking C executable device-gyro 16:44:12 [ 83%] Built target device-gyro 16:44:12 Scanning dependencies of target template-discovery 16:44:12 [ 84%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:44:12 [ 86%] Linking C executable template-discovery 16:44:12 [ 86%] Built target template-discovery 16:44:12 Scanning dependencies of target device-terminal 16:44:12 [ 88%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:44:13 [ 89%] Linking C executable device-terminal 16:44:13 [ 89%] Built target device-terminal 16:44:13 Scanning dependencies of target template2 16:44:13 [ 91%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o 16:44:13 [ 93%] Linking C executable template2 16:44:13 [ 93%] Built target template2 16:44:13 Scanning dependencies of target device-randomv2 16:44:13 [ 94%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o 16:44:13 [ 96%] Linking C executable device-randomv2 16:44:13 [ 96%] Built target device-randomv2 16:44:13 Scanning dependencies of target device-counterv2 16:44:13 [ 98%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o 16:44:13 [100%] Linking C executable device-counterv2 16:44:13 using credential edgex-jenkins-ssh 16:44:13 [100%] Built target device-counterv2 16:44:13 make: Entering directory '/tmp/sdk/build/release' 16:44:13 make[1]: Entering directory '/tmp/sdk/build/release' 16:44:13 make[2]: Entering directory '/tmp/sdk/build/release' 16:44:13 Scanning dependencies of target csdk 16:44:13 make[2]: Leaving directory '/tmp/sdk/build/release' 16:44:13 make[2]: Entering directory '/tmp/sdk/build/release' 16:44:13 [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:44:13 Cloning the remote Git repository 16:44:13 Cloning with configured refspecs honoured and without tags 16:44:13 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 16:44:14 > git init /w/workspace/device-sdk-c/2 # timeout=10 16:44:14 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:44:14 > git --version # timeout=10 16:44:14 using GIT_SSH to set credentials SSH Credentials for GitHub 16:44:14 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/245/head:refs/remotes/origin/PR-245 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:44:14 [ 3%] Linking C shared library libcsdk.so 16:44:14 make[2]: Leaving directory '/tmp/sdk/build/release' 16:44:14 [ 69%] Built target csdk 16:44:14 make[2]: Entering directory '/tmp/sdk/build/release' 16:44:14 make[2]: Leaving directory '/tmp/sdk/build/release' 16:44:14 make[2]: Entering directory '/tmp/sdk/build/release' 16:44:14 [ 71%] Linking C executable template 16:44:14 make[2]: Leaving directory '/tmp/sdk/build/release' 16:44:14 [ 72%] Built target template 16:44:14 make[2]: Entering directory '/tmp/sdk/build/release' 16:44:14 make[2]: Leaving directory '/tmp/sdk/build/release' 16:44:14 make[2]: Entering directory '/tmp/sdk/build/release' 16:44:14 [ 74%] Linking C executable device-counter 16:44:14 make[2]: Leaving directory '/tmp/sdk/build/release' 16:44:14 [ 76%] Built target device-counter 16:44:14 make[2]: Entering directory '/tmp/sdk/build/release' 16:44:14 make[2]: Leaving directory '/tmp/sdk/build/release' 16:44:14 make[2]: Entering directory '/tmp/sdk/build/release' 16:44:14 [ 77%] Linking C executable device-random 16:44:15 make[2]: Leaving directory '/tmp/sdk/build/release' 16:44:15 [ 79%] Built target device-random 16:44:15 make[2]: Entering directory '/tmp/sdk/build/release' 16:44:15 make[2]: Leaving directory '/tmp/sdk/build/release' 16:44:15 make[2]: Entering directory '/tmp/sdk/build/release' 16:44:15 [ 81%] Linking C executable device-gyro 16:44:15 make[2]: Leaving directory '/tmp/sdk/build/release' 16:44:15 [ 83%] Built target device-gyro 16:44:15 make[2]: Entering directory '/tmp/sdk/build/release' 16:44:15 make[2]: Leaving directory '/tmp/sdk/build/release' 16:44:15 make[2]: Entering directory '/tmp/sdk/build/release' 16:44:15 [ 84%] Linking C executable template-discovery 16:44:15 make[2]: Leaving directory '/tmp/sdk/build/release' 16:44:15 Fetching without tags 16:44:15 [ 86%] Built target template-discovery 16:44:15 make[2]: Entering directory '/tmp/sdk/build/release' 16:44:15 make[2]: Leaving directory '/tmp/sdk/build/release' 16:44:15 make[2]: Entering directory '/tmp/sdk/build/release' 16:44:15 [ 88%] Linking C executable device-terminal 16:44:15 make[2]: Leaving directory '/tmp/sdk/build/release' 16:44:15 [ 89%] Built target device-terminal 16:44:15 make[2]: Entering directory '/tmp/sdk/build/release' 16:44:15 make[2]: Leaving directory '/tmp/sdk/build/release' 16:44:15 make[2]: Entering directory '/tmp/sdk/build/release' 16:44:15 [ 91%] Linking C executable template2 16:44:15 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:44:15 > git config --add remote.origin.fetch +refs/pull/245/head:refs/remotes/origin/PR-245 # timeout=10 16:44:15 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 16:44:15 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:44:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:44:15 using GIT_SSH to set credentials SSH Credentials for GitHub 16:44:15 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/245/head:refs/remotes/origin/PR-245 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:44:15 make[2]: Leaving directory '/tmp/sdk/build/release' 16:44:15 [ 93%] Built target template2 16:44:15 make[2]: Entering directory '/tmp/sdk/build/release' 16:44:15 make[2]: Leaving directory '/tmp/sdk/build/release' 16:44:15 make[2]: Entering directory '/tmp/sdk/build/release' 16:44:15 [ 94%] Linking C executable device-randomv2 16:44:15 make[2]: Leaving directory '/tmp/sdk/build/release' 16:44:15 [ 96%] Built target device-randomv2 16:44:15 make[2]: Entering directory '/tmp/sdk/build/release' 16:44:15 make[2]: Leaving directory '/tmp/sdk/build/release' 16:44:15 make[2]: Entering directory '/tmp/sdk/build/release' 16:44:15 [ 98%] Linking C executable device-counterv2 16:44:15 Merging remotes/origin/master commit 9d735d1f6129c08be60f72e7e36f35f4ed1f8142 into PR head commit d577524653b908716fe3fd2127e0060690583520 16:44:15 make[2]: Leaving directory '/tmp/sdk/build/release' 16:44:15 [100%] Built target device-counterv2 16:44:15 make[1]: Leaving directory '/tmp/sdk/build/release' 16:44:15 Install the project... 16:44:15 -- Install configuration: "Release" 16:44:15 -- Installing: /usr/local/lib/libcsdk.so 16:44:15 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 16:44:15 -- Up-to-date: /usr/local/include 16:44:15 -- Installing: /usr/local/include/devsdk 16:44:15 -- Installing: /usr/local/include/devsdk/devsdk-base.h 16:44:15 -- Installing: /usr/local/include/devsdk/devsdk.h 16:44:15 -- Installing: /usr/local/include/edgex 16:44:15 -- Installing: /usr/local/include/edgex/device-mgmt.h 16:44:15 -- Installing: /usr/local/include/edgex/devices.h 16:44:15 -- Installing: /usr/local/include/edgex/devsdk.h 16:44:15 -- Installing: /usr/local/include/edgex/edgex-base.h 16:44:15 -- Installing: /usr/local/include/edgex/edgex-logging.h 16:44:15 -- Installing: /usr/local/include/edgex/edgex.h 16:44:15 -- Installing: /usr/local/include/edgex/error.h 16:44:15 -- Installing: /usr/local/include/edgex/eventgen.h 16:44:15 -- Installing: /usr/local/include/edgex/os.h 16:44:15 -- Installing: /usr/local/include/edgex/profiles.h 16:44:15 -- Installing: /usr/local/include/edgex/registry.h 16:44:15 -- Installing: /usr/local/include/edgex/rest-server.h 16:44:15 -- Installing: /usr/local/include/edgex/csdk-defs.h 16:44:15 -- Installing: /usr/local/include/iot 16:44:15 -- Installing: /usr/local/include/iot/base64.h 16:44:15 -- Installing: /usr/local/include/iot/component.h 16:44:15 -- Installing: /usr/local/include/iot/container.h 16:44:15 -- Installing: /usr/local/include/iot/data.h 16:44:15 -- Installing: /usr/local/include/iot/hash.h 16:44:15 -- Installing: /usr/local/include/iot/iot.h 16:44:15 -- Installing: /usr/local/include/iot/json.h 16:44:15 -- Installing: /usr/local/include/iot/logger.h 16:44:15 -- Installing: /usr/local/include/iot/os.h 16:44:15 -- Installing: /usr/local/include/iot/scheduler.h 16:44:15 -- Installing: /usr/local/include/iot/thread.h 16:44:15 -- Installing: /usr/local/include/iot/threadpool.h 16:44:15 -- Installing: /usr/local/include/iot/time.h 16:44:15 -- Installing: /usr/local/include/iot/os 16:44:15 -- Installing: /usr/local/include/iot/os/linux.h 16:44:15 -- Installing: /usr/local/include/iot/os/zephyr.h 16:44:15 -- Installing: /usr/local/share/device-sdk-c/LICENSE 16:44:15 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 16:44:15 make: Leaving directory '/tmp/sdk/build/release' 16:44:16 Merge succeeded, producing d577524653b908716fe3fd2127e0060690583520 16:44:16 Checking out Revision d577524653b908716fe3fd2127e0060690583520 (PR-245) 16:44:16 Removing intermediate container ab342d298bf6 16:44:16 ---> e6552a2fbeed 16:44:16 Step 14/21 : FROM alpine:3.9 16:44:15 > git config core.sparsecheckout # timeout=10 16:44:15 > git checkout -f d577524653b908716fe3fd2127e0060690583520 # timeout=10 16:44:15 > git remote # timeout=10 16:44:16 > git config --get remote.origin.url # timeout=10 16:44:16 using GIT_SSH to set credentials SSH Credentials for GitHub 16:44:16 > git merge 9d735d1f6129c08be60f72e7e36f35f4ed1f8142 # timeout=10 16:44:16 > git rev-parse HEAD^{commit} # timeout=10 16:44:16 > git config core.sparsecheckout # timeout=10 16:44:16 > git checkout -f d577524653b908716fe3fd2127e0060690583520 # timeout=10 16:44:17 3.9: Pulling from library/alpine 16:44:17 9123ac7c32f7: Pulling fs layer 16:44:18 9123ac7c32f7: Verifying Checksum 16:44:18 9123ac7c32f7: Download complete 16:44:18 9123ac7c32f7: Pull complete 16:44:18 Digest: sha256:115731bab0862031b44766733890091c17924f9b7781b79997f5f163be262178 16:44:18 Status: Downloaded newer image for alpine:3.9 16:44:18 ---> 82f67be598eb 16:44:18 Step 15/21 : MAINTAINER IOTech 16:44:18 ---> Running in 56a123ddc758 16:44:18 Removing intermediate container 56a123ddc758 16:44:18 ---> 1fe7312f82de 16:44:18 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 16:44:18 ---> Running in 7ece379cfdcd 16:44:20 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 16:44:20 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 16:44:20 (1/48) Installing binutils (2.31.1-r2) 16:44:20 (2/48) Installing libmagic (5.36-r1) 16:44:20 (3/48) Installing file (5.36-r1) 16:44:20 (4/48) Installing gmp (6.1.2-r1) 16:44:20 (5/48) Installing isl (0.18-r0) 16:44:20 (6/48) Installing libgomp (8.3.0-r0) 16:44:20 (7/48) Installing libatomic (8.3.0-r0) 16:44:20 (8/48) Installing libgcc (8.3.0-r0) 16:44:20 (9/48) Installing mpfr3 (3.1.5-r1) 16:44:20 (10/48) Installing mpc1 (1.0.3-r1) 16:44:20 (11/48) Installing libstdc++ (8.3.0-r0) 16:44:20 (12/48) Installing gcc (8.3.0-r0) 16:44:21 Commit message: "Updated gyro and terminal examples to use v2 api" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 16:44:22 ========================================================= 16:44:22 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 16:44:22 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:44:23 (13/48) Installing musl-dev (1.1.20-r5) 16:44:23 (14/48) Installing libc-dev (0.7.1-r0) 16:44:23 (15/48) Installing g++ (8.3.0-r0) 16:44:23 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-3.9-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 16:44:24 Sending build context to Docker daemon 2.943MB 16:44:24 Step 1/21 : ARG BASE=alpine:3.9 16:44:24 Step 2/21 : FROM ${BASE} as builder 16:44:25 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 16:44:25 0362ad1dd800: Pulling fs layer 16:44:25 f2cdb1532d8b: Pulling fs layer 16:44:25 37ed683be191: Pulling fs layer 16:44:25 f2cdb1532d8b: Verifying Checksum 16:44:25 f2cdb1532d8b: Download complete 16:44:25 (16/48) Installing make (4.2.1-r2) 16:44:25 (17/48) Installing fortify-headers (1.0-r0) 16:44:25 (18/48) Installing build-base (0.5-r1) 16:44:25 (19/48) Installing libattr (2.4.47-r7) 16:44:25 (20/48) Installing libacl (2.2.52-r5) 16:44:25 (21/48) Installing libbz2 (1.0.6-r7) 16:44:25 (22/48) Installing expat (2.2.8-r0) 16:44:25 (23/48) Installing lz4-libs (1.8.3-r2) 16:44:25 (24/48) Installing xz-libs (5.2.4-r0) 16:44:25 (25/48) Installing libarchive (3.3.3-r2) 16:44:25 (26/48) Installing ca-certificates (20190108-r0) 16:44:25 0362ad1dd800: Download complete 16:44:25 (27/48) Installing nghttp2-libs (1.35.1-r1) 16:44:25 (28/48) Installing libssh2 (1.9.0-r1) 16:44:25 (29/48) Installing libcurl (7.64.0-r3) 16:44:25 (30/48) Installing ncurses-terminfo-base (6.1_p20190105-r0) 16:44:25 (31/48) Installing ncurses-terminfo (6.1_p20190105-r0) 16:44:26 0362ad1dd800: Pull complete 16:44:26 (32/48) Installing ncurses-libs (6.1_p20190105-r0) 16:44:26 (33/48) Installing rhash-libs (1.3.6-r2) 16:44:26 (34/48) Installing libuv (1.23.2-r0) 16:44:26 (35/48) Installing cmake (3.13.0-r0) 16:44:26 f2cdb1532d8b: Pull complete 16:44:27 (36/48) Installing curl (7.64.0-r3) 16:44:27 (37/48) Installing pcre2 (10.32-r1) 16:44:27 (38/48) Installing git (2.20.2-r0) 16:44:27 (39/48) Installing nettle (3.4.1-r0) 16:44:27 (40/48) Installing libffi (3.2.1-r6) 16:44:27 (41/48) Installing p11-kit (0.23.14-r0) 16:44:27 (42/48) Installing libtasn1 (4.14-r0) 16:44:27 (43/48) Installing libunistring (0.9.10-r0) 16:44:27 (44/48) Installing gnutls (3.6.7-r0) 16:44:27 (45/48) Installing libmicrohttpd (0.9.62-r0) 16:44:27 (46/48) Installing libuuid (2.33-r0) 16:44:27 (47/48) Installing wget (1.20.3-r0) 16:44:27 (48/48) Installing yaml (0.2.1-r0) 16:44:27 Executing busybox-1.29.3-r10.trigger 16:44:27 Executing ca-certificates-20190108-r0.trigger 16:44:28 OK: 222 MiB in 62 packages 16:44:33 37ed683be191: Verifying Checksum 16:44:33 37ed683be191: Download complete 16:44:34 Removing intermediate container 7ece379cfdcd 16:44:34 ---> 468e23056668 16:44:34 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 16:44:34 ---> b322282f9ba4 16:44:34 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 16:44:34 ---> 44b0d287064a 16:44:34 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 16:44:35 ---> 99003e5adbb9 16:44:35 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 16:44:35 ---> fffbe008d920 16:44:35 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 16:44:35 ---> f5b766396e69 16:44:35 Successfully built f5b766396e69 16:44:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:44:36 + docker inspect -f . ci-base-image-x86_64 16:44:36 . [Pipeline] withDockerContainer 16:44:36 prd-centos7-docker-4c-2g-1398 does not seem to be running inside a container 16:44:37 $ 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 ******** ci-base-image-x86_64 cat 16:44:37 $ docker top f994b111bd87294ce55d09d8c158f680088536f9e51265928aad4b038b43b4b2 -eo pid,comm [Pipeline] { [Pipeline] sh 16:44:39 + make test 16:44:39 echo "make test" 16:44:39 make test [Pipeline] } 16:44:39 $ docker stop --time=1 f994b111bd87294ce55d09d8c158f680088536f9e51265928aad4b038b43b4b2 16:44:41 $ docker rm -f f994b111bd87294ce55d09d8c158f680088536f9e51265928aad4b038b43b4b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:44:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:44:43 + ls -al . 16:44:43 total 160 16:44:43 drwxrwxr-x. 8 jenkins jenkins 260 Mar 30 16:43 . 16:44:43 drwxrwxr-x. 4 jenkins jenkins 28 Mar 30 16:43 .. 16:44:43 -rw-rw-r--. 1 jenkins jenkins 3104 Mar 30 16:43 Attribution.txt 16:44:43 -rw-rw-r--. 1 jenkins jenkins 4941 Mar 30 16:43 CHANGES 16:44:43 drwxrwxr-x. 2 jenkins jenkins 144 Mar 30 16:43 docs 16:44:43 -rw-rw-r--. 1 jenkins jenkins 108574 Mar 30 16:43 Doxyfile 16:44:43 drwxrwxr-x. 8 jenkins jenkins 179 Mar 30 16:43 .git 16:44:43 -rw-rw-r--. 1 jenkins jenkins 176 Mar 30 16:43 .gitignore 16:44:43 drwxrwxr-x. 4 jenkins jenkins 33 Mar 30 16:43 include 16:44:43 -rw-rw-r--. 1 jenkins jenkins 792 Mar 30 16:43 Jenkinsfile 16:44:43 -rw-rw-r--. 1 jenkins jenkins 10174 Mar 30 16:43 LICENSE 16:44:43 -rw-rw-r--. 1 jenkins jenkins 448 Mar 30 16:43 Makefile 16:44:43 -rw-rw-r--. 1 jenkins jenkins 1849 Mar 30 16:43 README.md 16:44:43 -rw-rw-r--. 1 jenkins jenkins 5031 Mar 30 16:43 README.v2.md 16:44:43 drwxrwxr-x. 2 jenkins jenkins 106 Mar 30 16:43 scripts 16:44:43 drwxrwxr-x. 3 jenkins jenkins 58 Mar 30 16:43 .semver 16:44:43 drwxrwxr-x. 4 jenkins jenkins 50 Mar 30 16:43 src 16:44:43 -rw-rw-r--. 1 jenkins jenkins 5 Mar 30 16:40 VERSION [Pipeline] isUnix [Pipeline] sh 16:44:43 37ed683be191: Pull complete 16:44:43 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 16:44:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 16:44:43 ---> b23d30803547 16:44:43 Step 3/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev 16:44:43 + docker build -t docker-device-sdk-c -f scripts/Dockerfile.alpine-3.9 --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=d577524653b908716fe3fd2127e0060690583520 --label arch=amd64 --label version=0.0.0 . 16:44:43 Sending build context to Docker daemon 2.943MB 16:44:43 Step 1/15 : ARG BASE=alpine:3.9 16:44:43 Step 2/15 : FROM ${BASE} 16:44:43 ---> f5b766396e69 16:44:43 Step 3/15 : MAINTAINER IOTech 16:44:43 ---> Running in 06fb9c5f693d 16:44:43 Removing intermediate container 06fb9c5f693d 16:44:43 ---> 9c532f67bdba 16:44:43 Step 4/15 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev && mkdir -p /edgex-c-sdk/build 16:44:43 ---> Running in 2094debb699d 16:44:44 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 16:44:44 ---> Running in 1585249e3523 16:44:44 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 16:44:44 (1/21) Installing pkgconf (1.6.0-r0) 16:44:44 (2/21) Installing openssl-dev (1.1.1d-r2) 16:44:45 (3/21) Installing zlib-dev (1.2.11-r1) 16:44:45 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 16:44:45 (4/21) Installing libssh2-dev (1.9.0-r1) 16:44:46 (5/21) Installing nghttp2-dev (1.35.1-r1) 16:44:46 (6/21) Installing curl-dev (7.64.0-r3) 16:44:46 (7/21) Installing gnutls-c++ (3.6.7-r0) 16:44:46 (8/21) Installing libgmpxx (6.1.2-r1) 16:44:46 (9/21) Installing gmp-dev (6.1.2-r1) 16:44:46 (10/21) Installing nettle-dev (3.4.1-r0) 16:44:46 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 16:44:46 (11/21) Installing libtasn1-dev (4.14-r0) 16:44:46 (12/21) Installing p11-kit-dev (0.23.14-r0) 16:44:46 (13/21) Installing gnutls-dev (3.6.7-r0) 16:44:46 (14/21) Installing libmicrohttpd-dev (0.9.62-r0) 16:44:46 (15/21) Installing ncurses-dev (6.1_p20190105-r0) 16:44:46 (16/21) Installing libblkid (2.33-r0) 16:44:46 (17/21) Installing libfdisk (2.33-r0) 16:44:46 (18/21) Installing libmount (2.33-r0) 16:44:46 (19/21) Installing libsmartcols (2.33-r0) 16:44:46 (20/21) Installing util-linux-dev (2.33-r0) 16:44:46 (21/21) Installing yaml-dev (0.2.1-r0) 16:44:46 Executing busybox-1.29.3-r10.trigger 16:44:46 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 16:44:46 (2/8) Installing libuuid (2.33-r0) 16:44:46 (3/8) Installing libblkid (2.33-r0) 16:44:46 OK: 265 MiB in 83 packages 16:44:47 (4/8) Installing libfdisk (2.33-r0) 16:44:47 (5/8) Installing libmount (2.33-r0) 16:44:47 (6/8) Installing libsmartcols (2.33-r0) 16:44:47 (7/8) Installing util-linux-dev (2.33-r0) 16:44:48 (8/8) Installing wget (1.20.3-r0) 16:44:48 Executing busybox-1.29.3-r10.trigger 16:44:48 OK: 285 MiB in 83 packages 16:44:48 Removing intermediate container 2094debb699d 16:44:48 ---> 28217c027dbc 16:44:48 Step 5/15 : COPY VERSION /edgex-c-sdk/ 16:44:48 ---> c5958f3070ae 16:44:48 Step 6/15 : COPY src /edgex-c-sdk/src/ 16:44:49 ---> 98cc1e147cdc 16:44:49 Step 7/15 : COPY include /edgex-c-sdk/include/ 16:44:49 ---> e2b66c98c57b 16:44:49 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 16:44:49 ---> de3c287a03af 16:44:49 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 16:44:49 Removing intermediate container 1585249e3523 16:44:49 ---> ad3677abc582 16:44:49 Step 4/21 : ENV CBOR_VERSION=0.5.0 16:44:49 ---> Running in d2748b121731 16:44:49 ---> 63a6ca187caa 16:44:49 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 16:44:49 ---> 903dd393223b 16:44:49 Step 11/15 : WORKDIR /edgex-c-sdk 16:44:49 Removing intermediate container d2748b121731 16:44:49 ---> d38a28830afc 16:44:49 Step 5/21 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 16:44:49 ---> Running in f43096cf2297 16:44:49 ---> Running in fa81acb32115 16:44:49 Removing intermediate container fa81acb32115 16:44:49 ---> b8dafc8a633b 16:44:49 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 16:44:49 ---> Running in 95750f9bf6ac 16:44:50 Removing intermediate container 95750f9bf6ac 16:44:50 ---> bc8d80e22f44 16:44:50 Step 13/15 : LABEL arch=amd64 16:44:50 ---> Running in ae0daa05f2ea 16:44:50 Removing intermediate container ae0daa05f2ea 16:44:50 ---> ada8d26563a5 16:44:50 Step 14/15 : LABEL git_sha=d577524653b908716fe3fd2127e0060690583520 16:44:50 --2020-03-30 16:44:50-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 16:44:50 Resolving github.com... 140.82.112.4 16:44:50 Connecting to github.com|140.82.112.4|:443... connected. 16:44:50 HTTP request sent, awaiting response... 302 Found 16:44:50 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 16:44:50 --2020-03-30 16:44:50-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 16:44:50 Resolving codeload.github.com... 140.82.114.10 16:44:50 Connecting to codeload.github.com|140.82.114.10|:443... connected. 16:44:51 HTTP request sent, awaiting response... 200 OK 16:44:51 Length: unspecified [application/x-gzip] 16:44:51 Saving to: 'STDOUT' 16:44:51  16:44:51 0K .......... .......... .......... .......... .......... 1.54M 16:44:51 50K .......... .......... .......... .......... .......... 3.58M 16:44:51 100K .......... .......... .......... .......... .......... 10.5M 16:44:51 150K .......... .......... .......... .......... .......... 13.0M 16:44:51 200K .......... .......... .......... .......... .......... 3.75M 16:44:51 250K .......... .......... .......... .......... .......... 5.37M 16:44:51 300K .......... .......... .......... .......... .......... 3.75M 16:44:51 350K .......... .......... .......... .......... .......... 4.08M 16:44:51 400K .......... .......... .......... .......... .......... 3.12M 16:44:51 450K .......... .......... .......... .......... .......... 4.30M 16:44:51 500K .......... .......... .......... .......... .......... 4.48M 16:44:51 550K .......... .......... .......... .......... .......... 3.94M 16:44:51 600K .......... .......... .......... .......... .......... 758K 16:44:51 650K .......... .......... .......... .......... .......... 2.24M 16:44:51 700K ..   9.15M=0.2s 16:44:51 16:44:51 2020-03-30 16:44:51 (2.87 MB/s) - written to stdout [719348] 16:44:51 16:44:51 ---> Running in a97bb98adfae 16:44:51 Removing intermediate container a97bb98adfae 16:44:51 ---> 1782823b751a 16:44:51 Step 15/15 : LABEL version=0.0.0 16:44:51 ---> Running in c01555161734 16:44:51 -- The C compiler identification is GNU 8.3.0 16:44:51 Removing intermediate container c01555161734 16:44:51 ---> 57e22d609233 16:44:51 [Warning] One or more build-args [MAKE ARCH] were not consumed 16:44:51 Successfully built 57e22d609233 16:44:51 Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage 16:44:51 -- The CXX compiler identification is GNU 8.3.0 16:44:51 -- Check for working C compiler: /usr/bin/cc [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } 16:44:52 -- Check for working C compiler: /usr/bin/cc -- works 16:44:52 -- Detecting C compiler ABI info [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage 16:44:52 -- Detecting C compiler ABI info - done 16:44:52 -- Detecting C compile features [Pipeline] } 16:44:52 -- Detecting C compile features - done 16:44:52 -- Check for working CXX compiler: /usr/bin/c++ 16:44:53 -- Check for working CXX compiler: /usr/bin/c++ -- works 16:44:53 -- Detecting CXX compiler ABI info 16:44:53 -- Detecting CXX compiler ABI info - done 16:44:53 -- Detecting CXX compile features 16:44:55 -- Detecting CXX compile features - done 16:44:55 -- Looking for include file endian.h 16:44:55 -- Looking for include file endian.h - found 16:44:55 -- Check if the system is big endian 16:44:55 -- Searching 16 bit integer 16:44:55 -- Looking for sys/types.h 16:44:55 -- Looking for sys/types.h - found 16:44:55 -- Looking for stdint.h 16:44:56 -- Looking for stdint.h - found 16:44:56 -- Looking for stddef.h 16:44:56 -- Looking for stddef.h - found 16:44:56 -- Check size of unsigned short 16:44:56 -- Check size of unsigned short - done 16:44:56 -- Using unsigned short 16:44:56 -- Check if the system is big endian - little endian 16:44:56 -- Check size of size_t 16:44:56 -- Check size of size_t - done 16:44:56 CMake Warning at examples/CMakeLists.txt:16 (find_package): 16:44:56 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 16:44:56 asked CMake to find a package configuration file provided by "cJSON", but 16:44:56 CMake did not find one. 16:44:56 16:44:56 Could not find a package configuration file provided by "cJSON" with any of 16:44:56 the following names: 16:44:56 16:44:56 cJSONConfig.cmake 16:44:56 cjson-config.cmake 16:44:56 16:44:56 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 16:44:56 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 16:44:56 provides a separate development package or SDK, be sure it has been 16:44:56 installed. 16:44:56 16:44:56 16:44:57 -- Configuring done 16:44:57 -- Generating done 16:44:57 -- Build files have been written to: /tmp/cbor 16:44:57 Scanning dependencies of target cbor_shared 16:44:57 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 16:44:57 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 16:44:58 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 16:44:58 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 16:44:59 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 16:44:59 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 16:44:59 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 16:44:59 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 16:45:00 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 16:45:00 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 16:45:01 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 16:45:01 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 16:45:01 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 16:45:01 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 16:45:02 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 16:45:02 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 16:45:02 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 16:45:02 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 16:45:03 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 16:45:03 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 16:45:03 [ 40%] Linking C shared library libcbor.so 16:45:03 [ 40%] Built target cbor_shared 16:45:03 Scanning dependencies of target cbor 16:45:03 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 16:45:04 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 16:45:05 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 16:45:05 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 16:45:06 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 16:45:06 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 16:45:06 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 16:45:06 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 16:45:07 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 16:45:07 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 16:45:08 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 16:45:08 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 16:45:09 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 16:45:09 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 16:45:09 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 16:45:09 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 16:45:10 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 16:45:10 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 16:45:10 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 16:45:11 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 16:45:11 [ 80%] Linking C static library libcbor.a 16:45:11 [ 80%] Built target cbor 16:45:11 Scanning dependencies of target create_items 16:45:11 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 16:45:11 [ 84%] Linking C executable create_items 16:45:11 [ 84%] Built target create_items 16:45:11 Scanning dependencies of target readfile 16:45:11 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 16:45:11 [ 88%] Linking C executable readfile 16:45:11 [ 88%] Built target readfile 16:45:11 Scanning dependencies of target streaming_parser 16:45:11 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 16:45:12 [ 92%] Linking C executable streaming_parser 16:45:12 [ 92%] Built target streaming_parser 16:45:12 Scanning dependencies of target sort 16:45:12 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 16:45:12 [ 96%] Linking C executable sort 16:45:12 [ 96%] Built target sort 16:45:12 Scanning dependencies of target hello 16:45:12 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 16:45:12 [100%] Linking C executable hello 16:45:12 [100%] Built target hello 16:45:12 Install the project... 16:45:12 -- Install configuration: "Release" 16:45:12 -- Installing: /usr/local/include/cbor/configuration.h 16:45:12 -- Installing: /usr/local/lib64/libcbor.a 16:45:12 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 16:45:12 -- Installing: /usr/local/lib64/libcbor.so.0 16:45:12 -- Installing: /usr/local/lib64/libcbor.so 16:45:12 -- Up-to-date: /usr/local/include/cbor 16:45:12 -- Installing: /usr/local/include/cbor/common.h 16:45:12 -- Installing: /usr/local/include/cbor/serialization.h 16:45:12 -- Installing: /usr/local/include/cbor/encoding.h 16:45:12 -- Installing: /usr/local/include/cbor/maps.h 16:45:12 -- Installing: /usr/local/include/cbor/strings.h 16:45:12 -- Installing: /usr/local/include/cbor/arrays.h 16:45:12 -- Installing: /usr/local/include/cbor/internal 16:45:12 -- Installing: /usr/local/include/cbor/internal/loaders.h 16:45:12 -- Installing: /usr/local/include/cbor/internal/stack.h 16:45:12 -- Installing: /usr/local/include/cbor/internal/unicode.h 16:45:12 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 16:45:12 -- Installing: /usr/local/include/cbor/internal/encoders.h 16:45:12 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 16:45:12 -- Installing: /usr/local/include/cbor/data.h 16:45:12 -- Installing: /usr/local/include/cbor/floats_ctrls.h 16:45:12 -- Installing: /usr/local/include/cbor/bytestrings.h 16:45:12 -- Installing: /usr/local/include/cbor/tags.h 16:45:12 -- Installing: /usr/local/include/cbor/streaming.h 16:45:12 -- Installing: /usr/local/include/cbor/ints.h 16:45:12 -- Installing: /usr/local/include/cbor/callbacks.h 16:45:12 -- Installing: /usr/local/include/cbor.h 16:45:12 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 16:45:15 Removing intermediate container f43096cf2297 16:45:15 ---> f221f8e01659 16:45:15 Step 6/21 : RUN mkdir /tmp/sdk 16:45:15 ---> Running in 76a08812cc0f 16:45:16 Removing intermediate container 76a08812cc0f 16:45:16 ---> 6fe54aaf8eff 16:45:16 Step 7/21 : COPY VERSION /tmp/sdk 16:45:17 ---> eb5585594838 16:45:17 Step 8/21 : COPY src /tmp/sdk/src 16:45:17 ---> ef6633843921 16:45:17 Step 9/21 : COPY include /tmp/sdk/include 16:45:18 ---> d350a3b04532 16:45:18 Step 10/21 : COPY scripts /tmp/sdk/scripts 16:45:18 ---> fbb5877025df 16:45:18 Step 11/21 : COPY LICENSE /tmp/sdk 16:45:19 ---> 54d6fd4294d4 16:45:19 Step 12/21 : COPY Attribution.txt /tmp/sdk 16:45:19 ---> 19ce307013ca 16:45:19 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 16:45:20 ---> Running in 287cd36dc800 16:45:21 + CPPCHECK=false 16:45:21 + DOCGEN=false 16:45:21 + TOMLVER=SDK-0.2 16:45:21 + CUTILVER=1.0.0 16:45:21 + '[' 0 -gt 0 ] 16:45:21 + readlink -f ./scripts/build.sh 16:45:21 + dirname /tmp/sdk/scripts/build.sh 16:45:21 + dirname /tmp/sdk/scripts 16:45:21 + ROOT=/tmp/sdk 16:45:21 + cd /tmp/sdk 16:45:21 + '[' '!' -d deps ] 16:45:21 + mkdir deps 16:45:21 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:45:21 + tar -C deps -z -x -f - 16:45:21 --2020-03-30 16:45:20-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:45:21 Resolving github.com... 140.82.112.4 16:45:21 Connecting to github.com|140.82.112.4|:443... connected. 16:45:21 HTTP request sent, awaiting response... 302 Found 16:45:21 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 16:45:21 --2020-03-30 16:45:20-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 16:45:21 Resolving codeload.github.com... 140.82.114.10 16:45:21 Connecting to codeload.github.com|140.82.114.10|:443... connected. 16:45:21 HTTP request sent, awaiting response... 200 OK 16:45:21 Length: unspecified [application/x-gzip] 16:45:21 Saving to: 'STDOUT' 16:45:21  16:45:21 0K .......... ...... 1.00M=0.02s 16:45:21 16:45:21 2020-03-30 16:45:21 (1.00 MB/s) - written to stdout [16451] 16:45:21 16:45:21 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 16:45:21 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.0.tar.gz 16:45:21 + tar -C deps -z -x -f - 16:45:21 --2020-03-30 16:45:21-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.0.tar.gz 16:45:21 Resolving github.com... 140.82.112.3 16:45:21 Connecting to github.com|140.82.112.3|:443... connected. 16:45:21 HTTP request sent, awaiting response... 302 Found 16:45:21 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.0 [following] 16:45:21 --2020-03-30 16:45:21-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.0 16:45:21 Resolving codeload.github.com... 140.82.114.10 16:45:21 Connecting to codeload.github.com|140.82.114.10|:443... connected. 16:45:21 HTTP request sent, awaiting response... 200 OK 16:45:21 Length: unspecified [application/x-gzip] 16:45:21 Saving to: 'STDOUT' 16:45:21  16:45:21 0K .......... .......... .......... .......... .......... 1.34M 16:45:21 50K .......... .......... .......... .......... .......... 2.34M 16:45:21 100K .......... .......... .......... .......... ........ 14.1M=0.06s 16:45:21 16:45:21 2020-03-30 16:45:21 (2.38 MB/s) - written to stdout [151809] 16:45:21 16:45:21 + mkdir -p src/c/iot 16:45:21 + cp deps/iotech-c-utils-1.0.0/src/c/base64.c deps/iotech-c-utils-1.0.0/src/c/component.c deps/iotech-c-utils-1.0.0/src/c/container.c deps/iotech-c-utils-1.0.0/src/c/data.c deps/iotech-c-utils-1.0.0/src/c/hash.c deps/iotech-c-utils-1.0.0/src/c/iot.c deps/iotech-c-utils-1.0.0/src/c/json.c deps/iotech-c-utils-1.0.0/src/c/logger.c deps/iotech-c-utils-1.0.0/src/c/os.c deps/iotech-c-utils-1.0.0/src/c/scheduler.c deps/iotech-c-utils-1.0.0/src/c/thread.c deps/iotech-c-utils-1.0.0/src/c/threadpool.c deps/iotech-c-utils-1.0.0/src/c/time.c src/c/iot 16:45:21 + mkdir -p include/iot 16:45:21 + cp deps/iotech-c-utils-1.0.0/include/iot/base64.h deps/iotech-c-utils-1.0.0/include/iot/component.h deps/iotech-c-utils-1.0.0/include/iot/container.h deps/iotech-c-utils-1.0.0/include/iot/data.h deps/iotech-c-utils-1.0.0/include/iot/hash.h deps/iotech-c-utils-1.0.0/include/iot/iot.h deps/iotech-c-utils-1.0.0/include/iot/json.h deps/iotech-c-utils-1.0.0/include/iot/logger.h deps/iotech-c-utils-1.0.0/include/iot/os.h deps/iotech-c-utils-1.0.0/include/iot/scheduler.h deps/iotech-c-utils-1.0.0/include/iot/thread.h deps/iotech-c-utils-1.0.0/include/iot/threadpool.h deps/iotech-c-utils-1.0.0/include/iot/time.h include/iot 16:45:21 + mkdir -p include/iot/os 16:45:21 + cp deps/iotech-c-utils-1.0.0/include/iot/os/linux.h deps/iotech-c-utils-1.0.0/include/iot/os/zephyr.h include/iot/os 16:45:21 + mkdir -p /tmp/sdk/build/release 16:45:21 + cd /tmp/sdk/build/release 16:45:21 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 16:45:22 -- The C compiler identification is GNU 8.3.0 16:45:22 -- Check for working C compiler: /usr/bin/cc 16:45:22 -- Check for working C compiler: /usr/bin/cc -- works 16:45:22 -- Detecting C compiler ABI info 16:45:22 -- Detecting C compiler ABI info - done 16:45:22 -- Detecting C compile features 16:45:23 -- Detecting C compile features - done 16:45:23 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:45:23 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 16:45:23 -- Found LIBYAML: /usr/lib/libyaml.so 16:45:23 -- Found LIBUUID: /usr/lib/libuuid.so 16:45:23 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:45:23 -- C SDK 0.0.0 for Linux 16:45:23 -- Performing Test CSDK_HAVE_ATOMIC 16:45:23 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:45:23 -- Found Curses: /usr/lib/libcurses.so 16:45:23 -- Configuring done 16:45:24 -- Generating done 16:45:24 -- Build files have been written to: /tmp/sdk/build/release 16:45:24 + make 16:45:24 + tee release.log 16:45:24 Scanning dependencies of target csdk 16:45:24 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:45:24 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 16:45:25 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:45:27 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:45:27 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:45:27 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:45:28 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:45:29 [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:45:29 [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:45:30 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:45:31 [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:45:31 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:45:31 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:45:31 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:45:35 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:45:35 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:45:35 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:45:36 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:45:38 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:45:38 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:45:38 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:45:39 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:45:39 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:45:39 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:45:40 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:45:41 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:45:41 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:45:41 [ 47%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:45:42 [ 49%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:45:43 [ 50%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:45:43 [ 52%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:45:47 [ 54%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:45:48 [ 55%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:45:48 [ 57%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:45:49 [ 59%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:45:50 [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:45:51 [ 62%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:45:55 [ 64%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:45:55 [ 66%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 16:45:56 [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:45:57 [ 69%] Linking C shared library libcsdk.so 16:45:57 [ 69%] Built target csdk 16:45:57 Scanning dependencies of target template 16:45:57 [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:45:57 [ 72%] Linking C executable template 16:45:57 [ 72%] Built target template 16:45:57 Scanning dependencies of target device-counter 16:45:57 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:45:58 [ 76%] Linking C executable device-counter 16:45:58 [ 76%] Built target device-counter 16:45:58 Scanning dependencies of target device-random 16:45:58 [ 77%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:45:58 [ 79%] Linking C executable device-random 16:45:59 [ 79%] Built target device-random 16:45:59 Scanning dependencies of target device-gyro 16:45:59 [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:45:59 [ 83%] Linking C executable device-gyro 16:45:59 [ 83%] Built target device-gyro 16:45:59 Scanning dependencies of target template-discovery 16:46:00 [ 84%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:46:00 [ 86%] Linking C executable template-discovery 16:46:00 [ 86%] Built target template-discovery 16:46:00 Scanning dependencies of target device-terminal 16:46:00 [ 88%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:46:01 [ 89%] Linking C executable device-terminal 16:46:01 [ 89%] Built target device-terminal 16:46:01 Scanning dependencies of target template2 16:46:01 [ 91%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o 16:46:02 [ 93%] Linking C executable template2 16:46:02 [ 93%] Built target template2 16:46:02 Scanning dependencies of target device-randomv2 16:46:02 [ 94%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o 16:46:02 [ 96%] Linking C executable device-randomv2 16:46:02 [ 96%] Built target device-randomv2 16:46:02 Scanning dependencies of target device-counterv2 16:46:02 [ 98%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o 16:46:03 [100%] Linking C executable device-counterv2 16:46:03 [100%] Built target device-counterv2 16:46:03 + + tee -amake release.log 16:46:03 package 16:46:03 [ 69%] Built target csdk 16:46:03 [ 72%] Built target template 16:46:03 [ 76%] Built target device-counter 16:46:04 [ 79%] Built target device-random 16:46:04 [ 83%] Built target device-gyro 16:46:04 [ 86%] Built target template-discovery 16:46:04 [ 89%] Built target device-terminal 16:46:04 [ 93%] Built target template2 16:46:04 [ 96%] Built target device-randomv2 16:46:04 [100%] Built target device-counterv2 16:46:04 Run CPack packaging tool... 16:46:04 CPack: Create package using TGZ 16:46:04 CPack: Install projects 16:46:04 CPack: - Run preinstall target for: Csdk 16:46:04 CPack: - Install project: Csdk 16:46:04 CPack: Create package 16:46:04 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 16:46:04 + '[' false '=' true ] 16:46:04 + '[' false '=' true ] 16:46:04 + mkdir -p /tmp/sdk/build/debug 16:46:04 + cd /tmp/sdk/build/debug 16:46:04 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 16:46:05 -- The C compiler identification is GNU 8.3.0 16:46:05 -- Check for working C compiler: /usr/bin/cc 16:46:05 -- Check for working C compiler: /usr/bin/cc -- works 16:46:05 -- Detecting C compiler ABI info 16:46:05 -- Detecting C compiler ABI info - done 16:46:05 -- Detecting C compile features 16:46:06 -- Detecting C compile features - done 16:46:06 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:46:06 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 16:46:06 -- Found LIBYAML: /usr/lib/libyaml.so 16:46:06 -- Found LIBUUID: /usr/lib/libuuid.so 16:46:06 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:46:06 -- C SDK 0.0.0 for Linux 16:46:06 -- Performing Test CSDK_HAVE_ATOMIC 16:46:06 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:46:06 -- Found Curses: /usr/lib/libcurses.so 16:46:06 -- Configuring done 16:46:07 -- Generating done 16:46:07 -- Build files have been written to: /tmp/sdk/build/debug 16:46:07 + + teemake debug.log 16:46:07 16:46:07 Scanning dependencies of target csdk 16:46:07 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:46:07 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 16:46:07 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:46:08 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:46:08 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:46:08 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:46:09 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:46:09 [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:46:09 [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:46:10 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:46:10 [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:46:10 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:46:11 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:46:11 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:46:12 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:46:12 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:46:12 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:46:12 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:46:13 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:46:13 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:46:13 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:46:14 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:46:14 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:46:14 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:46:14 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:46:14 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:46:15 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:46:15 [ 47%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:46:15 [ 49%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:46:15 [ 50%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:46:15 [ 52%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:46:16 [ 54%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:46:17 [ 55%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:46:17 [ 57%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:46:17 [ 59%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:46:18 [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:46:19 [ 62%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:46:19 [ 64%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:46:20 [ 66%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 16:46:20 [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:46:20 [ 69%] Linking C shared library libcsdk.so 16:46:20 [ 69%] Built target csdk 16:46:20 Scanning dependencies of target template 16:46:20 [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:46:21 [ 72%] Linking C executable template 16:46:21 [ 72%] Built target template 16:46:21 Scanning dependencies of target device-counter 16:46:21 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:46:21 [ 76%] Linking C executable device-counter 16:46:21 [ 76%] Built target device-counter 16:46:21 Scanning dependencies of target device-random 16:46:21 [ 77%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:46:22 [ 79%] Linking C executable device-random 16:46:22 [ 79%] Built target device-random 16:46:22 Scanning dependencies of target device-gyro 16:46:22 [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:46:22 [ 83%] Linking C executable device-gyro 16:46:22 [ 83%] Built target device-gyro 16:46:22 Scanning dependencies of target template-discovery 16:46:22 [ 84%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:46:23 [ 86%] Linking C executable template-discovery 16:46:23 [ 86%] Built target template-discovery 16:46:23 Scanning dependencies of target device-terminal 16:46:23 [ 88%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:46:23 [ 89%] Linking C executable device-terminal 16:46:23 [ 89%] Built target device-terminal 16:46:23 Scanning dependencies of target template2 16:46:23 [ 91%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o 16:46:24 [ 93%] Linking C executable template2 16:46:24 [ 93%] Built target template2 16:46:24 Scanning dependencies of target device-randomv2 16:46:24 [ 94%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o 16:46:24 [ 96%] Linking C executable device-randomv2 16:46:24 [ 96%] Built target device-randomv2 16:46:24 Scanning dependencies of target device-counterv2 16:46:24 [ 98%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o 16:46:25 [100%] Linking C executable device-counterv2 16:46:25 [100%] Built target device-counterv2 16:46:25 make: Entering directory '/tmp/sdk/build/release' 16:46:25 make[1]: Entering directory '/tmp/sdk/build/release' 16:46:25 make[2]: Entering directory '/tmp/sdk/build/release' 16:46:25 Scanning dependencies of target csdk 16:46:25 make[2]: Leaving directory '/tmp/sdk/build/release' 16:46:25 make[2]: Entering directory '/tmp/sdk/build/release' 16:46:25 [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:46:26 [ 3%] Linking C shared library libcsdk.so 16:46:27 make[2]: Leaving directory '/tmp/sdk/build/release' 16:46:27 [ 69%] Built target csdk 16:46:27 make[2]: Entering directory '/tmp/sdk/build/release' 16:46:27 make[2]: Leaving directory '/tmp/sdk/build/release' 16:46:27 make[2]: Entering directory '/tmp/sdk/build/release' 16:46:27 [ 71%] Linking C executable template 16:46:27 make[2]: Leaving directory '/tmp/sdk/build/release' 16:46:27 [ 72%] Built target template 16:46:27 make[2]: Entering directory '/tmp/sdk/build/release' 16:46:27 make[2]: Leaving directory '/tmp/sdk/build/release' 16:46:27 make[2]: Entering directory '/tmp/sdk/build/release' 16:46:27 [ 74%] Linking C executable device-counter 16:46:27 make[2]: Leaving directory '/tmp/sdk/build/release' 16:46:27 [ 76%] Built target device-counter 16:46:27 make[2]: Entering directory '/tmp/sdk/build/release' 16:46:27 make[2]: Leaving directory '/tmp/sdk/build/release' 16:46:27 make[2]: Entering directory '/tmp/sdk/build/release' 16:46:27 [ 77%] Linking C executable device-random 16:46:27 make[2]: Leaving directory '/tmp/sdk/build/release' 16:46:27 [ 79%] Built target device-random 16:46:27 make[2]: Entering directory '/tmp/sdk/build/release' 16:46:27 make[2]: Leaving directory '/tmp/sdk/build/release' 16:46:27 make[2]: Entering directory '/tmp/sdk/build/release' 16:46:27 [ 81%] Linking C executable device-gyro 16:46:28 make[2]: Leaving directory '/tmp/sdk/build/release' 16:46:28 [ 83%] Built target device-gyro 16:46:28 make[2]: Entering directory '/tmp/sdk/build/release' 16:46:28 make[2]: Leaving directory '/tmp/sdk/build/release' 16:46:28 make[2]: Entering directory '/tmp/sdk/build/release' 16:46:28 [ 84%] Linking C executable template-discovery 16:46:28 make[2]: Leaving directory '/tmp/sdk/build/release' 16:46:28 [ 86%] Built target template-discovery 16:46:28 make[2]: Entering directory '/tmp/sdk/build/release' 16:46:28 make[2]: Leaving directory '/tmp/sdk/build/release' 16:46:28 make[2]: Entering directory '/tmp/sdk/build/release' 16:46:28 [ 88%] Linking C executable device-terminal 16:46:28 make[2]: Leaving directory '/tmp/sdk/build/release' 16:46:28 [ 89%] Built target device-terminal 16:46:28 make[2]: Entering directory '/tmp/sdk/build/release' 16:46:28 make[2]: Leaving directory '/tmp/sdk/build/release' 16:46:28 make[2]: Entering directory '/tmp/sdk/build/release' 16:46:28 [ 91%] Linking C executable template2 16:46:28 make[2]: Leaving directory '/tmp/sdk/build/release' 16:46:28 [ 93%] Built target template2 16:46:28 make[2]: Entering directory '/tmp/sdk/build/release' 16:46:28 make[2]: Leaving directory '/tmp/sdk/build/release' 16:46:28 make[2]: Entering directory '/tmp/sdk/build/release' 16:46:28 [ 94%] Linking C executable device-randomv2 16:46:29 make[2]: Leaving directory '/tmp/sdk/build/release' 16:46:29 [ 96%] Built target device-randomv2 16:46:29 make[2]: Entering directory '/tmp/sdk/build/release' 16:46:29 make[2]: Leaving directory '/tmp/sdk/build/release' 16:46:29 make[2]: Entering directory '/tmp/sdk/build/release' 16:46:29 [ 98%] Linking C executable device-counterv2 16:46:29 make[2]: Leaving directory '/tmp/sdk/build/release' 16:46:29 [100%] Built target device-counterv2 16:46:29 make[1]: Leaving directory '/tmp/sdk/build/release' 16:46:29 Install the project... 16:46:29 -- Install configuration: "Release" 16:46:29 -- Installing: /usr/local/lib/libcsdk.so 16:46:29 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 16:46:29 -- Up-to-date: /usr/local/include 16:46:29 -- Installing: /usr/local/include/devsdk 16:46:29 -- Installing: /usr/local/include/devsdk/devsdk-base.h 16:46:29 -- Installing: /usr/local/include/devsdk/devsdk.h 16:46:29 -- Installing: /usr/local/include/edgex 16:46:29 -- Installing: /usr/local/include/edgex/devices.h 16:46:29 -- Installing: /usr/local/include/edgex/edgex.h 16:46:29 -- Installing: /usr/local/include/edgex/device-mgmt.h 16:46:29 -- Installing: /usr/local/include/edgex/profiles.h 16:46:29 -- Installing: /usr/local/include/edgex/edgex-base.h 16:46:29 -- Installing: /usr/local/include/edgex/error.h 16:46:29 -- Installing: /usr/local/include/edgex/registry.h 16:46:29 -- Installing: /usr/local/include/edgex/rest-server.h 16:46:29 -- Installing: /usr/local/include/edgex/os.h 16:46:29 -- Installing: /usr/local/include/edgex/devsdk.h 16:46:29 -- Installing: /usr/local/include/edgex/eventgen.h 16:46:29 -- Installing: /usr/local/include/edgex/edgex-logging.h 16:46:29 -- Installing: /usr/local/include/edgex/csdk-defs.h 16:46:29 -- Installing: /usr/local/include/iot 16:46:29 -- Installing: /usr/local/include/iot/hash.h 16:46:29 -- Installing: /usr/local/include/iot/thread.h 16:46:29 -- Installing: /usr/local/include/iot/json.h 16:46:29 -- Installing: /usr/local/include/iot/os 16:46:29 -- Installing: /usr/local/include/iot/os/zephyr.h 16:46:29 -- Installing: /usr/local/include/iot/os/linux.h 16:46:29 -- Installing: /usr/local/include/iot/base64.h 16:46:29 -- Installing: /usr/local/include/iot/container.h 16:46:29 -- Installing: /usr/local/include/iot/data.h 16:46:29 -- Installing: /usr/local/include/iot/threadpool.h 16:46:29 -- Installing: /usr/local/include/iot/scheduler.h 16:46:29 -- Installing: /usr/local/include/iot/component.h 16:46:29 -- Installing: /usr/local/include/iot/os.h 16:46:29 -- Installing: /usr/local/include/iot/logger.h 16:46:29 -- Installing: /usr/local/include/iot/time.h 16:46:29 -- Installing: /usr/local/include/iot/iot.h 16:46:29 -- Installing: /usr/local/share/device-sdk-c/LICENSE 16:46:29 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 16:46:29 make: Leaving directory '/tmp/sdk/build/release' 16:46:31 Removing intermediate container 287cd36dc800 16:46:31 ---> 99e9583991aa 16:46:31 Step 14/21 : FROM alpine:3.9 16:46:31 3.9: Pulling from library/alpine 16:46:31 eb93038481dd: Pulling fs layer 16:46:32 eb93038481dd: Verifying Checksum 16:46:32 eb93038481dd: Download complete 16:46:33 eb93038481dd: Pull complete 16:46:33 Digest: sha256:115731bab0862031b44766733890091c17924f9b7781b79997f5f163be262178 16:46:33 Status: Downloaded newer image for alpine:3.9 16:46:33 ---> 355993758880 16:46:33 Step 15/21 : MAINTAINER IOTech 16:46:33 ---> Running in 208df9cfd023 16:46:33 Removing intermediate container 208df9cfd023 16:46:33 ---> 918cddd352f6 16:46:33 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 16:46:33 ---> Running in 602fa77b10a8 16:46:34 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 16:46:34 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 16:46:35 (1/48) Installing binutils (2.31.1-r2) 16:46:35 (2/48) Installing libmagic (5.36-r1) 16:46:35 (3/48) Installing file (5.36-r1) 16:46:35 (4/48) Installing gmp (6.1.2-r1) 16:46:35 (5/48) Installing isl (0.18-r0) 16:46:35 (6/48) Installing libgomp (8.3.0-r0) 16:46:35 (7/48) Installing libatomic (8.3.0-r0) 16:46:35 (8/48) Installing libgcc (8.3.0-r0) 16:46:35 (9/48) Installing mpfr3 (3.1.5-r1) 16:46:36 (10/48) Installing mpc1 (1.0.3-r1) 16:46:36 (11/48) Installing libstdc++ (8.3.0-r0) 16:46:36 (12/48) Installing gcc (8.3.0-r0) 16:46:37 (13/48) Installing musl-dev (1.1.20-r5) 16:46:37 (14/48) Installing libc-dev (0.7.1-r0) 16:46:37 (15/48) Installing g++ (8.3.0-r0) 16:46:39 (16/48) Installing make (4.2.1-r2) 16:46:39 (17/48) Installing fortify-headers (1.0-r0) 16:46:39 (18/48) Installing build-base (0.5-r1) 16:46:39 (19/48) Installing libattr (2.4.47-r7) 16:46:39 (20/48) Installing libacl (2.2.52-r5) 16:46:39 (21/48) Installing libbz2 (1.0.6-r7) 16:46:39 (22/48) Installing expat (2.2.8-r0) 16:46:39 (23/48) Installing lz4-libs (1.8.3-r2) 16:46:39 (24/48) Installing xz-libs (5.2.4-r0) 16:46:39 (25/48) Installing libarchive (3.3.3-r2) 16:46:39 (26/48) Installing ca-certificates (20190108-r0) 16:46:39 (27/48) Installing nghttp2-libs (1.35.1-r1) 16:46:39 (28/48) Installing libssh2 (1.9.0-r1) 16:46:39 (29/48) Installing libcurl (7.64.0-r3) 16:46:39 (30/48) Installing ncurses-terminfo-base (6.1_p20190105-r0) 16:46:39 (31/48) Installing ncurses-terminfo (6.1_p20190105-r0) 16:46:40 (32/48) Installing ncurses-libs (6.1_p20190105-r0) 16:46:40 (33/48) Installing rhash-libs (1.3.6-r2) 16:46:40 (34/48) Installing libuv (1.23.2-r0) 16:46:40 (35/48) Installing cmake (3.13.0-r0) 16:46:41 (36/48) Installing curl (7.64.0-r3) 16:46:41 (37/48) Installing pcre2 (10.32-r1) 16:46:41 (38/48) Installing git (2.20.2-r0) 16:46:42 (39/48) Installing nettle (3.4.1-r0) 16:46:42 (40/48) Installing libffi (3.2.1-r6) 16:46:42 (41/48) Installing p11-kit (0.23.14-r0) 16:46:42 (42/48) Installing libtasn1 (4.14-r0) 16:46:42 (43/48) Installing libunistring (0.9.10-r0) 16:46:42 (44/48) Installing gnutls (3.6.7-r0) 16:46:42 (45/48) Installing libmicrohttpd (0.9.62-r0) 16:46:42 (46/48) Installing libuuid (2.33-r0) 16:46:42 (47/48) Installing wget (1.20.3-r0) 16:46:42 (48/48) Installing yaml (0.2.1-r0) 16:46:42 Executing busybox-1.29.3-r10.trigger 16:46:42 Executing ca-certificates-20190108-r0.trigger 16:46:42 OK: 219 MiB in 62 packages 16:46:54 Removing intermediate container 602fa77b10a8 16:46:54 ---> 360f762fbd62 16:46:54 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 16:46:55 ---> 00237688df1c 16:46:55 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 16:46:56 ---> 78cc43f37d93 16:46:56 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 16:46:56 ---> 2240af93268d 16:46:56 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 16:46:57 ---> e2582a7b3045 16:46:57 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 16:46:57 ---> 11be0888ceef 16:46:57 Successfully built 11be0888ceef 16:46:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:46:58 + docker inspect -f . ci-base-image-arm64 16:46:58 . [Pipeline] withDockerContainer 16:46:59 prd-ubuntu18.04-docker-arm64-4c-16g-1399 does not seem to be running inside a container 16:46:59 $ 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 ******** ci-base-image-arm64 cat 16:47:00 $ docker top 91e65078a4d5feb53d1c335c720cc5629a5f0d22dea0f014439edb9e61187377 -eo pid,comm [Pipeline] { [Pipeline] sh 16:47:01 + make test 16:47:01 echo "make test" 16:47:01 make test [Pipeline] } 16:47:01 $ docker stop --time=1 91e65078a4d5feb53d1c335c720cc5629a5f0d22dea0f014439edb9e61187377 16:47:03 $ docker rm -f 91e65078a4d5feb53d1c335c720cc5629a5f0d22dea0f014439edb9e61187377 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:47:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:47:04 + ls -al . 16:47:04 total 192 16:47:04 drwxrwxr-x 8 jenkins jenkins 4096 Mar 30 16:44 . 16:47:04 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 16:44 .. 16:47:04 drwxrwxr-x 8 jenkins jenkins 4096 Mar 30 16:44 .git 16:47:04 -rw-rw-r-- 1 jenkins jenkins 176 Mar 30 16:44 .gitignore 16:47:04 drwxrwxr-x 3 jenkins jenkins 4096 Mar 30 16:44 .semver 16:47:04 -rw-rw-r-- 1 jenkins jenkins 3104 Mar 30 16:44 Attribution.txt 16:47:04 -rw-rw-r-- 1 jenkins jenkins 4941 Mar 30 16:44 CHANGES 16:47:04 -rw-rw-r-- 1 jenkins jenkins 108574 Mar 30 16:44 Doxyfile 16:47:04 -rw-rw-r-- 1 jenkins jenkins 792 Mar 30 16:44 Jenkinsfile 16:47:04 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 30 16:44 LICENSE 16:47:04 -rw-rw-r-- 1 jenkins jenkins 448 Mar 30 16:44 Makefile 16:47:04 -rw-rw-r-- 1 jenkins jenkins 1849 Mar 30 16:44 README.md 16:47:04 -rw-rw-r-- 1 jenkins jenkins 5031 Mar 30 16:44 README.v2.md 16:47:04 -rw-rw-r-- 1 jenkins jenkins 5 Mar 30 16:40 VERSION 16:47:04 drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 16:44 docs 16:47:04 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 16:44 include 16:47:04 drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 16:44 scripts 16:47:04 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 16:44 src [Pipeline] isUnix [Pipeline] sh 16:47:05 + docker build -t docker-device-sdk-c-arm64 -f scripts/Dockerfile.alpine-3.9 --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=d577524653b908716fe3fd2127e0060690583520 --label arch=arm64 --label version=0.0.0 . 16:47:05 Sending build context to Docker daemon 2.943MB 16:47:05 Step 1/15 : ARG BASE=alpine:3.9 16:47:05 Step 2/15 : FROM ${BASE} 16:47:05 ---> 11be0888ceef 16:47:05 Step 3/15 : MAINTAINER IOTech 16:47:05 ---> Running in 7395439f0f77 16:47:06 Removing intermediate container 7395439f0f77 16:47:06 ---> 706dd46a3b82 16:47:06 Step 4/15 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev && mkdir -p /edgex-c-sdk/build 16:47:06 ---> Running in 331859f67552 16:47:07 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 16:47:07 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 16:47:07 (1/21) Installing pkgconf (1.6.0-r0) 16:47:07 (2/21) Installing openssl-dev (1.1.1d-r2) 16:47:08 (3/21) Installing zlib-dev (1.2.11-r1) 16:47:08 (4/21) Installing libssh2-dev (1.9.0-r1) 16:47:08 (5/21) Installing nghttp2-dev (1.35.1-r1) 16:47:08 (6/21) Installing curl-dev (7.64.0-r3) 16:47:08 (7/21) Installing gnutls-c++ (3.6.7-r0) 16:47:08 (8/21) Installing libgmpxx (6.1.2-r1) 16:47:08 (9/21) Installing gmp-dev (6.1.2-r1) 16:47:08 (10/21) Installing nettle-dev (3.4.1-r0) 16:47:09 (11/21) Installing libtasn1-dev (4.14-r0) 16:47:10 (12/21) Installing p11-kit-dev (0.23.14-r0) 16:47:10 (13/21) Installing gnutls-dev (3.6.7-r0) 16:47:10 (14/21) Installing libmicrohttpd-dev (0.9.62-r0) 16:47:10 (15/21) Installing ncurses-dev (6.1_p20190105-r0) 16:47:10 (16/21) Installing libblkid (2.33-r0) 16:47:10 (17/21) Installing libfdisk (2.33-r0) 16:47:10 (18/21) Installing libmount (2.33-r0) 16:47:10 (19/21) Installing libsmartcols (2.33-r0) 16:47:10 (20/21) Installing util-linux-dev (2.33-r0) 16:47:10 (21/21) Installing yaml-dev (0.2.1-r0) 16:47:10 Executing busybox-1.29.3-r10.trigger 16:47:10 OK: 279 MiB in 83 packages 16:47:14 Removing intermediate container 331859f67552 16:47:14 ---> d45924faa337 16:47:14 Step 5/15 : COPY VERSION /edgex-c-sdk/ 16:47:14 ---> 9c235ac7d795 16:47:14 Step 6/15 : COPY src /edgex-c-sdk/src/ 16:47:14 ---> c8715c4ab613 16:47:14 Step 7/15 : COPY include /edgex-c-sdk/include/ 16:47:15 ---> 222fd2554651 16:47:15 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 16:47:15 ---> 40d44c873857 16:47:15 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 16:47:16 ---> 32fbe2a4ee9e 16:47:16 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 16:47:16 ---> 25175eff58b4 16:47:16 Step 11/15 : WORKDIR /edgex-c-sdk 16:47:16 ---> Running in 90f60a1ae779 16:47:17 Removing intermediate container 90f60a1ae779 16:47:17 ---> 2d99fabd13c3 16:47:17 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 16:47:17 ---> Running in 19957c8f03b6 16:47:17 Removing intermediate container 19957c8f03b6 16:47:17 ---> bcf212cc080f 16:47:17 Step 13/15 : LABEL arch=arm64 16:47:17 ---> Running in 8b526d18784b 16:47:18 Removing intermediate container 8b526d18784b 16:47:18 ---> 2c39b7eab0bf 16:47:18 Step 14/15 : LABEL git_sha=d577524653b908716fe3fd2127e0060690583520 16:47:18 ---> Running in 565e6240c947 16:47:18 Removing intermediate container 565e6240c947 16:47:18 ---> ebf0fa98fc1d 16:47:18 Step 15/15 : LABEL version=0.0.0 16:47:18 ---> Running in df201bdae21d 16:47:18 Removing intermediate container df201bdae21d 16:47:18 ---> 8c12759e50d2 16:47:18 [Warning] One or more build-args [ARCH MAKE] were not consumed 16:47:18 Successfully built 8c12759e50d2 16:47:18 Successfully tagged docker-device-sdk-c-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 16:47:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:47:21 ---> package-listing.sh 16:47:21 ++ facter osfamily 16:47:21 ++ tr '[:upper:]' '[:lower:]' 16:47:21 + OS_FAMILY=redhat 16:47:21 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-245 16:47:21 + START_PACKAGES=/tmp/packages_start.txt 16:47:21 + END_PACKAGES=/tmp/packages_end.txt 16:47:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:47:21 + PACKAGES=/tmp/packages_start.txt 16:47:21 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-245 ']' 16:47:21 + PACKAGES=/tmp/packages_end.txt 16:47:21 + case "${OS_FAMILY}" in 16:47:21 + rpm -qa 16:47:21 + sort 16:47:25 + '[' -f /tmp/packages_start.txt ']' 16:47:25 + '[' -f /tmp/packages_end.txt ']' 16:47:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:47:25 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-245 ']' 16:47:25 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-245/archives/ 16:47:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-245/archives/ [Pipeline] isUnix [Pipeline] sh 16:47:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:47:25 16:47:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 16:47:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:47:26 alpine: Pulling from edgex-lftools-log-publisher 16:47:26 c9b1b535fdd9: Pulling fs layer 16:47:26 2cc5ad85d9ab: Pulling fs layer 16:47:26 756a868c4378: Pulling fs layer 16:47:26 444b2fc9a129: Pulling fs layer 16:47:26 ea15f1150254: Pulling fs layer 16:47:26 41b27a9f41bf: Pulling fs layer 16:47:26 28c525ee5125: Pulling fs layer 16:47:26 094b1ea09ed8: Pulling fs layer 16:47:26 138eaada9080: Pulling fs layer 16:47:26 0622d0fa9048: Pulling fs layer 16:47:26 444b2fc9a129: Waiting 16:47:26 ea15f1150254: Waiting 16:47:26 41b27a9f41bf: Waiting 16:47:26 28c525ee5125: Waiting 16:47:26 094b1ea09ed8: Waiting 16:47:26 138eaada9080: Waiting 16:47:26 0622d0fa9048: Waiting 16:47:26 2cc5ad85d9ab: Download complete 16:47:26 444b2fc9a129: Verifying Checksum 16:47:26 444b2fc9a129: Download complete 16:47:26 c9b1b535fdd9: Verifying Checksum 16:47:26 c9b1b535fdd9: Download complete 16:47:26 ea15f1150254: Verifying Checksum 16:47:26 ea15f1150254: Download complete 16:47:26 28c525ee5125: Verifying Checksum 16:47:26 28c525ee5125: Download complete 16:47:26 756a868c4378: Verifying Checksum 16:47:26 756a868c4378: Download complete 16:47:26 c9b1b535fdd9: Pull complete 16:47:26 138eaada9080: Verifying Checksum 16:47:26 138eaada9080: Download complete 16:47:26 0622d0fa9048: Verifying Checksum 16:47:26 0622d0fa9048: Download complete 16:47:27 094b1ea09ed8: Verifying Checksum 16:47:27 094b1ea09ed8: Download complete 16:47:27 2cc5ad85d9ab: Pull complete 16:47:27 41b27a9f41bf: Verifying Checksum 16:47:27 41b27a9f41bf: Download complete 16:47:28 756a868c4378: Pull complete 16:47:28 444b2fc9a129: Pull complete 16:47:28 ea15f1150254: Pull complete 16:47:32 41b27a9f41bf: Pull complete 16:47:32 28c525ee5125: Pull complete 16:47:35 094b1ea09ed8: Pull complete 16:47:35 138eaada9080: Pull complete 16:47:35 0622d0fa9048: Pull complete 16:47:35 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 16:47:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 16:47:35 prd-centos7-docker-4c-2g-1397 does not seem to be running inside a container 16:47:35 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/edgexfoundry_device-sdk-c_PR-245 -v /w/workspace/edgexfoundry_device-sdk-c_PR-245:/w/workspace/edgexfoundry_device-sdk-c_PR-245:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-245@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-245@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 16:47:37 $ docker top 33cb0370bce030a10cbcff72df988bd3c29cb4e250a155b099340595e1640f17 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:47:37 provisioning config files... 16:47:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-245@tmp/config2354822236376372160tmp [Pipeline] { [Pipeline] echo 16:47:37 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:47:37 ---> create-netrc.sh [Pipeline] echo 16:47:37 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:47:38 ---> logs-deploy.sh 16:47:38 + ARCHIVE_ARTIFACTS= 16:47:38 + LOGS_SERVER=https://logs.edgexfoundry.org 16:47:38 + '[' https://logs.edgexfoundry.org == None ']' 16:47:38 + NEXUS_URL=https://nexus.edgexfoundry.org 16:47:38 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-245/2 16:47:38 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-245/2/ 16:47:38 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-245/2 /w/workspace/edgexfoundry_device-sdk-c_PR-245 16:47:39 Archives upload complete. 16:47:39 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-245/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-245/2/