Pull request #239 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 549442fe523e2b87072d295f8539c8757b8b0825+3feb9d4d3796ac41883e4442a0148387b228722e (ff894c912bb4ba6c7bd1399526733cb0a1750491) Running in Durability level: MAX_SURVIVABILITY 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 b810438aec07f555226556e3b59abf2bab733840 using credential edgex-jenkins-access-pat Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository https://github.com/edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-239/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/tags/stable:refs/tags/stable # timeout=10 > 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 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 b810438aec07f555226556e3b59abf2bab733840 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b810438aec07f555226556e3b59abf2bab733840 # timeout=10 Commit message: "Merge pull request #114 from lranjbar/release-kraken" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-3.9-base, dockerFilePath:scripts/Dockerfile.alpine-3.9, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine-3.9 DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-3.9-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-c DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-293 in /w/workspace/edgexfoundry_device-sdk-c_PR-239 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-239 # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/239/head:refs/remotes/origin/PR-239 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/239/head:refs/remotes/origin/PR-239 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/239/head:refs/remotes/origin/PR-239 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 3feb9d4d3796ac41883e4442a0148387b228722e into PR head commit 549442fe523e2b87072d295f8539c8757b8b0825 Merge succeeded, producing 549442fe523e2b87072d295f8539c8757b8b0825 Checking out Revision 549442fe523e2b87072d295f8539c8757b8b0825 (PR-239) > git config core.sparsecheckout # timeout=10 > git checkout -f 549442fe523e2b87072d295f8539c8757b8b0825 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 3feb9d4d3796ac41883e4442a0148387b228722e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 549442fe523e2b87072d295f8539c8757b8b0825 # timeout=10 Commit message: "Build .tgz files alongside .rpms or .debs README: Add Debian package names for required libraries, update version number" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object b810438aec07f555226556e3b59abf2bab733840 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:25:31 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 11:25:34 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:25:34 11:25:34 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 11:25:34 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:25:34 latest: Pulling from edgex-devops/git-semver 11:25:34 9123ac7c32f7: Pulling fs layer 11:25:34 b8cc5d1170e3: Pulling fs layer 11:25:34 2924cbbf6a41: Pulling fs layer 11:25:34 93b08a4f1073: Pulling fs layer 11:25:34 93b08a4f1073: Waiting 11:25:34 b8cc5d1170e3: Verifying Checksum 11:25:34 b8cc5d1170e3: Download complete 11:25:34 9123ac7c32f7: Verifying Checksum 11:25:34 9123ac7c32f7: Download complete 11:25:34 93b08a4f1073: Verifying Checksum 11:25:34 93b08a4f1073: Download complete 11:25:34 2924cbbf6a41: Verifying Checksum 11:25:34 2924cbbf6a41: Download complete 11:25:34 9123ac7c32f7: Pull complete 11:25:34 b8cc5d1170e3: Pull complete 11:25:35 2924cbbf6a41: Pull complete 11:25:35 93b08a4f1073: Pull complete 11:25:35 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 11:25:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 11:25:35 prd-centos7-docker-4c-2g-293 does not seem to be running inside a container 11:25:35 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-239 -v /w/workspace/edgexfoundry_device-sdk-c_PR-239:/w/workspace/edgexfoundry_device-sdk-c_PR-239:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-239@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-239@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:25:36 $ docker top f44816dafbb4ddf2ccbb23d0c47ca0bd27088c27a330169842f31da9f4ac09d2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:25:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:25:36 [ssh-agent] Looking for ssh-agent implementation... 11:25:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:25:37 $ docker exec f44816dafbb4ddf2ccbb23d0c47ca0bd27088c27a330169842f31da9f4ac09d2 ssh-agent 11:25:37 SSH_AUTH_SOCK=/tmp/ssh-smOujOOGZ6BW/agent.15 11:25:37 SSH_AGENT_PID=22 11:25:37 Running ssh-add (command line suppressed) 11:25:37 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-239@tmp/private_key_6713131045029074494.key (/w/workspace/edgexfoundry_device-sdk-c_PR-239@tmp/private_key_6713131045029074494.key) 11:25:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:25:37 + git describe --exact-match --tags HEAD 11:25:37 fatal: No names found, cannot describe anything. [Pipeline] } 11:25:38 $ docker exec --env ******** --env ******** f44816dafbb4ddf2ccbb23d0c47ca0bd27088c27a330169842f31da9f4ac09d2 ssh-agent -k 11:25:38 unset SSH_AUTH_SOCK; 11:25:38 unset SSH_AGENT_PID; 11:25:38 echo Agent pid 22 killed; 11:25:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 11:25:38 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 11:25:38 This usually means this commit has not been tagged. [Pipeline] sshagent 11:25:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:25:38 [ssh-agent] Looking for ssh-agent implementation... 11:25:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:25:38 $ docker exec f44816dafbb4ddf2ccbb23d0c47ca0bd27088c27a330169842f31da9f4ac09d2 ssh-agent 11:25:38 SSH_AUTH_SOCK=/tmp/ssh-3RQXWGyNUWvY/agent.57 11:25:38 SSH_AGENT_PID=64 11:25:38 Running ssh-add (command line suppressed) 11:25:38 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-239@tmp/private_key_741232584249138171.key (/w/workspace/edgexfoundry_device-sdk-c_PR-239@tmp/private_key_741232584249138171.key) 11:25:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:25:39 + git semver init 11:25:39 # -> Open(): unable to determine branch for HEAD 11:25:39 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-239/.git 11:25:39 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-239 11:25:39 # $SEMVER_REMOTE_NAME = origin 11:25:39 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 11:25:39 # $SEMVER_USER_NAME = jenkins 11:25:39 # $SEMVER_BRANCH = PR-239 11:25:39 # $SEMVER_TEMP = /tmp/semver-388240652 11:25:39 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 11:25:39 # '/tmp/semver-388240652' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-239/.semver' 11:25:39 # -> Force: false 11:25:39 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-239/.semver [Pipeline] } 11:25:39 $ docker exec --env ******** --env ******** f44816dafbb4ddf2ccbb23d0c47ca0bd27088c27a330169842f31da9f4ac09d2 ssh-agent -k 11:25:40 unset SSH_AUTH_SOCK; 11:25:40 unset SSH_AGENT_PID; 11:25:40 echo Agent pid 64 killed; 11:25:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:25:40 + git semver [Pipeline] } 11:25:40 $ docker stop --time=1 f44816dafbb4ddf2ccbb23d0c47ca0bd27088c27a330169842f31da9f4ac09d2 11:25:42 $ docker rm -f f44816dafbb4ddf2ccbb23d0c47ca0bd27088c27a330169842f31da9f4ac09d2 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 11:25:42 Stashed 31 file(s) [Pipeline] echo 11:25:42 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 11:25:58 Still waiting to schedule task 11:25:58 Waiting for next available executor on ‘centos7-docker-4c-2g’ 11:25:58 Still waiting to schedule task 11:25:58 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 11:26:24 Running on prd-centos7-docker-4c-2g-294 in /w/workspace/edgexfoundry_device-sdk-c_PR-239 [Pipeline] { [Pipeline] ws 11:26:24 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 11:26:32 using credential edgex-jenkins-ssh 11:26:32 Cloning the remote Git repository 11:26:32 Cloning with configured refspecs honoured and without tags 11:26:33 Fetching without tags 11:26:32 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 11:26:32 > git init /w/workspace/device-sdk-c/1 # timeout=10 11:26:33 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 11:26:33 > git --version # timeout=10 11:26:33 using GIT_SSH to set credentials SSH Credentials for GitHub 11:26:33 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/239/head:refs/remotes/origin/PR-239 +refs/heads/master:refs/remotes/origin/master # timeout=10 11:26:33 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 11:26:33 > git config --add remote.origin.fetch +refs/pull/239/head:refs/remotes/origin/PR-239 # timeout=10 11:26:33 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 11:26:33 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 11:26:33 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 11:26:33 using GIT_SSH to set credentials SSH Credentials for GitHub 11:26:33 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/239/head:refs/remotes/origin/PR-239 +refs/heads/master:refs/remotes/origin/master # timeout=10 11:26:34 Merging remotes/origin/master commit 3feb9d4d3796ac41883e4442a0148387b228722e into PR head commit 549442fe523e2b87072d295f8539c8757b8b0825 11:26:34 Merge succeeded, producing 549442fe523e2b87072d295f8539c8757b8b0825 11:26:34 Checking out Revision 549442fe523e2b87072d295f8539c8757b8b0825 (PR-239) 11:26:34 > git config core.sparsecheckout # timeout=10 11:26:34 > git checkout -f 549442fe523e2b87072d295f8539c8757b8b0825 # timeout=10 11:26:34 > git remote # timeout=10 11:26:34 > git config --get remote.origin.url # timeout=10 11:26:34 using GIT_SSH to set credentials SSH Credentials for GitHub 11:26:34 > git merge 3feb9d4d3796ac41883e4442a0148387b228722e # timeout=10 11:26:34 > git rev-parse HEAD^{commit} # timeout=10 11:26:34 > git config core.sparsecheckout # timeout=10 11:26:34 > git checkout -f 549442fe523e2b87072d295f8539c8757b8b0825 # timeout=10 11:26:40 Commit message: "Build .tgz files alongside .rpms or .debs README: Add Debian package names for required libraries, update version number" 11:26:40 > git --version # timeout=10 11:26:40 fatal: bad object b810438aec07f555226556e3b59abf2bab733840 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 11:26:42 ========================================================= 11:26:42 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 11:26:42 ========================================================= [Pipeline] isUnix [Pipeline] sh 11:26:43 + 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 . 11:26:43 Sending build context to Docker daemon 2.828MB 11:26:43 Step 1/21 : ARG BASE=alpine:3.9 11:26:43 Step 2/21 : FROM ${BASE} as builder 11:26:43 latest: Pulling from edgex-devops/edgex-gcc-base 11:26:43 e7c96db7181b: Pulling fs layer 11:26:43 4c13bbce0fe7: Pulling fs layer 11:26:43 6059c847ac2f: Pulling fs layer 11:26:43 4c13bbce0fe7: Verifying Checksum 11:26:43 4c13bbce0fe7: Download complete 11:26:44 e7c96db7181b: Verifying Checksum 11:26:44 e7c96db7181b: Download complete 11:26:45 e7c96db7181b: Pull complete 11:26:45 4c13bbce0fe7: Pull complete 11:26:46 6059c847ac2f: Verifying Checksum 11:26:46 6059c847ac2f: Download complete 11:26:57 6059c847ac2f: Pull complete 11:26:57 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 11:26:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 11:26:57 ---> 5eabd8fd8ba2 11:26:57 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 11:26:57 ---> Running in bb2f3ef03111 11:26:57 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 11:27:00 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 11:27:01 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 11:27:01 (2/8) Installing libuuid (2.33-r0) 11:27:01 (3/8) Installing libblkid (2.33-r0) 11:27:01 (4/8) Installing libfdisk (2.33-r0) 11:27:02 (5/8) Installing libmount (2.33-r0) 11:27:02 (6/8) Installing libsmartcols (2.33-r0) 11:27:02 (7/8) Installing util-linux-dev (2.33-r0) 11:27:02 (8/8) Installing wget (1.20.3-r0) 11:27:02 Executing busybox-1.29.3-r10.trigger 11:27:02 OK: 272 MiB in 83 packages 11:27:04 Removing intermediate container bb2f3ef03111 11:27:04 ---> f16465bcb6b1 11:27:04 Step 4/21 : ENV CBOR_VERSION=0.5.0 11:27:04 ---> Running in d5c4a309cce8 11:27:04 Removing intermediate container d5c4a309cce8 11:27:04 ---> 3018b211df8b 11:27:04 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 11:27:04 ---> Running in 1340d70750f8 11:27:04 --2020-03-12 11:27:04-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 11:27:04 Resolving github.com... 140.82.113.4 11:27:04 Connecting to github.com|140.82.113.4|:443... connected. 11:27:04 HTTP request sent, awaiting response... 302 Found 11:27:04 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 11:27:04 --2020-03-12 11:27:04-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 11:27:04 Resolving codeload.github.com... 140.82.113.10 11:27:04 Connecting to codeload.github.com|140.82.113.10|:443... connected. 11:27:05 HTTP request sent, awaiting response... 200 OK 11:27:05 Length: unspecified [application/x-gzip] 11:27:05 Saving to: 'STDOUT' 11:27:05  11:27:05 0K .......... .......... .......... .......... .......... 1.11M 11:27:05 50K .......... .......... .......... .......... .......... 6.96M 11:27:05 100K .......... .......... .......... .......... .......... 4.54M 11:27:05 150K .......... .......... .......... .......... .......... 7.68M 11:27:05 200K .......... .......... .......... .......... .......... 4.09M 11:27:05 250K .......... .......... .......... .......... .......... 6.25M 11:27:05 300K .......... .......... .......... .......... .......... 6.87M 11:27:05 350K .......... .......... .......... .......... .......... 14.2M 11:27:05 400K .......... .......... .......... .......... .......... 6.09M 11:27:05 450K .......... .......... .......... .......... .......... 3.70M 11:27:05 500K .......... .......... .......... .......... .......... 90.2M 11:27:05 550K .......... .......... .......... .......... .......... 4.50M 11:27:05 600K .......... .......... .......... .......... .......... 2.29M 11:27:05 650K .......... .......... .......... .......... .......... 2.26M 11:27:05 700K .. 4746G=0.2s 11:27:05 11:27:05 2020-03-12 11:27:05 (3.94 MB/s) - written to stdout [719348] 11:27:05 11:27:05 -- The C compiler identification is GNU 8.3.0 11:27:05 -- The CXX compiler identification is GNU 8.3.0 11:27:05 -- Check for working C compiler: /usr/bin/cc 11:27:05 -- Check for working C compiler: /usr/bin/cc -- works 11:27:05 -- Detecting C compiler ABI info 11:27:05 -- Detecting C compiler ABI info - done 11:27:05 -- Detecting C compile features 11:27:06 -- Detecting C compile features - done 11:27:06 -- Check for working CXX compiler: /usr/bin/c++ 11:27:06 -- Check for working CXX compiler: /usr/bin/c++ -- works 11:27:06 -- Detecting CXX compiler ABI info 11:27:06 -- Detecting CXX compiler ABI info - done 11:27:06 -- Detecting CXX compile features 11:27:07 -- Detecting CXX compile features - done 11:27:07 -- Looking for include file endian.h 11:27:07 -- Looking for include file endian.h - found 11:27:07 -- Check if the system is big endian 11:27:07 -- Searching 16 bit integer 11:27:07 -- Looking for sys/types.h 11:27:07 -- Looking for sys/types.h - found 11:27:07 -- Looking for stdint.h 11:27:07 -- Looking for stdint.h - found 11:27:07 -- Looking for stddef.h 11:27:07 -- Looking for stddef.h - found 11:27:07 -- Check size of unsigned short 11:27:07 -- Check size of unsigned short - done 11:27:07 -- Using unsigned short 11:27:07 -- Check if the system is big endian - little endian 11:27:07 -- Check size of size_t 11:27:08 -- Check size of size_t - done 11:27:08 CMake Warning at examples/CMakeLists.txt:16 (find_package): 11:27:08 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 11:27:08 asked CMake to find a package configuration file provided by "cJSON", but 11:27:08 CMake did not find one. 11:27:08 11:27:08 Could not find a package configuration file provided by "cJSON" with any of 11:27:08 the following names: 11:27:08 11:27:08 cJSONConfig.cmake 11:27:08 cjson-config.cmake 11:27:08 11:27:08 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 11:27:08 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 11:27:08 provides a separate development package or SDK, be sure it has been 11:27:08 installed. 11:27:08 11:27:08 11:27:08 -- Configuring done 11:27:08 -- Generating done 11:27:08 -- Build files have been written to: /tmp/cbor 11:27:08 Scanning dependencies of target cbor_shared 11:27:08 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 11:27:08 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 11:27:08 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 11:27:09 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 11:27:09 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 11:27:09 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 11:27:09 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 11:27:09 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 11:27:09 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 11:27:09 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 11:27:09 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 11:27:10 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 11:27:10 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 11:27:10 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 11:27:10 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 11:27:10 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 11:27:10 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 11:27:10 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 11:27:10 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 11:27:10 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 11:27:11 [ 40%] Linking C shared library libcbor.so 11:27:11 [ 40%] Built target cbor_shared 11:27:11 Scanning dependencies of target cbor 11:27:11 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 11:27:11 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 11:27:11 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 11:27:11 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 11:27:11 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 11:27:11 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 11:27:12 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 11:27:12 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 11:27:12 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 11:27:12 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 11:27:12 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 11:27:13 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 11:27:13 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 11:27:13 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 11:27:13 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 11:27:13 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 11:27:13 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 11:27:14 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 11:27:14 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 11:27:14 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 11:27:14 [ 80%] Linking C static library libcbor.a 11:27:14 [ 80%] Built target cbor 11:27:14 Scanning dependencies of target create_items 11:27:14 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 11:27:14 [ 84%] Linking C executable create_items 11:27:14 [ 84%] Built target create_items 11:27:14 Scanning dependencies of target readfile 11:27:14 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 11:27:14 [ 88%] Linking C executable readfile 11:27:14 [ 88%] Built target readfile 11:27:14 Scanning dependencies of target streaming_parser 11:27:14 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 11:27:14 [ 92%] Linking C executable streaming_parser 11:27:14 [ 92%] Built target streaming_parser 11:27:14 Scanning dependencies of target sort 11:27:14 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 11:27:14 [ 96%] Linking C executable sort 11:27:14 [ 96%] Built target sort 11:27:14 Scanning dependencies of target hello 11:27:14 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 11:27:15 [100%] Linking C executable hello 11:27:15 [100%] Built target hello 11:27:15 Install the project... 11:27:15 -- Install configuration: "Release" 11:27:15 -- Installing: /usr/local/include/cbor/configuration.h 11:27:15 -- Installing: /usr/local/lib64/libcbor.a 11:27:15 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 11:27:15 -- Installing: /usr/local/lib64/libcbor.so.0 11:27:15 -- Installing: /usr/local/lib64/libcbor.so 11:27:15 -- Up-to-date: /usr/local/include/cbor 11:27:15 -- Installing: /usr/local/include/cbor/arrays.h 11:27:15 -- Installing: /usr/local/include/cbor/bytestrings.h 11:27:15 -- Installing: /usr/local/include/cbor/callbacks.h 11:27:15 -- Installing: /usr/local/include/cbor/common.h 11:27:15 -- Installing: /usr/local/include/cbor/data.h 11:27:15 -- Installing: /usr/local/include/cbor/encoding.h 11:27:15 -- Installing: /usr/local/include/cbor/floats_ctrls.h 11:27:15 -- Installing: /usr/local/include/cbor/internal 11:27:15 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 11:27:15 -- Installing: /usr/local/include/cbor/internal/encoders.h 11:27:15 -- Installing: /usr/local/include/cbor/internal/loaders.h 11:27:15 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 11:27:15 -- Installing: /usr/local/include/cbor/internal/stack.h 11:27:15 -- Installing: /usr/local/include/cbor/internal/unicode.h 11:27:15 -- Installing: /usr/local/include/cbor/ints.h 11:27:15 -- Installing: /usr/local/include/cbor/maps.h 11:27:15 -- Installing: /usr/local/include/cbor/serialization.h 11:27:15 -- Installing: /usr/local/include/cbor/streaming.h 11:27:15 -- Installing: /usr/local/include/cbor/strings.h 11:27:15 -- Installing: /usr/local/include/cbor/tags.h 11:27:15 -- Installing: /usr/local/include/cbor.h 11:27:15 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 11:27:15 Removing intermediate container 1340d70750f8 11:27:15 ---> c6dc5bb58c78 11:27:15 Step 6/21 : RUN mkdir /tmp/sdk 11:27:16 ---> Running in bc48ad23bf5e 11:27:17 Removing intermediate container bc48ad23bf5e 11:27:17 ---> b73c2bdc1c0a 11:27:17 Step 7/21 : COPY VERSION /tmp/sdk 11:27:17 ---> 5dcd3e6860f1 11:27:17 Step 8/21 : COPY src /tmp/sdk/src 11:27:18 ---> ea6cf4d4252d 11:27:18 Step 9/21 : COPY include /tmp/sdk/include 11:27:18 ---> ad2e8bf75131 11:27:18 Step 10/21 : COPY scripts /tmp/sdk/scripts 11:27:18 ---> 3bc96ee52072 11:27:18 Step 11/21 : COPY LICENSE /tmp/sdk 11:27:19 ---> 24d99a207073 11:27:19 Step 12/21 : COPY Attribution.txt /tmp/sdk 11:27:19 ---> 334166924b2f 11:27:19 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 11:27:19 ---> Running in 3916c9e9e393 11:27:20 + CPPCHECK=false 11:27:20 + DOCGEN=false 11:27:20 + TOMLVER=SDK-0.2 11:27:20 + CUTILVER=1.0.0 11:27:20 + '[' 0 -gt 0 ] 11:27:20 + readlink -f ./scripts/build.sh 11:27:20 + dirname /tmp/sdk/scripts/build.sh 11:27:20 + dirname /tmp/sdk/scripts 11:27:20 + ROOT=/tmp/sdk 11:27:20 + cd /tmp/sdk 11:27:20 + '[' '!' -d deps ] 11:27:20 + mkdir deps 11:27:20 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 11:27:20 + tar -C deps -z -x -f - 11:27:20 --2020-03-12 11:27:20-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 11:27:20 Resolving github.com... 140.82.113.4 11:27:20 Connecting to github.com|140.82.113.4|:443... connected. 11:27:20 HTTP request sent, awaiting response... 302 Found 11:27:20 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 11:27:20 --2020-03-12 11:27:20-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 11:27:20 Resolving codeload.github.com... 140.82.113.10 11:27:20 Connecting to codeload.github.com|140.82.113.10|:443... connected. 11:27:20 HTTP request sent, awaiting response... 200 OK 11:27:20 Length: unspecified [application/x-gzip] 11:27:20 Saving to: 'STDOUT' 11:27:20  11:27:20 0K .......... ...... 966K=0.02s 11:27:20 11:27:20 2020-03-12 11:27:20 (966 KB/s) - written to stdout [16451] 11:27:20 11:27:20 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 11:27:20 + wget -O+ - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.0.tar.gztar 11:27:20 -C deps -z -x -f - 11:27:20 --2020-03-12 11:27:20-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.0.tar.gz 11:27:20 Resolving github.com... 140.82.113.4 11:27:20 Connecting to github.com|140.82.113.4|:443... connected. 11:27:20 HTTP request sent, awaiting response... 302 Found 11:27:20 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.0 [following] 11:27:20 --2020-03-12 11:27:20-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.0 11:27:20 Resolving codeload.github.com... 140.82.113.10 11:27:20 Connecting to codeload.github.com|140.82.113.10|:443... connected. 11:27:20 HTTP request sent, awaiting response... 200 OK 11:27:20 Length: unspecified [application/x-gzip] 11:27:20 Saving to: 'STDOUT' 11:27:20 11:27:20 0K .......... .......... .......... .......... .......... 1.44M 11:27:20 50K .......... .......... .......... .......... .......... 3.00M 11:27:20 100K .......... .......... .......... .......... ........ 2.41M=0.07s 11:27:20 11:27:20 2020-03-12 11:27:20 (2.08 MB/s) - written to stdout [151809] 11:27:20 11:27:20 + mkdir -p src/c/iot 11:27:20 + 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 11:27:20 + mkdir -p include/iot 11:27:20 + 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 11:27:20 + mkdir -p include/iot/os 11:27:20 + 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 11:27:20 + mkdir -p /tmp/sdk/build/release 11:27:20 + cd /tmp/sdk/build/release 11:27:20 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 11:27:21 -- The C compiler identification is GNU 8.3.0 11:27:21 -- Check for working C compiler: /usr/bin/cc 11:27:21 -- Check for working C compiler: /usr/bin/cc -- works 11:27:21 -- Detecting C compiler ABI info 11:27:21 -- Detecting C compiler ABI info - done 11:27:21 -- Detecting C compile features 11:27:21 -- Detecting C compile features - done 11:27:21 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 11:27:21 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 11:27:21 -- Found LIBYAML: /usr/lib/libyaml.so 11:27:21 -- Found LIBUUID: /usr/lib/libuuid.so 11:27:21 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 11:27:21 -- C SDK 0.0.0 for Linux 11:27:21 -- Performing Test CSDK_HAVE_ATOMIC 11:27:21 -- Performing Test CSDK_HAVE_ATOMIC - Success 11:27:21 -- Found Curses: /usr/lib/libcurses.so 11:27:21 -- Configuring done 11:27:22 -- Generating done 11:27:22 -- Build files have been written to: /tmp/sdk/build/release 11:27:22 + make 11:27:22 + tee release.log 11:27:22 Scanning dependencies of target csdk 11:27:22 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 11:27:22 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 11:27:22 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 11:27:23 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 11:27:23 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 11:27:23 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 11:27:23 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 11:27:24 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 11:27:24 [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 11:27:25 [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 11:27:25 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 11:27:25 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 11:27:25 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 11:27:25 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 11:27:27 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 11:27:27 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 11:27:27 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 11:27:27 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 11:27:28 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 11:27:28 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 11:27:28 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 11:27:28 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 11:27:29 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 11:27:29 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 11:27:29 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 11:27:29 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 11:27:29 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 11:27:30 [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o 11:27:30 [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 11:27:30 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 11:27:30 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 11:27:32 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 11:27:32 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 11:27:33 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 11:27:33 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 11:27:33 [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:27:34 [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 11:27:35 [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 11:27:36 [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 11:27:36 [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 11:27:36 [ 74%] Linking C shared library libcsdk.so 11:27:36 [ 74%] Built target csdk 11:27:36 Scanning dependencies of target template 11:27:36 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 11:27:37 [ 78%] Linking C executable template 11:27:37 [ 78%] Built target template 11:27:37 Scanning dependencies of target device-counter 11:27:37 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 11:27:37 [ 81%] Linking C executable device-counter 11:27:37 [ 81%] Built target device-counter 11:27:37 Scanning dependencies of target device-random 11:27:37 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 11:27:37 [ 85%] Linking C executable device-random 11:27:38 [ 85%] Built target device-random 11:27:38 Scanning dependencies of target device-gyro 11:27:38 [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 11:27:38 [ 89%] Linking C executable device-gyro 11:27:38 [ 89%] Built target device-gyro 11:27:38 Scanning dependencies of target template-discovery 11:27:38 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 11:27:38 [ 92%] Linking C executable template-discovery 11:27:38 [ 92%] Built target template-discovery 11:27:38 Scanning dependencies of target device-terminal 11:27:38 [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 11:27:38 [ 96%] Linking C executable device-terminal 11:27:38 [ 96%] Built target device-terminal 11:27:38 Scanning dependencies of target template2 11:27:38 [ 98%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o 11:27:38 [100%] Linking C executable template2 11:27:39 [100%] Built target template2 11:27:39 + make package 11:27:39 + tee -a release.log 11:27:39 [ 74%] Built target csdk 11:27:39 [ 78%] Built target template 11:27:39 [ 81%] Built target device-counter 11:27:39 [ 85%] Built target device-random 11:27:39 [ 89%] Built target device-gyro 11:27:39 [ 92%] Built target template-discovery 11:27:39 [ 96%] Built target device-terminal 11:27:39 [100%] Built target template2 11:27:39 Run CPack packaging tool... 11:27:39 CPack: Create package using TGZ 11:27:39 CPack: Install projects 11:27:39 CPack: - Run preinstall target for: Csdk 11:27:39 CPack: - Install project: Csdk 11:27:39 CPack: Create package 11:27:39 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 11:27:39 + '[' false '=' true ] 11:27:39 + '[' false '=' true ] 11:27:39 + mkdir -p /tmp/sdk/build/debug 11:27:39 + cd /tmp/sdk/build/debug 11:27:39 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 11:27:39 -- The C compiler identification is GNU 8.3.0 11:27:39 -- Check for working C compiler: /usr/bin/cc 11:27:39 Running on prd-ubuntu18.04-docker-arm64-4c-16g-295 in /w/workspace/edgexfoundry_device-sdk-c_PR-239 [Pipeline] { [Pipeline] ws 11:27:39 Running in /w/workspace/device-sdk-c/1 [Pipeline] { 11:27:39 -- Check for working C compiler: /usr/bin/cc -- works 11:27:39 -- Detecting C compiler ABI info 11:27:39 -- Detecting C compiler ABI info - done 11:27:39 -- Detecting C compile features [Pipeline] checkout 11:27:40 -- Detecting C compile features - done 11:27:40 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 11:27:40 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 11:27:40 -- Found LIBYAML: /usr/lib/libyaml.so 11:27:40 -- Found LIBUUID: /usr/lib/libuuid.so 11:27:40 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 11:27:40 -- C SDK 0.0.0 for Linux 11:27:40 -- Performing Test CSDK_HAVE_ATOMIC 11:27:40 -- Performing Test CSDK_HAVE_ATOMIC - Success 11:27:40 -- Found Curses: /usr/lib/libcurses.so 11:27:40 -- Configuring done 11:27:40 -- Generating done 11:27:40 -- Build files have been written to: /tmp/sdk/build/debug 11:27:40 + make 11:27:40 + tee debug.log 11:27:40 Scanning dependencies of target csdk 11:27:40 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 11:27:40 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 11:27:40 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 11:27:41 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 11:27:41 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 11:27:41 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 11:27:41 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 11:27:41 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 11:27:41 [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 11:27:41 [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 11:27:41 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 11:27:41 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 11:27:42 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 11:27:42 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 11:27:42 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 11:27:42 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 11:27:42 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 11:27:42 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 11:27:43 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 11:27:43 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 11:27:43 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 11:27:43 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 11:27:43 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 11:27:43 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 11:27:43 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 11:27:43 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 11:27:44 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 11:27:44 [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o 11:27:44 [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 11:27:44 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 11:27:44 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 11:27:45 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 11:27:45 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 11:27:45 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 11:27:45 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 11:27:45 using credential edgex-jenkins-ssh 11:27:45 Cloning the remote Git repository 11:27:45 Cloning with configured refspecs honoured and without tags 11:27:45 [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:27:46 [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 11:27:46 [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 11:27:45 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 11:27:45 > git init /w/workspace/device-sdk-c/1 # timeout=10 11:27:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 11:27:46 > git --version # timeout=10 11:27:46 using GIT_SSH to set credentials SSH Credentials for GitHub 11:27:46 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/239/head:refs/remotes/origin/PR-239 +refs/heads/master:refs/remotes/origin/master # timeout=10 11:27:46 [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 11:27:46 [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 11:27:46 [ 74%] Linking C shared library libcsdk.so 11:27:46 [ 74%] Built target csdk 11:27:46 Scanning dependencies of target template 11:27:46 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 11:27:47 [ 78%] Linking C executable template 11:27:47 [ 78%] Built target template 11:27:47 Scanning dependencies of target device-counter 11:27:47 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 11:27:47 Fetching without tags 11:27:47 [ 81%] Linking C executable device-counter 11:27:47 [ 81%] Built target device-counter 11:27:47 Scanning dependencies of target device-random 11:27:47 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 11:27:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 11:27:47 > git config --add remote.origin.fetch +refs/pull/239/head:refs/remotes/origin/PR-239 # timeout=10 11:27:47 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 11:27:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 11:27:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 11:27:47 using GIT_SSH to set credentials SSH Credentials for GitHub 11:27:47 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/239/head:refs/remotes/origin/PR-239 +refs/heads/master:refs/remotes/origin/master # timeout=10 11:27:47 Merging remotes/origin/master commit 3feb9d4d3796ac41883e4442a0148387b228722e into PR head commit 549442fe523e2b87072d295f8539c8757b8b0825 11:27:47 [ 85%] Linking C executable device-random 11:27:47 [ 85%] Built target device-random 11:27:47 Scanning dependencies of target device-gyro 11:27:47 [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 11:27:47 [ 89%] Linking C executable device-gyro 11:27:48 [ 89%] Built target device-gyro 11:27:48 Scanning dependencies of target template-discovery 11:27:48 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 11:27:48 Merge succeeded, producing 549442fe523e2b87072d295f8539c8757b8b0825 11:27:48 Checking out Revision 549442fe523e2b87072d295f8539c8757b8b0825 (PR-239) 11:27:48 [ 92%] Linking C executable template-discovery 11:27:48 [ 92%] Built target template-discovery 11:27:48 Scanning dependencies of target device-terminal 11:27:48 [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 11:27:48 [ 96%] Linking C executable device-terminal 11:27:48 [ 96%] Built target device-terminal 11:27:48 Scanning dependencies of target template2 11:27:48 [ 98%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o 11:27:48 [100%] Linking C executable template2 11:27:48 [100%] Built target template2 11:27:48 make: Entering directory '/tmp/sdk/build/release' 11:27:48 make[1]: Entering directory '/tmp/sdk/build/release' 11:27:48 make[2]: Entering directory '/tmp/sdk/build/release' 11:27:48 Scanning dependencies of target csdk 11:27:48 make[2]: Leaving directory '/tmp/sdk/build/release' 11:27:48 make[2]: Entering directory '/tmp/sdk/build/release' 11:27:48 [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:27:47 > git config core.sparsecheckout # timeout=10 11:27:47 > git checkout -f 549442fe523e2b87072d295f8539c8757b8b0825 # timeout=10 11:27:47 > git remote # timeout=10 11:27:47 > git config --get remote.origin.url # timeout=10 11:27:47 using GIT_SSH to set credentials SSH Credentials for GitHub 11:27:47 > git merge 3feb9d4d3796ac41883e4442a0148387b228722e # timeout=10 11:27:48 > git rev-parse HEAD^{commit} # timeout=10 11:27:48 > git config core.sparsecheckout # timeout=10 11:27:48 > git checkout -f 549442fe523e2b87072d295f8539c8757b8b0825 # timeout=10 11:27:49 [ 3%] Linking C shared library libcsdk.so 11:27:49 make[2]: Leaving directory '/tmp/sdk/build/release' 11:27:49 [ 74%] Built target csdk 11:27:49 make[2]: Entering directory '/tmp/sdk/build/release' 11:27:49 make[2]: Leaving directory '/tmp/sdk/build/release' 11:27:49 make[2]: Entering directory '/tmp/sdk/build/release' 11:27:49 [ 76%] Linking C executable template 11:27:49 make[2]: Leaving directory '/tmp/sdk/build/release' 11:27:49 [ 78%] Built target template 11:27:49 make[2]: Entering directory '/tmp/sdk/build/release' 11:27:49 make[2]: Leaving directory '/tmp/sdk/build/release' 11:27:49 make[2]: Entering directory '/tmp/sdk/build/release' 11:27:49 [ 80%] Linking C executable device-counter 11:27:50 make[2]: Leaving directory '/tmp/sdk/build/release' 11:27:50 [ 81%] Built target device-counter 11:27:50 make[2]: Entering directory '/tmp/sdk/build/release' 11:27:50 make[2]: Leaving directory '/tmp/sdk/build/release' 11:27:50 make[2]: Entering directory '/tmp/sdk/build/release' 11:27:50 [ 83%] Linking C executable device-random 11:27:50 make[2]: Leaving directory '/tmp/sdk/build/release' 11:27:50 [ 85%] Built target device-random 11:27:50 make[2]: Entering directory '/tmp/sdk/build/release' 11:27:50 make[2]: Leaving directory '/tmp/sdk/build/release' 11:27:50 make[2]: Entering directory '/tmp/sdk/build/release' 11:27:50 [ 87%] Linking C executable device-gyro 11:27:50 make[2]: Leaving directory '/tmp/sdk/build/release' 11:27:50 [ 89%] Built target device-gyro 11:27:50 make[2]: Entering directory '/tmp/sdk/build/release' 11:27:50 make[2]: Leaving directory '/tmp/sdk/build/release' 11:27:50 make[2]: Entering directory '/tmp/sdk/build/release' 11:27:50 [ 90%] Linking C executable template-discovery 11:27:50 make[2]: Leaving directory '/tmp/sdk/build/release' 11:27:50 [ 92%] Built target template-discovery 11:27:50 make[2]: Entering directory '/tmp/sdk/build/release' 11:27:50 make[2]: Leaving directory '/tmp/sdk/build/release' 11:27:50 make[2]: Entering directory '/tmp/sdk/build/release' 11:27:50 [ 94%] Linking C executable device-terminal 11:27:50 make[2]: Leaving directory '/tmp/sdk/build/release' 11:27:50 [ 96%] Built target device-terminal 11:27:50 make[2]: Entering directory '/tmp/sdk/build/release' 11:27:50 make[2]: Leaving directory '/tmp/sdk/build/release' 11:27:50 make[2]: Entering directory '/tmp/sdk/build/release' 11:27:50 [ 98%] Linking C executable template2 11:27:50 make[2]: Leaving directory '/tmp/sdk/build/release' 11:27:50 [100%] Built target template2 11:27:50 make[1]: Leaving directory '/tmp/sdk/build/release' 11:27:50 Install the project... 11:27:50 -- Install configuration: "Release" 11:27:50 -- Installing: /usr/local/lib/libcsdk.so 11:27:50 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 11:27:50 -- Up-to-date: /usr/local/include 11:27:50 -- Installing: /usr/local/include/devsdk 11:27:50 -- Installing: /usr/local/include/devsdk/devsdk-base.h 11:27:50 -- Installing: /usr/local/include/devsdk/devsdk.h 11:27:50 -- Installing: /usr/local/include/edgex 11:27:50 -- Installing: /usr/local/include/edgex/device-mgmt.h 11:27:50 -- Installing: /usr/local/include/edgex/devices.h 11:27:50 -- Installing: /usr/local/include/edgex/devsdk.h 11:27:50 -- Installing: /usr/local/include/edgex/edgex-base.h 11:27:50 -- Installing: /usr/local/include/edgex/edgex-logging.h 11:27:50 -- Installing: /usr/local/include/edgex/edgex.h 11:27:50 -- Installing: /usr/local/include/edgex/error.h 11:27:50 -- Installing: /usr/local/include/edgex/eventgen.h 11:27:50 -- Installing: /usr/local/include/edgex/os.h 11:27:50 -- Installing: /usr/local/include/edgex/profiles.h 11:27:50 -- Installing: /usr/local/include/edgex/registry.h 11:27:50 -- Installing: /usr/local/include/edgex/rest-server.h 11:27:50 -- Installing: /usr/local/include/edgex/csdk-defs.h 11:27:50 -- Installing: /usr/local/include/iot 11:27:50 -- Installing: /usr/local/include/iot/base64.h 11:27:50 -- Installing: /usr/local/include/iot/component.h 11:27:50 -- Installing: /usr/local/include/iot/container.h 11:27:50 -- Installing: /usr/local/include/iot/data.h 11:27:50 -- Installing: /usr/local/include/iot/hash.h 11:27:50 -- Installing: /usr/local/include/iot/iot.h 11:27:50 -- Installing: /usr/local/include/iot/json.h 11:27:50 -- Installing: /usr/local/include/iot/logger.h 11:27:50 -- Installing: /usr/local/include/iot/os.h 11:27:50 -- Installing: /usr/local/include/iot/scheduler.h 11:27:50 -- Installing: /usr/local/include/iot/thread.h 11:27:50 -- Installing: /usr/local/include/iot/threadpool.h 11:27:50 -- Installing: /usr/local/include/iot/time.h 11:27:50 -- Installing: /usr/local/include/iot/os 11:27:50 -- Installing: /usr/local/include/iot/os/linux.h 11:27:50 -- Installing: /usr/local/include/iot/os/zephyr.h 11:27:50 -- Installing: /usr/local/share/device-sdk-c/LICENSE 11:27:50 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 11:27:50 make: Leaving directory '/tmp/sdk/build/release' 11:27:52 Removing intermediate container 3916c9e9e393 11:27:52 ---> 5a051f17dbb3 11:27:52 Step 14/21 : FROM alpine:3.9 11:27:52 3.9: Pulling from library/alpine 11:27:52 9123ac7c32f7: Pulling fs layer 11:27:52 Commit message: "Build .tgz files alongside .rpms or .debs README: Add Debian package names for required libraries, update version number" 11:27:52 > git --version # timeout=10 11:27:52 fatal: bad object b810438aec07f555226556e3b59abf2bab733840 11:27:53 9123ac7c32f7: Verifying Checksum 11:27:53 9123ac7c32f7: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 11:27:53 9123ac7c32f7: Pull complete 11:27:53 Digest: sha256:115731bab0862031b44766733890091c17924f9b7781b79997f5f163be262178 11:27:53 Status: Downloaded newer image for alpine:3.9 11:27:53 ---> 82f67be598eb 11:27:53 Step 15/21 : MAINTAINER IOTech 11:27:53 ---> Running in 64b97a7a6f1b [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 11:27:53 Removing intermediate container 64b97a7a6f1b 11:27:53 ---> 8fc24070b734 11:27:53 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 11:27:53 ---> Running in ab8b20fc7f48 [Pipeline] echo 11:27:54 ========================================================= 11:27:54 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 11:27:54 ========================================================= [Pipeline] isUnix [Pipeline] sh 11:27:54 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 11:27:55 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 11:27:55 (1/48) Installing binutils (2.31.1-r2) 11:27:55 (2/48) Installing libmagic (5.36-r1) 11:27:55 (3/48) Installing file (5.36-r1) 11:27:55 (4/48) Installing gmp (6.1.2-r1) 11:27:55 (5/48) Installing isl (0.18-r0) 11:27:55 (6/48) Installing libgomp (8.3.0-r0) 11:27:55 (7/48) Installing libatomic (8.3.0-r0) 11:27:55 (8/48) Installing libgcc (8.3.0-r0) 11:27:55 (9/48) Installing mpfr3 (3.1.5-r1) 11:27:55 (10/48) Installing mpc1 (1.0.3-r1) 11:27:55 (11/48) Installing libstdc++ (8.3.0-r0) 11:27:55 (12/48) Installing gcc (8.3.0-r0) 11:27:55 + 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 . 11:27:56 Sending build context to Docker daemon 2.828MB 11:27:56 Step 1/21 : ARG BASE=alpine:3.9 11:27:56 Step 2/21 : FROM ${BASE} as builder 11:27:57 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 11:27:57 0362ad1dd800: Pulling fs layer 11:27:57 f2cdb1532d8b: Pulling fs layer 11:27:57 37ed683be191: Pulling fs layer 11:27:57 f2cdb1532d8b: Verifying Checksum 11:27:57 f2cdb1532d8b: Download complete 11:27:57 0362ad1dd800: Verifying Checksum 11:27:57 0362ad1dd800: Download complete 11:27:58 0362ad1dd800: Pull complete 11:27:58 (13/48) Installing musl-dev (1.1.20-r5) 11:27:58 f2cdb1532d8b: Pull complete 11:27:59 (14/48) Installing libc-dev (0.7.1-r0) 11:27:59 (15/48) Installing g++ (8.3.0-r0) 11:28:01 (16/48) Installing make (4.2.1-r2) 11:28:01 (17/48) Installing fortify-headers (1.0-r0) 11:28:01 (18/48) Installing build-base (0.5-r1) 11:28:01 (19/48) Installing libattr (2.4.47-r7) 11:28:01 (20/48) Installing libacl (2.2.52-r5) 11:28:01 (21/48) Installing libbz2 (1.0.6-r7) 11:28:01 (22/48) Installing expat (2.2.8-r0) 11:28:01 (23/48) Installing lz4-libs (1.8.3-r2) 11:28:01 (24/48) Installing xz-libs (5.2.4-r0) 11:28:01 (25/48) Installing libarchive (3.3.3-r1) 11:28:01 (26/48) Installing ca-certificates (20190108-r0) 11:28:01 (27/48) Installing nghttp2-libs (1.35.1-r1) 11:28:01 (28/48) Installing libssh2 (1.9.0-r1) 11:28:01 (29/48) Installing libcurl (7.64.0-r3) 11:28:01 (30/48) Installing ncurses-terminfo-base (6.1_p20190105-r0) 11:28:01 (31/48) Installing ncurses-terminfo (6.1_p20190105-r0) 11:28:02 (32/48) Installing ncurses-libs (6.1_p20190105-r0) 11:28:02 (33/48) Installing rhash-libs (1.3.6-r2) 11:28:02 (34/48) Installing libuv (1.23.2-r0) 11:28:02 (35/48) Installing cmake (3.13.0-r0) 11:28:05 (36/48) Installing curl (7.64.0-r3) 11:28:05 (37/48) Installing pcre2 (10.32-r1) 11:28:05 (38/48) Installing git (2.20.2-r0) 11:28:05 (39/48) Installing nettle (3.4.1-r0) 11:28:05 (40/48) Installing libffi (3.2.1-r6) 11:28:05 (41/48) Installing p11-kit (0.23.14-r0) 11:28:05 (42/48) Installing libtasn1 (4.14-r0) 11:28:05 (43/48) Installing libunistring (0.9.10-r0) 11:28:05 (44/48) Installing gnutls (3.6.7-r0) 11:28:05 37ed683be191: Verifying Checksum 11:28:05 37ed683be191: Download complete 11:28:05 (45/48) Installing libmicrohttpd (0.9.62-r0) 11:28:05 (46/48) Installing libuuid (2.33-r0) 11:28:05 (47/48) Installing wget (1.20.3-r0) 11:28:05 (48/48) Installing yaml (0.2.1-r0) 11:28:05 Executing busybox-1.29.3-r10.trigger 11:28:05 Executing ca-certificates-20190108-r0.trigger 11:28:05 OK: 222 MiB in 62 packages 11:28:14 Removing intermediate container ab8b20fc7f48 11:28:14 ---> 202dce3fd73b 11:28:14 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 11:28:14 ---> 3a81bcd0e5f1 11:28:14 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 11:28:14 ---> 422238079014 11:28:14 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 11:28:15 ---> ab8f70477242 11:28:15 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 11:28:15 37ed683be191: Pull complete 11:28:15 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 11:28:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 11:28:15 ---> b23d30803547 11:28:15 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 11:28:15 ---> d62dfb7f68d0 11:28:15 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 11:28:15 ---> 580db5b7a62e 11:28:15 Successfully built 580db5b7a62e 11:28:15 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 11:28:16 + docker inspect -f . ci-base-image-x86_64 11:28:16 . [Pipeline] withDockerContainer 11:28:16 prd-centos7-docker-4c-2g-294 does not seem to be running inside a container 11:28:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:28:17 ---> Running in ec1228053df6 11:28:18 $ docker top 051b8d786626e7eae3b675ea50aa4d5089e0ab07c7cf067d00c354aba7b1753a -eo pid,comm 11:28:18 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [Pipeline] { [Pipeline] sh 11:28:19 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 11:28:19 + make test 11:28:19 echo "make test" 11:28:19 make test [Pipeline] } 11:28:19 $ docker stop --time=1 051b8d786626e7eae3b675ea50aa4d5089e0ab07c7cf067d00c354aba7b1753a 11:28:19 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 11:28:19 (2/8) Installing libuuid (2.33-r0) 11:28:19 (3/8) Installing libblkid (2.33-r0) 11:28:19 (4/8) Installing libfdisk (2.33-r0) 11:28:19 (5/8) Installing libmount (2.33-r0) 11:28:20 (6/8) Installing libsmartcols (2.33-r0) 11:28:20 (7/8) Installing util-linux-dev (2.33-r0) 11:28:20 (8/8) Installing wget (1.20.3-r0) 11:28:20 Executing busybox-1.29.3-r10.trigger 11:28:20 OK: 285 MiB in 83 packages 11:28:20 $ docker rm -f 051b8d786626e7eae3b675ea50aa4d5089e0ab07c7cf067d00c354aba7b1753a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 11:28:22 Removing intermediate container ec1228053df6 11:28:22 ---> c997da49fda2 11:28:22 Step 4/21 : ENV CBOR_VERSION=0.5.0 [Pipeline] sh 11:28:22 ---> Running in 58205596d20b 11:28:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:28:22 Removing intermediate container 58205596d20b 11:28:22 ---> aba563e9ff4e 11:28:22 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 11:28:22 + ls -al . 11:28:22 total 160 11:28:22 drwxrwxr-x. 8 jenkins jenkins 260 Mar 12 11:26 . 11:28:22 drwxrwxr-x. 4 jenkins jenkins 28 Mar 12 11:26 .. 11:28:22 -rw-rw-r--. 1 jenkins jenkins 3104 Mar 12 11:26 Attribution.txt 11:28:22 -rw-rw-r--. 1 jenkins jenkins 4882 Mar 12 11:26 CHANGES 11:28:22 drwxrwxr-x. 2 jenkins jenkins 144 Mar 12 11:26 docs 11:28:22 -rw-rw-r--. 1 jenkins jenkins 108574 Mar 12 11:26 Doxyfile 11:28:22 drwxrwxr-x. 8 jenkins jenkins 179 Mar 12 11:26 .git 11:28:22 -rw-rw-r--. 1 jenkins jenkins 176 Mar 12 11:26 .gitignore 11:28:22 drwxrwxr-x. 4 jenkins jenkins 33 Mar 12 11:26 include 11:28:22 -rw-rw-r--. 1 jenkins jenkins 792 Mar 12 11:26 Jenkinsfile 11:28:22 -rw-rw-r--. 1 jenkins jenkins 10174 Mar 12 11:26 LICENSE 11:28:22 -rw-rw-r--. 1 jenkins jenkins 448 Mar 12 11:26 Makefile 11:28:22 -rw-rw-r--. 1 jenkins jenkins 1849 Mar 12 11:26 README.md 11:28:22 -rw-rw-r--. 1 jenkins jenkins 5031 Mar 12 11:26 README.v2.md 11:28:22 drwxrwxr-x. 2 jenkins jenkins 106 Mar 12 11:26 scripts 11:28:22 drwxrwxr-x. 3 jenkins jenkins 58 Mar 12 11:26 .semver 11:28:22 drwxrwxr-x. 4 jenkins jenkins 50 Mar 12 11:26 src 11:28:22 -rw-rw-r--. 1 jenkins jenkins 5 Mar 12 11:25 VERSION 11:28:22 ---> Running in 68deff4e0723 [Pipeline] isUnix [Pipeline] sh 11:28:23 + 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=549442fe523e2b87072d295f8539c8757b8b0825 --label arch=amd64 --label version=0.0.0 . 11:28:23 Sending build context to Docker daemon 2.828MB 11:28:23 Step 1/15 : ARG BASE=alpine:3.9 11:28:23 Step 2/15 : FROM ${BASE} 11:28:23 ---> 580db5b7a62e 11:28:23 Step 3/15 : MAINTAINER IOTech 11:28:23 ---> Running in b70d4995b2df 11:28:23 Removing intermediate container b70d4995b2df 11:28:23 ---> 8be09b958b7f 11:28:23 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 11:28:23 --2020-03-12 11:28:23-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 11:28:23 Resolving github.com... 140.82.113.3 11:28:23 Connecting to github.com|140.82.113.3|:443... connected. 11:28:23 HTTP request sent, awaiting response... 302 Found 11:28:23 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 11:28:23 --2020-03-12 11:28:23-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 11:28:23 Resolving codeload.github.com... 140.82.114.9 11:28:23 Connecting to codeload.github.com|140.82.114.9|:443... connected. 11:28:24 HTTP request sent, awaiting response... 200 OK 11:28:24 Length: unspecified [application/x-gzip] 11:28:24 Saving to: 'STDOUT' 11:28:24 11:28:24 0K .......... .......... .......... .......... .......... 1.54M 11:28:24 50K .......... .......... .......... .......... .......... 3.37M 11:28:24 100K .......... .......... .......... .......... .......... 12.8M 11:28:24 150K .......... .......... .......... .......... .......... 10.1M 11:28:24 200K .......... .......... .......... .......... .......... 4.30M 11:28:24 250K .......... .......... .......... .......... .......... 4.97M 11:28:24 300K .......... .......... .......... .......... .......... 4.19M 11:28:24 350K .......... .......... .......... .......... .......... 4.70M 11:28:24 400K .......... .......... .......... .......... .......... 3.16M 11:28:24 450K .......... .......... .......... .......... .......... 5.21M 11:28:24 500K .......... .......... .......... .......... .......... 10.4M 11:28:24 550K .......... .......... .......... .......... .......... 2.47M 11:28:24 ---> Running in 40bd4d5e24a4 11:28:24 600K .......... .......... .......... .......... .......... 824K 11:28:24 650K .......... .......... .......... .......... .......... 2.73M 11:28:24 700K .. 342K=0.2s 11:28:24 11:28:24 2020-03-12 11:28:24 (2.94 MB/s) - written to stdout [719348] 11:28:24 11:28:24 -- The C compiler identification is GNU 8.3.0 11:28:24 -- The CXX compiler identification is GNU 8.3.0 11:28:24 -- Check for working C compiler: /usr/bin/cc 11:28:25 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 11:28:25 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 11:28:25 -- Check for working C compiler: /usr/bin/cc -- works 11:28:25 -- Detecting C compiler ABI info 11:28:25 (1/21) Installing pkgconf (1.6.0-r0) 11:28:25 (2/21) Installing openssl-dev (1.1.1d-r2) 11:28:25 -- Detecting C compiler ABI info - done 11:28:25 -- Detecting C compile features 11:28:25 (3/21) Installing zlib-dev (1.2.11-r1) 11:28:25 (4/21) Installing libssh2-dev (1.9.0-r1) 11:28:26 (5/21) Installing nghttp2-dev (1.35.1-r1) 11:28:26 (6/21) Installing curl-dev (7.64.0-r3) 11:28:26 (7/21) Installing gnutls-c++ (3.6.7-r0) 11:28:26 (8/21) Installing libgmpxx (6.1.2-r1) 11:28:26 (9/21) Installing gmp-dev (6.1.2-r1) 11:28:26 (10/21) Installing nettle-dev (3.4.1-r0) 11:28:26 -- Detecting C compile features - done 11:28:26 -- Check for working CXX compiler: /usr/bin/c++ 11:28:26 (11/21) Installing libtasn1-dev (4.14-r0) 11:28:26 (12/21) Installing p11-kit-dev (0.23.14-r0) 11:28:26 (13/21) Installing gnutls-dev (3.6.7-r0) 11:28:26 -- Check for working CXX compiler: /usr/bin/c++ -- works 11:28:26 (14/21) Installing libmicrohttpd-dev (0.9.62-r0) 11:28:26 (15/21) Installing ncurses-dev (6.1_p20190105-r0) 11:28:26 (16/21) Installing libblkid (2.33-r0) 11:28:26 (17/21) Installing libfdisk (2.33-r0) 11:28:26 (18/21) Installing libmount (2.33-r0) 11:28:26 (19/21) Installing libsmartcols (2.33-r0) 11:28:26 (20/21) Installing util-linux-dev (2.33-r0) 11:28:26 (21/21) Installing yaml-dev (0.2.1-r0) 11:28:26 Executing busybox-1.29.3-r10.trigger 11:28:26 OK: 265 MiB in 83 packages 11:28:26 -- Detecting CXX compiler ABI info 11:28:26 -- Detecting CXX compiler ABI info - done 11:28:26 -- Detecting CXX compile features 11:28:28 -- Detecting CXX compile features - done 11:28:28 -- Looking for include file endian.h 11:28:28 -- Looking for include file endian.h - found 11:28:28 -- Check if the system is big endian 11:28:28 -- Searching 16 bit integer 11:28:28 -- Looking for sys/types.h 11:28:28 -- Looking for sys/types.h - found 11:28:28 -- Looking for stdint.h 11:28:29 -- Looking for stdint.h - found 11:28:29 -- Looking for stddef.h 11:28:29 -- Looking for stddef.h - found 11:28:29 -- Check size of unsigned short 11:28:29 -- Check size of unsigned short - done 11:28:29 -- Using unsigned short 11:28:29 Removing intermediate container 40bd4d5e24a4 11:28:29 ---> 1cfcb497501d 11:28:29 Step 5/15 : COPY VERSION /edgex-c-sdk/ 11:28:29 ---> d4584cab3694 11:28:29 Step 6/15 : COPY src /edgex-c-sdk/src/ 11:28:30 -- Check if the system is big endian - little endian 11:28:30 -- Check size of size_t 11:28:30 ---> 4e6a84259472 11:28:30 Step 7/15 : COPY include /edgex-c-sdk/include/ 11:28:30 -- Check size of size_t - done 11:28:30 CMake Warning at examples/CMakeLists.txt:16 (find_package): 11:28:30 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 11:28:30 asked CMake to find a package configuration file provided by "cJSON", but 11:28:30 CMake did not find one. 11:28:30 11:28:30 Could not find a package configuration file provided by "cJSON" with any of 11:28:30 the following names: 11:28:30 11:28:30 cJSONConfig.cmake 11:28:30 cjson-config.cmake 11:28:30 11:28:30 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 11:28:30 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 11:28:30 provides a separate development package or SDK, be sure it has been 11:28:30 installed. 11:28:30 11:28:30 11:28:30 -- Configuring done 11:28:30 ---> 2934962c13c1 11:28:30 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 11:28:30 -- Generating done 11:28:30 -- Build files have been written to: /tmp/cbor 11:28:30 Scanning dependencies of target cbor_shared 11:28:30 ---> da7ef620c4d1 11:28:30 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 11:28:30 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 11:28:31 ---> f78073fdd7a5 11:28:31 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 11:28:31 ---> 2a26c4640a83 11:28:31 Step 11/15 : WORKDIR /edgex-c-sdk 11:28:31 ---> Running in fa9e615d353a 11:28:31 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 11:28:31 Removing intermediate container fa9e615d353a 11:28:31 ---> 3701aba3837e 11:28:31 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 11:28:31 ---> Running in 39041ba295eb 11:28:31 Removing intermediate container 39041ba295eb 11:28:31 ---> c4d252ae7f32 11:28:31 Step 13/15 : LABEL arch=amd64 11:28:31 ---> Running in be1fa399f166 11:28:32 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 11:28:32 Removing intermediate container be1fa399f166 11:28:32 ---> 7b2ff0baa6f1 11:28:32 Step 14/15 : LABEL git_sha=549442fe523e2b87072d295f8539c8757b8b0825 11:28:32 ---> Running in 5b0944d8a5eb 11:28:32 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 11:28:32 Removing intermediate container 5b0944d8a5eb 11:28:32 ---> 286188419cce 11:28:32 Step 15/15 : LABEL version=0.0.0 11:28:32 ---> Running in aaa83f406746 11:28:32 Removing intermediate container aaa83f406746 11:28:32 ---> 1557a7f0983e 11:28:32 [Warning] One or more build-args [ARCH MAKE] were not consumed 11:28:32 Successfully built 1557a7f0983e 11:28:32 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 11:28:32 Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } 11:28:33 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage 11:28:33 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } 11:28:33 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [Pipeline] // ws [Pipeline] } [Pipeline] // node 11:28:33 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [Pipeline] } [Pipeline] // stage [Pipeline] } 11:28:34 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 11:28:34 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 11:28:35 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 11:28:35 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 11:28:35 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 11:28:36 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 11:28:36 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 11:28:36 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 11:28:37 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 11:28:37 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 11:28:37 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 11:28:37 [ 40%] Linking C shared library libcbor.so 11:28:37 [ 40%] Built target cbor_shared 11:28:37 Scanning dependencies of target cbor 11:28:37 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 11:28:38 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 11:28:39 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 11:28:39 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 11:28:40 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 11:28:40 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 11:28:41 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 11:28:41 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 11:28:41 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 11:28:41 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 11:28:42 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 11:28:42 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 11:28:43 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 11:28:43 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 11:28:43 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 11:28:44 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 11:28:44 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 11:28:44 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 11:28:44 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 11:28:45 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 11:28:45 [ 80%] Linking C static library libcbor.a 11:28:45 [ 80%] Built target cbor 11:28:45 Scanning dependencies of target create_items 11:28:45 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 11:28:45 [ 84%] Linking C executable create_items 11:28:45 [ 84%] Built target create_items 11:28:45 Scanning dependencies of target readfile 11:28:45 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 11:28:46 [ 88%] Linking C executable readfile 11:28:46 [ 88%] Built target readfile 11:28:46 Scanning dependencies of target streaming_parser 11:28:46 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 11:28:46 [ 92%] Linking C executable streaming_parser 11:28:46 [ 92%] Built target streaming_parser 11:28:46 Scanning dependencies of target sort 11:28:46 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 11:28:46 [ 96%] Linking C executable sort 11:28:46 [ 96%] Built target sort 11:28:46 Scanning dependencies of target hello 11:28:46 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 11:28:47 [100%] Linking C executable hello 11:28:47 [100%] Built target hello 11:28:47 Install the project... 11:28:47 -- Install configuration: "Release" 11:28:47 -- Installing: /usr/local/include/cbor/configuration.h 11:28:47 -- Installing: /usr/local/lib64/libcbor.a 11:28:47 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 11:28:47 -- Installing: /usr/local/lib64/libcbor.so.0 11:28:47 -- Installing: /usr/local/lib64/libcbor.so 11:28:47 -- Up-to-date: /usr/local/include/cbor 11:28:47 -- Installing: /usr/local/include/cbor/common.h 11:28:47 -- Installing: /usr/local/include/cbor/serialization.h 11:28:47 -- Installing: /usr/local/include/cbor/encoding.h 11:28:47 -- Installing: /usr/local/include/cbor/maps.h 11:28:47 -- Installing: /usr/local/include/cbor/strings.h 11:28:47 -- Installing: /usr/local/include/cbor/arrays.h 11:28:47 -- Installing: /usr/local/include/cbor/internal 11:28:47 -- Installing: /usr/local/include/cbor/internal/loaders.h 11:28:47 -- Installing: /usr/local/include/cbor/internal/stack.h 11:28:47 -- Installing: /usr/local/include/cbor/internal/unicode.h 11:28:47 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 11:28:47 -- Installing: /usr/local/include/cbor/internal/encoders.h 11:28:47 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 11:28:47 -- Installing: /usr/local/include/cbor/data.h 11:28:47 -- Installing: /usr/local/include/cbor/floats_ctrls.h 11:28:47 -- Installing: /usr/local/include/cbor/bytestrings.h 11:28:47 -- Installing: /usr/local/include/cbor/tags.h 11:28:47 -- Installing: /usr/local/include/cbor/streaming.h 11:28:47 -- Installing: /usr/local/include/cbor/ints.h 11:28:47 -- Installing: /usr/local/include/cbor/callbacks.h 11:28:47 -- Installing: /usr/local/include/cbor.h 11:28:47 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 11:28:49 Removing intermediate container 68deff4e0723 11:28:49 ---> 64f99cd138a8 11:28:49 Step 6/21 : RUN mkdir /tmp/sdk 11:28:49 ---> Running in 912158fc7dfd 11:28:51 Removing intermediate container 912158fc7dfd 11:28:51 ---> 2932e9933e31 11:28:51 Step 7/21 : COPY VERSION /tmp/sdk 11:28:51 ---> c547e1dea050 11:28:51 Step 8/21 : COPY src /tmp/sdk/src 11:28:52 ---> 25262bfa75c8 11:28:52 Step 9/21 : COPY include /tmp/sdk/include 11:28:53 ---> f1bbdfdbcc77 11:28:53 Step 10/21 : COPY scripts /tmp/sdk/scripts 11:28:53 ---> 815a9160027d 11:28:53 Step 11/21 : COPY LICENSE /tmp/sdk 11:28:54 ---> 8ce61511680b 11:28:54 Step 12/21 : COPY Attribution.txt /tmp/sdk 11:28:54 ---> 1294c97e674b 11:28:54 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 11:28:54 ---> Running in d0b39cae4282 11:28:55 + CPPCHECK=false 11:28:55 + DOCGEN=false 11:28:55 + TOMLVER=SDK-0.2 11:28:55 + CUTILVER=1.0.0 11:28:55 + '[' 0 -gt 0 ] 11:28:55 + readlink -f ./scripts/build.sh 11:28:55 + dirname /tmp/sdk/scripts/build.sh 11:28:55 + dirname /tmp/sdk/scripts 11:28:55 + ROOT=/tmp/sdk 11:28:55 + cd /tmp/sdk 11:28:55 + '[' '!' -d deps ] 11:28:55 + mkdir deps 11:28:55 + tar -C deps -z -x -f - 11:28:55 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 11:28:55 --2020-03-12 11:28:55-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 11:28:55 Resolving github.com... 140.82.113.3 11:28:55 Connecting to github.com|140.82.113.3|:443... connected. 11:28:55 HTTP request sent, awaiting response... 302 Found 11:28:55 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 11:28:55 --2020-03-12 11:28:55-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 11:28:55 Resolving codeload.github.com... 140.82.114.9 11:28:55 Connecting to codeload.github.com|140.82.114.9|:443... connected. 11:28:56 HTTP request sent, awaiting response... 200 OK 11:28:56 Length: unspecified [application/x-gzip] 11:28:56 Saving to: 'STDOUT' 11:28:56  11:28:56 0K .......... ......   1.08M=0.01s 11:28:56 11:28:56 2020-03-12 11:28:56 (1.08 MB/s) - written to stdout [16451] 11:28:56 11:28:56 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 11:28:56 + tar -C+ deps -zwget -x -O -f - - 11:28:56 https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.0.tar.gz 11:28:56 --2020-03-12 11:28:56-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.0.tar.gz 11:28:56 Resolving github.com... 140.82.114.3 11:28:56 Connecting to github.com|140.82.114.3|:443... connected. 11:28:56 HTTP request sent, awaiting response... 302 Found 11:28:56 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.0 [following] 11:28:56 --2020-03-12 11:28:56-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.0 11:28:56 Resolving codeload.github.com... 140.82.112.10 11:28:56 Connecting to codeload.github.com|140.82.112.10|:443... connected. 11:28:56 HTTP request sent, awaiting response... 200 OK 11:28:56 Length: unspecified [application/x-gzip] 11:28:56 Saving to: 'STDOUT' 11:28:56  11:28:56 0K .......... .......... .......... .......... .......... 1.65M 11:28:56 50K .......... .......... .......... .......... .......... 3.09M 11:28:56 100K .......... .......... .......... .......... ........ 6.04M=0.05s 11:28:56 11:28:56 2020-03-12 11:28:56 (2.72 MB/s) - written to stdout [151809] 11:28:56 11:28:56 + mkdir -p src/c/iot 11:28:56 + 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 11:28:56 + mkdir -p include/iot 11:28:56 + 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 11:28:56 + mkdir -p include/iot/os 11:28:56 + 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 11:28:56 + mkdir -p /tmp/sdk/build/release 11:28:56 + cd /tmp/sdk/build/release 11:28:56 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 11:28:56 -- The C compiler identification is GNU 8.3.0 11:28:56 -- Check for working C compiler: /usr/bin/cc 11:28:57 -- Check for working C compiler: /usr/bin/cc -- works 11:28:57 -- Detecting C compiler ABI info 11:28:57 -- Detecting C compiler ABI info - done 11:28:57 -- Detecting C compile features 11:28:58 -- Detecting C compile features - done 11:28:58 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 11:28:58 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 11:28:58 -- Found LIBYAML: /usr/lib/libyaml.so 11:28:58 -- Found LIBUUID: /usr/lib/libuuid.so 11:28:58 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 11:28:58 -- C SDK 0.0.0 for Linux 11:28:58 -- Performing Test CSDK_HAVE_ATOMIC 11:28:58 -- Performing Test CSDK_HAVE_ATOMIC - Success 11:28:58 -- Found Curses: /usr/lib/libcurses.so 11:28:58 -- Configuring done 11:28:58 -- Generating done 11:28:58 -- Build files have been written to: /tmp/sdk/build/release 11:28:58 + + make 11:28:58 tee release.log 11:28:58 Scanning dependencies of target csdk 11:28:59 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 11:28:59 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 11:29:00 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 11:29:02 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 11:29:02 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 11:29:02 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 11:29:03 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 11:29:04 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 11:29:04 [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 11:29:05 [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 11:29:06 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 11:29:06 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 11:29:06 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 11:29:06 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 11:29:10 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 11:29:10 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 11:29:10 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 11:29:11 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 11:29:13 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 11:29:13 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 11:29:13 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 11:29:14 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 11:29:14 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 11:29:14 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 11:29:15 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 11:29:15 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 11:29:16 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 11:29:16 [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o 11:29:17 [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 11:29:18 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 11:29:18 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 11:29:22 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 11:29:23 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 11:29:23 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 11:29:24 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 11:29:25 [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:29:27 [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 11:29:30 [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 11:29:30 [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 11:29:32 [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 11:29:32 [ 74%] Linking C shared library libcsdk.so 11:29:32 [ 74%] Built target csdk 11:29:32 Scanning dependencies of target template 11:29:32 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 11:29:33 [ 78%] Linking C executable template 11:29:33 [ 78%] Built target template 11:29:33 Scanning dependencies of target device-counter 11:29:33 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 11:29:34 [ 81%] Linking C executable device-counter 11:29:34 [ 81%] Built target device-counter 11:29:34 Scanning dependencies of target device-random 11:29:34 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 11:29:34 [ 85%] Linking C executable device-random 11:29:35 [ 85%] Built target device-random 11:29:35 Scanning dependencies of target device-gyro 11:29:35 [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 11:29:35 [ 89%] Linking C executable device-gyro 11:29:36 [ 89%] Built target device-gyro 11:29:36 Scanning dependencies of target template-discovery 11:29:36 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 11:29:36 [ 92%] Linking C executable template-discovery 11:29:36 [ 92%] Built target template-discovery 11:29:36 Scanning dependencies of target device-terminal 11:29:36 [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 11:29:37 [ 96%] Linking C executable device-terminal 11:29:37 [ 96%] Built target device-terminal 11:29:37 Scanning dependencies of target template2 11:29:37 [ 98%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o 11:29:38 [100%] Linking C executable template2 11:29:38 [100%] Built target template2 11:29:38 + make package 11:29:38 + tee -a release.log 11:29:38 [ 74%] Built target csdk 11:29:38 [ 78%] Built target template 11:29:38 [ 81%] Built target device-counter 11:29:38 [ 85%] Built target device-random 11:29:38 [ 89%] Built target device-gyro 11:29:38 [ 92%] Built target template-discovery 11:29:39 [ 96%] Built target device-terminal 11:29:39 [100%] Built target template2 11:29:39 Run CPack packaging tool... 11:29:39 CPack: Create package using TGZ 11:29:39 CPack: Install projects 11:29:39 CPack: - Run preinstall target for: Csdk 11:29:39 CPack: - Install project: Csdk 11:29:39 CPack: Create package 11:29:39 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 11:29:39 + '[' false '=' true ] 11:29:39 + '[' false '=' true ] 11:29:39 + mkdir -p /tmp/sdk/build/debug 11:29:39 + cd /tmp/sdk/build/debug 11:29:39 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 11:29:40 -- The C compiler identification is GNU 8.3.0 11:29:40 -- Check for working C compiler: /usr/bin/cc 11:29:40 -- Check for working C compiler: /usr/bin/cc -- works 11:29:40 -- Detecting C compiler ABI info 11:29:40 -- Detecting C compiler ABI info - done 11:29:40 -- Detecting C compile features 11:29:41 -- Detecting C compile features - done 11:29:41 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 11:29:41 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 11:29:41 -- Found LIBYAML: /usr/lib/libyaml.so 11:29:41 -- Found LIBUUID: /usr/lib/libuuid.so 11:29:41 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 11:29:41 -- C SDK 0.0.0 for Linux 11:29:41 -- Performing Test CSDK_HAVE_ATOMIC 11:29:41 -- Performing Test CSDK_HAVE_ATOMIC - Success 11:29:41 -- Found Curses: /usr/lib/libcurses.so 11:29:42 -- Configuring done 11:29:42 -- Generating done 11:29:42 -- Build files have been written to: /tmp/sdk/build/debug 11:29:42 + + maketee 11:29:42 debug.log 11:29:42 Scanning dependencies of target csdk 11:29:42 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 11:29:42 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 11:29:43 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 11:29:43 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 11:29:43 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 11:29:44 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 11:29:44 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 11:29:45 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 11:29:45 [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 11:29:45 [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 11:29:45 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 11:29:45 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 11:29:46 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 11:29:46 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 11:29:47 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 11:29:47 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 11:29:48 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 11:29:48 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 11:29:49 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 11:29:49 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 11:29:49 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 11:29:49 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 11:29:49 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 11:29:49 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 11:29:50 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 11:29:50 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 11:29:50 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 11:29:50 [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o 11:29:50 [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 11:29:51 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 11:29:51 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 11:29:52 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 11:29:52 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 11:29:53 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 11:29:53 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 11:29:54 [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:29:55 [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 11:29:56 [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 11:29:56 [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 11:29:56 [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 11:29:56 [ 74%] Linking C shared library libcsdk.so 11:29:56 [ 74%] Built target csdk 11:29:56 Scanning dependencies of target template 11:29:56 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 11:29:57 [ 78%] Linking C executable template 11:29:57 [ 78%] Built target template 11:29:57 Scanning dependencies of target device-counter 11:29:57 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 11:29:57 [ 81%] Linking C executable device-counter 11:29:57 [ 81%] Built target device-counter 11:29:57 Scanning dependencies of target device-random 11:29:57 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 11:29:58 [ 85%] Linking C executable device-random 11:29:58 [ 85%] Built target device-random 11:29:58 Scanning dependencies of target device-gyro 11:29:58 [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 11:29:58 [ 89%] Linking C executable device-gyro 11:29:59 [ 89%] Built target device-gyro 11:29:59 Scanning dependencies of target template-discovery 11:29:59 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 11:29:59 [ 92%] Linking C executable template-discovery 11:29:59 [ 92%] Built target template-discovery 11:29:59 Scanning dependencies of target device-terminal 11:29:59 [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 11:29:59 [ 96%] Linking C executable device-terminal 11:30:00 [ 96%] Built target device-terminal 11:30:00 Scanning dependencies of target template2 11:30:00 [ 98%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o 11:30:00 [100%] Linking C executable template2 11:30:00 [100%] Built target template2 11:30:00 make: Entering directory '/tmp/sdk/build/release' 11:30:00 make[1]: Entering directory '/tmp/sdk/build/release' 11:30:00 make[2]: Entering directory '/tmp/sdk/build/release' 11:30:00 Scanning dependencies of target csdk 11:30:00 make[2]: Leaving directory '/tmp/sdk/build/release' 11:30:00 make[2]: Entering directory '/tmp/sdk/build/release' 11:30:00 [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:30:02 [ 3%] Linking C shared library libcsdk.so 11:30:02 make[2]: Leaving directory '/tmp/sdk/build/release' 11:30:02 [ 74%] Built target csdk 11:30:02 make[2]: Entering directory '/tmp/sdk/build/release' 11:30:02 make[2]: Leaving directory '/tmp/sdk/build/release' 11:30:02 make[2]: Entering directory '/tmp/sdk/build/release' 11:30:02 [ 76%] Linking C executable template 11:30:02 make[2]: Leaving directory '/tmp/sdk/build/release' 11:30:02 [ 78%] Built target template 11:30:02 make[2]: Entering directory '/tmp/sdk/build/release' 11:30:02 make[2]: Leaving directory '/tmp/sdk/build/release' 11:30:02 make[2]: Entering directory '/tmp/sdk/build/release' 11:30:02 [ 80%] Linking C executable device-counter 11:30:03 make[2]: Leaving directory '/tmp/sdk/build/release' 11:30:03 [ 81%] Built target device-counter 11:30:03 make[2]: Entering directory '/tmp/sdk/build/release' 11:30:03 make[2]: Leaving directory '/tmp/sdk/build/release' 11:30:03 make[2]: Entering directory '/tmp/sdk/build/release' 11:30:03 [ 83%] Linking C executable device-random 11:30:03 make[2]: Leaving directory '/tmp/sdk/build/release' 11:30:03 [ 85%] Built target device-random 11:30:03 make[2]: Entering directory '/tmp/sdk/build/release' 11:30:03 make[2]: Leaving directory '/tmp/sdk/build/release' 11:30:03 make[2]: Entering directory '/tmp/sdk/build/release' 11:30:03 [ 87%] Linking C executable device-gyro 11:30:03 make[2]: Leaving directory '/tmp/sdk/build/release' 11:30:03 [ 89%] Built target device-gyro 11:30:03 make[2]: Entering directory '/tmp/sdk/build/release' 11:30:03 make[2]: Leaving directory '/tmp/sdk/build/release' 11:30:03 make[2]: Entering directory '/tmp/sdk/build/release' 11:30:03 [ 90%] Linking C executable template-discovery 11:30:03 make[2]: Leaving directory '/tmp/sdk/build/release' 11:30:03 [ 92%] Built target template-discovery 11:30:03 make[2]: Entering directory '/tmp/sdk/build/release' 11:30:03 make[2]: Leaving directory '/tmp/sdk/build/release' 11:30:03 make[2]: Entering directory '/tmp/sdk/build/release' 11:30:03 [ 94%] Linking C executable device-terminal 11:30:04 make[2]: Leaving directory '/tmp/sdk/build/release' 11:30:04 [ 96%] Built target device-terminal 11:30:04 make[2]: Entering directory '/tmp/sdk/build/release' 11:30:04 make[2]: Leaving directory '/tmp/sdk/build/release' 11:30:04 make[2]: Entering directory '/tmp/sdk/build/release' 11:30:04 [ 98%] Linking C executable template2 11:30:04 make[2]: Leaving directory '/tmp/sdk/build/release' 11:30:04 [100%] Built target template2 11:30:04 make[1]: Leaving directory '/tmp/sdk/build/release' 11:30:04 Install the project... 11:30:04 -- Install configuration: "Release" 11:30:04 -- Installing: /usr/local/lib/libcsdk.so 11:30:04 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 11:30:04 -- Up-to-date: /usr/local/include 11:30:04 -- Installing: /usr/local/include/devsdk 11:30:04 -- Installing: /usr/local/include/devsdk/devsdk-base.h 11:30:04 -- Installing: /usr/local/include/devsdk/devsdk.h 11:30:04 -- Installing: /usr/local/include/edgex 11:30:04 -- Installing: /usr/local/include/edgex/devices.h 11:30:04 -- Installing: /usr/local/include/edgex/edgex.h 11:30:04 -- Installing: /usr/local/include/edgex/device-mgmt.h 11:30:04 -- Installing: /usr/local/include/edgex/profiles.h 11:30:04 -- Installing: /usr/local/include/edgex/edgex-base.h 11:30:04 -- Installing: /usr/local/include/edgex/error.h 11:30:04 -- Installing: /usr/local/include/edgex/registry.h 11:30:04 -- Installing: /usr/local/include/edgex/rest-server.h 11:30:04 -- Installing: /usr/local/include/edgex/os.h 11:30:04 -- Installing: /usr/local/include/edgex/devsdk.h 11:30:04 -- Installing: /usr/local/include/edgex/eventgen.h 11:30:04 -- Installing: /usr/local/include/edgex/edgex-logging.h 11:30:04 -- Installing: /usr/local/include/edgex/csdk-defs.h 11:30:04 -- Installing: /usr/local/include/iot 11:30:04 -- Installing: /usr/local/include/iot/hash.h 11:30:04 -- Installing: /usr/local/include/iot/thread.h 11:30:04 -- Installing: /usr/local/include/iot/json.h 11:30:04 -- Installing: /usr/local/include/iot/os 11:30:04 -- Installing: /usr/local/include/iot/os/zephyr.h 11:30:04 -- Installing: /usr/local/include/iot/os/linux.h 11:30:04 -- Installing: /usr/local/include/iot/base64.h 11:30:04 -- Installing: /usr/local/include/iot/container.h 11:30:04 -- Installing: /usr/local/include/iot/data.h 11:30:04 -- Installing: /usr/local/include/iot/threadpool.h 11:30:04 -- Installing: /usr/local/include/iot/scheduler.h 11:30:04 -- Installing: /usr/local/include/iot/component.h 11:30:04 -- Installing: /usr/local/include/iot/os.h 11:30:04 -- Installing: /usr/local/include/iot/logger.h 11:30:04 -- Installing: /usr/local/include/iot/time.h 11:30:04 -- Installing: /usr/local/include/iot/iot.h 11:30:04 -- Installing: /usr/local/share/device-sdk-c/LICENSE 11:30:04 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 11:30:04 make: Leaving directory '/tmp/sdk/build/release' 11:30:06 Removing intermediate container d0b39cae4282 11:30:06 ---> 7a5386722995 11:30:06 Step 14/21 : FROM alpine:3.9 11:30:06 3.9: Pulling from library/alpine 11:30:07 eb93038481dd: Pulling fs layer 11:30:07 eb93038481dd: Verifying Checksum 11:30:07 eb93038481dd: Download complete 11:30:08 eb93038481dd: Pull complete 11:30:08 Digest: sha256:115731bab0862031b44766733890091c17924f9b7781b79997f5f163be262178 11:30:08 Status: Downloaded newer image for alpine:3.9 11:30:08 ---> 355993758880 11:30:08 Step 15/21 : MAINTAINER IOTech 11:30:08 ---> Running in 70471a9114a1 11:30:08 Removing intermediate container 70471a9114a1 11:30:08 ---> f39d650c7d0b 11:30:08 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 11:30:08 ---> Running in bca55ef5208d 11:30:09 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 11:30:10 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 11:30:10 (1/48) Installing binutils (2.31.1-r2) 11:30:10 (2/48) Installing libmagic (5.36-r1) 11:30:10 (3/48) Installing file (5.36-r1) 11:30:10 (4/48) Installing gmp (6.1.2-r1) 11:30:10 (5/48) Installing isl (0.18-r0) 11:30:10 (6/48) Installing libgomp (8.3.0-r0) 11:30:10 (7/48) Installing libatomic (8.3.0-r0) 11:30:10 (8/48) Installing libgcc (8.3.0-r0) 11:30:10 (9/48) Installing mpfr3 (3.1.5-r1) 11:30:10 (10/48) Installing mpc1 (1.0.3-r1) 11:30:10 (11/48) Installing libstdc++ (8.3.0-r0) 11:30:10 (12/48) Installing gcc (8.3.0-r0) 11:30:12 (13/48) Installing musl-dev (1.1.20-r5) 11:30:12 (14/48) Installing libc-dev (0.7.1-r0) 11:30:12 (15/48) Installing g++ (8.3.0-r0) 11:30:14 (16/48) Installing make (4.2.1-r2) 11:30:14 (17/48) Installing fortify-headers (1.0-r0) 11:30:14 (18/48) Installing build-base (0.5-r1) 11:30:14 (19/48) Installing libattr (2.4.47-r7) 11:30:14 (20/48) Installing libacl (2.2.52-r5) 11:30:14 (21/48) Installing libbz2 (1.0.6-r7) 11:30:14 (22/48) Installing expat (2.2.8-r0) 11:30:14 (23/48) Installing lz4-libs (1.8.3-r2) 11:30:14 (24/48) Installing xz-libs (5.2.4-r0) 11:30:14 (25/48) Installing libarchive (3.3.3-r1) 11:30:14 (26/48) Installing ca-certificates (20190108-r0) 11:30:15 (27/48) Installing nghttp2-libs (1.35.1-r1) 11:30:15 (28/48) Installing libssh2 (1.9.0-r1) 11:30:15 (29/48) Installing libcurl (7.64.0-r3) 11:30:15 (30/48) Installing ncurses-terminfo-base (6.1_p20190105-r0) 11:30:15 (31/48) Installing ncurses-terminfo (6.1_p20190105-r0) 11:30:16 (32/48) Installing ncurses-libs (6.1_p20190105-r0) 11:30:16 (33/48) Installing rhash-libs (1.3.6-r2) 11:30:16 (34/48) Installing libuv (1.23.2-r0) 11:30:16 (35/48) Installing cmake (3.13.0-r0) 11:30:18 (36/48) Installing curl (7.64.0-r3) 11:30:18 (37/48) Installing pcre2 (10.32-r1) 11:30:18 (38/48) Installing git (2.20.2-r0) 11:30:18 (39/48) Installing nettle (3.4.1-r0) 11:30:18 (40/48) Installing libffi (3.2.1-r6) 11:30:18 (41/48) Installing p11-kit (0.23.14-r0) 11:30:18 (42/48) Installing libtasn1 (4.14-r0) 11:30:18 (43/48) Installing libunistring (0.9.10-r0) 11:30:18 (44/48) Installing gnutls (3.6.7-r0) 11:30:18 (45/48) Installing libmicrohttpd (0.9.62-r0) 11:30:18 (46/48) Installing libuuid (2.33-r0) 11:30:18 (47/48) Installing wget (1.20.3-r0) 11:30:18 (48/48) Installing yaml (0.2.1-r0) 11:30:18 Executing busybox-1.29.3-r10.trigger 11:30:18 Executing ca-certificates-20190108-r0.trigger 11:30:18 OK: 219 MiB in 62 packages 11:30:33 Removing intermediate container bca55ef5208d 11:30:33 ---> cd3b8b8af972 11:30:33 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 11:30:33 ---> 167f1bf4fa5d 11:30:33 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 11:30:33 ---> 9934607f1b65 11:30:33 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 11:30:33 ---> b7486c2be0c3 11:30:33 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 11:30:34 ---> 64276fd89c4d 11:30:34 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 11:30:35 ---> 2fa67f38a54f 11:30:35 Successfully built 2fa67f38a54f 11:30:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:30:35 + docker inspect -f . ci-base-image-arm64 11:30:35 . [Pipeline] withDockerContainer 11:30:36 prd-ubuntu18.04-docker-arm64-4c-16g-295 does not seem to be running inside a container 11:30:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:30:37 $ docker top 87bbe65e7568f0df0d3723431fd9829e1d297f31e269553e0fa611629c420622 -eo pid,comm [Pipeline] { [Pipeline] sh 11:30:38 + make test 11:30:38 echo "make test" 11:30:38 make test [Pipeline] } 11:30:39 $ docker stop --time=1 87bbe65e7568f0df0d3723431fd9829e1d297f31e269553e0fa611629c420622 11:30:41 $ docker rm -f 87bbe65e7568f0df0d3723431fd9829e1d297f31e269553e0fa611629c420622 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:30:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:30:42 + ls -al . 11:30:42 total 192 11:30:42 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 11:27 . 11:30:42 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 11:27 .. 11:30:42 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 11:27 .git 11:30:42 -rw-rw-r-- 1 jenkins jenkins 176 Mar 12 11:27 .gitignore 11:30:42 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 11:27 .semver 11:30:42 -rw-rw-r-- 1 jenkins jenkins 3104 Mar 12 11:27 Attribution.txt 11:30:42 -rw-rw-r-- 1 jenkins jenkins 4882 Mar 12 11:27 CHANGES 11:30:42 -rw-rw-r-- 1 jenkins jenkins 108574 Mar 12 11:27 Doxyfile 11:30:42 -rw-rw-r-- 1 jenkins jenkins 792 Mar 12 11:27 Jenkinsfile 11:30:42 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 12 11:27 LICENSE 11:30:42 -rw-rw-r-- 1 jenkins jenkins 448 Mar 12 11:27 Makefile 11:30:42 -rw-rw-r-- 1 jenkins jenkins 1849 Mar 12 11:27 README.md 11:30:42 -rw-rw-r-- 1 jenkins jenkins 5031 Mar 12 11:27 README.v2.md 11:30:42 -rw-rw-r-- 1 jenkins jenkins 5 Mar 12 11:25 VERSION 11:30:42 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 11:27 docs 11:30:42 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 11:27 include 11:30:42 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 11:27 scripts 11:30:42 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 11:27 src [Pipeline] isUnix [Pipeline] sh 11:30:42 + 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=549442fe523e2b87072d295f8539c8757b8b0825 --label arch=arm64 --label version=0.0.0 . 11:30:43 Sending build context to Docker daemon 2.828MB 11:30:43 Step 1/15 : ARG BASE=alpine:3.9 11:30:43 Step 2/15 : FROM ${BASE} 11:30:43 ---> 2fa67f38a54f 11:30:43 Step 3/15 : MAINTAINER IOTech 11:30:43 ---> Running in e6700c8ac1ec 11:30:44 Removing intermediate container e6700c8ac1ec 11:30:44 ---> 7ec6a588a670 11:30:44 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 11:30:44 ---> Running in d8c66d01459a 11:30:45 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 11:30:45 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 11:30:45 (1/21) Installing pkgconf (1.6.0-r0) 11:30:45 (2/21) Installing openssl-dev (1.1.1d-r2) 11:30:46 (3/21) Installing zlib-dev (1.2.11-r1) 11:30:46 (4/21) Installing libssh2-dev (1.9.0-r1) 11:30:46 (5/21) Installing nghttp2-dev (1.35.1-r1) 11:30:46 (6/21) Installing curl-dev (7.64.0-r3) 11:30:46 (7/21) Installing gnutls-c++ (3.6.7-r0) 11:30:46 (8/21) Installing libgmpxx (6.1.2-r1) 11:30:46 (9/21) Installing gmp-dev (6.1.2-r1) 11:30:46 (10/21) Installing nettle-dev (3.4.1-r0) 11:30:46 (11/21) Installing libtasn1-dev (4.14-r0) 11:30:46 (12/21) Installing p11-kit-dev (0.23.14-r0) 11:30:46 (13/21) Installing gnutls-dev (3.6.7-r0) 11:30:46 (14/21) Installing libmicrohttpd-dev (0.9.62-r0) 11:30:46 (15/21) Installing ncurses-dev (6.1_p20190105-r0) 11:30:46 (16/21) Installing libblkid (2.33-r0) 11:30:46 (17/21) Installing libfdisk (2.33-r0) 11:30:46 (18/21) Installing libmount (2.33-r0) 11:30:46 (19/21) Installing libsmartcols (2.33-r0) 11:30:46 (20/21) Installing util-linux-dev (2.33-r0) 11:30:47 (21/21) Installing yaml-dev (0.2.1-r0) 11:30:47 Executing busybox-1.29.3-r10.trigger 11:30:47 OK: 279 MiB in 83 packages 11:30:51 Removing intermediate container d8c66d01459a 11:30:51 ---> a96df6cba0cc 11:30:51 Step 5/15 : COPY VERSION /edgex-c-sdk/ 11:30:51 ---> ee645d41ac53 11:30:51 Step 6/15 : COPY src /edgex-c-sdk/src/ 11:30:52 ---> 8f1c2d345f97 11:30:52 Step 7/15 : COPY include /edgex-c-sdk/include/ 11:30:52 ---> a9bf4845a347 11:30:52 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 11:30:53 ---> b27d3cc876ab 11:30:53 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 11:30:53 ---> 3d140e318845 11:30:53 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 11:30:54 ---> 9dffe9916154 11:30:54 Step 11/15 : WORKDIR /edgex-c-sdk 11:30:54 ---> Running in b1ec95bb3ff0 11:30:54 Removing intermediate container b1ec95bb3ff0 11:30:54 ---> 62d1188e2a08 11:30:54 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 11:30:54 ---> Running in ea4933a36bff 11:30:55 Removing intermediate container ea4933a36bff 11:30:55 ---> 25dc50a02d5b 11:30:55 Step 13/15 : LABEL arch=arm64 11:30:55 ---> Running in 66ae481ca4fc 11:30:55 Removing intermediate container 66ae481ca4fc 11:30:55 ---> cf02abb4ed1f 11:30:55 Step 14/15 : LABEL git_sha=549442fe523e2b87072d295f8539c8757b8b0825 11:30:55 ---> Running in 25f4d3013958 11:30:56 Removing intermediate container 25f4d3013958 11:30:56 ---> 0c7c21206e54 11:30:56 Step 15/15 : LABEL version=0.0.0 11:30:56 ---> Running in 5b6fcd2d9b7e 11:30:56 Removing intermediate container 5b6fcd2d9b7e 11:30:56 ---> 477972d232f2 11:30:56 [Warning] One or more build-args [MAKE ARCH] were not consumed 11:30:56 Successfully built 477972d232f2 11:30:56 Successfully tagged docker-device-sdk-c-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 11:30:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:30:59 ---> package-listing.sh 11:30:59 ++ facter osfamily 11:30:59 ++ tr '[:upper:]' '[:lower:]' 11:30:59 + OS_FAMILY=redhat 11:30:59 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-239 11:30:59 + START_PACKAGES=/tmp/packages_start.txt 11:30:59 + END_PACKAGES=/tmp/packages_end.txt 11:30:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:30:59 + PACKAGES=/tmp/packages_start.txt 11:30:59 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-239 ']' 11:30:59 + PACKAGES=/tmp/packages_end.txt 11:30:59 + case "${OS_FAMILY}" in 11:30:59 + rpm -qa 11:30:59 + sort 11:31:03 + '[' -f /tmp/packages_start.txt ']' 11:31:03 + '[' -f /tmp/packages_end.txt ']' 11:31:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:31:03 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-239 ']' 11:31:03 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-239/archives/ 11:31:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-239/archives/ [Pipeline] isUnix [Pipeline] sh 11:31:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:31:04 11:31:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 11:31:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:31:04 alpine: Pulling from edgex-lftools-log-publisher 11:31:04 c9b1b535fdd9: Pulling fs layer 11:31:04 2cc5ad85d9ab: Pulling fs layer 11:31:04 756a868c4378: Pulling fs layer 11:31:04 444b2fc9a129: Pulling fs layer 11:31:04 ea15f1150254: Pulling fs layer 11:31:04 41b27a9f41bf: Pulling fs layer 11:31:04 28c525ee5125: Pulling fs layer 11:31:04 094b1ea09ed8: Pulling fs layer 11:31:04 138eaada9080: Pulling fs layer 11:31:04 0622d0fa9048: Pulling fs layer 11:31:04 ea15f1150254: Waiting 11:31:04 41b27a9f41bf: Waiting 11:31:04 28c525ee5125: Waiting 11:31:04 094b1ea09ed8: Waiting 11:31:04 138eaada9080: Waiting 11:31:04 0622d0fa9048: Waiting 11:31:04 444b2fc9a129: Waiting 11:31:04 2cc5ad85d9ab: Verifying Checksum 11:31:04 2cc5ad85d9ab: Download complete 11:31:04 444b2fc9a129: Download complete 11:31:04 c9b1b535fdd9: Verifying Checksum 11:31:04 c9b1b535fdd9: Download complete 11:31:04 ea15f1150254: Download complete 11:31:04 28c525ee5125: Verifying Checksum 11:31:04 28c525ee5125: Download complete 11:31:05 c9b1b535fdd9: Pull complete 11:31:05 756a868c4378: Verifying Checksum 11:31:05 756a868c4378: Download complete 11:31:05 138eaada9080: Verifying Checksum 11:31:05 138eaada9080: Download complete 11:31:05 094b1ea09ed8: Verifying Checksum 11:31:05 094b1ea09ed8: Download complete 11:31:05 2cc5ad85d9ab: Pull complete 11:31:05 0622d0fa9048: Verifying Checksum 11:31:05 0622d0fa9048: Download complete 11:31:06 41b27a9f41bf: Verifying Checksum 11:31:06 41b27a9f41bf: Download complete 11:31:06 756a868c4378: Pull complete 11:31:07 444b2fc9a129: Pull complete 11:31:07 ea15f1150254: Pull complete 11:31:11 41b27a9f41bf: Pull complete 11:31:11 28c525ee5125: Pull complete 11:31:13 094b1ea09ed8: Pull complete 11:31:13 138eaada9080: Pull complete 11:31:13 0622d0fa9048: Pull complete 11:31:13 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 11:31:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 11:31:13 prd-centos7-docker-4c-2g-293 does not seem to be running inside a container 11:31:13 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/edgexfoundry_device-sdk-c_PR-239 -v /w/workspace/edgexfoundry_device-sdk-c_PR-239:/w/workspace/edgexfoundry_device-sdk-c_PR-239:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-239@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-239@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 11:31:14 $ docker top 92b16da17cc35b51c2f6f08e5de711bd0bb847b5e44814f4b607406a0cd20530 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 11:31:14 provisioning config files... 11:31:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-239@tmp/config3944422137931075002tmp [Pipeline] { [Pipeline] echo 11:31:14 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:31:15 ---> create-netrc.sh [Pipeline] echo 11:31:15 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:31:15 ---> logs-deploy.sh 11:31:15 + ARCHIVE_ARTIFACTS= 11:31:15 + LOGS_SERVER=https://logs.edgexfoundry.org 11:31:15 + '[' https://logs.edgexfoundry.org == None ']' 11:31:15 + NEXUS_URL=https://nexus.edgexfoundry.org 11:31:15 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-239/1 11:31:15 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-239/1/ 11:31:15 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-239/1 /w/workspace/edgexfoundry_device-sdk-c_PR-239 11:31:16 Archives upload complete. 11:31:16 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-239/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-239/1/