Pull request #275 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 433f8bd9e2fac67d6eb6b5e6b63b7e85aaee9e7f+b4873c23cc909bb34276112007e0d4a5fd45beca (ecce4097f13b9cb5ed670901ced3f905fe7e8896) 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.11-base, dockerFilePath:scripts/Dockerfile.alpine-3.11, 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.11 DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-3.11-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-4865 in /w/workspace/edgexfoundry_device-sdk-c_PR-275 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-275 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/275/head:refs/remotes/origin/PR-275 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/275/head:refs/remotes/origin/PR-275 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit b4873c23cc909bb34276112007e0d4a5fd45beca into PR head commit 433f8bd9e2fac67d6eb6b5e6b63b7e85aaee9e7f Merge succeeded, producing 433f8bd9e2fac67d6eb6b5e6b63b7e85aaee9e7f Checking out Revision 433f8bd9e2fac67d6eb6b5e6b63b7e85aaee9e7f (PR-275) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/275/head:refs/remotes/origin/PR-275 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 433f8bd9e2fac67d6eb6b5e6b63b7e85aaee9e7f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b4873c23cc909bb34276112007e0d4a5fd45beca # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 433f8bd9e2fac67d6eb6b5e6b63b7e85aaee9e7f # timeout=10 Commit message: "feat: implement device endpoint for v2 REST API" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-06-30T09:01:43.657Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-06-30T09:01:43.768Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git rev-list --no-walk a064d3c97585ef2d8ef2f5a9a6efcaa20fe91ff3 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-06-30T09:01:43.806Z] ========================================================= [2020-06-30T09:01:43.806Z] EdgeX Global Pipelines Version Info [2020-06-30T09:01:43.806Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-06-30T09:01:45.734Z] ------------------- [2020-06-30T09:01:45.734Z] stable info: [2020-06-30T09:01:45.734Z] ------------------- [2020-06-30T09:01:45.734Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-06-30T09:01:45.734Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-30T09:01:45.734Z] Message: update stable to v1.0.89 [2020-06-30T09:01:46.305Z] ------------------- [2020-06-30T09:01:46.305Z] experimental info: [2020-06-30T09:01:46.305Z] ------------------- [2020-06-30T09:01:46.305Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-06-30T09:01:46.305Z] Commit SHA: 50d5b24b0ab5f81d75c339234d0e2512bee9338e [2020-06-30T09:01:46.305Z] Message: update experimental to v1.0.91 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-06-30T09:01:47.698Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-30T09:01:47.698Z] [2020-06-30T09:01:47.698Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-06-30T09:01:48.012Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-30T09:01:48.012Z] latest: Pulling from edgex-devops/git-semver [2020-06-30T09:01:48.012Z] 9123ac7c32f7: Pulling fs layer [2020-06-30T09:01:48.012Z] b8cc5d1170e3: Pulling fs layer [2020-06-30T09:01:48.012Z] 2924cbbf6a41: Pulling fs layer [2020-06-30T09:01:48.012Z] 93b08a4f1073: Pulling fs layer [2020-06-30T09:01:48.012Z] 93b08a4f1073: Waiting [2020-06-30T09:01:48.012Z] b8cc5d1170e3: Verifying Checksum [2020-06-30T09:01:48.012Z] b8cc5d1170e3: Download complete [2020-06-30T09:01:48.274Z] 9123ac7c32f7: Verifying Checksum [2020-06-30T09:01:48.274Z] 9123ac7c32f7: Download complete [2020-06-30T09:01:48.274Z] 93b08a4f1073: Verifying Checksum [2020-06-30T09:01:48.274Z] 93b08a4f1073: Download complete [2020-06-30T09:01:48.274Z] 2924cbbf6a41: Verifying Checksum [2020-06-30T09:01:48.274Z] 2924cbbf6a41: Download complete [2020-06-30T09:01:48.535Z] 9123ac7c32f7: Pull complete [2020-06-30T09:01:48.535Z] b8cc5d1170e3: Pull complete [2020-06-30T09:01:49.475Z] 2924cbbf6a41: Pull complete [2020-06-30T09:01:49.475Z] 93b08a4f1073: Pull complete [2020-06-30T09:01:49.475Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-06-30T09:01:49.737Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-30T09:01:49.737Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-06-30T09:01:49.844Z] prd-centos7-docker-4c-2g-4865 does not seem to be running inside a container [2020-06-30T09:01:49.885Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-275 -v /w/workspace/edgexfoundry_device-sdk-c_PR-275:/w/workspace/edgexfoundry_device-sdk-c_PR-275:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-275@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-275@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-06-30T09:01:52.025Z] $ docker top 10f121a4808ca481e10b8994cea9c12a06e27581812fc41024616b4031bb6b61 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-06-30T09:01:52.207Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-30T09:01:52.207Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-30T09:01:52.415Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-30T09:01:52.418Z] $ docker exec 10f121a4808ca481e10b8994cea9c12a06e27581812fc41024616b4031bb6b61 ssh-agent [2020-06-30T09:01:52.574Z] SSH_AUTH_SOCK=/tmp/ssh-W5NFOFOeGVfc/agent.12 [2020-06-30T09:01:52.574Z] SSH_AGENT_PID=18 [2020-06-30T09:01:52.584Z] Running ssh-add (command line suppressed) [2020-06-30T09:01:52.708Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-275@tmp/private_key_3979735715352719146.key (/w/workspace/edgexfoundry_device-sdk-c_PR-275@tmp/private_key_3979735715352719146.key) [2020-06-30T09:01:52.754Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-30T09:01:53.065Z] + git describe --exact-match --tags HEAD [2020-06-30T09:01:53.065Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-06-30T09:01:53.119Z] $ docker exec --env ******** --env ******** 10f121a4808ca481e10b8994cea9c12a06e27581812fc41024616b4031bb6b61 ssh-agent -k [2020-06-30T09:01:53.233Z] unset SSH_AUTH_SOCK; [2020-06-30T09:01:53.233Z] unset SSH_AGENT_PID; [2020-06-30T09:01:53.233Z] echo Agent pid 18 killed; [2020-06-30T09:01:53.268Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-06-30T09:01:53.304Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-06-30T09:01:53.304Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-06-30T09:01:53.349Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-30T09:01:53.349Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-30T09:01:53.518Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-30T09:01:53.522Z] $ docker exec 10f121a4808ca481e10b8994cea9c12a06e27581812fc41024616b4031bb6b61 ssh-agent [2020-06-30T09:01:53.684Z] SSH_AUTH_SOCK=/tmp/ssh-SNtCBLjXEJlp/agent.49 [2020-06-30T09:01:53.684Z] SSH_AGENT_PID=54 [2020-06-30T09:01:53.690Z] Running ssh-add (command line suppressed) [2020-06-30T09:01:53.806Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-275@tmp/private_key_2166118553305541104.key (/w/workspace/edgexfoundry_device-sdk-c_PR-275@tmp/private_key_2166118553305541104.key) [2020-06-30T09:01:53.852Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-30T09:01:54.153Z] + git semver init [2020-06-30T09:01:54.153Z] # -> Open(): unable to determine branch for HEAD [2020-06-30T09:01:54.153Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-275/.git [2020-06-30T09:01:54.153Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-275 [2020-06-30T09:01:54.153Z] # $SEMVER_REMOTE_NAME = origin [2020-06-30T09:01:54.153Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-06-30T09:01:54.153Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-06-30T09:01:54.153Z] # $SEMVER_BRANCH = PR-275 [2020-06-30T09:01:54.153Z] # $SEMVER_TEMP = /tmp/semver-268856575 [2020-06-30T09:01:54.153Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2020-06-30T09:01:54.724Z] # '/tmp/semver-268856575' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-275/.semver' [2020-06-30T09:01:54.724Z] # -> Force: false [2020-06-30T09:01:54.724Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-275/.semver [Pipeline] } [2020-06-30T09:01:54.735Z] $ docker exec --env ******** --env ******** 10f121a4808ca481e10b8994cea9c12a06e27581812fc41024616b4031bb6b61 ssh-agent -k [2020-06-30T09:01:54.848Z] unset SSH_AUTH_SOCK; [2020-06-30T09:01:54.848Z] unset SSH_AGENT_PID; [2020-06-30T09:01:54.848Z] echo Agent pid 54 killed; [2020-06-30T09:01:54.890Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-06-30T09:01:55.241Z] + git semver [Pipeline] } [2020-06-30T09:01:55.257Z] $ docker stop --time=1 10f121a4808ca481e10b8994cea9c12a06e27581812fc41024616b4031bb6b61 [2020-06-30T09:01:56.763Z] $ docker rm -f 10f121a4808ca481e10b8994cea9c12a06e27581812fc41024616b4031bb6b61 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-06-30T09:01:57.567Z] Stashed 53 file(s) [Pipeline] echo [2020-06-30T09:01:57.569Z] [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-06-30T09:02:12.713Z] Still waiting to schedule task [2020-06-30T09:02:12.713Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-4865’ [2020-06-30T09:02:12.715Z] Still waiting to schedule task [2020-06-30T09:02:12.715Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-06-30T09:03:49.436Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4866 in /w/workspace/edgexfoundry_device-sdk-c_PR-275 [Pipeline] { [Pipeline] ws [2020-06-30T09:03:49.460Z] Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout [2020-06-30T09:03:54.898Z] using credential edgex-jenkins-ssh [2020-06-30T09:03:54.932Z] Cloning the remote Git repository [2020-06-30T09:03:54.932Z] Cloning with configured refspecs honoured and without tags [2020-06-30T09:03:54.964Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-06-30T09:03:55.076Z] > git init /w/workspace/device-sdk-c/2 # timeout=10 [2020-06-30T09:03:55.138Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-06-30T09:03:55.139Z] > git --version # timeout=10 [2020-06-30T09:03:55.161Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-30T09:03:55.219Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/275/head:refs/remotes/origin/PR-275 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-30T09:03:56.279Z] Fetching without tags [2020-06-30T09:03:56.832Z] Merging remotes/origin/master commit b4873c23cc909bb34276112007e0d4a5fd45beca into PR head commit 433f8bd9e2fac67d6eb6b5e6b63b7e85aaee9e7f [2020-06-30T09:03:57.064Z] Merge succeeded, producing 433f8bd9e2fac67d6eb6b5e6b63b7e85aaee9e7f [2020-06-30T09:03:57.065Z] Checking out Revision 433f8bd9e2fac67d6eb6b5e6b63b7e85aaee9e7f (PR-275) [2020-06-30T09:03:56.173Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-06-30T09:03:56.194Z] > git config --add remote.origin.fetch +refs/pull/275/head:refs/remotes/origin/PR-275 # timeout=10 [2020-06-30T09:03:56.212Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-30T09:03:56.235Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-06-30T09:03:56.267Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-06-30T09:03:56.267Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-30T09:03:56.280Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/275/head:refs/remotes/origin/PR-275 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-30T09:03:56.825Z] > git config core.sparsecheckout # timeout=10 [2020-06-30T09:03:56.845Z] > git checkout -f 433f8bd9e2fac67d6eb6b5e6b63b7e85aaee9e7f # timeout=10 [2020-06-30T09:03:56.955Z] > git remote # timeout=10 [2020-06-30T09:03:56.970Z] > git config --get remote.origin.url # timeout=10 [2020-06-30T09:03:56.989Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-30T09:03:57.001Z] > git merge b4873c23cc909bb34276112007e0d4a5fd45beca # timeout=10 [2020-06-30T09:03:57.026Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-06-30T09:03:57.045Z] > git config core.sparsecheckout # timeout=10 [2020-06-30T09:03:57.067Z] > git checkout -f 433f8bd9e2fac67d6eb6b5e6b63b7e85aaee9e7f # timeout=10 [2020-06-30T09:04:01.584Z] Commit message: "feat: implement device endpoint for v2 REST API" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-06-30T09:04:02.766Z] ========================================================= [2020-06-30T09:04:02.766Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2020-06-30T09:04:02.766Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-30T09:04:03.721Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-3.11-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2020-06-30T09:04:04.703Z] Sending build context to Docker daemon 3.312MB [2020-06-30T09:04:04.703Z] Step 1/21 : ARG BASE=alpine:3.11 [2020-06-30T09:04:04.703Z] Step 2/21 : FROM ${BASE} as builder [2020-06-30T09:04:04.978Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2020-06-30T09:04:04.978Z] 0362ad1dd800: Pulling fs layer [2020-06-30T09:04:04.978Z] f2cdb1532d8b: Pulling fs layer [2020-06-30T09:04:04.978Z] 37ed683be191: Pulling fs layer [2020-06-30T09:04:04.978Z] f2cdb1532d8b: Verifying Checksum [2020-06-30T09:04:04.978Z] f2cdb1532d8b: Download complete [2020-06-30T09:04:04.978Z] 0362ad1dd800: Verifying Checksum [2020-06-30T09:04:04.978Z] 0362ad1dd800: Download complete [2020-06-30T09:04:05.961Z] 0362ad1dd800: Pull complete [2020-06-30T09:04:06.238Z] f2cdb1532d8b: Pull complete [2020-06-30T09:04:07.218Z] 37ed683be191: Verifying Checksum [2020-06-30T09:04:07.218Z] 37ed683be191: Download complete [2020-06-30T09:04:17.401Z] 37ed683be191: Pull complete [2020-06-30T09:04:17.401Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2020-06-30T09:04:17.401Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2020-06-30T09:04:17.401Z] ---> b23d30803547 [2020-06-30T09:04:17.401Z] 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-30T09:04:17.994Z] ---> Running in 9637e776c77f [2020-06-30T09:04:19.424Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-06-30T09:04:20.396Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-06-30T09:04:20.989Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-06-30T09:04:20.989Z] (2/8) Installing libuuid (2.33-r0) [2020-06-30T09:04:20.989Z] (3/8) Installing libblkid (2.33-r0) [2020-06-30T09:04:21.259Z] (4/8) Installing libfdisk (2.33-r0) [2020-06-30T09:04:21.259Z] (5/8) Installing libmount (2.33-r0) [2020-06-30T09:04:21.259Z] (6/8) Installing libsmartcols (2.33-r0) [2020-06-30T09:04:21.530Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-06-30T09:04:21.806Z] (8/8) Installing wget (1.20.3-r0) [2020-06-30T09:04:21.806Z] Executing busybox-1.29.3-r10.trigger [2020-06-30T09:04:21.806Z] OK: 285 MiB in 83 packages [2020-06-30T09:04:23.238Z] Removing intermediate container 9637e776c77f [2020-06-30T09:04:23.238Z] ---> ea8b2d7038dd [2020-06-30T09:04:23.238Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-06-30T09:04:23.510Z] ---> Running in bd1fb81660e0 [2020-06-30T09:04:23.784Z] Removing intermediate container bd1fb81660e0 [2020-06-30T09:04:23.784Z] ---> 19654dac656e [2020-06-30T09:04:23.784Z] 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-30T09:04:24.058Z] ---> Running in 9d03796caa60 [2020-06-30T09:04:25.486Z] --2020-06-30 09:04:25-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-06-30T09:04:25.486Z] Resolving github.com... 140.82.112.4 [2020-06-30T09:04:25.486Z] Connecting to github.com|140.82.112.4|:443... connected. [2020-06-30T09:04:25.486Z] HTTP request sent, awaiting response... 302 Found [2020-06-30T09:04:25.486Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-06-30T09:04:25.486Z] --2020-06-30 09:04:25-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-06-30T09:04:25.486Z] Resolving codeload.github.com... 140.82.112.10 [2020-06-30T09:04:25.486Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2020-06-30T09:04:25.768Z] HTTP request sent, awaiting response... 200 OK [2020-06-30T09:04:25.768Z] Length: unspecified [application/x-gzip] [2020-06-30T09:04:25.768Z] Saving to: 'STDOUT' [2020-06-30T09:04:25.768Z]  [2020-06-30T09:04:25.768Z] 0K .......... .......... .......... .......... .......... 1.34M [2020-06-30T09:04:25.768Z] 50K .......... .......... .......... .......... .......... 2.80M [2020-06-30T09:04:25.769Z] 100K .......... .......... .......... .......... .......... 11.7M [2020-06-30T09:04:25.769Z] 150K .......... .......... .......... .......... .......... 3.09M [2020-06-30T09:04:25.769Z] 200K .......... .......... .......... .......... .......... 14.0M [2020-06-30T09:04:25.769Z] 250K .......... .......... .......... .......... .......... 3.11M [2020-06-30T09:04:25.769Z] 300K .......... .......... .......... .......... .......... 3.64M [2020-06-30T09:04:25.769Z] 350K .......... .......... .......... .......... .......... 4.88M [2020-06-30T09:04:25.769Z] 400K .......... .......... .......... .......... .......... 3.72M [2020-06-30T09:04:25.769Z] 450K .......... .......... .......... .......... .......... 3.35M [2020-06-30T09:04:25.769Z] 500K .......... .......... .......... .......... .......... 6.50M [2020-06-30T09:04:26.042Z] 550K .......... .......... .......... .......... .......... 2.20M [2020-06-30T09:04:26.042Z] 600K .......... .......... .......... .......... .......... 861K [2020-06-30T09:04:26.042Z] 650K .......... .......... .......... .......... .......... 2.84M [2020-06-30T09:04:26.042Z] 700K ..                          387K=0.3s [2020-06-30T09:04:26.042Z] [2020-06-30T09:04:26.042Z] 2020-06-30 09:04:25 (2.68 MB/s) - written to stdout [719348] [2020-06-30T09:04:26.042Z] [2020-06-30T09:04:26.317Z] -- The C compiler identification is GNU 8.3.0 [2020-06-30T09:04:26.589Z] -- The CXX compiler identification is GNU 8.3.0 [2020-06-30T09:04:26.589Z] -- Check for working C compiler: /usr/bin/cc [2020-06-30T09:04:26.863Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-30T09:04:26.863Z] -- Detecting C compiler ABI info [2020-06-30T09:04:27.137Z] -- Detecting C compiler ABI info - done [2020-06-30T09:04:27.137Z] -- Detecting C compile features [2020-06-30T09:04:27.731Z] -- Detecting C compile features - done [2020-06-30T09:04:27.731Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-06-30T09:04:28.003Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-06-30T09:04:28.003Z] -- Detecting CXX compiler ABI info [2020-06-30T09:04:28.275Z] -- Detecting CXX compiler ABI info - done [2020-06-30T09:04:28.275Z] -- Detecting CXX compile features [2020-06-30T09:04:29.707Z] -- Detecting CXX compile features - done [2020-06-30T09:04:29.707Z] -- Looking for include file endian.h [2020-06-30T09:04:29.979Z] -- Looking for include file endian.h - found [2020-06-30T09:04:29.979Z] -- Check if the system is big endian [2020-06-30T09:04:29.979Z] -- Searching 16 bit integer [2020-06-30T09:04:29.979Z] -- Looking for sys/types.h [2020-06-30T09:04:30.251Z] -- Looking for sys/types.h - found [2020-06-30T09:04:30.251Z] -- Looking for stdint.h [2020-06-30T09:04:30.525Z] -- Looking for stdint.h - found [2020-06-30T09:04:30.525Z] -- Looking for stddef.h [2020-06-30T09:04:30.796Z] -- Looking for stddef.h - found [2020-06-30T09:04:30.796Z] -- Check size of unsigned short [2020-06-30T09:04:31.069Z] -- Check size of unsigned short - done [2020-06-30T09:04:31.069Z] -- Using unsigned short [2020-06-30T09:04:31.340Z] -- Check if the system is big endian - little endian [2020-06-30T09:04:31.340Z] -- Check size of size_t [2020-06-30T09:04:31.611Z] -- Check size of size_t - done [2020-06-30T09:04:31.611Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-06-30T09:04:31.611Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-06-30T09:04:31.611Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-06-30T09:04:31.611Z] CMake did not find one. [2020-06-30T09:04:31.611Z] [2020-06-30T09:04:31.611Z] Could not find a package configuration file provided by "cJSON" with any of [2020-06-30T09:04:31.611Z] the following names: [2020-06-30T09:04:31.611Z] [2020-06-30T09:04:31.611Z] cJSONConfig.cmake [2020-06-30T09:04:31.611Z] cjson-config.cmake [2020-06-30T09:04:31.611Z] [2020-06-30T09:04:31.611Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-06-30T09:04:31.611Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-06-30T09:04:31.611Z] provides a separate development package or SDK, be sure it has been [2020-06-30T09:04:31.611Z] installed. [2020-06-30T09:04:31.611Z] [2020-06-30T09:04:31.611Z] [2020-06-30T09:04:31.611Z] -- Configuring done [2020-06-30T09:04:31.884Z] -- Generating done [2020-06-30T09:04:31.884Z] -- Build files have been written to: /tmp/cbor [2020-06-30T09:04:31.884Z] Scanning dependencies of target cbor_shared [2020-06-30T09:04:31.884Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-06-30T09:04:32.857Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-06-30T09:04:33.452Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-06-30T09:04:33.452Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-06-30T09:04:34.044Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-06-30T09:04:34.316Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-06-30T09:04:34.590Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-06-30T09:04:34.590Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-06-30T09:04:34.864Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-06-30T09:04:35.135Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-06-30T09:04:35.731Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-06-30T09:04:36.002Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-06-30T09:04:36.276Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-06-30T09:04:36.870Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-06-30T09:04:36.870Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-06-30T09:04:37.141Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-06-30T09:04:37.413Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-06-30T09:04:37.686Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-06-30T09:04:37.956Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-06-30T09:04:38.228Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-06-30T09:04:38.501Z] [ 40%] Linking C shared library libcbor.so [2020-06-30T09:04:38.501Z] [ 40%] Built target cbor_shared [2020-06-30T09:04:38.501Z] Scanning dependencies of target cbor [2020-06-30T09:04:38.501Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-06-30T09:04:39.477Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-06-30T09:04:40.066Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-06-30T09:04:40.066Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-06-30T09:04:41.035Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-06-30T09:04:41.306Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-06-30T09:04:41.576Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-06-30T09:04:41.847Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-06-30T09:04:42.159Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-06-30T09:04:42.443Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-06-30T09:04:43.054Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-06-30T09:04:43.333Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-06-30T09:04:43.939Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-06-30T09:04:44.217Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-06-30T09:04:44.488Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-06-30T09:04:44.761Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-06-30T09:04:45.030Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-06-30T09:04:45.309Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-06-30T09:04:45.309Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-06-30T09:04:45.906Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-06-30T09:04:45.906Z] [ 80%] Linking C static library libcbor.a [2020-06-30T09:04:45.906Z] [ 80%] Built target cbor [2020-06-30T09:04:45.906Z] Scanning dependencies of target create_items [2020-06-30T09:04:45.906Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-06-30T09:04:46.179Z] [ 84%] Linking C executable create_items [2020-06-30T09:04:46.179Z] [ 84%] Built target create_items [2020-06-30T09:04:46.179Z] Scanning dependencies of target readfile [2020-06-30T09:04:46.465Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-06-30T09:04:46.465Z] [ 88%] Linking C executable readfile [2020-06-30T09:04:46.465Z] [ 88%] Built target readfile [2020-06-30T09:04:46.738Z] Scanning dependencies of target streaming_parser [2020-06-30T09:04:46.738Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-06-30T09:04:46.738Z] [ 92%] Linking C executable streaming_parser [2020-06-30T09:04:47.012Z] [ 92%] Built target streaming_parser [2020-06-30T09:04:47.012Z] Scanning dependencies of target sort [2020-06-30T09:04:47.012Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-06-30T09:04:47.286Z] [ 96%] Linking C executable sort [2020-06-30T09:04:47.286Z] [ 96%] Built target sort [2020-06-30T09:04:47.286Z] Scanning dependencies of target hello [2020-06-30T09:04:47.286Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-06-30T09:04:47.557Z] [100%] Linking C executable hello [2020-06-30T09:04:47.557Z] [100%] Built target hello [2020-06-30T09:04:47.557Z] Install the project... [2020-06-30T09:04:47.557Z] -- Install configuration: "Release" [2020-06-30T09:04:47.557Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-06-30T09:04:47.557Z] -- Installing: /usr/local/lib64/libcbor.a [2020-06-30T09:04:47.557Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-06-30T09:04:47.557Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-06-30T09:04:47.557Z] -- Installing: /usr/local/lib64/libcbor.so [2020-06-30T09:04:47.557Z] -- Up-to-date: /usr/local/include/cbor [2020-06-30T09:04:47.557Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-06-30T09:04:47.557Z] -- Installing: /usr/local/include/cbor/ints.h [2020-06-30T09:04:47.557Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-06-30T09:04:47.557Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-06-30T09:04:47.557Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-06-30T09:04:47.557Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-06-30T09:04:47.557Z] -- Installing: /usr/local/include/cbor/data.h [2020-06-30T09:04:47.557Z] -- Installing: /usr/local/include/cbor/common.h [2020-06-30T09:04:47.557Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-06-30T09:04:47.557Z] -- Installing: /usr/local/include/cbor/strings.h [2020-06-30T09:04:47.557Z] -- Installing: /usr/local/include/cbor/tags.h [2020-06-30T09:04:47.557Z] -- Installing: /usr/local/include/cbor/internal [2020-06-30T09:04:47.557Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-06-30T09:04:47.557Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-06-30T09:04:47.557Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-06-30T09:04:47.557Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-06-30T09:04:47.557Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-06-30T09:04:47.557Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-06-30T09:04:47.557Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-06-30T09:04:47.557Z] -- Installing: /usr/local/include/cbor/maps.h [2020-06-30T09:04:47.557Z] -- Installing: /usr/local/include/cbor.h [2020-06-30T09:04:47.557Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-06-30T09:04:49.539Z] Removing intermediate container 9d03796caa60 [2020-06-30T09:04:49.539Z] ---> 7d3bb4277e99 [2020-06-30T09:04:49.539Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-06-30T09:04:49.816Z] ---> Running in bfff4ff0ec95 [2020-06-30T09:04:52.069Z] Running on prd-centos7-docker-4c-2g-4868 in /w/workspace/edgexfoundry_device-sdk-c_PR-275 [Pipeline] { [Pipeline] ws [2020-06-30T09:04:52.093Z] Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout [2020-06-30T09:04:52.460Z] Removing intermediate container bfff4ff0ec95 [2020-06-30T09:04:52.460Z] ---> 9da9d9f6b7b6 [2020-06-30T09:04:52.460Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-06-30T09:04:52.732Z] ---> 69a5f3c72922 [2020-06-30T09:04:52.732Z] Step 8/21 : COPY src /tmp/sdk/src [2020-06-30T09:04:53.732Z] ---> 66dd7f823ade [2020-06-30T09:04:53.732Z] Step 9/21 : COPY include /tmp/sdk/include [2020-06-30T09:04:54.340Z] ---> 58e4d05a0c55 [2020-06-30T09:04:54.340Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-06-30T09:04:54.756Z] using credential edgex-jenkins-ssh [2020-06-30T09:04:54.784Z] Cloning the remote Git repository [2020-06-30T09:04:54.784Z] Cloning with configured refspecs honoured and without tags [2020-06-30T09:04:54.960Z] ---> fb671aaf7b23 [2020-06-30T09:04:54.960Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-06-30T09:04:55.555Z] ---> 280bc548c5ca [2020-06-30T09:04:55.555Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-06-30T09:04:55.694Z] Fetching without tags [2020-06-30T09:04:54.852Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-06-30T09:04:54.929Z] > git init /w/workspace/device-sdk-c/2 # timeout=10 [2020-06-30T09:04:54.975Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-06-30T09:04:54.975Z] > git --version # timeout=10 [2020-06-30T09:04:54.982Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-30T09:04:55.009Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/275/head:refs/remotes/origin/PR-275 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-30T09:04:55.647Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-06-30T09:04:55.657Z] > git config --add remote.origin.fetch +refs/pull/275/head:refs/remotes/origin/PR-275 # timeout=10 [2020-06-30T09:04:55.670Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-30T09:04:55.686Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-06-30T09:04:55.699Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-06-30T09:04:55.699Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-30T09:04:56.096Z] Merging remotes/origin/master commit b4873c23cc909bb34276112007e0d4a5fd45beca into PR head commit 433f8bd9e2fac67d6eb6b5e6b63b7e85aaee9e7f [2020-06-30T09:04:56.156Z] ---> 43131fba8cba [2020-06-30T09:04:56.156Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-06-30T09:04:56.183Z] Merge succeeded, producing 433f8bd9e2fac67d6eb6b5e6b63b7e85aaee9e7f [2020-06-30T09:04:56.183Z] Checking out Revision 433f8bd9e2fac67d6eb6b5e6b63b7e85aaee9e7f (PR-275) [2020-06-30T09:04:56.427Z] ---> Running in 711138fee611 [2020-06-30T09:04:55.704Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/275/head:refs/remotes/origin/PR-275 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-30T09:04:56.104Z] > git config core.sparsecheckout # timeout=10 [2020-06-30T09:04:56.111Z] > git checkout -f 433f8bd9e2fac67d6eb6b5e6b63b7e85aaee9e7f # timeout=10 [2020-06-30T09:04:56.154Z] > git remote # timeout=10 [2020-06-30T09:04:56.160Z] > git config --get remote.origin.url # timeout=10 [2020-06-30T09:04:56.163Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-30T09:04:56.168Z] > git merge b4873c23cc909bb34276112007e0d4a5fd45beca # timeout=10 [2020-06-30T09:04:56.178Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-06-30T09:04:56.185Z] > git config core.sparsecheckout # timeout=10 [2020-06-30T09:04:56.189Z] > git checkout -f 433f8bd9e2fac67d6eb6b5e6b63b7e85aaee9e7f # timeout=10 [2020-06-30T09:04:57.848Z] + CPPCHECK=false [2020-06-30T09:04:57.848Z] + DOCGEN=false [2020-06-30T09:04:57.848Z] + TOMLVER=SDK-0.2 [2020-06-30T09:04:57.848Z] + CUTILVER=1.0.4 [2020-06-30T09:04:57.848Z] + '[' 0 -gt 0 ] [2020-06-30T09:04:57.848Z] + readlink -f ./scripts/build.sh [2020-06-30T09:04:57.848Z] + dirname /tmp/sdk/scripts/build.sh [2020-06-30T09:04:57.848Z] + dirname /tmp/sdk/scripts [2020-06-30T09:04:57.848Z] + ROOT=/tmp/sdk [2020-06-30T09:04:57.848Z] + cd /tmp/sdk [2020-06-30T09:04:57.848Z] + '[' '!' -d deps ] [2020-06-30T09:04:57.848Z] + mkdir deps [2020-06-30T09:04:57.848Z] + tar -C deps -z -x -f - [2020-06-30T09:04:57.848Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-06-30T09:04:57.848Z] --2020-06-30 09:04:57-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-06-30T09:04:57.848Z] Resolving github.com... 140.82.112.3 [2020-06-30T09:04:57.848Z] Connecting to github.com|140.82.112.3|:443... connected. [2020-06-30T09:04:57.848Z] HTTP request sent, awaiting response... 302 Found [2020-06-30T09:04:57.848Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-06-30T09:04:57.848Z] --2020-06-30 09:04:57-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-06-30T09:04:57.848Z] Resolving codeload.github.com... 140.82.112.10 [2020-06-30T09:04:57.848Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2020-06-30T09:04:58.117Z] HTTP request sent, awaiting response... 200 OK [2020-06-30T09:04:58.117Z] Length: unspecified [application/x-gzip] [2020-06-30T09:04:58.117Z] Saving to: 'STDOUT' [2020-06-30T09:04:58.117Z]  [2020-06-30T09:04:58.117Z] 0K .......... ......   929K=0.02s [2020-06-30T09:04:58.117Z] [2020-06-30T09:04:58.117Z] 2020-06-30 09:04:57 (929 KB/s) - written to stdout [16451] [2020-06-30T09:04:58.117Z] [2020-06-30T09:04:58.117Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-06-30T09:04:58.117Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-06-30T09:04:58.117Z] + tar -C deps -z -x -f - [2020-06-30T09:04:58.117Z] --2020-06-30 09:04:57-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-06-30T09:04:58.117Z] Resolving github.com... 140.82.112.3 [2020-06-30T09:04:58.117Z] Connecting to github.com|140.82.112.3|:443... connected. [2020-06-30T09:04:58.388Z] HTTP request sent, awaiting response... 302 Found [2020-06-30T09:04:58.388Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] [2020-06-30T09:04:58.388Z] --2020-06-30 09:04:58-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [2020-06-30T09:04:58.388Z] Resolving codeload.github.com... 140.82.112.10 [2020-06-30T09:04:58.388Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2020-06-30T09:04:58.657Z] HTTP request sent, awaiting response... 200 OK [2020-06-30T09:04:58.657Z] Length: unspecified [application/x-gzip] [2020-06-30T09:04:58.657Z] Saving to: 'STDOUT' [2020-06-30T09:04:58.657Z]  [2020-06-30T09:04:58.657Z] 0K .......... .......... .......... .......... .......... 1.31M [2020-06-30T09:04:58.657Z] 50K .......... .......... .......... .......... .......... 2.79M [2020-06-30T09:04:58.657Z] 100K .......... .......... .......... .......... .......... 7.21M [2020-06-30T09:04:58.657Z] 150K ........    15.8M=0.06s [2020-06-30T09:04:58.657Z] [2020-06-30T09:04:58.657Z] 2020-06-30 09:04:58 (2.50 MB/s) - written to stdout [162267] [2020-06-30T09:04:58.657Z] [2020-06-30T09:04:58.658Z] + mkdir -p src/c/iot [2020-06-30T09:04:58.658Z] + 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-30T09:04:58.658Z] + mkdir -p include/iot [2020-06-30T09:04:58.658Z] + 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-30T09:04:58.658Z] + mkdir -p include/iot/os [2020-06-30T09:04:58.658Z] + 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-30T09:04:58.658Z] + mkdir -p /tmp/sdk/build/release [2020-06-30T09:04:58.658Z] + cd /tmp/sdk/build/release [2020-06-30T09:04:58.658Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-06-30T09:04:58.931Z] -- The C compiler identification is GNU 8.3.0 [2020-06-30T09:04:58.931Z] -- Check for working C compiler: /usr/bin/cc [2020-06-30T09:04:59.204Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-30T09:04:59.204Z] -- Detecting C compiler ABI info [2020-06-30T09:04:59.475Z] -- Detecting C compiler ABI info - done [2020-06-30T09:04:59.475Z] -- Detecting C compile features [2020-06-30T09:04:59.911Z] Commit message: "feat: implement device endpoint for v2 REST API" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-06-30T09:05:00.445Z] -- Detecting C compile features - done [2020-06-30T09:05:00.445Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-06-30T09:05:00.445Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-06-30T09:05:00.445Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-06-30T09:05:00.445Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-06-30T09:05:00.445Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-06-30T09:05:00.445Z] -- C SDK 0.0.0 for Linux [2020-06-30T09:05:00.445Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-06-30T09:05:00.445Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-06-30T09:05:00.445Z] -- Found Curses: /usr/lib/libcurses.so [Pipeline] echo [2020-06-30T09:05:00.658Z] ========================================================= [2020-06-30T09:05:00.658Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2020-06-30T09:05:00.658Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-30T09:05:00.716Z] -- Configuring done [2020-06-30T09:05:00.987Z] -- Generating done [2020-06-30T09:05:00.987Z] -- Build files have been written to: /tmp/sdk/build/release [2020-06-30T09:05:00.987Z] + make [2020-06-30T09:05:00.987Z] + tee release.log [2020-06-30T09:05:00.987Z] Scanning dependencies of target csdk [2020-06-30T09:05:01.260Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-06-30T09:05:01.333Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-3.11-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2020-06-30T09:05:01.800Z] Sending build context to Docker daemon 3.312MB [2020-06-30T09:05:01.800Z] Step 1/21 : ARG BASE=alpine:3.11 [2020-06-30T09:05:01.800Z] Step 2/21 : FROM ${BASE} as builder [2020-06-30T09:05:01.852Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-06-30T09:05:02.065Z] latest: Pulling from edgex-devops/edgex-gcc-base [2020-06-30T09:05:02.065Z] e7c96db7181b: Pulling fs layer [2020-06-30T09:05:02.065Z] 4c13bbce0fe7: Pulling fs layer [2020-06-30T09:05:02.065Z] 6059c847ac2f: Pulling fs layer [2020-06-30T09:05:02.065Z] 4c13bbce0fe7: Verifying Checksum [2020-06-30T09:05:02.065Z] 4c13bbce0fe7: Download complete [2020-06-30T09:05:02.065Z] e7c96db7181b: Verifying Checksum [2020-06-30T09:05:02.065Z] e7c96db7181b: Download complete [2020-06-30T09:05:02.122Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-06-30T09:05:02.332Z] e7c96db7181b: Pull complete [2020-06-30T09:05:02.332Z] 4c13bbce0fe7: Pull complete [2020-06-30T09:05:03.289Z] 6059c847ac2f: Verifying Checksum [2020-06-30T09:05:03.289Z] 6059c847ac2f: Download complete [2020-06-30T09:05:04.083Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-06-30T09:05:04.354Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-06-30T09:05:04.625Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-06-30T09:05:05.595Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-06-30T09:05:07.512Z] 6059c847ac2f: Pull complete [2020-06-30T09:05:07.512Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2020-06-30T09:05:07.512Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2020-06-30T09:05:07.512Z] ---> 5eabd8fd8ba2 [2020-06-30T09:05:07.512Z] 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-30T09:05:07.557Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-06-30T09:05:08.148Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-06-30T09:05:08.739Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-06-30T09:05:08.921Z] ---> Running in 00e105ddc147 [2020-06-30T09:05:09.197Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-06-30T09:05:09.333Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-06-30T09:05:09.604Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-06-30T09:05:09.876Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-06-30T09:05:10.138Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-06-30T09:05:10.149Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-06-30T09:05:10.398Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-06-30T09:05:10.398Z] (2/8) Installing libuuid (2.33-r0) [2020-06-30T09:05:10.398Z] (3/8) Installing libblkid (2.33-r0) [2020-06-30T09:05:10.659Z] (4/8) Installing libfdisk (2.33-r0) [2020-06-30T09:05:10.659Z] (5/8) Installing libmount (2.33-r0) [2020-06-30T09:05:10.659Z] (6/8) Installing libsmartcols (2.33-r0) [2020-06-30T09:05:10.919Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-06-30T09:05:11.180Z] (8/8) Installing wget (1.20.3-r0) [2020-06-30T09:05:11.180Z] Executing busybox-1.29.3-r10.trigger [2020-06-30T09:05:11.180Z] OK: 272 MiB in 83 packages [2020-06-30T09:05:11.749Z] Removing intermediate container 00e105ddc147 [2020-06-30T09:05:11.749Z] ---> af21927f28f7 [2020-06-30T09:05:11.749Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-06-30T09:05:11.749Z] ---> Running in 6769aafa5ca0 [2020-06-30T09:05:12.013Z] Removing intermediate container 6769aafa5ca0 [2020-06-30T09:05:12.013Z] ---> ea0836bd68da [2020-06-30T09:05:12.013Z] 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-30T09:05:12.013Z] ---> Running in c056165c1942 [2020-06-30T09:05:12.957Z] --2020-06-30 09:05:12-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-06-30T09:05:12.957Z] Resolving github.com... 140.82.112.3 [2020-06-30T09:05:12.957Z] Connecting to github.com|140.82.112.3|:443... connected. [2020-06-30T09:05:12.957Z] HTTP request sent, awaiting response... 302 Found [2020-06-30T09:05:12.957Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-06-30T09:05:12.957Z] --2020-06-30 09:05:12-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-06-30T09:05:12.957Z] Resolving codeload.github.com... 140.82.112.10 [2020-06-30T09:05:12.957Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2020-06-30T09:05:12.957Z] HTTP request sent, awaiting response... 200 OK [2020-06-30T09:05:12.957Z] Length: unspecified [application/x-gzip] [2020-06-30T09:05:12.957Z] Saving to: 'STDOUT' [2020-06-30T09:05:12.957Z]  [2020-06-30T09:05:12.957Z] 0K .......... .......... .......... .......... .......... 1.62M [2020-06-30T09:05:12.957Z] 50K .......... .......... .......... .......... .......... 3.71M [2020-06-30T09:05:12.957Z] 100K .......... .......... .......... .......... .......... 15.7M [2020-06-30T09:05:12.957Z] 150K .......... .......... .......... .......... .......... 4.21M [2020-06-30T09:05:12.957Z] 200K .......... .......... .......... .......... .......... 15.6M [2020-06-30T09:05:12.957Z] 250K .......... .......... .......... .......... .......... 13.6M [2020-06-30T09:05:12.957Z] 300K .......... .......... .......... .......... .......... 6.04M [2020-06-30T09:05:12.957Z] 350K .......... .......... .......... .......... .......... 8.76M [2020-06-30T09:05:12.957Z] 400K .......... .......... .......... .......... .......... 6.23M [2020-06-30T09:05:12.957Z] 450K .......... .......... .......... .......... .......... 9.32M [2020-06-30T09:05:12.957Z] 500K .......... .......... .......... .......... .......... 23.5M [2020-06-30T09:05:12.957Z] 550K .......... .......... .......... .......... .......... 4.68M [2020-06-30T09:05:12.957Z] 600K .......... .......... .......... .......... .......... 2.24M [2020-06-30T09:05:13.218Z] 650K .......... .......... .......... .......... .......... 5.20M [2020-06-30T09:05:13.218Z] 700K ..  949K=0.1s [2020-06-30T09:05:13.218Z] [2020-06-30T09:05:13.218Z] 2020-06-30 09:05:12 (4.98 MB/s) - written to stdout [719348] [2020-06-30T09:05:13.218Z] [2020-06-30T09:05:13.218Z] -- The C compiler identification is GNU 8.3.0 [2020-06-30T09:05:13.218Z] -- The CXX compiler identification is GNU 8.3.0 [2020-06-30T09:05:13.218Z] -- Check for working C compiler: /usr/bin/cc [2020-06-30T09:05:13.478Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-30T09:05:13.478Z] -- Detecting C compiler ABI info [2020-06-30T09:05:13.478Z] -- Detecting C compiler ABI info - done [2020-06-30T09:05:13.478Z] -- Detecting C compile features [2020-06-30T09:05:13.567Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-06-30T09:05:13.739Z] -- Detecting C compile features - done [2020-06-30T09:05:13.739Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-06-30T09:05:13.739Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-06-30T09:05:13.739Z] -- Detecting CXX compiler ABI info [2020-06-30T09:05:13.739Z] -- Detecting CXX compiler ABI info - done [2020-06-30T09:05:13.739Z] -- Detecting CXX compile features [2020-06-30T09:05:13.841Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-06-30T09:05:14.313Z] -- Detecting CXX compile features - done [2020-06-30T09:05:14.313Z] -- Looking for include file endian.h [2020-06-30T09:05:14.313Z] -- Looking for include file endian.h - found [2020-06-30T09:05:14.313Z] -- Check if the system is big endian [2020-06-30T09:05:14.313Z] -- Searching 16 bit integer [2020-06-30T09:05:14.313Z] -- Looking for sys/types.h [2020-06-30T09:05:14.436Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-06-30T09:05:14.573Z] -- Looking for sys/types.h - found [2020-06-30T09:05:14.573Z] -- Looking for stdint.h [2020-06-30T09:05:14.573Z] -- Looking for stdint.h - found [2020-06-30T09:05:14.573Z] -- Looking for stddef.h [2020-06-30T09:05:14.573Z] -- Looking for stddef.h - found [2020-06-30T09:05:14.573Z] -- Check size of unsigned short [2020-06-30T09:05:14.573Z] -- Check size of unsigned short - done [2020-06-30T09:05:14.573Z] -- Using unsigned short [2020-06-30T09:05:14.834Z] -- Check if the system is big endian - little endian [2020-06-30T09:05:14.834Z] -- Check size of size_t [2020-06-30T09:05:14.834Z] -- Check size of size_t - done [2020-06-30T09:05:14.834Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-06-30T09:05:14.834Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-06-30T09:05:14.834Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-06-30T09:05:14.834Z] CMake did not find one. [2020-06-30T09:05:14.834Z] [2020-06-30T09:05:14.834Z] Could not find a package configuration file provided by "cJSON" with any of [2020-06-30T09:05:14.834Z] the following names: [2020-06-30T09:05:14.834Z] [2020-06-30T09:05:14.834Z] cJSONConfig.cmake [2020-06-30T09:05:14.834Z] cjson-config.cmake [2020-06-30T09:05:14.834Z] [2020-06-30T09:05:14.834Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-06-30T09:05:14.834Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-06-30T09:05:14.834Z] provides a separate development package or SDK, be sure it has been [2020-06-30T09:05:14.834Z] installed. [2020-06-30T09:05:14.834Z] [2020-06-30T09:05:14.834Z] [2020-06-30T09:05:14.834Z] -- Configuring done [2020-06-30T09:05:14.834Z] -- Generating done [2020-06-30T09:05:14.834Z] -- Build files have been written to: /tmp/cbor [2020-06-30T09:05:15.030Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-06-30T09:05:15.094Z] Scanning dependencies of target cbor_shared [2020-06-30T09:05:15.094Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-06-30T09:05:15.094Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-06-30T09:05:15.354Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-06-30T09:05:15.354Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-06-30T09:05:15.614Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-06-30T09:05:15.614Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-06-30T09:05:15.614Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-06-30T09:05:15.614Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-06-30T09:05:15.875Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-06-30T09:05:15.875Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-06-30T09:05:16.140Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-06-30T09:05:16.140Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-06-30T09:05:16.140Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-06-30T09:05:16.402Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-06-30T09:05:16.402Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-06-30T09:05:16.402Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-06-30T09:05:16.402Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-06-30T09:05:16.663Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-06-30T09:05:16.663Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-06-30T09:05:16.663Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-06-30T09:05:16.663Z] [ 40%] Linking C shared library libcbor.so [2020-06-30T09:05:16.923Z] [ 40%] Built target cbor_shared [2020-06-30T09:05:16.923Z] Scanning dependencies of target cbor [2020-06-30T09:05:16.923Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-06-30T09:05:16.923Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-06-30T09:05:16.989Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-06-30T09:05:17.184Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-06-30T09:05:17.184Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-06-30T09:05:17.260Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-06-30T09:05:17.444Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-06-30T09:05:17.444Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-06-30T09:05:17.532Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-06-30T09:05:17.704Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-06-30T09:05:17.704Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-06-30T09:05:17.704Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-06-30T09:05:17.967Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-06-30T09:05:17.967Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-06-30T09:05:17.967Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-06-30T09:05:18.121Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-06-30T09:05:18.227Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-06-30T09:05:18.227Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-06-30T09:05:18.392Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-06-30T09:05:18.488Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-06-30T09:05:18.488Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-06-30T09:05:18.488Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-06-30T09:05:18.488Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-06-30T09:05:18.663Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-06-30T09:05:18.749Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-06-30T09:05:18.749Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-06-30T09:05:18.749Z] [ 80%] Linking C static library libcbor.a [2020-06-30T09:05:18.749Z] [ 80%] Built target cbor [2020-06-30T09:05:18.749Z] Scanning dependencies of target create_items [2020-06-30T09:05:18.749Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-06-30T09:05:18.749Z] [ 84%] Linking C executable create_items [2020-06-30T09:05:19.009Z] [ 84%] Built target create_items [2020-06-30T09:05:19.009Z] Scanning dependencies of target readfile [2020-06-30T09:05:19.009Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-06-30T09:05:19.009Z] [ 88%] Linking C executable readfile [2020-06-30T09:05:19.009Z] [ 88%] Built target readfile [2020-06-30T09:05:19.009Z] Scanning dependencies of target streaming_parser [2020-06-30T09:05:19.009Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-06-30T09:05:19.009Z] [ 92%] Linking C executable streaming_parser [2020-06-30T09:05:19.009Z] [ 92%] Built target streaming_parser [2020-06-30T09:05:19.009Z] Scanning dependencies of target sort [2020-06-30T09:05:19.009Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-06-30T09:05:19.270Z] [ 96%] Linking C executable sort [2020-06-30T09:05:19.270Z] [ 96%] Built target sort [2020-06-30T09:05:19.270Z] Scanning dependencies of target hello [2020-06-30T09:05:19.270Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-06-30T09:05:19.270Z] [100%] Linking C executable hello [2020-06-30T09:05:19.270Z] [100%] Built target hello [2020-06-30T09:05:19.270Z] Install the project... [2020-06-30T09:05:19.270Z] -- Install configuration: "Release" [2020-06-30T09:05:19.270Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-06-30T09:05:19.270Z] -- Installing: /usr/local/lib64/libcbor.a [2020-06-30T09:05:19.270Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-06-30T09:05:19.270Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-06-30T09:05:19.270Z] -- Installing: /usr/local/lib64/libcbor.so [2020-06-30T09:05:19.270Z] -- Up-to-date: /usr/local/include/cbor [2020-06-30T09:05:19.270Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-06-30T09:05:19.270Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-06-30T09:05:19.270Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-06-30T09:05:19.270Z] -- Installing: /usr/local/include/cbor/common.h [2020-06-30T09:05:19.270Z] -- Installing: /usr/local/include/cbor/data.h [2020-06-30T09:05:19.270Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-06-30T09:05:19.270Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-06-30T09:05:19.270Z] -- Installing: /usr/local/include/cbor/internal [2020-06-30T09:05:19.270Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-06-30T09:05:19.270Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-06-30T09:05:19.271Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-06-30T09:05:19.271Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-06-30T09:05:19.271Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-06-30T09:05:19.271Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-06-30T09:05:19.271Z] -- Installing: /usr/local/include/cbor/ints.h [2020-06-30T09:05:19.271Z] -- Installing: /usr/local/include/cbor/maps.h [2020-06-30T09:05:19.271Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-06-30T09:05:19.271Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-06-30T09:05:19.271Z] -- Installing: /usr/local/include/cbor/strings.h [2020-06-30T09:05:19.271Z] -- Installing: /usr/local/include/cbor/tags.h [2020-06-30T09:05:19.271Z] -- Installing: /usr/local/include/cbor.h [2020-06-30T09:05:19.271Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-06-30T09:05:19.634Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-06-30T09:05:19.634Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-06-30T09:05:20.227Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-06-30T09:05:20.502Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-06-30T09:05:21.091Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-06-30T09:05:21.823Z] Removing intermediate container c056165c1942 [2020-06-30T09:05:21.823Z] ---> 34e0cdb099f8 [2020-06-30T09:05:21.823Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-06-30T09:05:21.823Z] ---> Running in a0b8c9872e6e [2020-06-30T09:05:22.059Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-06-30T09:05:22.059Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-06-30T09:05:22.396Z] Removing intermediate container a0b8c9872e6e [2020-06-30T09:05:22.396Z] ---> 5784dfbf25c0 [2020-06-30T09:05:22.396Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-06-30T09:05:22.656Z] ---> b8a27cc381ad [2020-06-30T09:05:22.656Z] Step 8/21 : COPY src /tmp/sdk/src [2020-06-30T09:05:23.228Z] ---> a33752ec7d62 [2020-06-30T09:05:23.228Z] Step 9/21 : COPY include /tmp/sdk/include [2020-06-30T09:05:23.495Z] ---> d5f40364a202 [2020-06-30T09:05:23.495Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-06-30T09:05:23.755Z] ---> d8f254087943 [2020-06-30T09:05:23.755Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-06-30T09:05:24.016Z] ---> d4c36479c1a4 [2020-06-30T09:05:24.016Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-06-30T09:05:24.279Z] ---> aa85568073a1 [2020-06-30T09:05:24.279Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-06-30T09:05:24.279Z] ---> Running in 36a083bc85f2 [2020-06-30T09:05:24.849Z] + CPPCHECK=false [2020-06-30T09:05:24.849Z] + DOCGEN=false [2020-06-30T09:05:24.849Z] + TOMLVER=SDK-0.2 [2020-06-30T09:05:24.849Z] + CUTILVER=1.0.4 [2020-06-30T09:05:24.849Z] + '[' 0 -gt 0 ] [2020-06-30T09:05:24.849Z] + readlink -f ./scripts/build.sh [2020-06-30T09:05:24.849Z] + dirname /tmp/sdk/scripts/build.sh [2020-06-30T09:05:24.849Z] + dirname /tmp/sdk/scripts [2020-06-30T09:05:24.849Z] + ROOT=/tmp/sdk [2020-06-30T09:05:24.849Z] + cd /tmp/sdk [2020-06-30T09:05:24.849Z] + '[' '!' -d deps ] [2020-06-30T09:05:24.849Z] + mkdir deps [2020-06-30T09:05:24.849Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-06-30T09:05:24.849Z] + tar -C deps -z -x -f - [2020-06-30T09:05:24.849Z] --2020-06-30 09:05:24-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-06-30T09:05:24.849Z] Resolving github.com... 140.82.112.3 [2020-06-30T09:05:24.849Z] Connecting to github.com|140.82.112.3|:443... connected. [2020-06-30T09:05:25.110Z] HTTP request sent, awaiting response... 302 Found [2020-06-30T09:05:25.110Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-06-30T09:05:25.110Z] --2020-06-30 09:05:24-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-06-30T09:05:25.110Z] Resolving codeload.github.com... 140.82.112.10 [2020-06-30T09:05:25.110Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2020-06-30T09:05:25.110Z] HTTP request sent, awaiting response... 200 OK [2020-06-30T09:05:25.110Z] Length: unspecified [application/x-gzip] [2020-06-30T09:05:25.111Z] Saving to: 'STDOUT' [2020-06-30T09:05:25.111Z] [2020-06-30T09:05:25.111Z] 0K .......... ......  1.06M=0.01s [2020-06-30T09:05:25.111Z] [2020-06-30T09:05:25.111Z] 2020-06-30 09:05:24 (1.06 MB/s) - written to stdout [16451] [2020-06-30T09:05:25.111Z] [2020-06-30T09:05:25.111Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-06-30T09:05:25.111Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-06-30T09:05:25.111Z] + tar -C deps -z -x -f - [2020-06-30T09:05:25.111Z] --2020-06-30 09:05:24-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-06-30T09:05:25.111Z] Resolving github.com... 140.82.112.3 [2020-06-30T09:05:25.111Z] Connecting to github.com|140.82.112.3|:443... connected. [2020-06-30T09:05:25.111Z] HTTP request sent, awaiting response... 302 Found [2020-06-30T09:05:25.111Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] [2020-06-30T09:05:25.111Z] --2020-06-30 09:05:25-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [2020-06-30T09:05:25.111Z] Resolving codeload.github.com... 140.82.112.9 [2020-06-30T09:05:25.374Z] Connecting to codeload.github.com|140.82.112.9|:443... connected. [2020-06-30T09:05:25.374Z] HTTP request sent, awaiting response... 200 OK [2020-06-30T09:05:25.374Z] Length: unspecified [application/x-gzip] [2020-06-30T09:05:25.374Z] Saving to: 'STDOUT' [2020-06-30T09:05:25.374Z] [2020-06-30T09:05:25.374Z] 0K .......... .......... .......... .......... .......... 1.66M [2020-06-30T09:05:25.374Z] 50K .......... .......... .......... .......... .......... 9.80M [2020-06-30T09:05:25.374Z] 100K .......... .......... .......... .......... .......... 4.56M [2020-06-30T09:05:25.374Z] 150K ........ 50.4M=0.05s [2020-06-30T09:05:25.374Z] [2020-06-30T09:05:25.374Z] 2020-06-30 09:05:25 (3.41 MB/s) - written to stdout [162267] [2020-06-30T09:05:25.374Z] [2020-06-30T09:05:25.374Z] + mkdir -p src/c/iot [2020-06-30T09:05:25.374Z] + cp deps/iotech-c-utils-1.0.4/src/c/base64.c deps/iotech-c-utils-1.0.4/src/c/component.c deps/iotech-c-utils-1.0.4/src/c/container.c deps/iotech-c-utils-1.0.4/src/c/data.c deps/iotech-c-utils-1.0.4/src/c/hash.c deps/iotech-c-utils-1.0.4/src/c/iot.c deps/iotech-c-utils-1.0.4/src/c/json.c deps/iotech-c-utils-1.0.4/src/c/logger.c deps/iotech-c-utils-1.0.4/src/c/os.c deps/iotech-c-utils-1.0.4/src/c/scheduler.c deps/iotech-c-utils-1.0.4/src/c/thread.c deps/iotech-c-utils-1.0.4/src/c/threadpool.c deps/iotech-c-utils-1.0.4/src/c/time.c src/c/iot [2020-06-30T09:05:25.374Z] + mkdir -p include/iot [2020-06-30T09:05:25.374Z] + cp deps/iotech-c-utils-1.0.4/include/iot/base64.h deps/iotech-c-utils-1.0.4/include/iot/component.h deps/iotech-c-utils-1.0.4/include/iot/container.h deps/iotech-c-utils-1.0.4/include/iot/data.h deps/iotech-c-utils-1.0.4/include/iot/hash.h deps/iotech-c-utils-1.0.4/include/iot/iot.h deps/iotech-c-utils-1.0.4/include/iot/json.h deps/iotech-c-utils-1.0.4/include/iot/logger.h deps/iotech-c-utils-1.0.4/include/iot/os.h deps/iotech-c-utils-1.0.4/include/iot/scheduler.h deps/iotech-c-utils-1.0.4/include/iot/thread.h deps/iotech-c-utils-1.0.4/include/iot/threadpool.h deps/iotech-c-utils-1.0.4/include/iot/time.h deps/iotech-c-utils-1.0.4/include/iot/typecode.h include/iot [2020-06-30T09:05:25.374Z] + mkdir -p include/iot/os [2020-06-30T09:05:25.374Z] + cp deps/iotech-c-utils-1.0.4/include/iot/os/linux.h deps/iotech-c-utils-1.0.4/include/iot/os/zephyr.h include/iot/os [2020-06-30T09:05:25.374Z] + mkdir -p /tmp/sdk/build/release [2020-06-30T09:05:25.374Z] + cd /tmp/sdk/build/release [2020-06-30T09:05:25.374Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-06-30T09:05:25.374Z] -- The C compiler identification is GNU 8.3.0 [2020-06-30T09:05:25.374Z] -- Check for working C compiler: /usr/bin/cc [2020-06-30T09:05:25.634Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-30T09:05:25.634Z] -- Detecting C compiler ABI info [2020-06-30T09:05:25.634Z] -- Detecting C compiler ABI info - done [2020-06-30T09:05:25.634Z] -- Detecting C compile features [2020-06-30T09:05:25.895Z] -- Detecting C compile features - done [2020-06-30T09:05:25.895Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-06-30T09:05:25.895Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-06-30T09:05:25.895Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-06-30T09:05:25.895Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-06-30T09:05:25.895Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-06-30T09:05:25.895Z] -- C SDK 0.0.0 for Linux [2020-06-30T09:05:25.895Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-06-30T09:05:25.895Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-06-30T09:05:25.895Z] -- Found Curses: /usr/lib/libcurses.so [2020-06-30T09:05:25.895Z] -- Configuring done [2020-06-30T09:05:26.157Z] -- Generating done [2020-06-30T09:05:26.157Z] -- Build files have been written to: /tmp/sdk/build/release [2020-06-30T09:05:26.157Z] + make [2020-06-30T09:05:26.157Z] + tee release.log [2020-06-30T09:05:26.157Z] Scanning dependencies of target csdk [2020-06-30T09:05:26.157Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-06-30T09:05:26.331Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-06-30T09:05:26.419Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-06-30T09:05:26.419Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-06-30T09:05:26.602Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-06-30T09:05:26.989Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-06-30T09:05:26.989Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-06-30T09:05:26.989Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-06-30T09:05:27.191Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-06-30T09:05:27.249Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-06-30T09:05:27.798Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-06-30T09:05:27.825Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-06-30T09:05:27.825Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-06-30T09:05:28.086Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-06-30T09:05:28.346Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-06-30T09:05:28.346Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-06-30T09:05:28.346Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-06-30T09:05:28.346Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-06-30T09:05:29.225Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-06-30T09:05:29.289Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-06-30T09:05:29.289Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-06-30T09:05:29.549Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-06-30T09:05:29.549Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-06-30T09:05:30.122Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-06-30T09:05:30.122Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-06-30T09:05:30.382Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-06-30T09:05:30.382Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-06-30T09:05:30.642Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-06-30T09:05:30.642Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-06-30T09:05:30.647Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-06-30T09:05:30.901Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-06-30T09:05:30.901Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-06-30T09:05:31.161Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-06-30T09:05:31.161Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-06-30T09:05:31.161Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-06-30T09:05:31.421Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-06-30T09:05:31.680Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-06-30T09:05:32.618Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-06-30T09:05:32.877Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-06-30T09:05:32.877Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-06-30T09:05:33.137Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-06-30T09:05:33.398Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-06-30T09:05:33.968Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-06-30T09:05:34.012Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-06-30T09:05:34.601Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-06-30T09:05:34.908Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-06-30T09:05:34.908Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-06-30T09:05:35.171Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-06-30T09:05:35.171Z] [ 74%] Linking C shared library libcsdk.so [2020-06-30T09:05:35.432Z] [ 74%] Built target csdk [2020-06-30T09:05:35.432Z] Scanning dependencies of target template [2020-06-30T09:05:35.432Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-06-30T09:05:35.432Z] [ 78%] Linking C executable template [2020-06-30T09:05:35.692Z] [ 78%] Built target template [2020-06-30T09:05:35.692Z] Scanning dependencies of target device-counter [2020-06-30T09:05:35.692Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-06-30T09:05:35.692Z] [ 81%] Linking C executable device-counter [2020-06-30T09:05:35.692Z] [ 81%] Built target device-counter [2020-06-30T09:05:35.692Z] Scanning dependencies of target device-random [2020-06-30T09:05:35.692Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-06-30T09:05:35.952Z] [ 85%] Linking C executable device-random [2020-06-30T09:05:35.952Z] [ 85%] Built target device-random [2020-06-30T09:05:35.952Z] Scanning dependencies of target device-gyro [2020-06-30T09:05:35.952Z] [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-06-30T09:05:36.024Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-06-30T09:05:36.212Z] [ 89%] Linking C executable device-gyro [2020-06-30T09:05:36.212Z] [ 89%] Built target device-gyro [2020-06-30T09:05:36.212Z] Scanning dependencies of target template-discovery [2020-06-30T09:05:36.212Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-06-30T09:05:36.297Z] [ 74%] Linking C shared library libcsdk.so [2020-06-30T09:05:36.297Z] [ 74%] Built target csdk [2020-06-30T09:05:36.297Z] Scanning dependencies of target template [2020-06-30T09:05:36.297Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-06-30T09:05:36.472Z] [ 92%] Linking C executable template-discovery [2020-06-30T09:05:36.472Z] [ 92%] Built target template-discovery [2020-06-30T09:05:36.472Z] Scanning dependencies of target device-terminal [2020-06-30T09:05:36.472Z] [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-06-30T09:05:36.472Z] [ 96%] Linking C executable device-terminal [2020-06-30T09:05:36.732Z] [ 96%] Built target device-terminal [2020-06-30T09:05:36.732Z] Scanning dependencies of target templatev1 [2020-06-30T09:05:36.732Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-06-30T09:05:36.732Z] [100%] Linking C executable templatev1 [2020-06-30T09:05:36.887Z] [ 78%] Linking C executable template [2020-06-30T09:05:36.993Z] [100%] Built target templatev1 [2020-06-30T09:05:36.993Z] + make package [2020-06-30T09:05:36.993Z] + tee -a release.log [2020-06-30T09:05:36.993Z] [ 74%] Built target csdk [2020-06-30T09:05:36.993Z] [ 78%] Built target template [2020-06-30T09:05:36.993Z] [ 81%] Built target device-counter [2020-06-30T09:05:36.993Z] [ 85%] Built target device-random [2020-06-30T09:05:36.993Z] [ 89%] Built target device-gyro [2020-06-30T09:05:36.993Z] [ 92%] Built target template-discovery [2020-06-30T09:05:36.993Z] [ 96%] Built target device-terminal [2020-06-30T09:05:36.993Z] [100%] Built target templatev1 [2020-06-30T09:05:36.993Z] Run CPack packaging tool... [2020-06-30T09:05:36.993Z] CPack: Create package using TGZ [2020-06-30T09:05:36.993Z] CPack: Install projects [2020-06-30T09:05:36.993Z] CPack: - Run preinstall target for: Csdk [2020-06-30T09:05:37.158Z] [ 78%] Built target template [2020-06-30T09:05:37.158Z] Scanning dependencies of target device-counter [2020-06-30T09:05:37.158Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-06-30T09:05:37.253Z] CPack: - Install project: Csdk [2020-06-30T09:05:37.253Z] CPack: Create package [2020-06-30T09:05:37.253Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2020-06-30T09:05:37.253Z] + '[' false '=' true ] [2020-06-30T09:05:37.253Z] + '[' false '=' true ] [2020-06-30T09:05:37.253Z] + mkdir -p /tmp/sdk/build/debug [2020-06-30T09:05:37.253Z] + cd /tmp/sdk/build/debug [2020-06-30T09:05:37.253Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-06-30T09:05:37.513Z] -- The C compiler identification is GNU 8.3.0 [2020-06-30T09:05:37.513Z] -- Check for working C compiler: /usr/bin/cc [2020-06-30T09:05:37.513Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-30T09:05:37.513Z] -- Detecting C compiler ABI info [2020-06-30T09:05:37.513Z] -- Detecting C compiler ABI info - done [2020-06-30T09:05:37.513Z] -- Detecting C compile features [2020-06-30T09:05:37.749Z] [ 81%] Linking C executable device-counter [2020-06-30T09:05:37.780Z] -- Detecting C compile features - done [2020-06-30T09:05:37.780Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-06-30T09:05:37.780Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-06-30T09:05:37.780Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-06-30T09:05:37.780Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-06-30T09:05:37.780Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-06-30T09:05:37.780Z] -- C SDK 0.0.0 for Linux [2020-06-30T09:05:37.780Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-06-30T09:05:38.021Z] [ 81%] Built target device-counter [2020-06-30T09:05:38.021Z] Scanning dependencies of target device-random [2020-06-30T09:05:38.021Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-06-30T09:05:38.045Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-06-30T09:05:38.045Z] -- Found Curses: /usr/lib/libcurses.so [2020-06-30T09:05:38.045Z] -- Configuring done [2020-06-30T09:05:38.045Z] -- Generating done [2020-06-30T09:05:38.045Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-06-30T09:05:38.045Z] + make [2020-06-30T09:05:38.045Z] + tee debug.log [2020-06-30T09:05:38.045Z] Scanning dependencies of target csdk [2020-06-30T09:05:38.045Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-06-30T09:05:38.291Z] [ 85%] Linking C executable device-random [2020-06-30T09:05:38.305Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-06-30T09:05:38.305Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-06-30T09:05:38.305Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-06-30T09:05:38.562Z] [ 85%] Built target device-random [2020-06-30T09:05:38.562Z] Scanning dependencies of target device-gyro [2020-06-30T09:05:38.562Z] [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-06-30T09:05:38.565Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-06-30T09:05:38.565Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-06-30T09:05:38.565Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-06-30T09:05:38.825Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-06-30T09:05:38.825Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-06-30T09:05:39.085Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-06-30T09:05:39.085Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-06-30T09:05:39.085Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-06-30T09:05:39.156Z] [ 89%] Linking C executable device-gyro [2020-06-30T09:05:39.156Z] [ 89%] Built target device-gyro [2020-06-30T09:05:39.156Z] Scanning dependencies of target template-discovery [2020-06-30T09:05:39.344Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-06-30T09:05:39.344Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-06-30T09:05:39.425Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-06-30T09:05:39.604Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-06-30T09:05:39.604Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-06-30T09:05:39.604Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-06-30T09:05:39.863Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-06-30T09:05:39.863Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-06-30T09:05:39.863Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-06-30T09:05:40.014Z] [ 92%] Linking C executable template-discovery [2020-06-30T09:05:40.014Z] [ 92%] Built target template-discovery [2020-06-30T09:05:40.123Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-06-30T09:05:40.123Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-06-30T09:05:40.123Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-06-30T09:05:40.123Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-06-30T09:05:40.284Z] Scanning dependencies of target device-terminal [2020-06-30T09:05:40.284Z] [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-06-30T09:05:40.383Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-06-30T09:05:40.383Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-06-30T09:05:40.383Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-06-30T09:05:40.383Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-06-30T09:05:40.555Z] [ 96%] Linking C executable device-terminal [2020-06-30T09:05:40.643Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-06-30T09:05:40.643Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-06-30T09:05:40.643Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-06-30T09:05:40.828Z] [ 96%] Built target device-terminal [2020-06-30T09:05:40.828Z] Scanning dependencies of target templatev1 [2020-06-30T09:05:40.828Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-06-30T09:05:40.903Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-06-30T09:05:41.162Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-06-30T09:05:41.162Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-06-30T09:05:41.162Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-06-30T09:05:41.419Z] [100%] Linking C executable templatev1 [2020-06-30T09:05:41.421Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-06-30T09:05:41.681Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-06-30T09:05:41.689Z] [100%] Built target templatev1 [2020-06-30T09:05:41.689Z] + make package [2020-06-30T09:05:41.689Z] + tee -a release.log [2020-06-30T09:05:41.942Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-06-30T09:05:41.942Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-06-30T09:05:41.942Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-06-30T09:05:41.961Z] [ 74%] Built target csdk [2020-06-30T09:05:41.961Z] [ 78%] Built target template [2020-06-30T09:05:41.961Z] [ 81%] Built target device-counter [2020-06-30T09:05:41.961Z] [ 85%] Built target device-random [2020-06-30T09:05:41.961Z] [ 89%] Built target device-gyro [2020-06-30T09:05:41.961Z] [ 92%] Built target template-discovery [2020-06-30T09:05:42.211Z] [ 74%] Linking C shared library libcsdk.so [2020-06-30T09:05:42.211Z] [ 74%] Built target csdk [2020-06-30T09:05:42.211Z] Scanning dependencies of target template [2020-06-30T09:05:42.211Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-06-30T09:05:42.211Z] [ 78%] Linking C executable template [2020-06-30T09:05:42.211Z] [ 78%] Built target template [2020-06-30T09:05:42.211Z] Scanning dependencies of target device-counter [2020-06-30T09:05:42.211Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-06-30T09:05:42.232Z] [ 96%] Built target device-terminal [2020-06-30T09:05:42.232Z] [100%] Built target templatev1 [2020-06-30T09:05:42.232Z] Run CPack packaging tool... [2020-06-30T09:05:42.232Z] CPack: Create package using TGZ [2020-06-30T09:05:42.232Z] CPack: Install projects [2020-06-30T09:05:42.232Z] CPack: - Run preinstall target for: Csdk [2020-06-30T09:05:42.470Z] [ 81%] Linking C executable device-counter [2020-06-30T09:05:42.471Z] [ 81%] Built target device-counter [2020-06-30T09:05:42.471Z] Scanning dependencies of target device-random [2020-06-30T09:05:42.471Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-06-30T09:05:42.471Z] [ 85%] Linking C executable device-random [2020-06-30T09:05:42.731Z] [ 85%] Built target device-random [2020-06-30T09:05:42.731Z] Scanning dependencies of target device-gyro [2020-06-30T09:05:42.731Z] [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-06-30T09:05:42.731Z] [ 89%] Linking C executable device-gyro [2020-06-30T09:05:42.731Z] [ 89%] Built target device-gyro [2020-06-30T09:05:42.731Z] Scanning dependencies of target template-discovery [2020-06-30T09:05:42.731Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-06-30T09:05:42.822Z] CPack: - Install project: Csdk [2020-06-30T09:05:42.822Z] CPack: Create package [2020-06-30T09:05:42.822Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2020-06-30T09:05:42.822Z] + '[' false '=' true ] [2020-06-30T09:05:42.822Z] + '[' false '=' true ] [2020-06-30T09:05:42.822Z] + mkdir -p /tmp/sdk/build/debug [2020-06-30T09:05:42.822Z] + cd /tmp/sdk/build/debug [2020-06-30T09:05:42.822Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-06-30T09:05:42.991Z] [ 92%] Linking C executable template-discovery [2020-06-30T09:05:42.991Z] [ 92%] Built target template-discovery [2020-06-30T09:05:42.991Z] Scanning dependencies of target device-terminal [2020-06-30T09:05:42.991Z] [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-06-30T09:05:42.991Z] [ 96%] Linking C executable device-terminal [2020-06-30T09:05:42.991Z] [ 96%] Built target device-terminal [2020-06-30T09:05:42.991Z] Scanning dependencies of target templatev1 [2020-06-30T09:05:42.991Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-06-30T09:05:43.092Z] -- The C compiler identification is GNU 8.3.0 [2020-06-30T09:05:43.092Z] -- Check for working C compiler: /usr/bin/cc [2020-06-30T09:05:43.252Z] [100%] Linking C executable templatev1 [2020-06-30T09:05:43.252Z] [100%] Built target templatev1 [2020-06-30T09:05:43.252Z] make: Entering directory '/tmp/sdk/build/release' [2020-06-30T09:05:43.252Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-06-30T09:05:43.252Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-30T09:05:43.252Z] Scanning dependencies of target csdk [2020-06-30T09:05:43.252Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-30T09:05:43.252Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-30T09:05:43.252Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-06-30T09:05:43.363Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-30T09:05:43.363Z] -- Detecting C compiler ABI info [2020-06-30T09:05:43.635Z] -- Detecting C compiler ABI info - done [2020-06-30T09:05:43.635Z] -- Detecting C compile features [2020-06-30T09:05:43.823Z] [ 3%] Linking C shared library libcsdk.so [2020-06-30T09:05:43.823Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-30T09:05:43.823Z] [ 74%] Built target csdk [2020-06-30T09:05:43.823Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-30T09:05:43.823Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-30T09:05:43.823Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-30T09:05:43.823Z] [ 76%] Linking C executable template [2020-06-30T09:05:43.823Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-30T09:05:43.823Z] [ 78%] Built target template [2020-06-30T09:05:43.823Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-30T09:05:43.823Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-30T09:05:43.823Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-30T09:05:43.823Z] [ 80%] Linking C executable device-counter [2020-06-30T09:05:44.083Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-30T09:05:44.083Z] [ 81%] Built target device-counter [2020-06-30T09:05:44.083Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-30T09:05:44.083Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-30T09:05:44.083Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-30T09:05:44.083Z] [ 83%] Linking C executable device-random [2020-06-30T09:05:44.083Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-30T09:05:44.083Z] [ 85%] Built target device-random [2020-06-30T09:05:44.083Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-30T09:05:44.083Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-30T09:05:44.083Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-30T09:05:44.083Z] [ 87%] Linking C executable device-gyro [2020-06-30T09:05:44.083Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-30T09:05:44.083Z] [ 89%] Built target device-gyro [2020-06-30T09:05:44.083Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-30T09:05:44.083Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-30T09:05:44.083Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-30T09:05:44.083Z] [ 90%] Linking C executable template-discovery [2020-06-30T09:05:44.343Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-30T09:05:44.343Z] [ 92%] Built target template-discovery [2020-06-30T09:05:44.343Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-30T09:05:44.343Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-30T09:05:44.343Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-30T09:05:44.343Z] [ 94%] Linking C executable device-terminal [2020-06-30T09:05:44.343Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-30T09:05:44.343Z] [ 96%] Built target device-terminal [2020-06-30T09:05:44.343Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-30T09:05:44.343Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-30T09:05:44.343Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-30T09:05:44.343Z] [ 98%] Linking C executable templatev1 [2020-06-30T09:05:44.343Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-30T09:05:44.343Z] [100%] Built target templatev1 [2020-06-30T09:05:44.343Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-06-30T09:05:44.343Z] Install the project... [2020-06-30T09:05:44.343Z] -- Install configuration: "Release" [2020-06-30T09:05:44.343Z] -- Installing: /usr/local/lib/libcsdk.so [2020-06-30T09:05:44.343Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-06-30T09:05:44.343Z] -- Up-to-date: /usr/local/include [2020-06-30T09:05:44.343Z] -- Installing: /usr/local/include/devsdk [2020-06-30T09:05:44.343Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-06-30T09:05:44.343Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-06-30T09:05:44.343Z] -- Installing: /usr/local/include/edgex [2020-06-30T09:05:44.343Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-06-30T09:05:44.343Z] -- Installing: /usr/local/include/edgex/devices.h [2020-06-30T09:05:44.343Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-06-30T09:05:44.343Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-06-30T09:05:44.343Z] -- Installing: /usr/local/include/edgex/edgex-logging.h [2020-06-30T09:05:44.343Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-06-30T09:05:44.343Z] -- Installing: /usr/local/include/edgex/error.h [2020-06-30T09:05:44.343Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-06-30T09:05:44.343Z] -- Installing: /usr/local/include/edgex/os.h [2020-06-30T09:05:44.343Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-06-30T09:05:44.343Z] -- Installing: /usr/local/include/edgex/registry.h [2020-06-30T09:05:44.343Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-06-30T09:05:44.343Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-06-30T09:05:44.343Z] -- Installing: /usr/local/include/iot [2020-06-30T09:05:44.343Z] -- Installing: /usr/local/include/iot/base64.h [2020-06-30T09:05:44.343Z] -- Installing: /usr/local/include/iot/component.h [2020-06-30T09:05:44.343Z] -- Installing: /usr/local/include/iot/container.h [2020-06-30T09:05:44.343Z] -- Installing: /usr/local/include/iot/data.h [2020-06-30T09:05:44.343Z] -- Installing: /usr/local/include/iot/hash.h [2020-06-30T09:05:44.343Z] -- Installing: /usr/local/include/iot/iot.h [2020-06-30T09:05:44.343Z] -- Installing: /usr/local/include/iot/json.h [2020-06-30T09:05:44.343Z] -- Installing: /usr/local/include/iot/logger.h [2020-06-30T09:05:44.343Z] -- Installing: /usr/local/include/iot/os.h [2020-06-30T09:05:44.343Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-06-30T09:05:44.343Z] -- Installing: /usr/local/include/iot/thread.h [2020-06-30T09:05:44.343Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-06-30T09:05:44.343Z] -- Installing: /usr/local/include/iot/time.h [2020-06-30T09:05:44.343Z] -- Installing: /usr/local/include/iot/typecode.h [2020-06-30T09:05:44.343Z] -- Installing: /usr/local/include/iot/os [2020-06-30T09:05:44.343Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-06-30T09:05:44.343Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-06-30T09:05:44.344Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-06-30T09:05:44.344Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-06-30T09:05:44.344Z] make: Leaving directory '/tmp/sdk/build/release' [2020-06-30T09:05:44.606Z] -- Detecting C compile features - done [2020-06-30T09:05:44.606Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-06-30T09:05:44.606Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-06-30T09:05:44.606Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-06-30T09:05:44.606Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-06-30T09:05:44.606Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-06-30T09:05:44.606Z] -- C SDK 0.0.0 for Linux [2020-06-30T09:05:44.606Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-06-30T09:05:44.606Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-06-30T09:05:44.606Z] -- Found Curses: /usr/lib/libcurses.so [2020-06-30T09:05:44.879Z] -- Configuring done [2020-06-30T09:05:45.149Z] -- Generating done [2020-06-30T09:05:45.149Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-06-30T09:05:45.149Z] + + maketee debug.log [2020-06-30T09:05:45.149Z] [2020-06-30T09:05:45.149Z] Scanning dependencies of target csdk [2020-06-30T09:05:45.434Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-06-30T09:05:45.714Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-06-30T09:05:45.990Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-06-30T09:05:46.585Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-06-30T09:05:46.854Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-06-30T09:05:46.920Z] Removing intermediate container 36a083bc85f2 [2020-06-30T09:05:46.920Z] ---> 3369e014e60a [2020-06-30T09:05:46.920Z] Step 14/21 : FROM ${BASE} [2020-06-30T09:05:46.920Z] ---> 5eabd8fd8ba2 [2020-06-30T09:05:46.920Z] Step 15/21 : MAINTAINER IOTech [2020-06-30T09:05:46.920Z] ---> Running in 02ba7ea97c30 [2020-06-30T09:05:46.920Z] Removing intermediate container 02ba7ea97c30 [2020-06-30T09:05:46.920Z] ---> 9fd486c0b2c0 [2020-06-30T09:05:46.920Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-06-30T09:05:46.920Z] ---> Running in 46eb0c7430ec [2020-06-30T09:05:47.124Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-06-30T09:05:47.394Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-06-30T09:05:47.494Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-06-30T09:05:47.984Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-06-30T09:05:48.065Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-06-30T09:05:48.255Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-06-30T09:05:48.326Z] (1/3) Installing curl (7.64.0-r3) [2020-06-30T09:05:48.527Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-06-30T09:05:48.586Z] (2/3) Installing libuuid (2.33-r0) [2020-06-30T09:05:48.586Z] (3/3) Installing wget (1.20.3-r0) [2020-06-30T09:05:48.586Z] Executing busybox-1.29.3-r10.trigger [2020-06-30T09:05:48.586Z] OK: 268 MiB in 78 packages [2020-06-30T09:05:48.802Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-06-30T09:05:49.074Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-06-30T09:05:49.158Z] Removing intermediate container 46eb0c7430ec [2020-06-30T09:05:49.158Z] ---> 6383f4bafbbb [2020-06-30T09:05:49.158Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-06-30T09:05:49.348Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-06-30T09:05:49.348Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-06-30T09:05:49.420Z] ---> 505e2ef30ed4 [2020-06-30T09:05:49.420Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-06-30T09:05:49.680Z] ---> 65af9047b756 [2020-06-30T09:05:49.680Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-06-30T09:05:49.680Z] ---> f27a11d2b77f [2020-06-30T09:05:49.680Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-06-30T09:05:49.941Z] ---> 7e481f7b7269 [2020-06-30T09:05:49.941Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-06-30T09:05:50.202Z] ---> d96fedbe7abd [2020-06-30T09:05:50.202Z] Successfully built d96fedbe7abd [2020-06-30T09:05:50.202Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2020-06-30T09:05:50.322Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-06-30T09:05:50.594Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-06-30T09:05:50.679Z] + docker inspect -f . ci-base-image-x86_64 [2020-06-30T09:05:50.679Z] . [Pipeline] withDockerContainer [2020-06-30T09:05:50.782Z] prd-centos7-docker-4c-2g-4868 does not seem to be running inside a container [2020-06-30T09:05:50.831Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-06-30T09:05:50.865Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-06-30T09:05:51.139Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-06-30T09:05:51.433Z] $ docker top c3b7311142a1b604ac7e9813e5f8f4441d276847af93b75cdfde49052c564620 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-30T09:05:51.730Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-06-30T09:05:51.865Z] + make test [2020-06-30T09:05:51.865Z] echo "make test" [2020-06-30T09:05:51.865Z] make test [Pipeline] } [2020-06-30T09:05:51.879Z] $ docker stop --time=1 c3b7311142a1b604ac7e9813e5f8f4441d276847af93b75cdfde49052c564620 [2020-06-30T09:05:52.000Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-06-30T09:05:52.001Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-06-30T09:05:52.272Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-06-30T09:05:52.544Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-06-30T09:05:52.544Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-06-30T09:05:52.815Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-06-30T09:05:53.085Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-06-30T09:05:53.211Z] $ docker rm -f c3b7311142a1b604ac7e9813e5f8f4441d276847af93b75cdfde49052c564620 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2020-06-30T09:05:53.360Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2020-06-30T09:05:53.632Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-06-30T09:05:53.632Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-06-30T09:05:54.244Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-06-30T09:05:54.244Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [Pipeline] sh [2020-06-30T09:05:54.888Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-30T09:05:55.181Z] + ls -al . [2020-06-30T09:05:55.181Z] total 160 [2020-06-30T09:05:55.181Z] drwxrwxr-x. 9 jenkins jenkins 275 Jun 30 09:05 . [2020-06-30T09:05:55.181Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 30 09:04 .. [2020-06-30T09:05:55.181Z] -rw-rw-r--. 1 jenkins jenkins 3104 Jun 30 09:04 Attribution.txt [2020-06-30T09:05:55.181Z] -rw-rw-r--. 1 jenkins jenkins 5323 Jun 30 09:04 CHANGES [2020-06-30T09:05:55.181Z] drwxrwxr-x. 2 jenkins jenkins 144 Jun 30 09:04 docs [2020-06-30T09:05:55.181Z] -rw-rw-r--. 1 jenkins jenkins 108574 Jun 30 09:04 Doxyfile [2020-06-30T09:05:55.181Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 30 09:04 .git [2020-06-30T09:05:55.181Z] drwxrwxr-x. 2 jenkins jenkins 38 Jun 30 09:04 .github [2020-06-30T09:05:55.181Z] -rw-rw-r--. 1 jenkins jenkins 176 Jun 30 09:04 .gitignore [2020-06-30T09:05:55.181Z] drwxrwxr-x. 4 jenkins jenkins 33 Jun 30 09:04 include [2020-06-30T09:05:55.181Z] -rw-rw-r--. 1 jenkins jenkins 794 Jun 30 09:04 Jenkinsfile [2020-06-30T09:05:55.181Z] -rw-rw-r--. 1 jenkins jenkins 10174 Jun 30 09:04 LICENSE [2020-06-30T09:05:55.181Z] -rw-rw-r--. 1 jenkins jenkins 449 Jun 30 09:04 Makefile [2020-06-30T09:05:55.181Z] -rw-rw-r--. 1 jenkins jenkins 1849 Jun 30 09:04 README.md [2020-06-30T09:05:55.181Z] -rw-rw-r--. 1 jenkins jenkins 5229 Jun 30 09:04 README.v2.md [2020-06-30T09:05:55.181Z] drwxrwxr-x. 2 jenkins jenkins 108 Jun 30 09:04 scripts [2020-06-30T09:05:55.181Z] drwxrwxr-x. 3 jenkins jenkins 58 Jun 30 09:05 .semver [2020-06-30T09:05:55.181Z] drwxrwxr-x. 4 jenkins jenkins 50 Jun 30 09:04 src [2020-06-30T09:05:55.181Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 30 09:01 VERSION [Pipeline] isUnix [Pipeline] sh [2020-06-30T09:05:55.212Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-06-30T09:05:55.484Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-06-30T09:05:55.484Z] + docker build -t docker-device-sdk-c -f scripts/Dockerfile.alpine-3.11 --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=433f8bd9e2fac67d6eb6b5e6b63b7e85aaee9e7f --label arch=amd64 --label version=0.0.0 . [2020-06-30T09:05:55.484Z] Sending build context to Docker daemon 3.312MB [2020-06-30T09:05:55.484Z] Step 1/15 : ARG BASE=alpine:3.11 [2020-06-30T09:05:55.485Z] Step 2/15 : FROM ${BASE} [2020-06-30T09:05:55.485Z] ---> d96fedbe7abd [2020-06-30T09:05:55.485Z] Step 3/15 : MAINTAINER IOTech [2020-06-30T09:05:55.755Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-06-30T09:05:56.028Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-06-30T09:05:56.056Z] ---> Running in cacbda8dd67d [2020-06-30T09:05:56.320Z] Removing intermediate container cacbda8dd67d [2020-06-30T09:05:56.320Z] ---> f8cbfbce2ee4 [2020-06-30T09:05:56.320Z] 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-30T09:05:56.320Z] ---> Running in fbe41f11382b [2020-06-30T09:05:56.581Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-06-30T09:05:57.002Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-06-30T09:05:57.523Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-06-30T09:05:57.593Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-06-30T09:05:57.784Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2020-06-30T09:05:57.784Z] (2/6) Installing libblkid (2.33-r0) [2020-06-30T09:05:58.045Z] (3/6) Installing libfdisk (2.33-r0) [2020-06-30T09:05:58.045Z] (4/6) Installing libmount (2.33-r0) [2020-06-30T09:05:58.045Z] (5/6) Installing libsmartcols (2.33-r0) [2020-06-30T09:05:58.182Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-06-30T09:05:58.307Z] (6/6) Installing util-linux-dev (2.33-r0) [2020-06-30T09:05:58.453Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-06-30T09:05:58.568Z] Executing busybox-1.29.3-r10.trigger [2020-06-30T09:05:58.568Z] OK: 272 MiB in 84 packages [2020-06-30T09:05:59.045Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-06-30T09:05:59.045Z] [ 74%] Linking C shared library libcsdk.so [2020-06-30T09:05:59.141Z] Removing intermediate container fbe41f11382b [2020-06-30T09:05:59.141Z] ---> 66e9ba6a6ba1 [2020-06-30T09:05:59.141Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-06-30T09:05:59.314Z] [ 74%] Built target csdk [2020-06-30T09:05:59.314Z] Scanning dependencies of target template [2020-06-30T09:05:59.314Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-06-30T09:05:59.401Z] ---> 3bd578822952 [2020-06-30T09:05:59.401Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-06-30T09:05:59.585Z] [ 78%] Linking C executable template [2020-06-30T09:05:59.856Z] [ 78%] Built target template [2020-06-30T09:05:59.856Z] Scanning dependencies of target device-counter [2020-06-30T09:05:59.856Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-06-30T09:05:59.972Z] ---> ad800ba5150c [2020-06-30T09:05:59.972Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-06-30T09:06:00.127Z] [ 81%] Linking C executable device-counter [2020-06-30T09:06:00.232Z] ---> 1d2470d746a7 [2020-06-30T09:06:00.232Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-06-30T09:06:00.396Z] [ 81%] Built target device-counter [2020-06-30T09:06:00.397Z] Scanning dependencies of target device-random [2020-06-30T09:06:00.397Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-06-30T09:06:00.494Z] ---> dd8a54404bc6 [2020-06-30T09:06:00.494Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-06-30T09:06:00.494Z] ---> 9c466d9075b1 [2020-06-30T09:06:00.494Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-06-30T09:06:00.668Z] [ 85%] Linking C executable device-random [2020-06-30T09:06:00.755Z] ---> 23132a2975b4 [2020-06-30T09:06:00.755Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-06-30T09:06:00.755Z] ---> Running in 66d36461ca41 [2020-06-30T09:06:00.939Z] [ 85%] Built target device-random [2020-06-30T09:06:00.939Z] Scanning dependencies of target device-gyro [2020-06-30T09:06:00.939Z] [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-06-30T09:06:01.017Z] Removing intermediate container 66d36461ca41 [2020-06-30T09:06:01.017Z] ---> 79a096b3ec28 [2020-06-30T09:06:01.017Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-06-30T09:06:01.017Z] ---> Running in db03c6731987 [2020-06-30T09:06:01.210Z] [ 89%] Linking C executable device-gyro [2020-06-30T09:06:01.280Z] Removing intermediate container db03c6731987 [2020-06-30T09:06:01.280Z] ---> f81ee2f6e264 [2020-06-30T09:06:01.280Z] Step 13/15 : LABEL arch=amd64 [2020-06-30T09:06:01.280Z] ---> Running in e5da6d7a7a00 [2020-06-30T09:06:01.481Z] [ 89%] Built target device-gyro [2020-06-30T09:06:01.481Z] Scanning dependencies of target template-discovery [2020-06-30T09:06:01.481Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-06-30T09:06:01.545Z] Removing intermediate container e5da6d7a7a00 [2020-06-30T09:06:01.545Z] ---> 92d7e47e21a2 [2020-06-30T09:06:01.545Z] Step 14/15 : LABEL git_sha=433f8bd9e2fac67d6eb6b5e6b63b7e85aaee9e7f [2020-06-30T09:06:01.545Z] ---> Running in 44397cbe3f84 [2020-06-30T09:06:01.545Z] Removing intermediate container 44397cbe3f84 [2020-06-30T09:06:01.545Z] ---> da0a421f10c2 [2020-06-30T09:06:01.545Z] Step 15/15 : LABEL version=0.0.0 [2020-06-30T09:06:01.752Z] [ 92%] Linking C executable template-discovery [2020-06-30T09:06:01.806Z] ---> Running in e59b23638ff1 [2020-06-30T09:06:01.806Z] Removing intermediate container e59b23638ff1 [2020-06-30T09:06:01.806Z] ---> 9f8da5cd35bb [2020-06-30T09:06:01.806Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2020-06-30T09:06:01.806Z] Successfully built 9f8da5cd35bb [2020-06-30T09:06:01.806Z] 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-30T09:06:02.025Z] [ 92%] Built target template-discovery [2020-06-30T09:06:02.025Z] Scanning dependencies of target device-terminal [2020-06-30T09:06:02.025Z] [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-06-30T09:06:02.299Z] [ 96%] Linking C executable device-terminal [2020-06-30T09:06:02.569Z] [ 96%] Built target device-terminal [2020-06-30T09:06:02.569Z] Scanning dependencies of target templatev1 [2020-06-30T09:06:02.569Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-06-30T09:06:02.863Z] [100%] Linking C executable templatev1 [2020-06-30T09:06:02.863Z] [100%] Built target templatev1 [2020-06-30T09:06:02.863Z] make: Entering directory '/tmp/sdk/build/release' [2020-06-30T09:06:03.134Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-06-30T09:06:03.134Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-30T09:06:03.134Z] Scanning dependencies of target csdk [2020-06-30T09:06:03.134Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-30T09:06:03.134Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-30T09:06:03.134Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-06-30T09:06:05.095Z] [ 3%] Linking C shared library libcsdk.so [2020-06-30T09:06:05.095Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-30T09:06:05.095Z] [ 74%] Built target csdk [2020-06-30T09:06:05.095Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-30T09:06:05.095Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-30T09:06:05.095Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-30T09:06:05.095Z] [ 76%] Linking C executable template [2020-06-30T09:06:05.365Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-30T09:06:05.365Z] [ 78%] Built target template [2020-06-30T09:06:05.365Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-30T09:06:05.365Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-30T09:06:05.365Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-30T09:06:05.365Z] [ 80%] Linking C executable device-counter [2020-06-30T09:06:05.635Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-30T09:06:05.635Z] [ 81%] Built target device-counter [2020-06-30T09:06:05.635Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-30T09:06:05.635Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-30T09:06:05.635Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-30T09:06:05.635Z] [ 83%] Linking C executable device-random [2020-06-30T09:06:05.905Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-30T09:06:05.905Z] [ 85%] Built target device-random [2020-06-30T09:06:05.905Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-30T09:06:05.905Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-30T09:06:05.905Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-30T09:06:05.905Z] [ 87%] Linking C executable device-gyro [2020-06-30T09:06:06.175Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-30T09:06:06.175Z] [ 89%] Built target device-gyro [2020-06-30T09:06:06.175Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-30T09:06:06.175Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-30T09:06:06.175Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-30T09:06:06.175Z] [ 90%] Linking C executable template-discovery [2020-06-30T09:06:06.446Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-30T09:06:06.446Z] [ 92%] Built target template-discovery [2020-06-30T09:06:06.446Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-30T09:06:06.446Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-30T09:06:06.446Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-30T09:06:06.446Z] [ 94%] Linking C executable device-terminal [2020-06-30T09:06:06.718Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-30T09:06:06.718Z] [ 96%] Built target device-terminal [2020-06-30T09:06:06.718Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-30T09:06:06.718Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-30T09:06:06.718Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-30T09:06:06.718Z] [ 98%] Linking C executable templatev1 [2020-06-30T09:06:06.718Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-30T09:06:06.991Z] [100%] Built target templatev1 [2020-06-30T09:06:06.991Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-06-30T09:06:06.991Z] Install the project... [2020-06-30T09:06:06.991Z] -- Install configuration: "Release" [2020-06-30T09:06:06.991Z] -- Installing: /usr/local/lib/libcsdk.so [2020-06-30T09:06:06.991Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-06-30T09:06:06.991Z] -- Up-to-date: /usr/local/include [2020-06-30T09:06:06.991Z] -- Installing: /usr/local/include/edgex [2020-06-30T09:06:06.991Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-06-30T09:06:06.991Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-06-30T09:06:06.991Z] -- Installing: /usr/local/include/edgex/error.h [2020-06-30T09:06:06.991Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-06-30T09:06:06.991Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-06-30T09:06:06.991Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-06-30T09:06:06.991Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-06-30T09:06:06.991Z] -- Installing: /usr/local/include/edgex/registry.h [2020-06-30T09:06:06.991Z] -- Installing: /usr/local/include/edgex/edgex-logging.h [2020-06-30T09:06:06.991Z] -- Installing: /usr/local/include/edgex/devices.h [2020-06-30T09:06:06.991Z] -- Installing: /usr/local/include/edgex/os.h [2020-06-30T09:06:06.991Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-06-30T09:06:06.991Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-06-30T09:06:06.991Z] -- Installing: /usr/local/include/devsdk [2020-06-30T09:06:06.991Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-06-30T09:06:06.991Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-06-30T09:06:06.991Z] -- Installing: /usr/local/include/iot [2020-06-30T09:06:06.991Z] -- Installing: /usr/local/include/iot/json.h [2020-06-30T09:06:06.991Z] -- Installing: /usr/local/include/iot/container.h [2020-06-30T09:06:06.991Z] -- Installing: /usr/local/include/iot/component.h [2020-06-30T09:06:06.991Z] -- Installing: /usr/local/include/iot/typecode.h [2020-06-30T09:06:06.991Z] -- Installing: /usr/local/include/iot/iot.h [2020-06-30T09:06:06.991Z] -- Installing: /usr/local/include/iot/time.h [2020-06-30T09:06:06.991Z] -- Installing: /usr/local/include/iot/hash.h [2020-06-30T09:06:06.991Z] -- Installing: /usr/local/include/iot/logger.h [2020-06-30T09:06:06.991Z] -- Installing: /usr/local/include/iot/os [2020-06-30T09:06:06.991Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-06-30T09:06:06.991Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-06-30T09:06:06.991Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-06-30T09:06:06.991Z] -- Installing: /usr/local/include/iot/data.h [2020-06-30T09:06:06.991Z] -- Installing: /usr/local/include/iot/thread.h [2020-06-30T09:06:06.991Z] -- Installing: /usr/local/include/iot/os.h [2020-06-30T09:06:06.991Z] -- Installing: /usr/local/include/iot/base64.h [2020-06-30T09:06:06.991Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-06-30T09:06:06.991Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-06-30T09:06:06.991Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-06-30T09:06:06.991Z] make: Leaving directory '/tmp/sdk/build/release' [2020-06-30T09:06:08.958Z] Removing intermediate container 711138fee611 [2020-06-30T09:06:08.958Z] ---> 1564d5e21753 [2020-06-30T09:06:08.958Z] Step 14/21 : FROM ${BASE} [2020-06-30T09:06:08.958Z] ---> b23d30803547 [2020-06-30T09:06:08.958Z] Step 15/21 : MAINTAINER IOTech [2020-06-30T09:06:09.231Z] ---> Running in 99def2554620 [2020-06-30T09:06:09.502Z] Removing intermediate container 99def2554620 [2020-06-30T09:06:09.502Z] ---> 79e8b875f97d [2020-06-30T09:06:09.502Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-06-30T09:06:09.779Z] ---> Running in 0f0357abd367 [2020-06-30T09:06:11.213Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-06-30T09:06:12.181Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-06-30T09:06:12.453Z] (1/3) Installing curl (7.64.0-r3) [2020-06-30T09:06:12.453Z] (2/3) Installing libuuid (2.33-r0) [2020-06-30T09:06:12.453Z] (3/3) Installing wget (1.20.3-r0) [2020-06-30T09:06:12.729Z] Executing busybox-1.29.3-r10.trigger [2020-06-30T09:06:12.729Z] OK: 281 MiB in 78 packages [2020-06-30T09:06:13.778Z] Removing intermediate container 0f0357abd367 [2020-06-30T09:06:13.778Z] ---> 55d0c56288cf [2020-06-30T09:06:13.778Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-06-30T09:06:14.756Z] ---> dbabf30f7f1f [2020-06-30T09:06:14.756Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-06-30T09:06:15.737Z] ---> 641895391bac [2020-06-30T09:06:15.737Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-06-30T09:06:16.332Z] ---> 879c404bc6dd [2020-06-30T09:06:16.332Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-06-30T09:06:16.926Z] ---> 3506729bc728 [2020-06-30T09:06:16.926Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-06-30T09:06:17.898Z] ---> 88d3fc98cbc0 [2020-06-30T09:06:17.898Z] Successfully built 88d3fc98cbc0 [2020-06-30T09:06:17.898Z] 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-30T09:06:18.440Z] + docker inspect -f . ci-base-image-arm64 [2020-06-30T09:06:18.440Z] . [Pipeline] withDockerContainer [2020-06-30T09:06:18.683Z] prd-ubuntu18.04-docker-arm64-4c-16g-4866 does not seem to be running inside a container [2020-06-30T09:06:18.740Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-06-30T09:06:20.611Z] $ docker top c9333aa6ccce0586afe733e9cb87d71f6548bb33570b0918aa232507646b9115 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-30T09:06:21.989Z] + make test [2020-06-30T09:06:21.989Z] echo "make test" [2020-06-30T09:06:21.989Z] make test [Pipeline] } [2020-06-30T09:06:21.983Z] $ docker stop --time=1 c9333aa6ccce0586afe733e9cb87d71f6548bb33570b0918aa232507646b9115 [2020-06-30T09:06:23.956Z] $ docker rm -f c9333aa6ccce0586afe733e9cb87d71f6548bb33570b0918aa232507646b9115 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-30T09:06:24.759Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-30T09:06:25.088Z] + ls -al . [2020-06-30T09:06:25.089Z] total 196 [2020-06-30T09:06:25.089Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 30 09:04 . [2020-06-30T09:06:25.089Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 09:03 .. [2020-06-30T09:06:25.089Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 30 09:04 .git [2020-06-30T09:06:25.089Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 09:03 .github [2020-06-30T09:06:25.089Z] -rw-rw-r-- 1 jenkins jenkins 176 Jun 30 09:03 .gitignore [2020-06-30T09:06:25.089Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 09:04 .semver [2020-06-30T09:06:25.089Z] -rw-rw-r-- 1 jenkins jenkins 3104 Jun 30 09:03 Attribution.txt [2020-06-30T09:06:25.089Z] -rw-rw-r-- 1 jenkins jenkins 5323 Jun 30 09:03 CHANGES [2020-06-30T09:06:25.089Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jun 30 09:03 Doxyfile [2020-06-30T09:06:25.089Z] -rw-rw-r-- 1 jenkins jenkins 794 Jun 30 09:03 Jenkinsfile [2020-06-30T09:06:25.089Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jun 30 09:03 LICENSE [2020-06-30T09:06:25.089Z] -rw-rw-r-- 1 jenkins jenkins 449 Jun 30 09:03 Makefile [2020-06-30T09:06:25.089Z] -rw-rw-r-- 1 jenkins jenkins 1849 Jun 30 09:03 README.md [2020-06-30T09:06:25.089Z] -rw-rw-r-- 1 jenkins jenkins 5229 Jun 30 09:03 README.v2.md [2020-06-30T09:06:25.089Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 30 09:01 VERSION [2020-06-30T09:06:25.089Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 09:03 docs [2020-06-30T09:06:25.089Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 09:03 include [2020-06-30T09:06:25.089Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 09:03 scripts [2020-06-30T09:06:25.089Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 09:03 src [Pipeline] isUnix [Pipeline] sh [2020-06-30T09:06:25.423Z] + docker build -t docker-device-sdk-c-arm64 -f scripts/Dockerfile.alpine-3.11 --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=433f8bd9e2fac67d6eb6b5e6b63b7e85aaee9e7f --label arch=arm64 --label version=0.0.0 . [2020-06-30T09:06:26.016Z] Sending build context to Docker daemon 3.312MB [2020-06-30T09:06:26.016Z] Step 1/15 : ARG BASE=alpine:3.11 [2020-06-30T09:06:26.016Z] Step 2/15 : FROM ${BASE} [2020-06-30T09:06:26.016Z] ---> 88d3fc98cbc0 [2020-06-30T09:06:26.016Z] Step 3/15 : MAINTAINER IOTech [2020-06-30T09:06:26.295Z] ---> Running in 188e1f4c10f1 [2020-06-30T09:06:26.565Z] Removing intermediate container 188e1f4c10f1 [2020-06-30T09:06:26.565Z] ---> 3b14a32cecea [2020-06-30T09:06:26.565Z] 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-30T09:06:26.837Z] ---> Running in 3d4ee3aa194f [2020-06-30T09:06:28.263Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-06-30T09:06:28.859Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-06-30T09:06:29.451Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2020-06-30T09:06:29.451Z] (2/6) Installing libblkid (2.33-r0) [2020-06-30T09:06:29.451Z] (3/6) Installing libfdisk (2.33-r0) [2020-06-30T09:06:29.732Z] (4/6) Installing libmount (2.33-r0) [2020-06-30T09:06:29.732Z] (5/6) Installing libsmartcols (2.33-r0) [2020-06-30T09:06:29.732Z] (6/6) Installing util-linux-dev (2.33-r0) [2020-06-30T09:06:30.339Z] Executing busybox-1.29.3-r10.trigger [2020-06-30T09:06:30.339Z] OK: 286 MiB in 84 packages [2020-06-30T09:06:31.761Z] Removing intermediate container 3d4ee3aa194f [2020-06-30T09:06:31.761Z] ---> cc894af7285a [2020-06-30T09:06:31.761Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-06-30T09:06:32.352Z] ---> ac9305eabe3f [2020-06-30T09:06:32.352Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-06-30T09:06:33.328Z] ---> ed39dc56a949 [2020-06-30T09:06:33.328Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-06-30T09:06:33.921Z] ---> 4c417798e0a5 [2020-06-30T09:06:33.921Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-06-30T09:06:34.518Z] ---> 76d48ce3783b [2020-06-30T09:06:34.518Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-06-30T09:06:35.111Z] ---> b576b0c099ed [2020-06-30T09:06:35.111Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-06-30T09:06:36.086Z] ---> 7a9a93a75d6c [2020-06-30T09:06:36.086Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-06-30T09:06:36.086Z] ---> Running in 48bc0fe9fe5f [2020-06-30T09:06:36.679Z] Removing intermediate container 48bc0fe9fe5f [2020-06-30T09:06:36.679Z] ---> 1c31a143d632 [2020-06-30T09:06:36.679Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-06-30T09:06:36.679Z] ---> Running in a981416a9f91 [2020-06-30T09:06:37.269Z] Removing intermediate container a981416a9f91 [2020-06-30T09:06:37.269Z] ---> 30b15503e3fd [2020-06-30T09:06:37.269Z] Step 13/15 : LABEL arch=arm64 [2020-06-30T09:06:37.542Z] ---> Running in 96b168af9877 [2020-06-30T09:06:37.815Z] Removing intermediate container 96b168af9877 [2020-06-30T09:06:37.815Z] ---> 572a94fe4536 [2020-06-30T09:06:37.815Z] Step 14/15 : LABEL git_sha=433f8bd9e2fac67d6eb6b5e6b63b7e85aaee9e7f [2020-06-30T09:06:38.087Z] ---> Running in 5790c8243e62 [2020-06-30T09:06:38.676Z] Removing intermediate container 5790c8243e62 [2020-06-30T09:06:38.676Z] ---> c25b9cd959af [2020-06-30T09:06:38.676Z] Step 15/15 : LABEL version=0.0.0 [2020-06-30T09:06:38.676Z] ---> Running in f6bd05e5b2ce [2020-06-30T09:06:39.271Z] Removing intermediate container f6bd05e5b2ce [2020-06-30T09:06:39.271Z] ---> 33b982e69c0c [2020-06-30T09:06:39.271Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2020-06-30T09:06:39.271Z] Successfully built 33b982e69c0c [2020-06-30T09:06:39.271Z] Successfully tagged docker-device-sdk-c-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-06-30T09:06:40.529Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-30T09:06:41.105Z] ---> package-listing.sh [2020-06-30T09:06:41.105Z] ++ facter osfamily [2020-06-30T09:06:41.105Z] ++ tr '[:upper:]' '[:lower:]' [2020-06-30T09:06:41.105Z] + OS_FAMILY=redhat [2020-06-30T09:06:41.105Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-275 [2020-06-30T09:06:41.105Z] + START_PACKAGES=/tmp/packages_start.txt [2020-06-30T09:06:41.105Z] + END_PACKAGES=/tmp/packages_end.txt [2020-06-30T09:06:41.105Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-06-30T09:06:41.105Z] + PACKAGES=/tmp/packages_start.txt [2020-06-30T09:06:41.105Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-275 ']' [2020-06-30T09:06:41.105Z] + PACKAGES=/tmp/packages_end.txt [2020-06-30T09:06:41.105Z] + case "${OS_FAMILY}" in [2020-06-30T09:06:41.105Z] + rpm -qa [2020-06-30T09:06:41.105Z] + sort [2020-06-30T09:06:45.318Z] + '[' -f /tmp/packages_start.txt ']' [2020-06-30T09:06:45.318Z] + '[' -f /tmp/packages_end.txt ']' [2020-06-30T09:06:45.318Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-06-30T09:06:45.318Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-275 ']' [2020-06-30T09:06:45.318Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-275/archives/ [2020-06-30T09:06:45.318Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-275/archives/ [Pipeline] isUnix [Pipeline] sh [2020-06-30T09:06:45.931Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-30T09:06:45.931Z] [2020-06-30T09:06:45.931Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-06-30T09:06:46.270Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-30T09:06:46.270Z] alpine: Pulling from edgex-lftools-log-publisher [2020-06-30T09:06:46.270Z] c9b1b535fdd9: Pulling fs layer [2020-06-30T09:06:46.270Z] 2cc5ad85d9ab: Pulling fs layer [2020-06-30T09:06:46.270Z] 756a868c4378: Pulling fs layer [2020-06-30T09:06:46.270Z] 444b2fc9a129: Pulling fs layer [2020-06-30T09:06:46.270Z] ea15f1150254: Pulling fs layer [2020-06-30T09:06:46.270Z] 41b27a9f41bf: Pulling fs layer [2020-06-30T09:06:46.270Z] 28c525ee5125: Pulling fs layer [2020-06-30T09:06:46.270Z] 094b1ea09ed8: Pulling fs layer [2020-06-30T09:06:46.270Z] 138eaada9080: Pulling fs layer [2020-06-30T09:06:46.270Z] 0622d0fa9048: Pulling fs layer [2020-06-30T09:06:46.270Z] 41b27a9f41bf: Waiting [2020-06-30T09:06:46.270Z] 28c525ee5125: Waiting [2020-06-30T09:06:46.270Z] 094b1ea09ed8: Waiting [2020-06-30T09:06:46.270Z] 138eaada9080: Waiting [2020-06-30T09:06:46.270Z] 0622d0fa9048: Waiting [2020-06-30T09:06:46.270Z] 444b2fc9a129: Waiting [2020-06-30T09:06:46.270Z] ea15f1150254: Waiting [2020-06-30T09:06:46.270Z] 2cc5ad85d9ab: Download complete [2020-06-30T09:06:46.270Z] 444b2fc9a129: Verifying Checksum [2020-06-30T09:06:46.270Z] 444b2fc9a129: Download complete [2020-06-30T09:06:46.270Z] c9b1b535fdd9: Verifying Checksum [2020-06-30T09:06:46.270Z] c9b1b535fdd9: Download complete [2020-06-30T09:06:46.270Z] ea15f1150254: Verifying Checksum [2020-06-30T09:06:46.270Z] ea15f1150254: Download complete [2020-06-30T09:06:46.545Z] 28c525ee5125: Verifying Checksum [2020-06-30T09:06:46.545Z] 28c525ee5125: Download complete [2020-06-30T09:06:46.814Z] 756a868c4378: Verifying Checksum [2020-06-30T09:06:46.814Z] 756a868c4378: Download complete [2020-06-30T09:06:46.814Z] 138eaada9080: Verifying Checksum [2020-06-30T09:06:46.814Z] 138eaada9080: Download complete [2020-06-30T09:06:46.814Z] 094b1ea09ed8: Verifying Checksum [2020-06-30T09:06:46.814Z] 094b1ea09ed8: Download complete [2020-06-30T09:06:46.814Z] 0622d0fa9048: Verifying Checksum [2020-06-30T09:06:46.814Z] 0622d0fa9048: Download complete [2020-06-30T09:06:46.814Z] c9b1b535fdd9: Pull complete [2020-06-30T09:06:47.398Z] 2cc5ad85d9ab: Pull complete [2020-06-30T09:06:47.398Z] 41b27a9f41bf: Verifying Checksum [2020-06-30T09:06:47.398Z] 41b27a9f41bf: Download complete [2020-06-30T09:06:48.794Z] 756a868c4378: Pull complete [2020-06-30T09:06:48.794Z] 444b2fc9a129: Pull complete [2020-06-30T09:06:49.059Z] ea15f1150254: Pull complete [2020-06-30T09:06:53.274Z] 41b27a9f41bf: Pull complete [2020-06-30T09:06:53.274Z] 28c525ee5125: Pull complete [2020-06-30T09:06:55.841Z] 094b1ea09ed8: Pull complete [2020-06-30T09:06:55.841Z] 138eaada9080: Pull complete [2020-06-30T09:06:55.841Z] 0622d0fa9048: Pull complete [2020-06-30T09:06:55.841Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-06-30T09:06:55.841Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-30T09:06:55.841Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-06-30T09:06:56.013Z] prd-centos7-docker-4c-2g-4865 does not seem to be running inside a container [2020-06-30T09:06:56.058Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/edgexfoundry_device-sdk-c_PR-275 -v /w/workspace/edgexfoundry_device-sdk-c_PR-275:/w/workspace/edgexfoundry_device-sdk-c_PR-275:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-275@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-275@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-06-30T09:07:00.257Z] $ docker top ebeb17d8cd51f45fc0a9c385b80fd1e710a317c5be90c4fcaebc2231fe593929 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-06-30T09:07:00.426Z] provisioning config files... [2020-06-30T09:07:00.443Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-275@tmp/config7300126300199871150tmp [Pipeline] { [Pipeline] echo [2020-06-30T09:07:00.475Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-30T09:07:00.784Z] ---> create-netrc.sh [Pipeline] echo [2020-06-30T09:07:00.795Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-30T09:07:01.090Z] ---> logs-deploy.sh [2020-06-30T09:07:01.090Z] + ARCHIVE_ARTIFACTS= [2020-06-30T09:07:01.090Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-06-30T09:07:01.090Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-06-30T09:07:01.090Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-06-30T09:07:01.090Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-275/2 [2020-06-30T09:07:01.090Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-275/2/ [2020-06-30T09:07:01.090Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-275/2 /w/workspace/edgexfoundry_device-sdk-c_PR-275 [2020-06-30T09:07:02.486Z] Archives upload complete. [2020-06-30T09:07:02.486Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-275/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-275/2/