Pull request #263 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 f2270728e824aee143bf465ae2c8f9a2bc1cbe22+34c806719c07a595e60a1991047deece8ce10381 (1d501aec387da831e08a53c20230b70c73183697) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision 8d8818eaf3da2c68d83cf4d78c7504a3bbcde7a6 using credential edgex-jenkins-access-pat Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository https://github.com/edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-263/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/tags/stable:refs/tags/stable # timeout=10 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision 8d8818eaf3da2c68d83cf4d78c7504a3bbcde7a6 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d8818eaf3da2c68d83cf4d78c7504a3bbcde7a6 # 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 https://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 Still waiting to schedule task ‘prd-centos7-docker-4c-2g-1218’ is offline Running on prd-centos7-docker-4c-2g-1466 in /w/workspace/edgexfoundry_device-sdk-c_PR-263 [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-263 # 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/263/head:refs/remotes/origin/PR-263 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 34c806719c07a595e60a1991047deece8ce10381 into PR head commit f2270728e824aee143bf465ae2c8f9a2bc1cbe22 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/263/head:refs/remotes/origin/PR-263 # 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/263/head:refs/remotes/origin/PR-263 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f2270728e824aee143bf465ae2c8f9a2bc1cbe22 # timeout=10 Merge succeeded, producing f2270728e824aee143bf465ae2c8f9a2bc1cbe22 Checking out Revision f2270728e824aee143bf465ae2c8f9a2bc1cbe22 (PR-263) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 34c806719c07a595e60a1991047deece8ce10381 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f2270728e824aee143bf465ae2c8f9a2bc1cbe22 # timeout=10 Commit message: "feat: prevent service_start being called twice" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 8d8818eaf3da2c68d83cf4d78c7504a3bbcde7a6 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-06-01T19:59:05.918Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-06-01T19:59:06.370Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-06-01T19:59:06.548Z] ========================================================= [2020-06-01T19:59:06.548Z] EdgeX Global Pipelines Version Info [2020-06-01T19:59:06.548Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-06-01T19:59:08.254Z] ------------------- [2020-06-01T19:59:08.254Z] stable info: [2020-06-01T19:59:08.254Z] ------------------- [2020-06-01T19:59:08.254Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-06-01T19:59:08.254Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-01T19:59:08.254Z] Message: update stable to v1.0.89 [2020-06-01T19:59:09.226Z] ------------------- [2020-06-01T19:59:09.226Z] experimental info: [2020-06-01T19:59:09.226Z] ------------------- [2020-06-01T19:59:09.226Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-06-01T19:59:09.226Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-01T19:59:09.226Z] 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 [2020-06-01T19:59:14.459Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-01T19:59:14.732Z] [2020-06-01T19:59:14.732Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-06-01T19:59:15.131Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-01T19:59:15.401Z] latest: Pulling from edgex-devops/git-semver [2020-06-01T19:59:15.401Z] 9123ac7c32f7: Pulling fs layer [2020-06-01T19:59:15.401Z] b8cc5d1170e3: Pulling fs layer [2020-06-01T19:59:15.401Z] 2924cbbf6a41: Pulling fs layer [2020-06-01T19:59:15.401Z] 93b08a4f1073: Pulling fs layer [2020-06-01T19:59:15.401Z] 93b08a4f1073: Waiting [2020-06-01T19:59:15.401Z] b8cc5d1170e3: Verifying Checksum [2020-06-01T19:59:15.401Z] b8cc5d1170e3: Download complete [2020-06-01T19:59:15.401Z] 9123ac7c32f7: Verifying Checksum [2020-06-01T19:59:15.401Z] 9123ac7c32f7: Download complete [2020-06-01T19:59:15.401Z] 93b08a4f1073: Verifying Checksum [2020-06-01T19:59:15.401Z] 93b08a4f1073: Download complete [2020-06-01T19:59:15.401Z] 2924cbbf6a41: Verifying Checksum [2020-06-01T19:59:15.401Z] 2924cbbf6a41: Download complete [2020-06-01T19:59:15.672Z] 9123ac7c32f7: Pull complete [2020-06-01T19:59:15.941Z] b8cc5d1170e3: Pull complete [2020-06-01T19:59:16.909Z] 2924cbbf6a41: Pull complete [2020-06-01T19:59:17.179Z] 93b08a4f1073: Pull complete [2020-06-01T19:59:17.446Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-06-01T19:59:17.446Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-06-01T19:59:17.817Z] prd-centos7-docker-4c-2g-1466 does not seem to be running inside a container [2020-06-01T19:59:17.908Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-263 -v /w/workspace/edgexfoundry_device-sdk-c_PR-263:/w/workspace/edgexfoundry_device-sdk-c_PR-263:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-263@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-263@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:10004/edgex-devops/git-semver:latest cat [2020-06-01T19:59:18.758Z] $ docker top 1ccea6945faef31ecf10e8c8b43e6cd414327f58f308500b05abf83ec729ec72 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-06-01T19:59:19.281Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-01T19:59:19.281Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-01T19:59:19.681Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-01T19:59:19.684Z] $ docker exec 1ccea6945faef31ecf10e8c8b43e6cd414327f58f308500b05abf83ec729ec72 ssh-agent [2020-06-01T19:59:20.122Z] SSH_AUTH_SOCK=/tmp/ssh-4krUtBkeGGiP/agent.14 [2020-06-01T19:59:20.122Z] SSH_AGENT_PID=20 [2020-06-01T19:59:20.154Z] Running ssh-add (command line suppressed) [2020-06-01T19:59:20.512Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-263@tmp/private_key_201922132108099270.key (/w/workspace/edgexfoundry_device-sdk-c_PR-263@tmp/private_key_201922132108099270.key) [2020-06-01T19:59:20.629Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-01T19:59:21.365Z] + git describe --exact-match --tags HEAD [2020-06-01T19:59:21.365Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-06-01T19:59:21.557Z] $ docker exec --env ******** --env ******** 1ccea6945faef31ecf10e8c8b43e6cd414327f58f308500b05abf83ec729ec72 ssh-agent -k [2020-06-01T19:59:22.009Z] unset SSH_AUTH_SOCK; [2020-06-01T19:59:22.014Z] unset SSH_AGENT_PID; [2020-06-01T19:59:22.014Z] echo Agent pid 20 killed; [2020-06-01T19:59:22.203Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-06-01T19:59:22.364Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-06-01T19:59:22.364Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-06-01T19:59:22.463Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-01T19:59:22.463Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-01T19:59:22.855Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-01T19:59:22.858Z] $ docker exec 1ccea6945faef31ecf10e8c8b43e6cd414327f58f308500b05abf83ec729ec72 ssh-agent [2020-06-01T19:59:23.156Z] SSH_AUTH_SOCK=/tmp/ssh-drOlqB85CYdw/agent.55 [2020-06-01T19:59:23.156Z] SSH_AGENT_PID=61 [2020-06-01T19:59:23.167Z] Running ssh-add (command line suppressed) [2020-06-01T19:59:23.690Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-263@tmp/private_key_2580806791681910632.key (/w/workspace/edgexfoundry_device-sdk-c_PR-263@tmp/private_key_2580806791681910632.key) [2020-06-01T19:59:23.776Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-01T19:59:24.541Z] + git semver init [2020-06-01T19:59:24.542Z] # -> Open(): unable to determine branch for HEAD [2020-06-01T19:59:24.542Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-263/.git [2020-06-01T19:59:24.542Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-263 [2020-06-01T19:59:24.542Z] # $SEMVER_REMOTE_NAME = origin [2020-06-01T19:59:24.542Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-06-01T19:59:24.542Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-06-01T19:59:24.542Z] # $SEMVER_BRANCH = PR-263 [2020-06-01T19:59:24.542Z] # $SEMVER_TEMP = /tmp/semver-205720646 [2020-06-01T19:59:24.542Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2020-06-01T19:59:25.124Z] # '/tmp/semver-205720646' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-263/.semver' [2020-06-01T19:59:25.124Z] # -> Force: false [2020-06-01T19:59:25.124Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-263/.semver [Pipeline] } [2020-06-01T19:59:25.147Z] $ docker exec --env ******** --env ******** 1ccea6945faef31ecf10e8c8b43e6cd414327f58f308500b05abf83ec729ec72 ssh-agent -k [2020-06-01T19:59:25.449Z] unset SSH_AUTH_SOCK; [2020-06-01T19:59:25.450Z] unset SSH_AGENT_PID; [2020-06-01T19:59:25.450Z] echo Agent pid 61 killed; [2020-06-01T19:59:25.575Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-06-01T19:59:26.599Z] + git semver [Pipeline] } [2020-06-01T19:59:26.645Z] $ docker stop --time=1 1ccea6945faef31ecf10e8c8b43e6cd414327f58f308500b05abf83ec729ec72 [2020-06-01T19:59:28.531Z] $ docker rm -f 1ccea6945faef31ecf10e8c8b43e6cd414327f58f308500b05abf83ec729ec72 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-06-01T19:59:30.094Z] Stashed 44 file(s) [Pipeline] echo [2020-06-01T19:59:30.112Z] [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 [2020-06-01T19:59:45.733Z] Still waiting to schedule task [2020-06-01T19:59:45.733Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-06-01T19:59:45.749Z] Still waiting to schedule task [2020-06-01T19:59:45.749Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-06-01T20:01:20.272Z] Running on prd-centos7-docker-4c-2g-1468 in /w/workspace/edgexfoundry_device-sdk-c_PR-263 [Pipeline] { [Pipeline] ws [2020-06-01T20:01:20.345Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2020-06-01T20:01:22.644Z] using credential edgex-jenkins-ssh [2020-06-01T20:01:22.757Z] Cloning the remote Git repository [2020-06-01T20:01:22.757Z] Cloning with configured refspecs honoured and without tags [2020-06-01T20:01:23.567Z] Fetching without tags [2020-06-01T20:01:22.363Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-06-01T20:01:22.444Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2020-06-01T20:01:22.498Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-06-01T20:01:22.498Z] > git --version # timeout=10 [2020-06-01T20:01:22.505Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-01T20:01:22.546Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/263/head:refs/remotes/origin/PR-263 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-01T20:01:23.168Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-06-01T20:01:23.177Z] > git config --add remote.origin.fetch +refs/pull/263/head:refs/remotes/origin/PR-263 # timeout=10 [2020-06-01T20:01:23.187Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-01T20:01:23.198Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-06-01T20:01:23.209Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-06-01T20:01:23.209Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-01T20:01:23.213Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/263/head:refs/remotes/origin/PR-263 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-01T20:01:23.988Z] Merging remotes/origin/master commit 34c806719c07a595e60a1991047deece8ce10381 into PR head commit f2270728e824aee143bf465ae2c8f9a2bc1cbe22 [2020-06-01T20:01:24.087Z] Merge succeeded, producing f2270728e824aee143bf465ae2c8f9a2bc1cbe22 [2020-06-01T20:01:24.087Z] Checking out Revision f2270728e824aee143bf465ae2c8f9a2bc1cbe22 (PR-263) [2020-06-01T20:01:23.670Z] > git config core.sparsecheckout # timeout=10 [2020-06-01T20:01:23.676Z] > git checkout -f f2270728e824aee143bf465ae2c8f9a2bc1cbe22 # timeout=10 [2020-06-01T20:01:23.734Z] > git remote # timeout=10 [2020-06-01T20:01:23.741Z] > git config --get remote.origin.url # timeout=10 [2020-06-01T20:01:23.747Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-01T20:01:23.751Z] > git merge 34c806719c07a595e60a1991047deece8ce10381 # timeout=10 [2020-06-01T20:01:23.761Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-06-01T20:01:23.772Z] > git config core.sparsecheckout # timeout=10 [2020-06-01T20:01:23.777Z] > git checkout -f f2270728e824aee143bf465ae2c8f9a2bc1cbe22 # timeout=10 [2020-06-01T20:01:27.658Z] Commit message: "feat: prevent service_start being called twice" [2020-06-01T20:01:27.661Z] > git --version # timeout=10 [2020-06-01T20:01:27.672Z] fatal: bad object 8d8818eaf3da2c68d83cf4d78c7504a3bbcde7a6 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-06-01T20:01:28.798Z] ========================================================= [2020-06-01T20:01:28.798Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2020-06-01T20:01:28.798Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-01T20:01:29.496Z] + 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 . [2020-06-01T20:01:29.760Z] Sending build context to Docker daemon 3.153MB [2020-06-01T20:01:29.760Z] Step 1/21 : ARG BASE=alpine:3.9 [2020-06-01T20:01:29.760Z] Step 2/21 : FROM ${BASE} as builder [2020-06-01T20:01:29.760Z] latest: Pulling from edgex-devops/edgex-gcc-base [2020-06-01T20:01:29.760Z] e7c96db7181b: Pulling fs layer [2020-06-01T20:01:29.760Z] 4c13bbce0fe7: Pulling fs layer [2020-06-01T20:01:29.760Z] 6059c847ac2f: Pulling fs layer [2020-06-01T20:01:29.760Z] 4c13bbce0fe7: Verifying Checksum [2020-06-01T20:01:29.760Z] 4c13bbce0fe7: Download complete [2020-06-01T20:01:29.760Z] e7c96db7181b: Verifying Checksum [2020-06-01T20:01:29.760Z] e7c96db7181b: Download complete [2020-06-01T20:01:30.028Z] e7c96db7181b: Pull complete [2020-06-01T20:01:30.291Z] 4c13bbce0fe7: Pull complete [2020-06-01T20:01:30.866Z] 6059c847ac2f: Verifying Checksum [2020-06-01T20:01:30.866Z] 6059c847ac2f: Download complete [2020-06-01T20:01:30.997Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1467 in /w/workspace/edgexfoundry_device-sdk-c_PR-263 [Pipeline] { [Pipeline] ws [2020-06-01T20:01:31.066Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2020-06-01T20:01:35.099Z] 6059c847ac2f: Pull complete [2020-06-01T20:01:35.099Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2020-06-01T20:01:35.099Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2020-06-01T20:01:35.099Z] ---> 5eabd8fd8ba2 [2020-06-01T20:01:35.099Z] 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 [2020-06-01T20:01:35.099Z] ---> Running in dc336ba648ec [2020-06-01T20:01:35.373Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-06-01T20:01:36.320Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-06-01T20:01:36.320Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-06-01T20:01:36.320Z] (2/8) Installing libuuid (2.33-r0) [2020-06-01T20:01:36.320Z] (3/8) Installing libblkid (2.33-r0) [2020-06-01T20:01:36.581Z] (4/8) Installing libfdisk (2.33-r0) [2020-06-01T20:01:36.581Z] (5/8) Installing libmount (2.33-r0) [2020-06-01T20:01:36.843Z] (6/8) Installing libsmartcols (2.33-r0) [2020-06-01T20:01:36.843Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-06-01T20:01:37.103Z] (8/8) Installing wget (1.20.3-r0) [2020-06-01T20:01:37.103Z] Executing busybox-1.29.3-r10.trigger [2020-06-01T20:01:37.103Z] OK: 272 MiB in 83 packages [2020-06-01T20:01:37.677Z] Removing intermediate container dc336ba648ec [2020-06-01T20:01:37.677Z] ---> 9f79186e7377 [2020-06-01T20:01:37.677Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-06-01T20:01:37.677Z] ---> Running in dcf577a63b70 [2020-06-01T20:01:37.677Z] Removing intermediate container dcf577a63b70 [2020-06-01T20:01:37.677Z] ---> 36b15dd6a3ea [2020-06-01T20:01:37.677Z] 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 [2020-06-01T20:01:37.677Z] ---> Running in bb24bc1669a8 [2020-06-01T20:01:37.681Z] using credential edgex-jenkins-ssh [2020-06-01T20:01:37.732Z] Cloning the remote Git repository [2020-06-01T20:01:37.733Z] Cloning with configured refspecs honoured and without tags [2020-06-01T20:01:38.269Z] --2020-06-01 20:01:38-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-06-01T20:01:38.269Z] Resolving github.com... 140.82.113.3 [2020-06-01T20:01:38.269Z] Connecting to github.com|140.82.113.3|:443... connected. [2020-06-01T20:01:38.269Z] HTTP request sent, awaiting response... 302 Found [2020-06-01T20:01:38.269Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-06-01T20:01:38.269Z] --2020-06-01 20:01:38-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-06-01T20:01:38.269Z] Resolving codeload.github.com... 140.82.112.9 [2020-06-01T20:01:38.269Z] Connecting to codeload.github.com|140.82.112.9|:443... connected. [2020-06-01T20:01:38.531Z] HTTP request sent, awaiting response... 200 OK [2020-06-01T20:01:38.531Z] Length: unspecified [application/x-gzip] [2020-06-01T20:01:38.531Z] Saving to: 'STDOUT' [2020-06-01T20:01:38.531Z]  [2020-06-01T20:01:38.531Z] 0K .......... .......... .......... .......... .......... 1.64M [2020-06-01T20:01:38.531Z] 50K .......... .......... .......... .......... .......... 3.20M [2020-06-01T20:01:38.531Z] 100K .......... .......... .......... .......... .......... 3.35M [2020-06-01T20:01:38.531Z] 150K .......... .......... .......... .......... .......... 33.7M [2020-06-01T20:01:38.531Z] 200K .......... .......... .......... .......... .......... 56.0M [2020-06-01T20:01:38.531Z] 250K .......... .......... .......... .......... .......... 3.87M [2020-06-01T20:01:38.531Z] 300K .......... .......... .......... .......... .......... 23.3M [2020-06-01T20:01:38.531Z] 350K .......... .......... .......... .......... .......... 12.3M [2020-06-01T20:01:38.531Z] 400K .......... .......... .......... .......... .......... 8.53M [2020-06-01T20:01:38.531Z] 450K .......... .......... .......... .......... .......... 8.32M [2020-06-01T20:01:38.531Z] 500K .......... .......... .......... .......... .......... 12.6M [2020-06-01T20:01:38.531Z] 550K .......... .......... .......... .......... .......... 4.32M [2020-06-01T20:01:38.531Z] 600K .......... .......... .......... .......... .......... 2.68M [2020-06-01T20:01:38.531Z] 650K .......... .......... .......... .......... .......... 5.18M [2020-06-01T20:01:38.531Z] 700K .. 40.1M=0.1s [2020-06-01T20:01:38.531Z] [2020-06-01T20:01:38.531Z] 2020-06-01 20:01:38 (5.08 MB/s) - written to stdout [719348] [2020-06-01T20:01:38.531Z] [2020-06-01T20:01:38.792Z] -- The C compiler identification is GNU 8.3.0 [2020-06-01T20:01:38.792Z] -- The CXX compiler identification is GNU 8.3.0 [2020-06-01T20:01:38.792Z] -- Check for working C compiler: /usr/bin/cc [2020-06-01T20:01:38.792Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-01T20:01:38.792Z] -- Detecting C compiler ABI info [2020-06-01T20:01:37.800Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-06-01T20:01:37.913Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2020-06-01T20:01:38.002Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-06-01T20:01:38.005Z] > git --version # timeout=10 [2020-06-01T20:01:38.041Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-01T20:01:38.136Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/263/head:refs/remotes/origin/PR-263 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-01T20:01:39.056Z] -- Detecting C compiler ABI info - done [2020-06-01T20:01:39.056Z] -- Detecting C compile features [2020-06-01T20:01:39.317Z] -- Detecting C compile features - done [2020-06-01T20:01:39.317Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-06-01T20:01:39.317Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-06-01T20:01:39.317Z] -- Detecting CXX compiler ABI info [2020-06-01T20:01:39.317Z] -- Detecting CXX compiler ABI info - done [2020-06-01T20:01:39.317Z] -- Detecting CXX compile features [2020-06-01T20:01:39.405Z] Fetching without tags [2020-06-01T20:01:39.889Z] -- Detecting CXX compile features - done [2020-06-01T20:01:39.889Z] -- Looking for include file endian.h [2020-06-01T20:01:39.889Z] -- Looking for include file endian.h - found [2020-06-01T20:01:39.889Z] -- Check if the system is big endian [2020-06-01T20:01:39.889Z] -- Searching 16 bit integer [2020-06-01T20:01:39.889Z] -- Looking for sys/types.h [2020-06-01T20:01:39.889Z] -- Looking for sys/types.h - found [2020-06-01T20:01:39.889Z] -- Looking for stdint.h [2020-06-01T20:01:40.021Z] Merging remotes/origin/master commit 34c806719c07a595e60a1991047deece8ce10381 into PR head commit f2270728e824aee143bf465ae2c8f9a2bc1cbe22 [2020-06-01T20:01:39.162Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-06-01T20:01:39.200Z] > git config --add remote.origin.fetch +refs/pull/263/head:refs/remotes/origin/PR-263 # timeout=10 [2020-06-01T20:01:39.239Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-01T20:01:39.360Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-06-01T20:01:39.419Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-06-01T20:01:39.420Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-01T20:01:39.467Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/263/head:refs/remotes/origin/PR-263 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-01T20:01:40.061Z] > git config core.sparsecheckout # timeout=10 [2020-06-01T20:01:40.121Z] > git checkout -f f2270728e824aee143bf465ae2c8f9a2bc1cbe22 # timeout=10 [2020-06-01T20:01:40.152Z] -- Looking for stdint.h - found [2020-06-01T20:01:40.152Z] -- Looking for stddef.h [2020-06-01T20:01:40.152Z] -- Looking for stddef.h - found [2020-06-01T20:01:40.152Z] -- Check size of unsigned short [2020-06-01T20:01:40.152Z] -- Check size of unsigned short - done [2020-06-01T20:01:40.152Z] -- Using unsigned short [2020-06-01T20:01:40.152Z] -- Check if the system is big endian - little endian [2020-06-01T20:01:40.415Z] Merge succeeded, producing f2270728e824aee143bf465ae2c8f9a2bc1cbe22 [2020-06-01T20:01:40.415Z] Checking out Revision f2270728e824aee143bf465ae2c8f9a2bc1cbe22 (PR-263) [2020-06-01T20:01:40.419Z] -- Check size of size_t [2020-06-01T20:01:40.419Z] -- Check size of size_t - done [2020-06-01T20:01:40.419Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-06-01T20:01:40.419Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-06-01T20:01:40.419Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-06-01T20:01:40.419Z] CMake did not find one. [2020-06-01T20:01:40.419Z] [2020-06-01T20:01:40.419Z] Could not find a package configuration file provided by "cJSON" with any of [2020-06-01T20:01:40.419Z] the following names: [2020-06-01T20:01:40.419Z] [2020-06-01T20:01:40.419Z] cJSONConfig.cmake [2020-06-01T20:01:40.419Z] cjson-config.cmake [2020-06-01T20:01:40.419Z] [2020-06-01T20:01:40.419Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-06-01T20:01:40.419Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-06-01T20:01:40.419Z] provides a separate development package or SDK, be sure it has been [2020-06-01T20:01:40.419Z] installed. [2020-06-01T20:01:40.419Z] [2020-06-01T20:01:40.419Z] [2020-06-01T20:01:40.419Z] -- Configuring done [2020-06-01T20:01:40.419Z] -- Generating done [2020-06-01T20:01:40.419Z] -- Build files have been written to: /tmp/cbor [2020-06-01T20:01:40.419Z] Scanning dependencies of target cbor_shared [2020-06-01T20:01:40.419Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-06-01T20:01:40.679Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-06-01T20:01:40.940Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-06-01T20:01:40.940Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-06-01T20:01:40.940Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-06-01T20:01:41.200Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-06-01T20:01:41.200Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-06-01T20:01:41.200Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-06-01T20:01:41.200Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-06-01T20:01:41.462Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-06-01T20:01:41.462Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-06-01T20:01:40.261Z] > git remote # timeout=10 [2020-06-01T20:01:40.318Z] > git config --get remote.origin.url # timeout=10 [2020-06-01T20:01:40.346Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-01T20:01:40.359Z] > git merge 34c806719c07a595e60a1991047deece8ce10381 # timeout=10 [2020-06-01T20:01:40.398Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-06-01T20:01:40.425Z] > git config core.sparsecheckout # timeout=10 [2020-06-01T20:01:40.453Z] > git checkout -f f2270728e824aee143bf465ae2c8f9a2bc1cbe22 # timeout=10 [2020-06-01T20:01:41.728Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-06-01T20:01:41.728Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-06-01T20:01:41.728Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-06-01T20:01:41.991Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-06-01T20:01:41.991Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-06-01T20:01:41.991Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-06-01T20:01:41.991Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-06-01T20:01:42.251Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-06-01T20:01:42.251Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-06-01T20:01:42.251Z] [ 40%] Linking C shared library libcbor.so [2020-06-01T20:01:42.251Z] [ 40%] Built target cbor_shared [2020-06-01T20:01:42.251Z] Scanning dependencies of target cbor [2020-06-01T20:01:42.251Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-06-01T20:01:42.513Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-06-01T20:01:42.777Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-06-01T20:01:42.777Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-06-01T20:01:43.041Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-06-01T20:01:43.041Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-06-01T20:01:43.041Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-06-01T20:01:43.308Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-06-01T20:01:43.309Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-06-01T20:01:43.309Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-06-01T20:01:43.572Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-06-01T20:01:43.572Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-06-01T20:01:43.839Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-06-01T20:01:43.839Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-06-01T20:01:43.839Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-06-01T20:01:44.110Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-06-01T20:01:44.110Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-06-01T20:01:44.110Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-06-01T20:01:44.110Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-06-01T20:01:44.376Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-06-01T20:01:44.376Z] [ 80%] Linking C static library libcbor.a [2020-06-01T20:01:44.376Z] [ 80%] Built target cbor [2020-06-01T20:01:44.376Z] Scanning dependencies of target create_items [2020-06-01T20:01:44.639Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-06-01T20:01:44.829Z] Commit message: "feat: prevent service_start being called twice" [2020-06-01T20:01:44.901Z] [ 84%] Linking C executable create_items [2020-06-01T20:01:44.901Z] [ 84%] Built target create_items [2020-06-01T20:01:44.901Z] Scanning dependencies of target readfile [2020-06-01T20:01:44.901Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-06-01T20:01:44.901Z] [ 88%] Linking C executable readfile [2020-06-01T20:01:44.901Z] [ 88%] Built target readfile [2020-06-01T20:01:44.901Z] Scanning dependencies of target streaming_parser [2020-06-01T20:01:44.901Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-06-01T20:01:44.901Z] [ 92%] Linking C executable streaming_parser [2020-06-01T20:01:44.901Z] [ 92%] Built target streaming_parser [2020-06-01T20:01:44.880Z] > git --version # timeout=10 [2020-06-01T20:01:44.914Z] fatal: bad object 8d8818eaf3da2c68d83cf4d78c7504a3bbcde7a6 [2020-06-01T20:01:45.164Z] Scanning dependencies of target sort [2020-06-01T20:01:45.164Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-06-01T20:01:45.164Z] [ 96%] Linking C executable sort [2020-06-01T20:01:45.164Z] [ 96%] Built target sort [2020-06-01T20:01:45.164Z] Scanning dependencies of target hello [2020-06-01T20:01:45.164Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-06-01T20:01:45.164Z] [100%] Linking C executable hello [2020-06-01T20:01:45.164Z] [100%] Built target hello [2020-06-01T20:01:45.164Z] Install the project... [2020-06-01T20:01:45.164Z] -- Install configuration: "Release" [2020-06-01T20:01:45.164Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-06-01T20:01:45.164Z] -- Installing: /usr/local/lib64/libcbor.a [2020-06-01T20:01:45.164Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-06-01T20:01:45.164Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-06-01T20:01:45.164Z] -- Installing: /usr/local/lib64/libcbor.so [2020-06-01T20:01:45.164Z] -- Up-to-date: /usr/local/include/cbor [2020-06-01T20:01:45.164Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-06-01T20:01:45.164Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-06-01T20:01:45.164Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-06-01T20:01:45.164Z] -- Installing: /usr/local/include/cbor/common.h [2020-06-01T20:01:45.164Z] -- Installing: /usr/local/include/cbor/data.h [2020-06-01T20:01:45.164Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-06-01T20:01:45.164Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-06-01T20:01:45.164Z] -- Installing: /usr/local/include/cbor/internal [2020-06-01T20:01:45.164Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-06-01T20:01:45.164Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-06-01T20:01:45.164Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-06-01T20:01:45.164Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-06-01T20:01:45.164Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-06-01T20:01:45.164Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-06-01T20:01:45.164Z] -- Installing: /usr/local/include/cbor/ints.h [2020-06-01T20:01:45.164Z] -- Installing: /usr/local/include/cbor/maps.h [2020-06-01T20:01:45.164Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-06-01T20:01:45.164Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-06-01T20:01:45.164Z] -- Installing: /usr/local/include/cbor/strings.h [2020-06-01T20:01:45.164Z] -- Installing: /usr/local/include/cbor/tags.h [2020-06-01T20:01:45.164Z] -- Installing: /usr/local/include/cbor.h [2020-06-01T20:01:45.164Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-06-01T20:01:46.108Z] Removing intermediate container bb24bc1669a8 [2020-06-01T20:01:46.108Z] ---> 1f456e2c6f10 [2020-06-01T20:01:46.108Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-06-01T20:01:46.108Z] ---> Running in c2705f50ee28 [Pipeline] echo [2020-06-01T20:01:46.272Z] ========================================================= [2020-06-01T20:01:46.272Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2020-06-01T20:01:46.272Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-01T20:01:46.680Z] Removing intermediate container c2705f50ee28 [2020-06-01T20:01:46.680Z] ---> c0bd1cc71a5b [2020-06-01T20:01:46.680Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-06-01T20:01:46.972Z] ---> 4899a9e339d5 [2020-06-01T20:01:46.972Z] Step 8/21 : COPY src /tmp/sdk/src [2020-06-01T20:01:47.252Z] ---> 5d68586d43fc [2020-06-01T20:01:47.252Z] Step 9/21 : COPY include /tmp/sdk/include [2020-06-01T20:01:47.252Z] ---> b6eebfb0437f [2020-06-01T20:01:47.252Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-06-01T20:01:47.518Z] ---> 333eea198522 [2020-06-01T20:01:47.518Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-06-01T20:01:47.518Z] ---> 3c5ac9736a92 [2020-06-01T20:01:47.518Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-06-01T20:01:47.551Z] + 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 . [2020-06-01T20:01:47.782Z] ---> db8a4de518d8 [2020-06-01T20:01:47.782Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-06-01T20:01:47.782Z] ---> Running in e43a65c07a0d [2020-06-01T20:01:48.534Z] Sending build context to Docker daemon 3.153MB [2020-06-01T20:01:48.534Z] Step 1/21 : ARG BASE=alpine:3.9 [2020-06-01T20:01:48.534Z] Step 2/21 : FROM ${BASE} as builder [2020-06-01T20:01:48.743Z] + CPPCHECK=false [2020-06-01T20:01:48.743Z] + DOCGEN=false [2020-06-01T20:01:48.743Z] + TOMLVER=SDK-0.2 [2020-06-01T20:01:48.743Z] + CUTILVER=1.0.4 [2020-06-01T20:01:48.743Z] + '[' 0 -gt 0 ] [2020-06-01T20:01:48.743Z] + readlink -f ./scripts/build.sh [2020-06-01T20:01:48.743Z] + dirname /tmp/sdk/scripts/build.sh [2020-06-01T20:01:48.743Z] + dirname /tmp/sdk/scripts [2020-06-01T20:01:48.743Z] + ROOT=/tmp/sdk [2020-06-01T20:01:48.743Z] + cd /tmp/sdk [2020-06-01T20:01:48.743Z] + '[' '!' -d deps ] [2020-06-01T20:01:48.743Z] + mkdir deps [2020-06-01T20:01:48.743Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-06-01T20:01:48.743Z] + tar -C deps -z -x -f - [2020-06-01T20:01:48.743Z] --2020-06-01 20:01:48-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-06-01T20:01:48.743Z] Resolving github.com... 140.82.113.3 [2020-06-01T20:01:48.743Z] Connecting to github.com|140.82.113.3|:443... connected. [2020-06-01T20:01:48.743Z] HTTP request sent, awaiting response... 302 Found [2020-06-01T20:01:48.743Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-06-01T20:01:48.743Z] --2020-06-01 20:01:48-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-06-01T20:01:48.743Z] Resolving codeload.github.com... 140.82.112.9 [2020-06-01T20:01:48.743Z] Connecting to codeload.github.com|140.82.112.9|:443... connected. [2020-06-01T20:01:48.812Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2020-06-01T20:01:48.812Z] 0362ad1dd800: Pulling fs layer [2020-06-01T20:01:48.812Z] f2cdb1532d8b: Pulling fs layer [2020-06-01T20:01:48.812Z] 37ed683be191: Pulling fs layer [2020-06-01T20:01:48.812Z] f2cdb1532d8b: Verifying Checksum [2020-06-01T20:01:48.812Z] f2cdb1532d8b: Download complete [2020-06-01T20:01:49.090Z] 0362ad1dd800: Verifying Checksum [2020-06-01T20:01:49.090Z] 0362ad1dd800: Download complete [2020-06-01T20:01:49.320Z] HTTP request sent, awaiting response... 200 OK [2020-06-01T20:01:49.320Z] Length: unspecified [application/x-gzip] [2020-06-01T20:01:49.320Z] Saving to: 'STDOUT' [2020-06-01T20:01:49.320Z]  [2020-06-01T20:01:49.320Z] 0K .......... ......  1.07M=0.01s [2020-06-01T20:01:49.320Z] [2020-06-01T20:01:49.320Z] 2020-06-01 20:01:49 (1.07 MB/s) - written to stdout [16451] [2020-06-01T20:01:49.320Z] [2020-06-01T20:01:49.320Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-06-01T20:01:49.320Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-06-01T20:01:49.320Z] + tar -C deps -z -x -f - [2020-06-01T20:01:49.320Z] --2020-06-01 20:01:49-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-06-01T20:01:49.320Z] Resolving github.com... 140.82.113.3 [2020-06-01T20:01:49.320Z] Connecting to github.com|140.82.113.3|:443... connected. [2020-06-01T20:01:49.582Z] HTTP request sent, awaiting response... 302 Found [2020-06-01T20:01:49.582Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] [2020-06-01T20:01:49.582Z] --2020-06-01 20:01:49-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [2020-06-01T20:01:49.582Z] Resolving codeload.github.com... 140.82.112.9 [2020-06-01T20:01:49.582Z] Connecting to codeload.github.com|140.82.112.9|:443... connected. [2020-06-01T20:01:49.701Z] 0362ad1dd800: Pull complete [2020-06-01T20:01:49.845Z] HTTP request sent, awaiting response... 200 OK [2020-06-01T20:01:49.845Z] Length: unspecified [application/x-gzip] [2020-06-01T20:01:49.845Z] Saving to: 'STDOUT' [2020-06-01T20:01:49.845Z]  [2020-06-01T20:01:49.845Z] 0K .......... .......... .......... .......... .......... 1.64M [2020-06-01T20:01:49.845Z] 50K .......... .......... .......... .......... .......... 3.18M [2020-06-01T20:01:49.845Z] 100K .......... .......... .......... .......... .......... 46.9M [2020-06-01T20:01:49.845Z] 150K ........ 52.5M=0.05s [2020-06-01T20:01:49.845Z] [2020-06-01T20:01:49.845Z] 2020-06-01 20:01:49 (3.34 MB/s) - written to stdout [162267] [2020-06-01T20:01:49.845Z] [2020-06-01T20:01:49.845Z] + mkdir -p src/c/iot [2020-06-01T20:01:49.845Z] + 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 [2020-06-01T20:01:49.845Z] + mkdir -p include/iot [2020-06-01T20:01:49.845Z] + 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 [2020-06-01T20:01:49.845Z] + mkdir -p include/iot/os [2020-06-01T20:01:49.845Z] + 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 [2020-06-01T20:01:49.845Z] + mkdir -p /tmp/sdk/build/release [2020-06-01T20:01:49.845Z] + cd /tmp/sdk/build/release [2020-06-01T20:01:49.845Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-06-01T20:01:49.845Z] -- The C compiler identification is GNU 8.3.0 [2020-06-01T20:01:49.845Z] -- Check for working C compiler: /usr/bin/cc [2020-06-01T20:01:49.975Z] f2cdb1532d8b: Pull complete [2020-06-01T20:01:50.107Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-01T20:01:50.107Z] -- Detecting C compiler ABI info [2020-06-01T20:01:50.107Z] -- Detecting C compiler ABI info - done [2020-06-01T20:01:50.107Z] -- Detecting C compile features [2020-06-01T20:01:50.368Z] -- Detecting C compile features - done [2020-06-01T20:01:50.368Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-06-01T20:01:50.368Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-06-01T20:01:50.368Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-06-01T20:01:50.368Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-06-01T20:01:50.368Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-06-01T20:01:50.368Z] -- C SDK 0.0.0 for Linux [2020-06-01T20:01:50.368Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-06-01T20:01:50.368Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-06-01T20:01:50.368Z] -- Found Curses: /usr/lib/libcurses.so [2020-06-01T20:01:50.368Z] -- Configuring done [2020-06-01T20:01:50.630Z] -- Generating done [2020-06-01T20:01:50.630Z] -- Build files have been written to: /tmp/sdk/build/release [2020-06-01T20:01:50.630Z] + make [2020-06-01T20:01:50.630Z] + tee release.log [2020-06-01T20:01:50.630Z] Scanning dependencies of target csdk [2020-06-01T20:01:50.630Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-06-01T20:01:50.892Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-06-01T20:01:50.892Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-06-01T20:01:51.462Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-06-01T20:01:51.462Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-06-01T20:01:51.462Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-06-01T20:01:51.722Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-06-01T20:01:52.294Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-06-01T20:01:52.294Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-06-01T20:01:52.556Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-06-01T20:01:52.556Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-06-01T20:01:52.821Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-06-01T20:01:52.821Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-06-01T20:01:52.821Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-06-01T20:01:53.764Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-06-01T20:01:53.764Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-06-01T20:01:53.764Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-06-01T20:01:54.033Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-06-01T20:01:54.621Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-06-01T20:01:54.621Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-06-01T20:01:54.621Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-06-01T20:01:54.883Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-06-01T20:01:54.883Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-06-01T20:01:54.883Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-06-01T20:01:55.150Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-06-01T20:01:55.150Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-06-01T20:01:55.413Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-06-01T20:01:55.413Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-06-01T20:01:55.674Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-06-01T20:01:55.936Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-06-01T20:01:55.936Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-06-01T20:01:56.712Z] 37ed683be191: Verifying Checksum [2020-06-01T20:01:56.712Z] 37ed683be191: Download complete [2020-06-01T20:01:56.880Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-06-01T20:01:57.141Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-06-01T20:01:57.141Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-06-01T20:01:57.404Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-06-01T20:01:57.666Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-06-01T20:01:58.240Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-06-01T20:01:59.184Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-06-01T20:01:59.184Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-06-01T20:01:59.450Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-06-01T20:01:59.714Z] [ 65%] Linking C shared library libcsdk.so [2020-06-01T20:01:59.714Z] [ 65%] Built target csdk [2020-06-01T20:01:59.714Z] Scanning dependencies of target template [2020-06-01T20:01:59.714Z] [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-06-01T20:01:59.976Z] [ 68%] Linking C executable template [2020-06-01T20:01:59.976Z] [ 68%] Built target template [2020-06-01T20:01:59.976Z] Scanning dependencies of target device-counter [2020-06-01T20:01:59.976Z] [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-06-01T20:02:00.237Z] [ 71%] Linking C executable device-counter [2020-06-01T20:02:00.237Z] [ 71%] Built target device-counter [2020-06-01T20:02:00.237Z] Scanning dependencies of target device-random [2020-06-01T20:02:00.237Z] [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-06-01T20:02:00.237Z] [ 74%] Linking C executable device-random [2020-06-01T20:02:00.500Z] [ 74%] Built target device-random [2020-06-01T20:02:00.500Z] Scanning dependencies of target device-gyro [2020-06-01T20:02:00.500Z] [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-06-01T20:02:00.500Z] [ 77%] Linking C executable device-gyro [2020-06-01T20:02:00.500Z] [ 77%] Built target device-gyro [2020-06-01T20:02:00.500Z] Scanning dependencies of target template-discovery [2020-06-01T20:02:00.763Z] [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-06-01T20:02:00.763Z] [ 80%] Linking C executable template-discovery [2020-06-01T20:02:00.763Z] [ 80%] Built target template-discovery [2020-06-01T20:02:00.763Z] Scanning dependencies of target device-terminal [2020-06-01T20:02:00.763Z] [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-06-01T20:02:01.024Z] [ 84%] Linking C executable device-terminal [2020-06-01T20:02:01.024Z] [ 84%] Built target device-terminal [2020-06-01T20:02:01.024Z] Scanning dependencies of target template2 [2020-06-01T20:02:01.024Z] [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-06-01T20:02:01.289Z] [ 87%] Linking C executable template2 [2020-06-01T20:02:01.289Z] [ 87%] Built target template2 [2020-06-01T20:02:01.289Z] Scanning dependencies of target device-counterv2 [2020-06-01T20:02:01.289Z] [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-06-01T20:02:01.552Z] [ 90%] Linking C executable device-counterv2 [2020-06-01T20:02:01.552Z] [ 90%] Built target device-counterv2 [2020-06-01T20:02:01.552Z] Scanning dependencies of target device-gyrov2 [2020-06-01T20:02:01.552Z] [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o [2020-06-01T20:02:01.552Z] [ 93%] Linking C executable device-gyrov2 [2020-06-01T20:02:01.816Z] [ 93%] Built target device-gyrov2 [2020-06-01T20:02:01.816Z] Scanning dependencies of target device-randomv2 [2020-06-01T20:02:01.816Z] [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-06-01T20:02:01.816Z] [ 96%] Linking C executable device-randomv2 [2020-06-01T20:02:01.816Z] [ 96%] Built target device-randomv2 [2020-06-01T20:02:01.816Z] Scanning dependencies of target device-terminalv2 [2020-06-01T20:02:02.077Z] [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o [2020-06-01T20:02:02.077Z] [100%] Linking C executable device-terminalv2 [2020-06-01T20:02:02.077Z] [100%] Built target device-terminalv2 [2020-06-01T20:02:02.077Z] + + make packagetee [2020-06-01T20:02:02.077Z] -a release.log [2020-06-01T20:02:02.339Z] [ 65%] Built target csdk [2020-06-01T20:02:02.339Z] [ 68%] Built target template [2020-06-01T20:02:02.339Z] [ 71%] Built target device-counter [2020-06-01T20:02:02.339Z] [ 74%] Built target device-random [2020-06-01T20:02:02.339Z] [ 77%] Built target device-gyro [2020-06-01T20:02:02.339Z] [ 80%] Built target template-discovery [2020-06-01T20:02:02.339Z] [ 84%] Built target device-terminal [2020-06-01T20:02:02.339Z] [ 87%] Built target template2 [2020-06-01T20:02:02.339Z] [ 90%] Built target device-counterv2 [2020-06-01T20:02:02.339Z] [ 93%] Built target device-gyrov2 [2020-06-01T20:02:02.339Z] [ 96%] Built target device-randomv2 [2020-06-01T20:02:02.339Z] [100%] Built target device-terminalv2 [2020-06-01T20:02:02.339Z] Run CPack packaging tool... [2020-06-01T20:02:02.339Z] CPack: Create package using TGZ [2020-06-01T20:02:02.339Z] CPack: Install projects [2020-06-01T20:02:02.339Z] CPack: - Run preinstall target for: Csdk [2020-06-01T20:02:02.599Z] CPack: - Install project: Csdk [2020-06-01T20:02:02.599Z] CPack: Create package [2020-06-01T20:02:02.599Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2020-06-01T20:02:02.599Z] + '[' false '=' true ] [2020-06-01T20:02:02.600Z] + '[' false '=' true ] [2020-06-01T20:02:02.600Z] + mkdir -p /tmp/sdk/build/debug [2020-06-01T20:02:02.600Z] + cd /tmp/sdk/build/debug [2020-06-01T20:02:02.600Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-06-01T20:02:02.861Z] -- The C compiler identification is GNU 8.3.0 [2020-06-01T20:02:02.861Z] -- Check for working C compiler: /usr/bin/cc [2020-06-01T20:02:02.861Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-01T20:02:02.861Z] -- Detecting C compiler ABI info [2020-06-01T20:02:02.861Z] -- Detecting C compiler ABI info - done [2020-06-01T20:02:02.861Z] -- Detecting C compile features [2020-06-01T20:02:03.122Z] -- Detecting C compile features - done [2020-06-01T20:02:03.122Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-06-01T20:02:03.122Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-06-01T20:02:03.122Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-06-01T20:02:03.122Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-06-01T20:02:03.122Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-06-01T20:02:03.122Z] -- C SDK 0.0.0 for Linux [2020-06-01T20:02:03.122Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-06-01T20:02:03.389Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-06-01T20:02:03.389Z] -- Found Curses: /usr/lib/libcurses.so [2020-06-01T20:02:03.389Z] -- Configuring done [2020-06-01T20:02:03.389Z] -- Generating done [2020-06-01T20:02:03.389Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-06-01T20:02:03.389Z] + make [2020-06-01T20:02:03.389Z] + tee debug.log [2020-06-01T20:02:03.389Z] Scanning dependencies of target csdk [2020-06-01T20:02:03.389Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-06-01T20:02:03.649Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-06-01T20:02:03.649Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-06-01T20:02:03.914Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-06-01T20:02:03.914Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-06-01T20:02:03.914Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-06-01T20:02:04.177Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-06-01T20:02:04.177Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-06-01T20:02:04.177Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-06-01T20:02:04.438Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-06-01T20:02:04.438Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-06-01T20:02:04.438Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-06-01T20:02:04.699Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-06-01T20:02:04.699Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-06-01T20:02:04.961Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-06-01T20:02:04.961Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-06-01T20:02:04.961Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-06-01T20:02:04.961Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-06-01T20:02:05.222Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-06-01T20:02:05.222Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-06-01T20:02:05.484Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-06-01T20:02:05.484Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-06-01T20:02:05.484Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-06-01T20:02:05.484Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-06-01T20:02:05.749Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-06-01T20:02:05.749Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-06-01T20:02:05.749Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-06-01T20:02:05.749Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-06-01T20:02:05.749Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-06-01T20:02:06.010Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-06-01T20:02:06.010Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-06-01T20:02:06.272Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-06-01T20:02:06.539Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-06-01T20:02:06.539Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-06-01T20:02:06.539Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-06-01T20:02:06.800Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-06-01T20:02:06.899Z] 37ed683be191: Pull complete [2020-06-01T20:02:06.899Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2020-06-01T20:02:06.899Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2020-06-01T20:02:06.899Z] ---> b23d30803547 [2020-06-01T20:02:06.899Z] 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 [2020-06-01T20:02:07.061Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-06-01T20:02:07.061Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-06-01T20:02:07.322Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-06-01T20:02:07.322Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-06-01T20:02:07.322Z] [ 65%] Linking C shared library libcsdk.so [2020-06-01T20:02:07.583Z] [ 65%] Built target csdk [2020-06-01T20:02:07.583Z] Scanning dependencies of target template [2020-06-01T20:02:07.583Z] [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-06-01T20:02:07.583Z] [ 68%] Linking C executable template [2020-06-01T20:02:07.583Z] [ 68%] Built target template [2020-06-01T20:02:07.583Z] Scanning dependencies of target device-counter [2020-06-01T20:02:07.583Z] [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-06-01T20:02:07.844Z] [ 71%] Linking C executable device-counter [2020-06-01T20:02:07.844Z] [ 71%] Built target device-counter [2020-06-01T20:02:07.844Z] Scanning dependencies of target device-random [2020-06-01T20:02:07.844Z] [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-06-01T20:02:07.844Z] [ 74%] Linking C executable device-random [2020-06-01T20:02:07.844Z] [ 74%] Built target device-random [2020-06-01T20:02:07.844Z] Scanning dependencies of target device-gyro [2020-06-01T20:02:08.107Z] [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-06-01T20:02:08.107Z] [ 77%] Linking C executable device-gyro [2020-06-01T20:02:08.107Z] [ 77%] Built target device-gyro [2020-06-01T20:02:08.107Z] Scanning dependencies of target template-discovery [2020-06-01T20:02:08.107Z] [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-06-01T20:02:08.107Z] [ 80%] Linking C executable template-discovery [2020-06-01T20:02:08.369Z] [ 80%] Built target template-discovery [2020-06-01T20:02:08.369Z] Scanning dependencies of target device-terminal [2020-06-01T20:02:08.369Z] [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-06-01T20:02:08.369Z] [ 84%] Linking C executable device-terminal [2020-06-01T20:02:08.369Z] [ 84%] Built target device-terminal [2020-06-01T20:02:08.369Z] Scanning dependencies of target template2 [2020-06-01T20:02:08.369Z] [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-06-01T20:02:08.635Z] [ 87%] Linking C executable template2 [2020-06-01T20:02:08.635Z] [ 87%] Built target template2 [2020-06-01T20:02:08.635Z] Scanning dependencies of target device-counterv2 [2020-06-01T20:02:08.635Z] [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-06-01T20:02:08.635Z] [ 90%] Linking C executable device-counterv2 [2020-06-01T20:02:08.878Z] ---> Running in 045c068ed425 [2020-06-01T20:02:08.954Z] [ 90%] Built target device-counterv2 [2020-06-01T20:02:08.954Z] Scanning dependencies of target device-gyrov2 [2020-06-01T20:02:08.954Z] [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o [2020-06-01T20:02:09.257Z] [ 93%] Linking C executable device-gyrov2 [2020-06-01T20:02:09.476Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-06-01T20:02:09.519Z] [ 93%] Built target device-gyrov2 [2020-06-01T20:02:09.519Z] Scanning dependencies of target device-randomv2 [2020-06-01T20:02:09.519Z] [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-06-01T20:02:09.519Z] [ 96%] Linking C executable device-randomv2 [2020-06-01T20:02:09.781Z] [ 96%] Built target device-randomv2 [2020-06-01T20:02:09.781Z] Scanning dependencies of target device-terminalv2 [2020-06-01T20:02:09.781Z] [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o [2020-06-01T20:02:09.781Z] [100%] Linking C executable device-terminalv2 [2020-06-01T20:02:09.781Z] [100%] Built target device-terminalv2 [2020-06-01T20:02:10.042Z] make: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:02:10.042Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:02:10.042Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:02:10.042Z] Scanning dependencies of target csdk [2020-06-01T20:02:10.042Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:02:10.042Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:02:10.042Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-06-01T20:02:10.448Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-06-01T20:02:10.448Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-06-01T20:02:10.615Z] [ 3%] Linking C shared library libcsdk.so [2020-06-01T20:02:10.615Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:02:10.615Z] [ 65%] Built target csdk [2020-06-01T20:02:10.615Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:02:10.615Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:02:10.615Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:02:10.615Z] [ 66%] Linking C executable template [2020-06-01T20:02:10.615Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:02:10.615Z] [ 68%] Built target template [2020-06-01T20:02:10.615Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:02:10.615Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:02:10.615Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:02:10.615Z] [ 69%] Linking C executable device-counter [2020-06-01T20:02:10.615Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:02:10.616Z] [ 71%] Built target device-counter [2020-06-01T20:02:10.616Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:02:10.616Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:02:10.616Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:02:10.722Z] (2/8) Installing libuuid (2.33-r0) [2020-06-01T20:02:10.722Z] (3/8) Installing libblkid (2.33-r0) [2020-06-01T20:02:10.722Z] (4/8) Installing libfdisk (2.33-r0) [2020-06-01T20:02:10.876Z] [ 73%] Linking C executable device-random [2020-06-01T20:02:10.876Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:02:10.876Z] [ 74%] Built target device-random [2020-06-01T20:02:10.876Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:02:10.876Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:02:10.876Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:02:10.876Z] [ 76%] Linking C executable device-gyro [2020-06-01T20:02:10.876Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:02:10.876Z] [ 77%] Built target device-gyro [2020-06-01T20:02:10.876Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:02:10.876Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:02:10.876Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:02:10.876Z] [ 79%] Linking C executable template-discovery [2020-06-01T20:02:10.876Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:02:10.876Z] [ 80%] Built target template-discovery [2020-06-01T20:02:10.876Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:02:10.876Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:02:10.876Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:02:10.876Z] [ 82%] Linking C executable device-terminal [2020-06-01T20:02:10.998Z] (5/8) Installing libmount (2.33-r0) [2020-06-01T20:02:10.998Z] (6/8) Installing libsmartcols (2.33-r0) [2020-06-01T20:02:10.998Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-06-01T20:02:11.138Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:02:11.138Z] [ 84%] Built target device-terminal [2020-06-01T20:02:11.138Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:02:11.138Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:02:11.138Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:02:11.139Z] [ 85%] Linking C executable template2 [2020-06-01T20:02:11.139Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:02:11.139Z] [ 87%] Built target template2 [2020-06-01T20:02:11.139Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:02:11.139Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:02:11.139Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:02:11.139Z] [ 88%] Linking C executable device-counterv2 [2020-06-01T20:02:11.139Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:02:11.139Z] [ 90%] Built target device-counterv2 [2020-06-01T20:02:11.139Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:02:11.139Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:02:11.139Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:02:11.139Z] [ 92%] Linking C executable device-gyrov2 [2020-06-01T20:02:11.280Z] (8/8) Installing wget (1.20.3-r0) [2020-06-01T20:02:11.280Z] Executing busybox-1.29.3-r10.trigger [2020-06-01T20:02:11.400Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:02:11.400Z] [ 93%] Built target device-gyrov2 [2020-06-01T20:02:11.400Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:02:11.400Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:02:11.400Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:02:11.400Z] [ 95%] Linking C executable device-randomv2 [2020-06-01T20:02:11.400Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:02:11.400Z] [ 96%] Built target device-randomv2 [2020-06-01T20:02:11.400Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:02:11.400Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:02:11.400Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:02:11.400Z] [ 98%] Linking C executable device-terminalv2 [2020-06-01T20:02:11.400Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:02:11.400Z] [100%] Built target device-terminalv2 [2020-06-01T20:02:11.400Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:02:11.401Z] Install the project... [2020-06-01T20:02:11.401Z] -- Install configuration: "Release" [2020-06-01T20:02:11.401Z] -- Installing: /usr/local/lib/libcsdk.so [2020-06-01T20:02:11.401Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-06-01T20:02:11.401Z] -- Up-to-date: /usr/local/include [2020-06-01T20:02:11.401Z] -- Installing: /usr/local/include/devsdk [2020-06-01T20:02:11.401Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-06-01T20:02:11.401Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-06-01T20:02:11.401Z] -- Installing: /usr/local/include/edgex [2020-06-01T20:02:11.401Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-06-01T20:02:11.401Z] -- Installing: /usr/local/include/edgex/devices.h [2020-06-01T20:02:11.401Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-06-01T20:02:11.401Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-06-01T20:02:11.401Z] -- Installing: /usr/local/include/edgex/edgex-logging.h [2020-06-01T20:02:11.401Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-06-01T20:02:11.401Z] -- Installing: /usr/local/include/edgex/error.h [2020-06-01T20:02:11.401Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-06-01T20:02:11.401Z] -- Installing: /usr/local/include/edgex/os.h [2020-06-01T20:02:11.401Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-06-01T20:02:11.401Z] -- Installing: /usr/local/include/edgex/registry.h [2020-06-01T20:02:11.401Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-06-01T20:02:11.401Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-06-01T20:02:11.401Z] -- Installing: /usr/local/include/iot [2020-06-01T20:02:11.401Z] -- Installing: /usr/local/include/iot/base64.h [2020-06-01T20:02:11.401Z] -- Installing: /usr/local/include/iot/component.h [2020-06-01T20:02:11.401Z] -- Installing: /usr/local/include/iot/container.h [2020-06-01T20:02:11.401Z] -- Installing: /usr/local/include/iot/data.h [2020-06-01T20:02:11.401Z] -- Installing: /usr/local/include/iot/hash.h [2020-06-01T20:02:11.401Z] -- Installing: /usr/local/include/iot/iot.h [2020-06-01T20:02:11.401Z] -- Installing: /usr/local/include/iot/json.h [2020-06-01T20:02:11.401Z] -- Installing: /usr/local/include/iot/logger.h [2020-06-01T20:02:11.401Z] -- Installing: /usr/local/include/iot/os.h [2020-06-01T20:02:11.401Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-06-01T20:02:11.401Z] -- Installing: /usr/local/include/iot/thread.h [2020-06-01T20:02:11.401Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-06-01T20:02:11.401Z] -- Installing: /usr/local/include/iot/time.h [2020-06-01T20:02:11.401Z] -- Installing: /usr/local/include/iot/typecode.h [2020-06-01T20:02:11.401Z] -- Installing: /usr/local/include/iot/os [2020-06-01T20:02:11.401Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-06-01T20:02:11.401Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-06-01T20:02:11.401Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-06-01T20:02:11.401Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-06-01T20:02:11.401Z] make: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:02:11.558Z] OK: 285 MiB in 83 packages [2020-06-01T20:02:12.350Z] Removing intermediate container e43a65c07a0d [2020-06-01T20:02:12.350Z] ---> 3c1cccbd78f0 [2020-06-01T20:02:12.350Z] Step 14/21 : FROM alpine:3.9 [2020-06-01T20:02:12.616Z] 3.9: Pulling from library/alpine [2020-06-01T20:02:12.616Z] 31603596830f: Pulling fs layer [2020-06-01T20:02:12.878Z] 31603596830f: Verifying Checksum [2020-06-01T20:02:12.878Z] 31603596830f: Download complete [2020-06-01T20:02:12.878Z] 31603596830f: Pull complete [2020-06-01T20:02:12.878Z] Digest: sha256:414e0518bb9228d35e4cd5165567fb91d26c6a214e9c95899e1e056fcd349011 [2020-06-01T20:02:13.001Z] Removing intermediate container 045c068ed425 [2020-06-01T20:02:13.001Z] ---> 8e93b204c677 [2020-06-01T20:02:13.001Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-06-01T20:02:13.001Z] ---> Running in 916a4db18e71 [2020-06-01T20:02:13.139Z] Status: Downloaded newer image for alpine:3.9 [2020-06-01T20:02:13.139Z] ---> 78a2ce922f86 [2020-06-01T20:02:13.139Z] Step 15/21 : MAINTAINER IOTech [2020-06-01T20:02:13.139Z] ---> Running in ccbda0c6e473 [2020-06-01T20:02:13.139Z] Removing intermediate container ccbda0c6e473 [2020-06-01T20:02:13.139Z] ---> 4cc9534328d2 [2020-06-01T20:02:13.139Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-06-01T20:02:13.139Z] ---> Running in 60d95fffa19c [2020-06-01T20:02:13.274Z] Removing intermediate container 916a4db18e71 [2020-06-01T20:02:13.274Z] ---> 7fd4623304e4 [2020-06-01T20:02:13.274Z] 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 [2020-06-01T20:02:13.550Z] ---> Running in 995e6d64f5f2 [2020-06-01T20:02:13.718Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-06-01T20:02:13.718Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-06-01T20:02:13.979Z] (1/48) Installing binutils (2.31.1-r2) [2020-06-01T20:02:13.979Z] (2/48) Installing libmagic (5.36-r1) [2020-06-01T20:02:13.979Z] (3/48) Installing file (5.36-r1) [2020-06-01T20:02:13.979Z] (4/48) Installing gmp (6.1.2-r1) [2020-06-01T20:02:13.979Z] (5/48) Installing isl (0.18-r0) [2020-06-01T20:02:14.242Z] (6/48) Installing libgomp (8.3.0-r0) [2020-06-01T20:02:14.242Z] (7/48) Installing libatomic (8.3.0-r0) [2020-06-01T20:02:14.242Z] (8/48) Installing libgcc (8.3.0-r0) [2020-06-01T20:02:14.242Z] (9/48) Installing mpfr3 (3.1.5-r1) [2020-06-01T20:02:14.242Z] (10/48) Installing mpc1 (1.0.3-r1) [2020-06-01T20:02:14.242Z] (11/48) Installing libstdc++ (8.3.0-r0) [2020-06-01T20:02:14.242Z] (12/48) Installing gcc (8.3.0-r0) [2020-06-01T20:02:14.535Z] --2020-06-01 20:02:14-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-06-01T20:02:14.535Z] Resolving github.com... 140.82.113.4 [2020-06-01T20:02:14.535Z] Connecting to github.com|140.82.113.4|:443... connected. [2020-06-01T20:02:14.535Z] HTTP request sent, awaiting response... 302 Found [2020-06-01T20:02:14.535Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-06-01T20:02:14.535Z] --2020-06-01 20:02:14-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-06-01T20:02:14.535Z] Resolving codeload.github.com... 140.82.113.10 [2020-06-01T20:02:14.535Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2020-06-01T20:02:14.535Z] HTTP request sent, awaiting response... 200 OK [2020-06-01T20:02:14.535Z] Length: unspecified [application/x-gzip] [2020-06-01T20:02:14.535Z] Saving to: 'STDOUT' [2020-06-01T20:02:14.535Z] [2020-06-01T20:02:14.810Z] 0K .......... .......... .......... .......... .......... 1.60M [2020-06-01T20:02:14.810Z] 50K .......... .......... .......... .......... .......... 3.43M [2020-06-01T20:02:14.810Z] 100K .......... .......... .......... .......... .......... 12.1M [2020-06-01T20:02:14.810Z] 150K .......... .......... .......... .......... .......... 11.6M [2020-06-01T20:02:14.810Z] 200K .......... .......... .......... .......... .......... 4.26M [2020-06-01T20:02:14.810Z] 250K .......... .......... .......... .......... .......... 5.71M [2020-06-01T20:02:14.810Z] 300K .......... .......... .......... .......... .......... 3.37M [2020-06-01T20:02:14.810Z] 350K .......... .......... .......... .......... .......... 4.54M [2020-06-01T20:02:14.810Z] 400K .......... .......... .......... .......... .......... 3.34M [2020-06-01T20:02:14.810Z] 450K .......... .......... .......... .......... .......... 3.28M [2020-06-01T20:02:14.810Z] 500K .......... .......... .......... .......... .......... 6.17M [2020-06-01T20:02:14.810Z] 550K .......... .......... .......... .......... .......... 2.60M [2020-06-01T20:02:14.810Z] 600K .......... .......... .......... .......... .......... 904K [2020-06-01T20:02:14.810Z] 650K .......... .......... .......... .......... .......... 2.12M [2020-06-01T20:02:14.810Z] 700K ..  529K=0.2s [2020-06-01T20:02:14.810Z] [2020-06-01T20:02:14.810Z] 2020-06-01 20:02:14 (2.89 MB/s) - written to stdout [719348] [2020-06-01T20:02:14.810Z] [2020-06-01T20:02:15.083Z] -- The C compiler identification is GNU 8.3.0 [2020-06-01T20:02:15.357Z] -- The CXX compiler identification is GNU 8.3.0 [2020-06-01T20:02:15.357Z] -- Check for working C compiler: /usr/bin/cc [2020-06-01T20:02:15.631Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-01T20:02:15.631Z] -- Detecting C compiler ABI info [2020-06-01T20:02:15.906Z] -- Detecting C compiler ABI info - done [2020-06-01T20:02:15.906Z] -- Detecting C compile features [2020-06-01T20:02:16.898Z] -- Detecting C compile features - done [2020-06-01T20:02:16.898Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-06-01T20:02:16.898Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-06-01T20:02:16.898Z] -- Detecting CXX compiler ABI info [2020-06-01T20:02:17.171Z] -- Detecting CXX compiler ABI info - done [2020-06-01T20:02:17.171Z] -- Detecting CXX compile features [2020-06-01T20:02:18.452Z] (13/48) Installing musl-dev (1.1.20-r5) [2020-06-01T20:02:18.452Z] (14/48) Installing libc-dev (0.7.1-r0) [2020-06-01T20:02:18.452Z] (15/48) Installing g++ (8.3.0-r0) [2020-06-01T20:02:18.603Z] -- Detecting CXX compile features - done [2020-06-01T20:02:18.876Z] -- Looking for include file endian.h [2020-06-01T20:02:18.876Z] -- Looking for include file endian.h - found [2020-06-01T20:02:18.876Z] -- Check if the system is big endian [2020-06-01T20:02:18.876Z] -- Searching 16 bit integer [2020-06-01T20:02:18.876Z] -- Looking for sys/types.h [2020-06-01T20:02:19.149Z] -- Looking for sys/types.h - found [2020-06-01T20:02:19.149Z] -- Looking for stdint.h [2020-06-01T20:02:19.429Z] -- Looking for stdint.h - found [2020-06-01T20:02:19.429Z] -- Looking for stddef.h [2020-06-01T20:02:19.703Z] -- Looking for stddef.h - found [2020-06-01T20:02:19.703Z] -- Check size of unsigned short [2020-06-01T20:02:19.839Z] (16/48) Installing make (4.2.1-r2) [2020-06-01T20:02:19.839Z] (17/48) Installing fortify-headers (1.0-r0) [2020-06-01T20:02:19.839Z] (18/48) Installing build-base (0.5-r1) [2020-06-01T20:02:19.839Z] (19/48) Installing libattr (2.4.47-r7) [2020-06-01T20:02:19.839Z] (20/48) Installing libacl (2.2.52-r5) [2020-06-01T20:02:19.839Z] (21/48) Installing libbz2 (1.0.6-r7) [2020-06-01T20:02:19.839Z] (22/48) Installing expat (2.2.8-r0) [2020-06-01T20:02:19.839Z] (23/48) Installing lz4-libs (1.8.3-r2) [2020-06-01T20:02:19.839Z] (24/48) Installing xz-libs (5.2.4-r0) [2020-06-01T20:02:19.839Z] (25/48) Installing libarchive (3.3.3-r2) [2020-06-01T20:02:19.839Z] (26/48) Installing ca-certificates (20191127-r0) [2020-06-01T20:02:19.839Z] (27/48) Installing nghttp2-libs (1.35.1-r1) [2020-06-01T20:02:19.839Z] (28/48) Installing libssh2 (1.9.0-r1) [2020-06-01T20:02:19.839Z] (29/48) Installing libcurl (7.64.0-r3) [2020-06-01T20:02:19.839Z] (30/48) Installing ncurses-terminfo-base (6.1_p20190105-r0) [2020-06-01T20:02:19.839Z] (31/48) Installing ncurses-terminfo (6.1_p20190105-r0) [2020-06-01T20:02:19.976Z] -- Check size of unsigned short - done [2020-06-01T20:02:19.976Z] -- Using unsigned short [2020-06-01T20:02:20.101Z] (32/48) Installing ncurses-libs (6.1_p20190105-r0) [2020-06-01T20:02:20.256Z] -- Check if the system is big endian - little endian [2020-06-01T20:02:20.256Z] -- Check size of size_t [2020-06-01T20:02:20.363Z] (33/48) Installing rhash-libs (1.3.6-r2) [2020-06-01T20:02:20.363Z] (34/48) Installing libuv (1.23.2-r0) [2020-06-01T20:02:20.363Z] (35/48) Installing cmake (3.13.0-r0) [2020-06-01T20:02:20.529Z] -- Check size of size_t - done [2020-06-01T20:02:20.529Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-06-01T20:02:20.529Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-06-01T20:02:20.529Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-06-01T20:02:20.529Z] CMake did not find one. [2020-06-01T20:02:20.529Z] [2020-06-01T20:02:20.529Z] Could not find a package configuration file provided by "cJSON" with any of [2020-06-01T20:02:20.529Z] the following names: [2020-06-01T20:02:20.529Z] [2020-06-01T20:02:20.529Z] cJSONConfig.cmake [2020-06-01T20:02:20.529Z] cjson-config.cmake [2020-06-01T20:02:20.529Z] [2020-06-01T20:02:20.529Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-06-01T20:02:20.529Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-06-01T20:02:20.529Z] provides a separate development package or SDK, be sure it has been [2020-06-01T20:02:20.529Z] installed. [2020-06-01T20:02:20.529Z] [2020-06-01T20:02:20.529Z] [2020-06-01T20:02:20.529Z] -- Configuring done [2020-06-01T20:02:20.805Z] -- Generating done [2020-06-01T20:02:20.805Z] -- Build files have been written to: /tmp/cbor [2020-06-01T20:02:20.805Z] Scanning dependencies of target cbor_shared [2020-06-01T20:02:20.937Z] (36/48) Installing curl (7.64.0-r3) [2020-06-01T20:02:20.937Z] (37/48) Installing pcre2 (10.32-r1) [2020-06-01T20:02:20.937Z] (38/48) Installing git (2.20.4-r0) [2020-06-01T20:02:21.076Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-06-01T20:02:21.199Z] (39/48) Installing nettle (3.4.1-r0) [2020-06-01T20:02:21.199Z] (40/48) Installing libffi (3.2.1-r6) [2020-06-01T20:02:21.199Z] (41/48) Installing p11-kit (0.23.14-r0) [2020-06-01T20:02:21.199Z] (42/48) Installing libtasn1 (4.14-r0) [2020-06-01T20:02:21.199Z] (43/48) Installing libunistring (0.9.10-r0) [2020-06-01T20:02:21.199Z] (44/48) Installing gnutls (3.6.7-r1) [2020-06-01T20:02:21.199Z] (45/48) Installing libmicrohttpd (0.9.62-r0) [2020-06-01T20:02:21.199Z] (46/48) Installing libuuid (2.33-r0) [2020-06-01T20:02:21.462Z] (47/48) Installing wget (1.20.3-r0) [2020-06-01T20:02:21.462Z] (48/48) Installing yaml (0.2.1-r0) [2020-06-01T20:02:21.462Z] Executing busybox-1.29.3-r10.trigger [2020-06-01T20:02:21.462Z] Executing ca-certificates-20191127-r0.trigger [2020-06-01T20:02:21.462Z] OK: 222 MiB in 62 packages [2020-06-01T20:02:21.674Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-06-01T20:02:22.282Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-06-01T20:02:22.554Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-06-01T20:02:23.148Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-06-01T20:02:23.421Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-06-01T20:02:23.422Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-06-01T20:02:23.694Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-06-01T20:02:23.967Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-06-01T20:02:24.240Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-06-01T20:02:24.834Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-06-01T20:02:25.105Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-06-01T20:02:25.378Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-06-01T20:02:25.651Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-06-01T20:02:25.923Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-06-01T20:02:26.196Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-06-01T20:02:26.468Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-06-01T20:02:26.740Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-06-01T20:02:27.011Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-06-01T20:02:27.284Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-06-01T20:02:27.557Z] [ 40%] Linking C shared library libcbor.so [2020-06-01T20:02:27.557Z] [ 40%] Built target cbor_shared [2020-06-01T20:02:27.557Z] Scanning dependencies of target cbor [2020-06-01T20:02:27.557Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-06-01T20:02:28.060Z] Removing intermediate container 60d95fffa19c [2020-06-01T20:02:28.060Z] ---> 56a2e3a8e18f [2020-06-01T20:02:28.060Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-06-01T20:02:28.323Z] ---> 4458088badcf [2020-06-01T20:02:28.323Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-06-01T20:02:28.323Z] ---> a16abf951ed7 [2020-06-01T20:02:28.323Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-06-01T20:02:28.531Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-06-01T20:02:28.585Z] ---> 4fe3a8c9c11a [2020-06-01T20:02:28.585Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-06-01T20:02:28.847Z] ---> 1d729b5fb133 [2020-06-01T20:02:28.847Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-06-01T20:02:28.847Z] ---> 6a9a02238403 [2020-06-01T20:02:29.108Z] Successfully built 6a9a02238403 [2020-06-01T20:02:29.108Z] Successfully tagged ci-base-image-x86_64:latest [2020-06-01T20:02:29.124Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-06-01T20:02:29.124Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-06-01T20:02:29.966Z] + docker inspect -f . ci-base-image-x86_64 [2020-06-01T20:02:29.966Z] . [Pipeline] withDockerContainer [2020-06-01T20:02:30.127Z] prd-centos7-docker-4c-2g-1468 does not seem to be running inside a container [2020-06-01T20:02:30.176Z] $ 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 [2020-06-01T20:02:30.549Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-06-01T20:02:30.549Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-06-01T20:02:30.748Z] $ docker top 6cbfc95adbef3b688732e97ae77fc1c50b808bdaeeb7e7ad10ee7ce821d25818 -eo pid,comm [2020-06-01T20:02:30.823Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-06-01T20:02:30.823Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [Pipeline] { [Pipeline] sh [2020-06-01T20:02:31.094Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-06-01T20:02:31.366Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-06-01T20:02:31.385Z] + make test [2020-06-01T20:02:31.385Z] echo "make test" [2020-06-01T20:02:31.385Z] make test [Pipeline] } [2020-06-01T20:02:31.408Z] $ docker stop --time=1 6cbfc95adbef3b688732e97ae77fc1c50b808bdaeeb7e7ad10ee7ce821d25818 [2020-06-01T20:02:32.339Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-06-01T20:02:32.339Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-06-01T20:02:32.929Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-06-01T20:02:33.199Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-06-01T20:02:33.476Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-06-01T20:02:33.476Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-06-01T20:02:33.776Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-06-01T20:02:33.806Z] $ docker rm -f 6cbfc95adbef3b688732e97ae77fc1c50b808bdaeeb7e7ad10ee7ce821d25818 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [2020-06-01T20:02:34.389Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-06-01T20:02:34.389Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [Pipeline] } [Pipeline] // stage [2020-06-01T20:02:34.661Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2020-06-01T20:02:34.932Z] [ 80%] Linking C static library libcbor.a [2020-06-01T20:02:34.932Z] [ 80%] Built target cbor [2020-06-01T20:02:34.932Z] Scanning dependencies of target create_items [2020-06-01T20:02:34.932Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-06-01T20:02:35.203Z] [ 84%] Linking C executable create_items [2020-06-01T20:02:35.203Z] [ 84%] Built target create_items [2020-06-01T20:02:35.203Z] Scanning dependencies of target readfile [2020-06-01T20:02:35.203Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-06-01T20:02:35.481Z] [ 88%] Linking C executable readfile [2020-06-01T20:02:35.481Z] [ 88%] Built target readfile [2020-06-01T20:02:35.481Z] Scanning dependencies of target streaming_parser [2020-06-01T20:02:35.758Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-06-01T20:02:35.758Z] [ 92%] Linking C executable streaming_parser [2020-06-01T20:02:36.041Z] [ 92%] Built target streaming_parser [2020-06-01T20:02:36.041Z] Scanning dependencies of target sort [2020-06-01T20:02:36.041Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-06-01T20:02:36.041Z] [ 96%] Linking C executable sort [2020-06-01T20:02:36.315Z] [ 96%] Built target sort [2020-06-01T20:02:36.315Z] Scanning dependencies of target hello [2020-06-01T20:02:36.315Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-06-01T20:02:36.593Z] [100%] Linking C executable hello [2020-06-01T20:02:36.593Z] [100%] Built target hello [2020-06-01T20:02:36.593Z] Install the project... [2020-06-01T20:02:36.593Z] -- Install configuration: "Release" [2020-06-01T20:02:36.593Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-06-01T20:02:36.593Z] -- Installing: /usr/local/lib64/libcbor.a [2020-06-01T20:02:36.593Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-06-01T20:02:36.593Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-06-01T20:02:36.593Z] -- Installing: /usr/local/lib64/libcbor.so [2020-06-01T20:02:36.593Z] -- Up-to-date: /usr/local/include/cbor [2020-06-01T20:02:36.593Z] -- Installing: /usr/local/include/cbor/common.h [2020-06-01T20:02:36.593Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-06-01T20:02:36.593Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-06-01T20:02:36.593Z] -- Installing: /usr/local/include/cbor/maps.h [2020-06-01T20:02:36.593Z] -- Installing: /usr/local/include/cbor/strings.h [2020-06-01T20:02:36.593Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-06-01T20:02:36.593Z] -- Installing: /usr/local/include/cbor/internal [2020-06-01T20:02:36.593Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-06-01T20:02:36.593Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-06-01T20:02:36.593Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-06-01T20:02:36.593Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-06-01T20:02:36.593Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-06-01T20:02:36.593Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-06-01T20:02:36.593Z] -- Installing: /usr/local/include/cbor/data.h [2020-06-01T20:02:36.593Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-06-01T20:02:36.593Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-06-01T20:02:36.593Z] -- Installing: /usr/local/include/cbor/tags.h [2020-06-01T20:02:36.593Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-06-01T20:02:36.593Z] -- Installing: /usr/local/include/cbor/ints.h [2020-06-01T20:02:36.593Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-06-01T20:02:36.593Z] -- Installing: /usr/local/include/cbor.h [2020-06-01T20:02:36.593Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [Pipeline] sh [2020-06-01T20:02:39.207Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-01T20:02:39.237Z] Removing intermediate container 995e6d64f5f2 [2020-06-01T20:02:39.237Z] ---> 18f023e17a31 [2020-06-01T20:02:39.237Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-06-01T20:02:39.237Z] ---> Running in 9bb55b7a4904 [2020-06-01T20:02:39.518Z] + ls -al . [2020-06-01T20:02:39.518Z] total 160 [2020-06-01T20:02:39.518Z] drwxrwxr-x. 8 jenkins jenkins 260 Jun 1 20:01 . [2020-06-01T20:02:39.518Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 1 20:01 .. [2020-06-01T20:02:39.518Z] -rw-rw-r--. 1 jenkins jenkins 3104 Jun 1 20:01 Attribution.txt [2020-06-01T20:02:39.518Z] -rw-rw-r--. 1 jenkins jenkins 5393 Jun 1 20:01 CHANGES [2020-06-01T20:02:39.518Z] drwxrwxr-x. 2 jenkins jenkins 144 Jun 1 20:01 docs [2020-06-01T20:02:39.518Z] -rw-rw-r--. 1 jenkins jenkins 108574 Jun 1 20:01 Doxyfile [2020-06-01T20:02:39.518Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 1 20:01 .git [2020-06-01T20:02:39.518Z] -rw-rw-r--. 1 jenkins jenkins 176 Jun 1 20:01 .gitignore [2020-06-01T20:02:39.518Z] drwxrwxr-x. 4 jenkins jenkins 33 Jun 1 20:01 include [2020-06-01T20:02:39.518Z] -rw-rw-r--. 1 jenkins jenkins 792 Jun 1 20:01 Jenkinsfile [2020-06-01T20:02:39.518Z] -rw-rw-r--. 1 jenkins jenkins 10174 Jun 1 20:01 LICENSE [2020-06-01T20:02:39.518Z] -rw-rw-r--. 1 jenkins jenkins 448 Jun 1 20:01 Makefile [2020-06-01T20:02:39.518Z] -rw-rw-r--. 1 jenkins jenkins 1849 Jun 1 20:01 README.md [2020-06-01T20:02:39.518Z] -rw-rw-r--. 1 jenkins jenkins 5229 Jun 1 20:01 README.v2.md [2020-06-01T20:02:39.518Z] drwxrwxr-x. 2 jenkins jenkins 106 Jun 1 20:01 scripts [2020-06-01T20:02:39.518Z] drwxrwxr-x. 3 jenkins jenkins 58 Jun 1 20:01 .semver [2020-06-01T20:02:39.518Z] drwxrwxr-x. 4 jenkins jenkins 50 Jun 1 20:01 src [2020-06-01T20:02:39.518Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 1 19:59 VERSION [Pipeline] isUnix [Pipeline] sh [2020-06-01T20:02:39.843Z] + 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=f2270728e824aee143bf465ae2c8f9a2bc1cbe22 --label arch=amd64 --label version=0.0.0 . [2020-06-01T20:02:39.843Z] Sending build context to Docker daemon 3.153MB [2020-06-01T20:02:39.843Z] Step 1/15 : ARG BASE=alpine:3.9 [2020-06-01T20:02:39.843Z] Step 2/15 : FROM ${BASE} [2020-06-01T20:02:39.843Z] ---> 6a9a02238403 [2020-06-01T20:02:39.843Z] Step 3/15 : MAINTAINER IOTech [2020-06-01T20:02:39.843Z] ---> Running in 81a8dafa9b5e [2020-06-01T20:02:40.107Z] Removing intermediate container 81a8dafa9b5e [2020-06-01T20:02:40.107Z] ---> bf034c25fefe [2020-06-01T20:02:40.107Z] 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 [2020-06-01T20:02:40.107Z] ---> Running in 93fb490ac342 [2020-06-01T20:02:40.369Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-06-01T20:02:40.632Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-06-01T20:02:40.632Z] (1/21) Installing pkgconf (1.6.0-r0) [2020-06-01T20:02:40.632Z] (2/21) Installing openssl-dev (1.1.1g-r0) [2020-06-01T20:02:41.199Z] Removing intermediate container 9bb55b7a4904 [2020-06-01T20:02:41.199Z] ---> 811735d5eec9 [2020-06-01T20:02:41.199Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-06-01T20:02:41.208Z] (3/21) Installing zlib-dev (1.2.11-r1) [2020-06-01T20:02:41.208Z] (4/21) Installing libssh2-dev (1.9.0-r1) [2020-06-01T20:02:41.208Z] (5/21) Installing nghttp2-dev (1.35.1-r1) [2020-06-01T20:02:41.208Z] (6/21) Installing curl-dev (7.64.0-r3) [2020-06-01T20:02:41.471Z] ---> a31b52be522b [2020-06-01T20:02:41.471Z] Step 8/21 : COPY src /tmp/sdk/src [2020-06-01T20:02:41.471Z] (7/21) Installing gnutls-c++ (3.6.7-r1) [2020-06-01T20:02:41.471Z] (8/21) Installing libgmpxx (6.1.2-r1) [2020-06-01T20:02:41.471Z] (9/21) Installing gmp-dev (6.1.2-r1) [2020-06-01T20:02:41.471Z] (10/21) Installing nettle-dev (3.4.1-r0) [2020-06-01T20:02:41.733Z] (11/21) Installing libtasn1-dev (4.14-r0) [2020-06-01T20:02:41.733Z] (12/21) Installing p11-kit-dev (0.23.14-r0) [2020-06-01T20:02:41.733Z] (13/21) Installing gnutls-dev (3.6.7-r1) [2020-06-01T20:02:41.733Z] (14/21) Installing libmicrohttpd-dev (0.9.62-r0) [2020-06-01T20:02:41.733Z] (15/21) Installing ncurses-dev (6.1_p20190105-r0) [2020-06-01T20:02:41.733Z] (16/21) Installing libblkid (2.33-r0) [2020-06-01T20:02:41.733Z] (17/21) Installing libfdisk (2.33-r0) [2020-06-01T20:02:41.733Z] (18/21) Installing libmount (2.33-r0) [2020-06-01T20:02:41.995Z] (19/21) Installing libsmartcols (2.33-r0) [2020-06-01T20:02:41.995Z] (20/21) Installing util-linux-dev (2.33-r0) [2020-06-01T20:02:41.995Z] (21/21) Installing yaml-dev (0.2.1-r0) [2020-06-01T20:02:41.995Z] Executing busybox-1.29.3-r10.trigger [2020-06-01T20:02:41.995Z] OK: 266 MiB in 83 packages [2020-06-01T20:02:42.069Z] ---> 45d66fa8392e [2020-06-01T20:02:42.069Z] Step 9/21 : COPY include /tmp/sdk/include [2020-06-01T20:02:42.667Z] ---> b33686d95e2d [2020-06-01T20:02:42.667Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-06-01T20:02:42.947Z] Removing intermediate container 93fb490ac342 [2020-06-01T20:02:42.947Z] ---> d151453c3583 [2020-06-01T20:02:42.947Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-06-01T20:02:42.947Z] ---> bb7af70d05dc [2020-06-01T20:02:42.947Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-06-01T20:02:43.208Z] ---> aac644ef4634 [2020-06-01T20:02:43.208Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-06-01T20:02:43.257Z] ---> 9aa65ac90182 [2020-06-01T20:02:43.257Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-06-01T20:02:43.470Z] ---> d8972e2092f8 [2020-06-01T20:02:43.470Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-06-01T20:02:43.470Z] ---> ac363ad7a554 [2020-06-01T20:02:43.470Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-06-01T20:02:43.738Z] ---> 7cf90d607dfb [2020-06-01T20:02:43.738Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-06-01T20:02:43.856Z] ---> 259c7f8cea22 [2020-06-01T20:02:43.856Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-06-01T20:02:44.002Z] ---> 69a0d95d3905 [2020-06-01T20:02:44.002Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-06-01T20:02:44.002Z] ---> Running in 055b2ab7a5ab [2020-06-01T20:02:44.002Z] Removing intermediate container 055b2ab7a5ab [2020-06-01T20:02:44.002Z] ---> a0abe1a00d23 [2020-06-01T20:02:44.002Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-06-01T20:02:44.131Z] ---> ef8f75ba5a87 [2020-06-01T20:02:44.132Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-06-01T20:02:44.264Z] ---> Running in af64bda25df1 [2020-06-01T20:02:44.264Z] Removing intermediate container af64bda25df1 [2020-06-01T20:02:44.264Z] ---> 2bf38acdbb20 [2020-06-01T20:02:44.264Z] Step 13/15 : LABEL arch=amd64 [2020-06-01T20:02:44.264Z] ---> Running in 1d9e8995119e [2020-06-01T20:02:44.405Z] ---> Running in 2cdb02109da5 [2020-06-01T20:02:44.526Z] Removing intermediate container 1d9e8995119e [2020-06-01T20:02:44.526Z] ---> 17eea1a03cff [2020-06-01T20:02:44.526Z] Step 14/15 : LABEL git_sha=f2270728e824aee143bf465ae2c8f9a2bc1cbe22 [2020-06-01T20:02:45.099Z] ---> Running in c3039c399c42 [2020-06-01T20:02:45.360Z] Removing intermediate container c3039c399c42 [2020-06-01T20:02:45.360Z] ---> ddf3fa4e7517 [2020-06-01T20:02:45.360Z] Step 15/15 : LABEL version=0.0.0 [2020-06-01T20:02:45.360Z] ---> Running in 10fa5c5a6cda [2020-06-01T20:02:45.383Z] + CPPCHECK=false [2020-06-01T20:02:45.383Z] + DOCGEN=false [2020-06-01T20:02:45.383Z] + TOMLVER=SDK-0.2 [2020-06-01T20:02:45.383Z] + CUTILVER=1.0.4 [2020-06-01T20:02:45.383Z] + '[' 0 -gt 0 ] [2020-06-01T20:02:45.383Z] + readlink -f ./scripts/build.sh [2020-06-01T20:02:45.383Z] + dirname /tmp/sdk/scripts/build.sh [2020-06-01T20:02:45.383Z] + dirname /tmp/sdk/scripts [2020-06-01T20:02:45.383Z] + ROOT=/tmp/sdk [2020-06-01T20:02:45.383Z] + cd /tmp/sdk [2020-06-01T20:02:45.383Z] + '[' '!' -d deps ] [2020-06-01T20:02:45.383Z] + mkdir deps [2020-06-01T20:02:45.383Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-06-01T20:02:45.383Z] + tar -C deps -z -x -f - [2020-06-01T20:02:45.383Z] --2020-06-01 20:02:45-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-06-01T20:02:45.383Z] Resolving github.com... 140.82.113.4 [2020-06-01T20:02:45.383Z] Connecting to github.com|140.82.113.4|:443... connected. [2020-06-01T20:02:45.383Z] HTTP request sent, awaiting response... 302 Found [2020-06-01T20:02:45.383Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-06-01T20:02:45.383Z] --2020-06-01 20:02:45-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-06-01T20:02:45.383Z] Resolving codeload.github.com... 140.82.114.10 [2020-06-01T20:02:45.383Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2020-06-01T20:02:45.620Z] Removing intermediate container 10fa5c5a6cda [2020-06-01T20:02:45.620Z] ---> e8f660205a3c [2020-06-01T20:02:45.620Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2020-06-01T20:02:45.620Z] Successfully built e8f660205a3c [2020-06-01T20:02:45.620Z] Successfully tagged docker-device-sdk-c:latest [Pipeline] } [2020-06-01T20:02:45.657Z] HTTP request sent, awaiting response... 200 OK [2020-06-01T20:02:45.657Z] Length: unspecified [application/x-gzip] [2020-06-01T20:02:45.657Z] Saving to: 'STDOUT' [2020-06-01T20:02:45.657Z]  [2020-06-01T20:02:45.657Z] 0K .......... ...... 1.03M=0.02s [2020-06-01T20:02:45.657Z] [2020-06-01T20:02:45.657Z] 2020-06-01 20:02:45 (1.03 MB/s) - written to stdout [16451] [2020-06-01T20:02:45.657Z] [2020-06-01T20:02:45.657Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-06-01T20:02:45.657Z] + + tarwget -C -O deps - -z https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz -x [2020-06-01T20:02:45.657Z] -f - [2020-06-01T20:02:45.657Z] --2020-06-01 20:02:45-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-06-01T20:02:45.657Z] Resolving github.com... 140.82.114.3 [2020-06-01T20:02:45.657Z] Connecting to github.com|140.82.114.3|:443... connected. [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2020-06-01T20:02:45.936Z] HTTP request sent, awaiting response... 302 Found [2020-06-01T20:02:45.936Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] [2020-06-01T20:02:45.936Z] --2020-06-01 20:02:45-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [2020-06-01T20:02:45.936Z] Resolving codeload.github.com... 140.82.112.9 [2020-06-01T20:02:45.936Z] Connecting to codeload.github.com|140.82.112.9|:443... connected. [2020-06-01T20:02:45.936Z] HTTP request sent, awaiting response... 200 OK [2020-06-01T20:02:45.936Z] Length: unspecified [application/x-gzip] [2020-06-01T20:02:45.936Z] Saving to: 'STDOUT' [2020-06-01T20:02:45.936Z]  [2020-06-01T20:02:45.936Z] 0K .......... .......... .......... .......... .......... 1.60M [2020-06-01T20:02:45.936Z] 50K .......... .......... .......... .......... .......... 3.10M [2020-06-01T20:02:45.936Z] 100K .......... .......... .......... .......... .......... 4.59M [2020-06-01T20:02:45.936Z] 150K ........ 3.98M=0.06s [2020-06-01T20:02:45.936Z] [2020-06-01T20:02:45.936Z] 2020-06-01 20:02:45 (2.62 MB/s) - written to stdout [162267] [2020-06-01T20:02:45.936Z] [2020-06-01T20:02:45.936Z] + mkdir -p src/c/iot [2020-06-01T20:02:45.936Z] + 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 [2020-06-01T20:02:45.936Z] + mkdir -p include/iot [2020-06-01T20:02:45.936Z] + 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 [2020-06-01T20:02:45.936Z] + mkdir -p include/iot/os [2020-06-01T20:02:45.936Z] + 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 [2020-06-01T20:02:45.936Z] + mkdir -p /tmp/sdk/build/release [2020-06-01T20:02:45.936Z] + cd /tmp/sdk/build/release [2020-06-01T20:02:45.936Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [2020-06-01T20:02:46.211Z] -- The C compiler identification is GNU 8.3.0 [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [2020-06-01T20:02:46.485Z] -- Check for working C compiler: /usr/bin/cc [2020-06-01T20:02:46.485Z] -- Check for working C compiler: /usr/bin/cc -- works [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-06-01T20:02:46.757Z] -- Detecting C compiler ABI info [2020-06-01T20:02:46.757Z] -- Detecting C compiler ABI info - done [Pipeline] // withEnv [Pipeline] } [2020-06-01T20:02:47.029Z] -- Detecting C compile features [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [2020-06-01T20:02:47.632Z] -- Detecting C compile features - done [2020-06-01T20:02:47.632Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-06-01T20:02:47.632Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-06-01T20:02:47.632Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-06-01T20:02:47.632Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-06-01T20:02:47.632Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-06-01T20:02:47.632Z] -- C SDK 0.0.0 for Linux [2020-06-01T20:02:47.632Z] -- Performing Test CSDK_HAVE_ATOMIC [Pipeline] // stage [Pipeline] } [2020-06-01T20:02:47.904Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-06-01T20:02:47.904Z] -- Found Curses: /usr/lib/libcurses.so [2020-06-01T20:02:48.178Z] -- Configuring done [2020-06-01T20:02:48.452Z] -- Generating done [2020-06-01T20:02:48.452Z] -- Build files have been written to: /tmp/sdk/build/release [2020-06-01T20:02:48.452Z] + make [2020-06-01T20:02:48.452Z] + tee release.log [2020-06-01T20:02:48.452Z] Scanning dependencies of target csdk [2020-06-01T20:02:48.724Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-06-01T20:02:49.319Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-06-01T20:02:49.592Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-06-01T20:02:51.558Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-06-01T20:02:51.850Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-06-01T20:02:52.124Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-06-01T20:02:53.094Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-06-01T20:02:55.066Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-06-01T20:02:55.066Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-06-01T20:02:55.660Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-06-01T20:02:56.257Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-06-01T20:02:56.529Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-06-01T20:02:56.801Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-06-01T20:02:57.074Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-06-01T20:03:00.451Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-06-01T20:03:00.451Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-06-01T20:03:00.722Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-06-01T20:03:01.311Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-06-01T20:03:03.920Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-06-01T20:03:03.920Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-06-01T20:03:03.920Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-06-01T20:03:04.516Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-06-01T20:03:04.791Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-06-01T20:03:05.065Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-06-01T20:03:05.662Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-06-01T20:03:06.257Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-06-01T20:03:06.851Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-06-01T20:03:06.851Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-06-01T20:03:07.450Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-06-01T20:03:08.424Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-06-01T20:03:08.424Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-06-01T20:03:12.707Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-06-01T20:03:12.982Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-06-01T20:03:13.575Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-06-01T20:03:13.849Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-06-01T20:03:15.290Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-06-01T20:03:17.263Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-06-01T20:03:20.646Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-06-01T20:03:20.646Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-06-01T20:03:22.082Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-06-01T20:03:22.355Z] [ 65%] Linking C shared library libcsdk.so [2020-06-01T20:03:22.632Z] [ 65%] Built target csdk [2020-06-01T20:03:22.632Z] Scanning dependencies of target template [2020-06-01T20:03:22.632Z] [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-06-01T20:03:23.231Z] [ 68%] Linking C executable template [2020-06-01T20:03:23.231Z] [ 68%] Built target template [2020-06-01T20:03:23.231Z] Scanning dependencies of target device-counter [2020-06-01T20:03:23.503Z] [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-06-01T20:03:23.777Z] [ 71%] Linking C executable device-counter [2020-06-01T20:03:24.050Z] [ 71%] Built target device-counter [2020-06-01T20:03:24.050Z] Scanning dependencies of target device-random [2020-06-01T20:03:24.050Z] [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-06-01T20:03:24.643Z] [ 74%] Linking C executable device-random [2020-06-01T20:03:24.643Z] [ 74%] Built target device-random [2020-06-01T20:03:24.643Z] Scanning dependencies of target device-gyro [2020-06-01T20:03:24.917Z] [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-06-01T20:03:25.190Z] [ 77%] Linking C executable device-gyro [2020-06-01T20:03:25.462Z] [ 77%] Built target device-gyro [2020-06-01T20:03:25.462Z] Scanning dependencies of target template-discovery [2020-06-01T20:03:25.462Z] [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-06-01T20:03:26.059Z] [ 80%] Linking C executable template-discovery [2020-06-01T20:03:26.331Z] [ 80%] Built target template-discovery [2020-06-01T20:03:26.331Z] Scanning dependencies of target device-terminal [2020-06-01T20:03:26.331Z] [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-06-01T20:03:26.929Z] [ 84%] Linking C executable device-terminal [2020-06-01T20:03:26.929Z] [ 84%] Built target device-terminal [2020-06-01T20:03:26.929Z] Scanning dependencies of target template2 [2020-06-01T20:03:27.202Z] [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-06-01T20:03:27.476Z] [ 87%] Linking C executable template2 [2020-06-01T20:03:27.751Z] [ 87%] Built target template2 [2020-06-01T20:03:27.752Z] Scanning dependencies of target device-counterv2 [2020-06-01T20:03:27.752Z] [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-06-01T20:03:28.347Z] [ 90%] Linking C executable device-counterv2 [2020-06-01T20:03:28.620Z] [ 90%] Built target device-counterv2 [2020-06-01T20:03:28.620Z] Scanning dependencies of target device-gyrov2 [2020-06-01T20:03:28.620Z] [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o [2020-06-01T20:03:28.896Z] [ 93%] Linking C executable device-gyrov2 [2020-06-01T20:03:29.169Z] [ 93%] Built target device-gyrov2 [2020-06-01T20:03:29.169Z] Scanning dependencies of target device-randomv2 [2020-06-01T20:03:29.169Z] [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-06-01T20:03:29.762Z] [ 96%] Linking C executable device-randomv2 [2020-06-01T20:03:30.037Z] [ 96%] Built target device-randomv2 [2020-06-01T20:03:30.037Z] Scanning dependencies of target device-terminalv2 [2020-06-01T20:03:30.037Z] [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o [2020-06-01T20:03:30.635Z] [100%] Linking C executable device-terminalv2 [2020-06-01T20:03:30.635Z] [100%] Built target device-terminalv2 [2020-06-01T20:03:30.635Z] + make package [2020-06-01T20:03:30.635Z] + tee -a release.log [2020-06-01T20:03:30.908Z] [ 65%] Built target csdk [2020-06-01T20:03:30.908Z] [ 68%] Built target template [2020-06-01T20:03:30.908Z] [ 71%] Built target device-counter [2020-06-01T20:03:30.908Z] [ 74%] Built target device-random [2020-06-01T20:03:31.182Z] [ 77%] Built target device-gyro [2020-06-01T20:03:31.182Z] [ 80%] Built target template-discovery [2020-06-01T20:03:31.182Z] [ 84%] Built target device-terminal [2020-06-01T20:03:31.182Z] [ 87%] Built target template2 [2020-06-01T20:03:31.182Z] [ 90%] Built target device-counterv2 [2020-06-01T20:03:31.182Z] [ 93%] Built target device-gyrov2 [2020-06-01T20:03:31.182Z] [ 96%] Built target device-randomv2 [2020-06-01T20:03:31.466Z] [100%] Built target device-terminalv2 [2020-06-01T20:03:31.466Z] Run CPack packaging tool... [2020-06-01T20:03:31.466Z] CPack: Create package using TGZ [2020-06-01T20:03:31.466Z] CPack: Install projects [2020-06-01T20:03:31.466Z] CPack: - Run preinstall target for: Csdk [2020-06-01T20:03:32.062Z] CPack: - Install project: Csdk [2020-06-01T20:03:32.062Z] CPack: Create package [2020-06-01T20:03:32.337Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2020-06-01T20:03:32.337Z] + '[' false '=' true ] [2020-06-01T20:03:32.337Z] + '[' false '=' true ] [2020-06-01T20:03:32.337Z] + mkdir -p /tmp/sdk/build/debug [2020-06-01T20:03:32.337Z] + cd /tmp/sdk/build/debug [2020-06-01T20:03:32.337Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-06-01T20:03:32.610Z] -- The C compiler identification is GNU 8.3.0 [2020-06-01T20:03:32.610Z] -- Check for working C compiler: /usr/bin/cc [2020-06-01T20:03:32.884Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-01T20:03:32.884Z] -- Detecting C compiler ABI info [2020-06-01T20:03:33.157Z] -- Detecting C compiler ABI info - done [2020-06-01T20:03:33.157Z] -- Detecting C compile features [2020-06-01T20:03:33.752Z] -- Detecting C compile features - done [2020-06-01T20:03:33.752Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-06-01T20:03:33.752Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-06-01T20:03:33.752Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-06-01T20:03:33.752Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-06-01T20:03:33.752Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-06-01T20:03:33.752Z] -- C SDK 0.0.0 for Linux [2020-06-01T20:03:33.752Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-06-01T20:03:34.023Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-06-01T20:03:34.023Z] -- Found Curses: /usr/lib/libcurses.so [2020-06-01T20:03:34.295Z] -- Configuring done [2020-06-01T20:03:34.565Z] -- Generating done [2020-06-01T20:03:34.565Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-06-01T20:03:34.565Z] + + maketee [2020-06-01T20:03:34.565Z] debug.log [2020-06-01T20:03:34.565Z] Scanning dependencies of target csdk [2020-06-01T20:03:34.838Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-06-01T20:03:35.112Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-06-01T20:03:35.382Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-06-01T20:03:35.976Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-06-01T20:03:36.249Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-06-01T20:03:36.249Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-06-01T20:03:36.846Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-06-01T20:03:37.117Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-06-01T20:03:37.390Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-06-01T20:03:37.665Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-06-01T20:03:37.938Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-06-01T20:03:38.211Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-06-01T20:03:38.485Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-06-01T20:03:38.485Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-06-01T20:03:39.463Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-06-01T20:03:39.463Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-06-01T20:03:39.736Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-06-01T20:03:40.011Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-06-01T20:03:40.989Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-06-01T20:03:40.989Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-06-01T20:03:40.989Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-06-01T20:03:41.263Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-06-01T20:03:41.535Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-06-01T20:03:41.535Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-06-01T20:03:41.808Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-06-01T20:03:42.079Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-06-01T20:03:42.356Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-06-01T20:03:42.629Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-06-01T20:03:42.629Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-06-01T20:03:43.228Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-06-01T20:03:43.228Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-06-01T20:03:44.204Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-06-01T20:03:44.480Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-06-01T20:03:44.752Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-06-01T20:03:45.024Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-06-01T20:03:46.015Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-06-01T20:03:46.287Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-06-01T20:03:47.273Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-06-01T20:03:47.273Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-06-01T20:03:47.866Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-06-01T20:03:47.866Z] [ 65%] Linking C shared library libcsdk.so [2020-06-01T20:03:48.140Z] [ 65%] Built target csdk [2020-06-01T20:03:48.140Z] Scanning dependencies of target template [2020-06-01T20:03:48.140Z] [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-06-01T20:03:48.413Z] [ 68%] Linking C executable template [2020-06-01T20:03:48.686Z] [ 68%] Built target template [2020-06-01T20:03:48.686Z] Scanning dependencies of target device-counter [2020-06-01T20:03:48.686Z] [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-06-01T20:03:48.959Z] [ 71%] Linking C executable device-counter [2020-06-01T20:03:49.231Z] [ 71%] Built target device-counter [2020-06-01T20:03:49.231Z] Scanning dependencies of target device-random [2020-06-01T20:03:49.231Z] [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-06-01T20:03:49.501Z] [ 74%] Linking C executable device-random [2020-06-01T20:03:49.774Z] [ 74%] Built target device-random [2020-06-01T20:03:49.774Z] Scanning dependencies of target device-gyro [2020-06-01T20:03:49.774Z] [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-06-01T20:03:50.047Z] [ 77%] Linking C executable device-gyro [2020-06-01T20:03:50.319Z] [ 77%] Built target device-gyro [2020-06-01T20:03:50.319Z] Scanning dependencies of target template-discovery [2020-06-01T20:03:50.319Z] [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-06-01T20:03:50.593Z] [ 80%] Linking C executable template-discovery [2020-06-01T20:03:50.593Z] [ 80%] Built target template-discovery [2020-06-01T20:03:50.869Z] Scanning dependencies of target device-terminal [2020-06-01T20:03:50.869Z] [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-06-01T20:03:51.143Z] [ 84%] Linking C executable device-terminal [2020-06-01T20:03:51.416Z] [ 84%] Built target device-terminal [2020-06-01T20:03:51.416Z] Scanning dependencies of target template2 [2020-06-01T20:03:51.416Z] [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-06-01T20:03:51.691Z] [ 87%] Linking C executable template2 [2020-06-01T20:03:51.691Z] [ 87%] Built target template2 [2020-06-01T20:03:51.964Z] Scanning dependencies of target device-counterv2 [2020-06-01T20:03:51.964Z] [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-06-01T20:03:52.236Z] [ 90%] Linking C executable device-counterv2 [2020-06-01T20:03:52.236Z] [ 90%] Built target device-counterv2 [2020-06-01T20:03:52.236Z] Scanning dependencies of target device-gyrov2 [2020-06-01T20:03:52.510Z] [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o [2020-06-01T20:03:52.510Z] [ 93%] Linking C executable device-gyrov2 [2020-06-01T20:03:52.783Z] [ 93%] Built target device-gyrov2 [2020-06-01T20:03:52.783Z] Scanning dependencies of target device-randomv2 [2020-06-01T20:03:52.783Z] [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-06-01T20:03:53.057Z] [ 96%] Linking C executable device-randomv2 [2020-06-01T20:03:53.331Z] [ 96%] Built target device-randomv2 [2020-06-01T20:03:53.331Z] Scanning dependencies of target device-terminalv2 [2020-06-01T20:03:53.331Z] [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o [2020-06-01T20:03:53.603Z] [100%] Linking C executable device-terminalv2 [2020-06-01T20:03:53.872Z] [100%] Built target device-terminalv2 [2020-06-01T20:03:53.872Z] make: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:03:53.872Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:03:53.872Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:03:53.872Z] Scanning dependencies of target csdk [2020-06-01T20:03:54.144Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:03:54.144Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:03:54.144Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-06-01T20:03:56.120Z] [ 3%] Linking C shared library libcsdk.so [2020-06-01T20:03:56.120Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:03:56.120Z] [ 65%] Built target csdk [2020-06-01T20:03:56.120Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:03:56.120Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:03:56.120Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:03:56.120Z] [ 66%] Linking C executable template [2020-06-01T20:03:56.120Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:03:56.120Z] [ 68%] Built target template [2020-06-01T20:03:56.120Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:03:56.120Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:03:56.120Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:03:56.120Z] [ 69%] Linking C executable device-counter [2020-06-01T20:03:56.394Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:03:56.394Z] [ 71%] Built target device-counter [2020-06-01T20:03:56.394Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:03:56.394Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:03:56.394Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:03:56.394Z] [ 73%] Linking C executable device-random [2020-06-01T20:03:56.668Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:03:56.668Z] [ 74%] Built target device-random [2020-06-01T20:03:56.668Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:03:56.668Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:03:56.668Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:03:56.668Z] [ 76%] Linking C executable device-gyro [2020-06-01T20:03:56.944Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:03:56.944Z] [ 77%] Built target device-gyro [2020-06-01T20:03:56.944Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:03:56.944Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:03:56.944Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:03:56.944Z] [ 79%] Linking C executable template-discovery [2020-06-01T20:03:57.217Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:03:57.217Z] [ 80%] Built target template-discovery [2020-06-01T20:03:57.217Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:03:57.217Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:03:57.217Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:03:57.217Z] [ 82%] Linking C executable device-terminal [2020-06-01T20:03:57.493Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:03:57.493Z] [ 84%] Built target device-terminal [2020-06-01T20:03:57.493Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:03:57.493Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:03:57.493Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:03:57.493Z] [ 85%] Linking C executable template2 [2020-06-01T20:03:57.771Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:03:57.771Z] [ 87%] Built target template2 [2020-06-01T20:03:57.771Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:03:57.771Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:03:57.771Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:03:57.771Z] [ 88%] Linking C executable device-counterv2 [2020-06-01T20:03:58.047Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:03:58.047Z] [ 90%] Built target device-counterv2 [2020-06-01T20:03:58.047Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:03:58.047Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:03:58.048Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:03:58.048Z] [ 92%] Linking C executable device-gyrov2 [2020-06-01T20:03:58.320Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:03:58.320Z] [ 93%] Built target device-gyrov2 [2020-06-01T20:03:58.320Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:03:58.320Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:03:58.320Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:03:58.320Z] [ 95%] Linking C executable device-randomv2 [2020-06-01T20:03:58.592Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:03:58.592Z] [ 96%] Built target device-randomv2 [2020-06-01T20:03:58.592Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:03:58.592Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:03:58.592Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-01T20:03:58.592Z] [ 98%] Linking C executable device-terminalv2 [2020-06-01T20:03:58.868Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:03:58.868Z] [100%] Built target device-terminalv2 [2020-06-01T20:03:58.868Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:03:58.868Z] Install the project... [2020-06-01T20:03:58.868Z] -- Install configuration: "Release" [2020-06-01T20:03:58.868Z] -- Installing: /usr/local/lib/libcsdk.so [2020-06-01T20:03:58.868Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-06-01T20:03:58.868Z] -- Up-to-date: /usr/local/include [2020-06-01T20:03:58.868Z] -- Installing: /usr/local/include/devsdk [2020-06-01T20:03:58.868Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-06-01T20:03:58.868Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-06-01T20:03:58.868Z] -- Installing: /usr/local/include/edgex [2020-06-01T20:03:58.868Z] -- Installing: /usr/local/include/edgex/devices.h [2020-06-01T20:03:58.868Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-06-01T20:03:58.868Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-06-01T20:03:58.868Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-06-01T20:03:58.868Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-06-01T20:03:58.868Z] -- Installing: /usr/local/include/edgex/error.h [2020-06-01T20:03:58.868Z] -- Installing: /usr/local/include/edgex/registry.h [2020-06-01T20:03:58.868Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-06-01T20:03:58.868Z] -- Installing: /usr/local/include/edgex/os.h [2020-06-01T20:03:58.868Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-06-01T20:03:58.868Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-06-01T20:03:58.868Z] -- Installing: /usr/local/include/edgex/edgex-logging.h [2020-06-01T20:03:58.868Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-06-01T20:03:58.868Z] -- Installing: /usr/local/include/iot [2020-06-01T20:03:58.868Z] -- Installing: /usr/local/include/iot/hash.h [2020-06-01T20:03:58.868Z] -- Installing: /usr/local/include/iot/thread.h [2020-06-01T20:03:58.868Z] -- Installing: /usr/local/include/iot/json.h [2020-06-01T20:03:58.868Z] -- Installing: /usr/local/include/iot/os [2020-06-01T20:03:58.868Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-06-01T20:03:58.868Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-06-01T20:03:58.868Z] -- Installing: /usr/local/include/iot/typecode.h [2020-06-01T20:03:58.868Z] -- Installing: /usr/local/include/iot/base64.h [2020-06-01T20:03:58.868Z] -- Installing: /usr/local/include/iot/container.h [2020-06-01T20:03:58.868Z] -- Installing: /usr/local/include/iot/data.h [2020-06-01T20:03:58.868Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-06-01T20:03:58.868Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-06-01T20:03:58.868Z] -- Installing: /usr/local/include/iot/component.h [2020-06-01T20:03:58.868Z] -- Installing: /usr/local/include/iot/os.h [2020-06-01T20:03:58.868Z] -- Installing: /usr/local/include/iot/logger.h [2020-06-01T20:03:58.868Z] -- Installing: /usr/local/include/iot/time.h [2020-06-01T20:03:58.868Z] -- Installing: /usr/local/include/iot/iot.h [2020-06-01T20:03:58.868Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-06-01T20:03:58.868Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-06-01T20:03:58.868Z] make: Leaving directory '/tmp/sdk/build/release' [2020-06-01T20:04:01.496Z] Removing intermediate container 2cdb02109da5 [2020-06-01T20:04:01.496Z] ---> 878453ac575e [2020-06-01T20:04:01.496Z] Step 14/21 : FROM alpine:3.9 [2020-06-01T20:04:01.496Z] 3.9: Pulling from library/alpine [2020-06-01T20:04:01.770Z] 941f399634ec: Pulling fs layer [2020-06-01T20:04:02.044Z] 941f399634ec: Verifying Checksum [2020-06-01T20:04:02.044Z] 941f399634ec: Download complete [2020-06-01T20:04:02.643Z] 941f399634ec: Pull complete [2020-06-01T20:04:02.643Z] Digest: sha256:414e0518bb9228d35e4cd5165567fb91d26c6a214e9c95899e1e056fcd349011 [2020-06-01T20:04:02.643Z] Status: Downloaded newer image for alpine:3.9 [2020-06-01T20:04:02.643Z] ---> 9afdd4a290bf [2020-06-01T20:04:02.643Z] Step 15/21 : MAINTAINER IOTech [2020-06-01T20:04:02.925Z] ---> Running in ad36208d8524 [2020-06-01T20:04:03.198Z] Removing intermediate container ad36208d8524 [2020-06-01T20:04:03.199Z] ---> af008be2d3f4 [2020-06-01T20:04:03.199Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-06-01T20:04:03.472Z] ---> Running in ebd40bd3daec [2020-06-01T20:04:04.069Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-06-01T20:04:04.339Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-06-01T20:04:04.933Z] (1/48) Installing binutils (2.31.1-r2) [2020-06-01T20:04:05.205Z] (2/48) Installing libmagic (5.36-r1) [2020-06-01T20:04:05.205Z] (3/48) Installing file (5.36-r1) [2020-06-01T20:04:05.205Z] (4/48) Installing gmp (6.1.2-r1) [2020-06-01T20:04:05.205Z] (5/48) Installing isl (0.18-r0) [2020-06-01T20:04:05.205Z] (6/48) Installing libgomp (8.3.0-r0) [2020-06-01T20:04:05.205Z] (7/48) Installing libatomic (8.3.0-r0) [2020-06-01T20:04:05.205Z] (8/48) Installing libgcc (8.3.0-r0) [2020-06-01T20:04:05.205Z] (9/48) Installing mpfr3 (3.1.5-r1) [2020-06-01T20:04:05.477Z] (10/48) Installing mpc1 (1.0.3-r1) [2020-06-01T20:04:05.477Z] (11/48) Installing libstdc++ (8.3.0-r0) [2020-06-01T20:04:05.477Z] (12/48) Installing gcc (8.3.0-r0) [2020-06-01T20:04:06.927Z] (13/48) Installing musl-dev (1.1.20-r5) [2020-06-01T20:04:07.201Z] (14/48) Installing libc-dev (0.7.1-r0) [2020-06-01T20:04:07.201Z] (15/48) Installing g++ (8.3.0-r0) [2020-06-01T20:04:08.628Z] (16/48) Installing make (4.2.1-r2) [2020-06-01T20:04:08.628Z] (17/48) Installing fortify-headers (1.0-r0) [2020-06-01T20:04:08.628Z] (18/48) Installing build-base (0.5-r1) [2020-06-01T20:04:08.628Z] (19/48) Installing libattr (2.4.47-r7) [2020-06-01T20:04:08.628Z] (20/48) Installing libacl (2.2.52-r5) [2020-06-01T20:04:08.628Z] (21/48) Installing libbz2 (1.0.6-r7) [2020-06-01T20:04:08.628Z] (22/48) Installing expat (2.2.8-r0) [2020-06-01T20:04:08.628Z] (23/48) Installing lz4-libs (1.8.3-r2) [2020-06-01T20:04:08.628Z] (24/48) Installing xz-libs (5.2.4-r0) [2020-06-01T20:04:08.628Z] (25/48) Installing libarchive (3.3.3-r2) [2020-06-01T20:04:08.628Z] (26/48) Installing ca-certificates (20191127-r0) [2020-06-01T20:04:08.628Z] (27/48) Installing nghttp2-libs (1.35.1-r1) [2020-06-01T20:04:08.628Z] (28/48) Installing libssh2 (1.9.0-r1) [2020-06-01T20:04:08.628Z] (29/48) Installing libcurl (7.64.0-r3) [2020-06-01T20:04:08.628Z] (30/48) Installing ncurses-terminfo-base (6.1_p20190105-r0) [2020-06-01T20:04:08.628Z] (31/48) Installing ncurses-terminfo (6.1_p20190105-r0) [2020-06-01T20:04:09.607Z] (32/48) Installing ncurses-libs (6.1_p20190105-r0) [2020-06-01T20:04:09.607Z] (33/48) Installing rhash-libs (1.3.6-r2) [2020-06-01T20:04:09.879Z] (34/48) Installing libuv (1.23.2-r0) [2020-06-01T20:04:09.879Z] (35/48) Installing cmake (3.13.0-r0) [2020-06-01T20:04:11.302Z] (36/48) Installing curl (7.64.0-r3) [2020-06-01T20:04:11.302Z] (37/48) Installing pcre2 (10.32-r1) [2020-06-01T20:04:11.302Z] (38/48) Installing git (2.20.4-r0) [2020-06-01T20:04:11.573Z] (39/48) Installing nettle (3.4.1-r0) [2020-06-01T20:04:11.573Z] (40/48) Installing libffi (3.2.1-r6) [2020-06-01T20:04:11.573Z] (41/48) Installing p11-kit (0.23.14-r0) [2020-06-01T20:04:11.573Z] (42/48) Installing libtasn1 (4.14-r0) [2020-06-01T20:04:11.573Z] (43/48) Installing libunistring (0.9.10-r0) [2020-06-01T20:04:11.573Z] (44/48) Installing gnutls (3.6.7-r1) [2020-06-01T20:04:11.844Z] (45/48) Installing libmicrohttpd (0.9.62-r0) [2020-06-01T20:04:11.844Z] (46/48) Installing libuuid (2.33-r0) [2020-06-01T20:04:11.844Z] (47/48) Installing wget (1.20.3-r0) [2020-06-01T20:04:11.844Z] (48/48) Installing yaml (0.2.1-r0) [2020-06-01T20:04:11.844Z] Executing busybox-1.29.3-r10.trigger [2020-06-01T20:04:11.844Z] Executing ca-certificates-20191127-r0.trigger [2020-06-01T20:04:12.115Z] OK: 219 MiB in 62 packages [2020-06-01T20:04:24.484Z] Removing intermediate container ebd40bd3daec [2020-06-01T20:04:24.484Z] ---> 9255094e8906 [2020-06-01T20:04:24.484Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-06-01T20:04:25.082Z] ---> f2a3c41bc611 [2020-06-01T20:04:25.082Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-06-01T20:04:25.677Z] ---> ed866ae5a097 [2020-06-01T20:04:25.677Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-06-01T20:04:26.275Z] ---> b148c76fa19d [2020-06-01T20:04:26.275Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-06-01T20:04:26.878Z] ---> e99fcaa6e317 [2020-06-01T20:04:26.878Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-06-01T20:04:27.472Z] ---> 2dda44077d10 [2020-06-01T20:04:27.472Z] Successfully built 2dda44077d10 [2020-06-01T20:04:27.472Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-06-01T20:04:28.414Z] + docker inspect -f . ci-base-image-arm64 [2020-06-01T20:04:28.414Z] . [Pipeline] withDockerContainer [2020-06-01T20:04:29.041Z] prd-ubuntu18.04-docker-arm64-4c-16g-1467 does not seem to be running inside a container [2020-06-01T20:04:29.126Z] $ 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 [2020-06-01T20:04:30.544Z] $ docker top 4d8d81175f5198d0a176147a70387a4548aefdcc4c6e27e07c0ac22d2b548867 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-01T20:04:31.822Z] + make test [2020-06-01T20:04:31.822Z] echo "make test" [2020-06-01T20:04:31.822Z] make test [Pipeline] } [2020-06-01T20:04:31.858Z] $ docker stop --time=1 4d8d81175f5198d0a176147a70387a4548aefdcc4c6e27e07c0ac22d2b548867 [2020-06-01T20:04:33.913Z] $ docker rm -f 4d8d81175f5198d0a176147a70387a4548aefdcc4c6e27e07c0ac22d2b548867 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-01T20:04:35.186Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-01T20:04:35.583Z] + ls -al . [2020-06-01T20:04:35.583Z] total 192 [2020-06-01T20:04:35.583Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 1 20:01 . [2020-06-01T20:04:35.583Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 20:01 .. [2020-06-01T20:04:35.583Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 1 20:01 .git [2020-06-01T20:04:35.583Z] -rw-rw-r-- 1 jenkins jenkins 176 Jun 1 20:01 .gitignore [2020-06-01T20:04:35.583Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 20:01 .semver [2020-06-01T20:04:35.583Z] -rw-rw-r-- 1 jenkins jenkins 3104 Jun 1 20:01 Attribution.txt [2020-06-01T20:04:35.583Z] -rw-rw-r-- 1 jenkins jenkins 5393 Jun 1 20:01 CHANGES [2020-06-01T20:04:35.583Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jun 1 20:01 Doxyfile [2020-06-01T20:04:35.583Z] -rw-rw-r-- 1 jenkins jenkins 792 Jun 1 20:01 Jenkinsfile [2020-06-01T20:04:35.583Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jun 1 20:01 LICENSE [2020-06-01T20:04:35.583Z] -rw-rw-r-- 1 jenkins jenkins 448 Jun 1 20:01 Makefile [2020-06-01T20:04:35.583Z] -rw-rw-r-- 1 jenkins jenkins 1849 Jun 1 20:01 README.md [2020-06-01T20:04:35.583Z] -rw-rw-r-- 1 jenkins jenkins 5229 Jun 1 20:01 README.v2.md [2020-06-01T20:04:35.583Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 1 19:59 VERSION [2020-06-01T20:04:35.583Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 20:01 docs [2020-06-01T20:04:35.583Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 20:01 include [2020-06-01T20:04:35.583Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 20:01 scripts [2020-06-01T20:04:35.583Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 20:01 src [Pipeline] isUnix [Pipeline] sh [2020-06-01T20:04:35.965Z] + 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=f2270728e824aee143bf465ae2c8f9a2bc1cbe22 --label arch=arm64 --label version=0.0.0 . [2020-06-01T20:04:36.281Z] Sending build context to Docker daemon 3.153MB [2020-06-01T20:04:36.581Z] Step 1/15 : ARG BASE=alpine:3.9 [2020-06-01T20:04:36.581Z] Step 2/15 : FROM ${BASE} [2020-06-01T20:04:36.581Z] ---> 2dda44077d10 [2020-06-01T20:04:36.581Z] Step 3/15 : MAINTAINER IOTech [2020-06-01T20:04:36.581Z] ---> Running in ab6dcb5308d4 [2020-06-01T20:04:37.191Z] Removing intermediate container ab6dcb5308d4 [2020-06-01T20:04:37.191Z] ---> 79f40cc6291c [2020-06-01T20:04:37.191Z] 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 [2020-06-01T20:04:37.191Z] ---> Running in 4eda149bd103 [2020-06-01T20:04:38.197Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-06-01T20:04:38.599Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-06-01T20:04:38.876Z] (1/21) Installing pkgconf (1.6.0-r0) [2020-06-01T20:04:38.876Z] (2/21) Installing openssl-dev (1.1.1g-r0) [2020-06-01T20:04:39.485Z] (3/21) Installing zlib-dev (1.2.11-r1) [2020-06-01T20:04:39.485Z] (4/21) Installing libssh2-dev (1.9.0-r1) [2020-06-01T20:04:39.485Z] (5/21) Installing nghttp2-dev (1.35.1-r1) [2020-06-01T20:04:39.485Z] (6/21) Installing curl-dev (7.64.0-r3) [2020-06-01T20:04:39.485Z] (7/21) Installing gnutls-c++ (3.6.7-r1) [2020-06-01T20:04:39.485Z] (8/21) Installing libgmpxx (6.1.2-r1) [2020-06-01T20:04:39.485Z] (9/21) Installing gmp-dev (6.1.2-r1) [2020-06-01T20:04:39.485Z] (10/21) Installing nettle-dev (3.4.1-r0) [2020-06-01T20:04:43.784Z] (11/21) Installing libtasn1-dev (4.14-r0) [2020-06-01T20:04:43.784Z] (12/21) Installing p11-kit-dev (0.23.14-r0) [2020-06-01T20:04:43.784Z] (13/21) Installing gnutls-dev (3.6.7-r1) [2020-06-01T20:04:43.784Z] (14/21) Installing libmicrohttpd-dev (0.9.62-r0) [2020-06-01T20:04:43.784Z] (15/21) Installing ncurses-dev (6.1_p20190105-r0) [2020-06-01T20:04:43.784Z] (16/21) Installing libblkid (2.33-r0) [2020-06-01T20:04:43.784Z] (17/21) Installing libfdisk (2.33-r0) [2020-06-01T20:04:43.784Z] (18/21) Installing libmount (2.33-r0) [2020-06-01T20:04:43.784Z] (19/21) Installing libsmartcols (2.33-r0) [2020-06-01T20:04:43.784Z] (20/21) Installing util-linux-dev (2.33-r0) [2020-06-01T20:04:43.784Z] (21/21) Installing yaml-dev (0.2.1-r0) [2020-06-01T20:04:43.784Z] Executing busybox-1.29.3-r10.trigger [2020-06-01T20:04:43.784Z] OK: 279 MiB in 83 packages [2020-06-01T20:04:47.169Z] Removing intermediate container 4eda149bd103 [2020-06-01T20:04:47.169Z] ---> 1f3f34d2c5db [2020-06-01T20:04:47.169Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-06-01T20:04:47.169Z] ---> 624c7cb79843 [2020-06-01T20:04:47.169Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-06-01T20:04:48.143Z] ---> 3757f56e4350 [2020-06-01T20:04:48.143Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-06-01T20:04:48.415Z] ---> 3f65a8b6fb8f [2020-06-01T20:04:48.415Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-06-01T20:04:49.009Z] ---> ba42ff669436 [2020-06-01T20:04:49.009Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-06-01T20:04:49.602Z] ---> 0523a9d66c72 [2020-06-01T20:04:49.602Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-06-01T20:04:50.192Z] ---> 19bf3e383ee3 [2020-06-01T20:04:50.192Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-06-01T20:04:50.192Z] ---> Running in f23b5f8d22c9 [2020-06-01T20:04:50.464Z] Removing intermediate container f23b5f8d22c9 [2020-06-01T20:04:50.464Z] ---> 0ba2c5edbb88 [2020-06-01T20:04:50.464Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-06-01T20:04:50.735Z] ---> Running in 96b9e2cd4f0a [2020-06-01T20:04:51.004Z] Removing intermediate container 96b9e2cd4f0a [2020-06-01T20:04:51.005Z] ---> 39e9a5b1e16c [2020-06-01T20:04:51.005Z] Step 13/15 : LABEL arch=arm64 [2020-06-01T20:04:51.276Z] ---> Running in 092b7619001b [2020-06-01T20:04:51.548Z] Removing intermediate container 092b7619001b [2020-06-01T20:04:51.548Z] ---> 82832251e3a9 [2020-06-01T20:04:51.548Z] Step 14/15 : LABEL git_sha=f2270728e824aee143bf465ae2c8f9a2bc1cbe22 [2020-06-01T20:04:51.548Z] ---> Running in fbf6358ca904 [2020-06-01T20:04:52.141Z] Removing intermediate container fbf6358ca904 [2020-06-01T20:04:52.141Z] ---> c675a6c1c7d9 [2020-06-01T20:04:52.141Z] Step 15/15 : LABEL version=0.0.0 [2020-06-01T20:04:52.141Z] ---> Running in 8e6db851954e [2020-06-01T20:04:52.412Z] Removing intermediate container 8e6db851954e [2020-06-01T20:04:52.412Z] ---> 612ae2e45b75 [2020-06-01T20:04:52.412Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2020-06-01T20:04:52.412Z] Successfully built 612ae2e45b75 [2020-06-01T20:04:52.412Z] Successfully tagged docker-device-sdk-c-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-06-01T20:04:55.788Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-01T20:04:56.178Z] ---> package-listing.sh [2020-06-01T20:04:56.178Z] ++ facter osfamily [2020-06-01T20:04:56.178Z] ++ tr '[:upper:]' '[:lower:]' [2020-06-01T20:04:56.178Z] + OS_FAMILY=redhat [2020-06-01T20:04:56.178Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-263 [2020-06-01T20:04:56.178Z] + START_PACKAGES=/tmp/packages_start.txt [2020-06-01T20:04:56.178Z] + END_PACKAGES=/tmp/packages_end.txt [2020-06-01T20:04:56.178Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-06-01T20:04:56.178Z] + PACKAGES=/tmp/packages_start.txt [2020-06-01T20:04:56.178Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-263 ']' [2020-06-01T20:04:56.178Z] + PACKAGES=/tmp/packages_end.txt [2020-06-01T20:04:56.178Z] + case "${OS_FAMILY}" in [2020-06-01T20:04:56.178Z] + rpm -qa [2020-06-01T20:04:56.178Z] + sort [2020-06-01T20:05:01.501Z] + '[' -f /tmp/packages_start.txt ']' [2020-06-01T20:05:01.501Z] + '[' -f /tmp/packages_end.txt ']' [2020-06-01T20:05:01.501Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-06-01T20:05:01.501Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-263 ']' [2020-06-01T20:05:01.501Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-263/archives/ [2020-06-01T20:05:01.501Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-263/archives/ [Pipeline] isUnix [Pipeline] sh [2020-06-01T20:05:03.085Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-01T20:05:03.085Z] [2020-06-01T20:05:03.085Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-06-01T20:05:03.468Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-01T20:05:04.111Z] alpine: Pulling from edgex-lftools-log-publisher [2020-06-01T20:05:04.111Z] c9b1b535fdd9: Pulling fs layer [2020-06-01T20:05:04.111Z] 2cc5ad85d9ab: Pulling fs layer [2020-06-01T20:05:04.111Z] 756a868c4378: Pulling fs layer [2020-06-01T20:05:04.111Z] 444b2fc9a129: Pulling fs layer [2020-06-01T20:05:04.111Z] ea15f1150254: Pulling fs layer [2020-06-01T20:05:04.111Z] 41b27a9f41bf: Pulling fs layer [2020-06-01T20:05:04.111Z] 28c525ee5125: Pulling fs layer [2020-06-01T20:05:04.111Z] 094b1ea09ed8: Pulling fs layer [2020-06-01T20:05:04.111Z] 138eaada9080: Pulling fs layer [2020-06-01T20:05:04.111Z] 0622d0fa9048: Pulling fs layer [2020-06-01T20:05:04.111Z] 41b27a9f41bf: Waiting [2020-06-01T20:05:04.111Z] 28c525ee5125: Waiting [2020-06-01T20:05:04.111Z] 094b1ea09ed8: Waiting [2020-06-01T20:05:04.111Z] 138eaada9080: Waiting [2020-06-01T20:05:04.111Z] 0622d0fa9048: Waiting [2020-06-01T20:05:04.111Z] 444b2fc9a129: Waiting [2020-06-01T20:05:04.111Z] ea15f1150254: Waiting [2020-06-01T20:05:04.111Z] 2cc5ad85d9ab: Verifying Checksum [2020-06-01T20:05:04.111Z] 2cc5ad85d9ab: Download complete [2020-06-01T20:05:04.111Z] 444b2fc9a129: Verifying Checksum [2020-06-01T20:05:04.111Z] 444b2fc9a129: Download complete [2020-06-01T20:05:04.111Z] c9b1b535fdd9: Verifying Checksum [2020-06-01T20:05:04.111Z] c9b1b535fdd9: Download complete [2020-06-01T20:05:04.111Z] c9b1b535fdd9: Pull complete [2020-06-01T20:05:04.451Z] ea15f1150254: Verifying Checksum [2020-06-01T20:05:04.451Z] ea15f1150254: Download complete [2020-06-01T20:05:04.451Z] 28c525ee5125: Verifying Checksum [2020-06-01T20:05:04.451Z] 28c525ee5125: Download complete [2020-06-01T20:05:04.451Z] 2cc5ad85d9ab: Pull complete [2020-06-01T20:05:05.058Z] 756a868c4378: Verifying Checksum [2020-06-01T20:05:05.058Z] 756a868c4378: Download complete [2020-06-01T20:05:05.386Z] 138eaada9080: Verifying Checksum [2020-06-01T20:05:05.386Z] 138eaada9080: Download complete [2020-06-01T20:05:05.386Z] 0622d0fa9048: Verifying Checksum [2020-06-01T20:05:05.386Z] 0622d0fa9048: Download complete [2020-06-01T20:05:05.663Z] 094b1ea09ed8: Verifying Checksum [2020-06-01T20:05:05.663Z] 094b1ea09ed8: Download complete [2020-06-01T20:05:06.702Z] 41b27a9f41bf: Verifying Checksum [2020-06-01T20:05:06.702Z] 41b27a9f41bf: Download complete [2020-06-01T20:05:08.874Z] 756a868c4378: Pull complete [2020-06-01T20:05:08.874Z] 444b2fc9a129: Pull complete [2020-06-01T20:05:08.874Z] ea15f1150254: Pull complete [2020-06-01T20:05:15.103Z] 41b27a9f41bf: Pull complete [2020-06-01T20:05:15.103Z] 28c525ee5125: Pull complete [2020-06-01T20:05:17.840Z] 094b1ea09ed8: Pull complete [2020-06-01T20:05:18.106Z] 138eaada9080: Pull complete [2020-06-01T20:05:18.378Z] 0622d0fa9048: Pull complete [2020-06-01T20:05:18.378Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-06-01T20:05:18.378Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-06-01T20:05:18.695Z] prd-centos7-docker-4c-2g-1466 does not seem to be running inside a container [2020-06-01T20:05:18.902Z] $ 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-263 -v /w/workspace/edgexfoundry_device-sdk-c_PR-263:/w/workspace/edgexfoundry_device-sdk-c_PR-263:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-263@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-263@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-06-01T20:05:19.992Z] $ docker top db8ba5bc56419b5aedd3504a20e887ab0e44898c0374102345928161f44ecef7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-06-01T20:05:20.480Z] provisioning config files... [2020-06-01T20:05:20.524Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-263@tmp/config6074992699943048737tmp [Pipeline] { [Pipeline] echo [2020-06-01T20:05:20.631Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-01T20:05:21.346Z] ---> create-netrc.sh [Pipeline] echo [2020-06-01T20:05:21.377Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-01T20:05:22.070Z] ---> logs-deploy.sh [2020-06-01T20:05:22.070Z] + ARCHIVE_ARTIFACTS= [2020-06-01T20:05:22.071Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-06-01T20:05:22.071Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-06-01T20:05:22.071Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-06-01T20:05:22.071Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-263/1 [2020-06-01T20:05:22.071Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-263/1/ [2020-06-01T20:05:22.071Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-263/1 /w/workspace/edgexfoundry_device-sdk-c_PR-263 [2020-06-01T20:05:23.559Z] Archives upload complete. [2020-06-01T20:05:23.893Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-263/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-263/1/