Pull request #266 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 dc92159035943af386d057d5726ed0e1ae02a015+11dca0682671ac21648f2eee6e4306387f0e3104 (09c1d522f53248c31b6574e4974f4172a4130df7) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 370697454611dc68c0596e0d0a50477a8de841a8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 370697454611dc68c0596e0d0a50477a8de841a8 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-266/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-3.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 SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Running on prd-centos7-docker-4c-2g-2223 in /w/workspace/edgexfoundry_device-sdk-c_PR-266 [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-266 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/266/head:refs/remotes/origin/PR-266 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 11dca0682671ac21648f2eee6e4306387f0e3104 into PR head commit dc92159035943af386d057d5726ed0e1ae02a015 Merge succeeded, producing dc92159035943af386d057d5726ed0e1ae02a015 Checking out Revision dc92159035943af386d057d5726ed0e1ae02a015 (PR-266) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/266/head:refs/remotes/origin/PR-266 # 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/266/head:refs/remotes/origin/PR-266 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dc92159035943af386d057d5726ed0e1ae02a015 # 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 11dca0682671ac21648f2eee6e4306387f0e3104 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dc92159035943af386d057d5726ed0e1ae02a015 # timeout=10 Commit message: "examples: add signal masking code" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:15:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:15:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:15:04 ========================================================= 14:15:04 EdgeX Global Pipelines Version Info 14:15:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:15:06 ------------------- 14:15:06 stable info: 14:15:06 ------------------- 14:15:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:15:06 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 14:15:06 Message: update stable to v1.0.89 14:15:07 ------------------- 14:15:07 experimental info: 14:15:07 ------------------- 14:15:07 Commited By: **** collab-it+edgex@linuxfoundation.org 14:15:07 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 14:15:07 Message: update experimental to v1.0.89 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 14:15:09 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:15:09 14:15:09 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:15:10 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:15:10 latest: Pulling from edgex-devops/git-semver 14:15:10 9123ac7c32f7: Pulling fs layer 14:15:10 b8cc5d1170e3: Pulling fs layer 14:15:10 2924cbbf6a41: Pulling fs layer 14:15:10 93b08a4f1073: Pulling fs layer 14:15:10 93b08a4f1073: Waiting 14:15:10 b8cc5d1170e3: Verifying Checksum 14:15:10 b8cc5d1170e3: Download complete 14:15:10 9123ac7c32f7: Verifying Checksum 14:15:10 9123ac7c32f7: Download complete 14:15:10 93b08a4f1073: Verifying Checksum 14:15:10 93b08a4f1073: Download complete 14:15:10 2924cbbf6a41: Verifying Checksum 14:15:10 2924cbbf6a41: Download complete 14:15:10 9123ac7c32f7: Pull complete 14:15:10 b8cc5d1170e3: Pull complete 14:15:11 2924cbbf6a41: Pull complete 14:15:11 93b08a4f1073: Pull complete 14:15:11 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 14:15:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:15:11 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:15:11 prd-centos7-docker-4c-2g-2223 does not seem to be running inside a container 14:15:11 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-266 -v /w/workspace/edgexfoundry_device-sdk-c_PR-266:/w/workspace/edgexfoundry_device-sdk-c_PR-266:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-266@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-266@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:15:14 $ docker top 128d34f03e80abcdb01a097b5cd590d9306b94e9b1f14b2eb13b2220b56bf344 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:15:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:15:14 [ssh-agent] Looking for ssh-agent implementation... 14:15:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:15:14 $ docker exec 128d34f03e80abcdb01a097b5cd590d9306b94e9b1f14b2eb13b2220b56bf344 ssh-agent 14:15:14 SSH_AUTH_SOCK=/tmp/ssh-Wd3dxfIwyQzP/agent.13 14:15:14 SSH_AGENT_PID=18 14:15:14 Running ssh-add (command line suppressed) 14:15:14 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-266@tmp/private_key_6578430150702800361.key (/w/workspace/edgexfoundry_device-sdk-c_PR-266@tmp/private_key_6578430150702800361.key) 14:15:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:15:15 + git describe --exact-match --tags HEAD 14:15:15 fatal: No names found, cannot describe anything. [Pipeline] } 14:15:15 $ docker exec --env ******** --env ******** 128d34f03e80abcdb01a097b5cd590d9306b94e9b1f14b2eb13b2220b56bf344 ssh-agent -k 14:15:15 unset SSH_AUTH_SOCK; 14:15:15 unset SSH_AGENT_PID; 14:15:15 echo Agent pid 18 killed; 14:15:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 14:15:15 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 14:15:15 This usually means this commit has not been tagged. [Pipeline] sshagent 14:15:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:15:15 [ssh-agent] Looking for ssh-agent implementation... 14:15:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:15:15 $ docker exec 128d34f03e80abcdb01a097b5cd590d9306b94e9b1f14b2eb13b2220b56bf344 ssh-agent 14:15:16 SSH_AUTH_SOCK=/tmp/ssh-n20jPfJ3Q80f/agent.47 14:15:16 SSH_AGENT_PID=53 14:15:16 Running ssh-add (command line suppressed) 14:15:16 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-266@tmp/private_key_1271553719844261881.key (/w/workspace/edgexfoundry_device-sdk-c_PR-266@tmp/private_key_1271553719844261881.key) 14:15:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:15:16 + git semver init 14:15:16 # -> Open(): unable to determine branch for HEAD 14:15:16 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-266/.git 14:15:16 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-266 14:15:16 # $SEMVER_REMOTE_NAME = origin 14:15:16 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:15:16 # $SEMVER_USER_NAME = edgex-jenkins 14:15:16 # $SEMVER_BRANCH = PR-266 14:15:16 # $SEMVER_TEMP = /tmp/semver-614900912 14:15:16 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 14:15:17 # '/tmp/semver-614900912' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-266/.semver' 14:15:17 # -> Force: false 14:15:17 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-266/.semver [Pipeline] } 14:15:17 $ docker exec --env ******** --env ******** 128d34f03e80abcdb01a097b5cd590d9306b94e9b1f14b2eb13b2220b56bf344 ssh-agent -k 14:15:17 unset SSH_AUTH_SOCK; 14:15:17 unset SSH_AGENT_PID; 14:15:17 echo Agent pid 53 killed; 14:15:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:15:17 + git semver [Pipeline] } 14:15:17 $ docker stop --time=1 128d34f03e80abcdb01a097b5cd590d9306b94e9b1f14b2eb13b2220b56bf344 14:15:19 $ docker rm -f 128d34f03e80abcdb01a097b5cd590d9306b94e9b1f14b2eb13b2220b56bf344 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 14:15:20 Stashed 47 file(s) [Pipeline] echo 14:15:20 [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 14:15:35 Still waiting to schedule task 14:15:35 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2223’ 14:15:35 Still waiting to schedule task 14:15:35 ‘prd-ubuntu18.04-docker-arm64-4c-16g-2075’ is offline 14:17:12 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2225 in /w/workspace/edgexfoundry_device-sdk-c_PR-266 [Pipeline] { [Pipeline] ws 14:17:12 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 14:17:17 using credential edgex-jenkins-ssh 14:17:17 Cloning the remote Git repository 14:17:17 Cloning with configured refspecs honoured and without tags 14:17:17 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 14:17:17 > git init /w/workspace/device-sdk-c/1 # timeout=10 14:17:18 Fetching without tags 14:17:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:17:17 > git --version # timeout=10 14:17:17 using GIT_SSH to set credentials SSH Credentials for GitHub 14:17:17 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/266/head:refs/remotes/origin/PR-266 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:17:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:17:18 > git config --add remote.origin.fetch +refs/pull/266/head:refs/remotes/origin/PR-266 # timeout=10 14:17:18 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 14:17:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:17:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:17:18 using GIT_SSH to set credentials SSH Credentials for GitHub 14:17:18 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/266/head:refs/remotes/origin/PR-266 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:17:19 Merging remotes/origin/master commit 11dca0682671ac21648f2eee6e4306387f0e3104 into PR head commit dc92159035943af386d057d5726ed0e1ae02a015 14:17:19 Merge succeeded, producing dc92159035943af386d057d5726ed0e1ae02a015 14:17:19 Checking out Revision dc92159035943af386d057d5726ed0e1ae02a015 (PR-266) 14:17:19 > git config core.sparsecheckout # timeout=10 14:17:19 > git checkout -f dc92159035943af386d057d5726ed0e1ae02a015 # timeout=10 14:17:19 > git remote # timeout=10 14:17:19 > git config --get remote.origin.url # timeout=10 14:17:19 using GIT_SSH to set credentials SSH Credentials for GitHub 14:17:19 > git merge 11dca0682671ac21648f2eee6e4306387f0e3104 # timeout=10 14:17:19 > git rev-parse HEAD^{commit} # timeout=10 14:17:19 > git config core.sparsecheckout # timeout=10 14:17:19 > git checkout -f dc92159035943af386d057d5726ed0e1ae02a015 # timeout=10 14:17:23 Commit message: "examples: add signal masking code" 14:17:23 > git --version # timeout=10 14:17:23 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:17:25 ========================================================= 14:17:25 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 14:17:25 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:17:26 + 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 . 14:17:27 Sending build context to Docker daemon 3.21MB 14:17:27 Step 1/21 : ARG BASE=alpine:3.9 14:17:27 Step 2/21 : FROM ${BASE} as builder 14:17:27 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 14:17:27 0362ad1dd800: Pulling fs layer 14:17:27 f2cdb1532d8b: Pulling fs layer 14:17:27 37ed683be191: Pulling fs layer 14:17:28 f2cdb1532d8b: Verifying Checksum 14:17:28 f2cdb1532d8b: Download complete 14:17:28 0362ad1dd800: Download complete 14:17:29 0362ad1dd800: Pull complete 14:17:29 f2cdb1532d8b: Pull complete 14:17:30 37ed683be191: Verifying Checksum 14:17:30 37ed683be191: Download complete 14:17:40 37ed683be191: Pull complete 14:17:40 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 14:17:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 14:17:40 ---> b23d30803547 14:17:40 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 14:17:41 ---> Running in f95bdf617002 14:17:43 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 14:17:44 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 14:17:44 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 14:17:44 (2/8) Installing libuuid (2.33-r0) 14:17:44 (3/8) Installing libblkid (2.33-r0) 14:17:44 (4/8) Installing libfdisk (2.33-r0) 14:17:44 (5/8) Installing libmount (2.33-r0) 14:17:44 (6/8) Installing libsmartcols (2.33-r0) 14:17:44 (7/8) Installing util-linux-dev (2.33-r0) 14:17:45 (8/8) Installing wget (1.20.3-r0) 14:17:45 Executing busybox-1.29.3-r10.trigger 14:17:45 OK: 285 MiB in 83 packages 14:17:46 Removing intermediate container f95bdf617002 14:17:46 ---> 268e907fdb9d 14:17:46 Step 4/21 : ENV CBOR_VERSION=0.5.0 14:17:46 ---> Running in 4e317a3975d6 14:17:47 Removing intermediate container 4e317a3975d6 14:17:47 ---> 4f90b563c404 14:17:47 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 14:17:47 ---> Running in 5414ae836ee1 14:17:48 --2020-06-08 14:17:48-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 14:17:48 Resolving github.com... 140.82.112.4 14:17:48 Connecting to github.com|140.82.112.4|:443... connected. 14:17:49 HTTP request sent, awaiting response... 302 Found 14:17:49 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 14:17:49 --2020-06-08 14:17:49-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 14:17:49 Resolving codeload.github.com... 140.82.112.10 14:17:49 Connecting to codeload.github.com|140.82.112.10|:443... connected. 14:17:49 HTTP request sent, awaiting response... 200 OK 14:17:49 Length: unspecified [application/x-gzip] 14:17:49 Saving to: 'STDOUT' 14:17:49  14:17:49 0K .......... .......... .......... .......... .......... 1.61M 14:17:49 50K .......... .......... .......... .......... .......... 3.15M 14:17:49 100K .......... .......... .......... .......... .......... 3.78M 14:17:49 150K .......... .......... .......... .......... .......... 11.2M 14:17:49 200K .......... .......... .......... .......... .......... 14.1M 14:17:49 250K .......... .......... .......... .......... .......... 3.72M 14:17:49 300K .......... .......... .......... .......... .......... 5.27M 14:17:49 350K .......... .......... .......... .......... .......... 7.06M 14:17:49 400K .......... .......... .......... .......... .......... 5.23M 14:17:49 450K .......... .......... .......... .......... .......... 3.50M 14:17:49 500K .......... .......... .......... .......... .......... 7.19M 14:17:49 550K .......... .......... .......... .......... .......... 1.79M 14:17:49 600K .......... .......... .......... .......... .......... 1.02M 14:17:49 650K .......... .......... .......... .......... .......... 2.14M 14:17:49 700K .. 12.7M=0.2s 14:17:49 14:17:49 2020-06-08 14:17:49 (3.06 MB/s) - written to stdout [719348] 14:17:49 14:17:50 -- The C compiler identification is GNU 8.3.0 14:17:50 -- The CXX compiler identification is GNU 8.3.0 14:17:50 -- Check for working C compiler: /usr/bin/cc 14:17:50 -- Check for working C compiler: /usr/bin/cc -- works 14:17:50 -- Detecting C compiler ABI info 14:17:50 -- Detecting C compiler ABI info - done 14:17:50 -- Detecting C compile features 14:17:51 -- Detecting C compile features - done 14:17:51 -- Check for working CXX compiler: /usr/bin/c++ 14:17:51 -- Check for working CXX compiler: /usr/bin/c++ -- works 14:17:51 -- Detecting CXX compiler ABI info 14:17:51 -- Detecting CXX compiler ABI info - done 14:17:51 -- Detecting CXX compile features 14:17:53 -- Detecting CXX compile features - done 14:17:53 -- Looking for include file endian.h 14:17:53 -- Looking for include file endian.h - found 14:17:53 -- Check if the system is big endian 14:17:53 -- Searching 16 bit integer 14:17:53 -- Looking for sys/types.h 14:17:54 -- Looking for sys/types.h - found 14:17:54 -- Looking for stdint.h 14:17:54 -- Looking for stdint.h - found 14:17:54 -- Looking for stddef.h 14:17:54 -- Looking for stddef.h - found 14:17:54 -- Check size of unsigned short 14:17:54 -- Check size of unsigned short - done 14:17:54 -- Using unsigned short 14:17:54 -- Check if the system is big endian - little endian 14:17:54 -- Check size of size_t 14:17:55 -- Check size of size_t - done 14:17:55 CMake Warning at examples/CMakeLists.txt:16 (find_package): 14:17:55 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 14:17:55 asked CMake to find a package configuration file provided by "cJSON", but 14:17:55 CMake did not find one. 14:17:55 14:17:55 Could not find a package configuration file provided by "cJSON" with any of 14:17:55 the following names: 14:17:55 14:17:55 cJSONConfig.cmake 14:17:55 cjson-config.cmake 14:17:55 14:17:55 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 14:17:55 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 14:17:55 provides a separate development package or SDK, be sure it has been 14:17:55 installed. 14:17:55 14:17:55 14:17:55 -- Configuring done 14:17:55 -- Generating done 14:17:55 -- Build files have been written to: /tmp/cbor 14:17:55 Scanning dependencies of target cbor_shared 14:17:55 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 14:17:56 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 14:17:56 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 14:17:57 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 14:17:57 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 14:17:58 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 14:17:58 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 14:17:58 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 14:17:58 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 14:17:58 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 14:17:59 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 14:17:59 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 14:18:00 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 14:18:00 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 14:18:00 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 14:18:00 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 14:18:01 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 14:18:01 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 14:18:01 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 14:18:02 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 14:18:02 [ 40%] Linking C shared library libcbor.so 14:18:02 [ 40%] Built target cbor_shared 14:18:02 Scanning dependencies of target cbor 14:18:02 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 14:18:03 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 14:18:03 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 14:18:04 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 14:18:05 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 14:18:05 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 14:18:05 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 14:18:05 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 14:18:05 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 14:18:06 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 14:18:07 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 14:18:07 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 14:18:07 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 14:18:08 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 14:18:08 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 14:18:08 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 14:18:08 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 14:18:09 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 14:18:09 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 14:18:09 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 14:18:09 [ 80%] Linking C static library libcbor.a 14:18:09 [ 80%] Built target cbor 14:18:09 Scanning dependencies of target create_items 14:18:09 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 14:18:09 [ 84%] Linking C executable create_items 14:18:10 [ 84%] Built target create_items 14:18:10 Scanning dependencies of target readfile 14:18:10 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 14:18:10 [ 88%] Linking C executable readfile 14:18:10 [ 88%] Built target readfile 14:18:10 Scanning dependencies of target streaming_parser 14:18:10 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 14:18:10 [ 92%] Linking C executable streaming_parser 14:18:10 [ 92%] Built target streaming_parser 14:18:10 Scanning dependencies of target sort 14:18:10 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 14:18:11 [ 96%] Linking C executable sort 14:18:11 [ 96%] Built target sort 14:18:11 Scanning dependencies of target hello 14:18:11 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 14:18:11 [100%] Linking C executable hello 14:18:11 [100%] Built target hello 14:18:11 Install the project... 14:18:11 -- Install configuration: "Release" 14:18:11 -- Installing: /usr/local/include/cbor/configuration.h 14:18:11 -- Installing: /usr/local/lib64/libcbor.a 14:18:11 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 14:18:11 -- Installing: /usr/local/lib64/libcbor.so.0 14:18:11 -- Installing: /usr/local/lib64/libcbor.so 14:18:11 -- Up-to-date: /usr/local/include/cbor 14:18:11 -- Installing: /usr/local/include/cbor/streaming.h 14:18:11 -- Installing: /usr/local/include/cbor/ints.h 14:18:11 -- Installing: /usr/local/include/cbor/floats_ctrls.h 14:18:11 -- Installing: /usr/local/include/cbor/bytestrings.h 14:18:11 -- Installing: /usr/local/include/cbor/encoding.h 14:18:11 -- Installing: /usr/local/include/cbor/serialization.h 14:18:11 -- Installing: /usr/local/include/cbor/data.h 14:18:11 -- Installing: /usr/local/include/cbor/common.h 14:18:11 -- Installing: /usr/local/include/cbor/callbacks.h 14:18:11 -- Installing: /usr/local/include/cbor/strings.h 14:18:11 -- Installing: /usr/local/include/cbor/tags.h 14:18:11 -- Installing: /usr/local/include/cbor/internal 14:18:11 -- Installing: /usr/local/include/cbor/internal/encoders.h 14:18:11 -- Installing: /usr/local/include/cbor/internal/loaders.h 14:18:11 -- Installing: /usr/local/include/cbor/internal/stack.h 14:18:11 -- Installing: /usr/local/include/cbor/internal/unicode.h 14:18:11 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 14:18:11 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 14:18:11 -- Installing: /usr/local/include/cbor/arrays.h 14:18:11 -- Installing: /usr/local/include/cbor/maps.h 14:18:11 -- Installing: /usr/local/include/cbor.h 14:18:11 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 14:18:13 Removing intermediate container 5414ae836ee1 14:18:13 ---> 039c284c72f0 14:18:13 Step 6/21 : RUN mkdir /tmp/sdk 14:18:13 ---> Running in 262b7d83d99a 14:18:16 Removing intermediate container 262b7d83d99a 14:18:16 ---> bee68162e1de 14:18:16 Step 7/21 : COPY VERSION /tmp/sdk 14:18:17 ---> f74c47e3dafd 14:18:17 Step 8/21 : COPY src /tmp/sdk/src 14:18:18 ---> 68825cfe3985 14:18:18 Step 9/21 : COPY include /tmp/sdk/include 14:18:18 ---> 3bbc247acfcc 14:18:18 Step 10/21 : COPY scripts /tmp/sdk/scripts 14:18:19 ---> 90323ae0dcda 14:18:19 Step 11/21 : COPY LICENSE /tmp/sdk 14:18:19 ---> 529447a2980a 14:18:19 Step 12/21 : COPY Attribution.txt /tmp/sdk 14:18:20 ---> 8b198aa55559 14:18:20 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 14:18:20 ---> Running in 62b60a3693b1 14:18:22 + CPPCHECK=false 14:18:22 + DOCGEN=false 14:18:22 + TOMLVER=SDK-0.2 14:18:22 + CUTILVER=1.0.4 14:18:22 + '[' 0 -gt 0 ] 14:18:22 + readlink -f ./scripts/build.sh 14:18:22 + dirname /tmp/sdk/scripts/build.sh 14:18:22 + dirname /tmp/sdk/scripts 14:18:22 + ROOT=/tmp/sdk 14:18:22 + cd /tmp/sdk 14:18:22 + '[' '!' -d deps ] 14:18:22 + mkdir deps 14:18:22 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:18:22 + tar -C deps -z -x -f - 14:18:22 --2020-06-08 14:18:22-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:18:22 Resolving github.com... 140.82.112.4 14:18:22 Connecting to github.com|140.82.112.4|:443... connected. 14:18:22 HTTP request sent, awaiting response... 302 Found 14:18:22 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 14:18:22 --2020-06-08 14:18:22-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 14:18:22 Resolving codeload.github.com... 140.82.112.10 14:18:22 Connecting to codeload.github.com|140.82.112.10|:443... connected. 14:18:22 HTTP request sent, awaiting response... 200 OK 14:18:22 Length: unspecified [application/x-gzip] 14:18:22 Saving to: 'STDOUT' 14:18:22  14:18:22 0K .......... ......  893K=0.02s 14:18:22 14:18:22 2020-06-08 14:18:22 (893 KB/s) - written to stdout [16451] 14:18:22 14:18:22 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 14:18:22 + + tarwget -C -O deps - -z https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz -x 14:18:22 -f - 14:18:22 --2020-06-08 14:18:22-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz 14:18:22 Resolving github.com... 140.82.112.4 14:18:22 Connecting to github.com|140.82.112.4|:443... connected. 14:18:22 HTTP request sent, awaiting response... 302 Found 14:18:22 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] 14:18:22 --2020-06-08 14:18:22-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 14:18:22 Resolving codeload.github.com... 140.82.112.10 14:18:22 Connecting to codeload.github.com|140.82.112.10|:443... connected. 14:18:23 HTTP request sent, awaiting response... 200 OK 14:18:23 Length: unspecified [application/x-gzip] 14:18:23 Saving to: 'STDOUT' 14:18:23  14:18:23 0K .......... .......... .......... .......... .......... 1.51M 14:18:23 50K .......... .......... .......... .......... .......... 3.12M 14:18:23 100K .......... .......... .......... .......... .......... 4.16M 14:18:23 150K ........            3.43M=0.06s 14:18:23 14:18:23 2020-06-08 14:18:22 (2.49 MB/s) - written to stdout [162267] 14:18:23 14:18:23 + mkdir -p src/c/iot 14:18:23 + cp deps/iotech-c-utils-1.0.4/src/c/base64.c deps/iotech-c-utils-1.0.4/src/c/component.c deps/iotech-c-utils-1.0.4/src/c/container.c deps/iotech-c-utils-1.0.4/src/c/data.c deps/iotech-c-utils-1.0.4/src/c/hash.c deps/iotech-c-utils-1.0.4/src/c/iot.c deps/iotech-c-utils-1.0.4/src/c/json.c deps/iotech-c-utils-1.0.4/src/c/logger.c deps/iotech-c-utils-1.0.4/src/c/os.c deps/iotech-c-utils-1.0.4/src/c/scheduler.c deps/iotech-c-utils-1.0.4/src/c/thread.c deps/iotech-c-utils-1.0.4/src/c/threadpool.c deps/iotech-c-utils-1.0.4/src/c/time.c src/c/iot 14:18:23 + mkdir -p include/iot 14:18:23 + cp deps/iotech-c-utils-1.0.4/include/iot/base64.h deps/iotech-c-utils-1.0.4/include/iot/component.h deps/iotech-c-utils-1.0.4/include/iot/container.h deps/iotech-c-utils-1.0.4/include/iot/data.h deps/iotech-c-utils-1.0.4/include/iot/hash.h deps/iotech-c-utils-1.0.4/include/iot/iot.h deps/iotech-c-utils-1.0.4/include/iot/json.h deps/iotech-c-utils-1.0.4/include/iot/logger.h deps/iotech-c-utils-1.0.4/include/iot/os.h deps/iotech-c-utils-1.0.4/include/iot/scheduler.h deps/iotech-c-utils-1.0.4/include/iot/thread.h deps/iotech-c-utils-1.0.4/include/iot/threadpool.h deps/iotech-c-utils-1.0.4/include/iot/time.h deps/iotech-c-utils-1.0.4/include/iot/typecode.h include/iot 14:18:23 + mkdir -p include/iot/os 14:18:23 + cp deps/iotech-c-utils-1.0.4/include/iot/os/linux.h deps/iotech-c-utils-1.0.4/include/iot/os/zephyr.h include/iot/os 14:18:23 + mkdir -p /tmp/sdk/build/release 14:18:23 + cd /tmp/sdk/build/release 14:18:23 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 14:18:23 -- The C compiler identification is GNU 8.3.0 14:18:23 -- Check for working C compiler: /usr/bin/cc 14:18:23 -- Check for working C compiler: /usr/bin/cc -- works 14:18:23 -- Detecting C compiler ABI info 14:18:23 -- Detecting C compiler ABI info - done 14:18:23 -- Detecting C compile features 14:18:24 -- Detecting C compile features - done 14:18:24 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:18:24 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 14:18:24 -- Found LIBYAML: /usr/lib/libyaml.so 14:18:24 -- Found LIBUUID: /usr/lib/libuuid.so 14:18:24 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 14:18:24 -- C SDK 0.0.0 for Linux 14:18:24 -- Performing Test CSDK_HAVE_ATOMIC 14:18:24 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:18:24 -- Found Curses: /usr/lib/libcurses.so 14:18:25 -- Configuring done 14:18:25 -- Generating done 14:18:25 -- Build files have been written to: /tmp/sdk/build/release 14:18:25 + make 14:18:25 + tee release.log 14:18:25 Scanning dependencies of target csdk 14:18:25 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:18:25 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 14:18:26 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:18:28 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:18:28 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:18:29 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:18:30 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:18:31 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:18:32 [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:18:32 [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:18:33 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:18:33 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:18:33 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:18:33 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:18:37 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:18:37 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:18:37 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:18:38 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:18:40 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:18:40 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:18:40 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:18:41 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:18:41 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:18:42 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:18:43 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:18:43 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:18:43 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:18:43 [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:18:44 [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:18:45 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:18:45 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:18:49 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:18:50 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:18:50 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:18:51 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:18:52 [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:18:54 [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:18:57 [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:18:57 [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 14:18:59 [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:18:59 [ 74%] Linking C shared library libcsdk.so 14:18:59 [ 74%] Built target csdk 14:18:59 Scanning dependencies of target template 14:18:59 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:19:00 [ 78%] Linking C executable template 14:19:00 [ 78%] Built target template 14:19:00 Scanning dependencies of target device-counter 14:19:00 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:19:01 [ 81%] Linking C executable device-counter 14:19:01 [ 81%] Built target device-counter 14:19:01 Scanning dependencies of target device-random 14:19:01 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:19:01 [ 85%] Linking C executable device-random 14:19:02 [ 85%] Built target device-random 14:19:02 Scanning dependencies of target device-gyro 14:19:02 [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:19:02 [ 89%] Linking C executable device-gyro 14:19:02 [ 89%] Built target device-gyro 14:19:02 Scanning dependencies of target template-discovery 14:19:02 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:19:03 [ 92%] Linking C executable template-discovery 14:19:03 [ 92%] Built target template-discovery 14:19:03 Scanning dependencies of target device-terminal 14:19:03 [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:19:04 [ 96%] Linking C executable device-terminal 14:19:04 [ 96%] Built target device-terminal 14:19:04 Scanning dependencies of target templatev1 14:19:04 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 14:19:05 [100%] Linking C executable templatev1 14:19:05 [100%] Built target templatev1 14:19:05 + make package 14:19:05 + tee -a release.log 14:19:05 [ 74%] Built target csdk 14:19:05 [ 78%] Built target template 14:19:05 [ 81%] Built target device-counter 14:19:05 [ 85%] Built target device-random 14:19:05 [ 89%] Built target device-gyro 14:19:05 [ 92%] Built target template-discovery 14:19:05 [ 96%] Built target device-terminal 14:19:05 [100%] Built target templatev1 14:19:05 Run CPack packaging tool... 14:19:05 CPack: Create package using TGZ 14:19:05 CPack: Install projects 14:19:05 CPack: - Run preinstall target for: Csdk 14:19:06 CPack: - Install project: Csdk 14:19:06 CPack: Create package 14:19:06 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 14:19:06 + '[' false '=' true ] 14:19:06 + '[' false '=' true ] 14:19:06 + mkdir -p /tmp/sdk/build/debug 14:19:06 + cd /tmp/sdk/build/debug 14:19:06 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 14:19:06 -- The C compiler identification is GNU 8.3.0 14:19:06 -- Check for working C compiler: /usr/bin/cc 14:19:06 -- Check for working C compiler: /usr/bin/cc -- works 14:19:06 -- Detecting C compiler ABI info 14:19:07 -- Detecting C compiler ABI info - done 14:19:07 -- Detecting C compile features 14:19:08 -- Detecting C compile features - done 14:19:08 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:19:08 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 14:19:08 -- Found LIBYAML: /usr/lib/libyaml.so 14:19:08 -- Found LIBUUID: /usr/lib/libuuid.so 14:19:08 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 14:19:08 -- C SDK 0.0.0 for Linux 14:19:08 -- Performing Test CSDK_HAVE_ATOMIC 14:19:08 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:19:08 -- Found Curses: /usr/lib/libcurses.so 14:19:08 -- Configuring done 14:19:08 -- Generating done 14:19:08 -- Build files have been written to: /tmp/sdk/build/debug 14:19:08 + + teemake debug.log 14:19:08 14:19:08 Scanning dependencies of target csdk 14:19:08 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:19:09 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 14:19:09 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:19:10 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:19:10 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:19:10 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:19:10 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:19:11 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:19:11 [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:19:12 [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:19:12 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:19:12 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:19:12 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:19:12 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:19:13 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:19:13 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:19:14 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:19:14 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:19:14 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:19:15 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:19:15 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:19:15 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:19:15 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:19:16 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:19:16 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:19:16 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:19:16 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:19:16 [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:19:17 [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:19:17 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:19:17 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:19:18 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:19:18 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:19:19 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:19:19 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:19:20 [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:19:21 [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:19:21 [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:19:21 [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 14:19:22 [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:19:22 [ 74%] Linking C shared library libcsdk.so 14:19:22 [ 74%] Built target csdk 14:19:22 Scanning dependencies of target template 14:19:22 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:19:23 [ 78%] Linking C executable template 14:19:23 [ 78%] Built target template 14:19:23 Scanning dependencies of target device-counter 14:19:23 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:19:23 [ 81%] Linking C executable device-counter 14:19:23 [ 81%] Built target device-counter 14:19:23 Scanning dependencies of target device-random 14:19:23 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:19:24 [ 85%] Linking C executable device-random 14:19:24 [ 85%] Built target device-random 14:19:24 Scanning dependencies of target device-gyro 14:19:24 [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:19:24 [ 89%] Linking C executable device-gyro 14:19:24 [ 89%] Built target device-gyro 14:19:24 Scanning dependencies of target template-discovery 14:19:24 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:19:25 [ 92%] Linking C executable template-discovery 14:19:25 [ 92%] Built target template-discovery 14:19:25 Scanning dependencies of target device-terminal 14:19:25 [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:19:25 [ 96%] Linking C executable device-terminal 14:19:26 [ 96%] Built target device-terminal 14:19:26 Scanning dependencies of target templatev1 14:19:26 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 14:19:26 [100%] Linking C executable templatev1 14:19:26 [100%] Built target templatev1 14:19:26 make: Entering directory '/tmp/sdk/build/release' 14:19:26 make[1]: Entering directory '/tmp/sdk/build/release' 14:19:26 make[2]: Entering directory '/tmp/sdk/build/release' 14:19:26 Scanning dependencies of target csdk 14:19:26 make[2]: Leaving directory '/tmp/sdk/build/release' 14:19:26 make[2]: Entering directory '/tmp/sdk/build/release' 14:19:26 [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:19:28 [ 3%] Linking C shared library libcsdk.so 14:19:28 make[2]: Leaving directory '/tmp/sdk/build/release' 14:19:28 [ 74%] Built target csdk 14:19:28 make[2]: Entering directory '/tmp/sdk/build/release' 14:19:28 make[2]: Leaving directory '/tmp/sdk/build/release' 14:19:28 make[2]: Entering directory '/tmp/sdk/build/release' 14:19:28 [ 76%] Linking C executable template 14:19:28 make[2]: Leaving directory '/tmp/sdk/build/release' 14:19:28 [ 78%] Built target template 14:19:28 make[2]: Entering directory '/tmp/sdk/build/release' 14:19:28 make[2]: Leaving directory '/tmp/sdk/build/release' 14:19:28 make[2]: Entering directory '/tmp/sdk/build/release' 14:19:28 [ 80%] Linking C executable device-counter 14:19:29 make[2]: Leaving directory '/tmp/sdk/build/release' 14:19:29 [ 81%] Built target device-counter 14:19:29 make[2]: Entering directory '/tmp/sdk/build/release' 14:19:29 make[2]: Leaving directory '/tmp/sdk/build/release' 14:19:29 make[2]: Entering directory '/tmp/sdk/build/release' 14:19:29 [ 83%] Linking C executable device-random 14:19:29 make[2]: Leaving directory '/tmp/sdk/build/release' 14:19:29 [ 85%] Built target device-random 14:19:29 make[2]: Entering directory '/tmp/sdk/build/release' 14:19:29 make[2]: Leaving directory '/tmp/sdk/build/release' 14:19:29 make[2]: Entering directory '/tmp/sdk/build/release' 14:19:29 [ 87%] Linking C executable device-gyro 14:19:29 make[2]: Leaving directory '/tmp/sdk/build/release' 14:19:29 [ 89%] Built target device-gyro 14:19:29 make[2]: Entering directory '/tmp/sdk/build/release' 14:19:29 make[2]: Leaving directory '/tmp/sdk/build/release' 14:19:29 make[2]: Entering directory '/tmp/sdk/build/release' 14:19:29 [ 90%] Linking C executable template-discovery 14:19:29 make[2]: Leaving directory '/tmp/sdk/build/release' 14:19:29 [ 92%] Built target template-discovery 14:19:29 make[2]: Entering directory '/tmp/sdk/build/release' 14:19:29 make[2]: Leaving directory '/tmp/sdk/build/release' 14:19:29 make[2]: Entering directory '/tmp/sdk/build/release' 14:19:29 [ 94%] Linking C executable device-terminal 14:19:30 make[2]: Leaving directory '/tmp/sdk/build/release' 14:19:30 [ 96%] Built target device-terminal 14:19:30 make[2]: Entering directory '/tmp/sdk/build/release' 14:19:30 make[2]: Leaving directory '/tmp/sdk/build/release' 14:19:30 make[2]: Entering directory '/tmp/sdk/build/release' 14:19:30 [ 98%] Linking C executable templatev1 14:19:30 make[2]: Leaving directory '/tmp/sdk/build/release' 14:19:30 [100%] Built target templatev1 14:19:30 make[1]: Leaving directory '/tmp/sdk/build/release' 14:19:30 Install the project... 14:19:30 -- Install configuration: "Release" 14:19:30 -- Installing: /usr/local/lib/libcsdk.so 14:19:30 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 14:19:30 -- Up-to-date: /usr/local/include 14:19:30 -- Installing: /usr/local/include/edgex 14:19:30 -- Installing: /usr/local/include/edgex/device-mgmt.h 14:19:30 -- Installing: /usr/local/include/edgex/eventgen.h 14:19:30 -- Installing: /usr/local/include/edgex/error.h 14:19:30 -- Installing: /usr/local/include/edgex/rest-server.h 14:19:30 -- Installing: /usr/local/include/edgex/edgex-base.h 14:19:30 -- Installing: /usr/local/include/edgex/devsdk.h 14:19:30 -- Installing: /usr/local/include/edgex/edgex.h 14:19:30 -- Installing: /usr/local/include/edgex/registry.h 14:19:30 -- Installing: /usr/local/include/edgex/edgex-logging.h 14:19:30 -- Installing: /usr/local/include/edgex/devices.h 14:19:30 -- Installing: /usr/local/include/edgex/os.h 14:19:30 -- Installing: /usr/local/include/edgex/profiles.h 14:19:30 -- Installing: /usr/local/include/edgex/csdk-defs.h 14:19:30 -- Installing: /usr/local/include/devsdk 14:19:30 -- Installing: /usr/local/include/devsdk/devsdk-base.h 14:19:30 -- Installing: /usr/local/include/devsdk/devsdk.h 14:19:30 -- Installing: /usr/local/include/iot 14:19:30 -- Installing: /usr/local/include/iot/json.h 14:19:30 -- Installing: /usr/local/include/iot/container.h 14:19:30 -- Installing: /usr/local/include/iot/component.h 14:19:30 -- Installing: /usr/local/include/iot/typecode.h 14:19:30 -- Installing: /usr/local/include/iot/iot.h 14:19:30 -- Installing: /usr/local/include/iot/time.h 14:19:30 -- Installing: /usr/local/include/iot/hash.h 14:19:30 -- Installing: /usr/local/include/iot/logger.h 14:19:30 -- Installing: /usr/local/include/iot/os 14:19:30 -- Installing: /usr/local/include/iot/os/zephyr.h 14:19:30 -- Installing: /usr/local/include/iot/os/linux.h 14:19:30 -- Installing: /usr/local/include/iot/scheduler.h 14:19:30 -- Installing: /usr/local/include/iot/data.h 14:19:30 -- Installing: /usr/local/include/iot/thread.h 14:19:30 -- Installing: /usr/local/include/iot/os.h 14:19:30 -- Installing: /usr/local/include/iot/base64.h 14:19:30 -- Installing: /usr/local/include/iot/threadpool.h 14:19:30 -- Installing: /usr/local/share/device-sdk-c/LICENSE 14:19:30 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 14:19:30 make: Leaving directory '/tmp/sdk/build/release' 14:19:32 Removing intermediate container 62b60a3693b1 14:19:32 ---> d38ff8b0a71f 14:19:32 Step 14/21 : FROM alpine:3.9 14:19:32 3.9: Pulling from library/alpine 14:19:32 941f399634ec: Pulling fs layer 14:19:32 941f399634ec: Download complete 14:19:33 941f399634ec: Pull complete 14:19:33 Digest: sha256:414e0518bb9228d35e4cd5165567fb91d26c6a214e9c95899e1e056fcd349011 14:19:33 Status: Downloaded newer image for alpine:3.9 14:19:33 ---> 9afdd4a290bf 14:19:33 Step 15/21 : MAINTAINER IOTech 14:19:33 ---> Running in 87f044734450 14:19:34 Removing intermediate container 87f044734450 14:19:34 ---> 77bfce1ffc1c 14:19:34 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 14:19:34 ---> Running in add5e2a6bc8d 14:19:35 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 14:19:36 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 14:19:36 (1/48) Installing binutils (2.31.1-r2) 14:19:37 (2/48) Installing libmagic (5.36-r1) 14:19:37 (3/48) Installing file (5.36-r1) 14:19:37 (4/48) Installing gmp (6.1.2-r1) 14:19:37 (5/48) Installing isl (0.18-r0) 14:19:37 (6/48) Installing libgomp (8.3.0-r0) 14:19:37 (7/48) Installing libatomic (8.3.0-r0) 14:19:37 (8/48) Installing libgcc (8.3.0-r0) 14:19:37 (9/48) Installing mpfr3 (3.1.5-r1) 14:19:37 (10/48) Installing mpc1 (1.0.3-r1) 14:19:37 (11/48) Installing libstdc++ (8.3.0-r0) 14:19:37 (12/48) Installing gcc (8.3.0-r0) 14:19:38 (13/48) Installing musl-dev (1.1.20-r5) 14:19:38 (14/48) Installing libc-dev (0.7.1-r0) 14:19:38 (15/48) Installing g++ (8.3.0-r0) 14:19:40 (16/48) Installing make (4.2.1-r2) 14:19:40 (17/48) Installing fortify-headers (1.0-r0) 14:19:40 (18/48) Installing build-base (0.5-r1) 14:19:40 (19/48) Installing libattr (2.4.47-r7) 14:19:40 (20/48) Installing libacl (2.2.52-r5) 14:19:40 (21/48) Installing libbz2 (1.0.6-r7) 14:19:40 (22/48) Installing expat (2.2.8-r0) 14:19:40 (23/48) Installing lz4-libs (1.8.3-r2) 14:19:40 (24/48) Installing xz-libs (5.2.4-r0) 14:19:40 (25/48) Installing libarchive (3.3.3-r2) 14:19:40 (26/48) Installing ca-certificates (20191127-r0) 14:19:40 (27/48) Installing nghttp2-libs (1.35.1-r1) 14:19:40 (28/48) Installing libssh2 (1.9.0-r1) 14:19:40 (29/48) Installing libcurl (7.64.0-r3) 14:19:40 (30/48) Installing ncurses-terminfo-base (6.1_p20190105-r0) 14:19:40 (31/48) Installing ncurses-terminfo (6.1_p20190105-r0) 14:19:41 Running on prd-centos7-docker-4c-2g-2226 in /w/workspace/edgexfoundry_device-sdk-c_PR-266 [Pipeline] { [Pipeline] ws 14:19:41 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 14:19:41 (32/48) Installing ncurses-libs (6.1_p20190105-r0) 14:19:41 (33/48) Installing rhash-libs (1.3.6-r2) 14:19:41 (34/48) Installing libuv (1.23.2-r0) 14:19:41 (35/48) Installing cmake (3.13.0-r0) 14:19:42 (36/48) Installing curl (7.64.0-r3) 14:19:42 (37/48) Installing pcre2 (10.32-r1) 14:19:42 (38/48) Installing git (2.20.4-r0) 14:19:43 (39/48) Installing nettle (3.4.1-r0) 14:19:43 (40/48) Installing libffi (3.2.1-r6) 14:19:43 (41/48) Installing p11-kit (0.23.14-r0) 14:19:43 (42/48) Installing libtasn1 (4.14-r0) 14:19:43 (43/48) Installing libunistring (0.9.10-r0) 14:19:43 (44/48) Installing gnutls (3.6.7-r1) 14:19:43 (45/48) Installing libmicrohttpd (0.9.62-r0) 14:19:43 (46/48) Installing libuuid (2.33-r0) 14:19:43 (47/48) Installing wget (1.20.3-r0) 14:19:43 (48/48) Installing yaml (0.2.1-r0) 14:19:43 Executing busybox-1.29.3-r10.trigger 14:19:43 Executing ca-certificates-20191127-r0.trigger 14:19:43 OK: 219 MiB in 62 packages 14:19:43 using credential edgex-jenkins-ssh 14:19:43 Cloning the remote Git repository 14:19:43 Cloning with configured refspecs honoured and without tags 14:19:43 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 14:19:43 > git init /w/workspace/device-sdk-c/1 # timeout=10 14:19:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:19:43 > git --version # timeout=10 14:19:43 using GIT_SSH to set credentials SSH Credentials for GitHub 14:19:43 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/266/head:refs/remotes/origin/PR-266 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:19:44 Fetching without tags 14:19:45 Merging remotes/origin/master commit 11dca0682671ac21648f2eee6e4306387f0e3104 into PR head commit dc92159035943af386d057d5726ed0e1ae02a015 14:19:45 Merge succeeded, producing dc92159035943af386d057d5726ed0e1ae02a015 14:19:45 Checking out Revision dc92159035943af386d057d5726ed0e1ae02a015 (PR-266) 14:19:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:19:44 > git config --add remote.origin.fetch +refs/pull/266/head:refs/remotes/origin/PR-266 # timeout=10 14:19:44 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 14:19:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:19:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:19:45 using GIT_SSH to set credentials SSH Credentials for GitHub 14:19:45 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/266/head:refs/remotes/origin/PR-266 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:19:45 > git config core.sparsecheckout # timeout=10 14:19:45 > git checkout -f dc92159035943af386d057d5726ed0e1ae02a015 # timeout=10 14:19:45 > git remote # timeout=10 14:19:45 > git config --get remote.origin.url # timeout=10 14:19:45 using GIT_SSH to set credentials SSH Credentials for GitHub 14:19:45 > git merge 11dca0682671ac21648f2eee6e4306387f0e3104 # timeout=10 14:19:45 > git rev-parse HEAD^{commit} # timeout=10 14:19:45 > git config core.sparsecheckout # timeout=10 14:19:45 > git checkout -f dc92159035943af386d057d5726ed0e1ae02a015 # timeout=10 14:19:49 Commit message: "examples: add signal masking code" 14:19:49 > git --version # timeout=10 14:19:49 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:19:50 ========================================================= 14:19:50 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 14:19:50 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:19:51 + 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 . 14:19:51 Sending build context to Docker daemon 3.21MB 14:19:51 Step 1/21 : ARG BASE=alpine:3.9 14:19:51 Step 2/21 : FROM ${BASE} as builder 14:19:51 latest: Pulling from edgex-devops/edgex-gcc-base 14:19:51 e7c96db7181b: Pulling fs layer 14:19:51 4c13bbce0fe7: Pulling fs layer 14:19:51 6059c847ac2f: Pulling fs layer 14:19:51 4c13bbce0fe7: Verifying Checksum 14:19:51 4c13bbce0fe7: Download complete 14:19:51 e7c96db7181b: Verifying Checksum 14:19:51 e7c96db7181b: Download complete 14:19:51 e7c96db7181b: Pull complete 14:19:51 4c13bbce0fe7: Pull complete 14:19:52 6059c847ac2f: Verifying Checksum 14:19:52 6059c847ac2f: Download complete 14:19:56 6059c847ac2f: Pull complete 14:19:56 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 14:19:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 14:19:56 ---> 5eabd8fd8ba2 14:19:56 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 14:19:58 Removing intermediate container add5e2a6bc8d 14:19:58 ---> 4b239360a3e0 14:19:58 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 14:19:58 ---> 505c256a4bd9 14:19:58 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 14:19:58 ---> 534fdf8dfe32 14:19:58 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 14:19:58 ---> Running in bfe39c345069 14:19:58 ---> e0f37ce91186 14:19:58 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 14:19:58 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 14:19:59 ---> b7d713cf211a 14:19:59 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 14:19:59 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 14:20:00 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 14:20:00 (2/8) Installing libuuid (2.33-r0) 14:20:00 (3/8) Installing libblkid (2.33-r0) 14:20:00 (4/8) Installing libfdisk (2.33-r0) 14:20:00 ---> 6645dcc18ecf 14:20:00 Successfully built 6645dcc18ecf 14:20:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } 14:20:00 (5/8) Installing libmount (2.33-r0) [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { 14:20:00 (6/8) Installing libsmartcols (2.33-r0) 14:20:00 (7/8) Installing util-linux-dev (2.33-r0) [Pipeline] isUnix [Pipeline] sh 14:20:01 + docker inspect -f . ci-base-image-arm64 14:20:01 . [Pipeline] withDockerContainer 14:20:01 (8/8) Installing wget (1.20.3-r0) 14:20:01 prd-ubuntu18.04-docker-arm64-4c-16g-2225 does not seem to be running inside a container 14:20:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:20:01 Executing busybox-1.29.3-r10.trigger 14:20:01 OK: 272 MiB in 83 packages 14:20:02 Removing intermediate container bfe39c345069 14:20:02 ---> 6883c6d95091 14:20:02 Step 4/21 : ENV CBOR_VERSION=0.5.0 14:20:02 ---> Running in 38ceada434b2 14:20:02 Removing intermediate container 38ceada434b2 14:20:02 ---> e73ff275381d 14:20:02 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 14:20:02 ---> Running in d1524ca9183e 14:20:03 --2020-06-08 14:20:03-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 14:20:03 Resolving github.com... 140.82.113.3 14:20:03 Connecting to github.com|140.82.113.3|:443... connected. 14:20:03 $ docker top 981bbb19f51acd4dc6d5d62478b4978ce92df00b9fdfa019cf196daba9cf9cf7 -eo pid,comm 14:20:03 HTTP request sent, awaiting response... 302 Found 14:20:03 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 14:20:03 --2020-06-08 14:20:03-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 14:20:03 Resolving codeload.github.com... 140.82.113.10 14:20:03 Connecting to codeload.github.com|140.82.113.10|:443... connected. 14:20:03 HTTP request sent, awaiting response... 200 OK 14:20:03 Length: unspecified [application/x-gzip] 14:20:03 Saving to: 'STDOUT' 14:20:03  14:20:03 0K .......... .......... .......... .......... .......... 1.37M 14:20:03 50K .......... .......... .......... .......... .......... 2.67M 14:20:03 100K .......... .......... .......... .......... .......... 42.7M 14:20:03 150K .......... .......... .......... .......... .......... 57.0M 14:20:03 200K .......... .......... .......... .......... .......... 2.80M 14:20:03 250K .......... .......... .......... .......... .......... 10.5M 14:20:03 300K .......... .......... .......... .......... .......... 9.20M 14:20:03 350K .......... .......... .......... .......... .......... 7.03M 14:20:03 400K .......... .......... .......... .......... .......... 11.1M 14:20:03 450K .......... .......... .......... .......... .......... 2.53M 14:20:03 500K .......... .......... .......... .......... .......... 64.0M 14:20:03 550K .......... .......... .......... .......... .......... 15.9M 14:20:03 600K .......... .......... .......... .......... .......... 1.67M 14:20:03 650K .......... .......... .......... .......... .......... 5.04M 14:20:03 700K .. 30.3M=0.2s 14:20:03 14:20:03 2020-06-08 14:20:03 (4.38 MB/s) - written to stdout [719348] 14:20:03 [Pipeline] { [Pipeline] sh 14:20:03 -- The C compiler identification is GNU 8.3.0 14:20:03 -- The CXX compiler identification is GNU 8.3.0 14:20:03 -- Check for working C compiler: /usr/bin/cc 14:20:04 -- Check for working C compiler: /usr/bin/cc -- works 14:20:04 -- Detecting C compiler ABI info 14:20:04 -- Detecting C compiler ABI info - done 14:20:04 -- Detecting C compile features 14:20:04 -- Detecting C compile features - done 14:20:04 -- Check for working CXX compiler: /usr/bin/c++ 14:20:04 -- Check for working CXX compiler: /usr/bin/c++ -- works 14:20:04 -- Detecting CXX compiler ABI info 14:20:04 -- Detecting CXX compiler ABI info - done 14:20:04 -- Detecting CXX compile features 14:20:04 + make test 14:20:04 echo "make test" 14:20:04 make test [Pipeline] } 14:20:04 $ docker stop --time=1 981bbb19f51acd4dc6d5d62478b4978ce92df00b9fdfa019cf196daba9cf9cf7 14:20:04 -- Detecting CXX compile features - done 14:20:04 -- Looking for include file endian.h 14:20:04 -- Looking for include file endian.h - found 14:20:04 -- Check if the system is big endian 14:20:04 -- Searching 16 bit integer 14:20:04 -- Looking for sys/types.h 14:20:05 -- Looking for sys/types.h - found 14:20:05 -- Looking for stdint.h 14:20:05 -- Looking for stdint.h - found 14:20:05 -- Looking for stddef.h 14:20:05 -- Looking for stddef.h - found 14:20:05 -- Check size of unsigned short 14:20:05 -- Check size of unsigned short - done 14:20:05 -- Using unsigned short 14:20:05 -- Check if the system is big endian - little endian 14:20:05 -- Check size of size_t 14:20:05 -- Check size of size_t - done 14:20:05 CMake Warning at examples/CMakeLists.txt:16 (find_package): 14:20:05 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 14:20:05 asked CMake to find a package configuration file provided by "cJSON", but 14:20:05 CMake did not find one. 14:20:05 14:20:05 Could not find a package configuration file provided by "cJSON" with any of 14:20:05 the following names: 14:20:05 14:20:05 cJSONConfig.cmake 14:20:05 cjson-config.cmake 14:20:05 14:20:05 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 14:20:05 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 14:20:05 provides a separate development package or SDK, be sure it has been 14:20:05 installed. 14:20:05 14:20:05 14:20:05 -- Configuring done 14:20:05 -- Generating done 14:20:05 -- Build files have been written to: /tmp/cbor 14:20:05 Scanning dependencies of target cbor_shared 14:20:05 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 14:20:05 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 14:20:06 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 14:20:06 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 14:20:06 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 14:20:06 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 14:20:06 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 14:20:06 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 14:20:06 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 14:20:06 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 14:20:06 $ docker rm -f 981bbb19f51acd4dc6d5d62478b4978ce92df00b9fdfa019cf196daba9cf9cf7 14:20:06 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 14:20:06 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 14:20:06 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 14:20:07 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 14:20:07 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 14:20:07 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 14:20:07 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 14:20:07 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 14:20:07 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 14:20:07 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 14:20:07 [ 40%] Linking C shared library libcbor.so [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 14:20:07 [ 40%] Built target cbor_shared 14:20:07 Scanning dependencies of target cbor 14:20:07 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 14:20:07 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 14:20:07 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 14:20:07 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 14:20:08 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 14:20:08 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 14:20:08 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 14:20:08 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 14:20:08 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 14:20:08 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 14:20:08 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 14:20:08 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 14:20:08 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 14:20:08 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 14:20:08 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [Pipeline] sh 14:20:09 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 14:20:09 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 14:20:09 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 14:20:09 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 14:20:09 + sudo chown -R jenkins:jenkins . 14:20:09 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 14:20:09 [ 80%] Linking C static library libcbor.a 14:20:09 [ 80%] Built target cbor 14:20:09 Scanning dependencies of target create_items 14:20:09 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 14:20:09 [ 84%] Linking C executable create_items 14:20:09 [ 84%] Built target create_items 14:20:09 Scanning dependencies of target readfile 14:20:09 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [Pipeline] sh 14:20:09 [ 88%] Linking C executable readfile 14:20:09 [ 88%] Built target readfile 14:20:09 Scanning dependencies of target streaming_parser 14:20:09 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 14:20:09 [ 92%] Linking C executable streaming_parser 14:20:09 [ 92%] Built target streaming_parser 14:20:09 Scanning dependencies of target sort 14:20:09 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 14:20:09 + ls -al . 14:20:09 total 192 14:20:09 drwxrwxr-x 8 jenkins jenkins 4096 Jun 8 14:17 . 14:20:09 drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 14:17 .. 14:20:09 drwxrwxr-x 8 jenkins jenkins 4096 Jun 8 14:17 .git 14:20:09 -rw-rw-r-- 1 jenkins jenkins 176 Jun 8 14:17 .gitignore 14:20:09 drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 14:17 .semver 14:20:09 -rw-rw-r-- 1 jenkins jenkins 3104 Jun 8 14:17 Attribution.txt 14:20:09 -rw-rw-r-- 1 jenkins jenkins 5335 Jun 8 14:17 CHANGES 14:20:09 -rw-rw-r-- 1 jenkins jenkins 108574 Jun 8 14:17 Doxyfile 14:20:09 -rw-rw-r-- 1 jenkins jenkins 792 Jun 8 14:17 Jenkinsfile 14:20:09 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 8 14:17 LICENSE 14:20:09 -rw-rw-r-- 1 jenkins jenkins 448 Jun 8 14:17 Makefile 14:20:09 -rw-rw-r-- 1 jenkins jenkins 1849 Jun 8 14:17 README.md 14:20:09 -rw-rw-r-- 1 jenkins jenkins 5229 Jun 8 14:17 README.v2.md 14:20:09 -rw-rw-r-- 1 jenkins jenkins 5 Jun 8 14:15 VERSION 14:20:09 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 14:17 docs 14:20:09 drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 14:17 include 14:20:09 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 14:17 scripts 14:20:09 drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 14:17 src [Pipeline] isUnix [Pipeline] sh 14:20:09 [ 96%] Linking C executable sort 14:20:09 [ 96%] Built target sort 14:20:09 Scanning dependencies of target hello 14:20:09 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 14:20:09 [100%] Linking C executable hello 14:20:09 [100%] Built target hello 14:20:09 Install the project... 14:20:09 -- Install configuration: "Release" 14:20:09 -- Installing: /usr/local/include/cbor/configuration.h 14:20:09 -- Installing: /usr/local/lib64/libcbor.a 14:20:09 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 14:20:09 -- Installing: /usr/local/lib64/libcbor.so.0 14:20:09 -- Installing: /usr/local/lib64/libcbor.so 14:20:09 -- Up-to-date: /usr/local/include/cbor 14:20:09 -- Installing: /usr/local/include/cbor/arrays.h 14:20:09 -- Installing: /usr/local/include/cbor/bytestrings.h 14:20:09 -- Installing: /usr/local/include/cbor/callbacks.h 14:20:09 -- Installing: /usr/local/include/cbor/common.h 14:20:09 -- Installing: /usr/local/include/cbor/data.h 14:20:09 -- Installing: /usr/local/include/cbor/encoding.h 14:20:09 -- Installing: /usr/local/include/cbor/floats_ctrls.h 14:20:09 -- Installing: /usr/local/include/cbor/internal 14:20:09 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 14:20:09 -- Installing: /usr/local/include/cbor/internal/encoders.h 14:20:09 -- Installing: /usr/local/include/cbor/internal/loaders.h 14:20:09 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 14:20:09 -- Installing: /usr/local/include/cbor/internal/stack.h 14:20:09 -- Installing: /usr/local/include/cbor/internal/unicode.h 14:20:09 -- Installing: /usr/local/include/cbor/ints.h 14:20:09 -- Installing: /usr/local/include/cbor/maps.h 14:20:09 -- Installing: /usr/local/include/cbor/serialization.h 14:20:09 -- Installing: /usr/local/include/cbor/streaming.h 14:20:09 -- Installing: /usr/local/include/cbor/strings.h 14:20:09 -- Installing: /usr/local/include/cbor/tags.h 14:20:09 -- Installing: /usr/local/include/cbor.h 14:20:09 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 14:20:10 + 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=dc92159035943af386d057d5726ed0e1ae02a015 --label arch=arm64 --label version=0.0.0 . 14:20:10 Sending build context to Docker daemon 3.21MB 14:20:10 Step 1/15 : ARG BASE=alpine:3.9 14:20:10 Step 2/15 : FROM ${BASE} 14:20:10 ---> 6645dcc18ecf 14:20:10 Step 3/15 : MAINTAINER IOTech 14:20:10 ---> Running in 11d2a57f788b 14:20:11 Removing intermediate container 11d2a57f788b 14:20:11 ---> 89b1d0e954e4 14:20:11 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 14:20:11 ---> Running in af5312d74ff5 14:20:11 Removing intermediate container d1524ca9183e 14:20:11 ---> 16ee67b0ab7b 14:20:11 Step 6/21 : RUN mkdir /tmp/sdk 14:20:11 ---> Running in b4de4487ea0b 14:20:12 Removing intermediate container b4de4487ea0b 14:20:12 ---> 6a06beb43728 14:20:12 Step 7/21 : COPY VERSION /tmp/sdk 14:20:12 ---> 622b11007605 14:20:12 Step 8/21 : COPY src /tmp/sdk/src 14:20:12 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 14:20:13 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 14:20:13 (1/21) Installing pkgconf (1.6.0-r0) 14:20:13 (2/21) Installing openssl-dev (1.1.1g-r0) 14:20:13 ---> b04ca5494852 14:20:13 Step 9/21 : COPY include /tmp/sdk/include 14:20:13 ---> af89bb96279e 14:20:13 Step 10/21 : COPY scripts /tmp/sdk/scripts 14:20:14 (3/21) Installing zlib-dev (1.2.11-r1) 14:20:14 (4/21) Installing libssh2-dev (1.9.0-r1) 14:20:14 ---> f5b04df65768 14:20:14 Step 11/21 : COPY LICENSE /tmp/sdk 14:20:14 (5/21) Installing nghttp2-dev (1.35.1-r1) 14:20:14 (6/21) Installing curl-dev (7.64.0-r3) 14:20:14 (7/21) Installing gnutls-c++ (3.6.7-r1) 14:20:14 (8/21) Installing libgmpxx (6.1.2-r1) 14:20:14 (9/21) Installing gmp-dev (6.1.2-r1) 14:20:14 (10/21) Installing nettle-dev (3.4.1-r0) 14:20:14 ---> 961e1f88eaac 14:20:14 Step 12/21 : COPY Attribution.txt /tmp/sdk 14:20:14 ---> be10932edb53 14:20:14 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 14:20:14 ---> Running in b2696f3995d1 14:20:14 (11/21) Installing libtasn1-dev (4.14-r0) 14:20:14 (12/21) Installing p11-kit-dev (0.23.14-r0) 14:20:14 (13/21) Installing gnutls-dev (3.6.7-r1) 14:20:14 + CPPCHECK=false 14:20:14 + DOCGEN=false 14:20:14 + TOMLVER=SDK-0.2 14:20:14 + CUTILVER=1.0.4 14:20:14 + '[' 0 -gt 0 ] 14:20:14 + readlink -f ./scripts/build.sh 14:20:14 + dirname /tmp/sdk/scripts/build.sh 14:20:14 + dirname /tmp/sdk/scripts 14:20:14 + ROOT=/tmp/sdk 14:20:14 + cd /tmp/sdk 14:20:14 + '[' '!' -d deps ] 14:20:14 + mkdir deps 14:20:14 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:20:14 + tar -C deps -z -x -f - 14:20:14 --2020-06-08 14:20:14-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:20:14 Resolving github.com... 140.82.113.3 14:20:14 Connecting to github.com|140.82.113.3|:443... connected. 14:20:14 (14/21) Installing libmicrohttpd-dev (0.9.62-r0) 14:20:14 (15/21) Installing ncurses-dev (6.1_p20190105-r0) 14:20:14 (16/21) Installing libblkid (2.33-r0) 14:20:14 (17/21) Installing libfdisk (2.33-r0) 14:20:14 (18/21) Installing libmount (2.33-r0) 14:20:14 (19/21) Installing libsmartcols (2.33-r0) 14:20:14 (20/21) Installing util-linux-dev (2.33-r0) 14:20:14 (21/21) Installing yaml-dev (0.2.1-r0) 14:20:14 Executing busybox-1.29.3-r10.trigger 14:20:14 OK: 279 MiB in 83 packages 14:20:15 HTTP request sent, awaiting response... 302 Found 14:20:15 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 14:20:15 --2020-06-08 14:20:14-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 14:20:15 Resolving codeload.github.com... 140.82.113.10 14:20:15 Connecting to codeload.github.com|140.82.113.10|:443... connected. 14:20:15 HTTP request sent, awaiting response... 200 OK 14:20:15 Length: unspecified [application/x-gzip] 14:20:15 Saving to: 'STDOUT' 14:20:15 14:20:15 0K .......... ......   1.06M=0.01s 14:20:15 14:20:15 2020-06-08 14:20:15 (1.06 MB/s) - written to stdout [16451] 14:20:15 14:20:15 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 14:20:15 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz 14:20:15 + tar -C deps -z -x -f - 14:20:15 --2020-06-08 14:20:15-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz 14:20:15 Resolving github.com... 140.82.113.3 14:20:15 Connecting to github.com|140.82.113.3|:443... connected. 14:20:15 HTTP request sent, awaiting response... 302 Found 14:20:15 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] 14:20:15 --2020-06-08 14:20:15-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 14:20:15 Resolving codeload.github.com... 140.82.113.10 14:20:15 Connecting to codeload.github.com|140.82.113.10|:443... connected. 14:20:15 HTTP request sent, awaiting response... 200 OK 14:20:15 Length: unspecified [application/x-gzip] 14:20:15 Saving to: 'STDOUT' 14:20:15  14:20:15 0K .......... .......... .......... .......... .......... 1.54M 14:20:15 50K .......... .......... .......... .......... .......... 3.00M 14:20:15 100K .......... .......... .......... .......... .......... 51.5M 14:20:15 150K ........ 4.48M=0.05s 14:20:15 14:20:15 2020-06-08 14:20:15 (3.05 MB/s) - written to stdout [162267] 14:20:15 14:20:15 + mkdir -p src/c/iot 14:20:15 + cp deps/iotech-c-utils-1.0.4/src/c/base64.c deps/iotech-c-utils-1.0.4/src/c/component.c deps/iotech-c-utils-1.0.4/src/c/container.c deps/iotech-c-utils-1.0.4/src/c/data.c deps/iotech-c-utils-1.0.4/src/c/hash.c deps/iotech-c-utils-1.0.4/src/c/iot.c deps/iotech-c-utils-1.0.4/src/c/json.c deps/iotech-c-utils-1.0.4/src/c/logger.c deps/iotech-c-utils-1.0.4/src/c/os.c deps/iotech-c-utils-1.0.4/src/c/scheduler.c deps/iotech-c-utils-1.0.4/src/c/thread.c deps/iotech-c-utils-1.0.4/src/c/threadpool.c deps/iotech-c-utils-1.0.4/src/c/time.c src/c/iot 14:20:15 + mkdir -p include/iot 14:20:15 + cp deps/iotech-c-utils-1.0.4/include/iot/base64.h deps/iotech-c-utils-1.0.4/include/iot/component.h deps/iotech-c-utils-1.0.4/include/iot/container.h deps/iotech-c-utils-1.0.4/include/iot/data.h deps/iotech-c-utils-1.0.4/include/iot/hash.h deps/iotech-c-utils-1.0.4/include/iot/iot.h deps/iotech-c-utils-1.0.4/include/iot/json.h deps/iotech-c-utils-1.0.4/include/iot/logger.h deps/iotech-c-utils-1.0.4/include/iot/os.h deps/iotech-c-utils-1.0.4/include/iot/scheduler.h deps/iotech-c-utils-1.0.4/include/iot/thread.h deps/iotech-c-utils-1.0.4/include/iot/threadpool.h deps/iotech-c-utils-1.0.4/include/iot/time.h deps/iotech-c-utils-1.0.4/include/iot/typecode.h include/iot 14:20:15 + mkdir -p include/iot/os 14:20:15 + cp deps/iotech-c-utils-1.0.4/include/iot/os/linux.h deps/iotech-c-utils-1.0.4/include/iot/os/zephyr.h include/iot/os 14:20:15 + mkdir -p /tmp/sdk/build/release 14:20:15 + cd /tmp/sdk/build/release 14:20:15 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 14:20:15 -- The C compiler identification is GNU 8.3.0 14:20:15 -- Check for working C compiler: /usr/bin/cc 14:20:15 -- Check for working C compiler: /usr/bin/cc -- works 14:20:15 -- Detecting C compiler ABI info 14:20:15 -- Detecting C compiler ABI info - done 14:20:15 -- Detecting C compile features 14:20:16 -- Detecting C compile features - done 14:20:16 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:20:16 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 14:20:16 -- Found LIBYAML: /usr/lib/libyaml.so 14:20:16 -- Found LIBUUID: /usr/lib/libuuid.so 14:20:16 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 14:20:16 -- C SDK 0.0.0 for Linux 14:20:16 -- Performing Test CSDK_HAVE_ATOMIC 14:20:16 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:20:16 -- Found Curses: /usr/lib/libcurses.so 14:20:16 -- Configuring done 14:20:16 -- Generating done 14:20:16 -- Build files have been written to: /tmp/sdk/build/release 14:20:16 + make 14:20:16 + tee release.log 14:20:16 Scanning dependencies of target csdk 14:20:16 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:20:16 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 14:20:16 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:20:17 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:20:17 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:20:17 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:20:17 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:20:18 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:20:18 [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:20:18 Removing intermediate container af5312d74ff5 14:20:18 ---> 3d0626766d05 14:20:18 Step 5/15 : COPY VERSION /edgex-c-sdk/ 14:20:18 [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:20:18 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:20:18 ---> 3113a949114b 14:20:18 Step 6/15 : COPY src /edgex-c-sdk/src/ 14:20:18 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:20:18 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:20:18 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:20:19 ---> 50b99301c81b 14:20:19 Step 7/15 : COPY include /edgex-c-sdk/include/ 14:20:19 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:20:19 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:20:19 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:20:19 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:20:20 ---> 8673ac8a7394 14:20:20 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 14:20:20 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:20:20 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:20:20 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:20:20 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:20:20 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:20:20 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:20:20 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:20:21 ---> d9ef06437b50 14:20:21 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 14:20:21 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:20:21 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:20:21 [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:20:21 [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:20:21 ---> 2941df352f41 14:20:21 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 14:20:21 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:20:21 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:20:22 ---> 57c065cef479 14:20:22 Step 11/15 : WORKDIR /edgex-c-sdk 14:20:22 ---> Running in e8604d15f9a4 14:20:22 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:20:22 Removing intermediate container e8604d15f9a4 14:20:22 ---> 1a49d7d132b1 14:20:22 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 14:20:22 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:20:23 ---> Running in 618c442d4589 14:20:23 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:20:23 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:20:23 [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:20:23 Removing intermediate container 618c442d4589 14:20:23 ---> e229e11a7f04 14:20:23 Step 13/15 : LABEL arch=arm64 14:20:23 ---> Running in 5b5404a490a8 14:20:23 [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:20:24 Removing intermediate container 5b5404a490a8 14:20:24 ---> c3f99de3ea57 14:20:24 Step 14/15 : LABEL git_sha=dc92159035943af386d057d5726ed0e1ae02a015 14:20:24 ---> Running in 6e84ef89905b 14:20:24 Removing intermediate container 6e84ef89905b 14:20:24 ---> 08c6f555695c 14:20:24 Step 15/15 : LABEL version=0.0.0 14:20:24 ---> Running in 49201a62b507 14:20:24 [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:20:24 [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 14:20:25 Removing intermediate container 49201a62b507 14:20:25 ---> 7eb0a7086ce5 14:20:25 [Warning] One or more build-args [MAKE ARCH] were not consumed 14:20:25 [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:20:25 Successfully built 7eb0a7086ce5 14:20:25 Successfully tagged docker-device-sdk-c-arm64:latest 14:20:25 [ 74%] Linking C shared library libcsdk.so 14:20:25 [ 74%] Built target csdk 14:20:25 Scanning dependencies of target template 14:20:25 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 14:20:25 [ 78%] Linking C executable template 14:20:25 [ 78%] Built target template 14:20:25 Scanning dependencies of target device-counter 14:20:25 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:20:25 [ 81%] Linking C executable device-counter Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } 14:20:25 [ 81%] Built target device-counter 14:20:25 Scanning dependencies of target device-random 14:20:25 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:20:25 [ 85%] Linking C executable device-random [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } 14:20:26 [ 85%] Built target device-random 14:20:26 Scanning dependencies of target device-gyro 14:20:26 [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:20:26 [ 89%] Linking C executable device-gyro 14:20:26 [ 89%] Built target device-gyro 14:20:26 Scanning dependencies of target template-discovery 14:20:26 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage 14:20:26 [ 92%] Linking C executable template-discovery 14:20:26 [ 92%] Built target template-discovery 14:20:26 Scanning dependencies of target device-terminal 14:20:26 [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [Pipeline] } 14:20:26 [ 96%] Linking C executable device-terminal 14:20:26 [ 96%] Built target device-terminal 14:20:26 Scanning dependencies of target templatev1 14:20:26 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 14:20:27 [100%] Linking C executable templatev1 14:20:27 [100%] Built target templatev1 14:20:27 + make package 14:20:27 + tee -a release.log 14:20:27 [ 74%] Built target csdk 14:20:27 [ 78%] Built target template 14:20:27 [ 81%] Built target device-counter 14:20:27 [ 85%] Built target device-random 14:20:27 [ 89%] Built target device-gyro 14:20:27 [ 92%] Built target template-discovery 14:20:27 [ 96%] Built target device-terminal 14:20:27 [100%] Built target templatev1 14:20:27 Run CPack packaging tool... 14:20:27 CPack: Create package using TGZ 14:20:27 CPack: Install projects 14:20:27 CPack: - Run preinstall target for: Csdk 14:20:27 CPack: - Install project: Csdk 14:20:27 CPack: Create package 14:20:27 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 14:20:27 + '[' false '=' true ] 14:20:27 + '[' false '=' true ] 14:20:27 + mkdir -p /tmp/sdk/build/debug 14:20:27 + cd /tmp/sdk/build/debug 14:20:27 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 14:20:27 -- The C compiler identification is GNU 8.3.0 14:20:27 -- Check for working C compiler: /usr/bin/cc 14:20:27 -- Check for working C compiler: /usr/bin/cc -- works 14:20:27 -- Detecting C compiler ABI info 14:20:27 -- Detecting C compiler ABI info - done 14:20:27 -- Detecting C compile features 14:20:28 -- Detecting C compile features - done 14:20:28 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:20:28 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 14:20:28 -- Found LIBYAML: /usr/lib/libyaml.so 14:20:28 -- Found LIBUUID: /usr/lib/libuuid.so 14:20:28 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 14:20:28 -- C SDK 0.0.0 for Linux 14:20:28 -- Performing Test CSDK_HAVE_ATOMIC 14:20:28 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:20:28 -- Found Curses: /usr/lib/libcurses.so 14:20:28 -- Configuring done 14:20:28 -- Generating done 14:20:28 -- Build files have been written to: /tmp/sdk/build/debug 14:20:28 + + teemake 14:20:28 debug.log 14:20:28 Scanning dependencies of target csdk 14:20:28 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:20:28 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 14:20:28 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:20:28 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:20:28 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:20:28 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:20:28 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:20:28 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:20:29 [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:20:29 [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:20:29 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:20:29 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:20:29 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:20:29 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:20:29 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:20:29 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:20:29 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:20:29 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:20:29 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:20:29 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:20:30 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:20:30 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:20:30 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:20:30 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:20:30 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:20:30 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:20:30 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:20:30 [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:20:30 [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:20:30 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:20:30 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:20:30 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:20:31 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:20:31 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:20:31 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:20:31 [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:20:31 [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:20:31 [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:20:32 [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 14:20:32 [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:20:32 [ 74%] Linking C shared library libcsdk.so 14:20:32 [ 74%] Built target csdk 14:20:32 Scanning dependencies of target template 14:20:32 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:20:32 [ 78%] Linking C executable template 14:20:32 [ 78%] Built target template 14:20:32 Scanning dependencies of target device-counter 14:20:32 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:20:32 [ 81%] Linking C executable device-counter 14:20:32 [ 81%] Built target device-counter 14:20:32 Scanning dependencies of target device-random 14:20:32 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:20:32 [ 85%] Linking C executable device-random 14:20:32 [ 85%] Built target device-random 14:20:32 Scanning dependencies of target device-gyro 14:20:32 [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:20:32 [ 89%] Linking C executable device-gyro 14:20:32 [ 89%] Built target device-gyro 14:20:32 Scanning dependencies of target template-discovery 14:20:32 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:20:32 [ 92%] Linking C executable template-discovery 14:20:33 [ 92%] Built target template-discovery 14:20:33 Scanning dependencies of target device-terminal 14:20:33 [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:20:33 [ 96%] Linking C executable device-terminal 14:20:33 [ 96%] Built target device-terminal 14:20:33 Scanning dependencies of target templatev1 14:20:33 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 14:20:33 [100%] Linking C executable templatev1 14:20:33 [100%] Built target templatev1 14:20:33 make: Entering directory '/tmp/sdk/build/release' 14:20:33 make[1]: Entering directory '/tmp/sdk/build/release' 14:20:33 make[2]: Entering directory '/tmp/sdk/build/release' 14:20:33 Scanning dependencies of target csdk 14:20:33 make[2]: Leaving directory '/tmp/sdk/build/release' 14:20:33 make[2]: Entering directory '/tmp/sdk/build/release' 14:20:33 [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:20:33 [ 3%] Linking C shared library libcsdk.so 14:20:33 make[2]: Leaving directory '/tmp/sdk/build/release' 14:20:33 [ 74%] Built target csdk 14:20:33 make[2]: Entering directory '/tmp/sdk/build/release' 14:20:33 make[2]: Leaving directory '/tmp/sdk/build/release' 14:20:33 make[2]: Entering directory '/tmp/sdk/build/release' 14:20:33 [ 76%] Linking C executable template 14:20:33 make[2]: Leaving directory '/tmp/sdk/build/release' 14:20:33 [ 78%] Built target template 14:20:33 make[2]: Entering directory '/tmp/sdk/build/release' 14:20:33 make[2]: Leaving directory '/tmp/sdk/build/release' 14:20:33 make[2]: Entering directory '/tmp/sdk/build/release' 14:20:33 [ 80%] Linking C executable device-counter 14:20:33 make[2]: Leaving directory '/tmp/sdk/build/release' 14:20:33 [ 81%] Built target device-counter 14:20:33 make[2]: Entering directory '/tmp/sdk/build/release' 14:20:34 make[2]: Leaving directory '/tmp/sdk/build/release' 14:20:34 make[2]: Entering directory '/tmp/sdk/build/release' 14:20:34 [ 83%] Linking C executable device-random 14:20:34 make[2]: Leaving directory '/tmp/sdk/build/release' 14:20:34 [ 85%] Built target device-random 14:20:34 make[2]: Entering directory '/tmp/sdk/build/release' 14:20:34 make[2]: Leaving directory '/tmp/sdk/build/release' 14:20:34 make[2]: Entering directory '/tmp/sdk/build/release' 14:20:34 [ 87%] Linking C executable device-gyro 14:20:34 make[2]: Leaving directory '/tmp/sdk/build/release' 14:20:34 [ 89%] Built target device-gyro 14:20:34 make[2]: Entering directory '/tmp/sdk/build/release' 14:20:34 make[2]: Leaving directory '/tmp/sdk/build/release' 14:20:34 make[2]: Entering directory '/tmp/sdk/build/release' 14:20:34 [ 90%] Linking C executable template-discovery 14:20:34 make[2]: Leaving directory '/tmp/sdk/build/release' 14:20:34 [ 92%] Built target template-discovery 14:20:34 make[2]: Entering directory '/tmp/sdk/build/release' 14:20:34 make[2]: Leaving directory '/tmp/sdk/build/release' 14:20:34 make[2]: Entering directory '/tmp/sdk/build/release' 14:20:34 [ 94%] Linking C executable device-terminal 14:20:34 make[2]: Leaving directory '/tmp/sdk/build/release' 14:20:34 [ 96%] Built target device-terminal 14:20:34 make[2]: Entering directory '/tmp/sdk/build/release' 14:20:34 make[2]: Leaving directory '/tmp/sdk/build/release' 14:20:34 make[2]: Entering directory '/tmp/sdk/build/release' 14:20:34 [ 98%] Linking C executable templatev1 14:20:34 make[2]: Leaving directory '/tmp/sdk/build/release' 14:20:34 [100%] Built target templatev1 14:20:34 make[1]: Leaving directory '/tmp/sdk/build/release' 14:20:34 Install the project... 14:20:34 -- Install configuration: "Release" 14:20:34 -- Installing: /usr/local/lib/libcsdk.so 14:20:34 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 14:20:34 -- Up-to-date: /usr/local/include 14:20:34 -- Installing: /usr/local/include/devsdk 14:20:34 -- Installing: /usr/local/include/devsdk/devsdk-base.h 14:20:34 -- Installing: /usr/local/include/devsdk/devsdk.h 14:20:34 -- Installing: /usr/local/include/edgex 14:20:34 -- Installing: /usr/local/include/edgex/device-mgmt.h 14:20:34 -- Installing: /usr/local/include/edgex/devices.h 14:20:34 -- Installing: /usr/local/include/edgex/devsdk.h 14:20:34 -- Installing: /usr/local/include/edgex/edgex-base.h 14:20:34 -- Installing: /usr/local/include/edgex/edgex-logging.h 14:20:34 -- Installing: /usr/local/include/edgex/edgex.h 14:20:34 -- Installing: /usr/local/include/edgex/error.h 14:20:34 -- Installing: /usr/local/include/edgex/eventgen.h 14:20:34 -- Installing: /usr/local/include/edgex/os.h 14:20:34 -- Installing: /usr/local/include/edgex/profiles.h 14:20:34 -- Installing: /usr/local/include/edgex/registry.h 14:20:34 -- Installing: /usr/local/include/edgex/rest-server.h 14:20:34 -- Installing: /usr/local/include/edgex/csdk-defs.h 14:20:34 -- Installing: /usr/local/include/iot 14:20:34 -- Installing: /usr/local/include/iot/base64.h 14:20:34 -- Installing: /usr/local/include/iot/component.h 14:20:34 -- Installing: /usr/local/include/iot/container.h 14:20:34 -- Installing: /usr/local/include/iot/data.h 14:20:34 -- Installing: /usr/local/include/iot/hash.h 14:20:34 -- Installing: /usr/local/include/iot/iot.h 14:20:34 -- Installing: /usr/local/include/iot/json.h 14:20:34 -- Installing: /usr/local/include/iot/logger.h 14:20:34 -- Installing: /usr/local/include/iot/os.h 14:20:34 -- Installing: /usr/local/include/iot/scheduler.h 14:20:34 -- Installing: /usr/local/include/iot/thread.h 14:20:34 -- Installing: /usr/local/include/iot/threadpool.h 14:20:34 -- Installing: /usr/local/include/iot/time.h 14:20:34 -- Installing: /usr/local/include/iot/typecode.h 14:20:34 -- Installing: /usr/local/include/iot/os 14:20:34 -- Installing: /usr/local/include/iot/os/linux.h 14:20:34 -- Installing: /usr/local/include/iot/os/zephyr.h 14:20:34 -- Installing: /usr/local/share/device-sdk-c/LICENSE 14:20:34 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 14:20:34 make: Leaving directory '/tmp/sdk/build/release' 14:20:36 Removing intermediate container b2696f3995d1 14:20:36 ---> bd255b16d98d 14:20:36 Step 14/21 : FROM alpine:3.9 14:20:37 3.9: Pulling from library/alpine 14:20:37 31603596830f: Pulling fs layer 14:20:37 31603596830f: Verifying Checksum 14:20:37 31603596830f: Download complete 14:20:37 31603596830f: Pull complete 14:20:37 Digest: sha256:414e0518bb9228d35e4cd5165567fb91d26c6a214e9c95899e1e056fcd349011 14:20:37 Status: Downloaded newer image for alpine:3.9 14:20:37 ---> 78a2ce922f86 14:20:37 Step 15/21 : MAINTAINER IOTech 14:20:37 ---> Running in d4e3097886ee 14:20:38 Removing intermediate container d4e3097886ee 14:20:38 ---> 1387a1411a04 14:20:38 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 14:20:38 ---> Running in 82f60731ba35 14:20:38 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 14:20:38 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 14:20:38 (1/48) Installing binutils (2.31.1-r2) 14:20:38 (2/48) Installing libmagic (5.36-r1) 14:20:39 (3/48) Installing file (5.36-r1) 14:20:39 (4/48) Installing gmp (6.1.2-r1) 14:20:39 (5/48) Installing isl (0.18-r0) 14:20:39 (6/48) Installing libgomp (8.3.0-r0) 14:20:39 (7/48) Installing libatomic (8.3.0-r0) 14:20:39 (8/48) Installing libgcc (8.3.0-r0) 14:20:39 (9/48) Installing mpfr3 (3.1.5-r1) 14:20:39 (10/48) Installing mpc1 (1.0.3-r1) 14:20:39 (11/48) Installing libstdc++ (8.3.0-r0) 14:20:39 (12/48) Installing gcc (8.3.0-r0) 14:20:40 (13/48) Installing musl-dev (1.1.20-r5) 14:20:40 (14/48) Installing libc-dev (0.7.1-r0) 14:20:40 (15/48) Installing g++ (8.3.0-r0) 14:20:41 (16/48) Installing make (4.2.1-r2) 14:20:41 (17/48) Installing fortify-headers (1.0-r0) 14:20:41 (18/48) Installing build-base (0.5-r1) 14:20:41 (19/48) Installing libattr (2.4.47-r7) 14:20:41 (20/48) Installing libacl (2.2.52-r5) 14:20:41 (21/48) Installing libbz2 (1.0.6-r7) 14:20:41 (22/48) Installing expat (2.2.8-r0) 14:20:41 (23/48) Installing lz4-libs (1.8.3-r2) 14:20:41 (24/48) Installing xz-libs (5.2.4-r0) 14:20:41 (25/48) Installing libarchive (3.3.3-r2) 14:20:41 (26/48) Installing ca-certificates (20191127-r0) 14:20:41 (27/48) Installing nghttp2-libs (1.35.1-r1) 14:20:41 (28/48) Installing libssh2 (1.9.0-r1) 14:20:41 (29/48) Installing libcurl (7.64.0-r3) 14:20:41 (30/48) Installing ncurses-terminfo-base (6.1_p20190105-r0) 14:20:41 (31/48) Installing ncurses-terminfo (6.1_p20190105-r0) 14:20:41 (32/48) Installing ncurses-libs (6.1_p20190105-r0) 14:20:41 (33/48) Installing rhash-libs (1.3.6-r2) 14:20:41 (34/48) Installing libuv (1.23.2-r0) 14:20:41 (35/48) Installing cmake (3.13.0-r0) 14:20:43 (36/48) Installing curl (7.64.0-r3) 14:20:43 (37/48) Installing pcre2 (10.32-r1) 14:20:43 (38/48) Installing git (2.20.4-r0) 14:20:44 (39/48) Installing nettle (3.4.1-r0) 14:20:44 (40/48) Installing libffi (3.2.1-r6) 14:20:44 (41/48) Installing p11-kit (0.23.14-r0) 14:20:44 (42/48) Installing libtasn1 (4.14-r0) 14:20:44 (43/48) Installing libunistring (0.9.10-r0) 14:20:44 (44/48) Installing gnutls (3.6.7-r1) 14:20:44 (45/48) Installing libmicrohttpd (0.9.62-r0) 14:20:44 (46/48) Installing libuuid (2.33-r0) 14:20:44 (47/48) Installing wget (1.20.3-r0) 14:20:44 (48/48) Installing yaml (0.2.1-r0) 14:20:44 Executing busybox-1.29.3-r10.trigger 14:20:44 Executing ca-certificates-20191127-r0.trigger 14:20:44 OK: 222 MiB in 62 packages 14:20:54 Removing intermediate container 82f60731ba35 14:20:54 ---> 436d96b01996 14:20:54 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 14:20:54 ---> e481b96db0da 14:20:54 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 14:20:54 ---> 88a3696cc0bd 14:20:54 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 14:20:54 ---> 0448ad877edb 14:20:54 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 14:20:55 ---> e31a38fb1d22 14:20:55 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 14:20:55 ---> 231c72468d6a 14:20:55 Successfully built 231c72468d6a 14:20:55 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 14:20:56 + docker inspect -f . ci-base-image-x86_64 14:20:56 . [Pipeline] withDockerContainer 14:20:56 prd-centos7-docker-4c-2g-2226 does not seem to be running inside a container 14:20:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:20:56 $ docker top ea2e00c51e5bb14693619c5305f805bb5631b295304c0d39c19d88dad63d0111 -eo pid,comm [Pipeline] { [Pipeline] sh 14:20:57 + make test 14:20:57 echo "make test" 14:20:57 make test [Pipeline] } 14:20:57 $ docker stop --time=1 ea2e00c51e5bb14693619c5305f805bb5631b295304c0d39c19d88dad63d0111 14:20:58 $ docker rm -f ea2e00c51e5bb14693619c5305f805bb5631b295304c0d39c19d88dad63d0111 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:20:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:20:59 + ls -al . 14:20:59 total 160 14:20:59 drwxrwxr-x. 8 jenkins jenkins 260 Jun 8 14:19 . 14:20:59 drwxrwxr-x. 4 jenkins jenkins 28 Jun 8 14:19 .. 14:20:59 -rw-rw-r--. 1 jenkins jenkins 3104 Jun 8 14:19 Attribution.txt 14:20:59 -rw-rw-r--. 1 jenkins jenkins 5335 Jun 8 14:19 CHANGES 14:20:59 drwxrwxr-x. 2 jenkins jenkins 144 Jun 8 14:19 docs 14:20:59 -rw-rw-r--. 1 jenkins jenkins 108574 Jun 8 14:19 Doxyfile 14:20:59 drwxrwxr-x. 8 jenkins jenkins 179 Jun 8 14:19 .git 14:20:59 -rw-rw-r--. 1 jenkins jenkins 176 Jun 8 14:19 .gitignore 14:20:59 drwxrwxr-x. 4 jenkins jenkins 33 Jun 8 14:19 include 14:20:59 -rw-rw-r--. 1 jenkins jenkins 792 Jun 8 14:19 Jenkinsfile 14:20:59 -rw-rw-r--. 1 jenkins jenkins 10174 Jun 8 14:19 LICENSE 14:20:59 -rw-rw-r--. 1 jenkins jenkins 448 Jun 8 14:19 Makefile 14:20:59 -rw-rw-r--. 1 jenkins jenkins 1849 Jun 8 14:19 README.md 14:20:59 -rw-rw-r--. 1 jenkins jenkins 5229 Jun 8 14:19 README.v2.md 14:20:59 drwxrwxr-x. 2 jenkins jenkins 106 Jun 8 14:19 scripts 14:20:59 drwxrwxr-x. 3 jenkins jenkins 58 Jun 8 14:19 .semver 14:20:59 drwxrwxr-x. 4 jenkins jenkins 50 Jun 8 14:19 src 14:20:59 -rw-rw-r--. 1 jenkins jenkins 5 Jun 8 14:15 VERSION [Pipeline] isUnix [Pipeline] sh 14:20:59 + 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=dc92159035943af386d057d5726ed0e1ae02a015 --label arch=amd64 --label version=0.0.0 . 14:20:59 Sending build context to Docker daemon 3.21MB 14:20:59 Step 1/15 : ARG BASE=alpine:3.9 14:20:59 Step 2/15 : FROM ${BASE} 14:20:59 ---> 231c72468d6a 14:20:59 Step 3/15 : MAINTAINER IOTech 14:21:00 ---> Running in 03918b22d1b6 14:21:00 Removing intermediate container 03918b22d1b6 14:21:00 ---> d17b0867b89d 14:21:00 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 14:21:00 ---> Running in b01a70dd7dbd 14:21:01 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 14:21:01 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 14:21:01 (1/21) Installing pkgconf (1.6.0-r0) 14:21:01 (2/21) Installing openssl-dev (1.1.1g-r0) 14:21:01 (3/21) Installing zlib-dev (1.2.11-r1) 14:21:01 (4/21) Installing libssh2-dev (1.9.0-r1) 14:21:01 (5/21) Installing nghttp2-dev (1.35.1-r1) 14:21:01 (6/21) Installing curl-dev (7.64.0-r3) 14:21:01 (7/21) Installing gnutls-c++ (3.6.7-r1) 14:21:01 (8/21) Installing libgmpxx (6.1.2-r1) 14:21:01 (9/21) Installing gmp-dev (6.1.2-r1) 14:21:01 (10/21) Installing nettle-dev (3.4.1-r0) 14:21:01 (11/21) Installing libtasn1-dev (4.14-r0) 14:21:01 (12/21) Installing p11-kit-dev (0.23.14-r0) 14:21:01 (13/21) Installing gnutls-dev (3.6.7-r1) 14:21:01 (14/21) Installing libmicrohttpd-dev (0.9.62-r0) 14:21:01 (15/21) Installing ncurses-dev (6.1_p20190105-r0) 14:21:01 (16/21) Installing libblkid (2.33-r0) 14:21:01 (17/21) Installing libfdisk (2.33-r0) 14:21:01 (18/21) Installing libmount (2.33-r0) 14:21:01 (19/21) Installing libsmartcols (2.33-r0) 14:21:01 (20/21) Installing util-linux-dev (2.33-r0) 14:21:01 (21/21) Installing yaml-dev (0.2.1-r0) 14:21:01 Executing busybox-1.29.3-r10.trigger 14:21:01 OK: 266 MiB in 83 packages 14:21:03 Removing intermediate container b01a70dd7dbd 14:21:03 ---> 0e4e195ef765 14:21:03 Step 5/15 : COPY VERSION /edgex-c-sdk/ 14:21:03 ---> ae45c92d28a7 14:21:03 Step 6/15 : COPY src /edgex-c-sdk/src/ 14:21:04 ---> 9143395ebe7e 14:21:04 Step 7/15 : COPY include /edgex-c-sdk/include/ 14:21:04 ---> e2a763e4ab5c 14:21:04 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 14:21:04 ---> 6e455031d145 14:21:04 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 14:21:05 ---> d0f5e3b2c546 14:21:05 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 14:21:05 ---> b3f34ac4c4db 14:21:05 Step 11/15 : WORKDIR /edgex-c-sdk 14:21:05 ---> Running in e1a44a3da0dc 14:21:05 Removing intermediate container e1a44a3da0dc 14:21:05 ---> 081b771cd557 14:21:05 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 14:21:05 ---> Running in 75e3370f66d7 14:21:05 Removing intermediate container 75e3370f66d7 14:21:05 ---> 17c5358a846d 14:21:05 Step 13/15 : LABEL arch=amd64 14:21:06 ---> Running in 4768c8a16937 14:21:06 Removing intermediate container 4768c8a16937 14:21:06 ---> 7a0bbd893d95 14:21:06 Step 14/15 : LABEL git_sha=dc92159035943af386d057d5726ed0e1ae02a015 14:21:06 ---> Running in 3418c37dfa8a 14:21:06 Removing intermediate container 3418c37dfa8a 14:21:06 ---> 3a36c9ae6ac7 14:21:06 Step 15/15 : LABEL version=0.0.0 14:21:06 ---> Running in 3053d3826f69 14:21:07 Removing intermediate container 3053d3826f69 14:21:07 ---> 270aed0e1dda 14:21:07 [Warning] One or more build-args [ARCH MAKE] were not consumed 14:21:07 Successfully built 270aed0e1dda 14:21:07 Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [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 14:21:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:21:10 ---> package-listing.sh 14:21:10 ++ facter osfamily 14:21:10 ++ tr '[:upper:]' '[:lower:]' 14:21:10 + OS_FAMILY=redhat 14:21:10 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-266 14:21:10 + START_PACKAGES=/tmp/packages_start.txt 14:21:10 + END_PACKAGES=/tmp/packages_end.txt 14:21:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:21:10 + PACKAGES=/tmp/packages_start.txt 14:21:10 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-266 ']' 14:21:10 + PACKAGES=/tmp/packages_end.txt 14:21:10 + case "${OS_FAMILY}" in 14:21:10 + rpm -qa 14:21:10 + sort 14:21:14 + '[' -f /tmp/packages_start.txt ']' 14:21:14 + '[' -f /tmp/packages_end.txt ']' 14:21:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:21:14 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-266 ']' 14:21:14 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-266/archives/ 14:21:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-266/archives/ [Pipeline] isUnix [Pipeline] sh 14:21:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:21:15 14:21:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 14:21:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:21:15 alpine: Pulling from edgex-lftools-log-publisher 14:21:15 c9b1b535fdd9: Pulling fs layer 14:21:15 2cc5ad85d9ab: Pulling fs layer 14:21:15 756a868c4378: Pulling fs layer 14:21:15 444b2fc9a129: Pulling fs layer 14:21:15 ea15f1150254: Pulling fs layer 14:21:15 41b27a9f41bf: Pulling fs layer 14:21:15 28c525ee5125: Pulling fs layer 14:21:15 094b1ea09ed8: Pulling fs layer 14:21:15 138eaada9080: Pulling fs layer 14:21:15 0622d0fa9048: Pulling fs layer 14:21:15 444b2fc9a129: Waiting 14:21:15 ea15f1150254: Waiting 14:21:15 41b27a9f41bf: Waiting 14:21:15 28c525ee5125: Waiting 14:21:15 094b1ea09ed8: Waiting 14:21:15 138eaada9080: Waiting 14:21:15 0622d0fa9048: Waiting 14:21:15 2cc5ad85d9ab: Verifying Checksum 14:21:15 2cc5ad85d9ab: Download complete 14:21:15 444b2fc9a129: Verifying Checksum 14:21:15 444b2fc9a129: Download complete 14:21:15 c9b1b535fdd9: Verifying Checksum 14:21:15 c9b1b535fdd9: Download complete 14:21:15 ea15f1150254: Verifying Checksum 14:21:15 ea15f1150254: Download complete 14:21:15 28c525ee5125: Verifying Checksum 14:21:15 28c525ee5125: Download complete 14:21:16 756a868c4378: Verifying Checksum 14:21:16 756a868c4378: Download complete 14:21:16 c9b1b535fdd9: Pull complete 14:21:16 138eaada9080: Verifying Checksum 14:21:16 138eaada9080: Download complete 14:21:16 0622d0fa9048: Verifying Checksum 14:21:16 0622d0fa9048: Download complete 14:21:16 094b1ea09ed8: Verifying Checksum 14:21:16 094b1ea09ed8: Download complete 14:21:16 2cc5ad85d9ab: Pull complete 14:21:16 41b27a9f41bf: Verifying Checksum 14:21:16 41b27a9f41bf: Download complete 14:21:17 756a868c4378: Pull complete 14:21:17 444b2fc9a129: Pull complete 14:21:18 ea15f1150254: Pull complete 14:21:22 41b27a9f41bf: Pull complete 14:21:22 28c525ee5125: Pull complete 14:21:25 094b1ea09ed8: Pull complete 14:21:25 138eaada9080: Pull complete 14:21:25 0622d0fa9048: Pull complete 14:21:25 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 14:21:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:21:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 14:21:25 prd-centos7-docker-4c-2g-2223 does not seem to be running inside a container 14:21:25 $ 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-266 -v /w/workspace/edgexfoundry_device-sdk-c_PR-266:/w/workspace/edgexfoundry_device-sdk-c_PR-266:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-266@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-266@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 14:21:29 $ docker top e710fb939f5c6c0c6fcb051369c9587ee08281103967f8b374d3ea4cd0460ca2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:21:29 provisioning config files... 14:21:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-266@tmp/config1943505382924687803tmp [Pipeline] { [Pipeline] echo 14:21:29 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:21:30 ---> create-netrc.sh [Pipeline] echo 14:21:30 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:21:30 ---> logs-deploy.sh 14:21:30 + ARCHIVE_ARTIFACTS= 14:21:30 + LOGS_SERVER=https://logs.edgexfoundry.org 14:21:30 + '[' https://logs.edgexfoundry.org == None ']' 14:21:30 + NEXUS_URL=https://nexus.edgexfoundry.org 14:21:30 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-266/1 14:21:30 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-266/1/ 14:21:30 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-266/1 /w/workspace/edgexfoundry_device-sdk-c_PR-266 14:21:31 Archives upload complete. 14:21:31 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-266/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-266/1/