Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 1aa8105ebf83a2c75f03f15ed04b88c76ed291ae Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 370697454611dc68c0596e0d0a50477a8de841a8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 370697454611dc68c0596e0d0a50477a8de841a8 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-3.9-base, dockerFilePath:scripts/Dockerfile.alpine-3.9, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine-3.9 DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-3.9-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-c DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-1691 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 Fetching without tags > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/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 Checking out Revision 1aa8105ebf83a2c75f03f15ed04b88c76ed291ae (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 1aa8105ebf83a2c75f03f15ed04b88c76ed291ae # timeout=10 Commit message: "Merge pull request #264 from iain-anderson/small-fixes" > git rev-list --no-walk 34c806719c07a595e60a1991047deece8ce10381 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-06-03T11:33:07.238Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-06-03T11:33:07.355Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-06-03T11:33:07.398Z] ========================================================= [2020-06-03T11:33:07.398Z] EdgeX Global Pipelines Version Info [2020-06-03T11:33:07.398Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-06-03T11:33:08.775Z] ------------------- [2020-06-03T11:33:08.775Z] stable info: [2020-06-03T11:33:08.775Z] ------------------- [2020-06-03T11:33:08.775Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-06-03T11:33:08.775Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-03T11:33:08.775Z] Message: update stable to v1.0.89 [2020-06-03T11:33:09.345Z] ------------------- [2020-06-03T11:33:09.345Z] experimental info: [2020-06-03T11:33:09.345Z] ------------------- [2020-06-03T11:33:09.345Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-06-03T11:33:09.345Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-03T11:33:09.345Z] Message: update experimental to v1.0.89 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-06-03T11:33:10.781Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-03T11:33:10.781Z] [2020-06-03T11:33:10.781Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-06-03T11:33:11.090Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-03T11:33:11.090Z] latest: Pulling from edgex-devops/git-semver [2020-06-03T11:33:11.090Z] 9123ac7c32f7: Pulling fs layer [2020-06-03T11:33:11.090Z] b8cc5d1170e3: Pulling fs layer [2020-06-03T11:33:11.090Z] 2924cbbf6a41: Pulling fs layer [2020-06-03T11:33:11.090Z] 93b08a4f1073: Pulling fs layer [2020-06-03T11:33:11.090Z] 93b08a4f1073: Waiting [2020-06-03T11:33:11.090Z] b8cc5d1170e3: Verifying Checksum [2020-06-03T11:33:11.090Z] b8cc5d1170e3: Download complete [2020-06-03T11:33:11.359Z] 9123ac7c32f7: Verifying Checksum [2020-06-03T11:33:11.359Z] 9123ac7c32f7: Download complete [2020-06-03T11:33:11.359Z] 93b08a4f1073: Verifying Checksum [2020-06-03T11:33:11.359Z] 93b08a4f1073: Download complete [2020-06-03T11:33:11.359Z] 2924cbbf6a41: Verifying Checksum [2020-06-03T11:33:11.359Z] 2924cbbf6a41: Download complete [2020-06-03T11:33:11.359Z] 9123ac7c32f7: Pull complete [2020-06-03T11:33:11.618Z] b8cc5d1170e3: Pull complete [2020-06-03T11:33:12.200Z] 2924cbbf6a41: Pull complete [2020-06-03T11:33:12.463Z] 93b08a4f1073: Pull complete [2020-06-03T11:33:12.463Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-06-03T11:33:12.463Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-06-03T11:33:12.592Z] prd-centos7-docker-4c-2g-1691 does not seem to be running inside a container [2020-06-03T11:33:12.634Z] $ 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-06-03T11:33:13.191Z] $ docker top d84da83060754b3bdf0c397dd6a2030a45518919fd729427342e67bb7e63fd25 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-06-03T11:33:13.384Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-03T11:33:13.384Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-03T11:33:13.565Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-03T11:33:13.567Z] $ docker exec d84da83060754b3bdf0c397dd6a2030a45518919fd729427342e67bb7e63fd25 ssh-agent [2020-06-03T11:33:13.738Z] SSH_AUTH_SOCK=/tmp/ssh-o7XIn9FMna6Z/agent.15 [2020-06-03T11:33:13.738Z] SSH_AGENT_PID=22 [2020-06-03T11:33:13.747Z] Running ssh-add (command line suppressed) [2020-06-03T11:33:13.881Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_3921283305325286933.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_3921283305325286933.key) [2020-06-03T11:33:13.935Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-03T11:33:14.249Z] + git describe --exact-match --tags HEAD [2020-06-03T11:33:14.249Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-06-03T11:33:14.378Z] $ docker exec --env ******** --env ******** d84da83060754b3bdf0c397dd6a2030a45518919fd729427342e67bb7e63fd25 ssh-agent -k [2020-06-03T11:33:14.541Z] unset SSH_AUTH_SOCK; [2020-06-03T11:33:14.541Z] unset SSH_AGENT_PID; [2020-06-03T11:33:14.541Z] echo Agent pid 22 killed; [2020-06-03T11:33:14.577Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-06-03T11:33:14.623Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-06-03T11:33:14.623Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-06-03T11:33:14.674Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-03T11:33:14.674Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-03T11:33:14.842Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-03T11:33:14.845Z] $ docker exec d84da83060754b3bdf0c397dd6a2030a45518919fd729427342e67bb7e63fd25 ssh-agent [2020-06-03T11:33:15.027Z] SSH_AUTH_SOCK=/tmp/ssh-AJtdBqaiw54D/agent.58 [2020-06-03T11:33:15.027Z] SSH_AGENT_PID=65 [2020-06-03T11:33:15.033Z] Running ssh-add (command line suppressed) [2020-06-03T11:33:15.169Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_8818832077251047047.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_8818832077251047047.key) [2020-06-03T11:33:15.216Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-03T11:33:15.518Z] + git semver init [2020-06-03T11:33:15.518Z] # -> Open(): unable to determine branch for HEAD [2020-06-03T11:33:15.518Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2020-06-03T11:33:15.518Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2020-06-03T11:33:15.518Z] # $SEMVER_REMOTE_NAME = origin [2020-06-03T11:33:15.518Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-06-03T11:33:15.518Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-06-03T11:33:15.518Z] # $SEMVER_BRANCH = master [2020-06-03T11:33:15.518Z] # $SEMVER_TEMP = /tmp/semver-703158225 [2020-06-03T11:33:15.518Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2020-06-03T11:33:16.093Z] # '/tmp/semver-703158225' -> '/w/workspace/edgexfoundry_device-sdk-c_master/.semver' [2020-06-03T11:33:16.093Z] # -> Force: false [2020-06-03T11:33:16.093Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [Pipeline] } [2020-06-03T11:33:16.105Z] $ docker exec --env ******** --env ******** d84da83060754b3bdf0c397dd6a2030a45518919fd729427342e67bb7e63fd25 ssh-agent -k [2020-06-03T11:33:16.241Z] unset SSH_AUTH_SOCK; [2020-06-03T11:33:16.241Z] unset SSH_AGENT_PID; [2020-06-03T11:33:16.241Z] echo Agent pid 65 killed; [2020-06-03T11:33:16.282Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-06-03T11:33:16.645Z] + git semver [Pipeline] } [2020-06-03T11:33:16.659Z] $ docker stop --time=1 d84da83060754b3bdf0c397dd6a2030a45518919fd729427342e67bb7e63fd25 [2020-06-03T11:33:17.980Z] $ docker rm -f d84da83060754b3bdf0c397dd6a2030a45518919fd729427342e67bb7e63fd25 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-06-03T11:33:18.575Z] Stashed 40 file(s) [Pipeline] echo [2020-06-03T11:33:18.576Z] [edgeXSemver] initialized semver on version 1.2.1-dev.2 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-06-03T11:33:33.728Z] Still waiting to schedule task [2020-06-03T11:33:33.728Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1691’ [2020-06-03T11:33:33.730Z] Still waiting to schedule task [2020-06-03T11:33:33.730Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-06-03T11:35:02.311Z] Running on prd-centos7-docker-4c-2g-1693 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] ws [2020-06-03T11:35:02.333Z] Running in /w/workspace/device-sdk-c/23 [Pipeline] { [Pipeline] checkout [2020-06-03T11:35:06.890Z] using credential edgex-jenkins-ssh [2020-06-03T11:35:06.917Z] Cloning the remote Git repository [2020-06-03T11:35:06.917Z] Cloning with configured refspecs honoured and without tags [2020-06-03T11:35:07.889Z] Fetching without tags [2020-06-03T11:35:06.266Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-06-03T11:35:06.374Z] > git init /w/workspace/device-sdk-c/23 # timeout=10 [2020-06-03T11:35:06.446Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-06-03T11:35:06.446Z] > git --version # timeout=10 [2020-06-03T11:35:06.457Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-03T11:35:06.496Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-03T11:35:07.110Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-06-03T11:35:07.122Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-03T11:35:07.141Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-06-03T11:35:07.158Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-06-03T11:35:07.158Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-03T11:35:07.162Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-03T11:35:08.347Z] Checking out Revision 1aa8105ebf83a2c75f03f15ed04b88c76ed291ae (master) [2020-06-03T11:35:07.620Z] > git config core.sparsecheckout # timeout=10 [2020-06-03T11:35:07.627Z] > git checkout -f 1aa8105ebf83a2c75f03f15ed04b88c76ed291ae # timeout=10 [2020-06-03T11:35:12.307Z] Commit message: "Merge pull request #264 from iain-anderson/small-fixes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-06-03T11:35:13.102Z] ========================================================= [2020-06-03T11:35:13.102Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2020-06-03T11:35:13.102Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-03T11:35:13.823Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-3.9-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2020-06-03T11:35:14.088Z] Sending build context to Docker daemon 3.152MB [2020-06-03T11:35:14.088Z] Step 1/21 : ARG BASE=alpine:3.9 [2020-06-03T11:35:14.088Z] Step 2/21 : FROM ${BASE} as builder [2020-06-03T11:35:14.358Z] latest: Pulling from edgex-devops/edgex-gcc-base [2020-06-03T11:35:14.358Z] e7c96db7181b: Pulling fs layer [2020-06-03T11:35:14.358Z] 4c13bbce0fe7: Pulling fs layer [2020-06-03T11:35:14.358Z] 6059c847ac2f: Pulling fs layer [2020-06-03T11:35:14.358Z] 4c13bbce0fe7: Verifying Checksum [2020-06-03T11:35:14.358Z] 4c13bbce0fe7: Download complete [2020-06-03T11:35:14.358Z] e7c96db7181b: Verifying Checksum [2020-06-03T11:35:14.358Z] e7c96db7181b: Download complete [2020-06-03T11:35:14.628Z] e7c96db7181b: Pull complete [2020-06-03T11:35:14.628Z] 4c13bbce0fe7: Pull complete [2020-06-03T11:35:15.580Z] 6059c847ac2f: Verifying Checksum [2020-06-03T11:35:15.580Z] 6059c847ac2f: Download complete [2020-06-03T11:35:18.746Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1692 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] ws [2020-06-03T11:35:18.773Z] Running in /w/workspace/device-sdk-c/23 [Pipeline] { [Pipeline] checkout [2020-06-03T11:35:19.815Z] 6059c847ac2f: Pull complete [2020-06-03T11:35:19.815Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2020-06-03T11:35:19.815Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2020-06-03T11:35:19.815Z] ---> 5eabd8fd8ba2 [2020-06-03T11:35:19.815Z] Step 3/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev [2020-06-03T11:35:20.076Z] ---> Running in e6ce6f9731c7 [2020-06-03T11:35:20.652Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-06-03T11:35:21.232Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-06-03T11:35:21.493Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-06-03T11:35:21.493Z] (2/8) Installing libuuid (2.33-r0) [2020-06-03T11:35:21.753Z] (3/8) Installing libblkid (2.33-r0) [2020-06-03T11:35:21.753Z] (4/8) Installing libfdisk (2.33-r0) [2020-06-03T11:35:21.753Z] (5/8) Installing libmount (2.33-r0) [2020-06-03T11:35:22.015Z] (6/8) Installing libsmartcols (2.33-r0) [2020-06-03T11:35:22.015Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-06-03T11:35:22.276Z] (8/8) Installing wget (1.20.3-r0) [2020-06-03T11:35:22.544Z] Executing busybox-1.29.3-r10.trigger [2020-06-03T11:35:22.544Z] OK: 272 MiB in 83 packages [2020-06-03T11:35:22.805Z] Removing intermediate container e6ce6f9731c7 [2020-06-03T11:35:22.805Z] ---> b5c03d13d0e8 [2020-06-03T11:35:22.806Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-06-03T11:35:23.075Z] ---> Running in 35d939837426 [2020-06-03T11:35:23.075Z] Removing intermediate container 35d939837426 [2020-06-03T11:35:23.075Z] ---> 626a3e05fcf0 [2020-06-03T11:35:23.075Z] Step 5/21 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2020-06-03T11:35:23.075Z] ---> Running in 0b663fbfb01a [2020-06-03T11:35:23.339Z] --2020-06-03 11:35:23-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-06-03T11:35:23.601Z] Resolving github.com... 140.82.112.4 [2020-06-03T11:35:23.601Z] Connecting to github.com|140.82.112.4|:443... connected. [2020-06-03T11:35:23.601Z] HTTP request sent, awaiting response... 302 Found [2020-06-03T11:35:23.601Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-06-03T11:35:23.601Z] --2020-06-03 11:35:23-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-06-03T11:35:23.601Z] Resolving codeload.github.com... 140.82.113.10 [2020-06-03T11:35:23.601Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2020-06-03T11:35:23.863Z] HTTP request sent, awaiting response... 200 OK [2020-06-03T11:35:23.863Z] Length: unspecified [application/x-gzip] [2020-06-03T11:35:23.863Z] Saving to: 'STDOUT' [2020-06-03T11:35:23.863Z] [2020-06-03T11:35:23.863Z] 0K .......... .......... .......... .......... .......... 1.64M [2020-06-03T11:35:23.863Z] 50K .......... .......... .......... .......... .......... 3.26M [2020-06-03T11:35:23.863Z] 100K .......... .......... .......... .......... .......... 31.6M [2020-06-03T11:35:23.863Z] 150K .......... .......... .......... .......... .......... 3.36M [2020-06-03T11:35:23.863Z] 200K .......... .......... .......... .......... .......... 22.0M [2020-06-03T11:35:23.863Z] 250K .......... .......... .......... .......... .......... 6.84M [2020-06-03T11:35:23.863Z] 300K .......... .......... .......... .......... .......... 8.19M [2020-06-03T11:35:23.863Z] 350K .......... .......... .......... .......... .......... 11.1M [2020-06-03T11:35:23.863Z] 400K .......... .......... .......... .......... .......... 7.39M [2020-06-03T11:35:23.863Z] 450K .......... .......... .......... .......... .......... 10.0M [2020-06-03T11:35:23.863Z] 500K .......... .......... .......... .......... .......... 17.2M [2020-06-03T11:35:23.863Z] 550K .......... .......... .......... .......... .......... 6.93M [2020-06-03T11:35:23.863Z] 600K .......... .......... .......... .......... .......... 2.14M [2020-06-03T11:35:23.863Z] 650K .......... .......... .......... .......... .......... 5.17M [2020-06-03T11:35:23.863Z] 700K .. 815K=0.1s [2020-06-03T11:35:23.863Z] [2020-06-03T11:35:23.863Z] 2020-06-03 11:35:23 (5.00 MB/s) - written to stdout [719348] [2020-06-03T11:35:23.863Z] [2020-06-03T11:35:24.126Z] -- The C compiler identification is GNU 8.3.0 [2020-06-03T11:35:24.126Z] -- The CXX compiler identification is GNU 8.3.0 [2020-06-03T11:35:24.126Z] -- Check for working C compiler: /usr/bin/cc [2020-06-03T11:35:24.126Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-03T11:35:24.126Z] -- Detecting C compiler ABI info [2020-06-03T11:35:24.389Z] -- Detecting C compiler ABI info - done [2020-06-03T11:35:24.389Z] -- Detecting C compile features [2020-06-03T11:35:24.652Z] -- Detecting C compile features - done [2020-06-03T11:35:24.652Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-06-03T11:35:24.652Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-06-03T11:35:24.652Z] -- Detecting CXX compiler ABI info [2020-06-03T11:35:24.652Z] -- Detecting CXX compiler ABI info - done [2020-06-03T11:35:24.652Z] -- Detecting CXX compile features [2020-06-03T11:35:24.810Z] using credential edgex-jenkins-ssh [2020-06-03T11:35:24.846Z] Cloning the remote Git repository [2020-06-03T11:35:24.846Z] Cloning with configured refspecs honoured and without tags [2020-06-03T11:35:24.883Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-06-03T11:35:25.013Z] > git init /w/workspace/device-sdk-c/23 # timeout=10 [2020-06-03T11:35:25.084Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-06-03T11:35:25.085Z] > git --version # timeout=10 [2020-06-03T11:35:25.134Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-03T11:35:25.252Z] -- Detecting CXX compile features - done [2020-06-03T11:35:25.252Z] -- Looking for include file endian.h [2020-06-03T11:35:25.252Z] -- Looking for include file endian.h - found [2020-06-03T11:35:25.252Z] -- Check if the system is big endian [2020-06-03T11:35:25.252Z] -- Searching 16 bit integer [2020-06-03T11:35:25.252Z] -- Looking for sys/types.h [2020-06-03T11:35:25.518Z] -- Looking for sys/types.h - found [2020-06-03T11:35:25.518Z] -- Looking for stdint.h [2020-06-03T11:35:25.518Z] -- Looking for stdint.h - found [2020-06-03T11:35:25.518Z] -- Looking for stddef.h [2020-06-03T11:35:25.518Z] -- Looking for stddef.h - found [2020-06-03T11:35:25.518Z] -- Check size of unsigned short [2020-06-03T11:35:25.788Z] -- Check size of unsigned short - done [2020-06-03T11:35:25.788Z] -- Using unsigned short [2020-06-03T11:35:25.788Z] -- Check if the system is big endian - little endian [2020-06-03T11:35:25.788Z] -- Check size of size_t [2020-06-03T11:35:26.054Z] -- Check size of size_t - done [2020-06-03T11:35:26.054Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-06-03T11:35:26.054Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-06-03T11:35:26.054Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-06-03T11:35:26.054Z] CMake did not find one. [2020-06-03T11:35:26.054Z] [2020-06-03T11:35:26.054Z] Could not find a package configuration file provided by "cJSON" with any of [2020-06-03T11:35:26.054Z] the following names: [2020-06-03T11:35:26.054Z] [2020-06-03T11:35:26.054Z] cJSONConfig.cmake [2020-06-03T11:35:26.054Z] cjson-config.cmake [2020-06-03T11:35:26.054Z] [2020-06-03T11:35:26.054Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-06-03T11:35:26.054Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-06-03T11:35:26.054Z] provides a separate development package or SDK, be sure it has been [2020-06-03T11:35:26.054Z] installed. [2020-06-03T11:35:26.054Z] [2020-06-03T11:35:26.054Z] [2020-06-03T11:35:26.054Z] -- Configuring done [2020-06-03T11:35:26.054Z] -- Generating done [2020-06-03T11:35:26.054Z] -- Build files have been written to: /tmp/cbor [2020-06-03T11:35:26.054Z] Scanning dependencies of target cbor_shared [2020-06-03T11:35:26.054Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-06-03T11:35:26.317Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-06-03T11:35:26.341Z] Fetching without tags [2020-06-03T11:35:25.201Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-03T11:35:26.212Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-06-03T11:35:26.246Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-03T11:35:26.291Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-06-03T11:35:26.328Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-06-03T11:35:26.329Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-03T11:35:26.339Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-03T11:35:26.581Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-06-03T11:35:26.581Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-06-03T11:35:26.804Z] Checking out Revision 1aa8105ebf83a2c75f03f15ed04b88c76ed291ae (master) [2020-06-03T11:35:26.843Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-06-03T11:35:26.843Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-06-03T11:35:26.843Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-06-03T11:35:27.105Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-06-03T11:35:27.105Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-06-03T11:35:27.105Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-06-03T11:35:27.383Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-06-03T11:35:27.383Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-06-03T11:35:27.650Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-06-03T11:35:27.650Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-06-03T11:35:27.650Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-06-03T11:35:26.942Z] > git config core.sparsecheckout # timeout=10 [2020-06-03T11:35:26.983Z] > git checkout -f 1aa8105ebf83a2c75f03f15ed04b88c76ed291ae # timeout=10 [2020-06-03T11:35:27.913Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-06-03T11:35:27.913Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-06-03T11:35:27.913Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-06-03T11:35:27.913Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-06-03T11:35:28.174Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-06-03T11:35:28.174Z] [ 40%] Linking C shared library libcbor.so [2020-06-03T11:35:28.174Z] [ 40%] Built target cbor_shared [2020-06-03T11:35:28.174Z] Scanning dependencies of target cbor [2020-06-03T11:35:28.174Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-06-03T11:35:28.435Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-06-03T11:35:28.697Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-06-03T11:35:28.697Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-06-03T11:35:28.958Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-06-03T11:35:28.958Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-06-03T11:35:29.221Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-06-03T11:35:29.221Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-06-03T11:35:29.221Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-06-03T11:35:29.484Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-06-03T11:35:29.484Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-06-03T11:35:29.746Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-06-03T11:35:29.746Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-06-03T11:35:30.009Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-06-03T11:35:30.009Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-06-03T11:35:30.009Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-06-03T11:35:30.271Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-06-03T11:35:30.271Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-06-03T11:35:30.271Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-06-03T11:35:30.537Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-06-03T11:35:30.537Z] [ 80%] Linking C static library libcbor.a [2020-06-03T11:35:30.537Z] [ 80%] Built target cbor [2020-06-03T11:35:30.537Z] Scanning dependencies of target create_items [2020-06-03T11:35:30.537Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-06-03T11:35:30.537Z] [ 84%] Linking C executable create_items [2020-06-03T11:35:30.537Z] [ 84%] Built target create_items [2020-06-03T11:35:30.537Z] Scanning dependencies of target readfile [2020-06-03T11:35:30.537Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-06-03T11:35:30.803Z] [ 88%] Linking C executable readfile [2020-06-03T11:35:30.803Z] [ 88%] Built target readfile [2020-06-03T11:35:30.803Z] Scanning dependencies of target streaming_parser [2020-06-03T11:35:30.803Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-06-03T11:35:30.803Z] [ 92%] Linking C executable streaming_parser [2020-06-03T11:35:30.803Z] [ 92%] Built target streaming_parser [2020-06-03T11:35:30.803Z] Scanning dependencies of target sort [2020-06-03T11:35:30.803Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-06-03T11:35:31.069Z] [ 96%] Linking C executable sort [2020-06-03T11:35:31.069Z] [ 96%] Built target sort [2020-06-03T11:35:31.069Z] Scanning dependencies of target hello [2020-06-03T11:35:31.069Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-06-03T11:35:31.069Z] [100%] Linking C executable hello [2020-06-03T11:35:31.069Z] [100%] Built target hello [2020-06-03T11:35:31.069Z] Install the project... [2020-06-03T11:35:31.069Z] -- Install configuration: "Release" [2020-06-03T11:35:31.069Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-06-03T11:35:31.069Z] -- Installing: /usr/local/lib64/libcbor.a [2020-06-03T11:35:31.069Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-06-03T11:35:31.069Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-06-03T11:35:31.069Z] -- Installing: /usr/local/lib64/libcbor.so [2020-06-03T11:35:31.069Z] -- Up-to-date: /usr/local/include/cbor [2020-06-03T11:35:31.069Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-06-03T11:35:31.069Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-06-03T11:35:31.070Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-06-03T11:35:31.070Z] -- Installing: /usr/local/include/cbor/common.h [2020-06-03T11:35:31.070Z] -- Installing: /usr/local/include/cbor/data.h [2020-06-03T11:35:31.070Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-06-03T11:35:31.070Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-06-03T11:35:31.070Z] -- Installing: /usr/local/include/cbor/internal [2020-06-03T11:35:31.070Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-06-03T11:35:31.070Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-06-03T11:35:31.070Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-06-03T11:35:31.070Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-06-03T11:35:31.070Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-06-03T11:35:31.070Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-06-03T11:35:31.070Z] -- Installing: /usr/local/include/cbor/ints.h [2020-06-03T11:35:31.070Z] -- Installing: /usr/local/include/cbor/maps.h [2020-06-03T11:35:31.070Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-06-03T11:35:31.070Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-06-03T11:35:31.070Z] -- Installing: /usr/local/include/cbor/strings.h [2020-06-03T11:35:31.070Z] -- Installing: /usr/local/include/cbor/tags.h [2020-06-03T11:35:31.070Z] -- Installing: /usr/local/include/cbor.h [2020-06-03T11:35:31.070Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-06-03T11:35:31.738Z] Commit message: "Merge pull request #264 from iain-anderson/small-fixes" [2020-06-03T11:35:32.032Z] Removing intermediate container 0b663fbfb01a [2020-06-03T11:35:32.032Z] ---> 92482c1d525a [2020-06-03T11:35:32.032Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-06-03T11:35:32.032Z] ---> Running in f6e1fa292019 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-06-03T11:35:32.851Z] ========================================================= [2020-06-03T11:35:32.851Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2020-06-03T11:35:32.851Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-03T11:35:33.953Z] Removing intermediate container f6e1fa292019 [2020-06-03T11:35:33.953Z] ---> 784db685fc90 [2020-06-03T11:35:33.953Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-06-03T11:35:33.953Z] ---> b88a76793273 [2020-06-03T11:35:33.953Z] Step 8/21 : COPY src /tmp/sdk/src [2020-06-03T11:35:33.953Z] ---> 88d142f9d0c1 [2020-06-03T11:35:33.953Z] Step 9/21 : COPY include /tmp/sdk/include [2020-06-03T11:35:34.065Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-3.9-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2020-06-03T11:35:34.215Z] ---> 0823430efee0 [2020-06-03T11:35:34.215Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-06-03T11:35:34.481Z] ---> e6b24d451aff [2020-06-03T11:35:34.481Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-06-03T11:35:34.481Z] ---> 0d3c0d9ee82c [2020-06-03T11:35:34.481Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-06-03T11:35:34.744Z] ---> a4f72d03d647 [2020-06-03T11:35:34.744Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-06-03T11:35:34.744Z] ---> Running in c5e9b191d85d [2020-06-03T11:35:35.068Z] Sending build context to Docker daemon 3.152MB [2020-06-03T11:35:35.068Z] Step 1/21 : ARG BASE=alpine:3.9 [2020-06-03T11:35:35.068Z] Step 2/21 : FROM ${BASE} as builder [2020-06-03T11:35:35.320Z] + CPPCHECK=false [2020-06-03T11:35:35.320Z] + DOCGEN=false [2020-06-03T11:35:35.320Z] + TOMLVER=SDK-0.2 [2020-06-03T11:35:35.320Z] + CUTILVER=1.0.4 [2020-06-03T11:35:35.320Z] + '[' 0 -gt 0 ] [2020-06-03T11:35:35.320Z] + readlink -f ./scripts/build.sh [2020-06-03T11:35:35.320Z] + dirname /tmp/sdk/scripts/build.sh [2020-06-03T11:35:35.320Z] + dirname /tmp/sdk/scripts [2020-06-03T11:35:35.320Z] + ROOT=/tmp/sdk [2020-06-03T11:35:35.320Z] + cd /tmp/sdk [2020-06-03T11:35:35.320Z] + '[' '!' -d deps ] [2020-06-03T11:35:35.320Z] + mkdir deps [2020-06-03T11:35:35.320Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-06-03T11:35:35.320Z] + tar -C deps -z -x -f - [2020-06-03T11:35:35.320Z] --2020-06-03 11:35:35-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-06-03T11:35:35.320Z] Resolving github.com... 140.82.112.4 [2020-06-03T11:35:35.320Z] Connecting to github.com|140.82.112.4|:443... connected. [2020-06-03T11:35:35.320Z] HTTP request sent, awaiting response... 302 Found [2020-06-03T11:35:35.320Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-06-03T11:35:35.320Z] --2020-06-03 11:35:35-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-06-03T11:35:35.320Z] Resolving codeload.github.com... 140.82.113.10 [2020-06-03T11:35:35.320Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2020-06-03T11:35:35.344Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2020-06-03T11:35:35.344Z] 0362ad1dd800: Pulling fs layer [2020-06-03T11:35:35.344Z] f2cdb1532d8b: Pulling fs layer [2020-06-03T11:35:35.344Z] 37ed683be191: Pulling fs layer [2020-06-03T11:35:35.344Z] f2cdb1532d8b: Verifying Checksum [2020-06-03T11:35:35.344Z] f2cdb1532d8b: Download complete [2020-06-03T11:35:35.582Z] HTTP request sent, awaiting response... 200 OK [2020-06-03T11:35:35.582Z] Length: unspecified [application/x-gzip] [2020-06-03T11:35:35.582Z] Saving to: 'STDOUT' [2020-06-03T11:35:35.582Z] [2020-06-03T11:35:35.582Z] 0K .......... ...... 1.03M=0.02s [2020-06-03T11:35:35.582Z] [2020-06-03T11:35:35.582Z] 2020-06-03 11:35:35 (1.03 MB/s) - written to stdout [16451] [2020-06-03T11:35:35.582Z] [2020-06-03T11:35:35.582Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-06-03T11:35:35.582Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz+ [2020-06-03T11:35:35.582Z] tar -C deps -z -x -f - [2020-06-03T11:35:35.582Z] --2020-06-03 11:35:35-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-06-03T11:35:35.582Z] Resolving github.com... 140.82.112.4 [2020-06-03T11:35:35.582Z] Connecting to github.com|140.82.112.4|:443... connected. [2020-06-03T11:35:35.618Z] 0362ad1dd800: Verifying Checksum [2020-06-03T11:35:35.618Z] 0362ad1dd800: Download complete [2020-06-03T11:35:35.850Z] HTTP request sent, awaiting response... 302 Found [2020-06-03T11:35:35.850Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] [2020-06-03T11:35:35.850Z] --2020-06-03 11:35:35-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [2020-06-03T11:35:35.850Z] Resolving codeload.github.com... 140.82.113.10 [2020-06-03T11:35:35.850Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2020-06-03T11:35:35.850Z] HTTP request sent, awaiting response... 200 OK [2020-06-03T11:35:35.850Z] Length: unspecified [application/x-gzip] [2020-06-03T11:35:35.850Z] Saving to: 'STDOUT' [2020-06-03T11:35:35.850Z]  [2020-06-03T11:35:36.113Z] 0K .......... .......... .......... .......... .......... 1.36M [2020-06-03T11:35:36.113Z] 50K .......... .......... .......... .......... .......... 2.82M [2020-06-03T11:35:36.113Z] 100K .......... .......... .......... .......... .......... 48.3M [2020-06-03T11:35:36.113Z] 150K ........ 6.14M=0.06s [2020-06-03T11:35:36.113Z] [2020-06-03T11:35:36.113Z] 2020-06-03 11:35:35 (2.78 MB/s) - written to stdout [162267] [2020-06-03T11:35:36.113Z] [2020-06-03T11:35:36.113Z] + mkdir -p src/c/iot [2020-06-03T11:35:36.113Z] + cp deps/iotech-c-utils-1.0.4/src/c/base64.c deps/iotech-c-utils-1.0.4/src/c/component.c deps/iotech-c-utils-1.0.4/src/c/container.c deps/iotech-c-utils-1.0.4/src/c/data.c deps/iotech-c-utils-1.0.4/src/c/hash.c deps/iotech-c-utils-1.0.4/src/c/iot.c deps/iotech-c-utils-1.0.4/src/c/json.c deps/iotech-c-utils-1.0.4/src/c/logger.c deps/iotech-c-utils-1.0.4/src/c/os.c deps/iotech-c-utils-1.0.4/src/c/scheduler.c deps/iotech-c-utils-1.0.4/src/c/thread.c deps/iotech-c-utils-1.0.4/src/c/threadpool.c deps/iotech-c-utils-1.0.4/src/c/time.c src/c/iot [2020-06-03T11:35:36.113Z] + mkdir -p include/iot [2020-06-03T11:35:36.113Z] + cp deps/iotech-c-utils-1.0.4/include/iot/base64.h deps/iotech-c-utils-1.0.4/include/iot/component.h deps/iotech-c-utils-1.0.4/include/iot/container.h deps/iotech-c-utils-1.0.4/include/iot/data.h deps/iotech-c-utils-1.0.4/include/iot/hash.h deps/iotech-c-utils-1.0.4/include/iot/iot.h deps/iotech-c-utils-1.0.4/include/iot/json.h deps/iotech-c-utils-1.0.4/include/iot/logger.h deps/iotech-c-utils-1.0.4/include/iot/os.h deps/iotech-c-utils-1.0.4/include/iot/scheduler.h deps/iotech-c-utils-1.0.4/include/iot/thread.h deps/iotech-c-utils-1.0.4/include/iot/threadpool.h deps/iotech-c-utils-1.0.4/include/iot/time.h deps/iotech-c-utils-1.0.4/include/iot/typecode.h include/iot [2020-06-03T11:35:36.113Z] + mkdir -p include/iot/os [2020-06-03T11:35:36.113Z] + cp deps/iotech-c-utils-1.0.4/include/iot/os/linux.h deps/iotech-c-utils-1.0.4/include/iot/os/zephyr.h include/iot/os [2020-06-03T11:35:36.113Z] + mkdir -p /tmp/sdk/build/release [2020-06-03T11:35:36.113Z] + cd /tmp/sdk/build/release [2020-06-03T11:35:36.113Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-06-03T11:35:36.113Z] -- The C compiler identification is GNU 8.3.0 [2020-06-03T11:35:36.113Z] -- Check for working C compiler: /usr/bin/cc [2020-06-03T11:35:36.218Z] 0362ad1dd800: Pull complete [2020-06-03T11:35:36.377Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-03T11:35:36.377Z] -- Detecting C compiler ABI info [2020-06-03T11:35:36.377Z] -- Detecting C compiler ABI info - done [2020-06-03T11:35:36.377Z] -- Detecting C compile features [2020-06-03T11:35:36.494Z] f2cdb1532d8b: Pull complete [2020-06-03T11:35:36.638Z] -- Detecting C compile features - done [2020-06-03T11:35:36.638Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-06-03T11:35:36.638Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-06-03T11:35:36.638Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-06-03T11:35:36.638Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-06-03T11:35:36.638Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-06-03T11:35:36.638Z] -- C SDK 1.2.1-dev.2 for Linux [2020-06-03T11:35:36.638Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-06-03T11:35:36.638Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-06-03T11:35:36.638Z] -- Found Curses: /usr/lib/libcurses.so [2020-06-03T11:35:36.901Z] -- Configuring done [2020-06-03T11:35:36.901Z] -- Generating done [2020-06-03T11:35:36.901Z] -- Build files have been written to: /tmp/sdk/build/release [2020-06-03T11:35:36.901Z] + make [2020-06-03T11:35:36.901Z] + tee release.log [2020-06-03T11:35:36.901Z] Scanning dependencies of target csdk [2020-06-03T11:35:36.901Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-06-03T11:35:37.165Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-06-03T11:35:37.429Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-06-03T11:35:38.009Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-06-03T11:35:38.009Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-06-03T11:35:38.009Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-06-03T11:35:38.272Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-06-03T11:35:38.850Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-06-03T11:35:39.115Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-06-03T11:35:39.115Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-06-03T11:35:39.386Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-06-03T11:35:39.386Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-06-03T11:35:39.386Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-06-03T11:35:39.651Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-06-03T11:35:40.599Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-06-03T11:35:40.599Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-06-03T11:35:40.599Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-06-03T11:35:40.861Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-06-03T11:35:41.435Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-06-03T11:35:41.435Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-06-03T11:35:41.435Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-06-03T11:35:41.696Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-06-03T11:35:41.696Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-06-03T11:35:41.696Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-06-03T11:35:41.958Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-06-03T11:35:42.219Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-06-03T11:35:42.219Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-06-03T11:35:42.219Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-06-03T11:35:42.486Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-06-03T11:35:42.753Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-06-03T11:35:42.753Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-06-03T11:35:43.212Z] 37ed683be191: Download complete [2020-06-03T11:35:44.151Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-06-03T11:35:44.151Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-06-03T11:35:44.151Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-06-03T11:35:44.419Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-06-03T11:35:44.685Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-06-03T11:35:45.258Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-06-03T11:35:46.207Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-06-03T11:35:46.207Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-06-03T11:35:46.781Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-06-03T11:35:46.781Z] [ 65%] Linking C shared library libcsdk.so [2020-06-03T11:35:46.781Z] [ 65%] Built target csdk [2020-06-03T11:35:46.781Z] Scanning dependencies of target template [2020-06-03T11:35:46.781Z] [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-06-03T11:35:47.042Z] [ 68%] Linking C executable template [2020-06-03T11:35:47.042Z] [ 68%] Built target template [2020-06-03T11:35:47.042Z] Scanning dependencies of target device-counter [2020-06-03T11:35:47.042Z] [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-06-03T11:35:47.303Z] [ 71%] Linking C executable device-counter [2020-06-03T11:35:47.303Z] [ 71%] Built target device-counter [2020-06-03T11:35:47.303Z] Scanning dependencies of target device-random [2020-06-03T11:35:47.303Z] [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-06-03T11:35:47.563Z] [ 74%] Linking C executable device-random [2020-06-03T11:35:47.563Z] [ 74%] Built target device-random [2020-06-03T11:35:47.563Z] Scanning dependencies of target device-gyro [2020-06-03T11:35:47.563Z] [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-06-03T11:35:47.563Z] [ 77%] Linking C executable device-gyro [2020-06-03T11:35:47.824Z] [ 77%] Built target device-gyro [2020-06-03T11:35:47.824Z] Scanning dependencies of target template-discovery [2020-06-03T11:35:47.824Z] [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-06-03T11:35:47.824Z] [ 80%] Linking C executable template-discovery [2020-06-03T11:35:48.085Z] [ 80%] Built target template-discovery [2020-06-03T11:35:48.085Z] Scanning dependencies of target device-terminal [2020-06-03T11:35:48.085Z] [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-06-03T11:35:48.085Z] [ 84%] Linking C executable device-terminal [2020-06-03T11:35:48.085Z] [ 84%] Built target device-terminal [2020-06-03T11:35:48.085Z] Scanning dependencies of target template2 [2020-06-03T11:35:48.085Z] [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-06-03T11:35:48.358Z] [ 87%] Linking C executable template2 [2020-06-03T11:35:48.358Z] [ 87%] Built target template2 [2020-06-03T11:35:48.358Z] Scanning dependencies of target device-counterv2 [2020-06-03T11:35:48.358Z] [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-06-03T11:35:48.620Z] [ 90%] Linking C executable device-counterv2 [2020-06-03T11:35:48.620Z] [ 90%] Built target device-counterv2 [2020-06-03T11:35:48.620Z] Scanning dependencies of target device-gyrov2 [2020-06-03T11:35:48.620Z] [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o [2020-06-03T11:35:48.881Z] [ 93%] Linking C executable device-gyrov2 [2020-06-03T11:35:48.881Z] [ 93%] Built target device-gyrov2 [2020-06-03T11:35:48.881Z] Scanning dependencies of target device-randomv2 [2020-06-03T11:35:48.881Z] [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-06-03T11:35:48.881Z] [ 96%] Linking C executable device-randomv2 [2020-06-03T11:35:49.143Z] [ 96%] Built target device-randomv2 [2020-06-03T11:35:49.143Z] Scanning dependencies of target device-terminalv2 [2020-06-03T11:35:49.143Z] [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o [2020-06-03T11:35:49.143Z] [100%] Linking C executable device-terminalv2 [2020-06-03T11:35:49.405Z] [100%] Built target device-terminalv2 [2020-06-03T11:35:49.405Z] + make package [2020-06-03T11:35:49.405Z] + tee -a release.log [2020-06-03T11:35:49.405Z] [ 65%] Built target csdk [2020-06-03T11:35:49.405Z] [ 68%] Built target template [2020-06-03T11:35:49.405Z] [ 71%] Built target device-counter [2020-06-03T11:35:49.405Z] [ 74%] Built target device-random [2020-06-03T11:35:49.405Z] [ 77%] Built target device-gyro [2020-06-03T11:35:49.405Z] [ 80%] Built target template-discovery [2020-06-03T11:35:49.405Z] [ 84%] Built target device-terminal [2020-06-03T11:35:49.405Z] [ 87%] Built target template2 [2020-06-03T11:35:49.405Z] [ 90%] Built target device-counterv2 [2020-06-03T11:35:49.668Z] [ 93%] Built target device-gyrov2 [2020-06-03T11:35:49.668Z] [ 96%] Built target device-randomv2 [2020-06-03T11:35:49.668Z] [100%] Built target device-terminalv2 [2020-06-03T11:35:49.668Z] Run CPack packaging tool... [2020-06-03T11:35:49.668Z] CPack: Create package using TGZ [2020-06-03T11:35:49.668Z] CPack: Install projects [2020-06-03T11:35:49.668Z] CPack: - Run preinstall target for: Csdk [2020-06-03T11:35:49.930Z] CPack: - Install project: Csdk [2020-06-03T11:35:49.930Z] CPack: Create package [2020-06-03T11:35:49.930Z] CPack: - package: /tmp/sdk/build/release/csdk-1.2.1-dev.2.tar.gz generated. [2020-06-03T11:35:49.930Z] + '[' false '=' true ] [2020-06-03T11:35:49.930Z] + '[' false '=' true ] [2020-06-03T11:35:49.930Z] + mkdir -p /tmp/sdk/build/debug [2020-06-03T11:35:49.930Z] + cd /tmp/sdk/build/debug [2020-06-03T11:35:49.930Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-06-03T11:35:49.930Z] -- The C compiler identification is GNU 8.3.0 [2020-06-03T11:35:49.930Z] -- Check for working C compiler: /usr/bin/cc [2020-06-03T11:35:50.194Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-03T11:35:50.194Z] -- Detecting C compiler ABI info [2020-06-03T11:35:50.194Z] -- Detecting C compiler ABI info - done [2020-06-03T11:35:50.194Z] -- Detecting C compile features [2020-06-03T11:35:50.456Z] -- Detecting C compile features - done [2020-06-03T11:35:50.456Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-06-03T11:35:50.456Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-06-03T11:35:50.456Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-06-03T11:35:50.456Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-06-03T11:35:50.456Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-06-03T11:35:50.456Z] -- C SDK 1.2.1-dev.2 for Linux [2020-06-03T11:35:50.456Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-06-03T11:35:50.456Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-06-03T11:35:50.456Z] -- Found Curses: /usr/lib/libcurses.so [2020-06-03T11:35:50.718Z] -- Configuring done [2020-06-03T11:35:50.718Z] -- Generating done [2020-06-03T11:35:50.718Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-06-03T11:35:50.718Z] + make [2020-06-03T11:35:50.718Z] + tee debug.log [2020-06-03T11:35:50.718Z] Scanning dependencies of target csdk [2020-06-03T11:35:50.718Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-06-03T11:35:50.979Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-06-03T11:35:50.979Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-06-03T11:35:51.241Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-06-03T11:35:51.241Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-06-03T11:35:51.241Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-06-03T11:35:51.241Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-06-03T11:35:51.503Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-06-03T11:35:51.503Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-06-03T11:35:51.764Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-06-03T11:35:51.764Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-06-03T11:35:51.764Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-06-03T11:35:51.764Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-06-03T11:35:52.027Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-06-03T11:35:52.290Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-06-03T11:35:52.290Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-06-03T11:35:52.290Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-06-03T11:35:52.290Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-06-03T11:35:52.554Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-06-03T11:35:52.554Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-06-03T11:35:52.817Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-06-03T11:35:52.817Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-06-03T11:35:52.817Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-06-03T11:35:52.817Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-06-03T11:35:53.081Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-06-03T11:35:53.081Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-06-03T11:35:53.081Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-06-03T11:35:53.081Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-06-03T11:35:53.081Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-06-03T11:35:53.343Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-06-03T11:35:53.343Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-06-03T11:35:53.402Z] 37ed683be191: Pull complete [2020-06-03T11:35:53.402Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2020-06-03T11:35:53.402Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2020-06-03T11:35:53.402Z] ---> b23d30803547 [2020-06-03T11:35:53.402Z] Step 3/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev [2020-06-03T11:35:53.604Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-06-03T11:35:53.867Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-06-03T11:35:53.867Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-06-03T11:35:53.867Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-06-03T11:35:54.128Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-06-03T11:35:54.391Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-06-03T11:35:54.654Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-06-03T11:35:54.654Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-06-03T11:35:54.840Z] ---> Running in a586fec8dc03 [2020-06-03T11:35:54.923Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-06-03T11:35:54.924Z] [ 65%] Linking C shared library libcsdk.so [2020-06-03T11:35:54.924Z] [ 65%] Built target csdk [2020-06-03T11:35:55.190Z] Scanning dependencies of target template [2020-06-03T11:35:55.190Z] [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-06-03T11:35:55.190Z] [ 68%] Linking C executable template [2020-06-03T11:35:55.190Z] [ 68%] Built target template [2020-06-03T11:35:55.190Z] Scanning dependencies of target device-counter [2020-06-03T11:35:55.190Z] [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-06-03T11:35:55.457Z] [ 71%] Linking C executable device-counter [2020-06-03T11:35:55.457Z] [ 71%] Built target device-counter [2020-06-03T11:35:55.457Z] Scanning dependencies of target device-random [2020-06-03T11:35:55.457Z] [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-06-03T11:35:55.457Z] [ 74%] Linking C executable device-random [2020-06-03T11:35:55.457Z] [ 74%] Built target device-random [2020-06-03T11:35:55.717Z] Scanning dependencies of target device-gyro [2020-06-03T11:35:55.718Z] [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-06-03T11:35:55.718Z] [ 77%] Linking C executable device-gyro [2020-06-03T11:35:55.718Z] [ 77%] Built target device-gyro [2020-06-03T11:35:55.718Z] Scanning dependencies of target template-discovery [2020-06-03T11:35:55.718Z] [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-06-03T11:35:55.845Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-06-03T11:35:55.981Z] [ 80%] Linking C executable template-discovery [2020-06-03T11:35:55.981Z] [ 80%] Built target template-discovery [2020-06-03T11:35:55.981Z] Scanning dependencies of target device-terminal [2020-06-03T11:35:55.981Z] [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-06-03T11:35:55.981Z] [ 84%] Linking C executable device-terminal [2020-06-03T11:35:56.245Z] [ 84%] Built target device-terminal [2020-06-03T11:35:56.245Z] Scanning dependencies of target template2 [2020-06-03T11:35:56.245Z] [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-06-03T11:35:56.245Z] [ 87%] Linking C executable template2 [2020-06-03T11:35:56.245Z] [ 87%] Built target template2 [2020-06-03T11:35:56.506Z] Scanning dependencies of target device-counterv2 [2020-06-03T11:35:56.506Z] [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-06-03T11:35:56.506Z] [ 90%] Linking C executable device-counterv2 [2020-06-03T11:35:56.506Z] [ 90%] Built target device-counterv2 [2020-06-03T11:35:56.506Z] Scanning dependencies of target device-gyrov2 [2020-06-03T11:35:56.506Z] [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o [2020-06-03T11:35:56.768Z] [ 93%] Linking C executable device-gyrov2 [2020-06-03T11:35:56.768Z] [ 93%] Built target device-gyrov2 [2020-06-03T11:35:56.768Z] Scanning dependencies of target device-randomv2 [2020-06-03T11:35:56.768Z] [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-06-03T11:35:56.768Z] [ 96%] Linking C executable device-randomv2 [2020-06-03T11:35:56.821Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-06-03T11:35:57.031Z] [ 96%] Built target device-randomv2 [2020-06-03T11:35:57.031Z] Scanning dependencies of target device-terminalv2 [2020-06-03T11:35:57.031Z] [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o [2020-06-03T11:35:57.031Z] [100%] Linking C executable device-terminalv2 [2020-06-03T11:35:57.031Z] [100%] Built target device-terminalv2 [2020-06-03T11:35:57.031Z] make: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:35:57.031Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:35:57.090Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-06-03T11:35:57.090Z] (2/8) Installing libuuid (2.33-r0) [2020-06-03T11:35:57.293Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:35:57.293Z] Scanning dependencies of target csdk [2020-06-03T11:35:57.293Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:35:57.293Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:35:57.293Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-06-03T11:35:57.362Z] (3/8) Installing libblkid (2.33-r0) [2020-06-03T11:35:57.363Z] (4/8) Installing libfdisk (2.33-r0) [2020-06-03T11:35:57.363Z] (5/8) Installing libmount (2.33-r0) [2020-06-03T11:35:57.635Z] (6/8) Installing libsmartcols (2.33-r0) [2020-06-03T11:35:57.635Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-06-03T11:35:57.870Z] [ 3%] Linking C shared library libcsdk.so [2020-06-03T11:35:57.870Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:35:57.870Z] [ 65%] Built target csdk [2020-06-03T11:35:57.870Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:35:57.870Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:35:57.870Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:35:57.870Z] [ 66%] Linking C executable template [2020-06-03T11:35:57.870Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:35:57.870Z] [ 68%] Built target template [2020-06-03T11:35:57.870Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:35:57.870Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:35:57.870Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:35:57.870Z] [ 69%] Linking C executable device-counter [2020-06-03T11:35:57.870Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:35:57.870Z] [ 71%] Built target device-counter [2020-06-03T11:35:57.870Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:35:57.870Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:35:57.870Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:35:57.910Z] (8/8) Installing wget (1.20.3-r0) [2020-06-03T11:35:58.135Z] [ 73%] Linking C executable device-random [2020-06-03T11:35:58.135Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:35:58.135Z] [ 74%] Built target device-random [2020-06-03T11:35:58.135Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:35:58.135Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:35:58.135Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:35:58.135Z] [ 76%] Linking C executable device-gyro [2020-06-03T11:35:58.135Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:35:58.135Z] [ 77%] Built target device-gyro [2020-06-03T11:35:58.135Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:35:58.135Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:35:58.135Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:35:58.135Z] [ 79%] Linking C executable template-discovery [2020-06-03T11:35:58.184Z] Executing busybox-1.29.3-r10.trigger [2020-06-03T11:35:58.184Z] OK: 285 MiB in 83 packages [2020-06-03T11:35:58.398Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:35:58.398Z] [ 80%] Built target template-discovery [2020-06-03T11:35:58.398Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:35:58.398Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:35:58.398Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:35:58.398Z] [ 82%] Linking C executable device-terminal [2020-06-03T11:35:58.398Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:35:58.398Z] [ 84%] Built target device-terminal [2020-06-03T11:35:58.398Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:35:58.398Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:35:58.398Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:35:58.399Z] [ 85%] Linking C executable template2 [2020-06-03T11:35:58.399Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:35:58.399Z] [ 87%] Built target template2 [2020-06-03T11:35:58.399Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:35:58.399Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:35:58.399Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:35:58.399Z] [ 88%] Linking C executable device-counterv2 [2020-06-03T11:35:58.663Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:35:58.663Z] [ 90%] Built target device-counterv2 [2020-06-03T11:35:58.663Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:35:58.663Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:35:58.663Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:35:58.663Z] [ 92%] Linking C executable device-gyrov2 [2020-06-03T11:35:58.663Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:35:58.663Z] [ 93%] Built target device-gyrov2 [2020-06-03T11:35:58.663Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:35:58.663Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:35:58.663Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:35:58.663Z] [ 95%] Linking C executable device-randomv2 [2020-06-03T11:35:58.924Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:35:58.924Z] [ 96%] Built target device-randomv2 [2020-06-03T11:35:58.924Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:35:58.924Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:35:58.924Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:35:58.924Z] [ 98%] Linking C executable device-terminalv2 [2020-06-03T11:35:58.924Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:35:58.924Z] [100%] Built target device-terminalv2 [2020-06-03T11:35:58.924Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:35:58.924Z] Install the project... [2020-06-03T11:35:58.924Z] -- Install configuration: "Release" [2020-06-03T11:35:58.924Z] -- Installing: /usr/local/lib/libcsdk.so [2020-06-03T11:35:58.924Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-06-03T11:35:58.924Z] -- Up-to-date: /usr/local/include [2020-06-03T11:35:58.924Z] -- Installing: /usr/local/include/devsdk [2020-06-03T11:35:58.924Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-06-03T11:35:58.924Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-06-03T11:35:58.924Z] -- Installing: /usr/local/include/edgex [2020-06-03T11:35:58.924Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-06-03T11:35:58.924Z] -- Installing: /usr/local/include/edgex/devices.h [2020-06-03T11:35:58.924Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-06-03T11:35:58.924Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-06-03T11:35:58.924Z] -- Installing: /usr/local/include/edgex/edgex-logging.h [2020-06-03T11:35:58.924Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-06-03T11:35:58.924Z] -- Installing: /usr/local/include/edgex/error.h [2020-06-03T11:35:58.924Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-06-03T11:35:58.924Z] -- Installing: /usr/local/include/edgex/os.h [2020-06-03T11:35:58.924Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-06-03T11:35:58.924Z] -- Installing: /usr/local/include/edgex/registry.h [2020-06-03T11:35:58.924Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-06-03T11:35:58.924Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-06-03T11:35:58.924Z] -- Installing: /usr/local/include/iot [2020-06-03T11:35:58.924Z] -- Installing: /usr/local/include/iot/base64.h [2020-06-03T11:35:58.924Z] -- Installing: /usr/local/include/iot/component.h [2020-06-03T11:35:58.924Z] -- Installing: /usr/local/include/iot/container.h [2020-06-03T11:35:58.924Z] -- Installing: /usr/local/include/iot/data.h [2020-06-03T11:35:58.924Z] -- Installing: /usr/local/include/iot/hash.h [2020-06-03T11:35:58.925Z] -- Installing: /usr/local/include/iot/iot.h [2020-06-03T11:35:58.925Z] -- Installing: /usr/local/include/iot/json.h [2020-06-03T11:35:58.925Z] -- Installing: /usr/local/include/iot/logger.h [2020-06-03T11:35:58.925Z] -- Installing: /usr/local/include/iot/os.h [2020-06-03T11:35:58.925Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-06-03T11:35:58.925Z] -- Installing: /usr/local/include/iot/thread.h [2020-06-03T11:35:58.925Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-06-03T11:35:58.925Z] -- Installing: /usr/local/include/iot/time.h [2020-06-03T11:35:58.925Z] -- Installing: /usr/local/include/iot/typecode.h [2020-06-03T11:35:58.925Z] -- Installing: /usr/local/include/iot/os [2020-06-03T11:35:58.925Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-06-03T11:35:58.925Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-06-03T11:35:58.925Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-06-03T11:35:58.925Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-06-03T11:35:58.925Z] make: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:35:59.622Z] Removing intermediate container a586fec8dc03 [2020-06-03T11:35:59.622Z] ---> 387b85cbd958 [2020-06-03T11:35:59.622Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-06-03T11:35:59.622Z] ---> Running in 602ad35689a4 [2020-06-03T11:35:59.875Z] Removing intermediate container c5e9b191d85d [2020-06-03T11:35:59.875Z] ---> 79c32ef95d20 [2020-06-03T11:35:59.875Z] Step 14/21 : FROM alpine:3.9 [2020-06-03T11:35:59.900Z] Removing intermediate container 602ad35689a4 [2020-06-03T11:35:59.900Z] ---> 148262bf386c [2020-06-03T11:35:59.900Z] Step 5/21 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2020-06-03T11:36:00.138Z] 3.9: Pulling from library/alpine [2020-06-03T11:36:00.138Z] 31603596830f: Pulling fs layer [2020-06-03T11:36:00.176Z] ---> Running in f9384b47c4f2 [2020-06-03T11:36:00.401Z] 31603596830f: Download complete [2020-06-03T11:36:00.666Z] 31603596830f: Pull complete [2020-06-03T11:36:00.666Z] Digest: sha256:414e0518bb9228d35e4cd5165567fb91d26c6a214e9c95899e1e056fcd349011 [2020-06-03T11:36:00.666Z] Status: Downloaded newer image for alpine:3.9 [2020-06-03T11:36:00.666Z] ---> 78a2ce922f86 [2020-06-03T11:36:00.666Z] Step 15/21 : MAINTAINER IOTech [2020-06-03T11:36:00.666Z] ---> Running in 19b2b9404311 [2020-06-03T11:36:00.666Z] Removing intermediate container 19b2b9404311 [2020-06-03T11:36:00.666Z] ---> f4f39465010f [2020-06-03T11:36:00.666Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-06-03T11:36:00.927Z] ---> Running in ef0438228353 [2020-06-03T11:36:01.171Z] --2020-06-03 11:36:00-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-06-03T11:36:01.171Z] Resolving github.com... 140.82.113.4 [2020-06-03T11:36:01.171Z] Connecting to github.com|140.82.113.4|:443... connected. [2020-06-03T11:36:01.171Z] HTTP request sent, awaiting response... 302 Found [2020-06-03T11:36:01.172Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-06-03T11:36:01.172Z] --2020-06-03 11:36:01-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-06-03T11:36:01.172Z] Resolving codeload.github.com... 140.82.112.9 [2020-06-03T11:36:01.172Z] Connecting to codeload.github.com|140.82.112.9|:443... connected. [2020-06-03T11:36:01.446Z] HTTP request sent, awaiting response... 200 OK [2020-06-03T11:36:01.446Z] Length: unspecified [application/x-gzip] [2020-06-03T11:36:01.446Z] Saving to: 'STDOUT' [2020-06-03T11:36:01.446Z] [2020-06-03T11:36:01.446Z] 0K .......... .......... .......... .......... .......... 1.30M [2020-06-03T11:36:01.446Z] 50K .......... .......... .......... .......... .......... 2.51M [2020-06-03T11:36:01.446Z] 100K .......... .......... .......... .......... .......... 12.8M [2020-06-03T11:36:01.446Z] 150K .......... .......... .......... .......... .......... 9.78M [2020-06-03T11:36:01.446Z] 200K .......... .......... .......... .......... .......... 3.51M [2020-06-03T11:36:01.446Z] 250K .......... .......... .......... .......... .......... 4.80M [2020-06-03T11:36:01.446Z] 300K .......... .......... .......... .......... .......... 3.95M [2020-06-03T11:36:01.446Z] 350K .......... .......... .......... .......... .......... 5.04M [2020-06-03T11:36:01.446Z] 400K .......... .......... .......... .......... .......... 3.20M [2020-06-03T11:36:01.446Z] 450K .......... .......... .......... .......... .......... 3.83M [2020-06-03T11:36:01.446Z] 500K .......... .......... .......... .......... .......... 9.86M [2020-06-03T11:36:01.446Z] 550K .......... .......... .......... .......... .......... 2.65M [2020-06-03T11:36:01.718Z] 600K .......... .......... .......... .......... .......... 873K [2020-06-03T11:36:01.718Z] 650K .......... .......... .......... .......... .......... 2.38M [2020-06-03T11:36:01.718Z] 700K ..    11.2M=0.2s [2020-06-03T11:36:01.718Z] [2020-06-03T11:36:01.718Z] 2020-06-03 11:36:01 (2.84 MB/s) - written to stdout [719348] [2020-06-03T11:36:01.718Z] [2020-06-03T11:36:01.884Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-06-03T11:36:01.884Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-06-03T11:36:01.884Z] (1/48) Installing binutils (2.31.1-r2) [2020-06-03T11:36:01.991Z] -- The C compiler identification is GNU 8.3.0 [2020-06-03T11:36:02.146Z] (2/48) Installing libmagic (5.36-r1) [2020-06-03T11:36:02.146Z] (3/48) Installing file (5.36-r1) [2020-06-03T11:36:02.146Z] (4/48) Installing gmp (6.1.2-r1) [2020-06-03T11:36:02.146Z] (5/48) Installing isl (0.18-r0) [2020-06-03T11:36:02.146Z] (6/48) Installing libgomp (8.3.0-r0) [2020-06-03T11:36:02.146Z] (7/48) Installing libatomic (8.3.0-r0) [2020-06-03T11:36:02.146Z] (8/48) Installing libgcc (8.3.0-r0) [2020-06-03T11:36:02.146Z] (9/48) Installing mpfr3 (3.1.5-r1) [2020-06-03T11:36:02.146Z] (10/48) Installing mpc1 (1.0.3-r1) [2020-06-03T11:36:02.146Z] (11/48) Installing libstdc++ (8.3.0-r0) [2020-06-03T11:36:02.146Z] (12/48) Installing gcc (8.3.0-r0) [2020-06-03T11:36:02.264Z] -- The CXX compiler identification is GNU 8.3.0 [2020-06-03T11:36:02.264Z] -- Check for working C compiler: /usr/bin/cc [2020-06-03T11:36:02.538Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-03T11:36:02.538Z] -- Detecting C compiler ABI info [2020-06-03T11:36:02.538Z] -- Detecting C compiler ABI info - done [2020-06-03T11:36:02.812Z] -- Detecting C compile features [2020-06-03T11:36:03.405Z] -- Detecting C compile features - done [2020-06-03T11:36:03.405Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-06-03T11:36:03.677Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-06-03T11:36:03.677Z] -- Detecting CXX compiler ABI info [2020-06-03T11:36:03.956Z] -- Detecting CXX compiler ABI info - done [2020-06-03T11:36:03.956Z] -- Detecting CXX compile features [2020-06-03T11:36:05.399Z] -- Detecting CXX compile features - done [2020-06-03T11:36:05.471Z] (13/48) Installing musl-dev (1.1.20-r5) [2020-06-03T11:36:05.671Z] -- Looking for include file endian.h [2020-06-03T11:36:05.671Z] -- Looking for include file endian.h - found [2020-06-03T11:36:05.671Z] -- Check if the system is big endian [2020-06-03T11:36:05.671Z] -- Searching 16 bit integer [2020-06-03T11:36:05.671Z] -- Looking for sys/types.h [2020-06-03T11:36:05.956Z] -- Looking for sys/types.h - found [2020-06-03T11:36:05.956Z] -- Looking for stdint.h [2020-06-03T11:36:06.231Z] -- Looking for stdint.h - found [2020-06-03T11:36:06.231Z] -- Looking for stddef.h [2020-06-03T11:36:06.426Z] (14/48) Installing libc-dev (0.7.1-r0) [2020-06-03T11:36:06.426Z] (15/48) Installing g++ (8.3.0-r0) [2020-06-03T11:36:06.503Z] -- Looking for stddef.h - found [2020-06-03T11:36:06.503Z] -- Check size of unsigned short [2020-06-03T11:36:06.775Z] -- Check size of unsigned short - done [2020-06-03T11:36:06.775Z] -- Using unsigned short [2020-06-03T11:36:07.046Z] -- Check if the system is big endian - little endian [2020-06-03T11:36:07.046Z] -- Check size of size_t [2020-06-03T11:36:07.317Z] -- Check size of size_t - done [2020-06-03T11:36:07.317Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-06-03T11:36:07.317Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-06-03T11:36:07.317Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-06-03T11:36:07.317Z] CMake did not find one. [2020-06-03T11:36:07.317Z] [2020-06-03T11:36:07.317Z] Could not find a package configuration file provided by "cJSON" with any of [2020-06-03T11:36:07.317Z] the following names: [2020-06-03T11:36:07.317Z] [2020-06-03T11:36:07.317Z] cJSONConfig.cmake [2020-06-03T11:36:07.317Z] cjson-config.cmake [2020-06-03T11:36:07.317Z] [2020-06-03T11:36:07.317Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-06-03T11:36:07.317Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-06-03T11:36:07.317Z] provides a separate development package or SDK, be sure it has been [2020-06-03T11:36:07.317Z] installed. [2020-06-03T11:36:07.317Z] [2020-06-03T11:36:07.317Z] [2020-06-03T11:36:07.317Z] -- Configuring done [2020-06-03T11:36:07.377Z] (16/48) Installing make (4.2.1-r2) [2020-06-03T11:36:07.377Z] (17/48) Installing fortify-headers (1.0-r0) [2020-06-03T11:36:07.377Z] (18/48) Installing build-base (0.5-r1) [2020-06-03T11:36:07.377Z] (19/48) Installing libattr (2.4.47-r7) [2020-06-03T11:36:07.377Z] (20/48) Installing libacl (2.2.52-r5) [2020-06-03T11:36:07.377Z] (21/48) Installing libbz2 (1.0.6-r7) [2020-06-03T11:36:07.377Z] (22/48) Installing expat (2.2.8-r0) [2020-06-03T11:36:07.377Z] (23/48) Installing lz4-libs (1.8.3-r2) [2020-06-03T11:36:07.377Z] (24/48) Installing xz-libs (5.2.4-r0) [2020-06-03T11:36:07.377Z] (25/48) Installing libarchive (3.3.3-r2) [2020-06-03T11:36:07.377Z] (26/48) Installing ca-certificates (20191127-r0) [2020-06-03T11:36:07.377Z] (27/48) Installing nghttp2-libs (1.35.1-r1) [2020-06-03T11:36:07.377Z] (28/48) Installing libssh2 (1.9.0-r1) [2020-06-03T11:36:07.377Z] (29/48) Installing libcurl (7.64.0-r3) [2020-06-03T11:36:07.377Z] (30/48) Installing ncurses-terminfo-base (6.1_p20190105-r0) [2020-06-03T11:36:07.377Z] (31/48) Installing ncurses-terminfo (6.1_p20190105-r0) [2020-06-03T11:36:07.601Z] -- Generating done [2020-06-03T11:36:07.601Z] -- Build files have been written to: /tmp/cbor [2020-06-03T11:36:07.601Z] Scanning dependencies of target cbor_shared [2020-06-03T11:36:07.875Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-06-03T11:36:07.949Z] (32/48) Installing ncurses-libs (6.1_p20190105-r0) [2020-06-03T11:36:08.212Z] (33/48) Installing rhash-libs (1.3.6-r2) [2020-06-03T11:36:08.212Z] (34/48) Installing libuv (1.23.2-r0) [2020-06-03T11:36:08.212Z] (35/48) Installing cmake (3.13.0-r0) [2020-06-03T11:36:08.469Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-06-03T11:36:09.061Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-06-03T11:36:09.159Z] (36/48) Installing curl (7.64.0-r3) [2020-06-03T11:36:09.160Z] (37/48) Installing pcre2 (10.32-r1) [2020-06-03T11:36:09.160Z] (38/48) Installing git (2.20.4-r0) [2020-06-03T11:36:09.333Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-06-03T11:36:09.420Z] (39/48) Installing nettle (3.4.1-r0) [2020-06-03T11:36:09.420Z] (40/48) Installing libffi (3.2.1-r6) [2020-06-03T11:36:09.420Z] (41/48) Installing p11-kit (0.23.14-r0) [2020-06-03T11:36:09.420Z] (42/48) Installing libtasn1 (4.14-r0) [2020-06-03T11:36:09.420Z] (43/48) Installing libunistring (0.9.10-r0) [2020-06-03T11:36:09.420Z] (44/48) Installing gnutls (3.6.7-r1) [2020-06-03T11:36:09.420Z] (45/48) Installing libmicrohttpd (0.9.62-r0) [2020-06-03T11:36:09.420Z] (46/48) Installing libuuid (2.33-r0) [2020-06-03T11:36:09.420Z] (47/48) Installing wget (1.20.3-r0) [2020-06-03T11:36:09.420Z] (48/48) Installing yaml (0.2.1-r0) [2020-06-03T11:36:09.420Z] Executing busybox-1.29.3-r10.trigger [2020-06-03T11:36:09.420Z] Executing ca-certificates-20191127-r0.trigger [2020-06-03T11:36:09.684Z] OK: 222 MiB in 62 packages [2020-06-03T11:36:09.931Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-06-03T11:36:10.203Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-06-03T11:36:10.475Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-06-03T11:36:10.475Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-06-03T11:36:10.746Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-06-03T11:36:11.018Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-06-03T11:36:11.609Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-06-03T11:36:11.882Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-06-03T11:36:12.154Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-06-03T11:36:12.748Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-06-03T11:36:12.748Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-06-03T11:36:13.020Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-06-03T11:36:13.291Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-06-03T11:36:13.562Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-06-03T11:36:13.833Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-06-03T11:36:14.105Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-06-03T11:36:14.378Z] [ 40%] Linking C shared library libcbor.so [2020-06-03T11:36:14.378Z] [ 40%] Built target cbor_shared [2020-06-03T11:36:14.378Z] Scanning dependencies of target cbor [2020-06-03T11:36:14.378Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-06-03T11:36:15.350Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-06-03T11:36:15.942Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-06-03T11:36:15.942Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-06-03T11:36:17.374Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-06-03T11:36:17.374Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-06-03T11:36:17.644Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-06-03T11:36:17.644Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-06-03T11:36:17.837Z] Removing intermediate container ef0438228353 [2020-06-03T11:36:17.837Z] ---> 9b1021d06554 [2020-06-03T11:36:17.837Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-06-03T11:36:17.837Z] ---> f3e5d33ee76c [2020-06-03T11:36:17.837Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-06-03T11:36:17.837Z] ---> 18829deed846 [2020-06-03T11:36:17.837Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-06-03T11:36:17.837Z] ---> e14315f24bdf [2020-06-03T11:36:17.837Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-06-03T11:36:17.837Z] ---> 87594d57c591 [2020-06-03T11:36:17.837Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-06-03T11:36:17.915Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-06-03T11:36:18.098Z] ---> 2c2b1b9eb3c2 [2020-06-03T11:36:18.098Z] Successfully built 2c2b1b9eb3c2 [2020-06-03T11:36:18.098Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [2020-06-03T11:36:18.187Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-06-03T11:36:18.578Z] + docker inspect -f . ci-base-image-x86_64 [2020-06-03T11:36:18.578Z] . [Pipeline] withDockerContainer [2020-06-03T11:36:18.700Z] prd-centos7-docker-4c-2g-1693 does not seem to be running inside a container [2020-06-03T11:36:18.745Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/23 -v /w/workspace/device-sdk-c/23:/w/workspace/device-sdk-c/23:rw,z -v /w/workspace/device-sdk-c/23@tmp:/w/workspace/device-sdk-c/23@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-06-03T11:36:19.160Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-06-03T11:36:19.160Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-06-03T11:36:19.322Z] $ docker top fa7835233fa4686322a67cef4b96f23f12b0ba7917cd878a757cfb30ef5f2e54 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-03T11:36:19.751Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-06-03T11:36:19.780Z] + make test [2020-06-03T11:36:19.780Z] echo "make test" [2020-06-03T11:36:19.780Z] make test [Pipeline] } [2020-06-03T11:36:19.796Z] $ docker stop --time=1 fa7835233fa4686322a67cef4b96f23f12b0ba7917cd878a757cfb30ef5f2e54 [2020-06-03T11:36:20.022Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-06-03T11:36:20.293Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-06-03T11:36:20.565Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-06-03T11:36:20.836Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-06-03T11:36:21.108Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-06-03T11:36:21.143Z] $ docker rm -f fa7835233fa4686322a67cef4b96f23f12b0ba7917cd878a757cfb30ef5f2e54 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2020-06-03T11:36:21.380Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [Pipeline] script [Pipeline] { [2020-06-03T11:36:21.653Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-06-03T11:36:21.926Z] [ 80%] Linking C static library libcbor.a [2020-06-03T11:36:21.926Z] [ 80%] Built target cbor [2020-06-03T11:36:21.926Z] Scanning dependencies of target create_items [2020-06-03T11:36:21.926Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-06-03T11:36:22.213Z] [ 84%] Linking C executable create_items [2020-06-03T11:36:22.213Z] [ 84%] Built target create_items [2020-06-03T11:36:22.213Z] Scanning dependencies of target readfile [2020-06-03T11:36:22.213Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-06-03T11:36:22.486Z] [ 88%] Linking C executable readfile [2020-06-03T11:36:22.486Z] [ 88%] Built target readfile [2020-06-03T11:36:22.486Z] Scanning dependencies of target streaming_parser [2020-06-03T11:36:22.486Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [Pipeline] sh [2020-06-03T11:36:22.763Z] [ 92%] Linking C executable streaming_parser [2020-06-03T11:36:22.763Z] [ 92%] Built target streaming_parser [2020-06-03T11:36:22.763Z] Scanning dependencies of target sort [2020-06-03T11:36:22.852Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-03T11:36:23.034Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-06-03T11:36:23.034Z] [ 96%] Linking C executable sort [2020-06-03T11:36:23.146Z] + ls -al . [2020-06-03T11:36:23.146Z] total 160 [2020-06-03T11:36:23.146Z] drwxrwxr-x. 8 jenkins jenkins 260 Jun 3 11:35 . [2020-06-03T11:36:23.146Z] drwxrwxr-x. 4 jenkins jenkins 30 Jun 3 11:35 .. [2020-06-03T11:36:23.146Z] -rw-rw-r--. 1 jenkins jenkins 3104 Jun 3 11:35 Attribution.txt [2020-06-03T11:36:23.146Z] -rw-rw-r--. 1 jenkins jenkins 5393 Jun 3 11:35 CHANGES [2020-06-03T11:36:23.146Z] drwxrwxr-x. 2 jenkins jenkins 144 Jun 3 11:35 docs [2020-06-03T11:36:23.146Z] -rw-rw-r--. 1 jenkins jenkins 108574 Jun 3 11:35 Doxyfile [2020-06-03T11:36:23.146Z] drwxrwxr-x. 8 jenkins jenkins 162 Jun 3 11:35 .git [2020-06-03T11:36:23.146Z] -rw-rw-r--. 1 jenkins jenkins 176 Jun 3 11:35 .gitignore [2020-06-03T11:36:23.146Z] drwxrwxr-x. 4 jenkins jenkins 33 Jun 3 11:35 include [2020-06-03T11:36:23.146Z] -rw-rw-r--. 1 jenkins jenkins 792 Jun 3 11:35 Jenkinsfile [2020-06-03T11:36:23.146Z] -rw-rw-r--. 1 jenkins jenkins 10174 Jun 3 11:35 LICENSE [2020-06-03T11:36:23.146Z] -rw-rw-r--. 1 jenkins jenkins 448 Jun 3 11:35 Makefile [2020-06-03T11:36:23.146Z] -rw-rw-r--. 1 jenkins jenkins 1849 Jun 3 11:35 README.md [2020-06-03T11:36:23.146Z] -rw-rw-r--. 1 jenkins jenkins 5229 Jun 3 11:35 README.v2.md [2020-06-03T11:36:23.146Z] drwxrwxr-x. 2 jenkins jenkins 106 Jun 3 11:35 scripts [2020-06-03T11:36:23.146Z] drwxrwxr-x. 3 jenkins jenkins 44 Jun 3 11:35 .semver [2020-06-03T11:36:23.146Z] drwxrwxr-x. 4 jenkins jenkins 50 Jun 3 11:35 src [2020-06-03T11:36:23.146Z] -rw-rw-r--. 1 jenkins jenkins 11 Jun 3 11:33 VERSION [Pipeline] isUnix [Pipeline] sh [2020-06-03T11:36:23.305Z] [ 96%] Built target sort [2020-06-03T11:36:23.306Z] Scanning dependencies of target hello [2020-06-03T11:36:23.306Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-06-03T11:36:23.306Z] [100%] Linking C executable hello [2020-06-03T11:36:23.453Z] + 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=1aa8105ebf83a2c75f03f15ed04b88c76ed291ae --label arch=amd64 --label version=1.2.1-dev.2 . [2020-06-03T11:36:23.453Z] Sending build context to Docker daemon 3.152MB [2020-06-03T11:36:23.453Z] Step 1/15 : ARG BASE=alpine:3.9 [2020-06-03T11:36:23.453Z] Step 2/15 : FROM ${BASE} [2020-06-03T11:36:23.453Z] ---> 2c2b1b9eb3c2 [2020-06-03T11:36:23.453Z] Step 3/15 : MAINTAINER IOTech [2020-06-03T11:36:23.453Z] ---> Running in f764d579dd62 [2020-06-03T11:36:23.578Z] [100%] Built target hello [2020-06-03T11:36:23.578Z] Install the project... [2020-06-03T11:36:23.578Z] -- Install configuration: "Release" [2020-06-03T11:36:23.578Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-06-03T11:36:23.578Z] -- Installing: /usr/local/lib64/libcbor.a [2020-06-03T11:36:23.578Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-06-03T11:36:23.578Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-06-03T11:36:23.578Z] -- Installing: /usr/local/lib64/libcbor.so [2020-06-03T11:36:23.578Z] -- Up-to-date: /usr/local/include/cbor [2020-06-03T11:36:23.578Z] -- Installing: /usr/local/include/cbor/common.h [2020-06-03T11:36:23.578Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-06-03T11:36:23.578Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-06-03T11:36:23.578Z] -- Installing: /usr/local/include/cbor/maps.h [2020-06-03T11:36:23.578Z] -- Installing: /usr/local/include/cbor/strings.h [2020-06-03T11:36:23.578Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-06-03T11:36:23.578Z] -- Installing: /usr/local/include/cbor/internal [2020-06-03T11:36:23.578Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-06-03T11:36:23.578Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-06-03T11:36:23.578Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-06-03T11:36:23.578Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-06-03T11:36:23.578Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-06-03T11:36:23.578Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-06-03T11:36:23.578Z] -- Installing: /usr/local/include/cbor/data.h [2020-06-03T11:36:23.578Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-06-03T11:36:23.578Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-06-03T11:36:23.578Z] -- Installing: /usr/local/include/cbor/tags.h [2020-06-03T11:36:23.578Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-06-03T11:36:23.578Z] -- Installing: /usr/local/include/cbor/ints.h [2020-06-03T11:36:23.578Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-06-03T11:36:23.578Z] -- Installing: /usr/local/include/cbor.h [2020-06-03T11:36:23.578Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-06-03T11:36:23.717Z] Removing intermediate container f764d579dd62 [2020-06-03T11:36:23.718Z] ---> eff29916e6e1 [2020-06-03T11:36:23.718Z] Step 4/15 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev && mkdir -p /edgex-c-sdk/build [2020-06-03T11:36:23.718Z] ---> Running in 85aea57fe4c4 [2020-06-03T11:36:24.291Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-06-03T11:36:24.291Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-06-03T11:36:24.291Z] (1/21) Installing pkgconf (1.6.0-r0) [2020-06-03T11:36:24.291Z] (2/21) Installing openssl-dev (1.1.1g-r0) [2020-06-03T11:36:24.553Z] (3/21) Installing zlib-dev (1.2.11-r1) [2020-06-03T11:36:24.553Z] (4/21) Installing libssh2-dev (1.9.0-r1) [2020-06-03T11:36:25.129Z] (5/21) Installing nghttp2-dev (1.35.1-r1) [2020-06-03T11:36:25.129Z] (6/21) Installing curl-dev (7.64.0-r3) [2020-06-03T11:36:25.129Z] (7/21) Installing gnutls-c++ (3.6.7-r1) [2020-06-03T11:36:25.129Z] (8/21) Installing libgmpxx (6.1.2-r1) [2020-06-03T11:36:25.129Z] (9/21) Installing gmp-dev (6.1.2-r1) [2020-06-03T11:36:25.129Z] (10/21) Installing nettle-dev (3.4.1-r0) [2020-06-03T11:36:25.390Z] (11/21) Installing libtasn1-dev (4.14-r0) [2020-06-03T11:36:25.390Z] (12/21) Installing p11-kit-dev (0.23.14-r0) [2020-06-03T11:36:25.390Z] (13/21) Installing gnutls-dev (3.6.7-r1) [2020-06-03T11:36:25.390Z] (14/21) Installing libmicrohttpd-dev (0.9.62-r0) [2020-06-03T11:36:25.390Z] (15/21) Installing ncurses-dev (6.1_p20190105-r0) [2020-06-03T11:36:25.390Z] (16/21) Installing libblkid (2.33-r0) [2020-06-03T11:36:25.390Z] (17/21) Installing libfdisk (2.33-r0) [2020-06-03T11:36:25.390Z] (18/21) Installing libmount (2.33-r0) [2020-06-03T11:36:25.390Z] (19/21) Installing libsmartcols (2.33-r0) [2020-06-03T11:36:25.390Z] (20/21) Installing util-linux-dev (2.33-r0) [2020-06-03T11:36:25.390Z] (21/21) Installing yaml-dev (0.2.1-r0) [2020-06-03T11:36:25.390Z] Executing busybox-1.29.3-r10.trigger [2020-06-03T11:36:25.559Z] Removing intermediate container f9384b47c4f2 [2020-06-03T11:36:25.559Z] ---> 664737dc8e66 [2020-06-03T11:36:25.559Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-06-03T11:36:25.649Z] OK: 266 MiB in 83 packages [2020-06-03T11:36:25.831Z] ---> Running in cc292c5d6c83 [2020-06-03T11:36:27.568Z] Removing intermediate container 85aea57fe4c4 [2020-06-03T11:36:27.568Z] ---> f6c9b2fe59d5 [2020-06-03T11:36:27.568Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-06-03T11:36:27.568Z] ---> d59bd3e0bbd1 [2020-06-03T11:36:27.568Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-06-03T11:36:27.807Z] Removing intermediate container cc292c5d6c83 [2020-06-03T11:36:27.807Z] ---> 5f6ca30a6bd1 [2020-06-03T11:36:27.807Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-06-03T11:36:27.828Z] ---> 5c04d2aec127 [2020-06-03T11:36:27.828Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-06-03T11:36:28.088Z] ---> 84d9173165f6 [2020-06-03T11:36:28.088Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-06-03T11:36:28.088Z] ---> d3f15370c838 [2020-06-03T11:36:28.088Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-06-03T11:36:28.349Z] ---> 421c41b5e0bf [2020-06-03T11:36:28.349Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-06-03T11:36:28.404Z] ---> 9d331dd4b35a [2020-06-03T11:36:28.404Z] Step 8/21 : COPY src /tmp/sdk/src [2020-06-03T11:36:28.612Z] ---> e16480d5e211 [2020-06-03T11:36:28.612Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-06-03T11:36:28.612Z] ---> Running in ec0f55534a19 [2020-06-03T11:36:28.612Z] Removing intermediate container ec0f55534a19 [2020-06-03T11:36:28.612Z] ---> 82ba3e03cd60 [2020-06-03T11:36:28.612Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-06-03T11:36:28.873Z] ---> Running in 1eded23a0516 [2020-06-03T11:36:28.873Z] Removing intermediate container 1eded23a0516 [2020-06-03T11:36:28.873Z] ---> 9a1b6ed35975 [2020-06-03T11:36:28.873Z] Step 13/15 : LABEL arch=amd64 [2020-06-03T11:36:28.873Z] ---> Running in 4850f4e50592 [2020-06-03T11:36:29.000Z] ---> 880a0f9b86ed [2020-06-03T11:36:29.000Z] Step 9/21 : COPY include /tmp/sdk/include [2020-06-03T11:36:29.135Z] Removing intermediate container 4850f4e50592 [2020-06-03T11:36:29.135Z] ---> 4409840204f3 [2020-06-03T11:36:29.135Z] Step 14/15 : LABEL git_sha=1aa8105ebf83a2c75f03f15ed04b88c76ed291ae [2020-06-03T11:36:29.135Z] ---> Running in 5e29f4cf0233 [2020-06-03T11:36:29.135Z] Removing intermediate container 5e29f4cf0233 [2020-06-03T11:36:29.135Z] ---> ceaaa4ebbb61 [2020-06-03T11:36:29.135Z] Step 15/15 : LABEL version=1.2.1-dev.2 [2020-06-03T11:36:29.135Z] ---> Running in d9dd04c906f9 [2020-06-03T11:36:29.395Z] Removing intermediate container d9dd04c906f9 [2020-06-03T11:36:29.395Z] ---> ee5b52023665 [2020-06-03T11:36:29.395Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2020-06-03T11:36:29.395Z] Successfully built ee5b52023665 [2020-06-03T11:36:29.395Z] Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [2020-06-03T11:36:29.596Z] ---> 15f64cfcc9db [2020-06-03T11:36:29.596Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-06-03T11:36:29.875Z] ---> c3e5707564d6 [2020-06-03T11:36:29.875Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-06-03T11:36:30.480Z] ---> 61d503f0d8ae [2020-06-03T11:36:30.480Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-06-03T11:36:31.074Z] ---> 110a72401c84 [2020-06-03T11:36:31.074Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-06-03T11:36:31.074Z] ---> Running in 65cceb96110a [2020-06-03T11:36:32.066Z] + CPPCHECK=false [2020-06-03T11:36:32.066Z] + DOCGEN=false [2020-06-03T11:36:32.066Z] + TOMLVER=SDK-0.2 [2020-06-03T11:36:32.066Z] + CUTILVER=1.0.4 [2020-06-03T11:36:32.066Z] + '[' 0 -gt 0 ] [2020-06-03T11:36:32.066Z] + readlink -f ./scripts/build.sh [2020-06-03T11:36:32.066Z] + dirname /tmp/sdk/scripts/build.sh [2020-06-03T11:36:32.066Z] + dirname /tmp/sdk/scripts [2020-06-03T11:36:32.066Z] + ROOT=/tmp/sdk [2020-06-03T11:36:32.066Z] + cd /tmp/sdk [2020-06-03T11:36:32.066Z] + '[' '!' -d deps ] [2020-06-03T11:36:32.066Z] + mkdir deps [2020-06-03T11:36:32.066Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-06-03T11:36:32.066Z] + tar -C deps -z -x -f - [2020-06-03T11:36:32.066Z] --2020-06-03 11:36:31-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-06-03T11:36:32.066Z] Resolving github.com... 140.82.113.3 [2020-06-03T11:36:32.066Z] Connecting to github.com|140.82.113.3|:443... connected. [2020-06-03T11:36:32.336Z] HTTP request sent, awaiting response... 302 Found [2020-06-03T11:36:32.337Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-06-03T11:36:32.337Z] --2020-06-03 11:36:32-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-06-03T11:36:32.337Z] Resolving codeload.github.com... 140.82.112.10 [2020-06-03T11:36:32.337Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2020-06-03T11:36:32.337Z] HTTP request sent, awaiting response... 200 OK [2020-06-03T11:36:32.337Z] Length: unspecified [application/x-gzip] [2020-06-03T11:36:32.337Z] Saving to: 'STDOUT' [2020-06-03T11:36:32.337Z]  [2020-06-03T11:36:32.337Z] 0K .......... ......  1.04M=0.02s [2020-06-03T11:36:32.337Z] [2020-06-03T11:36:32.337Z] 2020-06-03 11:36:32 (1.04 MB/s) - written to stdout [16451] [2020-06-03T11:36:32.337Z] [2020-06-03T11:36:32.337Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-06-03T11:36:32.337Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-06-03T11:36:32.337Z] + tar -C deps -z -x -f - [2020-06-03T11:36:32.337Z] --2020-06-03 11:36:32-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-06-03T11:36:32.608Z] Resolving github.com... 140.82.113.4 [2020-06-03T11:36:32.608Z] Connecting to github.com|140.82.113.4|:443... connected. [2020-06-03T11:36:32.608Z] HTTP request sent, awaiting response... 302 Found [2020-06-03T11:36:32.608Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] [2020-06-03T11:36:32.608Z] --2020-06-03 11:36:32-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [2020-06-03T11:36:32.608Z] Resolving codeload.github.com... 140.82.112.10 [2020-06-03T11:36:32.608Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2020-06-03T11:36:32.878Z] HTTP request sent, awaiting response... 200 OK [2020-06-03T11:36:32.878Z] Length: unspecified [application/x-gzip] [2020-06-03T11:36:32.878Z] Saving to: 'STDOUT' [2020-06-03T11:36:32.878Z]  [2020-06-03T11:36:32.878Z] 0K .......... .......... .......... .......... .......... 1.49M [2020-06-03T11:36:32.879Z] 50K .......... .......... .......... .......... .......... 3.34M [2020-06-03T11:36:32.879Z] 100K .......... .......... .......... .......... .......... 4.39M [2020-06-03T11:36:32.879Z] 150K ........   4.90M=0.06s [2020-06-03T11:36:32.879Z] [2020-06-03T11:36:32.879Z] 2020-06-03 11:36:32 (2.57 MB/s) - written to stdout [162267] [2020-06-03T11:36:32.879Z] [2020-06-03T11:36:32.879Z] + mkdir -p src/c/iot [2020-06-03T11:36:32.879Z] + cp deps/iotech-c-utils-1.0.4/src/c/base64.c deps/iotech-c-utils-1.0.4/src/c/component.c deps/iotech-c-utils-1.0.4/src/c/container.c deps/iotech-c-utils-1.0.4/src/c/data.c deps/iotech-c-utils-1.0.4/src/c/hash.c deps/iotech-c-utils-1.0.4/src/c/iot.c deps/iotech-c-utils-1.0.4/src/c/json.c deps/iotech-c-utils-1.0.4/src/c/logger.c deps/iotech-c-utils-1.0.4/src/c/os.c deps/iotech-c-utils-1.0.4/src/c/scheduler.c deps/iotech-c-utils-1.0.4/src/c/thread.c deps/iotech-c-utils-1.0.4/src/c/threadpool.c deps/iotech-c-utils-1.0.4/src/c/time.c src/c/iot [2020-06-03T11:36:32.879Z] + mkdir -p include/iot [2020-06-03T11:36:32.879Z] + cp deps/iotech-c-utils-1.0.4/include/iot/base64.h deps/iotech-c-utils-1.0.4/include/iot/component.h deps/iotech-c-utils-1.0.4/include/iot/container.h deps/iotech-c-utils-1.0.4/include/iot/data.h deps/iotech-c-utils-1.0.4/include/iot/hash.h deps/iotech-c-utils-1.0.4/include/iot/iot.h deps/iotech-c-utils-1.0.4/include/iot/json.h deps/iotech-c-utils-1.0.4/include/iot/logger.h deps/iotech-c-utils-1.0.4/include/iot/os.h deps/iotech-c-utils-1.0.4/include/iot/scheduler.h deps/iotech-c-utils-1.0.4/include/iot/thread.h deps/iotech-c-utils-1.0.4/include/iot/threadpool.h deps/iotech-c-utils-1.0.4/include/iot/time.h deps/iotech-c-utils-1.0.4/include/iot/typecode.h include/iot [2020-06-03T11:36:32.879Z] + mkdir -p include/iot/os [2020-06-03T11:36:32.879Z] + cp deps/iotech-c-utils-1.0.4/include/iot/os/linux.h deps/iotech-c-utils-1.0.4/include/iot/os/zephyr.h include/iot/os [2020-06-03T11:36:32.879Z] + mkdir -p /tmp/sdk/build/release [2020-06-03T11:36:32.879Z] + cd /tmp/sdk/build/release [2020-06-03T11:36:32.879Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-06-03T11:36:33.149Z] -- The C compiler identification is GNU 8.3.0 [2020-06-03T11:36:33.421Z] -- Check for working C compiler: /usr/bin/cc [2020-06-03T11:36:33.421Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-03T11:36:33.421Z] -- Detecting C compiler ABI info [2020-06-03T11:36:33.693Z] -- Detecting C compiler ABI info - done [2020-06-03T11:36:33.693Z] -- Detecting C compile features [2020-06-03T11:36:34.672Z] -- Detecting C compile features - done [2020-06-03T11:36:34.672Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-06-03T11:36:34.672Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-06-03T11:36:34.672Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-06-03T11:36:34.672Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-06-03T11:36:34.672Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-06-03T11:36:34.672Z] -- C SDK 1.2.1-dev.2 for Linux [2020-06-03T11:36:34.672Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-06-03T11:36:34.672Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-06-03T11:36:34.672Z] -- Found Curses: /usr/lib/libcurses.so [2020-06-03T11:36:34.946Z] -- Configuring done [2020-06-03T11:36:35.217Z] -- Generating done [2020-06-03T11:36:35.217Z] -- Build files have been written to: /tmp/sdk/build/release [2020-06-03T11:36:35.217Z] + + maketee [2020-06-03T11:36:35.217Z] release.log [2020-06-03T11:36:35.490Z] Scanning dependencies of target csdk [2020-06-03T11:36:35.490Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-06-03T11:36:36.085Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-06-03T11:36:36.683Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-06-03T11:36:38.105Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-06-03T11:36:38.699Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-06-03T11:36:38.970Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-06-03T11:36:39.946Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-06-03T11:36:41.911Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-06-03T11:36:41.911Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-06-03T11:36:42.884Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-06-03T11:36:43.156Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-06-03T11:36:43.426Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-06-03T11:36:43.697Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-06-03T11:36:43.978Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-06-03T11:36:47.353Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-06-03T11:36:47.353Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-06-03T11:36:47.625Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-06-03T11:36:48.220Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-06-03T11:36:50.822Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-06-03T11:36:50.822Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-06-03T11:36:50.822Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-06-03T11:36:51.413Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-06-03T11:36:52.005Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-06-03T11:36:52.005Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-06-03T11:36:52.976Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-06-03T11:36:53.249Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-06-03T11:36:53.842Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-06-03T11:36:53.842Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-06-03T11:36:54.435Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-06-03T11:36:55.417Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-06-03T11:36:55.418Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-06-03T11:36:59.696Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-06-03T11:36:59.967Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-06-03T11:37:00.558Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-06-03T11:37:01.151Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-06-03T11:37:02.577Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-06-03T11:37:04.007Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-06-03T11:37:07.388Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-06-03T11:37:07.660Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-06-03T11:37:09.091Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-06-03T11:37:09.363Z] [ 65%] Linking C shared library libcsdk.so [2020-06-03T11:37:09.635Z] [ 65%] Built target csdk [2020-06-03T11:37:09.635Z] Scanning dependencies of target template [2020-06-03T11:37:09.635Z] [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-06-03T11:37:10.232Z] [ 68%] Linking C executable template [2020-06-03T11:37:10.504Z] [ 68%] Built target template [2020-06-03T11:37:10.504Z] Scanning dependencies of target device-counter [2020-06-03T11:37:10.504Z] [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-06-03T11:37:10.775Z] [ 71%] Linking C executable device-counter [2020-06-03T11:37:11.047Z] [ 71%] Built target device-counter [2020-06-03T11:37:11.047Z] Scanning dependencies of target device-random [2020-06-03T11:37:11.047Z] [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-06-03T11:37:11.649Z] [ 74%] Linking C executable device-random [2020-06-03T11:37:11.924Z] [ 74%] Built target device-random [2020-06-03T11:37:11.924Z] Scanning dependencies of target device-gyro [2020-06-03T11:37:11.924Z] [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-06-03T11:37:12.197Z] [ 77%] Linking C executable device-gyro [2020-06-03T11:37:12.472Z] [ 77%] Built target device-gyro [2020-06-03T11:37:12.472Z] Scanning dependencies of target template-discovery [2020-06-03T11:37:12.472Z] [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-06-03T11:37:13.067Z] [ 80%] Linking C executable template-discovery [2020-06-03T11:37:13.340Z] [ 80%] Built target template-discovery [2020-06-03T11:37:13.340Z] Scanning dependencies of target device-terminal [2020-06-03T11:37:13.340Z] [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-06-03T11:37:13.935Z] [ 84%] Linking C executable device-terminal [2020-06-03T11:37:14.207Z] [ 84%] Built target device-terminal [2020-06-03T11:37:14.207Z] Scanning dependencies of target template2 [2020-06-03T11:37:14.207Z] [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-06-03T11:37:14.801Z] [ 87%] Linking C executable template2 [2020-06-03T11:37:14.801Z] [ 87%] Built target template2 [2020-06-03T11:37:14.801Z] Scanning dependencies of target device-counterv2 [2020-06-03T11:37:15.074Z] [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-06-03T11:37:15.347Z] [ 90%] Linking C executable device-counterv2 [2020-06-03T11:37:15.619Z] [ 90%] Built target device-counterv2 [2020-06-03T11:37:15.619Z] Scanning dependencies of target device-gyrov2 [2020-06-03T11:37:15.619Z] [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o [2020-06-03T11:37:16.213Z] [ 93%] Linking C executable device-gyrov2 [2020-06-03T11:37:16.213Z] [ 93%] Built target device-gyrov2 [2020-06-03T11:37:16.213Z] Scanning dependencies of target device-randomv2 [2020-06-03T11:37:16.485Z] [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-06-03T11:37:16.756Z] [ 96%] Linking C executable device-randomv2 [2020-06-03T11:37:17.027Z] [ 96%] Built target device-randomv2 [2020-06-03T11:37:17.027Z] Scanning dependencies of target device-terminalv2 [2020-06-03T11:37:17.027Z] [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o [2020-06-03T11:37:17.620Z] [100%] Linking C executable device-terminalv2 [2020-06-03T11:37:17.892Z] [100%] Built target device-terminalv2 [2020-06-03T11:37:17.892Z] + + teemake -a package [2020-06-03T11:37:17.892Z] release.log [2020-06-03T11:37:17.892Z] [ 65%] Built target csdk [2020-06-03T11:37:17.892Z] [ 68%] Built target template [2020-06-03T11:37:18.164Z] [ 71%] Built target device-counter [2020-06-03T11:37:18.164Z] [ 74%] Built target device-random [2020-06-03T11:37:18.164Z] [ 77%] Built target device-gyro [2020-06-03T11:37:18.164Z] [ 80%] Built target template-discovery [2020-06-03T11:37:18.164Z] [ 84%] Built target device-terminal [2020-06-03T11:37:18.164Z] [ 87%] Built target template2 [2020-06-03T11:37:18.164Z] [ 90%] Built target device-counterv2 [2020-06-03T11:37:18.435Z] [ 93%] Built target device-gyrov2 [2020-06-03T11:37:18.435Z] [ 96%] Built target device-randomv2 [2020-06-03T11:37:18.435Z] [100%] Built target device-terminalv2 [2020-06-03T11:37:18.435Z] Run CPack packaging tool... [2020-06-03T11:37:18.435Z] CPack: Create package using TGZ [2020-06-03T11:37:18.435Z] CPack: Install projects [2020-06-03T11:37:18.435Z] CPack: - Run preinstall target for: Csdk [2020-06-03T11:37:19.028Z] CPack: - Install project: Csdk [2020-06-03T11:37:19.300Z] CPack: Create package [2020-06-03T11:37:19.300Z] CPack: - package: /tmp/sdk/build/release/csdk-1.2.1-dev.2.tar.gz generated. [2020-06-03T11:37:19.300Z] + '[' false '=' true ] [2020-06-03T11:37:19.300Z] + '[' false '=' true ] [2020-06-03T11:37:19.300Z] + mkdir -p /tmp/sdk/build/debug [2020-06-03T11:37:19.300Z] + cd /tmp/sdk/build/debug [2020-06-03T11:37:19.300Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-06-03T11:37:19.572Z] -- The C compiler identification is GNU 8.3.0 [2020-06-03T11:37:19.572Z] -- Check for working C compiler: /usr/bin/cc [2020-06-03T11:37:19.844Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-03T11:37:19.844Z] -- Detecting C compiler ABI info [2020-06-03T11:37:20.116Z] -- Detecting C compiler ABI info - done [2020-06-03T11:37:20.116Z] -- Detecting C compile features [2020-06-03T11:37:21.095Z] -- Detecting C compile features - done [2020-06-03T11:37:21.095Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-06-03T11:37:21.095Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-06-03T11:37:21.095Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-06-03T11:37:21.095Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-06-03T11:37:21.095Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-06-03T11:37:21.095Z] -- C SDK 1.2.1-dev.2 for Linux [2020-06-03T11:37:21.095Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-06-03T11:37:21.095Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-06-03T11:37:21.095Z] -- Found Curses: /usr/lib/libcurses.so [2020-06-03T11:37:21.365Z] -- Configuring done [2020-06-03T11:37:21.636Z] -- Generating done [2020-06-03T11:37:21.636Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-06-03T11:37:21.636Z] + + teemake [2020-06-03T11:37:21.636Z] debug.log [2020-06-03T11:37:21.636Z] Scanning dependencies of target csdk [2020-06-03T11:37:21.907Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-06-03T11:37:22.178Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-06-03T11:37:22.449Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-06-03T11:37:23.044Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-06-03T11:37:23.316Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-06-03T11:37:23.316Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-06-03T11:37:23.911Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-06-03T11:37:24.506Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-06-03T11:37:24.506Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-06-03T11:37:24.778Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-06-03T11:37:25.051Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-06-03T11:37:25.322Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-06-03T11:37:25.595Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-06-03T11:37:25.867Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-06-03T11:37:26.464Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-06-03T11:37:26.740Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-06-03T11:37:27.010Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-06-03T11:37:27.283Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-06-03T11:37:27.892Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-06-03T11:37:28.166Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-06-03T11:37:28.166Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-06-03T11:37:28.441Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-06-03T11:37:28.715Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-06-03T11:37:28.987Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-06-03T11:37:29.258Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-06-03T11:37:29.258Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-06-03T11:37:29.530Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-06-03T11:37:29.802Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-06-03T11:37:30.076Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-06-03T11:37:30.348Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-06-03T11:37:30.622Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-06-03T11:37:31.596Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-06-03T11:37:31.868Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-06-03T11:37:32.141Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-06-03T11:37:32.413Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-06-03T11:37:33.006Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-06-03T11:37:33.598Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-06-03T11:37:34.192Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-06-03T11:37:34.467Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-06-03T11:37:35.061Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-06-03T11:37:35.337Z] [ 65%] Linking C shared library libcsdk.so [2020-06-03T11:37:35.337Z] [ 65%] Built target csdk [2020-06-03T11:37:35.337Z] Scanning dependencies of target template [2020-06-03T11:37:35.337Z] [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-06-03T11:37:35.607Z] [ 68%] Linking C executable template [2020-06-03T11:37:35.880Z] [ 68%] Built target template [2020-06-03T11:37:35.880Z] Scanning dependencies of target device-counter [2020-06-03T11:37:35.880Z] [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-06-03T11:37:36.152Z] [ 71%] Linking C executable device-counter [2020-06-03T11:37:36.425Z] [ 71%] Built target device-counter [2020-06-03T11:37:36.425Z] Scanning dependencies of target device-random [2020-06-03T11:37:36.425Z] [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-06-03T11:37:36.697Z] [ 74%] Linking C executable device-random [2020-06-03T11:37:36.968Z] [ 74%] Built target device-random [2020-06-03T11:37:36.968Z] Scanning dependencies of target device-gyro [2020-06-03T11:37:36.968Z] [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-06-03T11:37:37.241Z] [ 77%] Linking C executable device-gyro [2020-06-03T11:37:37.515Z] [ 77%] Built target device-gyro [2020-06-03T11:37:37.515Z] Scanning dependencies of target template-discovery [2020-06-03T11:37:37.515Z] [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-06-03T11:37:37.787Z] [ 80%] Linking C executable template-discovery [2020-06-03T11:37:38.059Z] [ 80%] Built target template-discovery [2020-06-03T11:37:38.059Z] Scanning dependencies of target device-terminal [2020-06-03T11:37:38.059Z] [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-06-03T11:37:38.329Z] [ 84%] Linking C executable device-terminal [2020-06-03T11:37:38.603Z] [ 84%] Built target device-terminal [2020-06-03T11:37:38.603Z] Scanning dependencies of target template2 [2020-06-03T11:37:38.603Z] [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-06-03T11:37:38.876Z] [ 87%] Linking C executable template2 [2020-06-03T11:37:38.876Z] [ 87%] Built target template2 [2020-06-03T11:37:39.149Z] Scanning dependencies of target device-counterv2 [2020-06-03T11:37:39.149Z] [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-06-03T11:37:39.421Z] [ 90%] Linking C executable device-counterv2 [2020-06-03T11:37:39.421Z] [ 90%] Built target device-counterv2 [2020-06-03T11:37:39.421Z] Scanning dependencies of target device-gyrov2 [2020-06-03T11:37:39.695Z] [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o [2020-06-03T11:37:39.695Z] [ 93%] Linking C executable device-gyrov2 [2020-06-03T11:37:39.969Z] [ 93%] Built target device-gyrov2 [2020-06-03T11:37:39.969Z] Scanning dependencies of target device-randomv2 [2020-06-03T11:37:39.969Z] [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-06-03T11:37:40.242Z] [ 96%] Linking C executable device-randomv2 [2020-06-03T11:37:40.513Z] [ 96%] Built target device-randomv2 [2020-06-03T11:37:40.513Z] Scanning dependencies of target device-terminalv2 [2020-06-03T11:37:40.513Z] [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o [2020-06-03T11:37:40.787Z] [100%] Linking C executable device-terminalv2 [2020-06-03T11:37:41.058Z] [100%] Built target device-terminalv2 [2020-06-03T11:37:41.058Z] make: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:37:41.058Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:37:41.058Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:37:41.058Z] Scanning dependencies of target csdk [2020-06-03T11:37:41.328Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:37:41.328Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:37:41.328Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-06-03T11:37:43.311Z] [ 3%] Linking C shared library libcsdk.so [2020-06-03T11:37:43.311Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:37:43.311Z] [ 65%] Built target csdk [2020-06-03T11:37:43.311Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:37:43.311Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:37:43.311Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:37:43.311Z] [ 66%] Linking C executable template [2020-06-03T11:37:43.311Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:37:43.311Z] [ 68%] Built target template [2020-06-03T11:37:43.311Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:37:43.312Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:37:43.312Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:37:43.312Z] [ 69%] Linking C executable device-counter [2020-06-03T11:37:43.583Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:37:43.583Z] [ 71%] Built target device-counter [2020-06-03T11:37:43.583Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:37:43.583Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:37:43.583Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:37:43.583Z] [ 73%] Linking C executable device-random [2020-06-03T11:37:43.855Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:37:43.855Z] [ 74%] Built target device-random [2020-06-03T11:37:43.855Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:37:43.855Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:37:43.855Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:37:43.855Z] [ 76%] Linking C executable device-gyro [2020-06-03T11:37:44.128Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:37:44.128Z] [ 77%] Built target device-gyro [2020-06-03T11:37:44.128Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:37:44.128Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:37:44.128Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:37:44.128Z] [ 79%] Linking C executable template-discovery [2020-06-03T11:37:44.399Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:37:44.399Z] [ 80%] Built target template-discovery [2020-06-03T11:37:44.399Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:37:44.399Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:37:44.399Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:37:44.399Z] [ 82%] Linking C executable device-terminal [2020-06-03T11:37:44.669Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:37:44.669Z] [ 84%] Built target device-terminal [2020-06-03T11:37:44.669Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:37:44.669Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:37:44.669Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:37:44.669Z] [ 85%] Linking C executable template2 [2020-06-03T11:37:44.940Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:37:44.940Z] [ 87%] Built target template2 [2020-06-03T11:37:44.940Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:37:44.940Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:37:44.940Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:37:44.940Z] [ 88%] Linking C executable device-counterv2 [2020-06-03T11:37:45.213Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:37:45.213Z] [ 90%] Built target device-counterv2 [2020-06-03T11:37:45.213Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:37:45.213Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:37:45.213Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:37:45.213Z] [ 92%] Linking C executable device-gyrov2 [2020-06-03T11:37:45.213Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:37:45.213Z] [ 93%] Built target device-gyrov2 [2020-06-03T11:37:45.486Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:37:45.486Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:37:45.486Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:37:45.486Z] [ 95%] Linking C executable device-randomv2 [2020-06-03T11:37:45.486Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:37:45.486Z] [ 96%] Built target device-randomv2 [2020-06-03T11:37:45.486Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:37:45.487Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:37:45.758Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-03T11:37:45.758Z] [ 98%] Linking C executable device-terminalv2 [2020-06-03T11:37:45.758Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:37:45.758Z] [100%] Built target device-terminalv2 [2020-06-03T11:37:45.758Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:37:46.031Z] Install the project... [2020-06-03T11:37:46.031Z] -- Install configuration: "Release" [2020-06-03T11:37:46.031Z] -- Installing: /usr/local/lib/libcsdk.so [2020-06-03T11:37:46.031Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-06-03T11:37:46.031Z] -- Up-to-date: /usr/local/include [2020-06-03T11:37:46.031Z] -- Installing: /usr/local/include/devsdk [2020-06-03T11:37:46.031Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-06-03T11:37:46.031Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-06-03T11:37:46.031Z] -- Installing: /usr/local/include/edgex [2020-06-03T11:37:46.031Z] -- Installing: /usr/local/include/edgex/devices.h [2020-06-03T11:37:46.031Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-06-03T11:37:46.031Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-06-03T11:37:46.031Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-06-03T11:37:46.031Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-06-03T11:37:46.031Z] -- Installing: /usr/local/include/edgex/error.h [2020-06-03T11:37:46.031Z] -- Installing: /usr/local/include/edgex/registry.h [2020-06-03T11:37:46.031Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-06-03T11:37:46.031Z] -- Installing: /usr/local/include/edgex/os.h [2020-06-03T11:37:46.031Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-06-03T11:37:46.031Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-06-03T11:37:46.031Z] -- Installing: /usr/local/include/edgex/edgex-logging.h [2020-06-03T11:37:46.031Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-06-03T11:37:46.031Z] -- Installing: /usr/local/include/iot [2020-06-03T11:37:46.031Z] -- Installing: /usr/local/include/iot/hash.h [2020-06-03T11:37:46.031Z] -- Installing: /usr/local/include/iot/thread.h [2020-06-03T11:37:46.031Z] -- Installing: /usr/local/include/iot/json.h [2020-06-03T11:37:46.031Z] -- Installing: /usr/local/include/iot/os [2020-06-03T11:37:46.031Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-06-03T11:37:46.031Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-06-03T11:37:46.031Z] -- Installing: /usr/local/include/iot/typecode.h [2020-06-03T11:37:46.031Z] -- Installing: /usr/local/include/iot/base64.h [2020-06-03T11:37:46.031Z] -- Installing: /usr/local/include/iot/container.h [2020-06-03T11:37:46.031Z] -- Installing: /usr/local/include/iot/data.h [2020-06-03T11:37:46.031Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-06-03T11:37:46.031Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-06-03T11:37:46.032Z] -- Installing: /usr/local/include/iot/component.h [2020-06-03T11:37:46.032Z] -- Installing: /usr/local/include/iot/os.h [2020-06-03T11:37:46.032Z] -- Installing: /usr/local/include/iot/logger.h [2020-06-03T11:37:46.032Z] -- Installing: /usr/local/include/iot/time.h [2020-06-03T11:37:46.032Z] -- Installing: /usr/local/include/iot/iot.h [2020-06-03T11:37:46.032Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-06-03T11:37:46.032Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-06-03T11:37:46.032Z] make: Leaving directory '/tmp/sdk/build/release' [2020-06-03T11:37:48.006Z] Removing intermediate container 65cceb96110a [2020-06-03T11:37:48.006Z] ---> eb7957eba2ed [2020-06-03T11:37:48.006Z] Step 14/21 : FROM alpine:3.9 [2020-06-03T11:37:48.278Z] 3.9: Pulling from library/alpine [2020-06-03T11:37:48.554Z] 941f399634ec: Pulling fs layer [2020-06-03T11:37:48.827Z] 941f399634ec: Verifying Checksum [2020-06-03T11:37:48.827Z] 941f399634ec: Download complete [2020-06-03T11:37:49.428Z] 941f399634ec: Pull complete [2020-06-03T11:37:49.428Z] Digest: sha256:414e0518bb9228d35e4cd5165567fb91d26c6a214e9c95899e1e056fcd349011 [2020-06-03T11:37:49.428Z] Status: Downloaded newer image for alpine:3.9 [2020-06-03T11:37:49.428Z] ---> 9afdd4a290bf [2020-06-03T11:37:49.428Z] Step 15/21 : MAINTAINER IOTech [2020-06-03T11:37:49.428Z] ---> Running in 1b98499a8ab4 [2020-06-03T11:37:50.025Z] Removing intermediate container 1b98499a8ab4 [2020-06-03T11:37:50.025Z] ---> 8a26181efd7e [2020-06-03T11:37:50.025Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-06-03T11:37:50.025Z] ---> Running in a044dc2f9fe4 [2020-06-03T11:37:51.001Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-06-03T11:37:51.001Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-06-03T11:37:51.593Z] (1/48) Installing binutils (2.31.1-r2) [2020-06-03T11:37:51.867Z] (2/48) Installing libmagic (5.36-r1) [2020-06-03T11:37:51.867Z] (3/48) Installing file (5.36-r1) [2020-06-03T11:37:51.867Z] (4/48) Installing gmp (6.1.2-r1) [2020-06-03T11:37:51.867Z] (5/48) Installing isl (0.18-r0) [2020-06-03T11:37:51.867Z] (6/48) Installing libgomp (8.3.0-r0) [2020-06-03T11:37:51.867Z] (7/48) Installing libatomic (8.3.0-r0) [2020-06-03T11:37:51.867Z] (8/48) Installing libgcc (8.3.0-r0) [2020-06-03T11:37:51.867Z] (9/48) Installing mpfr3 (3.1.5-r1) [2020-06-03T11:37:51.867Z] (10/48) Installing mpc1 (1.0.3-r1) [2020-06-03T11:37:51.867Z] (11/48) Installing libstdc++ (8.3.0-r0) [2020-06-03T11:37:51.867Z] (12/48) Installing gcc (8.3.0-r0) [2020-06-03T11:37:53.294Z] (13/48) Installing musl-dev (1.1.20-r5) [2020-06-03T11:37:53.566Z] (14/48) Installing libc-dev (0.7.1-r0) [2020-06-03T11:37:53.566Z] (15/48) Installing g++ (8.3.0-r0) [2020-06-03T11:37:54.990Z] (16/48) Installing make (4.2.1-r2) [2020-06-03T11:37:54.990Z] (17/48) Installing fortify-headers (1.0-r0) [2020-06-03T11:37:54.990Z] (18/48) Installing build-base (0.5-r1) [2020-06-03T11:37:54.990Z] (19/48) Installing libattr (2.4.47-r7) [2020-06-03T11:37:54.990Z] (20/48) Installing libacl (2.2.52-r5) [2020-06-03T11:37:54.990Z] (21/48) Installing libbz2 (1.0.6-r7) [2020-06-03T11:37:54.990Z] (22/48) Installing expat (2.2.8-r0) [2020-06-03T11:37:54.990Z] (23/48) Installing lz4-libs (1.8.3-r2) [2020-06-03T11:37:54.990Z] (24/48) Installing xz-libs (5.2.4-r0) [2020-06-03T11:37:54.990Z] (25/48) Installing libarchive (3.3.3-r2) [2020-06-03T11:37:54.990Z] (26/48) Installing ca-certificates (20191127-r0) [2020-06-03T11:37:54.990Z] (27/48) Installing nghttp2-libs (1.35.1-r1) [2020-06-03T11:37:54.990Z] (28/48) Installing libssh2 (1.9.0-r1) [2020-06-03T11:37:54.990Z] (29/48) Installing libcurl (7.64.0-r3) [2020-06-03T11:37:54.990Z] (30/48) Installing ncurses-terminfo-base (6.1_p20190105-r0) [2020-06-03T11:37:54.990Z] (31/48) Installing ncurses-terminfo (6.1_p20190105-r0) [2020-06-03T11:37:55.987Z] (32/48) Installing ncurses-libs (6.1_p20190105-r0) [2020-06-03T11:37:55.987Z] (33/48) Installing rhash-libs (1.3.6-r2) [2020-06-03T11:37:55.987Z] (34/48) Installing libuv (1.23.2-r0) [2020-06-03T11:37:55.987Z] (35/48) Installing cmake (3.13.0-r0) [2020-06-03T11:37:57.426Z] (36/48) Installing curl (7.64.0-r3) [2020-06-03T11:37:57.426Z] (37/48) Installing pcre2 (10.32-r1) [2020-06-03T11:37:57.426Z] (38/48) Installing git (2.20.4-r0) [2020-06-03T11:37:57.697Z] (39/48) Installing nettle (3.4.1-r0) [2020-06-03T11:37:57.697Z] (40/48) Installing libffi (3.2.1-r6) [2020-06-03T11:37:57.697Z] (41/48) Installing p11-kit (0.23.14-r0) [2020-06-03T11:37:57.697Z] (42/48) Installing libtasn1 (4.14-r0) [2020-06-03T11:37:57.697Z] (43/48) Installing libunistring (0.9.10-r0) [2020-06-03T11:37:57.969Z] (44/48) Installing gnutls (3.6.7-r1) [2020-06-03T11:37:57.969Z] (45/48) Installing libmicrohttpd (0.9.62-r0) [2020-06-03T11:37:57.969Z] (46/48) Installing libuuid (2.33-r0) [2020-06-03T11:37:57.969Z] (47/48) Installing wget (1.20.3-r0) [2020-06-03T11:37:57.969Z] (48/48) Installing yaml (0.2.1-r0) [2020-06-03T11:37:57.969Z] Executing busybox-1.29.3-r10.trigger [2020-06-03T11:37:57.969Z] Executing ca-certificates-20191127-r0.trigger [2020-06-03T11:37:58.240Z] OK: 219 MiB in 62 packages [2020-06-03T11:38:13.329Z] Removing intermediate container a044dc2f9fe4 [2020-06-03T11:38:13.329Z] ---> 82081bf47ca5 [2020-06-03T11:38:13.329Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-06-03T11:38:13.329Z] ---> d2605e7e8045 [2020-06-03T11:38:13.329Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-06-03T11:38:13.329Z] ---> 724cb71a5333 [2020-06-03T11:38:13.329Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-06-03T11:38:13.329Z] ---> 01bfe91286a9 [2020-06-03T11:38:13.329Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-06-03T11:38:13.924Z] ---> 564a961cbaf2 [2020-06-03T11:38:13.924Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-06-03T11:38:14.196Z] ---> c1ef7f4274c7 [2020-06-03T11:38:14.468Z] Successfully built c1ef7f4274c7 [2020-06-03T11:38:14.468Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-06-03T11:38:15.028Z] + docker inspect -f . ci-base-image-arm64 [2020-06-03T11:38:15.028Z] . [Pipeline] withDockerContainer [2020-06-03T11:38:15.375Z] prd-ubuntu18.04-docker-arm64-4c-16g-1692 does not seem to be running inside a container [2020-06-03T11:38:15.433Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/23 -v /w/workspace/device-sdk-c/23:/w/workspace/device-sdk-c/23:rw,z -v /w/workspace/device-sdk-c/23@tmp:/w/workspace/device-sdk-c/23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-06-03T11:38:16.871Z] $ docker top f5a9c73ced8467e85dc590abca10ede646785a491b19ba5d0e204eb06c9a6250 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-03T11:38:17.966Z] + make test [2020-06-03T11:38:17.966Z] echo "make test" [2020-06-03T11:38:17.966Z] make test [Pipeline] } [2020-06-03T11:38:17.964Z] $ docker stop --time=1 f5a9c73ced8467e85dc590abca10ede646785a491b19ba5d0e204eb06c9a6250 [2020-06-03T11:38:19.924Z] $ docker rm -f f5a9c73ced8467e85dc590abca10ede646785a491b19ba5d0e204eb06c9a6250 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-03T11:38:20.779Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-03T11:38:21.126Z] + ls -al . [2020-06-03T11:38:21.126Z] total 192 [2020-06-03T11:38:21.126Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 11:35 . [2020-06-03T11:38:21.126Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 11:35 .. [2020-06-03T11:38:21.126Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 11:35 .git [2020-06-03T11:38:21.126Z] -rw-rw-r-- 1 jenkins jenkins 176 Jun 3 11:35 .gitignore [2020-06-03T11:38:21.126Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 11:35 .semver [2020-06-03T11:38:21.126Z] -rw-rw-r-- 1 jenkins jenkins 3104 Jun 3 11:35 Attribution.txt [2020-06-03T11:38:21.126Z] -rw-rw-r-- 1 jenkins jenkins 5393 Jun 3 11:35 CHANGES [2020-06-03T11:38:21.126Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jun 3 11:35 Doxyfile [2020-06-03T11:38:21.126Z] -rw-rw-r-- 1 jenkins jenkins 792 Jun 3 11:35 Jenkinsfile [2020-06-03T11:38:21.126Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jun 3 11:35 LICENSE [2020-06-03T11:38:21.126Z] -rw-rw-r-- 1 jenkins jenkins 448 Jun 3 11:35 Makefile [2020-06-03T11:38:21.126Z] -rw-rw-r-- 1 jenkins jenkins 1849 Jun 3 11:35 README.md [2020-06-03T11:38:21.126Z] -rw-rw-r-- 1 jenkins jenkins 5229 Jun 3 11:35 README.v2.md [2020-06-03T11:38:21.126Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 3 11:33 VERSION [2020-06-03T11:38:21.126Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 11:35 docs [2020-06-03T11:38:21.126Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 11:35 include [2020-06-03T11:38:21.126Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 11:35 scripts [2020-06-03T11:38:21.126Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 11:35 src [Pipeline] isUnix [Pipeline] sh [2020-06-03T11:38:21.549Z] + 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=1aa8105ebf83a2c75f03f15ed04b88c76ed291ae --label arch=arm64 --label version=1.2.1-dev.2 . [2020-06-03T11:38:22.165Z] Sending build context to Docker daemon 3.152MB [2020-06-03T11:38:22.165Z] Step 1/15 : ARG BASE=alpine:3.9 [2020-06-03T11:38:22.165Z] Step 2/15 : FROM ${BASE} [2020-06-03T11:38:22.165Z] ---> c1ef7f4274c7 [2020-06-03T11:38:22.165Z] Step 3/15 : MAINTAINER IOTech [2020-06-03T11:38:22.450Z] ---> Running in 3926a4622ae9 [2020-06-03T11:38:22.724Z] Removing intermediate container 3926a4622ae9 [2020-06-03T11:38:22.724Z] ---> d69ea88c3136 [2020-06-03T11:38:22.724Z] Step 4/15 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev && mkdir -p /edgex-c-sdk/build [2020-06-03T11:38:23.012Z] ---> Running in b6f81b0f020d [2020-06-03T11:38:23.621Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-06-03T11:38:23.896Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-06-03T11:38:24.502Z] (1/21) Installing pkgconf (1.6.0-r0) [2020-06-03T11:38:24.502Z] (2/21) Installing openssl-dev (1.1.1g-r0) [2020-06-03T11:38:24.778Z] (3/21) Installing zlib-dev (1.2.11-r1) [2020-06-03T11:38:24.778Z] (4/21) Installing libssh2-dev (1.9.0-r1) [2020-06-03T11:38:25.080Z] (5/21) Installing nghttp2-dev (1.35.1-r1) [2020-06-03T11:38:25.080Z] (6/21) Installing curl-dev (7.64.0-r3) [2020-06-03T11:38:25.080Z] (7/21) Installing gnutls-c++ (3.6.7-r1) [2020-06-03T11:38:25.080Z] (8/21) Installing libgmpxx (6.1.2-r1) [2020-06-03T11:38:25.080Z] (9/21) Installing gmp-dev (6.1.2-r1) [2020-06-03T11:38:25.080Z] (10/21) Installing nettle-dev (3.4.1-r0) [2020-06-03T11:38:25.360Z] (11/21) Installing libtasn1-dev (4.14-r0) [2020-06-03T11:38:25.360Z] (12/21) Installing p11-kit-dev (0.23.14-r0) [2020-06-03T11:38:25.360Z] (13/21) Installing gnutls-dev (3.6.7-r1) [2020-06-03T11:38:25.360Z] (14/21) Installing libmicrohttpd-dev (0.9.62-r0) [2020-06-03T11:38:25.360Z] (15/21) Installing ncurses-dev (6.1_p20190105-r0) [2020-06-03T11:38:25.639Z] (16/21) Installing libblkid (2.33-r0) [2020-06-03T11:38:25.639Z] (17/21) Installing libfdisk (2.33-r0) [2020-06-03T11:38:25.639Z] (18/21) Installing libmount (2.33-r0) [2020-06-03T11:38:25.639Z] (19/21) Installing libsmartcols (2.33-r0) [2020-06-03T11:38:25.639Z] (20/21) Installing util-linux-dev (2.33-r0) [2020-06-03T11:38:25.639Z] (21/21) Installing yaml-dev (0.2.1-r0) [2020-06-03T11:38:25.639Z] Executing busybox-1.29.3-r10.trigger [2020-06-03T11:38:25.639Z] OK: 279 MiB in 83 packages [2020-06-03T11:38:29.086Z] Removing intermediate container b6f81b0f020d [2020-06-03T11:38:29.086Z] ---> 4a68c435dc12 [2020-06-03T11:38:29.086Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-06-03T11:38:29.680Z] ---> 4f78a3aaeda1 [2020-06-03T11:38:29.680Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-06-03T11:38:30.273Z] ---> dce22f1f5913 [2020-06-03T11:38:30.273Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-06-03T11:38:30.869Z] ---> bf4045dd043f [2020-06-03T11:38:30.869Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-06-03T11:38:31.466Z] ---> dc7d96a6ad19 [2020-06-03T11:38:31.466Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-06-03T11:38:31.736Z] ---> bb8b00ac7883 [2020-06-03T11:38:31.736Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-06-03T11:38:32.326Z] ---> 262489e86063 [2020-06-03T11:38:32.326Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-06-03T11:38:32.326Z] ---> Running in be4a49f51f0a [2020-06-03T11:38:32.916Z] Removing intermediate container be4a49f51f0a [2020-06-03T11:38:32.916Z] ---> a923513b7898 [2020-06-03T11:38:32.916Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-06-03T11:38:32.916Z] ---> Running in 987e65405edb [2020-06-03T11:38:33.186Z] Removing intermediate container 987e65405edb [2020-06-03T11:38:33.186Z] ---> e3cfb379cc45 [2020-06-03T11:38:33.186Z] Step 13/15 : LABEL arch=arm64 [2020-06-03T11:38:33.457Z] ---> Running in 7a93129502f2 [2020-06-03T11:38:33.730Z] Removing intermediate container 7a93129502f2 [2020-06-03T11:38:33.730Z] ---> 3c4217a38e72 [2020-06-03T11:38:33.730Z] Step 14/15 : LABEL git_sha=1aa8105ebf83a2c75f03f15ed04b88c76ed291ae [2020-06-03T11:38:33.730Z] ---> Running in 990b2e5e25c3 [2020-06-03T11:38:34.320Z] Removing intermediate container 990b2e5e25c3 [2020-06-03T11:38:34.320Z] ---> f4790931c4bb [2020-06-03T11:38:34.320Z] Step 15/15 : LABEL version=1.2.1-dev.2 [2020-06-03T11:38:34.320Z] ---> Running in 5ed9608b9a54 [2020-06-03T11:38:34.589Z] Removing intermediate container 5ed9608b9a54 [2020-06-03T11:38:34.589Z] ---> 29144ee19ef7 [2020-06-03T11:38:34.589Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2020-06-03T11:38:34.589Z] Successfully built 29144ee19ef7 [2020-06-03T11:38:34.589Z] 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-06-03T11:38:35.639Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-03T11:38:35.639Z] . [Pipeline] withDockerContainer [2020-06-03T11:38:35.763Z] prd-centos7-docker-4c-2g-1691 does not seem to be running inside a container [2020-06-03T11:38:35.806Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-06-03T11:38:36.301Z] $ docker top dfbc9b6d51b3c5f852f2afc437e23aa208777ac74df3d8d7d82957d459abe8c4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-06-03T11:38:36.499Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-03T11:38:36.499Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-03T11:38:36.681Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-03T11:38:36.684Z] $ docker exec dfbc9b6d51b3c5f852f2afc437e23aa208777ac74df3d8d7d82957d459abe8c4 ssh-agent [2020-06-03T11:38:36.857Z] SSH_AUTH_SOCK=/tmp/ssh-n1U1Uxoysbqb/agent.14 [2020-06-03T11:38:36.857Z] SSH_AGENT_PID=20 [2020-06-03T11:38:36.865Z] Running ssh-add (command line suppressed) [2020-06-03T11:38:37.013Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_1630688437697846433.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_1630688437697846433.key) [2020-06-03T11:38:37.066Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-03T11:38:37.369Z] + git semver tag [2020-06-03T11:38:37.369Z] # -> Open(): unable to determine branch for HEAD [2020-06-03T11:38:37.369Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2020-06-03T11:38:37.369Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2020-06-03T11:38:37.369Z] # $SEMVER_REMOTE_NAME = origin [2020-06-03T11:38:37.369Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-06-03T11:38:37.369Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-06-03T11:38:37.369Z] # $SEMVER_BRANCH = master [2020-06-03T11:38:37.369Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [2020-06-03T11:38:37.369Z] # 1aa8105ebf83a2c75f03f15ed04b88c76ed291ae HEAD [2020-06-03T11:38:37.369Z] # -> Force: false [2020-06-03T11:38:37.369Z] # 08e6338026cc0d615a1120682e6d9fc01fc45023 refs/tags/v1.2.1-dev.2 [Pipeline] } [2020-06-03T11:38:37.379Z] $ docker exec --env ******** --env ******** dfbc9b6d51b3c5f852f2afc437e23aa208777ac74df3d8d7d82957d459abe8c4 ssh-agent -k [2020-06-03T11:38:37.509Z] unset SSH_AUTH_SOCK; [2020-06-03T11:38:37.510Z] unset SSH_AGENT_PID; [2020-06-03T11:38:37.510Z] echo Agent pid 20 killed; [2020-06-03T11:38:37.549Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-06-03T11:38:37.907Z] + git semver [Pipeline] } [2020-06-03T11:38:37.922Z] $ docker stop --time=1 dfbc9b6d51b3c5f852f2afc437e23aa208777ac74df3d8d7d82957d459abe8c4 [2020-06-03T11:38:39.323Z] $ docker rm -f dfbc9b6d51b3c5f852f2afc437e23aa208777ac74df3d8d7d82957d459abe8c4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-06-03T11:38:39.888Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-06-03T11:38:39.888Z] [2020-06-03T11:38:39.888Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-06-03T11:38:40.213Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-06-03T11:38:40.213Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-06-03T11:38:40.213Z] ab5ef0e58194: Pulling fs layer [2020-06-03T11:38:40.213Z] 9712f1f96733: Pulling fs layer [2020-06-03T11:38:40.213Z] 63f879dbbcfc: Pulling fs layer [2020-06-03T11:38:40.213Z] 0d9ebad4ef96: Pulling fs layer [2020-06-03T11:38:40.213Z] e9a5061849ea: Pulling fs layer [2020-06-03T11:38:40.213Z] d747dcd14b5f: Pulling fs layer [2020-06-03T11:38:40.213Z] 2de7ff778b66: Pulling fs layer [2020-06-03T11:38:40.213Z] 0d9ebad4ef96: Waiting [2020-06-03T11:38:40.213Z] e9a5061849ea: Waiting [2020-06-03T11:38:40.213Z] d747dcd14b5f: Waiting [2020-06-03T11:38:40.213Z] 2de7ff778b66: Waiting [2020-06-03T11:38:40.213Z] 9712f1f96733: Verifying Checksum [2020-06-03T11:38:40.213Z] 9712f1f96733: Download complete [2020-06-03T11:38:40.801Z] 63f879dbbcfc: Verifying Checksum [2020-06-03T11:38:40.801Z] 63f879dbbcfc: Download complete [2020-06-03T11:38:41.064Z] ab5ef0e58194: Verifying Checksum [2020-06-03T11:38:41.064Z] ab5ef0e58194: Download complete [2020-06-03T11:38:41.064Z] d747dcd14b5f: Verifying Checksum [2020-06-03T11:38:41.064Z] d747dcd14b5f: Download complete [2020-06-03T11:38:41.064Z] e9a5061849ea: Verifying Checksum [2020-06-03T11:38:41.064Z] e9a5061849ea: Download complete [2020-06-03T11:38:41.064Z] 0d9ebad4ef96: Verifying Checksum [2020-06-03T11:38:41.064Z] 0d9ebad4ef96: Download complete [2020-06-03T11:38:41.325Z] 2de7ff778b66: Verifying Checksum [2020-06-03T11:38:41.325Z] 2de7ff778b66: Download complete [2020-06-03T11:38:45.545Z] ab5ef0e58194: Pull complete [2020-06-03T11:38:45.545Z] 9712f1f96733: Pull complete [2020-06-03T11:38:48.089Z] 63f879dbbcfc: Pull complete [2020-06-03T11:38:53.382Z] 0d9ebad4ef96: Pull complete [2020-06-03T11:38:54.767Z] e9a5061849ea: Pull complete [2020-06-03T11:38:54.767Z] d747dcd14b5f: Pull complete [2020-06-03T11:38:58.079Z] 2de7ff778b66: Pull complete [2020-06-03T11:38:58.079Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-06-03T11:38:58.079Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-06-03T11:38:58.209Z] prd-centos7-docker-4c-2g-1691 does not seem to be running inside a container [2020-06-03T11:38:58.246Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-06-03T11:38:58.869Z] $ docker top 42fa5703dc1a90e5e2c3bbbbab7f9c3c06e5250d3f33c3a9aa1d58c128da832f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-06-03T11:38:59.033Z] provisioning config files... [2020-06-03T11:38:59.047Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config2318042693090041310tmp [2020-06-03T11:38:59.061Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config2538443911953987852tmp [2020-06-03T11:38:59.074Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config942652911491524663tmp [Pipeline] { [Pipeline] echo [2020-06-03T11:38:59.101Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-03T11:38:59.393Z] ---> sigul-configuration.sh [2020-06-03T11:38:59.393Z] gpg: directory `/root/.gnupg' created [2020-06-03T11:38:59.393Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-06-03T11:38:59.393Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-06-03T11:38:59.393Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-06-03T11:38:59.393Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-06-03T11:38:59.393Z] gpg: CAST5 encrypted data [2020-06-03T11:38:59.654Z] gpg: encrypted with 1 passphrase [2020-06-03T11:38:59.655Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-06-03T11:38:59.961Z] + mkdir /home/jenkins [2020-06-03T11:38:59.961Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-06-03T11:39:00.259Z] + 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-06-03T11:39:00.268Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-03T11:39:00.557Z] ---> sigul-install.sh [2020-06-03T11:39:07.158Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-06-03T11:39:07.728Z] + git tag --list [2020-06-03T11:39:07.728Z] v1.2.1-dev.2 [Pipeline] sh [2020-06-03T11:39:08.091Z] + lftools sign git-tag v1.2.1-dev.2 [2020-06-03T11:39:09.093Z] Signing Git tag with Sigul... [2020-06-03T11:39:09.093Z] Signing v1.2.1-dev.2 [Pipeline] echo [2020-06-03T11:39:10.494Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-03T11:39:10.786Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-06-03T11:39:10.795Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-06-03T11:39:10.843Z] $ docker stop --time=1 42fa5703dc1a90e5e2c3bbbbab7f9c3c06e5250d3f33c3a9aa1d58c128da832f [2020-06-03T11:39:12.937Z] $ docker rm -f 42fa5703dc1a90e5e2c3bbbbab7f9c3c06e5250d3f33c3a9aa1d58c128da832f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-06-03T11:39:13.500Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-03T11:39:13.500Z] . [Pipeline] withDockerContainer [2020-06-03T11:39:13.612Z] prd-centos7-docker-4c-2g-1691 does not seem to be running inside a container [2020-06-03T11:39:13.653Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-06-03T11:39:14.270Z] $ docker top e7f1d6cdcf33af605b4ef6da354771305cf566e0ace7bc81119da133da661124 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-06-03T11:39:14.484Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-03T11:39:14.484Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-03T11:39:14.680Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-03T11:39:14.683Z] $ docker exec e7f1d6cdcf33af605b4ef6da354771305cf566e0ace7bc81119da133da661124 ssh-agent [2020-06-03T11:39:14.867Z] SSH_AUTH_SOCK=/tmp/ssh-MStAQAud8sNo/agent.15 [2020-06-03T11:39:14.867Z] SSH_AGENT_PID=22 [2020-06-03T11:39:14.874Z] Running ssh-add (command line suppressed) [2020-06-03T11:39:15.013Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_2957704026470318863.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_2957704026470318863.key) [2020-06-03T11:39:15.059Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-03T11:39:15.371Z] + git semver bump pre [2020-06-03T11:39:15.371Z] # -> Open(): unable to determine branch for HEAD [2020-06-03T11:39:15.371Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2020-06-03T11:39:15.371Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2020-06-03T11:39:15.371Z] # $SEMVER_REMOTE_NAME = origin [2020-06-03T11:39:15.371Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-06-03T11:39:15.371Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-06-03T11:39:15.371Z] # $SEMVER_BRANCH = master [2020-06-03T11:39:15.371Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [2020-06-03T11:39:15.371Z] 1.2.1-dev.3 [Pipeline] } [2020-06-03T11:39:15.383Z] $ docker exec --env ******** --env ******** e7f1d6cdcf33af605b4ef6da354771305cf566e0ace7bc81119da133da661124 ssh-agent -k [2020-06-03T11:39:15.522Z] unset SSH_AUTH_SOCK; [2020-06-03T11:39:15.524Z] unset SSH_AGENT_PID; [2020-06-03T11:39:15.524Z] echo Agent pid 22 killed; [2020-06-03T11:39:15.571Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-06-03T11:39:15.947Z] + git semver [Pipeline] } [2020-06-03T11:39:15.962Z] $ docker stop --time=1 e7f1d6cdcf33af605b4ef6da354771305cf566e0ace7bc81119da133da661124 [2020-06-03T11:39:17.354Z] $ docker rm -f e7f1d6cdcf33af605b4ef6da354771305cf566e0ace7bc81119da133da661124 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-06-03T11:39:18.232Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-03T11:39:18.232Z] . [Pipeline] withDockerContainer [2020-06-03T11:39:18.347Z] prd-centos7-docker-4c-2g-1691 does not seem to be running inside a container [2020-06-03T11:39:18.392Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-06-03T11:39:18.986Z] $ docker top 75869c55bf817625f1d4dfd333822431e622c061bd90f717859991c9471cd856 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-06-03T11:39:19.173Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-03T11:39:19.173Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-03T11:39:19.362Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-03T11:39:19.365Z] $ docker exec 75869c55bf817625f1d4dfd333822431e622c061bd90f717859991c9471cd856 ssh-agent [2020-06-03T11:39:19.540Z] SSH_AUTH_SOCK=/tmp/ssh-dm6ifOdEqoCL/agent.14 [2020-06-03T11:39:19.540Z] SSH_AGENT_PID=20 [2020-06-03T11:39:19.547Z] Running ssh-add (command line suppressed) [2020-06-03T11:39:19.680Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_7916141429897350319.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_7916141429897350319.key) [2020-06-03T11:39:19.732Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-03T11:39:20.047Z] + git semver push [2020-06-03T11:39:20.047Z] # -> Open(): unable to determine branch for HEAD [2020-06-03T11:39:20.047Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2020-06-03T11:39:20.047Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2020-06-03T11:39:20.047Z] # $SEMVER_REMOTE_NAME = origin [2020-06-03T11:39:20.047Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-06-03T11:39:20.047Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-06-03T11:39:20.047Z] # $SEMVER_BRANCH = master [2020-06-03T11:39:20.047Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [Pipeline] } [2020-06-03T11:39:26.638Z] $ docker exec --env ******** --env ******** 75869c55bf817625f1d4dfd333822431e622c061bd90f717859991c9471cd856 ssh-agent -k [2020-06-03T11:39:26.783Z] unset SSH_AUTH_SOCK; [2020-06-03T11:39:26.783Z] unset SSH_AGENT_PID; [2020-06-03T11:39:26.783Z] echo Agent pid 20 killed; [2020-06-03T11:39:26.820Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-06-03T11:39:27.178Z] + git semver [Pipeline] } [2020-06-03T11:39:27.192Z] $ docker stop --time=1 75869c55bf817625f1d4dfd333822431e622c061bd90f717859991c9471cd856 [2020-06-03T11:39:28.602Z] $ docker rm -f 75869c55bf817625f1d4dfd333822431e622c061bd90f717859991c9471cd856 [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-06-03T11:39:29.291Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-03T11:39:29.592Z] ---> package-listing.sh [2020-06-03T11:39:29.592Z] ++ facter osfamily [2020-06-03T11:39:29.592Z] ++ tr '[:upper:]' '[:lower:]' [2020-06-03T11:39:29.592Z] + OS_FAMILY=redhat [2020-06-03T11:39:29.592Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_master [2020-06-03T11:39:29.592Z] + START_PACKAGES=/tmp/packages_start.txt [2020-06-03T11:39:29.592Z] + END_PACKAGES=/tmp/packages_end.txt [2020-06-03T11:39:29.592Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-06-03T11:39:29.592Z] + PACKAGES=/tmp/packages_start.txt [2020-06-03T11:39:29.592Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_master ']' [2020-06-03T11:39:29.592Z] + PACKAGES=/tmp/packages_end.txt [2020-06-03T11:39:29.592Z] + case "${OS_FAMILY}" in [2020-06-03T11:39:29.592Z] + rpm -qa [2020-06-03T11:39:29.592Z] + sort [2020-06-03T11:39:33.802Z] + '[' -f /tmp/packages_start.txt ']' [2020-06-03T11:39:33.802Z] + '[' -f /tmp/packages_end.txt ']' [2020-06-03T11:39:33.802Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-06-03T11:39:33.802Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_master ']' [2020-06-03T11:39:33.802Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_master/archives/ [2020-06-03T11:39:33.802Z] + 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-06-03T11:39:34.466Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-03T11:39:34.466Z] [2020-06-03T11:39:34.466Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-06-03T11:39:34.800Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-03T11:39:34.800Z] alpine: Pulling from edgex-lftools-log-publisher [2020-06-03T11:39:34.800Z] c9b1b535fdd9: Pulling fs layer [2020-06-03T11:39:34.800Z] 2cc5ad85d9ab: Pulling fs layer [2020-06-03T11:39:34.800Z] 756a868c4378: Pulling fs layer [2020-06-03T11:39:34.800Z] 444b2fc9a129: Pulling fs layer [2020-06-03T11:39:34.800Z] ea15f1150254: Pulling fs layer [2020-06-03T11:39:34.800Z] 41b27a9f41bf: Pulling fs layer [2020-06-03T11:39:34.800Z] 28c525ee5125: Pulling fs layer [2020-06-03T11:39:34.800Z] 094b1ea09ed8: Pulling fs layer [2020-06-03T11:39:34.800Z] 138eaada9080: Pulling fs layer [2020-06-03T11:39:34.800Z] 0622d0fa9048: Pulling fs layer [2020-06-03T11:39:34.800Z] 41b27a9f41bf: Waiting [2020-06-03T11:39:34.800Z] 28c525ee5125: Waiting [2020-06-03T11:39:34.800Z] 094b1ea09ed8: Waiting [2020-06-03T11:39:34.800Z] 138eaada9080: Waiting [2020-06-03T11:39:34.800Z] 0622d0fa9048: Waiting [2020-06-03T11:39:34.800Z] 444b2fc9a129: Waiting [2020-06-03T11:39:34.800Z] ea15f1150254: Waiting [2020-06-03T11:39:34.800Z] 2cc5ad85d9ab: Download complete [2020-06-03T11:39:34.800Z] 444b2fc9a129: Verifying Checksum [2020-06-03T11:39:34.800Z] 444b2fc9a129: Download complete [2020-06-03T11:39:34.800Z] c9b1b535fdd9: Verifying Checksum [2020-06-03T11:39:34.800Z] ea15f1150254: Download complete [2020-06-03T11:39:35.073Z] 28c525ee5125: Verifying Checksum [2020-06-03T11:39:35.073Z] 28c525ee5125: Download complete [2020-06-03T11:39:35.073Z] c9b1b535fdd9: Pull complete [2020-06-03T11:39:35.338Z] 756a868c4378: Verifying Checksum [2020-06-03T11:39:35.338Z] 756a868c4378: Download complete [2020-06-03T11:39:35.338Z] 094b1ea09ed8: Verifying Checksum [2020-06-03T11:39:35.338Z] 094b1ea09ed8: Download complete [2020-06-03T11:39:35.338Z] 138eaada9080: Verifying Checksum [2020-06-03T11:39:35.338Z] 138eaada9080: Download complete [2020-06-03T11:39:35.599Z] 0622d0fa9048: Verifying Checksum [2020-06-03T11:39:35.599Z] 0622d0fa9048: Download complete [2020-06-03T11:39:35.862Z] 41b27a9f41bf: Verifying Checksum [2020-06-03T11:39:35.862Z] 41b27a9f41bf: Download complete [2020-06-03T11:39:36.807Z] 2cc5ad85d9ab: Pull complete [2020-06-03T11:39:38.198Z] 756a868c4378: Pull complete [2020-06-03T11:39:38.198Z] 444b2fc9a129: Pull complete [2020-06-03T11:39:38.198Z] ea15f1150254: Pull complete [2020-06-03T11:39:42.427Z] 41b27a9f41bf: Pull complete [2020-06-03T11:39:42.427Z] 28c525ee5125: Pull complete [2020-06-03T11:39:44.346Z] 094b1ea09ed8: Pull complete [2020-06-03T11:39:44.608Z] 138eaada9080: Pull complete [2020-06-03T11:39:44.880Z] 0622d0fa9048: Pull complete [2020-06-03T11:39:44.880Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-06-03T11:39:44.880Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-06-03T11:39:44.999Z] prd-centos7-docker-4c-2g-1691 does not seem to be running inside a container [2020-06-03T11:39:45.047Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-06-03T11:39:45.515Z] $ docker top a20b1135a7411e09bed06c830340eb5fa851afecb58866a9fb4003dd74420d9a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-06-03T11:39:45.692Z] provisioning config files... [2020-06-03T11:39:45.705Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config8566489320355972115tmp [Pipeline] { [Pipeline] echo [2020-06-03T11:39:45.737Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-03T11:39:46.030Z] ---> create-netrc.sh [Pipeline] echo [2020-06-03T11:39:46.040Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-03T11:39:46.332Z] ---> logs-deploy.sh [2020-06-03T11:39:46.332Z] + ARCHIVE_ARTIFACTS= [2020-06-03T11:39:46.332Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-06-03T11:39:46.332Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-06-03T11:39:46.332Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-06-03T11:39:46.332Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/master/23 [2020-06-03T11:39:46.332Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/master/23/ [2020-06-03T11:39:46.332Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/master/23 /w/workspace/edgexfoundry_device-sdk-c_master [2020-06-03T11:39:47.272Z] Archives upload complete. [2020-06-03T11:39:47.272Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/master/23 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/master/23/