Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 16c2a897f1bf182c8f6ba1bddddf4975b453e4d5 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision a8d5489117fb74ecf2babedeac9793ec80335c77 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision a8d5489117fb74ecf2babedeac9793ec80335c77 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a8d5489117fb74ecf2babedeac9793ec80335c77 # timeout=10 Commit message: "Merge pull request #176 from soda480/US6232f" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-3.9-base, dockerFilePath:scripts/Dockerfile.alpine-3.9, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine-3.9 DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-3.9-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-c DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-7986’ Running on prd-centos7-docker-4c-2g-7998 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Checking out Revision 16c2a897f1bf182c8f6ba1bddddf4975b453e4d5 (master) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 16c2a897f1bf182c8f6ba1bddddf4975b453e4d5 # timeout=10 Commit message: "Merge pull request #256 from iain-anderson/instance-flag" > git rev-list --no-walk 784285b3e5560c6aed2cdbdbbb8eed209f7721e1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-05-12T08:04:35.962Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-05-12T08:04:36.179Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-05-12T08:04:36.265Z] ========================================================= [2020-05-12T08:04:36.266Z] EdgeX Global Pipelines Version Info [2020-05-12T08:04:36.266Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-05-12T08:04:37.745Z] ------------------- [2020-05-12T08:04:37.745Z] stable info: [2020-05-12T08:04:37.745Z] ------------------- [2020-05-12T08:04:37.745Z] Commited By: Emilio Reyes emilio.reyes@intel.com [2020-05-12T08:04:37.745Z] Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d [2020-05-12T08:04:37.745Z] Message: update stable to v1.0.87 [2020-05-12T08:04:38.313Z] ------------------- [2020-05-12T08:04:38.313Z] experimental info: [2020-05-12T08:04:38.313Z] ------------------- [2020-05-12T08:04:38.313Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-05-12T08:04:38.313Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-05-12T08:04:38.313Z] 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-05-12T08:04:40.574Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-05-12T08:04:40.574Z] [2020-05-12T08:04:40.574Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-05-12T08:04:40.920Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-05-12T08:04:40.920Z] latest: Pulling from edgex-devops/git-semver [2020-05-12T08:04:40.920Z] 9123ac7c32f7: Pulling fs layer [2020-05-12T08:04:40.920Z] b8cc5d1170e3: Pulling fs layer [2020-05-12T08:04:40.920Z] 2924cbbf6a41: Pulling fs layer [2020-05-12T08:04:40.920Z] 93b08a4f1073: Pulling fs layer [2020-05-12T08:04:40.920Z] 93b08a4f1073: Waiting [2020-05-12T08:04:40.920Z] b8cc5d1170e3: Verifying Checksum [2020-05-12T08:04:40.920Z] b8cc5d1170e3: Download complete [2020-05-12T08:04:40.920Z] 9123ac7c32f7: Verifying Checksum [2020-05-12T08:04:40.920Z] 9123ac7c32f7: Download complete [2020-05-12T08:04:41.181Z] 93b08a4f1073: Verifying Checksum [2020-05-12T08:04:41.181Z] 93b08a4f1073: Download complete [2020-05-12T08:04:41.181Z] 2924cbbf6a41: Download complete [2020-05-12T08:04:41.461Z] 9123ac7c32f7: Pull complete [2020-05-12T08:04:41.461Z] b8cc5d1170e3: Pull complete [2020-05-12T08:04:42.045Z] 2924cbbf6a41: Pull complete [2020-05-12T08:04:42.304Z] 93b08a4f1073: Pull complete [2020-05-12T08:04:42.304Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-05-12T08:04:42.304Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-05-12T08:04:42.449Z] prd-centos7-docker-4c-2g-7998 does not seem to be running inside a container [2020-05-12T08:04:42.499Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-05-12T08:04:43.259Z] $ docker top 5da1e29c85bda15d2186c39b53835e16eab26b22cfcbc33839e12e42964f7be5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-05-12T08:04:43.572Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-05-12T08:04:43.572Z] [ssh-agent] Looking for ssh-agent implementation... [2020-05-12T08:04:43.794Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-05-12T08:04:43.796Z] $ docker exec 5da1e29c85bda15d2186c39b53835e16eab26b22cfcbc33839e12e42964f7be5 ssh-agent [2020-05-12T08:04:43.997Z] SSH_AUTH_SOCK=/tmp/ssh-7ijBBJZdHlAm/agent.15 [2020-05-12T08:04:43.997Z] SSH_AGENT_PID=21 [2020-05-12T08:04:44.009Z] Running ssh-add (command line suppressed) [2020-05-12T08:04:44.147Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_8179808710732115398.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_8179808710732115398.key) [2020-05-12T08:04:44.199Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-05-12T08:04:44.541Z] + git describe --exact-match --tags HEAD [2020-05-12T08:04:44.541Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-05-12T08:04:44.643Z] $ docker exec --env ******** --env ******** 5da1e29c85bda15d2186c39b53835e16eab26b22cfcbc33839e12e42964f7be5 ssh-agent -k [2020-05-12T08:04:44.815Z] unset SSH_AUTH_SOCK; [2020-05-12T08:04:44.816Z] unset SSH_AGENT_PID; [2020-05-12T08:04:44.816Z] echo Agent pid 21 killed; [2020-05-12T08:04:44.838Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-05-12T08:04:44.939Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-05-12T08:04:44.940Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-05-12T08:04:45.050Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-05-12T08:04:45.050Z] [ssh-agent] Looking for ssh-agent implementation... [2020-05-12T08:04:45.246Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-05-12T08:04:45.257Z] $ docker exec 5da1e29c85bda15d2186c39b53835e16eab26b22cfcbc33839e12e42964f7be5 ssh-agent [2020-05-12T08:04:45.461Z] SSH_AUTH_SOCK=/tmp/ssh-LV1BQJzl9y6p/agent.56 [2020-05-12T08:04:45.461Z] SSH_AGENT_PID=62 [2020-05-12T08:04:45.470Z] Running ssh-add (command line suppressed) [2020-05-12T08:04:45.611Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_1594357286964379367.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_1594357286964379367.key) [2020-05-12T08:04:45.678Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-05-12T08:04:46.038Z] + git semver init [2020-05-12T08:04:46.038Z] # -> Open(): unable to determine branch for HEAD [2020-05-12T08:04:46.038Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2020-05-12T08:04:46.038Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2020-05-12T08:04:46.038Z] # $SEMVER_REMOTE_NAME = origin [2020-05-12T08:04:46.038Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-05-12T08:04:46.038Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-05-12T08:04:46.038Z] # $SEMVER_BRANCH = master [2020-05-12T08:04:46.038Z] # $SEMVER_TEMP = /tmp/semver-460434187 [2020-05-12T08:04:46.038Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2020-05-12T08:04:46.617Z] # '/tmp/semver-460434187' -> '/w/workspace/edgexfoundry_device-sdk-c_master/.semver' [2020-05-12T08:04:46.617Z] # -> Force: false [2020-05-12T08:04:46.617Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [Pipeline] } [2020-05-12T08:04:46.626Z] $ docker exec --env ******** --env ******** 5da1e29c85bda15d2186c39b53835e16eab26b22cfcbc33839e12e42964f7be5 ssh-agent -k [2020-05-12T08:04:46.765Z] unset SSH_AUTH_SOCK; [2020-05-12T08:04:46.765Z] unset SSH_AGENT_PID; [2020-05-12T08:04:46.765Z] echo Agent pid 62 killed; [2020-05-12T08:04:46.817Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-05-12T08:04:47.244Z] + git semver [Pipeline] } [2020-05-12T08:04:47.256Z] $ docker stop --time=1 5da1e29c85bda15d2186c39b53835e16eab26b22cfcbc33839e12e42964f7be5 [2020-05-12T08:04:48.584Z] $ docker rm -f 5da1e29c85bda15d2186c39b53835e16eab26b22cfcbc33839e12e42964f7be5 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-05-12T08:04:49.366Z] Stashed 39 file(s) [Pipeline] echo [2020-05-12T08:04:49.368Z] [edgeXSemver] initialized semver on version 1.2.1-dev.1 [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-05-12T08:05:04.679Z] Still waiting to schedule task [2020-05-12T08:05:04.680Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-05-12T08:05:04.682Z] Still waiting to schedule task [2020-05-12T08:05:04.682Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-7996’ is offline [2020-05-12T08:06:54.905Z] Running on prd-centos7-docker-4c-2g-8000 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] ws [2020-05-12T08:06:54.950Z] Running in /w/workspace/device-sdk-c/20 [Pipeline] { [Pipeline] checkout [2020-05-12T08:06:57.348Z] using credential edgex-jenkins-ssh [2020-05-12T08:06:57.399Z] Cloning the remote Git repository [2020-05-12T08:06:57.399Z] Cloning with configured refspecs honoured and without tags [2020-05-12T08:06:57.016Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-05-12T08:06:57.057Z] > git init /w/workspace/device-sdk-c/20 # timeout=10 [2020-05-12T08:06:57.109Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-05-12T08:06:57.109Z] > git --version # timeout=10 [2020-05-12T08:06:57.114Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-12T08:06:57.151Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-12T08:06:58.479Z] Fetching without tags [2020-05-12T08:06:58.848Z] Checking out Revision 16c2a897f1bf182c8f6ba1bddddf4975b453e4d5 (master) [2020-05-12T08:06:58.131Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-05-12T08:06:58.138Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-12T08:06:58.154Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-05-12T08:06:58.167Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-05-12T08:06:58.168Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-12T08:06:58.172Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-12T08:06:58.570Z] > git config core.sparsecheckout # timeout=10 [2020-05-12T08:06:58.579Z] > git checkout -f 16c2a897f1bf182c8f6ba1bddddf4975b453e4d5 # timeout=10 [2020-05-12T08:06:59.975Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-7999 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] ws [2020-05-12T08:07:00.026Z] Running in /w/workspace/device-sdk-c/20 [Pipeline] { [Pipeline] checkout [2020-05-12T08:07:02.406Z] Commit message: "Merge pull request #256 from iain-anderson/instance-flag" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-05-12T08:07:03.351Z] ========================================================= [2020-05-12T08:07:03.351Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2020-05-12T08:07:03.351Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-05-12T08:07:04.006Z] + 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-05-12T08:07:04.267Z] Sending build context to Docker daemon 3.045MB [2020-05-12T08:07:04.267Z] Step 1/21 : ARG BASE=alpine:3.9 [2020-05-12T08:07:04.267Z] Step 2/21 : FROM ${BASE} as builder [2020-05-12T08:07:04.267Z] latest: Pulling from edgex-devops/edgex-gcc-base [2020-05-12T08:07:04.267Z] e7c96db7181b: Pulling fs layer [2020-05-12T08:07:04.267Z] 4c13bbce0fe7: Pulling fs layer [2020-05-12T08:07:04.267Z] 6059c847ac2f: Pulling fs layer [2020-05-12T08:07:04.267Z] 4c13bbce0fe7: Verifying Checksum [2020-05-12T08:07:04.267Z] 4c13bbce0fe7: Download complete [2020-05-12T08:07:04.526Z] e7c96db7181b: Verifying Checksum [2020-05-12T08:07:04.526Z] e7c96db7181b: Download complete [2020-05-12T08:07:04.526Z] e7c96db7181b: Pull complete [2020-05-12T08:07:04.785Z] 4c13bbce0fe7: Pull complete [2020-05-12T08:07:05.352Z] 6059c847ac2f: Verifying Checksum [2020-05-12T08:07:05.352Z] 6059c847ac2f: Download complete [2020-05-12T08:07:05.931Z] using credential edgex-jenkins-ssh [2020-05-12T08:07:05.982Z] Cloning the remote Git repository [2020-05-12T08:07:05.982Z] Cloning with configured refspecs honoured and without tags [2020-05-12T08:07:06.058Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-05-12T08:07:06.161Z] > git init /w/workspace/device-sdk-c/20 # timeout=10 [2020-05-12T08:07:06.229Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-05-12T08:07:06.230Z] > git --version # timeout=10 [2020-05-12T08:07:06.271Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-12T08:07:06.326Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-12T08:07:07.618Z] Fetching without tags [2020-05-12T08:07:07.507Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-05-12T08:07:07.542Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-12T08:07:07.592Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-05-12T08:07:07.627Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-05-12T08:07:07.628Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-12T08:07:07.639Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-12T08:07:08.083Z] Checking out Revision 16c2a897f1bf182c8f6ba1bddddf4975b453e4d5 (master) [2020-05-12T08:07:08.100Z] > git config core.sparsecheckout # timeout=10 [2020-05-12T08:07:08.124Z] > git checkout -f 16c2a897f1bf182c8f6ba1bddddf4975b453e4d5 # timeout=10 [2020-05-12T08:07:09.552Z] 6059c847ac2f: Pull complete [2020-05-12T08:07:09.552Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2020-05-12T08:07:09.552Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2020-05-12T08:07:09.552Z] ---> 5eabd8fd8ba2 [2020-05-12T08:07:09.552Z] 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-05-12T08:07:09.552Z] ---> Running in 50029394d4b2 [2020-05-12T08:07:09.811Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-05-12T08:07:10.379Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-05-12T08:07:10.638Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-05-12T08:07:10.639Z] (2/8) Installing libuuid (2.33-r0) [2020-05-12T08:07:10.639Z] (3/8) Installing libblkid (2.33-r0) [2020-05-12T08:07:10.902Z] (4/8) Installing libfdisk (2.33-r0) [2020-05-12T08:07:10.902Z] (5/8) Installing libmount (2.33-r0) [2020-05-12T08:07:10.902Z] (6/8) Installing libsmartcols (2.33-r0) [2020-05-12T08:07:11.161Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-05-12T08:07:11.421Z] (8/8) Installing wget (1.20.3-r0) [2020-05-12T08:07:11.421Z] Executing busybox-1.29.3-r10.trigger [2020-05-12T08:07:11.421Z] OK: 272 MiB in 83 packages [2020-05-12T08:07:11.995Z] Removing intermediate container 50029394d4b2 [2020-05-12T08:07:11.995Z] ---> dcc255378c60 [2020-05-12T08:07:11.995Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-05-12T08:07:11.995Z] ---> Running in bd7a0c6201fc [2020-05-12T08:07:11.995Z] Removing intermediate container bd7a0c6201fc [2020-05-12T08:07:11.995Z] ---> 3a08b77728b3 [2020-05-12T08:07:11.995Z] 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-05-12T08:07:11.995Z] ---> Running in 46dc08871d4b [2020-05-12T08:07:12.254Z] --2020-05-12 08:07:12-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-05-12T08:07:12.518Z] Resolving github.com... 140.82.113.3 [2020-05-12T08:07:12.518Z] Connecting to github.com|140.82.113.3|:443... connected. [2020-05-12T08:07:12.518Z] HTTP request sent, awaiting response... 302 Found [2020-05-12T08:07:12.518Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-05-12T08:07:12.518Z] --2020-05-12 08:07:12-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-05-12T08:07:12.518Z] Resolving codeload.github.com... 140.82.112.10 [2020-05-12T08:07:12.776Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2020-05-12T08:07:12.776Z] HTTP request sent, awaiting response... 200 OK [2020-05-12T08:07:12.776Z] Length: unspecified [application/x-gzip] [2020-05-12T08:07:12.776Z] Saving to: 'STDOUT' [2020-05-12T08:07:12.776Z]  [2020-05-12T08:07:12.776Z] 0K .......... .......... .......... .......... .......... 1.57M [2020-05-12T08:07:12.776Z] 50K .......... .......... .......... .......... .......... 3.01M [2020-05-12T08:07:12.776Z] 100K .......... .......... .......... .......... .......... 3.19M [2020-05-12T08:07:12.776Z] 150K .......... .......... .......... .......... .......... 38.5M [2020-05-12T08:07:12.776Z] 200K .......... .......... .......... .......... .......... 25.5M [2020-05-12T08:07:12.776Z] 250K .......... .......... .......... .......... .......... 3.86M [2020-05-12T08:07:12.776Z] 300K .......... .......... .......... .......... .......... 15.9M [2020-05-12T08:07:12.776Z] 350K .......... .......... .......... .......... .......... 16.1M [2020-05-12T08:07:12.776Z] 400K .......... .......... .......... .......... .......... 7.88M [2020-05-12T08:07:12.776Z] 450K .......... .......... .......... .......... .......... 6.87M [2020-05-12T08:07:12.776Z] 500K .......... .......... .......... .......... .......... 16.1M [2020-05-12T08:07:12.914Z] Commit message: "Merge pull request #256 from iain-anderson/instance-flag" [2020-05-12T08:07:13.035Z] 550K .......... .......... .......... .......... .......... 7.29M [2020-05-12T08:07:13.035Z] 600K .......... .......... .......... .......... .......... 2.61M [2020-05-12T08:07:13.035Z] 650K .......... .......... .......... .......... .......... 5.73M [2020-05-12T08:07:13.035Z] 700K .. 808K=0.1s [2020-05-12T08:07:13.035Z] [2020-05-12T08:07:13.035Z] 2020-05-12 08:07:12 (4.97 MB/s) - written to stdout [719348] [2020-05-12T08:07:13.035Z] [2020-05-12T08:07:13.035Z] -- The C compiler identification is GNU 8.3.0 [2020-05-12T08:07:13.035Z] -- The CXX compiler identification is GNU 8.3.0 [2020-05-12T08:07:13.035Z] -- Check for working C compiler: /usr/bin/cc [Pipeline] withEnv [Pipeline] { [2020-05-12T08:07:13.294Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-05-12T08:07:13.294Z] -- Detecting C compiler ABI info [2020-05-12T08:07:13.294Z] -- Detecting C compiler ABI info - done [2020-05-12T08:07:13.294Z] -- Detecting C compile features [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-05-12T08:07:13.554Z] -- Detecting C compile features - done [2020-05-12T08:07:13.554Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-05-12T08:07:13.554Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-05-12T08:07:13.554Z] -- Detecting CXX compiler ABI info [2020-05-12T08:07:13.554Z] -- Detecting CXX compiler ABI info - done [2020-05-12T08:07:13.554Z] -- Detecting CXX compile features [Pipeline] echo [2020-05-12T08:07:13.994Z] ========================================================= [2020-05-12T08:07:13.995Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2020-05-12T08:07:13.995Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-05-12T08:07:14.122Z] -- Detecting CXX compile features - done [2020-05-12T08:07:14.122Z] -- Looking for include file endian.h [2020-05-12T08:07:14.122Z] -- Looking for include file endian.h - found [2020-05-12T08:07:14.122Z] -- Check if the system is big endian [2020-05-12T08:07:14.122Z] -- Searching 16 bit integer [2020-05-12T08:07:14.122Z] -- Looking for sys/types.h [2020-05-12T08:07:14.122Z] -- Looking for sys/types.h - found [2020-05-12T08:07:14.122Z] -- Looking for stdint.h [2020-05-12T08:07:14.122Z] -- Looking for stdint.h - found [2020-05-12T08:07:14.122Z] -- Looking for stddef.h [2020-05-12T08:07:14.383Z] -- Looking for stddef.h - found [2020-05-12T08:07:14.383Z] -- Check size of unsigned short [2020-05-12T08:07:14.383Z] -- Check size of unsigned short - done [2020-05-12T08:07:14.383Z] -- Using unsigned short [2020-05-12T08:07:14.383Z] -- Check if the system is big endian - little endian [2020-05-12T08:07:14.383Z] -- Check size of size_t [2020-05-12T08:07:14.644Z] -- Check size of size_t - done [2020-05-12T08:07:14.644Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-05-12T08:07:14.644Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-05-12T08:07:14.644Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-05-12T08:07:14.644Z] CMake did not find one. [2020-05-12T08:07:14.644Z] [2020-05-12T08:07:14.644Z] Could not find a package configuration file provided by "cJSON" with any of [2020-05-12T08:07:14.644Z] the following names: [2020-05-12T08:07:14.644Z] [2020-05-12T08:07:14.644Z] cJSONConfig.cmake [2020-05-12T08:07:14.644Z] cjson-config.cmake [2020-05-12T08:07:14.644Z] [2020-05-12T08:07:14.644Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-05-12T08:07:14.644Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-05-12T08:07:14.644Z] provides a separate development package or SDK, be sure it has been [2020-05-12T08:07:14.644Z] installed. [2020-05-12T08:07:14.644Z] [2020-05-12T08:07:14.644Z] [2020-05-12T08:07:14.644Z] -- Configuring done [2020-05-12T08:07:14.644Z] -- Generating done [2020-05-12T08:07:14.644Z] -- Build files have been written to: /tmp/cbor [2020-05-12T08:07:14.644Z] Scanning dependencies of target cbor_shared [2020-05-12T08:07:14.644Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-05-12T08:07:14.903Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-05-12T08:07:14.903Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-05-12T08:07:14.967Z] + 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-05-12T08:07:15.161Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-05-12T08:07:15.161Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-05-12T08:07:15.161Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-05-12T08:07:15.420Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-05-12T08:07:15.420Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-05-12T08:07:15.420Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-05-12T08:07:15.420Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-05-12T08:07:15.679Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-05-12T08:07:15.679Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-05-12T08:07:15.938Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-05-12T08:07:15.938Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-05-12T08:07:15.938Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-05-12T08:07:15.938Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-05-12T08:07:15.944Z] Sending build context to Docker daemon 3.045MB [2020-05-12T08:07:15.944Z] Step 1/21 : ARG BASE=alpine:3.9 [2020-05-12T08:07:15.944Z] Step 2/21 : FROM ${BASE} as builder [2020-05-12T08:07:15.944Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2020-05-12T08:07:15.944Z] 0362ad1dd800: Pulling fs layer [2020-05-12T08:07:15.944Z] f2cdb1532d8b: Pulling fs layer [2020-05-12T08:07:15.944Z] 37ed683be191: Pulling fs layer [2020-05-12T08:07:16.197Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-05-12T08:07:16.197Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-05-12T08:07:16.197Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-05-12T08:07:16.212Z] f2cdb1532d8b: Verifying Checksum [2020-05-12T08:07:16.212Z] f2cdb1532d8b: Download complete [2020-05-12T08:07:16.458Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-05-12T08:07:16.458Z] [ 40%] Linking C shared library libcbor.so [2020-05-12T08:07:16.458Z] [ 40%] Built target cbor_shared [2020-05-12T08:07:16.458Z] Scanning dependencies of target cbor [2020-05-12T08:07:16.458Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-05-12T08:07:16.480Z] 0362ad1dd800: Verifying Checksum [2020-05-12T08:07:16.480Z] 0362ad1dd800: Download complete [2020-05-12T08:07:16.759Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-05-12T08:07:16.759Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-05-12T08:07:17.056Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-05-12T08:07:17.056Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-05-12T08:07:17.087Z] 0362ad1dd800: Pull complete [2020-05-12T08:07:17.316Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-05-12T08:07:17.316Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-05-12T08:07:17.316Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-05-12T08:07:17.316Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-05-12T08:07:17.354Z] f2cdb1532d8b: Pull complete [2020-05-12T08:07:17.577Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-05-12T08:07:17.577Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-05-12T08:07:17.837Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-05-12T08:07:17.838Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-05-12T08:07:17.838Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-05-12T08:07:18.098Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-05-12T08:07:18.098Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-05-12T08:07:18.098Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-05-12T08:07:18.098Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-05-12T08:07:18.358Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-05-12T08:07:18.358Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-05-12T08:07:18.358Z] [ 80%] Linking C static library libcbor.a [2020-05-12T08:07:18.358Z] [ 80%] Built target cbor [2020-05-12T08:07:18.358Z] Scanning dependencies of target create_items [2020-05-12T08:07:18.358Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-05-12T08:07:18.358Z] [ 84%] Linking C executable create_items [2020-05-12T08:07:18.617Z] [ 84%] Built target create_items [2020-05-12T08:07:18.617Z] Scanning dependencies of target readfile [2020-05-12T08:07:18.617Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-05-12T08:07:18.617Z] [ 88%] Linking C executable readfile [2020-05-12T08:07:18.617Z] [ 88%] Built target readfile [2020-05-12T08:07:18.617Z] Scanning dependencies of target streaming_parser [2020-05-12T08:07:18.617Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-05-12T08:07:18.617Z] [ 92%] Linking C executable streaming_parser [2020-05-12T08:07:18.617Z] [ 92%] Built target streaming_parser [2020-05-12T08:07:18.617Z] Scanning dependencies of target sort [2020-05-12T08:07:18.617Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-05-12T08:07:18.882Z] [ 96%] Linking C executable sort [2020-05-12T08:07:18.882Z] [ 96%] Built target sort [2020-05-12T08:07:18.882Z] Scanning dependencies of target hello [2020-05-12T08:07:18.882Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-05-12T08:07:18.882Z] [100%] Linking C executable hello [2020-05-12T08:07:18.882Z] [100%] Built target hello [2020-05-12T08:07:18.882Z] Install the project... [2020-05-12T08:07:18.882Z] -- Install configuration: "Release" [2020-05-12T08:07:18.882Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-05-12T08:07:18.882Z] -- Installing: /usr/local/lib64/libcbor.a [2020-05-12T08:07:18.882Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-05-12T08:07:18.882Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-05-12T08:07:18.882Z] -- Installing: /usr/local/lib64/libcbor.so [2020-05-12T08:07:18.882Z] -- Up-to-date: /usr/local/include/cbor [2020-05-12T08:07:18.882Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-05-12T08:07:18.882Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-05-12T08:07:18.882Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-05-12T08:07:18.882Z] -- Installing: /usr/local/include/cbor/common.h [2020-05-12T08:07:18.882Z] -- Installing: /usr/local/include/cbor/data.h [2020-05-12T08:07:18.882Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-05-12T08:07:18.882Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-05-12T08:07:18.882Z] -- Installing: /usr/local/include/cbor/internal [2020-05-12T08:07:18.882Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-05-12T08:07:18.882Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-05-12T08:07:18.882Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-05-12T08:07:18.882Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-05-12T08:07:18.882Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-05-12T08:07:18.882Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-05-12T08:07:18.882Z] -- Installing: /usr/local/include/cbor/ints.h [2020-05-12T08:07:18.882Z] -- Installing: /usr/local/include/cbor/maps.h [2020-05-12T08:07:18.882Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-05-12T08:07:18.882Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-05-12T08:07:18.882Z] -- Installing: /usr/local/include/cbor/strings.h [2020-05-12T08:07:18.882Z] -- Installing: /usr/local/include/cbor/tags.h [2020-05-12T08:07:18.882Z] -- Installing: /usr/local/include/cbor.h [2020-05-12T08:07:18.882Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-05-12T08:07:20.266Z] Removing intermediate container 46dc08871d4b [2020-05-12T08:07:20.266Z] ---> 98c33d0b4a66 [2020-05-12T08:07:20.266Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-05-12T08:07:20.266Z] ---> Running in e5f47aec733f [2020-05-12T08:07:21.206Z] Removing intermediate container e5f47aec733f [2020-05-12T08:07:21.206Z] ---> 7b3b73ec2662 [2020-05-12T08:07:21.206Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-05-12T08:07:21.206Z] ---> 4d3bc9c22487 [2020-05-12T08:07:21.206Z] Step 8/21 : COPY src /tmp/sdk/src [2020-05-12T08:07:21.468Z] ---> fb15da7149c2 [2020-05-12T08:07:21.468Z] Step 9/21 : COPY include /tmp/sdk/include [2020-05-12T08:07:21.728Z] ---> fb074234e4e6 [2020-05-12T08:07:21.728Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-05-12T08:07:21.990Z] ---> dd8b0fdc24f5 [2020-05-12T08:07:21.990Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-05-12T08:07:21.990Z] ---> 5eadf4a404f1 [2020-05-12T08:07:21.990Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-05-12T08:07:22.250Z] ---> 31573b587cda [2020-05-12T08:07:22.250Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-05-12T08:07:22.250Z] ---> Running in 52e85c7a7a7d [2020-05-12T08:07:22.827Z] + CPPCHECK=false [2020-05-12T08:07:22.827Z] + DOCGEN=false [2020-05-12T08:07:22.827Z] + TOMLVER=SDK-0.2 [2020-05-12T08:07:22.827Z] + CUTILVER=1.0.4 [2020-05-12T08:07:22.827Z] + '[' 0 -gt 0 ] [2020-05-12T08:07:22.827Z] + readlink -f ./scripts/build.sh [2020-05-12T08:07:22.827Z] + dirname /tmp/sdk/scripts/build.sh [2020-05-12T08:07:22.827Z] + dirname /tmp/sdk/scripts [2020-05-12T08:07:22.827Z] + ROOT=/tmp/sdk [2020-05-12T08:07:22.827Z] + cd /tmp/sdk [2020-05-12T08:07:22.827Z] + '[' '!' -d deps ] [2020-05-12T08:07:22.827Z] + mkdir deps [2020-05-12T08:07:22.827Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-05-12T08:07:22.827Z] + tar -C deps -z -x -f - [2020-05-12T08:07:22.827Z] --2020-05-12 08:07:22-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-05-12T08:07:22.827Z] Resolving github.com... 140.82.113.3 [2020-05-12T08:07:22.827Z] Connecting to github.com|140.82.113.3|:443... connected. [2020-05-12T08:07:23.087Z] HTTP request sent, awaiting response... 302 Found [2020-05-12T08:07:23.087Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-05-12T08:07:23.087Z] --2020-05-12 08:07:22-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-05-12T08:07:23.087Z] Resolving codeload.github.com... 140.82.112.10 [2020-05-12T08:07:23.087Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2020-05-12T08:07:23.087Z] HTTP request sent, awaiting response... 200 OK [2020-05-12T08:07:23.087Z] Length: unspecified [application/x-gzip] [2020-05-12T08:07:23.087Z] Saving to: 'STDOUT' [2020-05-12T08:07:23.087Z]  [2020-05-12T08:07:23.087Z] 0K .......... ......  890K=0.02s [2020-05-12T08:07:23.087Z] [2020-05-12T08:07:23.087Z] 2020-05-12 08:07:23 (890 KB/s) - written to stdout [16451] [2020-05-12T08:07:23.087Z] [2020-05-12T08:07:23.346Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-05-12T08:07:23.346Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-05-12T08:07:23.346Z] + tar -C deps -z -x -f - [2020-05-12T08:07:23.346Z] --2020-05-12 08:07:23-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-05-12T08:07:23.346Z] Resolving github.com... 140.82.113.3 [2020-05-12T08:07:23.346Z] Connecting to github.com|140.82.113.3|:443... connected. [2020-05-12T08:07:23.346Z] HTTP request sent, awaiting response... 302 Found [2020-05-12T08:07:23.346Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] [2020-05-12T08:07:23.346Z] --2020-05-12 08:07:23-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [2020-05-12T08:07:23.346Z] Resolving codeload.github.com... 140.82.112.10 [2020-05-12T08:07:23.346Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2020-05-12T08:07:23.606Z] HTTP request sent, awaiting response... 200 OK [2020-05-12T08:07:23.606Z] Length: unspecified [application/x-gzip] [2020-05-12T08:07:23.606Z] Saving to: 'STDOUT' [2020-05-12T08:07:23.606Z]  [2020-05-12T08:07:23.606Z] 0K .......... .......... .......... .......... .......... 1.55M [2020-05-12T08:07:23.606Z] 50K .......... .......... .......... .......... .......... 3.10M [2020-05-12T08:07:23.606Z] 100K .......... .......... .......... .......... .......... 55.2M [2020-05-12T08:07:23.606Z] 150K ........ 69.9M=0.05s [2020-05-12T08:07:23.606Z] [2020-05-12T08:07:23.606Z] 2020-05-12 08:07:23 (3.21 MB/s) - written to stdout [162267] [2020-05-12T08:07:23.606Z] [2020-05-12T08:07:23.606Z] + mkdir -p src/c/iot [2020-05-12T08:07:23.606Z] + 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-05-12T08:07:23.606Z] + mkdir -p include/iot [2020-05-12T08:07:23.606Z] + 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-05-12T08:07:23.606Z] + mkdir -p include/iot/os [2020-05-12T08:07:23.606Z] + 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-05-12T08:07:23.606Z] + mkdir -p /tmp/sdk/build/release [2020-05-12T08:07:23.606Z] + cd /tmp/sdk/build/release [2020-05-12T08:07:23.606Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-05-12T08:07:23.865Z] -- The C compiler identification is GNU 8.3.0 [2020-05-12T08:07:23.865Z] -- Check for working C compiler: /usr/bin/cc [2020-05-12T08:07:23.865Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-05-12T08:07:23.865Z] -- Detecting C compiler ABI info [2020-05-12T08:07:23.865Z] -- Detecting C compiler ABI info - done [2020-05-12T08:07:23.865Z] -- Detecting C compile features [2020-05-12T08:07:24.016Z] 37ed683be191: Verifying Checksum [2020-05-12T08:07:24.016Z] 37ed683be191: Download complete [2020-05-12T08:07:24.125Z] -- Detecting C compile features - done [2020-05-12T08:07:24.125Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-05-12T08:07:24.125Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-05-12T08:07:24.125Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-05-12T08:07:24.125Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-05-12T08:07:24.125Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-05-12T08:07:24.125Z] -- C SDK 1.2.1-dev.1 for Linux [2020-05-12T08:07:24.125Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-05-12T08:07:24.125Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-05-12T08:07:24.125Z] -- Found Curses: /usr/lib/libcurses.so [2020-05-12T08:07:24.389Z] -- Configuring done [2020-05-12T08:07:24.389Z] -- Generating done [2020-05-12T08:07:24.389Z] -- Build files have been written to: /tmp/sdk/build/release [2020-05-12T08:07:24.389Z] + make [2020-05-12T08:07:24.389Z] + tee release.log [2020-05-12T08:07:24.389Z] Scanning dependencies of target csdk [2020-05-12T08:07:24.389Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-05-12T08:07:24.649Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-05-12T08:07:24.649Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-05-12T08:07:25.218Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-05-12T08:07:25.218Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-05-12T08:07:25.218Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-05-12T08:07:25.480Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-05-12T08:07:26.051Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-05-12T08:07:26.051Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-05-12T08:07:26.310Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-05-12T08:07:26.310Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-05-12T08:07:26.570Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-05-12T08:07:26.570Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-05-12T08:07:26.570Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-05-12T08:07:27.504Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-05-12T08:07:27.504Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-05-12T08:07:27.504Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-05-12T08:07:27.762Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-05-12T08:07:28.328Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-05-12T08:07:28.328Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-05-12T08:07:28.328Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-05-12T08:07:28.586Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-05-12T08:07:28.586Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-05-12T08:07:28.586Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-05-12T08:07:28.844Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-05-12T08:07:28.844Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-05-12T08:07:29.102Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-05-12T08:07:29.102Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-05-12T08:07:29.361Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-05-12T08:07:29.619Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-05-12T08:07:29.619Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-05-12T08:07:30.553Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-05-12T08:07:30.811Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-05-12T08:07:30.811Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-05-12T08:07:31.069Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-05-12T08:07:31.333Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-05-12T08:07:31.904Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-05-12T08:07:32.846Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-05-12T08:07:32.846Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-05-12T08:07:33.105Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-05-12T08:07:33.105Z] [ 65%] Linking C shared library libcsdk.so [2020-05-12T08:07:33.105Z] [ 65%] Built target csdk [2020-05-12T08:07:33.369Z] Scanning dependencies of target template [2020-05-12T08:07:33.369Z] [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-05-12T08:07:33.369Z] [ 68%] Linking C executable template [2020-05-12T08:07:33.369Z] [ 68%] Built target template [2020-05-12T08:07:33.369Z] Scanning dependencies of target device-counter [2020-05-12T08:07:33.369Z] [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-05-12T08:07:33.630Z] [ 71%] Linking C executable device-counter [2020-05-12T08:07:33.630Z] [ 71%] Built target device-counter [2020-05-12T08:07:33.630Z] Scanning dependencies of target device-random [2020-05-12T08:07:33.631Z] [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-05-12T08:07:33.890Z] [ 74%] Linking C executable device-random [2020-05-12T08:07:33.890Z] [ 74%] Built target device-random [2020-05-12T08:07:33.890Z] Scanning dependencies of target device-gyro [2020-05-12T08:07:33.890Z] [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-05-12T08:07:33.890Z] [ 77%] Linking C executable device-gyro [2020-05-12T08:07:33.890Z] [ 77%] Built target device-gyro [2020-05-12T08:07:34.124Z] 37ed683be191: Pull complete [2020-05-12T08:07:34.125Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2020-05-12T08:07:34.125Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2020-05-12T08:07:34.125Z] ---> b23d30803547 [2020-05-12T08:07:34.125Z] 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-05-12T08:07:34.149Z] Scanning dependencies of target template-discovery [2020-05-12T08:07:34.149Z] [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-05-12T08:07:34.149Z] [ 80%] Linking C executable template-discovery [2020-05-12T08:07:34.149Z] [ 80%] Built target template-discovery [2020-05-12T08:07:34.149Z] Scanning dependencies of target device-terminal [2020-05-12T08:07:34.149Z] [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-05-12T08:07:34.409Z] [ 84%] Linking C executable device-terminal [2020-05-12T08:07:34.409Z] [ 84%] Built target device-terminal [2020-05-12T08:07:34.409Z] Scanning dependencies of target template2 [2020-05-12T08:07:34.409Z] [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-05-12T08:07:34.667Z] [ 87%] Linking C executable template2 [2020-05-12T08:07:34.667Z] [ 87%] Built target template2 [2020-05-12T08:07:34.667Z] Scanning dependencies of target device-counterv2 [2020-05-12T08:07:34.667Z] [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-05-12T08:07:34.927Z] [ 90%] Linking C executable device-counterv2 [2020-05-12T08:07:34.927Z] [ 90%] Built target device-counterv2 [2020-05-12T08:07:34.927Z] Scanning dependencies of target device-gyrov2 [2020-05-12T08:07:34.927Z] [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o [2020-05-12T08:07:34.927Z] [ 93%] Linking C executable device-gyrov2 [2020-05-12T08:07:35.186Z] [ 93%] Built target device-gyrov2 [2020-05-12T08:07:35.186Z] Scanning dependencies of target device-randomv2 [2020-05-12T08:07:35.186Z] [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-05-12T08:07:35.186Z] [ 96%] Linking C executable device-randomv2 [2020-05-12T08:07:35.186Z] [ 96%] Built target device-randomv2 [2020-05-12T08:07:35.186Z] Scanning dependencies of target device-terminalv2 [2020-05-12T08:07:35.186Z] [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o [2020-05-12T08:07:35.446Z] [100%] Linking C executable device-terminalv2 [2020-05-12T08:07:35.446Z] [100%] Built target device-terminalv2 [2020-05-12T08:07:35.446Z] + tee -a release.log+ [2020-05-12T08:07:35.446Z] make package [2020-05-12T08:07:35.446Z] [ 65%] Built target csdk [2020-05-12T08:07:35.446Z] [ 68%] Built target template [2020-05-12T08:07:35.532Z] ---> Running in 309639e62930 [2020-05-12T08:07:35.706Z] [ 71%] Built target device-counter [2020-05-12T08:07:35.706Z] [ 74%] Built target device-random [2020-05-12T08:07:35.706Z] [ 77%] Built target device-gyro [2020-05-12T08:07:35.706Z] [ 80%] Built target template-discovery [2020-05-12T08:07:35.706Z] [ 84%] Built target device-terminal [2020-05-12T08:07:35.706Z] [ 87%] Built target template2 [2020-05-12T08:07:35.706Z] [ 90%] Built target device-counterv2 [2020-05-12T08:07:35.706Z] [ 93%] Built target device-gyrov2 [2020-05-12T08:07:35.706Z] [ 96%] Built target device-randomv2 [2020-05-12T08:07:35.706Z] [100%] Built target device-terminalv2 [2020-05-12T08:07:35.706Z] Run CPack packaging tool... [2020-05-12T08:07:35.706Z] CPack: Create package using TGZ [2020-05-12T08:07:35.706Z] CPack: Install projects [2020-05-12T08:07:35.706Z] CPack: - Run preinstall target for: Csdk [2020-05-12T08:07:35.965Z] CPack: - Install project: Csdk [2020-05-12T08:07:35.965Z] CPack: Create package [2020-05-12T08:07:35.965Z] CPack: - package: /tmp/sdk/build/release/csdk-1.2.1-dev.1.tar.gz generated. [2020-05-12T08:07:35.965Z] + '[' false '=' true ] [2020-05-12T08:07:35.965Z] + '[' false '=' true ] [2020-05-12T08:07:35.965Z] + mkdir -p /tmp/sdk/build/debug [2020-05-12T08:07:35.965Z] + cd /tmp/sdk/build/debug [2020-05-12T08:07:35.965Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-05-12T08:07:36.225Z] -- The C compiler identification is GNU 8.3.0 [2020-05-12T08:07:36.225Z] -- Check for working C compiler: /usr/bin/cc [2020-05-12T08:07:36.225Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-05-12T08:07:36.225Z] -- Detecting C compiler ABI info [2020-05-12T08:07:36.225Z] -- Detecting C compiler ABI info - done [2020-05-12T08:07:36.225Z] -- Detecting C compile features [2020-05-12T08:07:36.484Z] -- Detecting C compile features - done [2020-05-12T08:07:36.484Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-05-12T08:07:36.484Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-05-12T08:07:36.484Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-05-12T08:07:36.484Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-05-12T08:07:36.484Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-05-12T08:07:36.484Z] -- C SDK 1.2.1-dev.1 for Linux [2020-05-12T08:07:36.484Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-05-12T08:07:36.484Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-05-12T08:07:36.484Z] -- Found Curses: /usr/lib/libcurses.so [2020-05-12T08:07:36.484Z] -- Configuring done [2020-05-12T08:07:36.498Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-05-12T08:07:36.743Z] -- Generating done [2020-05-12T08:07:36.743Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-05-12T08:07:36.743Z] + make [2020-05-12T08:07:36.743Z] + tee debug.log [2020-05-12T08:07:36.743Z] Scanning dependencies of target csdk [2020-05-12T08:07:36.743Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-05-12T08:07:36.743Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-05-12T08:07:37.002Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-05-12T08:07:37.002Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-05-12T08:07:37.080Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-05-12T08:07:37.262Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-05-12T08:07:37.262Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-05-12T08:07:37.262Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-05-12T08:07:37.347Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-05-12T08:07:37.522Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-05-12T08:07:37.522Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-05-12T08:07:37.522Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-05-12T08:07:37.613Z] (2/8) Installing libuuid (2.33-r0) [2020-05-12T08:07:37.613Z] (3/8) Installing libblkid (2.33-r0) [2020-05-12T08:07:37.613Z] (4/8) Installing libfdisk (2.33-r0) [2020-05-12T08:07:37.782Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-05-12T08:07:37.782Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-05-12T08:07:37.782Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-05-12T08:07:37.782Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-05-12T08:07:37.880Z] (5/8) Installing libmount (2.33-r0) [2020-05-12T08:07:37.880Z] (6/8) Installing libsmartcols (2.33-r0) [2020-05-12T08:07:37.880Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-05-12T08:07:38.041Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-05-12T08:07:38.041Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-05-12T08:07:38.147Z] (8/8) Installing wget (1.20.3-r0) [2020-05-12T08:07:38.303Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-05-12T08:07:38.303Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-05-12T08:07:38.413Z] Executing busybox-1.29.3-r10.trigger [2020-05-12T08:07:38.413Z] OK: 285 MiB in 83 packages [2020-05-12T08:07:38.562Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-05-12T08:07:38.562Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-05-12T08:07:38.562Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-05-12T08:07:38.562Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-05-12T08:07:38.820Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-05-12T08:07:38.820Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-05-12T08:07:38.820Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-05-12T08:07:38.820Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-05-12T08:07:39.079Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-05-12T08:07:39.079Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-05-12T08:07:39.079Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-05-12T08:07:39.079Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-05-12T08:07:39.344Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-05-12T08:07:39.604Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-05-12T08:07:39.604Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-05-12T08:07:39.604Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-05-12T08:07:39.824Z] Removing intermediate container 309639e62930 [2020-05-12T08:07:39.824Z] ---> 053b12c7fdc2 [2020-05-12T08:07:39.824Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-05-12T08:07:39.824Z] ---> Running in 3ed0938490a1 [2020-05-12T08:07:39.863Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-05-12T08:07:39.863Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-05-12T08:07:40.121Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-05-12T08:07:40.382Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-05-12T08:07:40.382Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-05-12T08:07:40.382Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-05-12T08:07:40.407Z] Removing intermediate container 3ed0938490a1 [2020-05-12T08:07:40.407Z] ---> 81d23c06f360 [2020-05-12T08:07:40.407Z] 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-05-12T08:07:40.407Z] ---> Running in 13e9df416fb7 [2020-05-12T08:07:40.642Z] [ 65%] Linking C shared library libcsdk.so [2020-05-12T08:07:40.642Z] [ 65%] Built target csdk [2020-05-12T08:07:40.642Z] Scanning dependencies of target template [2020-05-12T08:07:40.642Z] [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-05-12T08:07:40.642Z] [ 68%] Linking C executable template [2020-05-12T08:07:40.902Z] [ 68%] Built target template [2020-05-12T08:07:40.902Z] Scanning dependencies of target device-counter [2020-05-12T08:07:40.902Z] [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-05-12T08:07:40.902Z] [ 71%] Linking C executable device-counter [2020-05-12T08:07:40.902Z] [ 71%] Built target device-counter [2020-05-12T08:07:40.902Z] Scanning dependencies of target device-random [2020-05-12T08:07:40.902Z] [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-05-12T08:07:40.902Z] [ 74%] Linking C executable device-random [2020-05-12T08:07:41.160Z] [ 74%] Built target device-random [2020-05-12T08:07:41.160Z] Scanning dependencies of target device-gyro [2020-05-12T08:07:41.160Z] [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-05-12T08:07:41.161Z] [ 77%] Linking C executable device-gyro [2020-05-12T08:07:41.161Z] [ 77%] Built target device-gyro [2020-05-12T08:07:41.161Z] Scanning dependencies of target template-discovery [2020-05-12T08:07:41.161Z] [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-05-12T08:07:41.373Z] --2020-05-12 08:07:41-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-05-12T08:07:41.373Z] Resolving github.com... 140.82.112.3 [2020-05-12T08:07:41.373Z] Connecting to github.com|140.82.112.3|:443... connected. [2020-05-12T08:07:41.373Z] HTTP request sent, awaiting response... 302 Found [2020-05-12T08:07:41.373Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-05-12T08:07:41.373Z] --2020-05-12 08:07:41-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-05-12T08:07:41.373Z] Resolving codeload.github.com... 140.82.114.10 [2020-05-12T08:07:41.373Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2020-05-12T08:07:41.419Z] [ 80%] Linking C executable template-discovery [2020-05-12T08:07:41.419Z] [ 80%] Built target template-discovery [2020-05-12T08:07:41.419Z] Scanning dependencies of target device-terminal [2020-05-12T08:07:41.419Z] [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-05-12T08:07:41.419Z] [ 84%] Linking C executable device-terminal [2020-05-12T08:07:41.419Z] [ 84%] Built target device-terminal [2020-05-12T08:07:41.419Z] Scanning dependencies of target template2 [2020-05-12T08:07:41.419Z] [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-05-12T08:07:41.645Z] HTTP request sent, awaiting response... 200 OK [2020-05-12T08:07:41.646Z] Length: unspecified [application/x-gzip] [2020-05-12T08:07:41.646Z] Saving to: 'STDOUT' [2020-05-12T08:07:41.646Z] [2020-05-12T08:07:41.646Z] 0K .......... .......... .......... .......... .......... 1.47M [2020-05-12T08:07:41.646Z] 50K .......... .......... .......... .......... .......... 3.21M [2020-05-12T08:07:41.646Z] 100K .......... .......... .......... .......... .......... 9.40M [2020-05-12T08:07:41.646Z] 150K .......... .......... .......... .......... .......... 14.2M [2020-05-12T08:07:41.646Z] 200K .......... .......... .......... .......... .......... 4.47M [2020-05-12T08:07:41.646Z] 250K .......... .......... .......... .......... .......... 4.23M [2020-05-12T08:07:41.646Z] 300K .......... .......... .......... .......... .......... 4.19M [2020-05-12T08:07:41.646Z] 350K .......... .......... .......... .......... .......... 4.63M [2020-05-12T08:07:41.646Z] 400K .......... .......... .......... .......... .......... 3.80M [2020-05-12T08:07:41.646Z] 450K .......... .......... .......... .......... .......... 3.45M [2020-05-12T08:07:41.646Z] 500K .......... .......... .......... .......... .......... 5.78M [2020-05-12T08:07:41.646Z] 550K .......... .......... .......... .......... .......... 3.07M [2020-05-12T08:07:41.677Z] [ 87%] Linking C executable template2 [2020-05-12T08:07:41.677Z] [ 87%] Built target template2 [2020-05-12T08:07:41.677Z] Scanning dependencies of target device-counterv2 [2020-05-12T08:07:41.677Z] [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-05-12T08:07:41.677Z] [ 90%] Linking C executable device-counterv2 [2020-05-12T08:07:41.916Z] 600K .......... .......... .......... .......... .......... 869K [2020-05-12T08:07:41.916Z] 650K .......... .......... .......... .......... .......... 2.51M [2020-05-12T08:07:41.916Z] 700K ..           319K=0.2s [2020-05-12T08:07:41.916Z] [2020-05-12T08:07:41.916Z] 2020-05-12 08:07:41 (2.88 MB/s) - written to stdout [719348] [2020-05-12T08:07:41.916Z] [2020-05-12T08:07:41.935Z] [ 90%] Built target device-counterv2 [2020-05-12T08:07:41.935Z] Scanning dependencies of target device-gyrov2 [2020-05-12T08:07:41.935Z] [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o [2020-05-12T08:07:41.935Z] [ 93%] Linking C executable device-gyrov2 [2020-05-12T08:07:41.935Z] [ 93%] Built target device-gyrov2 [2020-05-12T08:07:41.935Z] Scanning dependencies of target device-randomv2 [2020-05-12T08:07:41.935Z] [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-05-12T08:07:41.935Z] [ 96%] Linking C executable device-randomv2 [2020-05-12T08:07:42.186Z] -- The C compiler identification is GNU 8.3.0 [2020-05-12T08:07:42.194Z] [ 96%] Built target device-randomv2 [2020-05-12T08:07:42.194Z] Scanning dependencies of target device-terminalv2 [2020-05-12T08:07:42.194Z] [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o [2020-05-12T08:07:42.194Z] [100%] Linking C executable device-terminalv2 [2020-05-12T08:07:42.194Z] [100%] Built target device-terminalv2 [2020-05-12T08:07:42.194Z] make: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:07:42.194Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:07:42.194Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:07:42.194Z] Scanning dependencies of target csdk [2020-05-12T08:07:42.194Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:07:42.454Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:07:42.454Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-05-12T08:07:42.456Z] -- The CXX compiler identification is GNU 8.3.0 [2020-05-12T08:07:42.456Z] -- Check for working C compiler: /usr/bin/cc [2020-05-12T08:07:42.713Z] [ 3%] Linking C shared library libcsdk.so [2020-05-12T08:07:42.713Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:07:42.713Z] [ 65%] Built target csdk [2020-05-12T08:07:42.713Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:07:42.713Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:07:42.713Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:07:42.713Z] [ 66%] Linking C executable template [2020-05-12T08:07:42.724Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-05-12T08:07:42.724Z] -- Detecting C compiler ABI info [2020-05-12T08:07:42.724Z] -- Detecting C compiler ABI info - done [2020-05-12T08:07:42.973Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:07:42.973Z] [ 68%] Built target template [2020-05-12T08:07:42.973Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:07:42.973Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:07:42.973Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:07:42.973Z] [ 69%] Linking C executable device-counter [2020-05-12T08:07:42.973Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:07:42.973Z] [ 71%] Built target device-counter [2020-05-12T08:07:42.973Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:07:42.973Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:07:42.973Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:07:42.973Z] [ 73%] Linking C executable device-random [2020-05-12T08:07:42.973Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:07:42.973Z] [ 74%] Built target device-random [2020-05-12T08:07:42.973Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:07:42.973Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:07:42.973Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:07:42.973Z] [ 76%] Linking C executable device-gyro [2020-05-12T08:07:42.991Z] -- Detecting C compile features [2020-05-12T08:07:43.235Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:07:43.235Z] [ 77%] Built target device-gyro [2020-05-12T08:07:43.235Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:07:43.235Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:07:43.235Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:07:43.235Z] [ 79%] Linking C executable template-discovery [2020-05-12T08:07:43.235Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:07:43.235Z] [ 80%] Built target template-discovery [2020-05-12T08:07:43.235Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:07:43.235Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:07:43.235Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:07:43.235Z] [ 82%] Linking C executable device-terminal [2020-05-12T08:07:43.577Z] -- Detecting C compile features - done [2020-05-12T08:07:43.577Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-05-12T08:07:43.844Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-05-12T08:07:43.845Z] -- Detecting CXX compiler ABI info [2020-05-12T08:07:44.113Z] -- Detecting CXX compiler ABI info - done [2020-05-12T08:07:44.113Z] -- Detecting CXX compile features [2020-05-12T08:07:44.174Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:07:44.174Z] [ 84%] Built target device-terminal [2020-05-12T08:07:44.174Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:07:44.174Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:07:44.174Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:07:44.174Z] [ 85%] Linking C executable template2 [2020-05-12T08:07:44.174Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:07:44.174Z] [ 87%] Built target template2 [2020-05-12T08:07:44.174Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:07:44.174Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:07:44.174Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:07:44.174Z] [ 88%] Linking C executable device-counterv2 [2020-05-12T08:07:44.433Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:07:44.433Z] [ 90%] Built target device-counterv2 [2020-05-12T08:07:44.433Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:07:44.433Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:07:44.433Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:07:44.433Z] [ 92%] Linking C executable device-gyrov2 [2020-05-12T08:07:44.433Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:07:44.433Z] [ 93%] Built target device-gyrov2 [2020-05-12T08:07:44.433Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:07:44.433Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:07:44.433Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:07:44.433Z] [ 95%] Linking C executable device-randomv2 [2020-05-12T08:07:44.433Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:07:44.433Z] [ 96%] Built target device-randomv2 [2020-05-12T08:07:44.433Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:07:44.433Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:07:44.433Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:07:44.433Z] [ 98%] Linking C executable device-terminalv2 [2020-05-12T08:07:44.691Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:07:44.691Z] [100%] Built target device-terminalv2 [2020-05-12T08:07:44.691Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:07:44.691Z] Install the project... [2020-05-12T08:07:44.691Z] -- Install configuration: "Release" [2020-05-12T08:07:44.691Z] -- Installing: /usr/local/lib/libcsdk.so [2020-05-12T08:07:44.691Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-05-12T08:07:44.691Z] -- Up-to-date: /usr/local/include [2020-05-12T08:07:44.691Z] -- Installing: /usr/local/include/devsdk [2020-05-12T08:07:44.691Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-05-12T08:07:44.691Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-05-12T08:07:44.691Z] -- Installing: /usr/local/include/edgex [2020-05-12T08:07:44.691Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-05-12T08:07:44.691Z] -- Installing: /usr/local/include/edgex/devices.h [2020-05-12T08:07:44.691Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-05-12T08:07:44.691Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-05-12T08:07:44.691Z] -- Installing: /usr/local/include/edgex/edgex-logging.h [2020-05-12T08:07:44.691Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-05-12T08:07:44.691Z] -- Installing: /usr/local/include/edgex/error.h [2020-05-12T08:07:44.691Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-05-12T08:07:44.691Z] -- Installing: /usr/local/include/edgex/os.h [2020-05-12T08:07:44.691Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-05-12T08:07:44.691Z] -- Installing: /usr/local/include/edgex/registry.h [2020-05-12T08:07:44.691Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-05-12T08:07:44.691Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-05-12T08:07:44.691Z] -- Installing: /usr/local/include/iot [2020-05-12T08:07:44.691Z] -- Installing: /usr/local/include/iot/base64.h [2020-05-12T08:07:44.691Z] -- Installing: /usr/local/include/iot/component.h [2020-05-12T08:07:44.691Z] -- Installing: /usr/local/include/iot/container.h [2020-05-12T08:07:44.691Z] -- Installing: /usr/local/include/iot/data.h [2020-05-12T08:07:44.691Z] -- Installing: /usr/local/include/iot/hash.h [2020-05-12T08:07:44.691Z] -- Installing: /usr/local/include/iot/iot.h [2020-05-12T08:07:44.691Z] -- Installing: /usr/local/include/iot/json.h [2020-05-12T08:07:44.691Z] -- Installing: /usr/local/include/iot/logger.h [2020-05-12T08:07:44.691Z] -- Installing: /usr/local/include/iot/os.h [2020-05-12T08:07:44.691Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-05-12T08:07:44.691Z] -- Installing: /usr/local/include/iot/thread.h [2020-05-12T08:07:44.691Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-05-12T08:07:44.691Z] -- Installing: /usr/local/include/iot/time.h [2020-05-12T08:07:44.691Z] -- Installing: /usr/local/include/iot/typecode.h [2020-05-12T08:07:44.691Z] -- Installing: /usr/local/include/iot/os [2020-05-12T08:07:44.691Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-05-12T08:07:44.691Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-05-12T08:07:44.691Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-05-12T08:07:44.691Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-05-12T08:07:44.691Z] make: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:07:45.262Z] Removing intermediate container 52e85c7a7a7d [2020-05-12T08:07:45.262Z] ---> 8b90d85b1040 [2020-05-12T08:07:45.262Z] Step 14/21 : FROM alpine:3.9 [2020-05-12T08:07:45.521Z] 3.9: Pulling from library/alpine [2020-05-12T08:07:45.526Z] -- Detecting CXX compile features - done [2020-05-12T08:07:45.526Z] -- Looking for include file endian.h [2020-05-12T08:07:45.780Z] 31603596830f: Pulling fs layer [2020-05-12T08:07:45.780Z] 31603596830f: Verifying Checksum [2020-05-12T08:07:45.780Z] 31603596830f: Download complete [2020-05-12T08:07:45.795Z] -- Looking for include file endian.h - found [2020-05-12T08:07:45.795Z] -- Check if the system is big endian [2020-05-12T08:07:45.795Z] -- Searching 16 bit integer [2020-05-12T08:07:45.795Z] -- Looking for sys/types.h [2020-05-12T08:07:46.040Z] 31603596830f: Pull complete [2020-05-12T08:07:46.040Z] Digest: sha256:414e0518bb9228d35e4cd5165567fb91d26c6a214e9c95899e1e056fcd349011 [2020-05-12T08:07:46.040Z] Status: Downloaded newer image for alpine:3.9 [2020-05-12T08:07:46.040Z] ---> 78a2ce922f86 [2020-05-12T08:07:46.040Z] Step 15/21 : MAINTAINER IOTech [2020-05-12T08:07:46.040Z] ---> Running in 49a4181ae1fc [2020-05-12T08:07:46.073Z] -- Looking for sys/types.h - found [2020-05-12T08:07:46.073Z] -- Looking for stdint.h [2020-05-12T08:07:46.301Z] Removing intermediate container 49a4181ae1fc [2020-05-12T08:07:46.301Z] ---> 6eedb0bc6b20 [2020-05-12T08:07:46.301Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-05-12T08:07:46.301Z] ---> Running in 2926dfece58a [2020-05-12T08:07:46.341Z] -- Looking for stdint.h - found [2020-05-12T08:07:46.341Z] -- Looking for stddef.h [2020-05-12T08:07:46.572Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-05-12T08:07:46.618Z] -- Looking for stddef.h - found [2020-05-12T08:07:46.618Z] -- Check size of unsigned short [2020-05-12T08:07:46.832Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-05-12T08:07:46.832Z] (1/48) Installing binutils (2.31.1-r2) [2020-05-12T08:07:46.889Z] -- Check size of unsigned short - done [2020-05-12T08:07:46.889Z] -- Using unsigned short [2020-05-12T08:07:47.093Z] (2/48) Installing libmagic (5.36-r1) [2020-05-12T08:07:47.093Z] (3/48) Installing file (5.36-r1) [2020-05-12T08:07:47.093Z] (4/48) Installing gmp (6.1.2-r1) [2020-05-12T08:07:47.093Z] (5/48) Installing isl (0.18-r0) [2020-05-12T08:07:47.093Z] (6/48) Installing libgomp (8.3.0-r0) [2020-05-12T08:07:47.093Z] (7/48) Installing libatomic (8.3.0-r0) [2020-05-12T08:07:47.093Z] (8/48) Installing libgcc (8.3.0-r0) [2020-05-12T08:07:47.093Z] (9/48) Installing mpfr3 (3.1.5-r1) [2020-05-12T08:07:47.093Z] (10/48) Installing mpc1 (1.0.3-r1) [2020-05-12T08:07:47.093Z] (11/48) Installing libstdc++ (8.3.0-r0) [2020-05-12T08:07:47.093Z] (12/48) Installing gcc (8.3.0-r0) [2020-05-12T08:07:47.159Z] -- Check if the system is big endian - little endian [2020-05-12T08:07:47.159Z] -- Check size of size_t [2020-05-12T08:07:47.434Z] -- Check size of size_t - done [2020-05-12T08:07:47.434Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-05-12T08:07:47.434Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-05-12T08:07:47.434Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-05-12T08:07:47.434Z] CMake did not find one. [2020-05-12T08:07:47.434Z] [2020-05-12T08:07:47.434Z] Could not find a package configuration file provided by "cJSON" with any of [2020-05-12T08:07:47.434Z] the following names: [2020-05-12T08:07:47.434Z] [2020-05-12T08:07:47.434Z] cJSONConfig.cmake [2020-05-12T08:07:47.434Z] cjson-config.cmake [2020-05-12T08:07:47.434Z] [2020-05-12T08:07:47.434Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-05-12T08:07:47.434Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-05-12T08:07:47.434Z] provides a separate development package or SDK, be sure it has been [2020-05-12T08:07:47.434Z] installed. [2020-05-12T08:07:47.434Z] [2020-05-12T08:07:47.434Z] [2020-05-12T08:07:47.434Z] -- Configuring done [2020-05-12T08:07:47.706Z] -- Generating done [2020-05-12T08:07:47.706Z] -- Build files have been written to: /tmp/cbor [2020-05-12T08:07:47.706Z] Scanning dependencies of target cbor_shared [2020-05-12T08:07:47.706Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-05-12T08:07:48.678Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-05-12T08:07:48.946Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-05-12T08:07:49.223Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-05-12T08:07:49.811Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-05-12T08:07:50.080Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-05-12T08:07:50.346Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-05-12T08:07:50.346Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-05-12T08:07:50.616Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-05-12T08:07:50.885Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-05-12T08:07:51.308Z] (13/48) Installing musl-dev (1.1.20-r5) [2020-05-12T08:07:51.308Z] (14/48) Installing libc-dev (0.7.1-r0) [2020-05-12T08:07:51.308Z] (15/48) Installing g++ (8.3.0-r0) [2020-05-12T08:07:51.480Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-05-12T08:07:51.746Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-05-12T08:07:51.877Z] (16/48) Installing make (4.2.1-r2) [2020-05-12T08:07:51.877Z] (17/48) Installing fortify-headers (1.0-r0) [2020-05-12T08:07:51.877Z] (18/48) Installing build-base (0.5-r1) [2020-05-12T08:07:51.877Z] (19/48) Installing libattr (2.4.47-r7) [2020-05-12T08:07:51.877Z] (20/48) Installing libacl (2.2.52-r5) [2020-05-12T08:07:51.877Z] (21/48) Installing libbz2 (1.0.6-r7) [2020-05-12T08:07:51.877Z] (22/48) Installing expat (2.2.8-r0) [2020-05-12T08:07:51.877Z] (23/48) Installing lz4-libs (1.8.3-r2) [2020-05-12T08:07:51.877Z] (24/48) Installing xz-libs (5.2.4-r0) [2020-05-12T08:07:51.877Z] (25/48) Installing libarchive (3.3.3-r2) [2020-05-12T08:07:51.877Z] (26/48) Installing ca-certificates (20191127-r0) [2020-05-12T08:07:51.877Z] (27/48) Installing nghttp2-libs (1.35.1-r1) [2020-05-12T08:07:51.877Z] (28/48) Installing libssh2 (1.9.0-r1) [2020-05-12T08:07:51.877Z] (29/48) Installing libcurl (7.64.0-r3) [2020-05-12T08:07:51.877Z] (30/48) Installing ncurses-terminfo-base (6.1_p20190105-r0) [2020-05-12T08:07:51.877Z] (31/48) Installing ncurses-terminfo (6.1_p20190105-r0) [2020-05-12T08:07:52.012Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-05-12T08:07:52.136Z] (32/48) Installing ncurses-libs (6.1_p20190105-r0) [2020-05-12T08:07:52.279Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-05-12T08:07:52.395Z] (33/48) Installing rhash-libs (1.3.6-r2) [2020-05-12T08:07:52.395Z] (34/48) Installing libuv (1.23.2-r0) [2020-05-12T08:07:52.395Z] (35/48) Installing cmake (3.13.0-r0) [2020-05-12T08:07:52.547Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-05-12T08:07:52.815Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-05-12T08:07:53.093Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-05-12T08:07:53.334Z] (36/48) Installing curl (7.64.0-r3) [2020-05-12T08:07:53.334Z] (37/48) Installing pcre2 (10.32-r1) [2020-05-12T08:07:53.334Z] (38/48) Installing git (2.20.4-r0) [2020-05-12T08:07:53.363Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-05-12T08:07:53.632Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-05-12T08:07:53.900Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-05-12T08:07:53.900Z] [ 40%] Linking C shared library libcbor.so [2020-05-12T08:07:54.167Z] [ 40%] Built target cbor_shared [2020-05-12T08:07:54.167Z] Scanning dependencies of target cbor [2020-05-12T08:07:54.167Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-05-12T08:07:54.721Z] (39/48) Installing nettle (3.4.1-r0) [2020-05-12T08:07:54.721Z] (40/48) Installing libffi (3.2.1-r6) [2020-05-12T08:07:54.721Z] (41/48) Installing p11-kit (0.23.14-r0) [2020-05-12T08:07:54.721Z] (42/48) Installing libtasn1 (4.14-r0) [2020-05-12T08:07:54.721Z] (43/48) Installing libunistring (0.9.10-r0) [2020-05-12T08:07:54.721Z] (44/48) Installing gnutls (3.6.7-r1) [2020-05-12T08:07:54.721Z] (45/48) Installing libmicrohttpd (0.9.62-r0) [2020-05-12T08:07:54.721Z] (46/48) Installing libuuid (2.33-r0) [2020-05-12T08:07:54.721Z] (47/48) Installing wget (1.20.3-r0) [2020-05-12T08:07:54.721Z] (48/48) Installing yaml (0.2.1-r0) [2020-05-12T08:07:54.721Z] Executing busybox-1.29.3-r10.trigger [2020-05-12T08:07:54.721Z] Executing ca-certificates-20191127-r0.trigger [2020-05-12T08:07:54.721Z] OK: 222 MiB in 62 packages [2020-05-12T08:07:54.766Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-05-12T08:07:55.352Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-05-12T08:07:55.619Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-05-12T08:07:57.034Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-05-12T08:07:57.034Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-05-12T08:07:57.305Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-05-12T08:07:57.306Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-05-12T08:07:57.575Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-05-12T08:07:57.843Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-05-12T08:07:58.430Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-05-12T08:07:59.018Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-05-12T08:07:59.286Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-05-12T08:07:59.554Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-05-12T08:07:59.822Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-05-12T08:08:00.088Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-05-12T08:08:00.356Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-05-12T08:08:00.625Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-05-12T08:08:00.892Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-05-12T08:08:01.160Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-05-12T08:08:01.295Z] Removing intermediate container 2926dfece58a [2020-05-12T08:08:01.295Z] ---> 7102277aebe5 [2020-05-12T08:08:01.295Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-05-12T08:08:01.295Z] ---> cc225c3e24d1 [2020-05-12T08:08:01.295Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-05-12T08:08:01.295Z] ---> f8cf79bd12dd [2020-05-12T08:08:01.295Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-05-12T08:08:01.295Z] ---> 385e438ae488 [2020-05-12T08:08:01.295Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-05-12T08:08:01.295Z] ---> 73beb45fb888 [2020-05-12T08:08:01.295Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-05-12T08:08:01.295Z] ---> 2788beb3c67b [2020-05-12T08:08:01.434Z] [ 80%] Linking C static library libcbor.a [2020-05-12T08:08:01.434Z] [ 80%] Built target cbor [2020-05-12T08:08:01.434Z] Scanning dependencies of target create_items [2020-05-12T08:08:01.434Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-05-12T08:08:01.557Z] Successfully built 2788beb3c67b [2020-05-12T08:08:01.557Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [2020-05-12T08:08:01.714Z] [ 84%] Linking C executable create_items [2020-05-12T08:08:01.714Z] [ 84%] Built target create_items [2020-05-12T08:08:01.714Z] Scanning dependencies of target readfile [2020-05-12T08:08:01.714Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-05-12T08:08:02.005Z] [ 88%] Linking C executable readfile [2020-05-12T08:08:02.005Z] [ 88%] Built target readfile [2020-05-12T08:08:02.005Z] Scanning dependencies of target streaming_parser [2020-05-12T08:08:02.005Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-05-12T08:08:02.253Z] + docker inspect -f . ci-base-image-x86_64 [2020-05-12T08:08:02.253Z] . [Pipeline] withDockerContainer [2020-05-12T08:08:02.276Z] [ 92%] Linking C executable streaming_parser [2020-05-12T08:08:02.276Z] [ 92%] Built target streaming_parser [2020-05-12T08:08:02.276Z] Scanning dependencies of target sort [2020-05-12T08:08:02.385Z] prd-centos7-docker-4c-2g-8000 does not seem to be running inside a container [2020-05-12T08:08:02.446Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/20 -v /w/workspace/device-sdk-c/20:/w/workspace/device-sdk-c/20:rw,z -v /w/workspace/device-sdk-c/20@tmp:/w/workspace/device-sdk-c/20@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 ******** ci-base-image-x86_64 cat [2020-05-12T08:08:02.546Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-05-12T08:08:02.546Z] [ 96%] Linking C executable sort [2020-05-12T08:08:02.546Z] [ 96%] Built target sort [2020-05-12T08:08:02.815Z] Scanning dependencies of target hello [2020-05-12T08:08:02.815Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-05-12T08:08:02.815Z] [100%] Linking C executable hello [2020-05-12T08:08:02.815Z] [100%] Built target hello [2020-05-12T08:08:03.004Z] $ docker top 47da19520f7dea561dec1ed1e2d90a414acba82cdf0503c998ba04e9123574da -eo pid,comm [2020-05-12T08:08:03.085Z] Install the project... [2020-05-12T08:08:03.085Z] -- Install configuration: "Release" [2020-05-12T08:08:03.085Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-05-12T08:08:03.085Z] -- Installing: /usr/local/lib64/libcbor.a [2020-05-12T08:08:03.085Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-05-12T08:08:03.085Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-05-12T08:08:03.085Z] -- Installing: /usr/local/lib64/libcbor.so [2020-05-12T08:08:03.085Z] -- Up-to-date: /usr/local/include/cbor [2020-05-12T08:08:03.085Z] -- Installing: /usr/local/include/cbor/common.h [2020-05-12T08:08:03.085Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-05-12T08:08:03.085Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-05-12T08:08:03.085Z] -- Installing: /usr/local/include/cbor/maps.h [2020-05-12T08:08:03.085Z] -- Installing: /usr/local/include/cbor/strings.h [2020-05-12T08:08:03.085Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-05-12T08:08:03.085Z] -- Installing: /usr/local/include/cbor/internal [2020-05-12T08:08:03.085Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-05-12T08:08:03.085Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-05-12T08:08:03.085Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-05-12T08:08:03.085Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-05-12T08:08:03.085Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-05-12T08:08:03.085Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-05-12T08:08:03.085Z] -- Installing: /usr/local/include/cbor/data.h [2020-05-12T08:08:03.085Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-05-12T08:08:03.085Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-05-12T08:08:03.085Z] -- Installing: /usr/local/include/cbor/tags.h [2020-05-12T08:08:03.085Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-05-12T08:08:03.085Z] -- Installing: /usr/local/include/cbor/ints.h [2020-05-12T08:08:03.085Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-05-12T08:08:03.085Z] -- Installing: /usr/local/include/cbor.h [2020-05-12T08:08:03.085Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [Pipeline] { [Pipeline] sh [2020-05-12T08:08:03.514Z] + make test [2020-05-12T08:08:03.514Z] echo "make test" [2020-05-12T08:08:03.514Z] make test [Pipeline] } [2020-05-12T08:08:03.526Z] $ docker stop --time=1 47da19520f7dea561dec1ed1e2d90a414acba82cdf0503c998ba04e9123574da [2020-05-12T08:08:05.683Z] Removing intermediate container 13e9df416fb7 [2020-05-12T08:08:05.683Z] ---> ee69ee3e3a37 [2020-05-12T08:08:05.683Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-05-12T08:08:05.683Z] ---> Running in 50af2f5b2196 [2020-05-12T08:08:05.913Z] $ docker rm -f 47da19520f7dea561dec1ed1e2d90a414acba82cdf0503c998ba04e9123574da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2020-05-12T08:08:07.104Z] Removing intermediate container 50af2f5b2196 [2020-05-12T08:08:07.104Z] ---> 5bdc87bab1ef [2020-05-12T08:08:07.104Z] Step 7/21 : COPY VERSION /tmp/sdk [Pipeline] sh [2020-05-12T08:08:07.502Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-05-12T08:08:07.695Z] ---> 8e0165654aae [2020-05-12T08:08:07.695Z] Step 8/21 : COPY src /tmp/sdk/src [2020-05-12T08:08:07.805Z] + ls -al . [2020-05-12T08:08:07.805Z] total 160 [2020-05-12T08:08:07.805Z] drwxrwxr-x. 8 jenkins jenkins 260 May 12 08:07 . [2020-05-12T08:08:07.805Z] drwxrwxr-x. 4 jenkins jenkins 30 May 12 08:06 .. [2020-05-12T08:08:07.805Z] -rw-rw-r--. 1 jenkins jenkins 3104 May 12 08:06 Attribution.txt [2020-05-12T08:08:07.805Z] -rw-rw-r--. 1 jenkins jenkins 5393 May 12 08:06 CHANGES [2020-05-12T08:08:07.805Z] drwxrwxr-x. 2 jenkins jenkins 144 May 12 08:06 docs [2020-05-12T08:08:07.805Z] -rw-rw-r--. 1 jenkins jenkins 108574 May 12 08:06 Doxyfile [2020-05-12T08:08:07.805Z] drwxrwxr-x. 8 jenkins jenkins 162 May 12 08:07 .git [2020-05-12T08:08:07.805Z] -rw-rw-r--. 1 jenkins jenkins 176 May 12 08:06 .gitignore [2020-05-12T08:08:07.805Z] drwxrwxr-x. 4 jenkins jenkins 33 May 12 08:06 include [2020-05-12T08:08:07.805Z] -rw-rw-r--. 1 jenkins jenkins 792 May 12 08:06 Jenkinsfile [2020-05-12T08:08:07.805Z] -rw-rw-r--. 1 jenkins jenkins 10174 May 12 08:06 LICENSE [2020-05-12T08:08:07.805Z] -rw-rw-r--. 1 jenkins jenkins 448 May 12 08:06 Makefile [2020-05-12T08:08:07.805Z] -rw-rw-r--. 1 jenkins jenkins 1849 May 12 08:06 README.md [2020-05-12T08:08:07.805Z] -rw-rw-r--. 1 jenkins jenkins 5287 May 12 08:06 README.v2.md [2020-05-12T08:08:07.805Z] drwxrwxr-x. 2 jenkins jenkins 106 May 12 08:06 scripts [2020-05-12T08:08:07.805Z] drwxrwxr-x. 3 jenkins jenkins 44 May 12 08:07 .semver [2020-05-12T08:08:07.805Z] drwxrwxr-x. 4 jenkins jenkins 50 May 12 08:06 src [2020-05-12T08:08:07.805Z] -rw-rw-r--. 1 jenkins jenkins 11 May 12 08:04 VERSION [Pipeline] isUnix [Pipeline] sh [2020-05-12T08:08:08.137Z] + 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=16c2a897f1bf182c8f6ba1bddddf4975b453e4d5 --label arch=amd64 --label version=1.2.1-dev.1 . [2020-05-12T08:08:08.137Z] Sending build context to Docker daemon 3.045MB [2020-05-12T08:08:08.137Z] Step 1/15 : ARG BASE=alpine:3.9 [2020-05-12T08:08:08.137Z] Step 2/15 : FROM ${BASE} [2020-05-12T08:08:08.137Z] ---> 2788beb3c67b [2020-05-12T08:08:08.137Z] Step 3/15 : MAINTAINER IOTech [2020-05-12T08:08:08.295Z] ---> 679e9ba55a6e [2020-05-12T08:08:08.295Z] Step 9/21 : COPY include /tmp/sdk/include [2020-05-12T08:08:08.399Z] ---> Running in 94b9b2c03f67 [2020-05-12T08:08:08.399Z] Removing intermediate container 94b9b2c03f67 [2020-05-12T08:08:08.399Z] ---> 8c1b9fdb43c5 [2020-05-12T08:08:08.399Z] 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-05-12T08:08:08.399Z] ---> Running in f2a642f9d0e8 [2020-05-12T08:08:08.885Z] ---> aaa07e3d1a19 [2020-05-12T08:08:08.885Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-05-12T08:08:08.967Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-05-12T08:08:08.967Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-05-12T08:08:08.967Z] (1/21) Installing pkgconf (1.6.0-r0) [2020-05-12T08:08:08.967Z] (2/21) Installing openssl-dev (1.1.1g-r0) [2020-05-12T08:08:09.227Z] (3/21) Installing zlib-dev (1.2.11-r1) [2020-05-12T08:08:09.227Z] (4/21) Installing libssh2-dev (1.9.0-r1) [2020-05-12T08:08:09.227Z] (5/21) Installing nghttp2-dev (1.35.1-r1) [2020-05-12T08:08:09.227Z] (6/21) Installing curl-dev (7.64.0-r3) [2020-05-12T08:08:09.227Z] (7/21) Installing gnutls-c++ (3.6.7-r1) [2020-05-12T08:08:09.227Z] (8/21) Installing libgmpxx (6.1.2-r1) [2020-05-12T08:08:09.227Z] (9/21) Installing gmp-dev (6.1.2-r1) [2020-05-12T08:08:09.227Z] (10/21) Installing nettle-dev (3.4.1-r0) [2020-05-12T08:08:09.472Z] ---> 241c744dceba [2020-05-12T08:08:09.472Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-05-12T08:08:09.489Z] (11/21) Installing libtasn1-dev (4.14-r0) [2020-05-12T08:08:09.489Z] (12/21) Installing p11-kit-dev (0.23.14-r0) [2020-05-12T08:08:09.489Z] (13/21) Installing gnutls-dev (3.6.7-r1) [2020-05-12T08:08:09.489Z] (14/21) Installing libmicrohttpd-dev (0.9.62-r0) [2020-05-12T08:08:09.489Z] (15/21) Installing ncurses-dev (6.1_p20190105-r0) [2020-05-12T08:08:09.489Z] (16/21) Installing libblkid (2.33-r0) [2020-05-12T08:08:09.489Z] (17/21) Installing libfdisk (2.33-r0) [2020-05-12T08:08:09.489Z] (18/21) Installing libmount (2.33-r0) [2020-05-12T08:08:09.489Z] (19/21) Installing libsmartcols (2.33-r0) [2020-05-12T08:08:09.489Z] (20/21) Installing util-linux-dev (2.33-r0) [2020-05-12T08:08:09.490Z] (21/21) Installing yaml-dev (0.2.1-r0) [2020-05-12T08:08:09.490Z] Executing busybox-1.29.3-r10.trigger [2020-05-12T08:08:09.490Z] OK: 266 MiB in 83 packages [2020-05-12T08:08:09.743Z] ---> a7bf25ebebf4 [2020-05-12T08:08:09.743Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-05-12T08:08:10.330Z] ---> b4424e539f34 [2020-05-12T08:08:10.330Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-05-12T08:08:10.429Z] Removing intermediate container f2a642f9d0e8 [2020-05-12T08:08:10.429Z] ---> 8da0827a8256 [2020-05-12T08:08:10.429Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-05-12T08:08:10.429Z] ---> e797ae64dae4 [2020-05-12T08:08:10.429Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-05-12T08:08:10.599Z] ---> Running in 54a274fd9f61 [2020-05-12T08:08:10.689Z] ---> 36579399a83c [2020-05-12T08:08:10.689Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-05-12T08:08:10.949Z] ---> f88019f9d177 [2020-05-12T08:08:10.949Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-05-12T08:08:11.209Z] ---> bacc38c8b66c [2020-05-12T08:08:11.209Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-05-12T08:08:11.209Z] ---> 23dfe4d7bbd7 [2020-05-12T08:08:11.209Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-05-12T08:08:11.474Z] ---> b52425f9b71d [2020-05-12T08:08:11.474Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-05-12T08:08:11.474Z] ---> Running in 52eda41116cc [2020-05-12T08:08:11.474Z] Removing intermediate container 52eda41116cc [2020-05-12T08:08:11.474Z] ---> 2bc90ad3cfe9 [2020-05-12T08:08:11.474Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-05-12T08:08:11.562Z] + CPPCHECK=false [2020-05-12T08:08:11.562Z] + DOCGEN=false [2020-05-12T08:08:11.562Z] + TOMLVER=SDK-0.2 [2020-05-12T08:08:11.562Z] + CUTILVER=1.0.4 [2020-05-12T08:08:11.562Z] + '[' 0 -gt 0 ] [2020-05-12T08:08:11.562Z] + readlink -f ./scripts/build.sh [2020-05-12T08:08:11.562Z] + dirname /tmp/sdk/scripts/build.sh [2020-05-12T08:08:11.562Z] + dirname /tmp/sdk/scripts [2020-05-12T08:08:11.562Z] + ROOT=/tmp/sdk [2020-05-12T08:08:11.562Z] + cd /tmp/sdk [2020-05-12T08:08:11.562Z] + '[' '!' -d deps ] [2020-05-12T08:08:11.562Z] + mkdir deps [2020-05-12T08:08:11.562Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-05-12T08:08:11.562Z] + tar -C deps -z -x -f - [2020-05-12T08:08:11.562Z] --2020-05-12 08:08:11-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-05-12T08:08:11.562Z] Resolving github.com... 140.82.114.4 [2020-05-12T08:08:11.562Z] Connecting to github.com|140.82.114.4|:443... connected. [2020-05-12T08:08:11.734Z] ---> Running in b928234b8393 [2020-05-12T08:08:11.734Z] Removing intermediate container b928234b8393 [2020-05-12T08:08:11.734Z] ---> 173db2e23f43 [2020-05-12T08:08:11.734Z] Step 13/15 : LABEL arch=amd64 [2020-05-12T08:08:11.734Z] ---> Running in 2989ae34e041 [2020-05-12T08:08:11.840Z] HTTP request sent, awaiting response... 302 Found [2020-05-12T08:08:11.840Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-05-12T08:08:11.840Z] --2020-05-12 08:08:11-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-05-12T08:08:11.840Z] Resolving codeload.github.com... 140.82.114.10 [2020-05-12T08:08:11.840Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2020-05-12T08:08:11.840Z] HTTP request sent, awaiting response... 200 OK [2020-05-12T08:08:11.840Z] Length: unspecified [application/x-gzip] [2020-05-12T08:08:11.840Z] Saving to: 'STDOUT' [2020-05-12T08:08:11.840Z]  [2020-05-12T08:08:11.840Z] 0K .......... ...... 882K=0.02s [2020-05-12T08:08:11.840Z] [2020-05-12T08:08:11.840Z] 2020-05-12 08:08:11 (882 KB/s) - written to stdout [16451] [2020-05-12T08:08:11.840Z] [2020-05-12T08:08:11.994Z] Removing intermediate container 2989ae34e041 [2020-05-12T08:08:11.994Z] ---> c94c59aef604 [2020-05-12T08:08:11.994Z] Step 14/15 : LABEL git_sha=16c2a897f1bf182c8f6ba1bddddf4975b453e4d5 [2020-05-12T08:08:11.994Z] ---> Running in 50cad04b2fd1 [2020-05-12T08:08:11.994Z] Removing intermediate container 50cad04b2fd1 [2020-05-12T08:08:11.994Z] ---> df0b55e7ebea [2020-05-12T08:08:11.994Z] Step 15/15 : LABEL version=1.2.1-dev.1 [2020-05-12T08:08:12.106Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-05-12T08:08:12.106Z] + + tarwget -C -O deps - -z https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-05-12T08:08:12.106Z] -x -f - [2020-05-12T08:08:12.106Z] --2020-05-12 08:08:11-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-05-12T08:08:12.106Z] Resolving github.com... 140.82.114.4 [2020-05-12T08:08:12.106Z] Connecting to github.com|140.82.114.4|:443... connected. [2020-05-12T08:08:12.106Z] HTTP request sent, awaiting response... 302 Found [2020-05-12T08:08:12.106Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] [2020-05-12T08:08:12.106Z] --2020-05-12 08:08:12-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [2020-05-12T08:08:12.106Z] Resolving codeload.github.com... 140.82.114.10 [2020-05-12T08:08:12.106Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2020-05-12T08:08:12.253Z] ---> Running in 39b3a061a2e7 [2020-05-12T08:08:12.253Z] Removing intermediate container 39b3a061a2e7 [2020-05-12T08:08:12.253Z] ---> c11c411d60e2 [2020-05-12T08:08:12.253Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2020-05-12T08:08:12.253Z] Successfully built c11c411d60e2 [2020-05-12T08:08:12.253Z] Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [2020-05-12T08:08:12.374Z] HTTP request sent, awaiting response... 200 OK [2020-05-12T08:08:12.374Z] Length: unspecified [application/x-gzip] [2020-05-12T08:08:12.374Z] Saving to: 'STDOUT' [2020-05-12T08:08:12.374Z]  [2020-05-12T08:08:12.374Z] 0K .......... .......... .......... .......... .......... 1.59M [2020-05-12T08:08:12.374Z] 50K .......... .......... .......... .......... .......... 2.82M [2020-05-12T08:08:12.374Z] 100K .......... .......... .......... .......... .......... 5.64M [2020-05-12T08:08:12.374Z] 150K ........ 3.40M=0.06s [2020-05-12T08:08:12.374Z] [2020-05-12T08:08:12.374Z] 2020-05-12 08:08:12 (2.62 MB/s) - written to stdout [162267] [2020-05-12T08:08:12.374Z] [2020-05-12T08:08:12.374Z] + mkdir -p src/c/iot [2020-05-12T08:08:12.374Z] + 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-05-12T08:08:12.374Z] + mkdir -p include/iot [2020-05-12T08:08:12.374Z] + 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-05-12T08:08:12.374Z] + mkdir -p include/iot/os [2020-05-12T08:08:12.374Z] + 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-05-12T08:08:12.374Z] + mkdir -p /tmp/sdk/build/release [2020-05-12T08:08:12.374Z] + cd /tmp/sdk/build/release [2020-05-12T08:08:12.375Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [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] } [2020-05-12T08:08:12.960Z] -- The C compiler identification is GNU 8.3.0 [2020-05-12T08:08:12.960Z] -- Check for working C compiler: /usr/bin/cc [2020-05-12T08:08:12.960Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-05-12T08:08:12.960Z] -- Detecting C compiler ABI info [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [2020-05-12T08:08:13.227Z] -- Detecting C compiler ABI info - done [2020-05-12T08:08:13.227Z] -- Detecting C compile features [Pipeline] } [2020-05-12T08:08:14.193Z] -- Detecting C compile features - done [2020-05-12T08:08:14.193Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-05-12T08:08:14.193Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-05-12T08:08:14.193Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-05-12T08:08:14.193Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-05-12T08:08:14.193Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-05-12T08:08:14.193Z] -- C SDK 1.2.1-dev.1 for Linux [2020-05-12T08:08:14.193Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-05-12T08:08:14.193Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-05-12T08:08:14.193Z] -- Found Curses: /usr/lib/libcurses.so [2020-05-12T08:08:14.460Z] -- Configuring done [2020-05-12T08:08:14.727Z] -- Generating done [2020-05-12T08:08:14.727Z] -- Build files have been written to: /tmp/sdk/build/release [2020-05-12T08:08:14.727Z] + make [2020-05-12T08:08:14.727Z] + tee release.log [2020-05-12T08:08:14.727Z] Scanning dependencies of target csdk [2020-05-12T08:08:14.995Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-05-12T08:08:15.582Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-05-12T08:08:15.854Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-05-12T08:08:17.801Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-05-12T08:08:18.066Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-05-12T08:08:18.335Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-05-12T08:08:19.300Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-05-12T08:08:21.241Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-05-12T08:08:21.241Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-05-12T08:08:21.824Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-05-12T08:08:22.407Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-05-12T08:08:22.677Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-05-12T08:08:22.945Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-05-12T08:08:23.212Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-05-12T08:08:26.549Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-05-12T08:08:26.549Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-05-12T08:08:27.131Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-05-12T08:08:27.713Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-05-12T08:08:29.685Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-05-12T08:08:29.954Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-05-12T08:08:30.223Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-05-12T08:08:30.807Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-05-12T08:08:31.075Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-05-12T08:08:31.349Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-05-12T08:08:32.320Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-05-12T08:08:32.320Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-05-12T08:08:32.902Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-05-12T08:08:33.169Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-05-12T08:08:33.753Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-05-12T08:08:34.746Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-05-12T08:08:34.746Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-05-12T08:08:39.014Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-05-12T08:08:39.282Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-05-12T08:08:39.867Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-05-12T08:08:40.451Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-05-12T08:08:41.862Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-05-12T08:08:43.268Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-05-12T08:08:46.610Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-05-12T08:08:46.878Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-05-12T08:08:48.294Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-05-12T08:08:48.562Z] [ 65%] Linking C shared library libcsdk.so [2020-05-12T08:08:48.830Z] [ 65%] Built target csdk [2020-05-12T08:08:48.830Z] Scanning dependencies of target template [2020-05-12T08:08:48.830Z] [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-05-12T08:08:49.414Z] [ 68%] Linking C executable template [2020-05-12T08:08:49.414Z] [ 68%] Built target template [2020-05-12T08:08:49.414Z] Scanning dependencies of target device-counter [2020-05-12T08:08:49.414Z] [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-05-12T08:08:49.999Z] [ 71%] Linking C executable device-counter [2020-05-12T08:08:50.267Z] [ 71%] Built target device-counter [2020-05-12T08:08:50.267Z] Scanning dependencies of target device-random [2020-05-12T08:08:50.267Z] [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-05-12T08:08:50.536Z] [ 74%] Linking C executable device-random [2020-05-12T08:08:50.805Z] [ 74%] Built target device-random [2020-05-12T08:08:50.805Z] Scanning dependencies of target device-gyro [2020-05-12T08:08:50.805Z] [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-05-12T08:08:51.396Z] [ 77%] Linking C executable device-gyro [2020-05-12T08:08:51.396Z] [ 77%] Built target device-gyro [2020-05-12T08:08:51.396Z] Scanning dependencies of target template-discovery [2020-05-12T08:08:51.663Z] [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-05-12T08:08:52.247Z] [ 80%] Linking C executable template-discovery [2020-05-12T08:08:52.247Z] [ 80%] Built target template-discovery [2020-05-12T08:08:52.513Z] Scanning dependencies of target device-terminal [2020-05-12T08:08:52.513Z] [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-05-12T08:08:52.781Z] [ 84%] Linking C executable device-terminal [2020-05-12T08:08:53.050Z] [ 84%] Built target device-terminal [2020-05-12T08:08:53.050Z] Scanning dependencies of target template2 [2020-05-12T08:08:53.050Z] [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-05-12T08:08:53.638Z] [ 87%] Linking C executable template2 [2020-05-12T08:08:53.906Z] [ 87%] Built target template2 [2020-05-12T08:08:53.906Z] Scanning dependencies of target device-counterv2 [2020-05-12T08:08:53.906Z] [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-05-12T08:08:54.489Z] [ 90%] Linking C executable device-counterv2 [2020-05-12T08:08:54.756Z] [ 90%] Built target device-counterv2 [2020-05-12T08:08:54.756Z] Scanning dependencies of target device-gyrov2 [2020-05-12T08:08:54.756Z] [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o [2020-05-12T08:08:55.025Z] [ 93%] Linking C executable device-gyrov2 [2020-05-12T08:08:55.292Z] [ 93%] Built target device-gyrov2 [2020-05-12T08:08:55.292Z] Scanning dependencies of target device-randomv2 [2020-05-12T08:08:55.292Z] [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-05-12T08:08:55.877Z] [ 96%] Linking C executable device-randomv2 [2020-05-12T08:08:55.877Z] [ 96%] Built target device-randomv2 [2020-05-12T08:08:55.877Z] Scanning dependencies of target device-terminalv2 [2020-05-12T08:08:56.145Z] [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o [2020-05-12T08:08:56.412Z] [100%] Linking C executable device-terminalv2 [2020-05-12T08:08:56.684Z] [100%] Built target device-terminalv2 [2020-05-12T08:08:56.684Z] + make package [2020-05-12T08:08:56.684Z] + tee -a release.log [2020-05-12T08:08:56.953Z] [ 65%] Built target csdk [2020-05-12T08:08:56.953Z] [ 68%] Built target template [2020-05-12T08:08:56.953Z] [ 71%] Built target device-counter [2020-05-12T08:08:56.953Z] [ 74%] Built target device-random [2020-05-12T08:08:56.953Z] [ 77%] Built target device-gyro [2020-05-12T08:08:57.222Z] [ 80%] Built target template-discovery [2020-05-12T08:08:57.222Z] [ 84%] Built target device-terminal [2020-05-12T08:08:57.222Z] [ 87%] Built target template2 [2020-05-12T08:08:57.222Z] [ 90%] Built target device-counterv2 [2020-05-12T08:08:57.222Z] [ 93%] Built target device-gyrov2 [2020-05-12T08:08:57.222Z] [ 96%] Built target device-randomv2 [2020-05-12T08:08:57.222Z] [100%] Built target device-terminalv2 [2020-05-12T08:08:57.488Z] Run CPack packaging tool... [2020-05-12T08:08:57.488Z] CPack: Create package using TGZ [2020-05-12T08:08:57.488Z] CPack: Install projects [2020-05-12T08:08:57.488Z] CPack: - Run preinstall target for: Csdk [2020-05-12T08:08:58.071Z] CPack: - Install project: Csdk [2020-05-12T08:08:58.071Z] CPack: Create package [2020-05-12T08:08:58.338Z] CPack: - package: /tmp/sdk/build/release/csdk-1.2.1-dev.1.tar.gz generated. [2020-05-12T08:08:58.338Z] + '[' false '=' true ] [2020-05-12T08:08:58.338Z] + '[' false '=' true ] [2020-05-12T08:08:58.338Z] + mkdir -p /tmp/sdk/build/debug [2020-05-12T08:08:58.338Z] + cd /tmp/sdk/build/debug [2020-05-12T08:08:58.338Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-05-12T08:08:58.606Z] -- The C compiler identification is GNU 8.3.0 [2020-05-12T08:08:58.606Z] -- Check for working C compiler: /usr/bin/cc [2020-05-12T08:08:58.873Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-05-12T08:08:58.873Z] -- Detecting C compiler ABI info [2020-05-12T08:08:59.141Z] -- Detecting C compiler ABI info - done [2020-05-12T08:08:59.141Z] -- Detecting C compile features [2020-05-12T08:08:59.726Z] -- Detecting C compile features - done [2020-05-12T08:08:59.726Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-05-12T08:08:59.726Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-05-12T08:08:59.726Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-05-12T08:08:59.726Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-05-12T08:08:59.726Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-05-12T08:08:59.726Z] -- C SDK 1.2.1-dev.1 for Linux [2020-05-12T08:08:59.726Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-05-12T08:08:59.994Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-05-12T08:08:59.994Z] -- Found Curses: /usr/lib/libcurses.so [2020-05-12T08:09:00.260Z] -- Configuring done [2020-05-12T08:09:00.525Z] -- Generating done [2020-05-12T08:09:00.525Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-05-12T08:09:00.525Z] + make [2020-05-12T08:09:00.525Z] + tee debug.log [2020-05-12T08:09:00.525Z] Scanning dependencies of target csdk [2020-05-12T08:09:00.792Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-05-12T08:09:01.059Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-05-12T08:09:01.327Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-05-12T08:09:01.909Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-05-12T08:09:02.177Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-05-12T08:09:02.177Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-05-12T08:09:02.763Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-05-12T08:09:03.348Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-05-12T08:09:03.348Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-05-12T08:09:03.933Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-05-12T08:09:03.933Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-05-12T08:09:04.200Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-05-12T08:09:04.468Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-05-12T08:09:04.735Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-05-12T08:09:05.700Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-05-12T08:09:05.700Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-05-12T08:09:06.014Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-05-12T08:09:06.317Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-05-12T08:09:06.933Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-05-12T08:09:07.208Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-05-12T08:09:07.480Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-05-12T08:09:07.754Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-05-12T08:09:08.058Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-05-12T08:09:08.058Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-05-12T08:09:08.329Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-05-12T08:09:08.600Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-05-12T08:09:08.872Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-05-12T08:09:09.144Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-05-12T08:09:09.144Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-05-12T08:09:09.728Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-05-12T08:09:09.996Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-05-12T08:09:10.954Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-05-12T08:09:11.222Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-05-12T08:09:11.490Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-05-12T08:09:11.759Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-05-12T08:09:12.720Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-05-12T08:09:12.986Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-05-12T08:09:13.950Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-05-12T08:09:13.950Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-05-12T08:09:14.541Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-05-12T08:09:14.541Z] [ 65%] Linking C shared library libcsdk.so [2020-05-12T08:09:14.808Z] [ 65%] Built target csdk [2020-05-12T08:09:14.808Z] Scanning dependencies of target template [2020-05-12T08:09:14.808Z] [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-05-12T08:09:15.076Z] [ 68%] Linking C executable template [2020-05-12T08:09:15.343Z] [ 68%] Built target template [2020-05-12T08:09:15.343Z] Scanning dependencies of target device-counter [2020-05-12T08:09:15.343Z] [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-05-12T08:09:15.610Z] [ 71%] Linking C executable device-counter [2020-05-12T08:09:15.879Z] [ 71%] Built target device-counter [2020-05-12T08:09:15.879Z] Scanning dependencies of target device-random [2020-05-12T08:09:15.879Z] [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-05-12T08:09:16.144Z] [ 74%] Linking C executable device-random [2020-05-12T08:09:16.413Z] [ 74%] Built target device-random [2020-05-12T08:09:16.413Z] Scanning dependencies of target device-gyro [2020-05-12T08:09:16.413Z] [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-05-12T08:09:16.681Z] [ 77%] Linking C executable device-gyro [2020-05-12T08:09:16.948Z] [ 77%] Built target device-gyro [2020-05-12T08:09:16.948Z] Scanning dependencies of target template-discovery [2020-05-12T08:09:16.948Z] [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-05-12T08:09:17.216Z] [ 80%] Linking C executable template-discovery [2020-05-12T08:09:17.483Z] [ 80%] Built target template-discovery [2020-05-12T08:09:17.483Z] Scanning dependencies of target device-terminal [2020-05-12T08:09:17.483Z] [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-05-12T08:09:17.749Z] [ 84%] Linking C executable device-terminal [2020-05-12T08:09:18.019Z] [ 84%] Built target device-terminal [2020-05-12T08:09:18.019Z] Scanning dependencies of target template2 [2020-05-12T08:09:18.019Z] [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-05-12T08:09:18.290Z] [ 87%] Linking C executable template2 [2020-05-12T08:09:18.558Z] [ 87%] Built target template2 [2020-05-12T08:09:18.558Z] Scanning dependencies of target device-counterv2 [2020-05-12T08:09:18.558Z] [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-05-12T08:09:18.826Z] [ 90%] Linking C executable device-counterv2 [2020-05-12T08:09:18.826Z] [ 90%] Built target device-counterv2 [2020-05-12T08:09:19.092Z] Scanning dependencies of target device-gyrov2 [2020-05-12T08:09:19.092Z] [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o [2020-05-12T08:09:19.092Z] [ 93%] Linking C executable device-gyrov2 [2020-05-12T08:09:19.358Z] [ 93%] Built target device-gyrov2 [2020-05-12T08:09:19.358Z] Scanning dependencies of target device-randomv2 [2020-05-12T08:09:19.627Z] [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-05-12T08:09:19.627Z] [ 96%] Linking C executable device-randomv2 [2020-05-12T08:09:19.906Z] [ 96%] Built target device-randomv2 [2020-05-12T08:09:19.906Z] Scanning dependencies of target device-terminalv2 [2020-05-12T08:09:19.906Z] [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o [2020-05-12T08:09:20.176Z] [100%] Linking C executable device-terminalv2 [2020-05-12T08:09:20.443Z] [100%] Built target device-terminalv2 [2020-05-12T08:09:20.443Z] make: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:09:20.710Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:09:20.710Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:09:20.710Z] Scanning dependencies of target csdk [2020-05-12T08:09:20.710Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:09:20.710Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:09:20.710Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-05-12T08:09:22.654Z] [ 3%] Linking C shared library libcsdk.so [2020-05-12T08:09:22.654Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:09:22.654Z] [ 65%] Built target csdk [2020-05-12T08:09:22.654Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:09:22.654Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:09:22.654Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:09:22.654Z] [ 66%] Linking C executable template [2020-05-12T08:09:22.923Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:09:22.923Z] [ 68%] Built target template [2020-05-12T08:09:22.923Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:09:22.923Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:09:22.923Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:09:22.923Z] [ 69%] Linking C executable device-counter [2020-05-12T08:09:23.190Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:09:23.190Z] [ 71%] Built target device-counter [2020-05-12T08:09:23.190Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:09:23.190Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:09:23.190Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:09:23.190Z] [ 73%] Linking C executable device-random [2020-05-12T08:09:23.457Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:09:23.457Z] [ 74%] Built target device-random [2020-05-12T08:09:23.457Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:09:23.457Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:09:23.457Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:09:23.457Z] [ 76%] Linking C executable device-gyro [2020-05-12T08:09:23.725Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:09:23.725Z] [ 77%] Built target device-gyro [2020-05-12T08:09:23.725Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:09:23.725Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:09:23.725Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:09:23.725Z] [ 79%] Linking C executable template-discovery [2020-05-12T08:09:23.992Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:09:23.992Z] [ 80%] Built target template-discovery [2020-05-12T08:09:23.992Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:09:23.992Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:09:23.992Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:09:23.992Z] [ 82%] Linking C executable device-terminal [2020-05-12T08:09:24.259Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:09:24.259Z] [ 84%] Built target device-terminal [2020-05-12T08:09:24.259Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:09:24.259Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:09:24.259Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:09:24.259Z] [ 85%] Linking C executable template2 [2020-05-12T08:09:24.526Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:09:24.526Z] [ 87%] Built target template2 [2020-05-12T08:09:24.526Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:09:24.526Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:09:24.526Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:09:24.526Z] [ 88%] Linking C executable device-counterv2 [2020-05-12T08:09:24.792Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:09:24.792Z] [ 90%] Built target device-counterv2 [2020-05-12T08:09:24.792Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:09:24.792Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:09:24.792Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:09:24.792Z] [ 92%] Linking C executable device-gyrov2 [2020-05-12T08:09:25.060Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:09:25.060Z] [ 93%] Built target device-gyrov2 [2020-05-12T08:09:25.060Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:09:25.060Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:09:25.060Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:09:25.060Z] [ 95%] Linking C executable device-randomv2 [2020-05-12T08:09:25.327Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:09:25.327Z] [ 96%] Built target device-randomv2 [2020-05-12T08:09:25.327Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:09:25.327Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:09:25.327Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-12T08:09:25.327Z] [ 98%] Linking C executable device-terminalv2 [2020-05-12T08:09:25.595Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:09:25.595Z] [100%] Built target device-terminalv2 [2020-05-12T08:09:25.595Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:09:25.595Z] Install the project... [2020-05-12T08:09:25.595Z] -- Install configuration: "Release" [2020-05-12T08:09:25.595Z] -- Installing: /usr/local/lib/libcsdk.so [2020-05-12T08:09:25.595Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-05-12T08:09:25.595Z] -- Up-to-date: /usr/local/include [2020-05-12T08:09:25.595Z] -- Installing: /usr/local/include/devsdk [2020-05-12T08:09:25.595Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-05-12T08:09:25.595Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-05-12T08:09:25.595Z] -- Installing: /usr/local/include/edgex [2020-05-12T08:09:25.595Z] -- Installing: /usr/local/include/edgex/devices.h [2020-05-12T08:09:25.595Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-05-12T08:09:25.595Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-05-12T08:09:25.595Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-05-12T08:09:25.595Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-05-12T08:09:25.595Z] -- Installing: /usr/local/include/edgex/error.h [2020-05-12T08:09:25.595Z] -- Installing: /usr/local/include/edgex/registry.h [2020-05-12T08:09:25.595Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-05-12T08:09:25.595Z] -- Installing: /usr/local/include/edgex/os.h [2020-05-12T08:09:25.595Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-05-12T08:09:25.595Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-05-12T08:09:25.595Z] -- Installing: /usr/local/include/edgex/edgex-logging.h [2020-05-12T08:09:25.595Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-05-12T08:09:25.595Z] -- Installing: /usr/local/include/iot [2020-05-12T08:09:25.595Z] -- Installing: /usr/local/include/iot/hash.h [2020-05-12T08:09:25.595Z] -- Installing: /usr/local/include/iot/thread.h [2020-05-12T08:09:25.595Z] -- Installing: /usr/local/include/iot/json.h [2020-05-12T08:09:25.595Z] -- Installing: /usr/local/include/iot/os [2020-05-12T08:09:25.595Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-05-12T08:09:25.595Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-05-12T08:09:25.595Z] -- Installing: /usr/local/include/iot/typecode.h [2020-05-12T08:09:25.595Z] -- Installing: /usr/local/include/iot/base64.h [2020-05-12T08:09:25.595Z] -- Installing: /usr/local/include/iot/container.h [2020-05-12T08:09:25.595Z] -- Installing: /usr/local/include/iot/data.h [2020-05-12T08:09:25.595Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-05-12T08:09:25.595Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-05-12T08:09:25.595Z] -- Installing: /usr/local/include/iot/component.h [2020-05-12T08:09:25.595Z] -- Installing: /usr/local/include/iot/os.h [2020-05-12T08:09:25.595Z] -- Installing: /usr/local/include/iot/logger.h [2020-05-12T08:09:25.595Z] -- Installing: /usr/local/include/iot/time.h [2020-05-12T08:09:25.595Z] -- Installing: /usr/local/include/iot/iot.h [2020-05-12T08:09:25.595Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-05-12T08:09:25.595Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-05-12T08:09:25.595Z] make: Leaving directory '/tmp/sdk/build/release' [2020-05-12T08:09:27.541Z] Removing intermediate container 54a274fd9f61 [2020-05-12T08:09:27.541Z] ---> 421693f4a540 [2020-05-12T08:09:27.541Z] Step 14/21 : FROM alpine:3.9 [2020-05-12T08:09:27.808Z] 3.9: Pulling from library/alpine [2020-05-12T08:09:28.075Z] 941f399634ec: Pulling fs layer [2020-05-12T08:09:28.343Z] 941f399634ec: Verifying Checksum [2020-05-12T08:09:28.929Z] 941f399634ec: Pull complete [2020-05-12T08:09:28.929Z] Digest: sha256:414e0518bb9228d35e4cd5165567fb91d26c6a214e9c95899e1e056fcd349011 [2020-05-12T08:09:28.929Z] Status: Downloaded newer image for alpine:3.9 [2020-05-12T08:09:28.929Z] ---> 9afdd4a290bf [2020-05-12T08:09:28.929Z] Step 15/21 : MAINTAINER IOTech [2020-05-12T08:09:29.198Z] ---> Running in b3508e1e3cf2 [2020-05-12T08:09:29.467Z] Removing intermediate container b3508e1e3cf2 [2020-05-12T08:09:29.467Z] ---> 322d7a730076 [2020-05-12T08:09:29.467Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-05-12T08:09:29.467Z] ---> Running in 1478b66c849c [2020-05-12T08:09:30.435Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-05-12T08:09:30.703Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-05-12T08:09:31.289Z] (1/48) Installing binutils (2.31.1-r2) [2020-05-12T08:09:31.289Z] (2/48) Installing libmagic (5.36-r1) [2020-05-12T08:09:31.558Z] (3/48) Installing file (5.36-r1) [2020-05-12T08:09:31.558Z] (4/48) Installing gmp (6.1.2-r1) [2020-05-12T08:09:31.558Z] (5/48) Installing isl (0.18-r0) [2020-05-12T08:09:31.558Z] (6/48) Installing libgomp (8.3.0-r0) [2020-05-12T08:09:31.558Z] (7/48) Installing libatomic (8.3.0-r0) [2020-05-12T08:09:31.558Z] (8/48) Installing libgcc (8.3.0-r0) [2020-05-12T08:09:31.558Z] (9/48) Installing mpfr3 (3.1.5-r1) [2020-05-12T08:09:31.558Z] (10/48) Installing mpc1 (1.0.3-r1) [2020-05-12T08:09:31.558Z] (11/48) Installing libstdc++ (8.3.0-r0) [2020-05-12T08:09:31.558Z] (12/48) Installing gcc (8.3.0-r0) [2020-05-12T08:09:32.966Z] (13/48) Installing musl-dev (1.1.20-r5) [2020-05-12T08:09:33.232Z] (14/48) Installing libc-dev (0.7.1-r0) [2020-05-12T08:09:33.232Z] (15/48) Installing g++ (8.3.0-r0) [2020-05-12T08:09:34.642Z] (16/48) Installing make (4.2.1-r2) [2020-05-12T08:09:34.642Z] (17/48) Installing fortify-headers (1.0-r0) [2020-05-12T08:09:34.642Z] (18/48) Installing build-base (0.5-r1) [2020-05-12T08:09:34.642Z] (19/48) Installing libattr (2.4.47-r7) [2020-05-12T08:09:34.642Z] (20/48) Installing libacl (2.2.52-r5) [2020-05-12T08:09:34.642Z] (21/48) Installing libbz2 (1.0.6-r7) [2020-05-12T08:09:34.642Z] (22/48) Installing expat (2.2.8-r0) [2020-05-12T08:09:34.642Z] (23/48) Installing lz4-libs (1.8.3-r2) [2020-05-12T08:09:34.642Z] (24/48) Installing xz-libs (5.2.4-r0) [2020-05-12T08:09:34.642Z] (25/48) Installing libarchive (3.3.3-r2) [2020-05-12T08:09:34.642Z] (26/48) Installing ca-certificates (20191127-r0) [2020-05-12T08:09:34.642Z] (27/48) Installing nghttp2-libs (1.35.1-r1) [2020-05-12T08:09:34.642Z] (28/48) Installing libssh2 (1.9.0-r1) [2020-05-12T08:09:34.642Z] (29/48) Installing libcurl (7.64.0-r3) [2020-05-12T08:09:34.642Z] (30/48) Installing ncurses-terminfo-base (6.1_p20190105-r0) [2020-05-12T08:09:34.642Z] (31/48) Installing ncurses-terminfo (6.1_p20190105-r0) [2020-05-12T08:09:35.600Z] (32/48) Installing ncurses-libs (6.1_p20190105-r0) [2020-05-12T08:09:35.600Z] (33/48) Installing rhash-libs (1.3.6-r2) [2020-05-12T08:09:35.600Z] (34/48) Installing libuv (1.23.2-r0) [2020-05-12T08:09:35.600Z] (35/48) Installing cmake (3.13.0-r0) [2020-05-12T08:09:37.009Z] (36/48) Installing curl (7.64.0-r3) [2020-05-12T08:09:37.009Z] (37/48) Installing pcre2 (10.32-r1) [2020-05-12T08:09:37.009Z] (38/48) Installing git (2.20.4-r0) [2020-05-12T08:09:37.593Z] (39/48) Installing nettle (3.4.1-r0) [2020-05-12T08:09:37.593Z] (40/48) Installing libffi (3.2.1-r6) [2020-05-12T08:09:37.593Z] (41/48) Installing p11-kit (0.23.14-r0) [2020-05-12T08:09:37.593Z] (42/48) Installing libtasn1 (4.14-r0) [2020-05-12T08:09:37.593Z] (43/48) Installing libunistring (0.9.10-r0) [2020-05-12T08:09:37.593Z] (44/48) Installing gnutls (3.6.7-r1) [2020-05-12T08:09:37.593Z] (45/48) Installing libmicrohttpd (0.9.62-r0) [2020-05-12T08:09:37.593Z] (46/48) Installing libuuid (2.33-r0) [2020-05-12T08:09:37.593Z] (47/48) Installing wget (1.20.3-r0) [2020-05-12T08:09:37.594Z] (48/48) Installing yaml (0.2.1-r0) [2020-05-12T08:09:37.594Z] Executing busybox-1.29.3-r10.trigger [2020-05-12T08:09:37.594Z] Executing ca-certificates-20191127-r0.trigger [2020-05-12T08:09:37.862Z] OK: 219 MiB in 62 packages [2020-05-12T08:09:52.868Z] Removing intermediate container 1478b66c849c [2020-05-12T08:09:52.868Z] ---> 4ebc42103b1b [2020-05-12T08:09:52.868Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-05-12T08:09:52.868Z] ---> 36fe15a98a6c [2020-05-12T08:09:52.868Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-05-12T08:09:52.868Z] ---> 050abe41eb1d [2020-05-12T08:09:52.868Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-05-12T08:09:52.868Z] ---> 39e373facd8b [2020-05-12T08:09:52.868Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-05-12T08:09:53.455Z] ---> f3f628a2c1c7 [2020-05-12T08:09:53.455Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-05-12T08:09:54.037Z] ---> b3bd5a2755e8 [2020-05-12T08:09:54.037Z] Successfully built b3bd5a2755e8 [2020-05-12T08:09:54.037Z] 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-05-12T08:09:54.701Z] + docker inspect -f . ci-base-image-arm64 [2020-05-12T08:09:54.701Z] . [Pipeline] withDockerContainer [2020-05-12T08:09:55.303Z] prd-ubuntu18.04-docker-arm64-4c-16g-7999 does not seem to be running inside a container [2020-05-12T08:09:55.371Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/20 -v /w/workspace/device-sdk-c/20:/w/workspace/device-sdk-c/20:rw,z -v /w/workspace/device-sdk-c/20@tmp:/w/workspace/device-sdk-c/20@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 ******** ci-base-image-arm64 cat [2020-05-12T08:09:56.806Z] $ docker top 0516499046e4a15067b8e95ebaf341571601391cfc091567dae7c3e67400903b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-05-12T08:09:57.904Z] + make test [2020-05-12T08:09:57.905Z] echo "make test" [2020-05-12T08:09:57.905Z] make test [Pipeline] } [2020-05-12T08:09:57.917Z] $ docker stop --time=1 0516499046e4a15067b8e95ebaf341571601391cfc091567dae7c3e67400903b [2020-05-12T08:09:59.916Z] $ docker rm -f 0516499046e4a15067b8e95ebaf341571601391cfc091567dae7c3e67400903b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-05-12T08:10:01.074Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-05-12T08:10:01.413Z] + ls -al . [2020-05-12T08:10:01.413Z] total 192 [2020-05-12T08:10:01.413Z] drwxrwxr-x 8 jenkins jenkins 4096 May 12 08:07 . [2020-05-12T08:10:01.413Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 08:07 .. [2020-05-12T08:10:01.413Z] drwxrwxr-x 8 jenkins jenkins 4096 May 12 08:07 .git [2020-05-12T08:10:01.413Z] -rw-rw-r-- 1 jenkins jenkins 176 May 12 08:07 .gitignore [2020-05-12T08:10:01.413Z] drwxrwxr-x 3 jenkins jenkins 4096 May 12 08:07 .semver [2020-05-12T08:10:01.413Z] -rw-rw-r-- 1 jenkins jenkins 3104 May 12 08:07 Attribution.txt [2020-05-12T08:10:01.413Z] -rw-rw-r-- 1 jenkins jenkins 5393 May 12 08:07 CHANGES [2020-05-12T08:10:01.413Z] -rw-rw-r-- 1 jenkins jenkins 108574 May 12 08:07 Doxyfile [2020-05-12T08:10:01.413Z] -rw-rw-r-- 1 jenkins jenkins 792 May 12 08:07 Jenkinsfile [2020-05-12T08:10:01.413Z] -rw-rw-r-- 1 jenkins jenkins 10174 May 12 08:07 LICENSE [2020-05-12T08:10:01.413Z] -rw-rw-r-- 1 jenkins jenkins 448 May 12 08:07 Makefile [2020-05-12T08:10:01.413Z] -rw-rw-r-- 1 jenkins jenkins 1849 May 12 08:07 README.md [2020-05-12T08:10:01.413Z] -rw-rw-r-- 1 jenkins jenkins 5287 May 12 08:07 README.v2.md [2020-05-12T08:10:01.413Z] -rw-rw-r-- 1 jenkins jenkins 11 May 12 08:04 VERSION [2020-05-12T08:10:01.413Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 08:07 docs [2020-05-12T08:10:01.413Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 08:07 include [2020-05-12T08:10:01.413Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 08:07 scripts [2020-05-12T08:10:01.413Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 08:07 src [Pipeline] isUnix [Pipeline] sh [2020-05-12T08:10:01.747Z] + 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=16c2a897f1bf182c8f6ba1bddddf4975b453e4d5 --label arch=arm64 --label version=1.2.1-dev.1 . [2020-05-12T08:10:02.337Z] Sending build context to Docker daemon 3.045MB [2020-05-12T08:10:02.337Z] Step 1/15 : ARG BASE=alpine:3.9 [2020-05-12T08:10:02.337Z] Step 2/15 : FROM ${BASE} [2020-05-12T08:10:02.337Z] ---> b3bd5a2755e8 [2020-05-12T08:10:02.337Z] Step 3/15 : MAINTAINER IOTech [2020-05-12T08:10:02.337Z] ---> Running in 16688698658e [2020-05-12T08:10:02.605Z] Removing intermediate container 16688698658e [2020-05-12T08:10:02.605Z] ---> 6068bee48f57 [2020-05-12T08:10:02.605Z] 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-05-12T08:10:02.871Z] ---> Running in 53bbbf59736d [2020-05-12T08:10:03.831Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-05-12T08:10:03.831Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-05-12T08:10:04.413Z] (1/21) Installing pkgconf (1.6.0-r0) [2020-05-12T08:10:04.413Z] (2/21) Installing openssl-dev (1.1.1g-r0) [2020-05-12T08:10:04.995Z] (3/21) Installing zlib-dev (1.2.11-r1) [2020-05-12T08:10:04.995Z] (4/21) Installing libssh2-dev (1.9.0-r1) [2020-05-12T08:10:04.995Z] (5/21) Installing nghttp2-dev (1.35.1-r1) [2020-05-12T08:10:04.995Z] (6/21) Installing curl-dev (7.64.0-r3) [2020-05-12T08:10:04.995Z] (7/21) Installing gnutls-c++ (3.6.7-r1) [2020-05-12T08:10:04.995Z] (8/21) Installing libgmpxx (6.1.2-r1) [2020-05-12T08:10:04.995Z] (9/21) Installing gmp-dev (6.1.2-r1) [2020-05-12T08:10:04.995Z] (10/21) Installing nettle-dev (3.4.1-r0) [2020-05-12T08:10:05.262Z] (11/21) Installing libtasn1-dev (4.14-r0) [2020-05-12T08:10:05.262Z] (12/21) Installing p11-kit-dev (0.23.14-r0) [2020-05-12T08:10:05.262Z] (13/21) Installing gnutls-dev (3.6.7-r1) [2020-05-12T08:10:05.262Z] (14/21) Installing libmicrohttpd-dev (0.9.62-r0) [2020-05-12T08:10:05.529Z] (15/21) Installing ncurses-dev (6.1_p20190105-r0) [2020-05-12T08:10:05.529Z] (16/21) Installing libblkid (2.33-r0) [2020-05-12T08:10:05.529Z] (17/21) Installing libfdisk (2.33-r0) [2020-05-12T08:10:05.529Z] (18/21) Installing libmount (2.33-r0) [2020-05-12T08:10:05.529Z] (19/21) Installing libsmartcols (2.33-r0) [2020-05-12T08:10:05.529Z] (20/21) Installing util-linux-dev (2.33-r0) [2020-05-12T08:10:05.529Z] (21/21) Installing yaml-dev (0.2.1-r0) [2020-05-12T08:10:05.529Z] Executing busybox-1.29.3-r10.trigger [2020-05-12T08:10:05.529Z] OK: 279 MiB in 83 packages [2020-05-12T08:10:08.881Z] Removing intermediate container 53bbbf59736d [2020-05-12T08:10:08.881Z] ---> d6f02b0c4cc4 [2020-05-12T08:10:08.881Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-05-12T08:10:09.527Z] ---> 914478cd5146 [2020-05-12T08:10:09.527Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-05-12T08:10:10.124Z] ---> 2c97f314f75c [2020-05-12T08:10:10.124Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-05-12T08:10:10.713Z] ---> fe83fec94d6f [2020-05-12T08:10:10.713Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-05-12T08:10:11.299Z] ---> f51e5ce59e26 [2020-05-12T08:10:11.299Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-05-12T08:10:11.566Z] ---> a30c1721da84 [2020-05-12T08:10:11.566Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-05-12T08:10:12.151Z] ---> 534d8d83515c [2020-05-12T08:10:12.151Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-05-12T08:10:12.421Z] ---> Running in 08127dee4f1a [2020-05-12T08:10:12.690Z] Removing intermediate container 08127dee4f1a [2020-05-12T08:10:12.690Z] ---> 38d429ab1af4 [2020-05-12T08:10:12.690Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-05-12T08:10:12.690Z] ---> Running in 77a7460aaf47 [2020-05-12T08:10:12.958Z] Removing intermediate container 77a7460aaf47 [2020-05-12T08:10:12.958Z] ---> c8404cb99592 [2020-05-12T08:10:12.958Z] Step 13/15 : LABEL arch=arm64 [2020-05-12T08:10:13.224Z] ---> Running in d8907b84eefa [2020-05-12T08:10:13.493Z] Removing intermediate container d8907b84eefa [2020-05-12T08:10:13.493Z] ---> d49561e7cea5 [2020-05-12T08:10:13.493Z] Step 14/15 : LABEL git_sha=16c2a897f1bf182c8f6ba1bddddf4975b453e4d5 [2020-05-12T08:10:13.760Z] ---> Running in dc00349b2ac1 [2020-05-12T08:10:14.027Z] Removing intermediate container dc00349b2ac1 [2020-05-12T08:10:14.027Z] ---> b6213eaecf26 [2020-05-12T08:10:14.027Z] Step 15/15 : LABEL version=1.2.1-dev.1 [2020-05-12T08:10:14.293Z] ---> Running in b4b819cf57cc [2020-05-12T08:10:14.561Z] Removing intermediate container b4b819cf57cc [2020-05-12T08:10:14.561Z] ---> 983002eb6f44 [2020-05-12T08:10:14.561Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2020-05-12T08:10:14.561Z] Successfully built 983002eb6f44 [2020-05-12T08:10:14.561Z] 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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh [2020-05-12T08:10:16.679Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-05-12T08:10:16.679Z] . [Pipeline] withDockerContainer [2020-05-12T08:10:16.799Z] prd-centos7-docker-4c-2g-7998 does not seem to be running inside a container [2020-05-12T08:10:16.843Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-05-12T08:10:17.481Z] $ docker top 67188e93916d1e8566207e4eb7413b0f1f8f97ceb3e14520c19bb01b4fe39fe4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-05-12T08:10:17.831Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-05-12T08:10:17.831Z] [ssh-agent] Looking for ssh-agent implementation... [2020-05-12T08:10:18.048Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-05-12T08:10:18.053Z] $ docker exec 67188e93916d1e8566207e4eb7413b0f1f8f97ceb3e14520c19bb01b4fe39fe4 ssh-agent [2020-05-12T08:10:18.240Z] SSH_AUTH_SOCK=/tmp/ssh-WjodxwletpKL/agent.15 [2020-05-12T08:10:18.240Z] SSH_AGENT_PID=22 [2020-05-12T08:10:18.247Z] Running ssh-add (command line suppressed) [2020-05-12T08:10:18.396Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_4912222048757145053.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_4912222048757145053.key) [2020-05-12T08:10:18.450Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-05-12T08:10:18.781Z] + git semver tag [2020-05-12T08:10:18.781Z] # -> Open(): unable to determine branch for HEAD [2020-05-12T08:10:18.781Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2020-05-12T08:10:18.781Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2020-05-12T08:10:18.781Z] # $SEMVER_REMOTE_NAME = origin [2020-05-12T08:10:18.781Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-05-12T08:10:18.781Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-05-12T08:10:18.781Z] # $SEMVER_BRANCH = master [2020-05-12T08:10:18.781Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [2020-05-12T08:10:18.781Z] # 16c2a897f1bf182c8f6ba1bddddf4975b453e4d5 HEAD [2020-05-12T08:10:18.781Z] # -> Force: false [2020-05-12T08:10:18.781Z] # d9687b437125dd57ad3c67bb6478ec7b1dc06b57 refs/tags/v1.2.1-dev.1 [Pipeline] } [2020-05-12T08:10:18.794Z] $ docker exec --env ******** --env ******** 67188e93916d1e8566207e4eb7413b0f1f8f97ceb3e14520c19bb01b4fe39fe4 ssh-agent -k [2020-05-12T08:10:18.930Z] unset SSH_AUTH_SOCK; [2020-05-12T08:10:18.930Z] unset SSH_AGENT_PID; [2020-05-12T08:10:18.930Z] echo Agent pid 22 killed; [2020-05-12T08:10:18.982Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-05-12T08:10:19.446Z] + git semver [Pipeline] } [2020-05-12T08:10:19.463Z] $ docker stop --time=1 67188e93916d1e8566207e4eb7413b0f1f8f97ceb3e14520c19bb01b4fe39fe4 [2020-05-12T08:10:20.815Z] $ docker rm -f 67188e93916d1e8566207e4eb7413b0f1f8f97ceb3e14520c19bb01b4fe39fe4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-05-12T08:10:21.470Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-05-12T08:10:21.470Z] [2020-05-12T08:10:21.470Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-05-12T08:10:21.821Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-05-12T08:10:21.821Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-05-12T08:10:21.821Z] ab5ef0e58194: Pulling fs layer [2020-05-12T08:10:21.821Z] 9712f1f96733: Pulling fs layer [2020-05-12T08:10:21.821Z] 63f879dbbcfc: Pulling fs layer [2020-05-12T08:10:21.821Z] 0d9ebad4ef96: Pulling fs layer [2020-05-12T08:10:21.821Z] e9a5061849ea: Pulling fs layer [2020-05-12T08:10:21.821Z] d747dcd14b5f: Pulling fs layer [2020-05-12T08:10:21.821Z] 2de7ff778b66: Pulling fs layer [2020-05-12T08:10:21.821Z] e9a5061849ea: Waiting [2020-05-12T08:10:21.821Z] d747dcd14b5f: Waiting [2020-05-12T08:10:21.821Z] 2de7ff778b66: Waiting [2020-05-12T08:10:21.821Z] 0d9ebad4ef96: Waiting [2020-05-12T08:10:21.821Z] 9712f1f96733: Verifying Checksum [2020-05-12T08:10:21.821Z] 9712f1f96733: Download complete [2020-05-12T08:10:22.769Z] 63f879dbbcfc: Verifying Checksum [2020-05-12T08:10:22.769Z] 63f879dbbcfc: Download complete [2020-05-12T08:10:22.769Z] e9a5061849ea: Verifying Checksum [2020-05-12T08:10:22.769Z] e9a5061849ea: Download complete [2020-05-12T08:10:22.769Z] d747dcd14b5f: Verifying Checksum [2020-05-12T08:10:22.769Z] d747dcd14b5f: Download complete [2020-05-12T08:10:22.769Z] 0d9ebad4ef96: Verifying Checksum [2020-05-12T08:10:22.769Z] 0d9ebad4ef96: Download complete [2020-05-12T08:10:23.030Z] ab5ef0e58194: Download complete [2020-05-12T08:10:23.030Z] 2de7ff778b66: Verifying Checksum [2020-05-12T08:10:23.030Z] 2de7ff778b66: Download complete [2020-05-12T08:10:27.242Z] ab5ef0e58194: Pull complete [2020-05-12T08:10:27.242Z] 9712f1f96733: Pull complete [2020-05-12T08:10:29.155Z] 63f879dbbcfc: Pull complete [2020-05-12T08:10:35.739Z] 0d9ebad4ef96: Pull complete [2020-05-12T08:10:35.739Z] e9a5061849ea: Pull complete [2020-05-12T08:10:35.739Z] d747dcd14b5f: Pull complete [2020-05-12T08:10:39.955Z] 2de7ff778b66: Pull complete [2020-05-12T08:10:39.955Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-05-12T08:10:39.955Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-05-12T08:10:40.102Z] prd-centos7-docker-4c-2g-7998 does not seem to be running inside a container [2020-05-12T08:10:40.150Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-05-12T08:10:40.785Z] $ docker top f8894e23bfeb1bd05f3b8bf1815abe61ff47d870d7aabf2906610dc362eda253 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-05-12T08:10:41.043Z] provisioning config files... [2020-05-12T08:10:41.058Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config3623638020080976876tmp [2020-05-12T08:10:41.076Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config4475389975727265399tmp [2020-05-12T08:10:41.092Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config6563391616540917762tmp [Pipeline] { [Pipeline] echo [2020-05-12T08:10:41.185Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-12T08:10:41.479Z] ---> sigul-configuration.sh [2020-05-12T08:10:41.479Z] gpg: directory `/root/.gnupg' created [2020-05-12T08:10:41.479Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-05-12T08:10:41.479Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-05-12T08:10:41.479Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-05-12T08:10:41.479Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-05-12T08:10:41.479Z] gpg: CAST5 encrypted data [2020-05-12T08:10:41.738Z] gpg: encrypted with 1 passphrase [2020-05-12T08:10:41.738Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-05-12T08:10:42.035Z] + mkdir /home/jenkins [2020-05-12T08:10:42.035Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-05-12T08:10:42.335Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo [2020-05-12T08:10:42.343Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-12T08:10:42.660Z] ---> sigul-install.sh [2020-05-12T08:10:47.941Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-05-12T08:10:48.334Z] + git tag --list [2020-05-12T08:10:48.334Z] v1.2.1-dev.1 [Pipeline] sh [2020-05-12T08:10:48.624Z] + lftools sign git-tag v1.2.1-dev.1 [2020-05-12T08:10:50.002Z] Signing Git tag with Sigul... [2020-05-12T08:10:50.002Z] Signing v1.2.1-dev.1 [Pipeline] echo [2020-05-12T08:10:50.947Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-12T08:10:51.249Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-05-12T08:10:51.256Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-05-12T08:10:51.337Z] $ docker stop --time=1 f8894e23bfeb1bd05f3b8bf1815abe61ff47d870d7aabf2906610dc362eda253 [2020-05-12T08:10:54.050Z] $ docker rm -f f8894e23bfeb1bd05f3b8bf1815abe61ff47d870d7aabf2906610dc362eda253 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-05-12T08:10:54.719Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-05-12T08:10:54.719Z] . [Pipeline] withDockerContainer [2020-05-12T08:10:54.833Z] prd-centos7-docker-4c-2g-7998 does not seem to be running inside a container [2020-05-12T08:10:54.875Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-05-12T08:10:55.576Z] $ docker top 183a1aba1b12152db4066588c641a021bed032fe10e252733587d9aa67e179b0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-05-12T08:10:55.889Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-05-12T08:10:55.889Z] [ssh-agent] Looking for ssh-agent implementation... [2020-05-12T08:10:56.150Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-05-12T08:10:56.156Z] $ docker exec 183a1aba1b12152db4066588c641a021bed032fe10e252733587d9aa67e179b0 ssh-agent [2020-05-12T08:10:56.345Z] SSH_AUTH_SOCK=/tmp/ssh-qnERPllKK5Bd/agent.15 [2020-05-12T08:10:56.345Z] SSH_AGENT_PID=22 [2020-05-12T08:10:56.353Z] Running ssh-add (command line suppressed) [2020-05-12T08:10:56.525Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_1319929967506677656.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_1319929967506677656.key) [2020-05-12T08:10:56.577Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-05-12T08:10:56.910Z] + git semver bump pre [2020-05-12T08:10:56.910Z] # -> Open(): unable to determine branch for HEAD [2020-05-12T08:10:56.910Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2020-05-12T08:10:56.910Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2020-05-12T08:10:56.910Z] # $SEMVER_REMOTE_NAME = origin [2020-05-12T08:10:56.910Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-05-12T08:10:56.910Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-05-12T08:10:56.910Z] # $SEMVER_BRANCH = master [2020-05-12T08:10:56.910Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [2020-05-12T08:10:56.910Z] 1.2.1-dev.2 [Pipeline] } [2020-05-12T08:10:56.921Z] $ docker exec --env ******** --env ******** 183a1aba1b12152db4066588c641a021bed032fe10e252733587d9aa67e179b0 ssh-agent -k [2020-05-12T08:10:57.082Z] unset SSH_AUTH_SOCK; [2020-05-12T08:10:57.082Z] unset SSH_AGENT_PID; [2020-05-12T08:10:57.082Z] echo Agent pid 22 killed; [2020-05-12T08:10:57.141Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-05-12T08:10:57.567Z] + git semver [Pipeline] } [2020-05-12T08:10:57.583Z] $ docker stop --time=1 183a1aba1b12152db4066588c641a021bed032fe10e252733587d9aa67e179b0 [2020-05-12T08:10:58.913Z] $ docker rm -f 183a1aba1b12152db4066588c641a021bed032fe10e252733587d9aa67e179b0 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-05-12T08:10:59.425Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-05-12T08:10:59.425Z] . [Pipeline] withDockerContainer [2020-05-12T08:10:59.539Z] prd-centos7-docker-4c-2g-7998 does not seem to be running inside a container [2020-05-12T08:10:59.620Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-05-12T08:11:00.248Z] $ docker top 1f0fbb90841bfaf836bee00fdffc556fdf5f9cd9fda4047ad7d1ddc9208ad62c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-05-12T08:11:00.575Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-05-12T08:11:00.575Z] [ssh-agent] Looking for ssh-agent implementation... [2020-05-12T08:11:00.750Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-05-12T08:11:00.755Z] $ docker exec 1f0fbb90841bfaf836bee00fdffc556fdf5f9cd9fda4047ad7d1ddc9208ad62c ssh-agent [2020-05-12T08:11:00.933Z] SSH_AUTH_SOCK=/tmp/ssh-GH7QMdpEySGe/agent.15 [2020-05-12T08:11:00.933Z] SSH_AGENT_PID=22 [2020-05-12T08:11:00.939Z] Running ssh-add (command line suppressed) [2020-05-12T08:11:01.088Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_4267272437599347421.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_4267272437599347421.key) [2020-05-12T08:11:01.135Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-05-12T08:11:01.456Z] + git semver push [2020-05-12T08:11:01.456Z] # -> Open(): unable to determine branch for HEAD [2020-05-12T08:11:01.456Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2020-05-12T08:11:01.456Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2020-05-12T08:11:01.456Z] # $SEMVER_REMOTE_NAME = origin [2020-05-12T08:11:01.456Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-05-12T08:11:01.456Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-05-12T08:11:01.456Z] # $SEMVER_BRANCH = master [2020-05-12T08:11:01.456Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [Pipeline] } [2020-05-12T08:11:08.045Z] $ docker exec --env ******** --env ******** 1f0fbb90841bfaf836bee00fdffc556fdf5f9cd9fda4047ad7d1ddc9208ad62c ssh-agent -k [2020-05-12T08:11:08.192Z] unset SSH_AUTH_SOCK; [2020-05-12T08:11:08.192Z] unset SSH_AGENT_PID; [2020-05-12T08:11:08.192Z] echo Agent pid 22 killed; [2020-05-12T08:11:08.235Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-05-12T08:11:08.706Z] + git semver [Pipeline] } [2020-05-12T08:11:08.721Z] $ docker stop --time=1 1f0fbb90841bfaf836bee00fdffc556fdf5f9cd9fda4047ad7d1ddc9208ad62c [2020-05-12T08:11:10.086Z] $ docker rm -f 1f0fbb90841bfaf836bee00fdffc556fdf5f9cd9fda4047ad7d1ddc9208ad62c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-05-12T08:11:11.080Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-12T08:11:11.381Z] ---> package-listing.sh [2020-05-12T08:11:11.382Z] ++ facter osfamily [2020-05-12T08:11:11.382Z] ++ tr '[:upper:]' '[:lower:]' [2020-05-12T08:11:11.382Z] + OS_FAMILY=redhat [2020-05-12T08:11:11.382Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_master [2020-05-12T08:11:11.382Z] + START_PACKAGES=/tmp/packages_start.txt [2020-05-12T08:11:11.382Z] + END_PACKAGES=/tmp/packages_end.txt [2020-05-12T08:11:11.382Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-05-12T08:11:11.382Z] + PACKAGES=/tmp/packages_start.txt [2020-05-12T08:11:11.382Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_master ']' [2020-05-12T08:11:11.382Z] + PACKAGES=/tmp/packages_end.txt [2020-05-12T08:11:11.382Z] + case "${OS_FAMILY}" in [2020-05-12T08:11:11.382Z] + rpm -qa [2020-05-12T08:11:11.382Z] + sort [2020-05-12T08:11:15.580Z] + '[' -f /tmp/packages_start.txt ']' [2020-05-12T08:11:15.580Z] + '[' -f /tmp/packages_end.txt ']' [2020-05-12T08:11:15.580Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-05-12T08:11:15.580Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_master ']' [2020-05-12T08:11:15.580Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_master/archives/ [2020-05-12T08:11:15.580Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_master/archives/ [Pipeline] isUnix [Pipeline] sh [2020-05-12T08:11:16.079Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-05-12T08:11:16.079Z] [2020-05-12T08:11:16.079Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-05-12T08:11:16.437Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-05-12T08:11:16.437Z] alpine: Pulling from edgex-lftools-log-publisher [2020-05-12T08:11:16.437Z] c9b1b535fdd9: Pulling fs layer [2020-05-12T08:11:16.437Z] 2cc5ad85d9ab: Pulling fs layer [2020-05-12T08:11:16.437Z] 756a868c4378: Pulling fs layer [2020-05-12T08:11:16.437Z] 444b2fc9a129: Pulling fs layer [2020-05-12T08:11:16.437Z] ea15f1150254: Pulling fs layer [2020-05-12T08:11:16.437Z] 41b27a9f41bf: Pulling fs layer [2020-05-12T08:11:16.437Z] 28c525ee5125: Pulling fs layer [2020-05-12T08:11:16.437Z] 094b1ea09ed8: Pulling fs layer [2020-05-12T08:11:16.437Z] 138eaada9080: Pulling fs layer [2020-05-12T08:11:16.437Z] 0622d0fa9048: Pulling fs layer [2020-05-12T08:11:16.437Z] 444b2fc9a129: Waiting [2020-05-12T08:11:16.437Z] ea15f1150254: Waiting [2020-05-12T08:11:16.437Z] 41b27a9f41bf: Waiting [2020-05-12T08:11:16.437Z] 28c525ee5125: Waiting [2020-05-12T08:11:16.437Z] 0622d0fa9048: Waiting [2020-05-12T08:11:16.437Z] 094b1ea09ed8: Waiting [2020-05-12T08:11:16.437Z] 138eaada9080: Waiting [2020-05-12T08:11:16.437Z] 2cc5ad85d9ab: Verifying Checksum [2020-05-12T08:11:16.437Z] 2cc5ad85d9ab: Download complete [2020-05-12T08:11:16.437Z] 444b2fc9a129: Verifying Checksum [2020-05-12T08:11:16.437Z] 444b2fc9a129: Download complete [2020-05-12T08:11:16.437Z] c9b1b535fdd9: Verifying Checksum [2020-05-12T08:11:16.437Z] c9b1b535fdd9: Download complete [2020-05-12T08:11:16.437Z] ea15f1150254: Verifying Checksum [2020-05-12T08:11:16.437Z] ea15f1150254: Download complete [2020-05-12T08:11:16.715Z] 28c525ee5125: Verifying Checksum [2020-05-12T08:11:16.715Z] 28c525ee5125: Download complete [2020-05-12T08:11:16.979Z] 756a868c4378: Verifying Checksum [2020-05-12T08:11:16.979Z] 756a868c4378: Download complete [2020-05-12T08:11:16.979Z] 094b1ea09ed8: Verifying Checksum [2020-05-12T08:11:16.979Z] 094b1ea09ed8: Download complete [2020-05-12T08:11:16.979Z] 0622d0fa9048: Verifying Checksum [2020-05-12T08:11:16.979Z] 0622d0fa9048: Download complete [2020-05-12T08:11:16.979Z] 138eaada9080: Verifying Checksum [2020-05-12T08:11:16.979Z] 138eaada9080: Download complete [2020-05-12T08:11:17.559Z] 41b27a9f41bf: Verifying Checksum [2020-05-12T08:11:17.559Z] 41b27a9f41bf: Download complete [2020-05-12T08:11:17.559Z] c9b1b535fdd9: Pull complete [2020-05-12T08:11:17.818Z] 2cc5ad85d9ab: Pull complete [2020-05-12T08:11:19.203Z] 756a868c4378: Pull complete [2020-05-12T08:11:19.203Z] 444b2fc9a129: Pull complete [2020-05-12T08:11:19.462Z] ea15f1150254: Pull complete [2020-05-12T08:11:23.665Z] 41b27a9f41bf: Pull complete [2020-05-12T08:11:23.665Z] 28c525ee5125: Pull complete [2020-05-12T08:11:25.581Z] 094b1ea09ed8: Pull complete [2020-05-12T08:11:25.581Z] 138eaada9080: Pull complete [2020-05-12T08:11:25.581Z] 0622d0fa9048: Pull complete [2020-05-12T08:11:25.581Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-05-12T08:11:25.581Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-05-12T08:11:25.701Z] prd-centos7-docker-4c-2g-7998 does not seem to be running inside a container [2020-05-12T08:11:25.757Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/edgexfoundry_device-sdk-c_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-05-12T08:11:26.227Z] $ docker top d599516659f4020f162d23e2d177104e01ea7ba80366bf82c734053d0ae3246f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-05-12T08:11:26.483Z] provisioning config files... [2020-05-12T08:11:26.500Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config5541256358207585187tmp [Pipeline] { [Pipeline] echo [2020-05-12T08:11:26.575Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-12T08:11:26.868Z] ---> create-netrc.sh [Pipeline] echo [2020-05-12T08:11:26.876Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-12T08:11:27.170Z] ---> logs-deploy.sh [2020-05-12T08:11:27.170Z] + ARCHIVE_ARTIFACTS= [2020-05-12T08:11:27.170Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-05-12T08:11:27.170Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-05-12T08:11:27.170Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-05-12T08:11:27.170Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/master/20 [2020-05-12T08:11:27.170Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/master/20/ [2020-05-12T08:11:27.170Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/master/20 /w/workspace/edgexfoundry_device-sdk-c_master [2020-05-12T08:11:28.107Z] Archives upload complete. [2020-05-12T08:11:28.367Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/master/20 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/master/20/