Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 2dbf24a1b53c33901c5f522cb6a5de4931bffa5e 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1756 in /w/workspace/edgexfoundry_device-sdk-c_master [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_master # 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/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Checking out Revision 2dbf24a1b53c33901c5f522cb6a5de4931bffa5e (master) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # 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/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2dbf24a1b53c33901c5f522cb6a5de4931bffa5e # timeout=10 Commit message: "Updated gyro and terminal examples to use v2 api (#245)" > git rev-list --no-walk 9d735d1f6129c08be60f72e7e36f35f4ed1f8142 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:40:27 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:30 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:40:30 16:40:30 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:40:30 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:40:30 latest: Pulling from edgex-devops/git-semver 16:40:30 9123ac7c32f7: Pulling fs layer 16:40:30 b8cc5d1170e3: Pulling fs layer 16:40:30 2924cbbf6a41: Pulling fs layer 16:40:30 93b08a4f1073: Pulling fs layer 16:40:30 93b08a4f1073: Waiting 16:40:30 b8cc5d1170e3: Verifying Checksum 16:40:30 b8cc5d1170e3: Download complete 16:40:30 9123ac7c32f7: Verifying Checksum 16:40:30 9123ac7c32f7: Download complete 16:40:30 93b08a4f1073: Verifying Checksum 16:40:30 93b08a4f1073: Download complete 16:40:30 2924cbbf6a41: Verifying Checksum 16:40:30 2924cbbf6a41: Download complete 16:40:30 9123ac7c32f7: Pull complete 16:40:30 b8cc5d1170e3: Pull complete 16:40:31 2924cbbf6a41: Pull complete 16:40:31 93b08a4f1073: Pull complete 16:40:31 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 16:40:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:40:31 prd-centos7-docker-4c-2g-1756 does not seem to be running inside a container 16:40:32 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:40:32 $ docker top cfe1000020d9dea5ebad66cf07b4a251d941b8a0e099ae1cf2690c2563a34fe5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:40:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:40:32 [ssh-agent] Looking for ssh-agent implementation... 16:40:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:40:33 $ docker exec cfe1000020d9dea5ebad66cf07b4a251d941b8a0e099ae1cf2690c2563a34fe5 ssh-agent 16:40:33 SSH_AUTH_SOCK=/tmp/ssh-9n0SdYCP8iaw/agent.15 16:40:33 SSH_AGENT_PID=22 16:40:33 Running ssh-add (command line suppressed) 16:40:33 Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_7078113240647352948.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_7078113240647352948.key) 16:40:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:40:33 + git describe --exact-match --tags HEAD 16:40:33 fatal: No names found, cannot describe anything. [Pipeline] } 16:40:33 $ docker exec --env ******** --env ******** cfe1000020d9dea5ebad66cf07b4a251d941b8a0e099ae1cf2690c2563a34fe5 ssh-agent -k 16:40:34 unset SSH_AUTH_SOCK; 16:40:34 unset SSH_AGENT_PID; 16:40:34 echo Agent pid 22 killed; 16:40:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 16:40:34 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 16:40:34 This usually means this commit has not been tagged. [Pipeline] sshagent 16:40:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:40:34 [ssh-agent] Looking for ssh-agent implementation... 16:40:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:40:34 $ docker exec cfe1000020d9dea5ebad66cf07b4a251d941b8a0e099ae1cf2690c2563a34fe5 ssh-agent 16:40:34 SSH_AUTH_SOCK=/tmp/ssh-2oSt6wx7FsqI/agent.58 16:40:34 SSH_AGENT_PID=65 16:40:34 Running ssh-add (command line suppressed) 16:40:34 Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_4855216109035184430.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_4855216109035184430.key) 16:40:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:40:35 + git semver init 16:40:35 # -> Open(): unable to determine branch for HEAD 16:40:35 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git 16:40:35 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master 16:40:35 # $SEMVER_REMOTE_NAME = origin 16:40:35 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 16:40:35 # $SEMVER_USER_NAME = jenkins 16:40:35 # $SEMVER_BRANCH = master 16:40:35 # $SEMVER_TEMP = /tmp/semver-779356167 16:40:35 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 16:40:35 # '/tmp/semver-779356167' -> '/w/workspace/edgexfoundry_device-sdk-c_master/.semver' 16:40:35 # -> Force: false 16:40:35 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [Pipeline] } 16:40:35 $ docker exec --env ******** --env ******** cfe1000020d9dea5ebad66cf07b4a251d941b8a0e099ae1cf2690c2563a34fe5 ssh-agent -k 16:40:35 unset SSH_AUTH_SOCK; 16:40:35 unset SSH_AGENT_PID; 16:40:35 echo Agent pid 65 killed; 16:40:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:40:36 + git semver [Pipeline] } 16:40:36 $ docker stop --time=1 cfe1000020d9dea5ebad66cf07b4a251d941b8a0e099ae1cf2690c2563a34fe5 16:40:37 $ docker rm -f cfe1000020d9dea5ebad66cf07b4a251d941b8a0e099ae1cf2690c2563a34fe5 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 16:40:38 Stashed 31 file(s) [Pipeline] echo 16:40:38 [edgeXSemver] initialized semver on version 1.2.0-dev.12 [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:53 Still waiting to schedule task 16:40:53 Waiting for next available executor on ‘centos7-docker-4c-2g’ 16:40:53 Still waiting to schedule task 16:40:53 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 16:42:46 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1757 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] ws 16:42:46 Running in /w/workspace/device-sdk-c/12 [Pipeline] { [Pipeline] checkout 16:42:52 using credential edgex-jenkins-ssh 16:42:52 Cloning the remote Git repository 16:42:52 Cloning with configured refspecs honoured and without tags 16:42:53 Running on prd-centos7-docker-4c-2g-1758 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] ws 16:42:53 Running in /w/workspace/device-sdk-c/12 [Pipeline] { [Pipeline] checkout 16:42:52 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 16:42:52 > git init /w/workspace/device-sdk-c/12 # timeout=10 16:42:52 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:42:52 > git --version # timeout=10 16:42:52 using GIT_SSH to set credentials SSH Credentials for GitHub 16:42:52 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 16:42:54 Fetching without tags 16:42:54 Checking out Revision 2dbf24a1b53c33901c5f522cb6a5de4931bffa5e (master) 16:42:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:42:54 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 16:42:54 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:42:54 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:42:54 using GIT_SSH to set credentials SSH Credentials for GitHub 16:42:54 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 16:42:54 > git config core.sparsecheckout # timeout=10 16:42:54 > git checkout -f 2dbf24a1b53c33901c5f522cb6a5de4931bffa5e # timeout=10 16:42:55 using credential edgex-jenkins-ssh 16:42:55 Cloning the remote Git repository 16:42:55 Cloning with configured refspecs honoured and without tags 16:42:56 Fetching without tags 16:42:55 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 16:42:55 > git init /w/workspace/device-sdk-c/12 # timeout=10 16:42:55 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:42:55 > git --version # timeout=10 16:42:55 using GIT_SSH to set credentials SSH Credentials for GitHub 16:42:55 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 16:42:56 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:42:56 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 16:42:56 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:42:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:42:56 using GIT_SSH to set credentials SSH Credentials for GitHub 16:42:56 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 16:42:57 Checking out Revision 2dbf24a1b53c33901c5f522cb6a5de4931bffa5e (master) 16:42:56 > git config core.sparsecheckout # timeout=10 16:42:56 > git checkout -f 2dbf24a1b53c33901c5f522cb6a5de4931bffa5e # timeout=10 16:42:59 Commit message: "Updated gyro and terminal examples to use v2 api (#245)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 16:43:00 Commit message: "Updated gyro and terminal examples to use v2 api (#245)" [Pipeline] echo 16:43:00 ========================================================= 16:43:00 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 16:43:00 ========================================================= [Pipeline] isUnix [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 16:43:02 + 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 . [Pipeline] echo 16:43:02 ========================================================= 16:43:02 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 16:43:02 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:43:02 + 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:03 Sending build context to Docker daemon 2.936MB 16:43:03 Step 1/21 : ARG BASE=alpine:3.9 16:43:03 Step 2/21 : FROM ${BASE} as builder 16:43:03 Sending build context to Docker daemon 2.936MB 16:43:03 Step 1/21 : ARG BASE=alpine:3.9 16:43:03 Step 2/21 : FROM ${BASE} as builder 16:43:03 latest: Pulling from edgex-devops/edgex-gcc-base 16:43:03 e7c96db7181b: Pulling fs layer 16:43:03 4c13bbce0fe7: Pulling fs layer 16:43:03 6059c847ac2f: Pulling fs layer 16:43:03 4c13bbce0fe7: Verifying Checksum 16:43:03 4c13bbce0fe7: Download complete 16:43:03 e7c96db7181b: Verifying Checksum 16:43:03 e7c96db7181b: Download complete 16:43:03 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 16:43:03 0362ad1dd800: Pulling fs layer 16:43:03 f2cdb1532d8b: Pulling fs layer 16:43:03 37ed683be191: Pulling fs layer 16:43:03 f2cdb1532d8b: Download complete 16:43:03 e7c96db7181b: Pull complete 16:43:03 4c13bbce0fe7: Pull complete 16:43:03 0362ad1dd800: Verifying Checksum 16:43:03 0362ad1dd800: Download complete 16:43:04 0362ad1dd800: Pull complete 16:43:04 6059c847ac2f: Verifying Checksum 16:43:04 6059c847ac2f: Download complete 16:43:04 f2cdb1532d8b: Pull complete 16:43:08 6059c847ac2f: Pull complete 16:43:08 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 16:43:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 16:43:08 ---> 5eabd8fd8ba2 16:43:08 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:08 ---> Running in 1e5dd76f1f60 16:43:08 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 16:43:09 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 16:43:09 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 16:43:09 (2/8) Installing libuuid (2.33-r0) 16:43:09 (3/8) Installing libblkid (2.33-r0) 16:43:10 (4/8) Installing libfdisk (2.33-r0) 16:43:10 (5/8) Installing libmount (2.33-r0) 16:43:10 (6/8) Installing libsmartcols (2.33-r0) 16:43:10 (7/8) Installing util-linux-dev (2.33-r0) 16:43:11 (8/8) Installing wget (1.20.3-r0) 16:43:11 37ed683be191: Verifying Checksum 16:43:11 37ed683be191: Download complete 16:43:11 Executing busybox-1.29.3-r10.trigger 16:43:11 OK: 272 MiB in 83 packages 16:43:12 Removing intermediate container 1e5dd76f1f60 16:43:12 ---> 4b2146bcc5a2 16:43:12 Step 4/21 : ENV CBOR_VERSION=0.5.0 16:43:12 ---> Running in 52104b8c3527 16:43:12 Removing intermediate container 52104b8c3527 16:43:12 ---> 59e6dd631db3 16:43:12 Step 5/21 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 16:43:12 ---> Running in 15250597ad8b 16:43:12 --2020-04-01 16:43:12-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 16:43:12 Resolving github.com... 140.82.112.4 16:43:12 Connecting to github.com|140.82.112.4|:443... connected. 16:43:12 HTTP request sent, awaiting response... 302 Found 16:43:12 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 16:43:12 --2020-04-01 16:43:12-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 16:43:12 Resolving codeload.github.com... 140.82.112.10 16:43:12 Connecting to codeload.github.com|140.82.112.10|:443... connected. 16:43:12 HTTP request sent, awaiting response... 200 OK 16:43:12 Length: unspecified [application/x-gzip] 16:43:12 Saving to: 'STDOUT' 16:43:12  16:43:13 0K .......... .......... .......... .......... .......... 1.35M 16:43:13 50K .......... .......... .......... .......... .......... 2.75M 16:43:13 100K .......... .......... .......... .......... .......... 33.6M 16:43:13 150K .......... .......... .......... .......... .......... 3.03M 16:43:13 200K .......... .......... .......... .......... .......... 20.9M 16:43:13 250K .......... .......... .......... .......... .......... 11.0M 16:43:13 300K .......... .......... .......... .......... .......... 5.91M 16:43:13 350K .......... .......... .......... .......... .......... 10.9M 16:43:13 400K .......... .......... .......... .......... .......... 8.14M 16:43:13 450K .......... .......... .......... .......... .......... 7.46M 16:43:13 500K .......... .......... .......... .......... .......... 13.2M 16:43:13 550K .......... .......... .......... .......... .......... 7.66M 16:43:13 600K .......... .......... .......... .......... .......... 2.23M 16:43:13 650K .......... .......... .......... .......... .......... 5.07M 16:43:13 700K .. 1.02M=0.1s 16:43:13 16:43:13 2020-04-01 16:43:13 (4.66 MB/s) - written to stdout [719348] 16:43:13 16:43:13 -- The C compiler identification is GNU 8.3.0 16:43:13 -- The CXX compiler identification is GNU 8.3.0 16:43:13 -- Check for working C compiler: /usr/bin/cc 16:43:13 -- Check for working C compiler: /usr/bin/cc -- works 16:43:13 -- Detecting C compiler ABI info 16:43:13 -- Detecting C compiler ABI info - done 16:43:13 -- Detecting C compile features 16:43:13 -- Detecting C compile features - done 16:43:13 -- Check for working CXX compiler: /usr/bin/c++ 16:43:13 -- Check for working CXX compiler: /usr/bin/c++ -- works 16:43:13 -- Detecting CXX compiler ABI info 16:43:13 -- Detecting CXX compiler ABI info - done 16:43:13 -- Detecting CXX compile features 16:43:14 -- Detecting CXX compile features - done 16:43:14 -- Looking for include file endian.h 16:43:14 -- Looking for include file endian.h - found 16:43:14 -- Check if the system is big endian 16:43:14 -- Searching 16 bit integer 16:43:14 -- Looking for sys/types.h 16:43:14 -- Looking for sys/types.h - found 16:43:14 -- Looking for stdint.h 16:43:14 -- Looking for stdint.h - found 16:43:14 -- Looking for stddef.h 16:43:14 -- Looking for stddef.h - found 16:43:14 -- Check size of unsigned short 16:43:14 -- Check size of unsigned short - done 16:43:14 -- Using unsigned short 16:43:14 -- Check if the system is big endian - little endian 16:43:14 -- Check size of size_t 16:43:15 -- Check size of size_t - done 16:43:15 CMake Warning at examples/CMakeLists.txt:16 (find_package): 16:43:15 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 16:43:15 asked CMake to find a package configuration file provided by "cJSON", but 16:43:15 CMake did not find one. 16:43:15 16:43:15 Could not find a package configuration file provided by "cJSON" with any of 16:43:15 the following names: 16:43:15 16:43:15 cJSONConfig.cmake 16:43:15 cjson-config.cmake 16:43:15 16:43:15 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 16:43:15 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 16:43:15 provides a separate development package or SDK, be sure it has been 16:43:15 installed. 16:43:15 16:43:15 16:43:15 -- Configuring done 16:43:15 -- Generating done 16:43:15 -- Build files have been written to: /tmp/cbor 16:43:15 Scanning dependencies of target cbor_shared 16:43:15 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 16:43:15 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 16:43:15 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 16:43:15 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 16:43:15 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 16:43:15 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 16:43:15 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 16:43:15 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 16:43:15 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 16:43:16 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 16:43:16 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 16:43:16 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 16:43:16 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 16:43:16 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 16:43:16 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 16:43:16 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 16:43:16 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 16:43:16 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 16:43:16 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 16:43:16 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 16:43:16 [ 40%] Linking C shared library libcbor.so 16:43:16 [ 40%] Built target cbor_shared 16:43:16 Scanning dependencies of target cbor 16:43:16 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 16:43:17 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 16:43:17 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 16:43:17 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 16:43:17 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 16:43:17 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 16:43:17 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 16:43:17 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 16:43:17 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 16:43:17 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 16:43:18 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 16:43:18 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 16:43:18 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 16:43:18 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 16:43:18 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 16:43:18 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 16:43:18 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 16:43:18 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 16:43:18 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 16:43:18 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 16:43:18 [ 80%] Linking C static library libcbor.a 16:43:18 [ 80%] Built target cbor 16:43:18 Scanning dependencies of target create_items 16:43:18 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 16:43:18 [ 84%] Linking C executable create_items 16:43:18 [ 84%] Built target create_items 16:43:18 Scanning dependencies of target readfile 16:43:18 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 16:43:18 [ 88%] Linking C executable readfile 16:43:18 [ 88%] Built target readfile 16:43:18 Scanning dependencies of target streaming_parser 16:43:18 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 16:43:19 [ 92%] Linking C executable streaming_parser 16:43:19 [ 92%] Built target streaming_parser 16:43:19 Scanning dependencies of target sort 16:43:19 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 16:43:19 [ 96%] Linking C executable sort 16:43:19 [ 96%] Built target sort 16:43:19 Scanning dependencies of target hello 16:43:19 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 16:43:19 [100%] Linking C executable hello 16:43:19 [100%] Built target hello 16:43:19 Install the project... 16:43:19 -- Install configuration: "Release" 16:43:19 -- Installing: /usr/local/include/cbor/configuration.h 16:43:19 -- Installing: /usr/local/lib64/libcbor.a 16:43:19 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 16:43:19 -- Installing: /usr/local/lib64/libcbor.so.0 16:43:19 -- Installing: /usr/local/lib64/libcbor.so 16:43:19 -- Up-to-date: /usr/local/include/cbor 16:43:19 -- Installing: /usr/local/include/cbor/arrays.h 16:43:19 -- Installing: /usr/local/include/cbor/bytestrings.h 16:43:19 -- Installing: /usr/local/include/cbor/callbacks.h 16:43:19 -- Installing: /usr/local/include/cbor/common.h 16:43:19 -- Installing: /usr/local/include/cbor/data.h 16:43:19 -- Installing: /usr/local/include/cbor/encoding.h 16:43:19 -- Installing: /usr/local/include/cbor/floats_ctrls.h 16:43:19 -- Installing: /usr/local/include/cbor/internal 16:43:19 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 16:43:19 -- Installing: /usr/local/include/cbor/internal/encoders.h 16:43:19 -- Installing: /usr/local/include/cbor/internal/loaders.h 16:43:19 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 16:43:19 -- Installing: /usr/local/include/cbor/internal/stack.h 16:43:19 -- Installing: /usr/local/include/cbor/internal/unicode.h 16:43:19 -- Installing: /usr/local/include/cbor/ints.h 16:43:19 -- Installing: /usr/local/include/cbor/maps.h 16:43:19 -- Installing: /usr/local/include/cbor/serialization.h 16:43:19 -- Installing: /usr/local/include/cbor/streaming.h 16:43:19 -- Installing: /usr/local/include/cbor/strings.h 16:43:19 -- Installing: /usr/local/include/cbor/tags.h 16:43:19 -- Installing: /usr/local/include/cbor.h 16:43:19 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 16:43:20 Removing intermediate container 15250597ad8b 16:43:20 ---> c3a0505da798 16:43:20 Step 6/21 : RUN mkdir /tmp/sdk 16:43:20 ---> Running in e24be236cee8 16:43:20 Removing intermediate container e24be236cee8 16:43:20 ---> df39e3e6c1a6 16:43:20 Step 7/21 : COPY VERSION /tmp/sdk 16:43:20 ---> eda4a510151b 16:43:20 Step 8/21 : COPY src /tmp/sdk/src 16:43:21 37ed683be191: Pull complete 16:43:21 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 16:43:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 16:43:21 ---> b23d30803547 16:43:21 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:21 ---> 6aca2524e20c 16:43:21 Step 9/21 : COPY include /tmp/sdk/include 16:43:22 ---> b66a751be0a6 16:43:22 Step 10/21 : COPY scripts /tmp/sdk/scripts 16:43:22 ---> 241f3cf45546 16:43:22 Step 11/21 : COPY LICENSE /tmp/sdk 16:43:22 ---> 284a509e2918 16:43:22 Step 12/21 : COPY Attribution.txt /tmp/sdk 16:43:22 ---> cc2501ac8312 16:43:22 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 16:43:22 ---> Running in e53d880c6ebd 16:43:22 + CPPCHECK=false 16:43:22 + DOCGEN=false 16:43:22 + TOMLVER=SDK-0.2 16:43:22 + CUTILVER=1.0.0 16:43:22 + '[' 0 -gt 0 ] 16:43:22 + readlink -f ./scripts/build.sh 16:43:22 + dirname /tmp/sdk/scripts/build.sh 16:43:22 + dirname /tmp/sdk/scripts 16:43:22 + ROOT=/tmp/sdk 16:43:22 + cd /tmp/sdk 16:43:22 + '[' '!' -d deps ] 16:43:22 + mkdir deps 16:43:22 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:43:22 + tar -C deps -z -x -f - 16:43:22 --2020-04-01 16:43:22-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:43:22 Resolving github.com... 140.82.112.4 16:43:23 ---> Running in bc9e40a34a61 16:43:23 Connecting to github.com|140.82.112.4|:443... connected. 16:43:23 HTTP request sent, awaiting response... 302 Found 16:43:23 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 16:43:23 --2020-04-01 16:43:23-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 16:43:23 Resolving codeload.github.com... 140.82.112.10 16:43:23 Connecting to codeload.github.com|140.82.112.10|:443... connected. 16:43:23 HTTP request sent, awaiting response... 200 OK 16:43:23 Length: unspecified [application/x-gzip] 16:43:23 Saving to: 'STDOUT' 16:43:23 16:43:23 0K .......... ......  1.02M=0.02s 16:43:23 16:43:23 2020-04-01 16:43:23 (1.02 MB/s) - written to stdout [16451] 16:43:23 16:43:23 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 16:43:23 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.0.tar.gz 16:43:23 + tar -C deps -z -x -f - 16:43:23 --2020-04-01 16:43:23-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.0.tar.gz 16:43:23 Resolving github.com... 140.82.112.4 16:43:23 Connecting to github.com|140.82.112.4|:443... connected. 16:43:23 HTTP request sent, awaiting response... 302 Found 16:43:23 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.0 [following] 16:43:23 --2020-04-01 16:43:23-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.0 16:43:23 Resolving codeload.github.com... 140.82.112.10 16:43:23 Connecting to codeload.github.com|140.82.112.10|:443... connected. 16:43:23 HTTP request sent, awaiting response... 200 OK 16:43:23 Length: unspecified [application/x-gzip] 16:43:23 Saving to: 'STDOUT' 16:43:23  16:43:23 0K .......... .......... .......... .......... .......... 1.63M 16:43:23 50K .......... .......... .......... .......... .......... 3.21M 16:43:23 100K .......... .......... .......... .......... ........ 32.9M=0.05s 16:43:23 16:43:23 2020-04-01 16:43:23 (3.11 MB/s) - written to stdout [151809] 16:43:23 16:43:23 + mkdir -p src/c/iot 16:43:23 + 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:23 + mkdir -p include/iot 16:43:23 + 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:23 + mkdir -p include/iot/os 16:43:23 + 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:23 + mkdir -p /tmp/sdk/build/release 16:43:23 + cd /tmp/sdk/build/release 16:43:23 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 16:43:23 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 16:43:24 -- The C compiler identification is GNU 8.3.0 16:43:24 -- Check for working C compiler: /usr/bin/cc 16:43:24 -- Check for working C compiler: /usr/bin/cc -- works 16:43:24 -- Detecting C compiler ABI info 16:43:24 -- Detecting C compiler ABI info - done 16:43:24 -- Detecting C compile features 16:43:24 -- Detecting C compile features - done 16:43:24 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:43:24 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 16:43:24 -- Found LIBYAML: /usr/lib/libyaml.so 16:43:24 -- Found LIBUUID: /usr/lib/libuuid.so 16:43:24 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:43:24 -- C SDK 1.2.0-dev.12 for Linux 16:43:24 -- Performing Test CSDK_HAVE_ATOMIC 16:43:24 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:43:24 -- Found Curses: /usr/lib/libcurses.so 16:43:24 -- Configuring done 16:43:24 -- Generating done 16:43:24 -- Build files have been written to: /tmp/sdk/build/release 16:43:24 + make 16:43:24 + tee release.log 16:43:24 Scanning dependencies of target csdk 16:43:24 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:43:24 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 16:43:24 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 16:43:24 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:43:25 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:43:25 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:43:25 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 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:25 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:43:25 (4/8) Installing libfdisk (2.33-r0) 16:43:25 (5/8) Installing libmount (2.33-r0) 16:43:26 [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:43:26 (6/8) Installing libsmartcols (2.33-r0) 16:43:26 (7/8) Installing util-linux-dev (2.33-r0) 16:43:26 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:43:26 [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:43:26 [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:43:26 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:43:26 (8/8) Installing wget (1.20.3-r0) 16:43:26 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:43:26 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:43:26 Executing busybox-1.29.3-r10.trigger 16:43:26 OK: 285 MiB in 83 packages 16:43:27 [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:43:27 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:43:27 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:43:27 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:43:28 Removing intermediate container bc9e40a34a61 16:43:28 ---> 6104f52da5ad 16:43:28 Step 4/21 : ENV CBOR_VERSION=0.5.0 16:43:28 ---> Running in 09d5ef451be2 16:43:28 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:43:28 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:43:28 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:43:28 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:43:28 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:43:28 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:43:28 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:43:28 Removing intermediate container 09d5ef451be2 16:43:28 ---> d26d49689b56 16:43:28 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:28 ---> Running in 87cf0ef721df 16:43:29 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:43:29 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:43:29 [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:43:29 [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:43:29 [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:43:29 [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:43:29 --2020-04-01 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-04-01 16:43:29-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 16:43:29 Resolving codeload.github.com... 140.82.113.10 16:43:29 Connecting to codeload.github.com|140.82.113.10|: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.63M 16:43:30 50K .......... .......... .......... .......... .......... 3.19M 16:43:30 100K .......... .......... .......... .......... .......... 11.6M 16:43:30 150K .......... .......... .......... .......... .......... 14.3M 16:43:30 200K .......... .......... .......... .......... .......... 4.12M 16:43:30 250K .......... .......... .......... .......... .......... 5.41M 16:43:30 300K .......... .......... .......... .......... .......... 5.05M 16:43:30 350K .......... .......... .......... .......... .......... 5.24M 16:43:30 400K .......... .......... .......... .......... .......... 5.67M 16:43:30 450K .......... .......... .......... .......... .......... 5.16M 16:43:30 500K .......... .......... .......... .......... .......... 4.45M 16:43:30 550K .......... .......... .......... .......... .......... 1.76M 16:43:30 600K .......... .......... .......... .......... .......... 1011K 16:43:30 650K .......... .......... .......... .......... .......... 2.20M 16:43:30 700K ..                              12.0M=0.2s 16:43:30 16:43:30 2020-04-01 16:43:30 (3.10 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:31 [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:43:31 [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:43:31 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:43:31 -- Check for working C compiler: /usr/bin/cc -- works 16:43:31 -- Detecting C compiler ABI info 16:43:31 [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:43:31 -- Detecting C compiler ABI info - done 16:43:31 -- Detecting C compile features 16:43:31 [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:43:31 [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:43:32 -- Detecting C compile features - done 16:43:32 -- Check for working CXX compiler: /usr/bin/c++ 16:43:32 -- Check for working CXX compiler: /usr/bin/c++ -- works 16:43:32 -- Detecting CXX compiler ABI info 16:43:32 -- Detecting CXX compiler ABI info - done 16:43:32 -- Detecting CXX compile features 16:43:32 [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:43:32 [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 16:43:33 [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:43:33 [ 65%] Linking C shared library libcsdk.so 16:43:33 [ 65%] Built target csdk 16:43:33 Scanning dependencies of target template 16:43:33 [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:43:33 [ 68%] Linking C executable template 16:43:33 [ 68%] Built target template 16:43:33 Scanning dependencies of target device-counter 16:43:33 [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:43:33 [ 71%] Linking C executable device-counter 16:43:33 [ 71%] Built target device-counter 16:43:33 Scanning dependencies of target device-random 16:43:33 [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:43:34 [ 74%] Linking C executable device-random 16:43:34 [ 74%] Built target device-random 16:43:34 Scanning dependencies of target device-gyro 16:43:34 [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:43:34 [ 77%] Linking C executable device-gyro 16:43:34 [ 77%] Built target device-gyro 16:43:34 Scanning dependencies of target template-discovery 16:43:34 [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:43:34 [ 80%] Linking C executable template-discovery 16:43:34 [ 80%] Built target template-discovery 16:43:34 Scanning dependencies of target device-terminal 16:43:34 [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:43:34 [ 84%] Linking C executable device-terminal 16:43:34 -- Detecting CXX compile features - done 16:43:34 -- Looking for include file endian.h 16:43:34 -- Looking for include file endian.h - found 16:43:34 -- Check if the system is big endian 16:43:34 -- Searching 16 bit integer 16:43:34 -- Looking for sys/types.h 16:43:34 [ 84%] Built target device-terminal 16:43:34 Scanning dependencies of target template2 16:43:34 [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o 16:43:34 [ 87%] Linking C executable template2 16:43:34 [ 87%] Built target template2 16:43:34 Scanning dependencies of target device-counterv2 16:43:34 [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o 16:43:34 -- Looking for sys/types.h - found 16:43:34 -- Looking for stdint.h 16:43:34 -- Looking for stdint.h - found 16:43:34 -- Looking for stddef.h 16:43:35 [ 90%] Linking C executable device-counterv2 16:43:35 [ 90%] Built target device-counterv2 16:43:35 Scanning dependencies of target device-gyrov2 16:43:35 [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o 16:43:35 -- Looking for stddef.h - found 16:43:35 -- Check size of unsigned short 16:43:35 [ 93%] Linking C executable device-gyrov2 16:43:35 [ 93%] Built target device-gyrov2 16:43:35 Scanning dependencies of target device-randomv2 16:43:35 [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o 16:43:35 [ 96%] Linking C executable device-randomv2 16:43:35 -- Check size of unsigned short - done 16:43:35 -- Using unsigned short 16:43:35 [ 96%] Built target device-randomv2 16:43:35 Scanning dependencies of target device-terminalv2 16:43:35 [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o 16:43:35 [100%] Linking C executable device-terminalv2 16:43:35 -- Check if the system is big endian - little endian 16:43:35 -- Check size of size_t 16:43:35 [100%] Built target device-terminalv2 16:43:35 + make package 16:43:35 + tee -a release.log 16:43:35 [ 65%] Built target csdk 16:43:35 [ 68%] Built target template 16:43:35 [ 71%] Built target device-counter 16:43:35 [ 74%] Built target device-random 16:43:35 [ 77%] Built target device-gyro 16:43:35 [ 80%] Built target template-discovery 16:43:35 [ 84%] Built target device-terminal 16:43:35 [ 87%] Built target template2 16:43:35 [ 90%] Built target device-counterv2 16:43:35 [ 93%] Built target device-gyrov2 16:43:35 [ 96%] Built target device-randomv2 16:43:35 [100%] Built target device-terminalv2 16:43:35 -- Check size of size_t - done 16:43:35 CMake Warning at examples/CMakeLists.txt:16 (find_package): 16:43:35 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 16:43:35 asked CMake to find a package configuration file provided by "cJSON", but 16:43:35 CMake did not find one. 16:43:35 16:43:35 Could not find a package configuration file provided by "cJSON" with any of 16:43:35 the following names: 16:43:35 16:43:35 cJSONConfig.cmake 16:43:35 cjson-config.cmake 16:43:35 16:43:35 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 16:43:35 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 16:43:35 provides a separate development package or SDK, be sure it has been 16:43:35 installed. 16:43:35 16:43:35 16:43:36 Run CPack packaging tool... 16:43:36 CPack: Create package using TGZ 16:43:36 CPack: Install projects 16:43:36 CPack: - Run preinstall target for: Csdk 16:43:36 CPack: - Install project: Csdk 16:43:36 -- Configuring done 16:43:36 -- Generating done 16:43:36 -- Build files have been written to: /tmp/cbor 16:43:36 CPack: Create package 16:43:36 CPack: - package: /tmp/sdk/build/release/csdk-1.2.0-dev.12.tar.gz generated. 16:43:36 + '[' false '=' true ] 16:43:36 + '[' false '=' true ] 16:43:36 + mkdir -p /tmp/sdk/build/debug 16:43:36 + cd /tmp/sdk/build/debug 16:43:36 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 16:43:36 -- The C compiler identification is GNU 8.3.0 16:43:36 -- Check for working C compiler: /usr/bin/cc 16:43:36 -- Check for working C compiler: /usr/bin/cc -- works 16:43:36 -- Detecting C compiler ABI info 16:43:36 Scanning dependencies of target cbor_shared 16:43:36 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 16:43:36 -- Detecting C compiler ABI info - done 16:43:36 -- Detecting C compile features 16:43:36 -- Detecting C compile features - done 16:43:36 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:43:36 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 16:43:36 -- Found LIBYAML: /usr/lib/libyaml.so 16:43:36 -- Found LIBUUID: /usr/lib/libuuid.so 16:43:36 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:43:36 -- C SDK 1.2.0-dev.12 for Linux 16:43:36 -- Performing Test CSDK_HAVE_ATOMIC 16:43:36 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:43:36 -- Found Curses: /usr/lib/libcurses.so 16:43:36 -- Configuring done 16:43:36 -- Generating done 16:43:36 -- Build files have been written to: /tmp/sdk/build/debug 16:43:36 + make 16:43:36 + tee debug.log 16:43:37 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 16:43:37 Scanning dependencies of target csdk 16:43:37 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:43:37 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 16:43:37 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:43:37 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:43:37 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:43:37 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 16:43:37 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:43:37 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:43:37 [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:43:37 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 16:43:37 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:43:37 [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:43:37 [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:43:38 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:43:38 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:43:38 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:43:38 [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:43:38 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:43:38 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:43:38 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 16:43:38 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:43:38 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:43:38 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 16:43:38 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:43:38 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:43:38 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:43:38 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:43:38 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:43:39 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 16:43:39 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:43:39 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:43:39 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:43:39 [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:43:39 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 16:43:39 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 16:43:39 [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:43:39 [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:43:39 [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:43:39 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 16:43:39 [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:43:39 [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:43:39 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:43:39 [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:43:40 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 16:43:40 [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:43:40 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 16:43:40 [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:43:40 [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:43:40 [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 16:43:40 [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:43:40 [ 65%] Linking C shared library libcsdk.so 16:43:41 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 16:43:41 [ 65%] Built target csdk 16:43:41 Scanning dependencies of target template 16:43:41 [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:43:41 [ 68%] Linking C executable template 16:43:41 [ 68%] Built target template 16:43:41 Scanning dependencies of target device-counter 16:43:41 [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:43:41 [ 71%] Linking C executable device-counter 16:43:41 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 16:43:41 [ 71%] Built target device-counter 16:43:41 Scanning dependencies of target device-random 16:43:41 [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:43:41 [ 74%] Linking C executable device-random 16:43:41 [ 74%] Built target device-random 16:43:41 Scanning dependencies of target device-gyro 16:43:41 [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:43:41 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 16:43:41 [ 77%] Linking C executable device-gyro 16:43:41 [ 77%] Built target device-gyro 16:43:41 Scanning dependencies of target template-discovery 16:43:41 [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:43:41 [ 80%] Linking C executable template-discovery 16:43:41 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 16:43:41 [ 80%] Built target template-discovery 16:43:41 Scanning dependencies of target device-terminal 16:43:41 [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:43:41 [ 84%] Linking C executable device-terminal 16:43:42 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 16:43:42 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 16:43:42 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 16:43:42 [ 84%] Built target device-terminal 16:43:42 Scanning dependencies of target template2 16:43:42 [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o 16:43:42 [ 87%] Linking C executable template2 16:43:42 [ 87%] Built target template2 16:43:42 Scanning dependencies of target device-counterv2 16:43:42 [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o 16:43:42 [ 90%] Linking C executable device-counterv2 16:43:42 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 16:43:42 [ 40%] Linking C shared library libcbor.so 16:43:42 [ 40%] Built target cbor_shared 16:43:42 Scanning dependencies of target cbor 16:43:43 [ 90%] Built target device-counterv2 16:43:43 Scanning dependencies of target device-gyrov2 16:43:43 [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o 16:43:43 [ 93%] Linking C executable device-gyrov2 16:43:43 [ 93%] Built target device-gyrov2 16:43:43 Scanning dependencies of target device-randomv2 16:43:43 [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o 16:43:43 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 16:43:43 [ 96%] Linking C executable device-randomv2 16:43:43 [ 96%] Built target device-randomv2 16:43:43 Scanning dependencies of target device-terminalv2 16:43:43 [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o 16:43:43 [100%] Linking C executable device-terminalv2 16:43:43 [100%] Built target device-terminalv2 16:43:43 make: Entering directory '/tmp/sdk/build/release' 16:43:43 make[1]: Entering directory '/tmp/sdk/build/release' 16:43:43 make[2]: Entering directory '/tmp/sdk/build/release' 16:43:43 Scanning dependencies of target csdk 16:43:43 make[2]: Leaving directory '/tmp/sdk/build/release' 16:43:43 make[2]: Entering directory '/tmp/sdk/build/release' 16:43:43 [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:43:43 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 16:43:43 [ 3%] Linking C shared library libcsdk.so 16:43:43 make[2]: Leaving directory '/tmp/sdk/build/release' 16:43:43 [ 65%] Built target csdk 16:43:43 make[2]: Entering directory '/tmp/sdk/build/release' 16:43:43 make[2]: Leaving directory '/tmp/sdk/build/release' 16:43:43 make[2]: Entering directory '/tmp/sdk/build/release' 16:43:43 [ 66%] Linking C executable template 16:43:44 make[2]: Leaving directory '/tmp/sdk/build/release' 16:43:44 [ 68%] Built target template 16:43:44 make[2]: Entering directory '/tmp/sdk/build/release' 16:43:44 make[2]: Leaving directory '/tmp/sdk/build/release' 16:43:44 make[2]: Entering directory '/tmp/sdk/build/release' 16:43:44 [ 69%] Linking C executable device-counter 16:43:44 make[2]: Leaving directory '/tmp/sdk/build/release' 16:43:44 [ 71%] Built target device-counter 16:43:44 make[2]: Entering directory '/tmp/sdk/build/release' 16:43:44 make[2]: Leaving directory '/tmp/sdk/build/release' 16:43:44 make[2]: Entering directory '/tmp/sdk/build/release' 16:43:44 [ 73%] Linking C executable device-random 16:43:44 make[2]: Leaving directory '/tmp/sdk/build/release' 16:43:44 [ 74%] Built target device-random 16:43:44 make[2]: Entering directory '/tmp/sdk/build/release' 16:43:44 make[2]: Leaving directory '/tmp/sdk/build/release' 16:43:44 make[2]: Entering directory '/tmp/sdk/build/release' 16:43:44 [ 76%] Linking C executable device-gyro 16:43:44 make[2]: Leaving directory '/tmp/sdk/build/release' 16:43:44 [ 77%] Built target device-gyro 16:43:44 make[2]: Entering directory '/tmp/sdk/build/release' 16:43:44 make[2]: Leaving directory '/tmp/sdk/build/release' 16:43:44 make[2]: Entering directory '/tmp/sdk/build/release' 16:43:44 [ 79%] Linking C executable template-discovery 16:43:44 make[2]: Leaving directory '/tmp/sdk/build/release' 16:43:44 [ 80%] Built target template-discovery 16:43:44 make[2]: Entering directory '/tmp/sdk/build/release' 16:43:44 make[2]: Leaving directory '/tmp/sdk/build/release' 16:43:44 make[2]: Entering directory '/tmp/sdk/build/release' 16:43:44 [ 82%] Linking C executable device-terminal 16:43:44 make[2]: Leaving directory '/tmp/sdk/build/release' 16:43:44 [ 84%] Built target device-terminal 16:43:44 make[2]: Entering directory '/tmp/sdk/build/release' 16:43:44 make[2]: Leaving directory '/tmp/sdk/build/release' 16:43:44 make[2]: Entering directory '/tmp/sdk/build/release' 16:43:44 [ 85%] Linking C executable template2 16:43:44 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 16:43:44 make[2]: Leaving directory '/tmp/sdk/build/release' 16:43:44 [ 87%] Built target template2 16:43:44 make[2]: Entering directory '/tmp/sdk/build/release' 16:43:44 make[2]: Leaving directory '/tmp/sdk/build/release' 16:43:44 make[2]: Entering directory '/tmp/sdk/build/release' 16:43:44 [ 88%] Linking C executable device-counterv2 16:43:44 make[2]: Leaving directory '/tmp/sdk/build/release' 16:43:44 [ 90%] Built target device-counterv2 16:43:44 make[2]: Entering directory '/tmp/sdk/build/release' 16:43:44 make[2]: Leaving directory '/tmp/sdk/build/release' 16:43:44 make[2]: Entering directory '/tmp/sdk/build/release' 16:43:44 [ 92%] Linking C executable device-gyrov2 16:43:44 make[2]: Leaving directory '/tmp/sdk/build/release' 16:43:44 [ 93%] Built target device-gyrov2 16:43:44 make[2]: Entering directory '/tmp/sdk/build/release' 16:43:44 make[2]: Leaving directory '/tmp/sdk/build/release' 16:43:44 make[2]: Entering directory '/tmp/sdk/build/release' 16:43:44 [ 95%] Linking C executable device-randomv2 16:43:44 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 16:43:44 make[2]: Leaving directory '/tmp/sdk/build/release' 16:43:44 [ 96%] Built target device-randomv2 16:43:44 make[2]: Entering directory '/tmp/sdk/build/release' 16:43:44 make[2]: Leaving directory '/tmp/sdk/build/release' 16:43:44 make[2]: Entering directory '/tmp/sdk/build/release' 16:43:44 [ 98%] Linking C executable device-terminalv2 16:43:44 make[2]: Leaving directory '/tmp/sdk/build/release' 16:43:44 [100%] Built target device-terminalv2 16:43:44 make[1]: Leaving directory '/tmp/sdk/build/release' 16:43:44 Install the project... 16:43:44 -- Install configuration: "Release" 16:43:44 -- Installing: /usr/local/lib/libcsdk.so 16:43:44 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 16:43:44 -- Up-to-date: /usr/local/include 16:43:44 -- Installing: /usr/local/include/devsdk 16:43:44 -- Installing: /usr/local/include/devsdk/devsdk-base.h 16:43:44 -- Installing: /usr/local/include/devsdk/devsdk.h 16:43:44 -- Installing: /usr/local/include/edgex 16:43:44 -- Installing: /usr/local/include/edgex/device-mgmt.h 16:43:44 -- Installing: /usr/local/include/edgex/devices.h 16:43:44 -- Installing: /usr/local/include/edgex/devsdk.h 16:43:44 -- Installing: /usr/local/include/edgex/edgex-base.h 16:43:44 -- Installing: /usr/local/include/edgex/edgex-logging.h 16:43:44 -- Installing: /usr/local/include/edgex/edgex.h 16:43:44 -- Installing: /usr/local/include/edgex/error.h 16:43:44 -- Installing: /usr/local/include/edgex/eventgen.h 16:43:44 -- Installing: /usr/local/include/edgex/os.h 16:43:44 -- Installing: /usr/local/include/edgex/profiles.h 16:43:44 -- Installing: /usr/local/include/edgex/registry.h 16:43:44 -- Installing: /usr/local/include/edgex/rest-server.h 16:43:44 -- Installing: /usr/local/include/edgex/csdk-defs.h 16:43:44 -- Installing: /usr/local/include/iot 16:43:44 -- Installing: /usr/local/include/iot/base64.h 16:43:44 -- Installing: /usr/local/include/iot/component.h 16:43:44 -- Installing: /usr/local/include/iot/container.h 16:43:44 -- Installing: /usr/local/include/iot/data.h 16:43:44 -- Installing: /usr/local/include/iot/hash.h 16:43:44 -- Installing: /usr/local/include/iot/iot.h 16:43:44 -- Installing: /usr/local/include/iot/json.h 16:43:44 -- Installing: /usr/local/include/iot/logger.h 16:43:44 -- Installing: /usr/local/include/iot/os.h 16:43:44 -- Installing: /usr/local/include/iot/scheduler.h 16:43:44 -- Installing: /usr/local/include/iot/thread.h 16:43:44 -- Installing: /usr/local/include/iot/threadpool.h 16:43:44 -- Installing: /usr/local/include/iot/time.h 16:43:44 -- Installing: /usr/local/include/iot/os 16:43:44 -- Installing: /usr/local/include/iot/os/linux.h 16:43:44 -- Installing: /usr/local/include/iot/os/zephyr.h 16:43:44 -- Installing: /usr/local/share/device-sdk-c/LICENSE 16:43:44 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 16:43:44 make: Leaving directory '/tmp/sdk/build/release' 16:43:45 Removing intermediate container e53d880c6ebd 16:43:45 ---> 67d6a56052c1 16:43:45 Step 14/21 : FROM alpine:3.9 16:43:45 3.9: Pulling from library/alpine 16:43:46 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 16:43:46 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 16:43:46 9123ac7c32f7: Pulling fs layer 16:43:46 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 16:43:46 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 16:43:46 9123ac7c32f7: Verifying Checksum 16:43:46 9123ac7c32f7: Download complete 16:43:46 9123ac7c32f7: Pull complete 16:43:46 Digest: sha256:115731bab0862031b44766733890091c17924f9b7781b79997f5f163be262178 16:43:46 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 16:43:46 Status: Downloaded newer image for alpine:3.9 16:43:46 ---> 82f67be598eb 16:43:46 Step 15/21 : MAINTAINER IOTech 16:43:46 ---> Running in 38f804f5ce29 16:43:46 Removing intermediate container 38f804f5ce29 16:43:46 ---> 928ac39d3b0c 16:43:46 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 16:43:46 ---> Running in cfcf0854a467 16:43:46 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 16:43:47 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 16:43:47 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 16:43:47 (1/48) Installing binutils (2.31.1-r2) 16:43:47 (2/48) Installing libmagic (5.36-r1) 16:43:47 (3/48) Installing file (5.36-r1) 16:43:47 (4/48) Installing gmp (6.1.2-r1) 16:43:47 (5/48) Installing isl (0.18-r0) 16:43:47 (6/48) Installing libgomp (8.3.0-r0) 16:43:47 (7/48) Installing libatomic (8.3.0-r0) 16:43:47 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 16:43:47 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 16:43:48 (8/48) Installing libgcc (8.3.0-r0) 16:43:48 (9/48) Installing mpfr3 (3.1.5-r1) 16:43:48 (10/48) Installing mpc1 (1.0.3-r1) 16:43:48 (11/48) Installing libstdc++ (8.3.0-r0) 16:43:48 (12/48) Installing gcc (8.3.0-r0) 16:43:48 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 16:43:48 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 16:43:48 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 16:43:49 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 16:43:49 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 16:43:49 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 16:43:50 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 16:43:50 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 16:43:50 [ 80%] Linking C static library libcbor.a 16:43:50 [ 80%] Built target cbor 16:43:50 Scanning dependencies of target create_items 16:43:50 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 16:43:50 [ 84%] Linking C executable create_items 16:43:50 [ 84%] Built target create_items 16:43:50 Scanning dependencies of target readfile 16:43:50 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 16:43:51 [ 88%] Linking C executable readfile 16:43:51 [ 88%] Built target readfile 16:43:51 Scanning dependencies of target streaming_parser 16:43:51 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 16:43:51 (13/48) Installing musl-dev (1.1.20-r5) 16:43:51 [ 92%] Linking C executable streaming_parser 16:43:51 [ 92%] Built target streaming_parser 16:43:51 Scanning dependencies of target sort 16:43:51 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 16:43:51 (14/48) Installing libc-dev (0.7.1-r0) 16:43:51 (15/48) Installing g++ (8.3.0-r0) 16:43:51 [ 96%] Linking C executable sort 16:43:51 [ 96%] Built target sort 16:43:51 Scanning dependencies of target hello 16:43:51 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 16:43:52 [100%] Linking C executable hello 16:43:52 [100%] Built target hello 16:43:52 Install the project... 16:43:52 -- Install configuration: "Release" 16:43:52 -- Installing: /usr/local/include/cbor/configuration.h 16:43:52 -- Installing: /usr/local/lib64/libcbor.a 16:43:52 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 16:43:52 -- Installing: /usr/local/lib64/libcbor.so.0 16:43:52 -- Installing: /usr/local/lib64/libcbor.so 16:43:52 -- Up-to-date: /usr/local/include/cbor 16:43:52 -- Installing: /usr/local/include/cbor/common.h 16:43:52 -- Installing: /usr/local/include/cbor/serialization.h 16:43:52 -- Installing: /usr/local/include/cbor/encoding.h 16:43:52 -- Installing: /usr/local/include/cbor/maps.h 16:43:52 -- Installing: /usr/local/include/cbor/strings.h 16:43:52 -- Installing: /usr/local/include/cbor/arrays.h 16:43:52 -- Installing: /usr/local/include/cbor/internal 16:43:52 -- Installing: /usr/local/include/cbor/internal/loaders.h 16:43:52 -- Installing: /usr/local/include/cbor/internal/stack.h 16:43:52 -- Installing: /usr/local/include/cbor/internal/unicode.h 16:43:52 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 16:43:52 -- Installing: /usr/local/include/cbor/internal/encoders.h 16:43:52 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 16:43:52 -- Installing: /usr/local/include/cbor/data.h 16:43:52 -- Installing: /usr/local/include/cbor/floats_ctrls.h 16:43:52 -- Installing: /usr/local/include/cbor/bytestrings.h 16:43:52 -- Installing: /usr/local/include/cbor/tags.h 16:43:52 -- Installing: /usr/local/include/cbor/streaming.h 16:43:52 -- Installing: /usr/local/include/cbor/ints.h 16:43:52 -- Installing: /usr/local/include/cbor/callbacks.h 16:43:52 -- Installing: /usr/local/include/cbor.h 16:43:52 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 16:43:52 (16/48) Installing make (4.2.1-r2) 16:43:52 (17/48) Installing fortify-headers (1.0-r0) 16:43:52 (18/48) Installing build-base (0.5-r1) 16:43:52 (19/48) Installing libattr (2.4.47-r7) 16:43:52 (20/48) Installing libacl (2.2.52-r5) 16:43:52 (21/48) Installing libbz2 (1.0.6-r7) 16:43:52 (22/48) Installing expat (2.2.8-r0) 16:43:52 (23/48) Installing lz4-libs (1.8.3-r2) 16:43:52 (24/48) Installing xz-libs (5.2.4-r0) 16:43:52 (25/48) Installing libarchive (3.3.3-r2) 16:43:52 (26/48) Installing ca-certificates (20190108-r0) 16:43:52 (27/48) Installing nghttp2-libs (1.35.1-r1) 16:43:52 (28/48) Installing libssh2 (1.9.0-r1) 16:43:52 (29/48) Installing libcurl (7.64.0-r3) 16:43:52 (30/48) Installing ncurses-terminfo-base (6.1_p20190105-r0) 16:43:52 (31/48) Installing ncurses-terminfo (6.1_p20190105-r0) 16:43:52 (32/48) Installing ncurses-libs (6.1_p20190105-r0) 16:43:52 (33/48) Installing rhash-libs (1.3.6-r2) 16:43:52 (34/48) Installing libuv (1.23.2-r0) 16:43:52 (35/48) Installing cmake (3.13.0-r0) 16:43:53 (36/48) Installing curl (7.64.0-r3) 16:43:53 (37/48) Installing pcre2 (10.32-r1) 16:43:53 (38/48) Installing git (2.20.2-r0) 16:43:54 (39/48) Installing nettle (3.4.1-r0) 16:43:54 (40/48) Installing libffi (3.2.1-r6) 16:43:54 (41/48) Installing p11-kit (0.23.14-r0) 16:43:54 (42/48) Installing libtasn1 (4.14-r0) 16:43:54 (43/48) Installing libunistring (0.9.10-r0) 16:43:54 (44/48) Installing gnutls (3.6.7-r1) 16:43:54 (45/48) Installing libmicrohttpd (0.9.62-r0) 16:43:54 (46/48) Installing libuuid (2.33-r0) 16:43:54 (47/48) Installing wget (1.20.3-r0) 16:43:54 Removing intermediate container 87cf0ef721df 16:43:54 ---> 9079e7acfbc3 16:43:54 Step 6/21 : RUN mkdir /tmp/sdk 16:43:54 ---> Running in dfd6a8b4df2f 16:43:54 (48/48) Installing yaml (0.2.1-r0) 16:43:54 Executing busybox-1.29.3-r10.trigger 16:43:54 Executing ca-certificates-20190108-r0.trigger 16:43:55 OK: 222 MiB in 62 packages 16:43:56 Removing intermediate container dfd6a8b4df2f 16:43:56 ---> 6016d6757831 16:43:56 Step 7/21 : COPY VERSION /tmp/sdk 16:43:56 ---> ba2f44110e64 16:43:56 Step 8/21 : COPY src /tmp/sdk/src 16:43:57 ---> 4ee84840b2be 16:43:57 Step 9/21 : COPY include /tmp/sdk/include 16:43:58 ---> 063bdaa65c4c 16:43:58 Step 10/21 : COPY scripts /tmp/sdk/scripts 16:43:58 ---> bd1bebc69dd3 16:43:58 Step 11/21 : COPY LICENSE /tmp/sdk 16:43:59 ---> 78470bdc3370 16:43:59 Step 12/21 : COPY Attribution.txt /tmp/sdk 16:43:59 ---> 7e5f0e5c9430 16:43:59 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 16:43:59 ---> Running in 374840f70be6 16:44:00 + CPPCHECK=false 16:44:00 + DOCGEN=false 16:44:00 + TOMLVER=SDK-0.2 16:44:00 + CUTILVER=1.0.0 16:44:00 + '[' 0 -gt 0 ] 16:44:00 + readlink -f ./scripts/build.sh 16:44:00 + dirname /tmp/sdk/scripts/build.sh 16:44:00 + dirname /tmp/sdk/scripts 16:44:00 + ROOT=/tmp/sdk 16:44:00 + cd /tmp/sdk 16:44:00 + '[' '!' -d deps ] 16:44:00 + mkdir deps 16:44:00 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:44:00 + tar -C deps -z -x -f - 16:44:00 --2020-04-01 16:44:00-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:44:00 Resolving github.com... 140.82.112.4 16:44:00 Connecting to github.com|140.82.112.4|:443... connected. 16:44:00 HTTP request sent, awaiting response... 302 Found 16:44:00 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 16:44:00 --2020-04-01 16:44:00-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 16:44:00 Resolving codeload.github.com... 140.82.113.10 16:44:00 Connecting to codeload.github.com|140.82.113.10|:443... connected. 16:44:01 HTTP request sent, awaiting response... 200 OK 16:44:01 Length: unspecified [application/x-gzip] 16:44:01 Saving to: 'STDOUT' 16:44:01  16:44:01 0K .......... ......    903K=0.02s 16:44:01 16:44:01 2020-04-01 16:44:00 (903 KB/s) - written to stdout [16451] 16:44:01 16:44:01 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 16:44:01 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.0.tar.gz 16:44:01 + tar -C deps -z -x -f - 16:44:01 --2020-04-01 16:44:00-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.0.tar.gz 16:44:01 Resolving github.com... 140.82.112.4 16:44:01 Connecting to github.com|140.82.112.4|:443... connected. 16:44:01 HTTP request sent, awaiting response... 302 Found 16:44:01 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.0 [following] 16:44:01 --2020-04-01 16:44:01-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.0 16:44:01 Resolving codeload.github.com... 140.82.113.9 16:44:01 Connecting to codeload.github.com|140.82.113.9|:443... connected. 16:44:01 HTTP request sent, awaiting response... 200 OK 16:44:01 Length: unspecified [application/x-gzip] 16:44:01 Saving to: 'STDOUT' 16:44:01  16:44:01 0K .......... .......... .......... .......... .......... 1.53M 16:44:01 50K .......... .......... .......... .......... .......... 3.50M 16:44:01 100K .......... .......... .......... .......... ........ 4.49M=0.06s 16:44:01 16:44:01 2020-04-01 16:44:01 (2.57 MB/s) - written to stdout [151809] 16:44:01 16:44:01 + mkdir -p src/c/iot 16:44:01 + 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:44:01 + mkdir -p include/iot 16:44:01 + 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:44:01 + mkdir -p include/iot/os 16:44:01 + 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:44:01 + mkdir -p /tmp/sdk/build/release 16:44:01 + cd /tmp/sdk/build/release 16:44:01 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 16:44:01 -- The C compiler identification is GNU 8.3.0 16:44:01 -- Check for working C compiler: /usr/bin/cc 16:44:01 Removing intermediate container cfcf0854a467 16:44:01 ---> 9af104e9505d 16:44:01 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 16:44:01 ---> faed2a299c39 16:44:01 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 16:44:01 ---> f6bea7e6bbb5 16:44:01 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 16:44:01 ---> 943481dd1494 16:44:01 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 16:44:02 -- Check for working C compiler: /usr/bin/cc -- works 16:44:02 -- Detecting C compiler ABI info 16:44:02 ---> bee56fd563b1 16:44:02 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 16:44:02 ---> 92c0f9ec15c5 16:44:02 -- Detecting C compiler ABI info - done 16:44:02 -- Detecting C compile features 16:44:02 Successfully built 92c0f9ec15c5 16:44:02 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:03 + docker inspect -f . ci-base-image-x86_64 16:44:03 . [Pipeline] withDockerContainer 16:44:03 prd-centos7-docker-4c-2g-1758 does not seem to be running inside a container 16:44:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/12 -v /w/workspace/device-sdk-c/12:/w/workspace/device-sdk-c/12:rw,z -v /w/workspace/device-sdk-c/12@tmp:/w/workspace/device-sdk-c/12@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 ******** ci-base-image-x86_64 cat 16:44:03 -- Detecting C compile features - done 16:44:03 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:44:03 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 16:44:03 -- Found LIBYAML: /usr/lib/libyaml.so 16:44:03 -- Found LIBUUID: /usr/lib/libuuid.so 16:44:03 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:44:03 -- C SDK 1.2.0-dev.12 for Linux 16:44:03 -- Performing Test CSDK_HAVE_ATOMIC 16:44:03 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:44:03 -- Found Curses: /usr/lib/libcurses.so 16:44:03 -- Configuring done 16:44:03 $ docker top 07ac35ee1e8931507aebea632d19a2126983b35f6d586d788bec2c8e9bff42a9 -eo pid,comm 16:44:03 -- Generating done 16:44:03 -- Build files have been written to: /tmp/sdk/build/release 16:44:03 + make 16:44:03 + tee release.log [Pipeline] { [Pipeline] sh 16:44:04 Scanning dependencies of target csdk 16:44:04 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:44:04 + make test 16:44:04 echo "make test" 16:44:04 make test [Pipeline] } 16:44:04 $ docker stop --time=1 07ac35ee1e8931507aebea632d19a2126983b35f6d586d788bec2c8e9bff42a9 16:44:04 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 16:44:05 [ 4%] 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:07 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:44:07 $ docker rm -f 07ac35ee1e8931507aebea632d19a2126983b35f6d586d788bec2c8e9bff42a9 16:44:07 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 16:44:08 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [Pipeline] sh 16:44:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:44:08 + ls -al . 16:44:08 total 160 16:44:08 drwxrwxr-x. 8 jenkins jenkins 260 Apr 1 16:43 . 16:44:08 drwxrwxr-x. 4 jenkins jenkins 30 Apr 1 16:42 .. 16:44:08 -rw-rw-r--. 1 jenkins jenkins 3104 Apr 1 16:42 Attribution.txt 16:44:08 -rw-rw-r--. 1 jenkins jenkins 4941 Apr 1 16:42 CHANGES 16:44:08 drwxrwxr-x. 2 jenkins jenkins 144 Apr 1 16:42 docs 16:44:08 -rw-rw-r--. 1 jenkins jenkins 108574 Apr 1 16:42 Doxyfile 16:44:08 drwxrwxr-x. 8 jenkins jenkins 162 Apr 1 16:43 .git 16:44:08 -rw-rw-r--. 1 jenkins jenkins 176 Apr 1 16:42 .gitignore 16:44:08 drwxrwxr-x. 4 jenkins jenkins 33 Apr 1 16:42 include 16:44:08 -rw-rw-r--. 1 jenkins jenkins 792 Apr 1 16:42 Jenkinsfile 16:44:08 -rw-rw-r--. 1 jenkins jenkins 10174 Apr 1 16:42 LICENSE 16:44:08 -rw-rw-r--. 1 jenkins jenkins 448 Apr 1 16:42 Makefile 16:44:08 -rw-rw-r--. 1 jenkins jenkins 1849 Apr 1 16:42 README.md 16:44:08 -rw-rw-r--. 1 jenkins jenkins 5031 Apr 1 16:42 README.v2.md 16:44:08 drwxrwxr-x. 2 jenkins jenkins 106 Apr 1 16:42 scripts 16:44:08 drwxrwxr-x. 3 jenkins jenkins 44 Apr 1 16:43 .semver 16:44:08 drwxrwxr-x. 4 jenkins jenkins 50 Apr 1 16:42 src 16:44:08 -rw-rw-r--. 1 jenkins jenkins 12 Apr 1 16:40 VERSION [Pipeline] isUnix [Pipeline] sh 16:44:09 + 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=2dbf24a1b53c33901c5f522cb6a5de4931bffa5e --label arch=amd64 --label version=1.2.0-dev.12 . 16:44:09 Sending build context to Docker daemon 2.936MB 16:44:09 Step 1/15 : ARG BASE=alpine:3.9 16:44:09 Step 2/15 : FROM ${BASE} 16:44:09 ---> 92c0f9ec15c5 16:44:09 Step 3/15 : MAINTAINER IOTech 16:44:09 ---> Running in 0ec42d5fc908 16:44:09 Removing intermediate container 0ec42d5fc908 16:44:09 ---> 1ca3da5f636c 16:44:09 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:09 ---> Running in 6996f2bef2f3 16:44:09 [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:44:09 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:44:10 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 16:44:10 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 16:44:10 (1/21) Installing pkgconf (1.6.0-r0) 16:44:10 (2/21) Installing openssl-dev (1.1.1d-r2) 16:44:10 (3/21) Installing zlib-dev (1.2.11-r1) 16:44:10 (4/21) Installing libssh2-dev (1.9.0-r1) 16:44:10 (5/21) Installing nghttp2-dev (1.35.1-r1) 16:44:10 (6/21) Installing curl-dev (7.64.0-r3) 16:44:10 (7/21) Installing gnutls-c++ (3.6.7-r1) 16:44:10 (8/21) Installing libgmpxx (6.1.2-r1) 16:44:10 (9/21) Installing gmp-dev (6.1.2-r1) 16:44:10 (10/21) Installing nettle-dev (3.4.1-r0) 16:44:10 [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:44:10 (11/21) Installing libtasn1-dev (4.14-r0) 16:44:10 (12/21) Installing p11-kit-dev (0.23.14-r0) 16:44:10 (13/21) Installing gnutls-dev (3.6.7-r1) 16:44:10 (14/21) Installing libmicrohttpd-dev (0.9.62-r0) 16:44:10 (15/21) Installing ncurses-dev (6.1_p20190105-r0) 16:44:10 (16/21) Installing libblkid (2.33-r0) 16:44:10 (17/21) Installing libfdisk (2.33-r0) 16:44:10 (18/21) Installing libmount (2.33-r0) 16:44:10 (19/21) Installing libsmartcols (2.33-r0) 16:44:10 (20/21) Installing util-linux-dev (2.33-r0) 16:44:10 (21/21) Installing yaml-dev (0.2.1-r0) 16:44:10 Executing busybox-1.29.3-r10.trigger 16:44:10 OK: 265 MiB in 83 packages 16:44:10 [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:44:11 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:44:11 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:44:11 Removing intermediate container 6996f2bef2f3 16:44:11 ---> 65af2789b6a6 16:44:11 Step 5/15 : COPY VERSION /edgex-c-sdk/ 16:44:11 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:44:11 ---> cb4975262af5 16:44:11 Step 6/15 : COPY src /edgex-c-sdk/src/ 16:44:11 ---> 3910ca65f9f3 16:44:11 Step 7/15 : COPY include /edgex-c-sdk/include/ 16:44:11 ---> 7a57316925ae 16:44:11 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 16:44:12 ---> e6a9cac22e76 16:44:12 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 16:44:12 ---> c18aef13a9f5 16:44:12 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 16:44:12 ---> ed2612cb918d 16:44:12 Step 11/15 : WORKDIR /edgex-c-sdk 16:44:12 ---> Running in 60e7c70ce832 16:44:12 Removing intermediate container 60e7c70ce832 16:44:12 ---> 0e3bdbcf106e 16:44:12 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 16:44:12 ---> Running in 05f3513f4fa3 16:44:12 Removing intermediate container 05f3513f4fa3 16:44:12 ---> eda498cfacfc 16:44:12 Step 13/15 : LABEL arch=amd64 16:44:13 ---> Running in 159b6e5ed669 16:44:13 Removing intermediate container 159b6e5ed669 16:44:13 ---> a50de38f349d 16:44:13 Step 14/15 : LABEL git_sha=2dbf24a1b53c33901c5f522cb6a5de4931bffa5e 16:44:13 ---> Running in 4b9249f5c5b2 16:44:13 Removing intermediate container 4b9249f5c5b2 16:44:13 ---> aa1671aa8b80 16:44:13 Step 15/15 : LABEL version=1.2.0-dev.12 16:44:13 ---> Running in c7524da7162c 16:44:13 Removing intermediate container c7524da7162c 16:44:13 ---> 960ba4782d35 16:44:13 [Warning] One or more build-args [ARCH MAKE] were not consumed 16:44:13 Successfully built 960ba4782d35 16:44:13 Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:44:15 [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:44:15 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:44:15 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:44:15 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:44:17 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:44:17 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:44:18 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:44:18 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:44:18 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:44:19 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:44:20 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:44:20 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:44:21 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:44:21 [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:44:21 [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:44:22 [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:44:22 [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:44:26 [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:44:27 [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:44:27 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:44:27 [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:44:29 [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:44:30 [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:44:34 [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:44:34 [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 16:44:35 [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:44:36 [ 65%] Linking C shared library libcsdk.so 16:44:36 [ 65%] Built target csdk 16:44:36 Scanning dependencies of target template 16:44:36 [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:44:36 [ 68%] Linking C executable template 16:44:37 [ 68%] Built target template 16:44:37 Scanning dependencies of target device-counter 16:44:37 [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:44:37 [ 71%] Linking C executable device-counter 16:44:37 [ 71%] Built target device-counter 16:44:37 Scanning dependencies of target device-random 16:44:37 [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:44:38 [ 74%] Linking C executable device-random 16:44:38 [ 74%] Built target device-random 16:44:38 Scanning dependencies of target device-gyro 16:44:38 [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:44:38 [ 77%] Linking C executable device-gyro 16:44:39 [ 77%] Built target device-gyro 16:44:39 Scanning dependencies of target template-discovery 16:44:39 [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:44:39 [ 80%] Linking C executable template-discovery 16:44:39 [ 80%] Built target template-discovery 16:44:39 Scanning dependencies of target device-terminal 16:44:39 [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:44:40 [ 84%] Linking C executable device-terminal 16:44:40 [ 84%] Built target device-terminal 16:44:40 Scanning dependencies of target template2 16:44:40 [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o 16:44:41 [ 87%] Linking C executable template2 16:44:41 [ 87%] Built target template2 16:44:41 Scanning dependencies of target device-counterv2 16:44:41 [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o 16:44:41 [ 90%] Linking C executable device-counterv2 16:44:42 [ 90%] Built target device-counterv2 16:44:42 Scanning dependencies of target device-gyrov2 16:44:42 [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o 16:44:42 [ 93%] Linking C executable device-gyrov2 16:44:42 [ 93%] Built target device-gyrov2 16:44:42 Scanning dependencies of target device-randomv2 16:44:43 [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o 16:44:43 [ 96%] Linking C executable device-randomv2 16:44:43 [ 96%] Built target device-randomv2 16:44:43 Scanning dependencies of target device-terminalv2 16:44:43 [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o 16:44:44 [100%] Linking C executable device-terminalv2 16:44:44 [100%] Built target device-terminalv2 16:44:44 + make package 16:44:44 + tee -a release.log 16:44:44 [ 65%] Built target csdk 16:44:44 [ 68%] Built target template 16:44:44 [ 71%] Built target device-counter 16:44:44 [ 74%] Built target device-random 16:44:44 [ 77%] Built target device-gyro 16:44:44 [ 80%] Built target template-discovery 16:44:44 [ 84%] Built target device-terminal 16:44:45 [ 87%] Built target template2 16:44:45 [ 90%] Built target device-counterv2 16:44:45 [ 93%] Built target device-gyrov2 16:44:45 [ 96%] Built target device-randomv2 16:44:45 [100%] Built target device-terminalv2 16:44:45 Run CPack packaging tool... 16:44:45 CPack: Create package using TGZ 16:44:45 CPack: Install projects 16:44:45 CPack: - Run preinstall target for: Csdk 16:44:45 CPack: - Install project: Csdk 16:44:45 CPack: Create package 16:44:45 CPack: - package: /tmp/sdk/build/release/csdk-1.2.0-dev.12.tar.gz generated. 16:44:45 + '[' false '=' true ] 16:44:45 + '[' false '=' true ] 16:44:45 + mkdir -p /tmp/sdk/build/debug 16:44:45 + cd /tmp/sdk/build/debug 16:44:45 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 16:44:46 -- The C compiler identification is GNU 8.3.0 16:44:46 -- Check for working C compiler: /usr/bin/cc 16:44:46 -- Check for working C compiler: /usr/bin/cc -- works 16:44:46 -- Detecting C compiler ABI info 16:44:46 -- Detecting C compiler ABI info - done 16:44:46 -- Detecting C compile features 16:44:47 -- Detecting C compile features - done 16:44:47 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:44:47 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 16:44:47 -- Found LIBYAML: /usr/lib/libyaml.so 16:44:47 -- Found LIBUUID: /usr/lib/libuuid.so 16:44:47 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:44:47 -- C SDK 1.2.0-dev.12 for Linux 16:44:47 -- Performing Test CSDK_HAVE_ATOMIC 16:44:47 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:44:47 -- Found Curses: /usr/lib/libcurses.so 16:44:47 -- Configuring done 16:44:48 -- Generating done 16:44:48 -- Build files have been written to: /tmp/sdk/build/debug 16:44:48 + make 16:44:48 + tee debug.log 16:44:48 Scanning dependencies of target csdk 16:44:48 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:44:49 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 16:44:49 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:44:49 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:44:49 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:44:50 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:44:50 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:44:51 [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:44:51 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:44:51 [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:44:51 [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:44:52 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:44:52 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:44:52 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:44:53 [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:44:53 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:44:53 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:44:53 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:44:54 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:44:54 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:44:54 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:44:55 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:44:55 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:44:55 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:44:55 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:44:55 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:44:56 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:44:56 [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:44:56 [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:44:56 [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:44:57 [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:44:58 [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:44:58 [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:44:58 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:44:59 [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:44:59 [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:45:00 [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:45:01 [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:45:01 [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 16:45:01 [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:45:01 [ 65%] Linking C shared library libcsdk.so 16:45:02 [ 65%] Built target csdk 16:45:02 Scanning dependencies of target template 16:45:02 [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:45:02 [ 68%] Linking C executable template 16:45:02 [ 68%] Built target template 16:45:02 Scanning dependencies of target device-counter 16:45:02 [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:45:02 [ 71%] Linking C executable device-counter 16:45:03 [ 71%] Built target device-counter 16:45:03 Scanning dependencies of target device-random 16:45:03 [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:45:03 [ 74%] Linking C executable device-random 16:45:03 [ 74%] Built target device-random 16:45:03 Scanning dependencies of target device-gyro 16:45:03 [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:45:03 [ 77%] Linking C executable device-gyro 16:45:04 [ 77%] Built target device-gyro 16:45:04 Scanning dependencies of target template-discovery 16:45:04 [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:45:04 [ 80%] Linking C executable template-discovery 16:45:04 [ 80%] Built target template-discovery 16:45:04 Scanning dependencies of target device-terminal 16:45:04 [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:45:05 [ 84%] Linking C executable device-terminal 16:45:05 [ 84%] Built target device-terminal 16:45:05 Scanning dependencies of target template2 16:45:05 [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o 16:45:05 [ 87%] Linking C executable template2 16:45:05 [ 87%] Built target template2 16:45:05 Scanning dependencies of target device-counterv2 16:45:05 [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o 16:45:06 [ 90%] Linking C executable device-counterv2 16:45:06 [ 90%] Built target device-counterv2 16:45:06 Scanning dependencies of target device-gyrov2 16:45:06 [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o 16:45:06 [ 93%] Linking C executable device-gyrov2 16:45:06 [ 93%] Built target device-gyrov2 16:45:06 Scanning dependencies of target device-randomv2 16:45:06 [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o 16:45:07 [ 96%] Linking C executable device-randomv2 16:45:07 [ 96%] Built target device-randomv2 16:45:07 Scanning dependencies of target device-terminalv2 16:45:07 [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o 16:45:07 [100%] Linking C executable device-terminalv2 16:45:07 [100%] Built target device-terminalv2 16:45:07 make: Entering directory '/tmp/sdk/build/release' 16:45:07 make[1]: Entering directory '/tmp/sdk/build/release' 16:45:07 make[2]: Entering directory '/tmp/sdk/build/release' 16:45:07 Scanning dependencies of target csdk 16:45:07 make[2]: Leaving directory '/tmp/sdk/build/release' 16:45:07 make[2]: Entering directory '/tmp/sdk/build/release' 16:45:07 [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:45:09 [ 3%] Linking C shared library libcsdk.so 16:45:09 make[2]: Leaving directory '/tmp/sdk/build/release' 16:45:09 [ 65%] Built target csdk 16:45:09 make[2]: Entering directory '/tmp/sdk/build/release' 16:45:09 make[2]: Leaving directory '/tmp/sdk/build/release' 16:45:09 make[2]: Entering directory '/tmp/sdk/build/release' 16:45:09 [ 66%] Linking C executable template 16:45:09 make[2]: Leaving directory '/tmp/sdk/build/release' 16:45:09 [ 68%] Built target template 16:45:09 make[2]: Entering directory '/tmp/sdk/build/release' 16:45:09 make[2]: Leaving directory '/tmp/sdk/build/release' 16:45:09 make[2]: Entering directory '/tmp/sdk/build/release' 16:45:09 [ 69%] Linking C executable device-counter 16:45:10 make[2]: Leaving directory '/tmp/sdk/build/release' 16:45:10 [ 71%] Built target device-counter 16:45:10 make[2]: Entering directory '/tmp/sdk/build/release' 16:45:10 make[2]: Leaving directory '/tmp/sdk/build/release' 16:45:10 make[2]: Entering directory '/tmp/sdk/build/release' 16:45:10 [ 73%] Linking C executable device-random 16:45:10 make[2]: Leaving directory '/tmp/sdk/build/release' 16:45:10 [ 74%] Built target device-random 16:45:10 make[2]: Entering directory '/tmp/sdk/build/release' 16:45:10 make[2]: Leaving directory '/tmp/sdk/build/release' 16:45:10 make[2]: Entering directory '/tmp/sdk/build/release' 16:45:10 [ 76%] Linking C executable device-gyro 16:45:10 make[2]: Leaving directory '/tmp/sdk/build/release' 16:45:10 [ 77%] Built target device-gyro 16:45:10 make[2]: Entering directory '/tmp/sdk/build/release' 16:45:10 make[2]: Leaving directory '/tmp/sdk/build/release' 16:45:10 make[2]: Entering directory '/tmp/sdk/build/release' 16:45:10 [ 79%] Linking C executable template-discovery 16:45:10 make[2]: Leaving directory '/tmp/sdk/build/release' 16:45:10 [ 80%] Built target template-discovery 16:45:10 make[2]: Entering directory '/tmp/sdk/build/release' 16:45:10 make[2]: Leaving directory '/tmp/sdk/build/release' 16:45:10 make[2]: Entering directory '/tmp/sdk/build/release' 16:45:10 [ 82%] Linking C executable device-terminal 16:45:11 make[2]: Leaving directory '/tmp/sdk/build/release' 16:45:11 [ 84%] Built target device-terminal 16:45:11 make[2]: Entering directory '/tmp/sdk/build/release' 16:45:11 make[2]: Leaving directory '/tmp/sdk/build/release' 16:45:11 make[2]: Entering directory '/tmp/sdk/build/release' 16:45:11 [ 85%] Linking C executable template2 16:45:11 make[2]: Leaving directory '/tmp/sdk/build/release' 16:45:11 [ 87%] Built target template2 16:45:11 make[2]: Entering directory '/tmp/sdk/build/release' 16:45:11 make[2]: Leaving directory '/tmp/sdk/build/release' 16:45:11 make[2]: Entering directory '/tmp/sdk/build/release' 16:45:11 [ 88%] Linking C executable device-counterv2 16:45:11 make[2]: Leaving directory '/tmp/sdk/build/release' 16:45:11 [ 90%] Built target device-counterv2 16:45:11 make[2]: Entering directory '/tmp/sdk/build/release' 16:45:11 make[2]: Leaving directory '/tmp/sdk/build/release' 16:45:11 make[2]: Entering directory '/tmp/sdk/build/release' 16:45:11 [ 92%] Linking C executable device-gyrov2 16:45:12 make[2]: Leaving directory '/tmp/sdk/build/release' 16:45:12 [ 93%] Built target device-gyrov2 16:45:12 make[2]: Entering directory '/tmp/sdk/build/release' 16:45:12 make[2]: Leaving directory '/tmp/sdk/build/release' 16:45:12 make[2]: Entering directory '/tmp/sdk/build/release' 16:45:12 [ 95%] Linking C executable device-randomv2 16:45:12 make[2]: Leaving directory '/tmp/sdk/build/release' 16:45:12 [ 96%] Built target device-randomv2 16:45:12 make[2]: Entering directory '/tmp/sdk/build/release' 16:45:12 make[2]: Leaving directory '/tmp/sdk/build/release' 16:45:12 make[2]: Entering directory '/tmp/sdk/build/release' 16:45:12 [ 98%] Linking C executable device-terminalv2 16:45:12 make[2]: Leaving directory '/tmp/sdk/build/release' 16:45:12 [100%] Built target device-terminalv2 16:45:12 make[1]: Leaving directory '/tmp/sdk/build/release' 16:45:12 Install the project... 16:45:12 -- Install configuration: "Release" 16:45:12 -- Installing: /usr/local/lib/libcsdk.so 16:45:12 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 16:45:12 -- Up-to-date: /usr/local/include 16:45:12 -- Installing: /usr/local/include/devsdk 16:45:12 -- Installing: /usr/local/include/devsdk/devsdk-base.h 16:45:12 -- Installing: /usr/local/include/devsdk/devsdk.h 16:45:12 -- Installing: /usr/local/include/edgex 16:45:12 -- Installing: /usr/local/include/edgex/devices.h 16:45:12 -- Installing: /usr/local/include/edgex/edgex.h 16:45:12 -- Installing: /usr/local/include/edgex/device-mgmt.h 16:45:12 -- Installing: /usr/local/include/edgex/profiles.h 16:45:12 -- Installing: /usr/local/include/edgex/edgex-base.h 16:45:12 -- Installing: /usr/local/include/edgex/error.h 16:45:12 -- Installing: /usr/local/include/edgex/registry.h 16:45:12 -- Installing: /usr/local/include/edgex/rest-server.h 16:45:12 -- Installing: /usr/local/include/edgex/os.h 16:45:12 -- Installing: /usr/local/include/edgex/devsdk.h 16:45:12 -- Installing: /usr/local/include/edgex/eventgen.h 16:45:12 -- Installing: /usr/local/include/edgex/edgex-logging.h 16:45:12 -- Installing: /usr/local/include/edgex/csdk-defs.h 16:45:12 -- Installing: /usr/local/include/iot 16:45:12 -- Installing: /usr/local/include/iot/hash.h 16:45:12 -- Installing: /usr/local/include/iot/thread.h 16:45:12 -- Installing: /usr/local/include/iot/json.h 16:45:12 -- Installing: /usr/local/include/iot/os 16:45:12 -- Installing: /usr/local/include/iot/os/zephyr.h 16:45:12 -- Installing: /usr/local/include/iot/os/linux.h 16:45:12 -- Installing: /usr/local/include/iot/base64.h 16:45:12 -- Installing: /usr/local/include/iot/container.h 16:45:12 -- Installing: /usr/local/include/iot/data.h 16:45:12 -- Installing: /usr/local/include/iot/threadpool.h 16:45:12 -- Installing: /usr/local/include/iot/scheduler.h 16:45:12 -- Installing: /usr/local/include/iot/component.h 16:45:12 -- Installing: /usr/local/include/iot/os.h 16:45:12 -- Installing: /usr/local/include/iot/logger.h 16:45:12 -- Installing: /usr/local/include/iot/time.h 16:45:12 -- Installing: /usr/local/include/iot/iot.h 16:45:12 -- Installing: /usr/local/share/device-sdk-c/LICENSE 16:45:12 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 16:45:12 make: Leaving directory '/tmp/sdk/build/release' 16:45:15 Removing intermediate container 374840f70be6 16:45:15 ---> 39b732f43810 16:45:15 Step 14/21 : FROM alpine:3.9 16:45:15 3.9: Pulling from library/alpine 16:45:15 eb93038481dd: Pulling fs layer 16:45:15 eb93038481dd: Download complete 16:45:16 eb93038481dd: Pull complete 16:45:16 Digest: sha256:115731bab0862031b44766733890091c17924f9b7781b79997f5f163be262178 16:45:16 Status: Downloaded newer image for alpine:3.9 16:45:16 ---> 355993758880 16:45:16 Step 15/21 : MAINTAINER IOTech 16:45:16 ---> Running in b929d6e74ff7 16:45:16 Removing intermediate container b929d6e74ff7 16:45:16 ---> 3eda1346c64e 16:45:16 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 16:45:16 ---> Running in eb4ae9b553c8 16:45:17 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 16:45:17 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 16:45:18 (1/48) Installing binutils (2.31.1-r2) 16:45:18 (2/48) Installing libmagic (5.36-r1) 16:45:18 (3/48) Installing file (5.36-r1) 16:45:18 (4/48) Installing gmp (6.1.2-r1) 16:45:18 (5/48) Installing isl (0.18-r0) 16:45:18 (6/48) Installing libgomp (8.3.0-r0) 16:45:18 (7/48) Installing libatomic (8.3.0-r0) 16:45:18 (8/48) Installing libgcc (8.3.0-r0) 16:45:18 (9/48) Installing mpfr3 (3.1.5-r1) 16:45:18 (10/48) Installing mpc1 (1.0.3-r1) 16:45:18 (11/48) Installing libstdc++ (8.3.0-r0) 16:45:18 (12/48) Installing gcc (8.3.0-r0) 16:45:20 (13/48) Installing musl-dev (1.1.20-r5) 16:45:20 (14/48) Installing libc-dev (0.7.1-r0) 16:45:20 (15/48) Installing g++ (8.3.0-r0) 16:45:21 (16/48) Installing make (4.2.1-r2) 16:45:21 (17/48) Installing fortify-headers (1.0-r0) 16:45:21 (18/48) Installing build-base (0.5-r1) 16:45:21 (19/48) Installing libattr (2.4.47-r7) 16:45:21 (20/48) Installing libacl (2.2.52-r5) 16:45:21 (21/48) Installing libbz2 (1.0.6-r7) 16:45:21 (22/48) Installing expat (2.2.8-r0) 16:45:21 (23/48) Installing lz4-libs (1.8.3-r2) 16:45:21 (24/48) Installing xz-libs (5.2.4-r0) 16:45:21 (25/48) Installing libarchive (3.3.3-r2) 16:45:21 (26/48) Installing ca-certificates (20190108-r0) 16:45:21 (27/48) Installing nghttp2-libs (1.35.1-r1) 16:45:21 (28/48) Installing libssh2 (1.9.0-r1) 16:45:21 (29/48) Installing libcurl (7.64.0-r3) 16:45:21 (30/48) Installing ncurses-terminfo-base (6.1_p20190105-r0) 16:45:21 (31/48) Installing ncurses-terminfo (6.1_p20190105-r0) 16:45:22 (32/48) Installing ncurses-libs (6.1_p20190105-r0) 16:45:22 (33/48) Installing rhash-libs (1.3.6-r2) 16:45:22 (34/48) Installing libuv (1.23.2-r0) 16:45:22 (35/48) Installing cmake (3.13.0-r0) 16:45:24 (36/48) Installing curl (7.64.0-r3) 16:45:24 (37/48) Installing pcre2 (10.32-r1) 16:45:24 (38/48) Installing git (2.20.2-r0) 16:45:24 (39/48) Installing nettle (3.4.1-r0) 16:45:24 (40/48) Installing libffi (3.2.1-r6) 16:45:24 (41/48) Installing p11-kit (0.23.14-r0) 16:45:24 (42/48) Installing libtasn1 (4.14-r0) 16:45:24 (43/48) Installing libunistring (0.9.10-r0) 16:45:24 (44/48) Installing gnutls (3.6.7-r1) 16:45:24 (45/48) Installing libmicrohttpd (0.9.62-r0) 16:45:24 (46/48) Installing libuuid (2.33-r0) 16:45:24 (47/48) Installing wget (1.20.3-r0) 16:45:24 (48/48) Installing yaml (0.2.1-r0) 16:45:24 Executing busybox-1.29.3-r10.trigger 16:45:24 Executing ca-certificates-20190108-r0.trigger 16:45:24 OK: 219 MiB in 62 packages 16:45:39 Removing intermediate container eb4ae9b553c8 16:45:39 ---> ad4850852972 16:45:39 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 16:45:39 ---> 4e7c25f8614c 16:45:39 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 16:45:39 ---> 92e17ae35790 16:45:39 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 16:45:39 ---> 318063cc8cc6 16:45:39 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 16:45:40 ---> 4ac8f363148d 16:45:40 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 16:45:40 ---> 90a719eb6c53 16:45:40 Successfully built 90a719eb6c53 16:45:40 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:45:41 + docker inspect -f . ci-base-image-arm64 16:45:41 . [Pipeline] withDockerContainer 16:45:42 prd-ubuntu18.04-docker-arm64-4c-16g-1757 does not seem to be running inside a container 16:45:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/12 -v /w/workspace/device-sdk-c/12:/w/workspace/device-sdk-c/12:rw,z -v /w/workspace/device-sdk-c/12@tmp:/w/workspace/device-sdk-c/12@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 ******** ci-base-image-arm64 cat 16:45:43 $ docker top eb52c86f57c752edba4825afff259e663219c20f97186e6571a1f74b9913d171 -eo pid,comm [Pipeline] { [Pipeline] sh 16:45:44 + make test 16:45:44 echo "make test" 16:45:44 make test [Pipeline] } 16:45:44 $ docker stop --time=1 eb52c86f57c752edba4825afff259e663219c20f97186e6571a1f74b9913d171 16:45:46 $ docker rm -f eb52c86f57c752edba4825afff259e663219c20f97186e6571a1f74b9913d171 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:45:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:45:47 + ls -al . 16:45:47 total 192 16:45:47 drwxrwxr-x 8 jenkins jenkins 4096 Apr 1 16:43 . 16:45:47 drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 16:42 .. 16:45:47 drwxrwxr-x 8 jenkins jenkins 4096 Apr 1 16:42 .git 16:45:47 -rw-rw-r-- 1 jenkins jenkins 176 Apr 1 16:42 .gitignore 16:45:47 drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 16:43 .semver 16:45:47 -rw-rw-r-- 1 jenkins jenkins 3104 Apr 1 16:42 Attribution.txt 16:45:47 -rw-rw-r-- 1 jenkins jenkins 4941 Apr 1 16:42 CHANGES 16:45:47 -rw-rw-r-- 1 jenkins jenkins 108574 Apr 1 16:42 Doxyfile 16:45:47 -rw-rw-r-- 1 jenkins jenkins 792 Apr 1 16:42 Jenkinsfile 16:45:47 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 1 16:42 LICENSE 16:45:47 -rw-rw-r-- 1 jenkins jenkins 448 Apr 1 16:42 Makefile 16:45:47 -rw-rw-r-- 1 jenkins jenkins 1849 Apr 1 16:42 README.md 16:45:47 -rw-rw-r-- 1 jenkins jenkins 5031 Apr 1 16:42 README.v2.md 16:45:47 -rw-rw-r-- 1 jenkins jenkins 12 Apr 1 16:40 VERSION 16:45:47 drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 16:42 docs 16:45:47 drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 16:42 include 16:45:47 drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 16:42 scripts 16:45:47 drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 16:42 src [Pipeline] isUnix [Pipeline] sh 16:45:48 + 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=2dbf24a1b53c33901c5f522cb6a5de4931bffa5e --label arch=arm64 --label version=1.2.0-dev.12 . 16:45:48 Sending build context to Docker daemon 2.936MB 16:45:48 Step 1/15 : ARG BASE=alpine:3.9 16:45:48 Step 2/15 : FROM ${BASE} 16:45:48 ---> 90a719eb6c53 16:45:48 Step 3/15 : MAINTAINER IOTech 16:45:48 ---> Running in cace9dbb04bd 16:45:49 Removing intermediate container cace9dbb04bd 16:45:49 ---> e1a95664fc81 16:45:49 Step 4/15 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev && mkdir -p /edgex-c-sdk/build 16:45:49 ---> Running in e6728003f354 16:45:50 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 16:45:50 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 16:45:51 (1/21) Installing pkgconf (1.6.0-r0) 16:45:51 (2/21) Installing openssl-dev (1.1.1d-r2) 16:45:51 (3/21) Installing zlib-dev (1.2.11-r1) 16:45:51 (4/21) Installing libssh2-dev (1.9.0-r1) 16:45:51 (5/21) Installing nghttp2-dev (1.35.1-r1) 16:45:51 (6/21) Installing curl-dev (7.64.0-r3) 16:45:51 (7/21) Installing gnutls-c++ (3.6.7-r1) 16:45:51 (8/21) Installing libgmpxx (6.1.2-r1) 16:45:51 (9/21) Installing gmp-dev (6.1.2-r1) 16:45:51 (10/21) Installing nettle-dev (3.4.1-r0) 16:45:51 (11/21) Installing libtasn1-dev (4.14-r0) 16:45:51 (12/21) Installing p11-kit-dev (0.23.14-r0) 16:45:51 (13/21) Installing gnutls-dev (3.6.7-r1) 16:45:52 (14/21) Installing libmicrohttpd-dev (0.9.62-r0) 16:45:52 (15/21) Installing ncurses-dev (6.1_p20190105-r0) 16:45:52 (16/21) Installing libblkid (2.33-r0) 16:45:52 (17/21) Installing libfdisk (2.33-r0) 16:45:52 (18/21) Installing libmount (2.33-r0) 16:45:52 (19/21) Installing libsmartcols (2.33-r0) 16:45:52 (20/21) Installing util-linux-dev (2.33-r0) 16:45:52 (21/21) Installing yaml-dev (0.2.1-r0) 16:45:52 Executing busybox-1.29.3-r10.trigger 16:45:52 OK: 279 MiB in 83 packages 16:45:55 Removing intermediate container e6728003f354 16:45:55 ---> 45fbc331676c 16:45:55 Step 5/15 : COPY VERSION /edgex-c-sdk/ 16:45:55 ---> 72a9582b2056 16:45:55 Step 6/15 : COPY src /edgex-c-sdk/src/ 16:45:56 ---> 43d3d009a426 16:45:56 Step 7/15 : COPY include /edgex-c-sdk/include/ 16:45:56 ---> 58c229ea368a 16:45:56 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 16:45:57 ---> 8424a1c28714 16:45:57 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 16:45:58 ---> 5f91fa2ab177 16:45:58 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 16:45:58 ---> 9aef054ec672 16:45:58 Step 11/15 : WORKDIR /edgex-c-sdk 16:45:58 ---> Running in d25c82756b1e 16:45:58 Removing intermediate container d25c82756b1e 16:45:58 ---> 3248f09134c9 16:45:58 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 16:45:59 ---> Running in 51d4f966d64f 16:45:59 Removing intermediate container 51d4f966d64f 16:45:59 ---> 7a94ef151320 16:45:59 Step 13/15 : LABEL arch=arm64 16:45:59 ---> Running in 04192f9a50dd 16:45:59 Removing intermediate container 04192f9a50dd 16:45:59 ---> aca8d7f0bf4c 16:45:59 Step 14/15 : LABEL git_sha=2dbf24a1b53c33901c5f522cb6a5de4931bffa5e 16:45:59 ---> Running in a1096ba142d0 16:46:00 Removing intermediate container a1096ba142d0 16:46:00 ---> 8577c98c7202 16:46:00 Step 15/15 : LABEL version=1.2.0-dev.12 16:46:00 ---> Running in 6bb6e0b6f56e 16:46:00 Removing intermediate container 6bb6e0b6f56e 16:46:00 ---> 5de984a08dbf 16:46:00 [Warning] One or more build-args [ARCH MAKE] were not consumed 16:46:00 Successfully built 5de984a08dbf 16:46:00 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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh 16:46:02 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:46:02 . [Pipeline] withDockerContainer 16:46:02 prd-centos7-docker-4c-2g-1756 does not seem to be running inside a container 16:46:02 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:46:03 $ docker top 6c5d54ad0d18c0043c24154fd226374a7a310c6cef3af2b15319f934b3c9f793 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:46:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:46:03 [ssh-agent] Looking for ssh-agent implementation... 16:46:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:46:03 $ docker exec 6c5d54ad0d18c0043c24154fd226374a7a310c6cef3af2b15319f934b3c9f793 ssh-agent 16:46:03 SSH_AUTH_SOCK=/tmp/ssh-IGo5hEjaYj0M/agent.14 16:46:03 SSH_AGENT_PID=20 16:46:03 Running ssh-add (command line suppressed) 16:46:03 Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_3996240546268582898.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_3996240546268582898.key) 16:46:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:46:04 + git semver tag 16:46:04 # -> Open(): unable to determine branch for HEAD 16:46:04 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git 16:46:04 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master 16:46:04 # $SEMVER_REMOTE_NAME = origin 16:46:04 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 16:46:04 # $SEMVER_USER_NAME = jenkins 16:46:04 # $SEMVER_BRANCH = master 16:46:04 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver 16:46:04 # 2dbf24a1b53c33901c5f522cb6a5de4931bffa5e HEAD 16:46:04 # -> Force: false 16:46:04 # 5e2ffd71d20a440e8bb24986bfcc1f5d96723934 refs/tags/v1.2.0-dev.12 [Pipeline] } 16:46:04 $ docker exec --env ******** --env ******** 6c5d54ad0d18c0043c24154fd226374a7a310c6cef3af2b15319f934b3c9f793 ssh-agent -k 16:46:04 unset SSH_AUTH_SOCK; 16:46:04 unset SSH_AGENT_PID; 16:46:04 echo Agent pid 20 killed; 16:46:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:46:04 + git semver [Pipeline] } 16:46:04 $ docker stop --time=1 6c5d54ad0d18c0043c24154fd226374a7a310c6cef3af2b15319f934b3c9f793 16:46:06 $ docker rm -f 6c5d54ad0d18c0043c24154fd226374a7a310c6cef3af2b15319f934b3c9f793 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 16:46:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:46:06 16:46:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 16:46:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:46:07 0.23.1-centos7: Pulling from edgex-lftools 16:46:07 ab5ef0e58194: Pulling fs layer 16:46:07 9712f1f96733: Pulling fs layer 16:46:07 63f879dbbcfc: Pulling fs layer 16:46:07 0d9ebad4ef96: Pulling fs layer 16:46:07 e9a5061849ea: Pulling fs layer 16:46:07 d747dcd14b5f: Pulling fs layer 16:46:07 2de7ff778b66: Pulling fs layer 16:46:07 0d9ebad4ef96: Waiting 16:46:07 e9a5061849ea: Waiting 16:46:07 d747dcd14b5f: Waiting 16:46:07 2de7ff778b66: Waiting 16:46:07 9712f1f96733: Download complete 16:46:07 63f879dbbcfc: Verifying Checksum 16:46:07 63f879dbbcfc: Download complete 16:46:08 e9a5061849ea: Download complete 16:46:08 d747dcd14b5f: Verifying Checksum 16:46:08 d747dcd14b5f: Download complete 16:46:08 0d9ebad4ef96: Verifying Checksum 16:46:08 0d9ebad4ef96: Download complete 16:46:08 ab5ef0e58194: Verifying Checksum 16:46:08 ab5ef0e58194: Download complete 16:46:08 2de7ff778b66: Verifying Checksum 16:46:08 2de7ff778b66: Download complete 16:46:12 ab5ef0e58194: Pull complete 16:46:12 9712f1f96733: Pull complete 16:46:15 63f879dbbcfc: Pull complete 16:46:22 0d9ebad4ef96: Pull complete 16:46:26 e9a5061849ea: Pull complete 16:46:26 d747dcd14b5f: Pull complete 16:46:27 2de7ff778b66: Pull complete 16:46:27 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:46:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 16:46:27 prd-centos7-docker-4c-2g-1756 does not seem to be running inside a container 16:46:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 16:46:28 $ docker top fe66f2bfbb8be8cca2c05fb56eee2821617a2ef8cf56766c5e342e049158a8df -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:46:28 provisioning config files... 16:46:28 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config3750255477362124106tmp 16:46:28 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config9111708041899813735tmp 16:46:28 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config6051926161638495211tmp [Pipeline] { [Pipeline] echo 16:46:28 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:46:29 ---> sigul-configuration.sh 16:46:29 gpg: directory `/root/.gnupg' created 16:46:29 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:46:29 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:46:29 gpg: keyring `/root/.gnupg/secring.gpg' created 16:46:29 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:46:29 gpg: CAST5 encrypted data 16:46:29 gpg: encrypted with 1 passphrase 16:46:29 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:46:29 + mkdir /home/jenkins 16:46:29 + mkdir /home/jenkins/sigul [Pipeline] sh 16:46:29 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo 16:46:29 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:46:30 ---> sigul-install.sh 16:46:38 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 16:46:38 + git tag --list 16:46:38 v1.2.0-dev.12 [Pipeline] sh 16:46:38 + lftools sign git-tag v1.2.0-dev.12 16:46:40 Signing Git tag with Sigul... 16:46:40 Signing v1.2.0-dev.12 [Pipeline] echo 16:46:41 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:46:41 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:46:41 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:46:41 $ docker stop --time=1 fe66f2bfbb8be8cca2c05fb56eee2821617a2ef8cf56766c5e342e049158a8df 16:46:43 $ docker rm -f fe66f2bfbb8be8cca2c05fb56eee2821617a2ef8cf56766c5e342e049158a8df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 16:46:43 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:46:43 . [Pipeline] withDockerContainer 16:46:43 prd-centos7-docker-4c-2g-1756 does not seem to be running inside a container 16:46:43 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:46:44 $ docker top 6ffcbf554a4ce5ce5afbfea49fb4c6000edf9d3184afbc5f85db4932508a0c37 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:46:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:46:44 [ssh-agent] Looking for ssh-agent implementation... 16:46:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:46:44 $ docker exec 6ffcbf554a4ce5ce5afbfea49fb4c6000edf9d3184afbc5f85db4932508a0c37 ssh-agent 16:46:45 SSH_AUTH_SOCK=/tmp/ssh-ECDRy2NJNa87/agent.15 16:46:45 SSH_AGENT_PID=22 16:46:45 Running ssh-add (command line suppressed) 16:46:45 Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_9205984729001279380.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_9205984729001279380.key) 16:46:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:46:45 + git semver bump pre 16:46:45 # -> Open(): unable to determine branch for HEAD 16:46:45 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git 16:46:45 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master 16:46:45 # $SEMVER_REMOTE_NAME = origin 16:46:45 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 16:46:45 # $SEMVER_USER_NAME = jenkins 16:46:45 # $SEMVER_BRANCH = master 16:46:45 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver 16:46:45 1.2.0-dev.13 [Pipeline] } 16:46:45 $ docker exec --env ******** --env ******** 6ffcbf554a4ce5ce5afbfea49fb4c6000edf9d3184afbc5f85db4932508a0c37 ssh-agent -k 16:46:45 unset SSH_AUTH_SOCK; 16:46:45 unset SSH_AGENT_PID; 16:46:45 echo Agent pid 22 killed; 16:46:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:46:46 + git semver [Pipeline] } 16:46:46 $ docker stop --time=1 6ffcbf554a4ce5ce5afbfea49fb4c6000edf9d3184afbc5f85db4932508a0c37 16:46:47 $ docker rm -f 6ffcbf554a4ce5ce5afbfea49fb4c6000edf9d3184afbc5f85db4932508a0c37 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 16:46:48 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:46:48 . [Pipeline] withDockerContainer 16:46:48 prd-centos7-docker-4c-2g-1756 does not seem to be running inside a container 16:46:48 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:46:48 $ docker top 0aee15be421705cc7ee6583ffd8392245d54fe27adee52c009f38bebdda6391e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:46:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:46:49 [ssh-agent] Looking for ssh-agent implementation... 16:46:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:46:49 $ docker exec 0aee15be421705cc7ee6583ffd8392245d54fe27adee52c009f38bebdda6391e ssh-agent 16:46:49 SSH_AUTH_SOCK=/tmp/ssh-YnQZi4IceC83/agent.14 16:46:49 SSH_AGENT_PID=21 16:46:49 Running ssh-add (command line suppressed) 16:46:49 Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_767043814002519728.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_767043814002519728.key) 16:46:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:46:50 + git semver push 16:46:50 # -> Open(): unable to determine branch for HEAD 16:46:50 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git 16:46:50 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master 16:46:50 # $SEMVER_REMOTE_NAME = origin 16:46:50 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 16:46:50 # $SEMVER_USER_NAME = jenkins 16:46:50 # $SEMVER_BRANCH = master 16:46:50 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [Pipeline] } 16:46:56 $ docker exec --env ******** --env ******** 0aee15be421705cc7ee6583ffd8392245d54fe27adee52c009f38bebdda6391e ssh-agent -k 16:46:56 unset SSH_AUTH_SOCK; 16:46:56 unset SSH_AGENT_PID; 16:46:56 echo Agent pid 21 killed; 16:46:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:46:57 + git semver [Pipeline] } 16:46:57 $ docker stop --time=1 0aee15be421705cc7ee6583ffd8392245d54fe27adee52c009f38bebdda6391e 16:46:58 $ docker rm -f 0aee15be421705cc7ee6583ffd8392245d54fe27adee52c009f38bebdda6391e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 16:46:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:46:59 ---> package-listing.sh 16:46:59 ++ facter osfamily 16:46:59 ++ tr '[:upper:]' '[:lower:]' 16:46:59 + OS_FAMILY=redhat 16:46:59 + workspace=/w/workspace/edgexfoundry_device-sdk-c_master 16:46:59 + START_PACKAGES=/tmp/packages_start.txt 16:46:59 + END_PACKAGES=/tmp/packages_end.txt 16:46:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:46:59 + PACKAGES=/tmp/packages_start.txt 16:46:59 + '[' /w/workspace/edgexfoundry_device-sdk-c_master ']' 16:46:59 + PACKAGES=/tmp/packages_end.txt 16:46:59 + case "${OS_FAMILY}" in 16:46:59 + rpm -qa 16:46:59 + sort 16:47:03 + '[' -f /tmp/packages_start.txt ']' 16:47:03 + '[' -f /tmp/packages_end.txt ']' 16:47:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:47:03 + '[' /w/workspace/edgexfoundry_device-sdk-c_master ']' 16:47:03 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_master/archives/ 16:47:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_master/archives/ [Pipeline] isUnix [Pipeline] sh 16:47:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:47:04 16:47:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 16:47:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:47:04 alpine: Pulling from edgex-lftools-log-publisher 16:47:04 c9b1b535fdd9: Pulling fs layer 16:47:04 2cc5ad85d9ab: Pulling fs layer 16:47:04 756a868c4378: Pulling fs layer 16:47:04 444b2fc9a129: Pulling fs layer 16:47:04 ea15f1150254: Pulling fs layer 16:47:04 41b27a9f41bf: Pulling fs layer 16:47:04 28c525ee5125: Pulling fs layer 16:47:04 094b1ea09ed8: Pulling fs layer 16:47:04 138eaada9080: Pulling fs layer 16:47:04 0622d0fa9048: Pulling fs layer 16:47:04 444b2fc9a129: Waiting 16:47:04 094b1ea09ed8: Waiting 16:47:04 ea15f1150254: Waiting 16:47:04 41b27a9f41bf: Waiting 16:47:04 28c525ee5125: Waiting 16:47:04 138eaada9080: Waiting 16:47:04 0622d0fa9048: Waiting 16:47:04 2cc5ad85d9ab: Verifying Checksum 16:47:04 2cc5ad85d9ab: Download complete 16:47:04 444b2fc9a129: Verifying Checksum 16:47:04 444b2fc9a129: Download complete 16:47:04 c9b1b535fdd9: Download complete 16:47:04 ea15f1150254: Verifying Checksum 16:47:04 ea15f1150254: Download complete 16:47:04 28c525ee5125: Verifying Checksum 16:47:04 28c525ee5125: Download complete 16:47:05 756a868c4378: Download complete 16:47:05 138eaada9080: Verifying Checksum 16:47:05 138eaada9080: Download complete 16:47:05 094b1ea09ed8: Verifying Checksum 16:47:05 094b1ea09ed8: Download complete 16:47:05 0622d0fa9048: Verifying Checksum 16:47:05 0622d0fa9048: Download complete 16:47:05 c9b1b535fdd9: Pull complete 16:47:05 2cc5ad85d9ab: Pull complete 16:47:05 41b27a9f41bf: Verifying Checksum 16:47:05 41b27a9f41bf: Download complete 16:47:07 756a868c4378: Pull complete 16:47:07 444b2fc9a129: Pull complete 16:47:07 ea15f1150254: Pull complete 16:47:11 41b27a9f41bf: Pull complete 16:47:11 28c525ee5125: Pull complete 16:47:14 094b1ea09ed8: Pull complete 16:47:14 138eaada9080: Pull complete 16:47:14 0622d0fa9048: Pull complete 16:47:14 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 16:47:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 16:47:14 prd-centos7-docker-4c-2g-1756 does not seem to be running inside a container 16:47:14 $ 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_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 16:47:14 $ docker top b6054cbf1afc79046565df5156d637fdaeef06573b4387a2a0756162d43302f8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:47:15 provisioning config files... 16:47:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config4385353090446850723tmp [Pipeline] { [Pipeline] echo 16:47:15 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:47:15 ---> create-netrc.sh [Pipeline] echo 16:47:15 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:47:15 ---> logs-deploy.sh 16:47:15 + ARCHIVE_ARTIFACTS= 16:47:15 + LOGS_SERVER=https://logs.edgexfoundry.org 16:47:15 + '[' https://logs.edgexfoundry.org == None ']' 16:47:15 + NEXUS_URL=https://nexus.edgexfoundry.org 16:47:15 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/master/12 16:47:15 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/master/12/ 16:47:15 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/master/12 /w/workspace/edgexfoundry_device-sdk-c_master 16:47:16 Archives upload complete. 16:47:17 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/master/12 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/master/12/