Pull request #285 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 9ac00a8289218e9dd44205c0721247e224b5af00+feadb86bacbe0d21fda66ef6cfc7f5b973e1d88c (21594965af187f2115563766f35d445603b657b4) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 12d02086ee3dc6ebabaf2c20041ebc308d679d46 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 12d02086ee3dc6ebabaf2c20041ebc308d679d46 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-285/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 12d02086ee3dc6ebabaf2c20041ebc308d679d46 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 12d02086ee3dc6ebabaf2c20041ebc308d679d46 # timeout=10 Commit message: "Merge pull request #217 from ernestojeda/codecov-fix" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-3.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 ‘prd-centos7-docker-4c-2g-724’ is offline Running on prd-centos7-docker-4c-2g-738 in /w/workspace/edgexfoundry_device-sdk-c_PR-285 [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-285 # 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/285/head:refs/remotes/origin/PR-285 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit feadb86bacbe0d21fda66ef6cfc7f5b973e1d88c into PR head commit 9ac00a8289218e9dd44205c0721247e224b5af00 Merge succeeded, producing 9ac00a8289218e9dd44205c0721247e224b5af00 Checking out Revision 9ac00a8289218e9dd44205c0721247e224b5af00 (PR-285) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/285/head:refs/remotes/origin/PR-285 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/285/head:refs/remotes/origin/PR-285 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9ac00a8289218e9dd44205c0721247e224b5af00 # 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 feadb86bacbe0d21fda66ef6cfc7f5b973e1d88c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9ac00a8289218e9dd44205c0721247e224b5af00 # timeout=10 Commit message: "refac: reorder shutdown sequence (#284)" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 12d02086ee3dc6ebabaf2c20041ebc308d679d46 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-07-23T16:30:25.112Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-07-23T16:30:25.421Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-07-23T16:30:25.553Z] ========================================================= [2020-07-23T16:30:25.554Z] EdgeX Global Pipelines Version Info [2020-07-23T16:30:25.554Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-07-23T16:30:27.332Z] ------------------- [2020-07-23T16:30:27.332Z] stable info: [2020-07-23T16:30:27.332Z] ------------------- [2020-07-23T16:30:27.332Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-07-23T16:30:27.332Z] Commit SHA: 12d02086ee3dc6ebabaf2c20041ebc308d679d46 [2020-07-23T16:30:27.332Z] Message: update stable to v1.0.104 [2020-07-23T16:30:27.911Z] ------------------- [2020-07-23T16:30:27.911Z] experimental info: [2020-07-23T16:30:27.911Z] ------------------- [2020-07-23T16:30:27.911Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-07-23T16:30:27.911Z] Commit SHA: 12d02086ee3dc6ebabaf2c20041ebc308d679d46 [2020-07-23T16:30:27.911Z] Message: update experimental to v1.0.104 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-07-23T16:30:30.295Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-23T16:30:30.296Z] [2020-07-23T16:30:30.296Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-07-23T16:30:30.679Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-23T16:30:30.680Z] latest: Pulling from edgex-devops/git-semver [2020-07-23T16:30:30.680Z] 31603596830f: Pulling fs layer [2020-07-23T16:30:30.680Z] 2a8b12db71e7: Pulling fs layer [2020-07-23T16:30:30.680Z] 6ca5941a6612: Pulling fs layer [2020-07-23T16:30:30.680Z] ecc8261a40a4: Pulling fs layer [2020-07-23T16:30:30.680Z] ecc8261a40a4: Waiting [2020-07-23T16:30:30.680Z] 2a8b12db71e7: Verifying Checksum [2020-07-23T16:30:30.680Z] 2a8b12db71e7: Download complete [2020-07-23T16:30:30.680Z] 31603596830f: Verifying Checksum [2020-07-23T16:30:30.680Z] 31603596830f: Download complete [2020-07-23T16:30:30.945Z] ecc8261a40a4: Verifying Checksum [2020-07-23T16:30:30.945Z] ecc8261a40a4: Download complete [2020-07-23T16:30:30.945Z] 6ca5941a6612: Download complete [2020-07-23T16:30:30.945Z] 31603596830f: Pull complete [2020-07-23T16:30:31.206Z] 2a8b12db71e7: Pull complete [2020-07-23T16:30:31.786Z] 6ca5941a6612: Pull complete [2020-07-23T16:30:32.047Z] ecc8261a40a4: Pull complete [2020-07-23T16:30:32.047Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-07-23T16:30:32.047Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-23T16:30:32.047Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-07-23T16:30:32.162Z] prd-centos7-docker-4c-2g-738 does not seem to be running inside a container [2020-07-23T16:30:32.201Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-285 -v /w/workspace/edgexfoundry_device-sdk-c_PR-285:/w/workspace/edgexfoundry_device-sdk-c_PR-285:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-285@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-285@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-07-23T16:30:34.361Z] $ docker top a6811948b73c1cee966aa9c9fd57d59f0447d1df85db17d8e44acb9dc0b29b7d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-07-23T16:30:34.715Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-23T16:30:34.716Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-23T16:30:34.916Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-23T16:30:34.917Z] $ docker exec a6811948b73c1cee966aa9c9fd57d59f0447d1df85db17d8e44acb9dc0b29b7d ssh-agent [2020-07-23T16:30:35.078Z] SSH_AUTH_SOCK=/tmp/ssh-pgANtFJET65f/agent.13 [2020-07-23T16:30:35.078Z] SSH_AGENT_PID=18 [2020-07-23T16:30:35.088Z] Running ssh-add (command line suppressed) [2020-07-23T16:30:35.199Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-285@tmp/private_key_5789294692755916625.key (/w/workspace/edgexfoundry_device-sdk-c_PR-285@tmp/private_key_5789294692755916625.key) [2020-07-23T16:30:35.247Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-23T16:30:35.604Z] + git describe --exact-match --tags HEAD [2020-07-23T16:30:35.605Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-07-23T16:30:35.720Z] $ docker exec --env ******** --env ******** a6811948b73c1cee966aa9c9fd57d59f0447d1df85db17d8e44acb9dc0b29b7d ssh-agent -k [2020-07-23T16:30:35.836Z] unset SSH_AUTH_SOCK; [2020-07-23T16:30:35.836Z] unset SSH_AGENT_PID; [2020-07-23T16:30:35.836Z] echo Agent pid 18 killed; [2020-07-23T16:30:35.882Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-07-23T16:30:36.018Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-07-23T16:30:36.018Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-07-23T16:30:36.113Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-23T16:30:36.113Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-23T16:30:36.277Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-23T16:30:36.277Z] $ docker exec a6811948b73c1cee966aa9c9fd57d59f0447d1df85db17d8e44acb9dc0b29b7d ssh-agent [2020-07-23T16:30:36.434Z] SSH_AUTH_SOCK=/tmp/ssh-3WoZxZ1BZZpe/agent.47 [2020-07-23T16:30:36.434Z] SSH_AGENT_PID=52 [2020-07-23T16:30:36.440Z] Running ssh-add (command line suppressed) [2020-07-23T16:30:36.551Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-285@tmp/private_key_3355879974211444901.key (/w/workspace/edgexfoundry_device-sdk-c_PR-285@tmp/private_key_3355879974211444901.key) [2020-07-23T16:30:36.605Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-23T16:30:36.966Z] + git semver init [2020-07-23T16:30:36.966Z] # -> Open(): unable to determine branch for HEAD [2020-07-23T16:30:36.966Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-285/.git [2020-07-23T16:30:36.966Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-285 [2020-07-23T16:30:36.966Z] # $SEMVER_REMOTE_NAME = origin [2020-07-23T16:30:36.966Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-07-23T16:30:36.966Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-07-23T16:30:36.966Z] # $SEMVER_BRANCH = PR-285 [2020-07-23T16:30:36.966Z] # $SEMVER_TEMP = /tmp/semver-590018236 [2020-07-23T16:30:36.966Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2020-07-23T16:30:37.542Z] # '/tmp/semver-590018236' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-285/.semver' [2020-07-23T16:30:37.542Z] # -> Force: false [2020-07-23T16:30:37.542Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-285/.semver [Pipeline] } [2020-07-23T16:30:37.559Z] $ docker exec --env ******** --env ******** a6811948b73c1cee966aa9c9fd57d59f0447d1df85db17d8e44acb9dc0b29b7d ssh-agent -k [2020-07-23T16:30:37.678Z] unset SSH_AUTH_SOCK; [2020-07-23T16:30:37.678Z] unset SSH_AGENT_PID; [2020-07-23T16:30:37.678Z] echo Agent pid 52 killed; [2020-07-23T16:30:37.718Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-07-23T16:30:38.248Z] + git semver [Pipeline] } [2020-07-23T16:30:38.272Z] $ docker stop --time=1 a6811948b73c1cee966aa9c9fd57d59f0447d1df85db17d8e44acb9dc0b29b7d [2020-07-23T16:30:40.115Z] $ docker rm -f a6811948b73c1cee966aa9c9fd57d59f0447d1df85db17d8e44acb9dc0b29b7d [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-07-23T16:30:41.009Z] Stashed 35 file(s) [Pipeline] echo [2020-07-23T16:30:41.027Z] [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-07-23T16:30:56.530Z] Still waiting to schedule task [2020-07-23T16:30:56.530Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-07-23T16:30:56.551Z] Still waiting to schedule task [2020-07-23T16:30:56.551Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-07-23T16:32:41.238Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-739 in /w/workspace/edgexfoundry_device-sdk-c_PR-285 [Pipeline] { [Pipeline] ws [2020-07-23T16:32:41.558Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2020-07-23T16:32:46.097Z] using credential edgex-jenkins-ssh [2020-07-23T16:32:46.151Z] Cloning the remote Git repository [2020-07-23T16:32:46.151Z] Cloning with configured refspecs honoured and without tags [2020-07-23T16:32:46.204Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-07-23T16:32:46.307Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2020-07-23T16:32:46.394Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-07-23T16:32:46.395Z] > git --version # timeout=10 [2020-07-23T16:32:46.412Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-23T16:32:46.480Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/285/head:refs/remotes/origin/PR-285 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-23T16:32:47.460Z] Fetching without tags [2020-07-23T16:32:47.379Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-07-23T16:32:47.400Z] > git config --add remote.origin.fetch +refs/pull/285/head:refs/remotes/origin/PR-285 # timeout=10 [2020-07-23T16:32:47.421Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-23T16:32:47.441Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-07-23T16:32:47.466Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-07-23T16:32:47.467Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-23T16:32:47.479Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/285/head:refs/remotes/origin/PR-285 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-23T16:32:47.972Z] Merging remotes/origin/master commit feadb86bacbe0d21fda66ef6cfc7f5b973e1d88c into PR head commit 9ac00a8289218e9dd44205c0721247e224b5af00 [2020-07-23T16:32:48.188Z] Merge succeeded, producing 9ac00a8289218e9dd44205c0721247e224b5af00 [2020-07-23T16:32:48.188Z] Checking out Revision 9ac00a8289218e9dd44205c0721247e224b5af00 (PR-285) [2020-07-23T16:32:47.987Z] > git config core.sparsecheckout # timeout=10 [2020-07-23T16:32:48.006Z] > git checkout -f 9ac00a8289218e9dd44205c0721247e224b5af00 # timeout=10 [2020-07-23T16:32:48.110Z] > git remote # timeout=10 [2020-07-23T16:32:48.127Z] > git config --get remote.origin.url # timeout=10 [2020-07-23T16:32:48.139Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-23T16:32:48.150Z] > git merge feadb86bacbe0d21fda66ef6cfc7f5b973e1d88c # timeout=10 [2020-07-23T16:32:48.170Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-07-23T16:32:48.190Z] > git config core.sparsecheckout # timeout=10 [2020-07-23T16:32:48.217Z] > git checkout -f 9ac00a8289218e9dd44205c0721247e224b5af00 # timeout=10 [2020-07-23T16:32:52.432Z] Commit message: "refac: reorder shutdown sequence (#284)" [2020-07-23T16:32:52.483Z] > git --version # timeout=10 [2020-07-23T16:32:52.510Z] fatal: bad object 12d02086ee3dc6ebabaf2c20041ebc308d679d46 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-07-23T16:32:54.077Z] ========================================================= [2020-07-23T16:32:54.078Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2020-07-23T16:32:54.078Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-23T16:32:55.142Z] + 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-07-23T16:32:56.122Z] Sending build context to Docker daemon 3.424MB [2020-07-23T16:32:56.122Z] Step 1/21 : ARG BASE=alpine:3.11 [2020-07-23T16:32:56.122Z] Step 2/21 : FROM ${BASE} as builder [2020-07-23T16:32:56.721Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2020-07-23T16:32:56.721Z] 0362ad1dd800: Pulling fs layer [2020-07-23T16:32:56.721Z] f2cdb1532d8b: Pulling fs layer [2020-07-23T16:32:56.721Z] 37ed683be191: Pulling fs layer [2020-07-23T16:32:56.721Z] f2cdb1532d8b: Verifying Checksum [2020-07-23T16:32:56.721Z] f2cdb1532d8b: Download complete [2020-07-23T16:32:56.721Z] 0362ad1dd800: Verifying Checksum [2020-07-23T16:32:56.721Z] 0362ad1dd800: Download complete [2020-07-23T16:32:57.707Z] 0362ad1dd800: Pull complete [2020-07-23T16:32:57.982Z] f2cdb1532d8b: Pull complete [2020-07-23T16:32:58.963Z] 37ed683be191: Verifying Checksum [2020-07-23T16:32:58.963Z] 37ed683be191: Download complete [2020-07-23T16:33:09.120Z] 37ed683be191: Pull complete [2020-07-23T16:33:09.120Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2020-07-23T16:33:09.120Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2020-07-23T16:33:09.120Z] ---> b23d30803547 [2020-07-23T16:33:09.120Z] 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-07-23T16:33:09.709Z] ---> Running in 93c80da38615 [2020-07-23T16:33:11.136Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-07-23T16:33:12.110Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-07-23T16:33:12.381Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-07-23T16:33:12.381Z] (2/8) Installing libuuid (2.33-r0) [2020-07-23T16:33:12.381Z] (3/8) Installing libblkid (2.33-r0) [2020-07-23T16:33:13.353Z] (4/8) Installing libfdisk (2.33-r0) [2020-07-23T16:33:14.320Z] (5/8) Installing libmount (2.33-r0) [2020-07-23T16:33:14.320Z] (6/8) Installing libsmartcols (2.33-r0) [2020-07-23T16:33:14.320Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-07-23T16:33:14.917Z] (8/8) Installing wget (1.20.3-r0) [2020-07-23T16:33:14.917Z] Executing busybox-1.29.3-r10.trigger [2020-07-23T16:33:14.917Z] OK: 285 MiB in 83 packages [2020-07-23T16:33:16.345Z] Removing intermediate container 93c80da38615 [2020-07-23T16:33:16.345Z] ---> b391da48df73 [2020-07-23T16:33:16.345Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-07-23T16:33:16.617Z] ---> Running in 45eca13f9fe4 [2020-07-23T16:33:16.890Z] Removing intermediate container 45eca13f9fe4 [2020-07-23T16:33:16.890Z] ---> e9d94ffc4dfd [2020-07-23T16:33:16.890Z] 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-07-23T16:33:17.163Z] ---> Running in 7aa542970e82 [2020-07-23T16:33:18.597Z] --2020-07-23 16:33:18-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-07-23T16:33:18.597Z] Resolving github.com... 140.82.113.4 [2020-07-23T16:33:18.597Z] Connecting to github.com|140.82.113.4|:443... connected. [2020-07-23T16:33:18.867Z] HTTP request sent, awaiting response... 302 Found [2020-07-23T16:33:18.867Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-07-23T16:33:18.867Z] --2020-07-23 16:33:18-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-07-23T16:33:18.867Z] Resolving codeload.github.com... 140.82.114.10 [2020-07-23T16:33:18.867Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2020-07-23T16:33:19.140Z] HTTP request sent, awaiting response... 200 OK [2020-07-23T16:33:19.140Z] Length: unspecified [application/x-gzip] [2020-07-23T16:33:19.140Z] Saving to: 'STDOUT' [2020-07-23T16:33:19.140Z]  [2020-07-23T16:33:19.140Z] 0K .......... .......... .......... .......... .......... 1.51M [2020-07-23T16:33:19.140Z] 50K .......... .......... .......... .......... .......... 2.91M [2020-07-23T16:33:19.140Z] 100K .......... .......... .......... .......... .......... 3.22M [2020-07-23T16:33:19.140Z] 150K .......... .......... .......... .......... .......... 9.72M [2020-07-23T16:33:19.140Z] 200K .......... .......... .......... .......... .......... 10.4M [2020-07-23T16:33:19.140Z] 250K .......... .......... .......... .......... .......... 3.97M [2020-07-23T16:33:19.140Z] 300K .......... .......... .......... .......... .......... 4.23M [2020-07-23T16:33:19.140Z] 350K .......... .......... .......... .......... .......... 4.70M [2020-07-23T16:33:19.140Z] 400K .......... .......... .......... .......... .......... 3.36M [2020-07-23T16:33:19.140Z] 450K .......... .......... .......... .......... .......... 4.72M [2020-07-23T16:33:19.140Z] 500K .......... .......... .......... .......... .......... 6.82M [2020-07-23T16:33:19.140Z] 550K .......... .......... .......... .......... .......... 1.79M [2020-07-23T16:33:19.140Z] 600K .......... .......... .......... .......... .......... 979K [2020-07-23T16:33:19.415Z] 650K .......... .......... .......... .......... .......... 1.88M [2020-07-23T16:33:19.415Z] 700K ..                      2.23M=0.2s [2020-07-23T16:33:19.415Z] [2020-07-23T16:33:19.415Z] 2020-07-23 16:33:19 (2.79 MB/s) - written to stdout [719348] [2020-07-23T16:33:19.415Z] [2020-07-23T16:33:19.685Z] -- The C compiler identification is GNU 8.3.0 [2020-07-23T16:33:19.957Z] -- The CXX compiler identification is GNU 8.3.0 [2020-07-23T16:33:19.957Z] -- Check for working C compiler: /usr/bin/cc [2020-07-23T16:33:19.957Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-07-23T16:33:19.957Z] -- Detecting C compiler ABI info [2020-07-23T16:33:20.228Z] -- Detecting C compiler ABI info - done [2020-07-23T16:33:20.499Z] -- Detecting C compile features [2020-07-23T16:33:21.090Z] -- Detecting C compile features - done [2020-07-23T16:33:21.090Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-07-23T16:33:21.362Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-07-23T16:33:21.362Z] -- Detecting CXX compiler ABI info [2020-07-23T16:33:21.640Z] -- Detecting CXX compiler ABI info - done [2020-07-23T16:33:21.640Z] -- Detecting CXX compile features [2020-07-23T16:33:23.073Z] -- Detecting CXX compile features - done [2020-07-23T16:33:23.073Z] -- Looking for include file endian.h [2020-07-23T16:33:23.344Z] -- Looking for include file endian.h - found [2020-07-23T16:33:23.344Z] -- Check if the system is big endian [2020-07-23T16:33:23.344Z] -- Searching 16 bit integer [2020-07-23T16:33:23.344Z] -- Looking for sys/types.h [2020-07-23T16:33:23.617Z] -- Looking for sys/types.h - found [2020-07-23T16:33:23.617Z] -- Looking for stdint.h [2020-07-23T16:33:23.888Z] -- Looking for stdint.h - found [2020-07-23T16:33:23.888Z] -- Looking for stddef.h [2020-07-23T16:33:24.159Z] -- Looking for stddef.h - found [2020-07-23T16:33:24.159Z] -- Check size of unsigned short [2020-07-23T16:33:24.432Z] -- Check size of unsigned short - done [2020-07-23T16:33:24.432Z] -- Using unsigned short [2020-07-23T16:33:24.712Z] -- Check if the system is big endian - little endian [2020-07-23T16:33:24.712Z] -- Check size of size_t [2020-07-23T16:33:24.985Z] -- Check size of size_t - done [2020-07-23T16:33:24.985Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-07-23T16:33:24.985Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-07-23T16:33:24.985Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-07-23T16:33:24.985Z] CMake did not find one. [2020-07-23T16:33:24.985Z] [2020-07-23T16:33:24.985Z] Could not find a package configuration file provided by "cJSON" with any of [2020-07-23T16:33:24.985Z] the following names: [2020-07-23T16:33:24.985Z] [2020-07-23T16:33:24.985Z] cJSONConfig.cmake [2020-07-23T16:33:24.985Z] cjson-config.cmake [2020-07-23T16:33:24.985Z] [2020-07-23T16:33:24.985Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-07-23T16:33:24.985Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-07-23T16:33:24.985Z] provides a separate development package or SDK, be sure it has been [2020-07-23T16:33:24.985Z] installed. [2020-07-23T16:33:24.985Z] [2020-07-23T16:33:24.985Z] [2020-07-23T16:33:24.985Z] -- Configuring done [2020-07-23T16:33:25.260Z] -- Generating done [2020-07-23T16:33:25.260Z] -- Build files have been written to: /tmp/cbor [2020-07-23T16:33:25.260Z] Scanning dependencies of target cbor_shared [2020-07-23T16:33:25.260Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-07-23T16:33:26.231Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-07-23T16:33:26.826Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-07-23T16:33:26.826Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-07-23T16:33:27.419Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-07-23T16:33:27.694Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-07-23T16:33:27.966Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-07-23T16:33:28.175Z] Running on prd-centos7-docker-4c-2g-740 in /w/workspace/edgexfoundry_device-sdk-c_PR-285 [Pipeline] { [2020-07-23T16:33:28.237Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-07-23T16:33:28.237Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [Pipeline] ws [2020-07-23T16:33:28.247Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2020-07-23T16:33:28.838Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-07-23T16:33:29.108Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-07-23T16:33:29.388Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-07-23T16:33:29.981Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-07-23T16:33:30.252Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-07-23T16:33:30.425Z] using credential edgex-jenkins-ssh [2020-07-23T16:33:30.476Z] Cloning the remote Git repository [2020-07-23T16:33:30.476Z] Cloning with configured refspecs honoured and without tags [2020-07-23T16:33:30.528Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-07-23T16:33:30.528Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-07-23T16:33:30.508Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-07-23T16:33:30.580Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2020-07-23T16:33:30.622Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-07-23T16:33:30.622Z] > git --version # timeout=10 [2020-07-23T16:33:30.631Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-23T16:33:30.656Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/285/head:refs/remotes/origin/PR-285 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-23T16:33:31.123Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-07-23T16:33:31.123Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-07-23T16:33:31.241Z] Fetching without tags [2020-07-23T16:33:31.393Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-07-23T16:33:31.651Z] Merging remotes/origin/master commit feadb86bacbe0d21fda66ef6cfc7f5b973e1d88c into PR head commit 9ac00a8289218e9dd44205c0721247e224b5af00 [2020-07-23T16:33:31.666Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-07-23T16:33:31.737Z] Merge succeeded, producing 9ac00a8289218e9dd44205c0721247e224b5af00 [2020-07-23T16:33:31.738Z] Checking out Revision 9ac00a8289218e9dd44205c0721247e224b5af00 (PR-285) [2020-07-23T16:33:31.203Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-07-23T16:33:31.212Z] > git config --add remote.origin.fetch +refs/pull/285/head:refs/remotes/origin/PR-285 # timeout=10 [2020-07-23T16:33:31.219Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-23T16:33:31.229Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-07-23T16:33:31.239Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-07-23T16:33:31.239Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-23T16:33:31.243Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/285/head:refs/remotes/origin/PR-285 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-23T16:33:31.653Z] > git config core.sparsecheckout # timeout=10 [2020-07-23T16:33:31.658Z] > git checkout -f 9ac00a8289218e9dd44205c0721247e224b5af00 # timeout=10 [2020-07-23T16:33:31.704Z] > git remote # timeout=10 [2020-07-23T16:33:31.709Z] > git config --get remote.origin.url # timeout=10 [2020-07-23T16:33:31.714Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-23T16:33:31.718Z] > git merge feadb86bacbe0d21fda66ef6cfc7f5b973e1d88c # timeout=10 [2020-07-23T16:33:31.727Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-07-23T16:33:31.735Z] > git config core.sparsecheckout # timeout=10 [2020-07-23T16:33:31.740Z] > git checkout -f 9ac00a8289218e9dd44205c0721247e224b5af00 # timeout=10 [2020-07-23T16:33:31.936Z] [ 40%] Linking C shared library libcbor.so [2020-07-23T16:33:31.936Z] [ 40%] Built target cbor_shared [2020-07-23T16:33:31.936Z] Scanning dependencies of target cbor [2020-07-23T16:33:31.936Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-07-23T16:33:32.909Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-07-23T16:33:33.502Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-07-23T16:33:33.502Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-07-23T16:33:34.934Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-07-23T16:33:34.934Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-07-23T16:33:35.206Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-07-23T16:33:35.206Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-07-23T16:33:35.329Z] Commit message: "refac: reorder shutdown sequence (#284)" [2020-07-23T16:33:35.348Z] > git --version # timeout=10 [2020-07-23T16:33:35.359Z] fatal: bad object 12d02086ee3dc6ebabaf2c20041ebc308d679d46 [2020-07-23T16:33:35.480Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [Pipeline] withEnv [2020-07-23T16:33:35.752Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-07-23T16:33:36.318Z] ========================================================= [2020-07-23T16:33:36.318Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2020-07-23T16:33:36.318Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-23T16:33:36.728Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-07-23T16:33:36.728Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-07-23T16:33:37.018Z] + 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-07-23T16:33:37.280Z] Sending build context to Docker daemon 3.424MB [2020-07-23T16:33:37.280Z] Step 1/21 : ARG BASE=alpine:3.11 [2020-07-23T16:33:37.280Z] Step 2/21 : FROM ${BASE} as builder [2020-07-23T16:33:37.280Z] latest: Pulling from edgex-devops/edgex-gcc-base [2020-07-23T16:33:37.280Z] e7c96db7181b: Pulling fs layer [2020-07-23T16:33:37.280Z] 4c13bbce0fe7: Pulling fs layer [2020-07-23T16:33:37.280Z] 6059c847ac2f: Pulling fs layer [2020-07-23T16:33:37.280Z] 4c13bbce0fe7: Verifying Checksum [2020-07-23T16:33:37.280Z] 4c13bbce0fe7: Download complete [2020-07-23T16:33:37.280Z] e7c96db7181b: Verifying Checksum [2020-07-23T16:33:37.280Z] e7c96db7181b: Download complete [2020-07-23T16:33:37.317Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-07-23T16:33:37.547Z] e7c96db7181b: Pull complete [2020-07-23T16:33:37.588Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-07-23T16:33:37.813Z] 4c13bbce0fe7: Pull complete [2020-07-23T16:33:37.858Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-07-23T16:33:38.130Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-07-23T16:33:38.388Z] 6059c847ac2f: Verifying Checksum [2020-07-23T16:33:38.388Z] 6059c847ac2f: Download complete [2020-07-23T16:33:38.402Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-07-23T16:33:38.673Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-07-23T16:33:38.944Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-07-23T16:33:39.216Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-07-23T16:33:39.216Z] [ 80%] Linking C static library libcbor.a [2020-07-23T16:33:39.487Z] [ 80%] Built target cbor [2020-07-23T16:33:39.487Z] Scanning dependencies of target create_items [2020-07-23T16:33:39.487Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-07-23T16:33:39.760Z] [ 84%] Linking C executable create_items [2020-07-23T16:33:39.760Z] [ 84%] Built target create_items [2020-07-23T16:33:39.760Z] Scanning dependencies of target readfile [2020-07-23T16:33:39.760Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-07-23T16:33:40.031Z] [ 88%] Linking C executable readfile [2020-07-23T16:33:40.031Z] [ 88%] Built target readfile [2020-07-23T16:33:40.031Z] Scanning dependencies of target streaming_parser [2020-07-23T16:33:40.031Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-07-23T16:33:40.303Z] [ 92%] Linking C executable streaming_parser [2020-07-23T16:33:40.303Z] [ 92%] Built target streaming_parser [2020-07-23T16:33:40.303Z] Scanning dependencies of target sort [2020-07-23T16:33:40.575Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-07-23T16:33:40.575Z] [ 96%] Linking C executable sort [2020-07-23T16:33:40.847Z] [ 96%] Built target sort [2020-07-23T16:33:40.848Z] Scanning dependencies of target hello [2020-07-23T16:33:40.848Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-07-23T16:33:40.848Z] [100%] Linking C executable hello [2020-07-23T16:33:41.119Z] [100%] Built target hello [2020-07-23T16:33:41.119Z] Install the project... [2020-07-23T16:33:41.119Z] -- Install configuration: "Release" [2020-07-23T16:33:41.119Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-07-23T16:33:41.119Z] -- Installing: /usr/local/lib64/libcbor.a [2020-07-23T16:33:41.119Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-07-23T16:33:41.119Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-07-23T16:33:41.119Z] -- Installing: /usr/local/lib64/libcbor.so [2020-07-23T16:33:41.119Z] -- Up-to-date: /usr/local/include/cbor [2020-07-23T16:33:41.119Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-07-23T16:33:41.119Z] -- Installing: /usr/local/include/cbor/ints.h [2020-07-23T16:33:41.119Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-07-23T16:33:41.119Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-07-23T16:33:41.119Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-07-23T16:33:41.119Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-07-23T16:33:41.119Z] -- Installing: /usr/local/include/cbor/data.h [2020-07-23T16:33:41.119Z] -- Installing: /usr/local/include/cbor/common.h [2020-07-23T16:33:41.119Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-07-23T16:33:41.119Z] -- Installing: /usr/local/include/cbor/strings.h [2020-07-23T16:33:41.119Z] -- Installing: /usr/local/include/cbor/tags.h [2020-07-23T16:33:41.119Z] -- Installing: /usr/local/include/cbor/internal [2020-07-23T16:33:41.119Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-07-23T16:33:41.119Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-07-23T16:33:41.119Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-07-23T16:33:41.119Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-07-23T16:33:41.119Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-07-23T16:33:41.119Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-07-23T16:33:41.119Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-07-23T16:33:41.119Z] -- Installing: /usr/local/include/cbor/maps.h [2020-07-23T16:33:41.119Z] -- Installing: /usr/local/include/cbor.h [2020-07-23T16:33:41.119Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-07-23T16:33:42.633Z] 6059c847ac2f: Pull complete [2020-07-23T16:33:42.633Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2020-07-23T16:33:42.633Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2020-07-23T16:33:42.633Z] ---> 5eabd8fd8ba2 [2020-07-23T16:33:42.633Z] 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-07-23T16:33:43.084Z] Removing intermediate container 7aa542970e82 [2020-07-23T16:33:43.084Z] ---> db0e46341072 [2020-07-23T16:33:43.084Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-07-23T16:33:43.357Z] ---> Running in 0eb4ebe3e362 [2020-07-23T16:33:44.088Z] ---> Running in f2a637db4448 [2020-07-23T16:33:44.662Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-07-23T16:33:45.234Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-07-23T16:33:45.494Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-07-23T16:33:45.754Z] (2/8) Installing libuuid (2.33-r0) [2020-07-23T16:33:45.754Z] (3/8) Installing libblkid (2.33-r0) [2020-07-23T16:33:45.755Z] (4/8) Installing libfdisk (2.33-r0) [2020-07-23T16:33:45.970Z] Removing intermediate container 0eb4ebe3e362 [2020-07-23T16:33:45.970Z] ---> 68f8c6bda85b [2020-07-23T16:33:45.970Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-07-23T16:33:46.023Z] (5/8) Installing libmount (2.33-r0) [2020-07-23T16:33:46.023Z] (6/8) Installing libsmartcols (2.33-r0) [2020-07-23T16:33:46.023Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-07-23T16:33:46.564Z] ---> a31b501f4177 [2020-07-23T16:33:46.564Z] Step 8/21 : COPY src /tmp/sdk/src [2020-07-23T16:33:46.596Z] (8/8) Installing wget (1.20.3-r0) [2020-07-23T16:33:46.596Z] Executing busybox-1.29.3-r10.trigger [2020-07-23T16:33:46.596Z] OK: 272 MiB in 83 packages [2020-07-23T16:33:47.173Z] Removing intermediate container f2a637db4448 [2020-07-23T16:33:47.173Z] ---> 9c10193a13ae [2020-07-23T16:33:47.174Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-07-23T16:33:47.174Z] ---> Running in 7b14bbcf658d [2020-07-23T16:33:47.438Z] Removing intermediate container 7b14bbcf658d [2020-07-23T16:33:47.438Z] ---> e001c82c0c73 [2020-07-23T16:33:47.438Z] 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-07-23T16:33:47.438Z] ---> Running in 6796036cb145 [2020-07-23T16:33:47.541Z] ---> e1873e76443b [2020-07-23T16:33:47.541Z] Step 9/21 : COPY include /tmp/sdk/include [2020-07-23T16:33:48.136Z] ---> 5e0a78db67f9 [2020-07-23T16:33:48.136Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-07-23T16:33:48.391Z] --2020-07-23 16:33:48-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-07-23T16:33:48.391Z] Resolving github.com... 140.82.113.4 [2020-07-23T16:33:48.391Z] Connecting to github.com|140.82.113.4|:443... connected. [2020-07-23T16:33:48.391Z] HTTP request sent, awaiting response... 302 Found [2020-07-23T16:33:48.391Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-07-23T16:33:48.391Z] --2020-07-23 16:33:48-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-07-23T16:33:48.391Z] Resolving codeload.github.com... 140.82.114.10 [2020-07-23T16:33:48.391Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2020-07-23T16:33:48.391Z] HTTP request sent, awaiting response... 200 OK [2020-07-23T16:33:48.391Z] Length: unspecified [application/x-gzip] [2020-07-23T16:33:48.391Z] Saving to: 'STDOUT' [2020-07-23T16:33:48.391Z]  [2020-07-23T16:33:48.652Z] 0K .......... .......... .......... .......... .......... 1.61M [2020-07-23T16:33:48.652Z] 50K .......... .......... .......... .......... .......... 5.65M [2020-07-23T16:33:48.652Z] 100K .......... .......... .......... .......... .......... 6.61M [2020-07-23T16:33:48.652Z] 150K .......... .......... .......... .......... .......... 6.60M [2020-07-23T16:33:48.652Z] 200K .......... .......... .......... .......... .......... 5.97M [2020-07-23T16:33:48.652Z] 250K .......... .......... .......... .......... .......... 12.1M [2020-07-23T16:33:48.652Z] 300K .......... .......... .......... .......... .......... 10.5M [2020-07-23T16:33:48.652Z] 350K .......... .......... .......... .......... .......... 7.99M [2020-07-23T16:33:48.652Z] 400K .......... .......... .......... .......... .......... 9.71M [2020-07-23T16:33:48.652Z] 450K .......... .......... .......... .......... .......... 5.23M [2020-07-23T16:33:48.652Z] 500K .......... .......... .......... .......... .......... 14.7M [2020-07-23T16:33:48.652Z] 550K .......... .......... .......... .......... .......... 6.39M [2020-07-23T16:33:48.652Z] 600K .......... .......... .......... .......... .......... 2.07M [2020-07-23T16:33:48.652Z] 650K .......... .......... .......... .......... .......... 3.88M [2020-07-23T16:33:48.652Z] 700K .. 43.7M=0.1s [2020-07-23T16:33:48.652Z] [2020-07-23T16:33:48.652Z] 2020-07-23 16:33:48 (4.96 MB/s) - written to stdout [719348] [2020-07-23T16:33:48.652Z] [2020-07-23T16:33:48.652Z] -- The C compiler identification is GNU 8.3.0 [2020-07-23T16:33:48.730Z] ---> e34e2bd1a33f [2020-07-23T16:33:48.730Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-07-23T16:33:48.913Z] -- The CXX compiler identification is GNU 8.3.0 [2020-07-23T16:33:48.914Z] -- Check for working C compiler: /usr/bin/cc [2020-07-23T16:33:48.914Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-07-23T16:33:48.914Z] -- Detecting C compiler ABI info [2020-07-23T16:33:48.914Z] -- Detecting C compiler ABI info - done [2020-07-23T16:33:48.914Z] -- Detecting C compile features [2020-07-23T16:33:49.175Z] -- Detecting C compile features - done [2020-07-23T16:33:49.175Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-07-23T16:33:49.332Z] ---> 545d737c91b5 [2020-07-23T16:33:49.332Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-07-23T16:33:49.438Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-07-23T16:33:49.438Z] -- Detecting CXX compiler ABI info [2020-07-23T16:33:49.438Z] -- Detecting CXX compiler ABI info - done [2020-07-23T16:33:49.438Z] -- Detecting CXX compile features [2020-07-23T16:33:49.925Z] ---> 55360a508f50 [2020-07-23T16:33:49.925Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-07-23T16:33:50.010Z] -- Detecting CXX compile features - done [2020-07-23T16:33:50.010Z] -- Looking for include file endian.h [2020-07-23T16:33:50.010Z] -- Looking for include file endian.h - found [2020-07-23T16:33:50.010Z] -- Check if the system is big endian [2020-07-23T16:33:50.010Z] -- Searching 16 bit integer [2020-07-23T16:33:50.010Z] -- Looking for sys/types.h [2020-07-23T16:33:50.010Z] -- Looking for sys/types.h - found [2020-07-23T16:33:50.010Z] -- Looking for stdint.h [2020-07-23T16:33:50.010Z] -- Looking for stdint.h - found [2020-07-23T16:33:50.010Z] -- Looking for stddef.h [2020-07-23T16:33:50.196Z] ---> Running in 286ffaa64cd3 [2020-07-23T16:33:50.273Z] -- Looking for stddef.h - found [2020-07-23T16:33:50.273Z] -- Check size of unsigned short [2020-07-23T16:33:50.273Z] -- Check size of unsigned short - done [2020-07-23T16:33:50.273Z] -- Using unsigned short [2020-07-23T16:33:50.273Z] -- Check if the system is big endian - little endian [2020-07-23T16:33:50.273Z] -- Check size of size_t [2020-07-23T16:33:50.538Z] -- Check size of size_t - done [2020-07-23T16:33:50.538Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-07-23T16:33:50.538Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-07-23T16:33:50.538Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-07-23T16:33:50.538Z] CMake did not find one. [2020-07-23T16:33:50.538Z] [2020-07-23T16:33:50.538Z] Could not find a package configuration file provided by "cJSON" with any of [2020-07-23T16:33:50.538Z] the following names: [2020-07-23T16:33:50.538Z] [2020-07-23T16:33:50.538Z] cJSONConfig.cmake [2020-07-23T16:33:50.538Z] cjson-config.cmake [2020-07-23T16:33:50.538Z] [2020-07-23T16:33:50.538Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-07-23T16:33:50.538Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-07-23T16:33:50.538Z] provides a separate development package or SDK, be sure it has been [2020-07-23T16:33:50.538Z] installed. [2020-07-23T16:33:50.538Z] [2020-07-23T16:33:50.538Z] [2020-07-23T16:33:50.538Z] -- Configuring done [2020-07-23T16:33:50.538Z] -- Generating done [2020-07-23T16:33:50.538Z] -- Build files have been written to: /tmp/cbor [2020-07-23T16:33:50.538Z] Scanning dependencies of target cbor_shared [2020-07-23T16:33:50.538Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-07-23T16:33:50.799Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-07-23T16:33:50.799Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-07-23T16:33:51.060Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-07-23T16:33:51.060Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-07-23T16:33:51.060Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-07-23T16:33:51.322Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-07-23T16:33:51.322Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-07-23T16:33:51.322Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-07-23T16:33:51.322Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-07-23T16:33:51.584Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-07-23T16:33:51.584Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-07-23T16:33:51.619Z] + CPPCHECK=false [2020-07-23T16:33:51.619Z] + DOCGEN=false [2020-07-23T16:33:51.619Z] + TOMLVER=SDK-0.2 [2020-07-23T16:33:51.619Z] + CUTILVER=1.1-branch [2020-07-23T16:33:51.619Z] + '[' 0 -gt 0 ] [2020-07-23T16:33:51.619Z] + readlink -f ./scripts/build.sh [2020-07-23T16:33:51.619Z] + dirname /tmp/sdk/scripts/build.sh [2020-07-23T16:33:51.619Z] + dirname /tmp/sdk/scripts [2020-07-23T16:33:51.619Z] + ROOT=/tmp/sdk [2020-07-23T16:33:51.619Z] + cd /tmp/sdk [2020-07-23T16:33:51.619Z] + '[' '!' -d deps ] [2020-07-23T16:33:51.619Z] + mkdir deps [2020-07-23T16:33:51.619Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-07-23T16:33:51.619Z] + tar -C deps -z -x -f - [2020-07-23T16:33:51.619Z] --2020-07-23 16:33:51-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-07-23T16:33:51.619Z] Resolving github.com... 140.82.113.4 [2020-07-23T16:33:51.619Z] Connecting to github.com|140.82.113.4|:443... connected. [2020-07-23T16:33:51.619Z] HTTP request sent, awaiting response... 302 Found [2020-07-23T16:33:51.619Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-07-23T16:33:51.619Z] --2020-07-23 16:33:51-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-07-23T16:33:51.619Z] Resolving codeload.github.com... 140.82.114.10 [2020-07-23T16:33:51.619Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2020-07-23T16:33:51.619Z] HTTP request sent, awaiting response... 200 OK [2020-07-23T16:33:51.619Z] Length: unspecified [application/x-gzip] [2020-07-23T16:33:51.619Z] Saving to: 'STDOUT' [2020-07-23T16:33:51.619Z]  [2020-07-23T16:33:51.619Z] 0K .......... ......   1.09M=0.01s [2020-07-23T16:33:51.619Z] [2020-07-23T16:33:51.619Z] 2020-07-23 16:33:51 (1.09 MB/s) - written to stdout [16451] [2020-07-23T16:33:51.619Z] [2020-07-23T16:33:51.846Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-07-23T16:33:51.846Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-07-23T16:33:51.846Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-07-23T16:33:51.846Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-07-23T16:33:51.889Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-07-23T16:33:51.889Z] + tar -C deps -z -x -f - [2020-07-23T16:33:51.889Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1-branch.tar.gz [2020-07-23T16:33:51.889Z] --2020-07-23 16:33:51-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1-branch.tar.gz [2020-07-23T16:33:51.889Z] Resolving github.com... 140.82.113.4 [2020-07-23T16:33:51.889Z] Connecting to github.com|140.82.113.4|:443... connected. [2020-07-23T16:33:52.112Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-07-23T16:33:52.112Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-07-23T16:33:52.112Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-07-23T16:33:52.158Z] HTTP request sent, awaiting response... 302 Found [2020-07-23T16:33:52.158Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1-branch [following] [2020-07-23T16:33:52.158Z] --2020-07-23 16:33:52-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1-branch [2020-07-23T16:33:52.158Z] Resolving codeload.github.com... 140.82.114.10 [2020-07-23T16:33:52.158Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2020-07-23T16:33:52.374Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-07-23T16:33:52.374Z] [ 40%] Linking C shared library libcbor.so [2020-07-23T16:33:52.374Z] [ 40%] Built target cbor_shared [2020-07-23T16:33:52.374Z] Scanning dependencies of target cbor [2020-07-23T16:33:52.374Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-07-23T16:33:52.430Z] HTTP request sent, awaiting response... 200 OK [2020-07-23T16:33:52.430Z] Length: unspecified [application/x-gzip] [2020-07-23T16:33:52.430Z] Saving to: 'STDOUT' [2020-07-23T16:33:52.430Z] [2020-07-23T16:33:52.430Z] 0K .......... .......... .......... .......... .......... 1.60M [2020-07-23T16:33:52.430Z] 50K .......... .......... .......... .......... .......... 3.04M [2020-07-23T16:33:52.430Z] 100K .......... .......... .......... .......... .......... 4.52M [2020-07-23T16:33:52.430Z] 150K .......... .....   1.84M=0.07s [2020-07-23T16:33:52.430Z] [2020-07-23T16:33:52.430Z] 2020-07-23 16:33:52 (2.47 MB/s) - written to stdout [169364] [2020-07-23T16:33:52.430Z] [2020-07-23T16:33:52.430Z] + mkdir -p src/c/iot [2020-07-23T16:33:52.430Z] + cp deps/iotech-c-utils-1.1-branch/src/c/base64.c deps/iotech-c-utils-1.1-branch/src/c/component.c deps/iotech-c-utils-1.1-branch/src/c/config.c deps/iotech-c-utils-1.1-branch/src/c/container.c deps/iotech-c-utils-1.1-branch/src/c/data.c deps/iotech-c-utils-1.1-branch/src/c/hash.c deps/iotech-c-utils-1.1-branch/src/c/iot.c deps/iotech-c-utils-1.1-branch/src/c/json.c deps/iotech-c-utils-1.1-branch/src/c/logger.c deps/iotech-c-utils-1.1-branch/src/c/os.c deps/iotech-c-utils-1.1-branch/src/c/scheduler.c deps/iotech-c-utils-1.1-branch/src/c/thread.c deps/iotech-c-utils-1.1-branch/src/c/threadpool.c deps/iotech-c-utils-1.1-branch/src/c/time.c src/c/iot [2020-07-23T16:33:52.430Z] + mkdir -p include/iot [2020-07-23T16:33:52.430Z] + cp deps/iotech-c-utils-1.1-branch/include/iot/base64.h deps/iotech-c-utils-1.1-branch/include/iot/component.h deps/iotech-c-utils-1.1-branch/include/iot/config.h deps/iotech-c-utils-1.1-branch/include/iot/container.h deps/iotech-c-utils-1.1-branch/include/iot/data.h deps/iotech-c-utils-1.1-branch/include/iot/hash.h deps/iotech-c-utils-1.1-branch/include/iot/iot.h deps/iotech-c-utils-1.1-branch/include/iot/json.h deps/iotech-c-utils-1.1-branch/include/iot/logger.h deps/iotech-c-utils-1.1-branch/include/iot/os.h deps/iotech-c-utils-1.1-branch/include/iot/scheduler.h deps/iotech-c-utils-1.1-branch/include/iot/thread.h deps/iotech-c-utils-1.1-branch/include/iot/threadpool.h deps/iotech-c-utils-1.1-branch/include/iot/time.h deps/iotech-c-utils-1.1-branch/include/iot/typecode.h include/iot [2020-07-23T16:33:52.430Z] + mkdir -p include/iot/os [2020-07-23T16:33:52.430Z] + cp deps/iotech-c-utils-1.1-branch/include/iot/os/linux.h deps/iotech-c-utils-1.1-branch/include/iot/os/macos.h deps/iotech-c-utils-1.1-branch/include/iot/os/zephyr.h include/iot/os [2020-07-23T16:33:52.430Z] + mkdir -p /tmp/sdk/build/release [2020-07-23T16:33:52.430Z] + cd /tmp/sdk/build/release [2020-07-23T16:33:52.430Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-07-23T16:33:52.637Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-07-23T16:33:52.637Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-07-23T16:33:52.705Z] -- The C compiler identification is GNU 8.3.0 [2020-07-23T16:33:52.899Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-07-23T16:33:53.001Z] -- Check for working C compiler: /usr/bin/cc [2020-07-23T16:33:53.001Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-07-23T16:33:53.001Z] -- Detecting C compiler ABI info [2020-07-23T16:33:53.163Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-07-23T16:33:53.163Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-07-23T16:33:53.163Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-07-23T16:33:53.163Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-07-23T16:33:53.275Z] -- Detecting C compiler ABI info - done [2020-07-23T16:33:53.275Z] -- Detecting C compile features [2020-07-23T16:33:53.424Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-07-23T16:33:53.424Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-07-23T16:33:53.685Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-07-23T16:33:53.685Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-07-23T16:33:53.685Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-07-23T16:33:53.949Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-07-23T16:33:53.949Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-07-23T16:33:53.949Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-07-23T16:33:53.949Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-07-23T16:33:54.211Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-07-23T16:33:54.211Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-07-23T16:33:54.211Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-07-23T16:33:54.211Z] [ 80%] Linking C static library libcbor.a [2020-07-23T16:33:54.254Z] -- Detecting C compile features - done [2020-07-23T16:33:54.254Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-07-23T16:33:54.254Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-07-23T16:33:54.254Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-07-23T16:33:54.254Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-07-23T16:33:54.254Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-07-23T16:33:54.254Z] -- C SDK 0.0.0 for Linux [2020-07-23T16:33:54.254Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-07-23T16:33:54.472Z] [ 80%] Built target cbor [2020-07-23T16:33:54.472Z] Scanning dependencies of target create_items [2020-07-23T16:33:54.472Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-07-23T16:33:54.472Z] [ 84%] Linking C executable create_items [2020-07-23T16:33:54.472Z] [ 84%] Built target create_items [2020-07-23T16:33:54.472Z] Scanning dependencies of target readfile [2020-07-23T16:33:54.472Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-07-23T16:33:54.472Z] [ 88%] Linking C executable readfile [2020-07-23T16:33:54.472Z] [ 88%] Built target readfile [2020-07-23T16:33:54.472Z] Scanning dependencies of target streaming_parser [2020-07-23T16:33:54.472Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-07-23T16:33:54.529Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-07-23T16:33:54.529Z] -- Found Curses: /usr/lib/libcurses.so [2020-07-23T16:33:54.529Z] -- Configuring done [2020-07-23T16:33:54.750Z] [ 92%] Linking C executable streaming_parser [2020-07-23T16:33:54.750Z] [ 92%] Built target streaming_parser [2020-07-23T16:33:54.750Z] Scanning dependencies of target sort [2020-07-23T16:33:54.750Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-07-23T16:33:54.750Z] [ 96%] Linking C executable sort [2020-07-23T16:33:54.750Z] [ 96%] Built target sort [2020-07-23T16:33:54.750Z] Scanning dependencies of target hello [2020-07-23T16:33:54.750Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-07-23T16:33:54.750Z] [100%] Linking C executable hello [2020-07-23T16:33:54.750Z] [100%] Built target hello [2020-07-23T16:33:54.802Z] -- Generating done [2020-07-23T16:33:54.802Z] -- Build files have been written to: /tmp/sdk/build/release [2020-07-23T16:33:54.802Z] + + maketee [2020-07-23T16:33:54.802Z] release.log [2020-07-23T16:33:54.802Z] Scanning dependencies of target csdk [2020-07-23T16:33:55.014Z] Install the project... [2020-07-23T16:33:55.014Z] -- Install configuration: "Release" [2020-07-23T16:33:55.014Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-07-23T16:33:55.014Z] -- Installing: /usr/local/lib64/libcbor.a [2020-07-23T16:33:55.014Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-07-23T16:33:55.014Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-07-23T16:33:55.014Z] -- Installing: /usr/local/lib64/libcbor.so [2020-07-23T16:33:55.014Z] -- Up-to-date: /usr/local/include/cbor [2020-07-23T16:33:55.014Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-07-23T16:33:55.014Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-07-23T16:33:55.014Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-07-23T16:33:55.014Z] -- Installing: /usr/local/include/cbor/common.h [2020-07-23T16:33:55.014Z] -- Installing: /usr/local/include/cbor/data.h [2020-07-23T16:33:55.014Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-07-23T16:33:55.014Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-07-23T16:33:55.014Z] -- Installing: /usr/local/include/cbor/internal [2020-07-23T16:33:55.014Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-07-23T16:33:55.014Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-07-23T16:33:55.014Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-07-23T16:33:55.014Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-07-23T16:33:55.014Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-07-23T16:33:55.014Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-07-23T16:33:55.014Z] -- Installing: /usr/local/include/cbor/ints.h [2020-07-23T16:33:55.014Z] -- Installing: /usr/local/include/cbor/maps.h [2020-07-23T16:33:55.014Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-07-23T16:33:55.014Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-07-23T16:33:55.014Z] -- Installing: /usr/local/include/cbor/strings.h [2020-07-23T16:33:55.014Z] -- Installing: /usr/local/include/cbor/tags.h [2020-07-23T16:33:55.014Z] -- Installing: /usr/local/include/cbor.h [2020-07-23T16:33:55.014Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-07-23T16:33:55.075Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-07-23T16:33:55.669Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-07-23T16:33:56.263Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-07-23T16:33:57.560Z] Removing intermediate container 6796036cb145 [2020-07-23T16:33:57.560Z] ---> 0e56193b1ff5 [2020-07-23T16:33:57.560Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-07-23T16:33:57.560Z] ---> Running in 606918f3c42f [2020-07-23T16:33:57.689Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-07-23T16:33:58.131Z] Removing intermediate container 606918f3c42f [2020-07-23T16:33:58.131Z] ---> ced430d55e9c [2020-07-23T16:33:58.131Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-07-23T16:33:58.131Z] ---> 23cbb1df0e10 [2020-07-23T16:33:58.131Z] Step 8/21 : COPY src /tmp/sdk/src [2020-07-23T16:33:58.659Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-07-23T16:33:58.659Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-07-23T16:33:59.075Z] ---> bf41b83b9267 [2020-07-23T16:33:59.075Z] Step 9/21 : COPY include /tmp/sdk/include [2020-07-23T16:33:59.075Z] ---> 60a01d218129 [2020-07-23T16:33:59.075Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-07-23T16:33:59.336Z] ---> cea62d420644 [2020-07-23T16:33:59.336Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-07-23T16:33:59.596Z] ---> 2a5348e9b2b7 [2020-07-23T16:33:59.596Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-07-23T16:33:59.629Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-07-23T16:33:59.857Z] ---> 0b5f4bdd4b71 [2020-07-23T16:33:59.857Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-07-23T16:33:59.857Z] ---> Running in 9d7fcd7595c5 [2020-07-23T16:34:00.434Z] + CPPCHECK=false [2020-07-23T16:34:00.434Z] + DOCGEN=false [2020-07-23T16:34:00.434Z] + TOMLVER=SDK-0.2 [2020-07-23T16:34:00.434Z] + CUTILVER=1.1-branch [2020-07-23T16:34:00.434Z] + '[' 0 -gt 0 ] [2020-07-23T16:34:00.434Z] + readlink -f ./scripts/build.sh [2020-07-23T16:34:00.434Z] + dirname /tmp/sdk/scripts/build.sh [2020-07-23T16:34:00.434Z] + dirname /tmp/sdk/scripts [2020-07-23T16:34:00.434Z] + ROOT=/tmp/sdk [2020-07-23T16:34:00.434Z] + cd /tmp/sdk [2020-07-23T16:34:00.434Z] + '[' '!' -d deps ] [2020-07-23T16:34:00.434Z] + mkdir deps [2020-07-23T16:34:00.434Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-07-23T16:34:00.434Z] + tar -C deps -z -x -f - [2020-07-23T16:34:00.434Z] --2020-07-23 16:34:00-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-07-23T16:34:00.434Z] Resolving github.com... 140.82.113.4 [2020-07-23T16:34:00.434Z] Connecting to github.com|140.82.113.4|:443... connected. [2020-07-23T16:34:00.434Z] HTTP request sent, awaiting response... 302 Found [2020-07-23T16:34:00.434Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-07-23T16:34:00.434Z] --2020-07-23 16:34:00-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-07-23T16:34:00.434Z] Resolving codeload.github.com... 140.82.114.10 [2020-07-23T16:34:00.434Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2020-07-23T16:34:00.434Z] HTTP request sent, awaiting response... 200 OK [2020-07-23T16:34:00.434Z] Length: unspecified [application/x-gzip] [2020-07-23T16:34:00.434Z] Saving to: 'STDOUT' [2020-07-23T16:34:00.434Z] [2020-07-23T16:34:00.434Z] 0K .......... ...... 1.06M=0.01s [2020-07-23T16:34:00.434Z] [2020-07-23T16:34:00.434Z] 2020-07-23 16:34:00 (1.06 MB/s) - written to stdout [16451] [2020-07-23T16:34:00.434Z] [2020-07-23T16:34:00.434Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-07-23T16:34:00.434Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1-branch.tar.gz [2020-07-23T16:34:00.434Z] + tar -C deps -z -x -f - [2020-07-23T16:34:00.434Z] --2020-07-23 16:34:00-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1-branch.tar.gz [2020-07-23T16:34:00.695Z] Resolving github.com... 140.82.113.4 [2020-07-23T16:34:00.695Z] Connecting to github.com|140.82.113.4|:443... connected. [2020-07-23T16:34:00.695Z] HTTP request sent, awaiting response... 302 Found [2020-07-23T16:34:00.695Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1-branch [following] [2020-07-23T16:34:00.695Z] --2020-07-23 16:34:00-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1-branch [2020-07-23T16:34:00.695Z] Resolving codeload.github.com... 140.82.114.10 [2020-07-23T16:34:00.695Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2020-07-23T16:34:00.695Z] HTTP request sent, awaiting response... 200 OK [2020-07-23T16:34:00.695Z] Length: unspecified [application/x-gzip] [2020-07-23T16:34:00.695Z] Saving to: 'STDOUT' [2020-07-23T16:34:00.695Z]  [2020-07-23T16:34:00.695Z] 0K .......... .......... .......... .......... .......... 1.58M [2020-07-23T16:34:00.695Z] 50K .......... .......... .......... .......... .......... 3.31M [2020-07-23T16:34:00.695Z] 100K .......... .......... .......... .......... .......... 38.0M [2020-07-23T16:34:00.695Z] 150K .......... ..... 48.4M=0.05s [2020-07-23T16:34:00.695Z] [2020-07-23T16:34:00.695Z] 2020-07-23 16:34:00 (3.42 MB/s) - written to stdout [169364] [2020-07-23T16:34:00.695Z] [2020-07-23T16:34:00.695Z] + mkdir -p src/c/iot [2020-07-23T16:34:00.695Z] + cp deps/iotech-c-utils-1.1-branch/src/c/base64.c deps/iotech-c-utils-1.1-branch/src/c/component.c deps/iotech-c-utils-1.1-branch/src/c/config.c deps/iotech-c-utils-1.1-branch/src/c/container.c deps/iotech-c-utils-1.1-branch/src/c/data.c deps/iotech-c-utils-1.1-branch/src/c/hash.c deps/iotech-c-utils-1.1-branch/src/c/iot.c deps/iotech-c-utils-1.1-branch/src/c/json.c deps/iotech-c-utils-1.1-branch/src/c/logger.c deps/iotech-c-utils-1.1-branch/src/c/os.c deps/iotech-c-utils-1.1-branch/src/c/scheduler.c deps/iotech-c-utils-1.1-branch/src/c/thread.c deps/iotech-c-utils-1.1-branch/src/c/threadpool.c deps/iotech-c-utils-1.1-branch/src/c/time.c src/c/iot [2020-07-23T16:34:00.695Z] + mkdir -p include/iot [2020-07-23T16:34:00.695Z] + cp deps/iotech-c-utils-1.1-branch/include/iot/base64.h deps/iotech-c-utils-1.1-branch/include/iot/component.h deps/iotech-c-utils-1.1-branch/include/iot/config.h deps/iotech-c-utils-1.1-branch/include/iot/container.h deps/iotech-c-utils-1.1-branch/include/iot/data.h deps/iotech-c-utils-1.1-branch/include/iot/hash.h deps/iotech-c-utils-1.1-branch/include/iot/iot.h deps/iotech-c-utils-1.1-branch/include/iot/json.h deps/iotech-c-utils-1.1-branch/include/iot/logger.h deps/iotech-c-utils-1.1-branch/include/iot/os.h deps/iotech-c-utils-1.1-branch/include/iot/scheduler.h deps/iotech-c-utils-1.1-branch/include/iot/thread.h deps/iotech-c-utils-1.1-branch/include/iot/threadpool.h deps/iotech-c-utils-1.1-branch/include/iot/time.h deps/iotech-c-utils-1.1-branch/include/iot/typecode.h include/iot [2020-07-23T16:34:00.695Z] + mkdir -p include/iot/os [2020-07-23T16:34:00.695Z] + cp deps/iotech-c-utils-1.1-branch/include/iot/os/linux.h deps/iotech-c-utils-1.1-branch/include/iot/os/macos.h deps/iotech-c-utils-1.1-branch/include/iot/os/zephyr.h include/iot/os [2020-07-23T16:34:00.695Z] + mkdir -p /tmp/sdk/build/release [2020-07-23T16:34:00.695Z] + cd /tmp/sdk/build/release [2020-07-23T16:34:00.695Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-07-23T16:34:00.956Z] -- The C compiler identification is GNU 8.3.0 [2020-07-23T16:34:00.956Z] -- Check for working C compiler: /usr/bin/cc [2020-07-23T16:34:00.956Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-07-23T16:34:00.956Z] -- Detecting C compiler ABI info [2020-07-23T16:34:00.956Z] -- Detecting C compiler ABI info - done [2020-07-23T16:34:01.217Z] -- Detecting C compile features [2020-07-23T16:34:01.217Z] -- Detecting C compile features - done [2020-07-23T16:34:01.478Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-07-23T16:34:01.478Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-07-23T16:34:01.478Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-07-23T16:34:01.478Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-07-23T16:34:01.478Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-07-23T16:34:01.478Z] -- C SDK 0.0.0 for Linux [2020-07-23T16:34:01.478Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-07-23T16:34:01.478Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-07-23T16:34:01.478Z] -- Found Curses: /usr/lib/libcurses.so [2020-07-23T16:34:01.478Z] -- Configuring done [2020-07-23T16:34:01.478Z] -- Generating done [2020-07-23T16:34:01.478Z] -- Build files have been written to: /tmp/sdk/build/release [2020-07-23T16:34:01.478Z] + make [2020-07-23T16:34:01.478Z] + tee release.log [2020-07-23T16:34:01.478Z] Scanning dependencies of target csdk [2020-07-23T16:34:01.590Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-07-23T16:34:01.739Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-07-23T16:34:01.739Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-07-23T16:34:02.000Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-07-23T16:34:02.183Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-07-23T16:34:02.263Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-07-23T16:34:02.532Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-07-23T16:34:02.532Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-07-23T16:34:02.774Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-07-23T16:34:02.793Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-07-23T16:34:03.366Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-07-23T16:34:03.367Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-07-23T16:34:03.367Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-07-23T16:34:03.627Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-07-23T16:34:03.636Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-07-23T16:34:03.887Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-07-23T16:34:03.887Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-07-23T16:34:03.887Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-07-23T16:34:03.887Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-07-23T16:34:03.909Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-07-23T16:34:03.909Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-07-23T16:34:04.831Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-07-23T16:34:04.831Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-07-23T16:34:05.092Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2020-07-23T16:34:05.092Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-07-23T16:34:05.352Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-07-23T16:34:05.925Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-07-23T16:34:05.925Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-07-23T16:34:05.925Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-07-23T16:34:06.185Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-07-23T16:34:06.185Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-07-23T16:34:06.185Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-07-23T16:34:06.446Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-07-23T16:34:06.707Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-07-23T16:34:06.707Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-07-23T16:34:06.707Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-07-23T16:34:06.969Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-07-23T16:34:07.230Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-07-23T16:34:07.230Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-07-23T16:34:08.176Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-07-23T16:34:08.198Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-07-23T16:34:08.198Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-07-23T16:34:08.198Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2020-07-23T16:34:08.437Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-07-23T16:34:08.470Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-07-23T16:34:08.696Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-07-23T16:34:08.697Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-07-23T16:34:09.061Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-07-23T16:34:09.267Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-07-23T16:34:09.527Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-07-23T16:34:10.468Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-07-23T16:34:10.468Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-07-23T16:34:10.729Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-07-23T16:34:10.992Z] [ 72%] Linking C shared library libcsdk.so [2020-07-23T16:34:10.992Z] [ 72%] Built target csdk [2020-07-23T16:34:10.992Z] Scanning dependencies of target template [2020-07-23T16:34:10.992Z] [ 74%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-07-23T16:34:11.253Z] [ 75%] Linking C executable template [2020-07-23T16:34:11.253Z] [ 75%] Built target template [2020-07-23T16:34:11.253Z] Scanning dependencies of target device-counter [2020-07-23T16:34:11.253Z] [ 77%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-07-23T16:34:11.514Z] [ 79%] Linking C executable device-counter [2020-07-23T16:34:11.514Z] [ 79%] Built target device-counter [2020-07-23T16:34:11.514Z] Scanning dependencies of target device-random [2020-07-23T16:34:11.514Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-07-23T16:34:11.514Z] [ 82%] Linking C executable device-random [2020-07-23T16:34:11.667Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-07-23T16:34:11.667Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-07-23T16:34:11.667Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-07-23T16:34:11.775Z] [ 82%] Built target device-random [2020-07-23T16:34:11.775Z] Scanning dependencies of target device-gyro [2020-07-23T16:34:11.775Z] [ 84%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-07-23T16:34:11.775Z] [ 86%] Linking C executable device-gyro [2020-07-23T16:34:11.775Z] [ 86%] Built target device-gyro [2020-07-23T16:34:11.775Z] Scanning dependencies of target device-bitfields [2020-07-23T16:34:11.775Z] [ 87%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2020-07-23T16:34:12.036Z] [ 89%] Linking C executable device-bitfields [2020-07-23T16:34:12.036Z] [ 89%] Built target device-bitfields [2020-07-23T16:34:12.036Z] Scanning dependencies of target template-discovery [2020-07-23T16:34:12.036Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-07-23T16:34:12.258Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-07-23T16:34:12.297Z] [ 93%] Linking C executable template-discovery [2020-07-23T16:34:12.297Z] [ 93%] Built target template-discovery [2020-07-23T16:34:12.297Z] Scanning dependencies of target device-terminal [2020-07-23T16:34:12.297Z] [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-07-23T16:34:12.557Z] [ 96%] Linking C executable device-terminal [2020-07-23T16:34:12.557Z] [ 96%] Built target device-terminal [2020-07-23T16:34:12.557Z] Scanning dependencies of target templatev1 [2020-07-23T16:34:12.557Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-07-23T16:34:12.821Z] [100%] Linking C executable templatev1 [2020-07-23T16:34:12.821Z] [100%] Built target templatev1 [2020-07-23T16:34:12.821Z] + make package [2020-07-23T16:34:12.821Z] + tee -a release.log [2020-07-23T16:34:12.821Z] [ 72%] Built target csdk [2020-07-23T16:34:12.821Z] [ 75%] Built target template [2020-07-23T16:34:12.821Z] [ 79%] Built target device-counter [2020-07-23T16:34:12.821Z] [ 82%] Built target device-random [2020-07-23T16:34:12.821Z] [ 86%] Built target device-gyro [2020-07-23T16:34:12.821Z] [ 89%] Built target device-bitfields [2020-07-23T16:34:12.821Z] [ 93%] Built target template-discovery [2020-07-23T16:34:12.821Z] [ 96%] Built target device-terminal [2020-07-23T16:34:12.852Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-07-23T16:34:12.852Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-07-23T16:34:13.083Z] [100%] Built target templatev1 [2020-07-23T16:34:13.083Z] Run CPack packaging tool... [2020-07-23T16:34:13.083Z] CPack: Create package using TGZ [2020-07-23T16:34:13.083Z] CPack: Install projects [2020-07-23T16:34:13.083Z] CPack: - Run preinstall target for: Csdk [2020-07-23T16:34:13.346Z] CPack: - Install project: Csdk [2020-07-23T16:34:13.346Z] CPack: Create package [2020-07-23T16:34:13.346Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2020-07-23T16:34:13.346Z] + '[' false '=' true ] [2020-07-23T16:34:13.346Z] + '[' false '=' true ] [2020-07-23T16:34:13.346Z] + mkdir -p /tmp/sdk/build/debug [2020-07-23T16:34:13.346Z] + cd /tmp/sdk/build/debug [2020-07-23T16:34:13.346Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-07-23T16:34:13.346Z] -- The C compiler identification is GNU 8.3.0 [2020-07-23T16:34:13.346Z] -- Check for working C compiler: /usr/bin/cc [2020-07-23T16:34:13.346Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-07-23T16:34:13.346Z] -- Detecting C compiler ABI info [2020-07-23T16:34:13.607Z] -- Detecting C compiler ABI info - done [2020-07-23T16:34:13.607Z] -- Detecting C compile features [2020-07-23T16:34:13.825Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-07-23T16:34:13.867Z] -- Detecting C compile features - done [2020-07-23T16:34:13.867Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-07-23T16:34:13.867Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-07-23T16:34:13.867Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-07-23T16:34:13.867Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-07-23T16:34:13.867Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-07-23T16:34:13.867Z] -- C SDK 0.0.0 for Linux [2020-07-23T16:34:13.868Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-07-23T16:34:13.868Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-07-23T16:34:13.868Z] -- Found Curses: /usr/lib/libcurses.so [2020-07-23T16:34:13.868Z] -- Configuring done [2020-07-23T16:34:13.868Z] -- Generating done [2020-07-23T16:34:13.868Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-07-23T16:34:13.868Z] + make [2020-07-23T16:34:13.868Z] + tee debug.log [2020-07-23T16:34:14.128Z] Scanning dependencies of target csdk [2020-07-23T16:34:14.128Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-07-23T16:34:14.128Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-07-23T16:34:14.128Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-07-23T16:34:14.389Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-07-23T16:34:14.389Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-07-23T16:34:14.419Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-07-23T16:34:14.649Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-07-23T16:34:14.649Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-07-23T16:34:14.910Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-07-23T16:34:14.910Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-07-23T16:34:14.910Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-07-23T16:34:15.013Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-07-23T16:34:15.013Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-07-23T16:34:15.173Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-07-23T16:34:15.173Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-07-23T16:34:15.173Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-07-23T16:34:15.173Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-07-23T16:34:15.435Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-07-23T16:34:15.435Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-07-23T16:34:15.607Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-07-23T16:34:15.695Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2020-07-23T16:34:15.695Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-07-23T16:34:15.695Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-07-23T16:34:15.956Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-07-23T16:34:15.956Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-07-23T16:34:15.956Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-07-23T16:34:16.217Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-07-23T16:34:16.217Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-07-23T16:34:16.217Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-07-23T16:34:16.217Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-07-23T16:34:16.477Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-07-23T16:34:16.477Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-07-23T16:34:16.477Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-07-23T16:34:16.477Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-07-23T16:34:16.582Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-07-23T16:34:16.582Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-07-23T16:34:16.737Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-07-23T16:34:16.738Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-07-23T16:34:16.997Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-07-23T16:34:17.262Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-07-23T16:34:17.262Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-07-23T16:34:17.262Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-07-23T16:34:17.523Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-07-23T16:34:17.785Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-07-23T16:34:17.785Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-07-23T16:34:18.047Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-07-23T16:34:18.047Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-07-23T16:34:18.047Z] [ 72%] Linking C shared library libcsdk.so [2020-07-23T16:34:18.309Z] [ 72%] Built target csdk [2020-07-23T16:34:18.309Z] Scanning dependencies of target template [2020-07-23T16:34:18.309Z] [ 74%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-07-23T16:34:18.309Z] [ 75%] Linking C executable template [2020-07-23T16:34:18.309Z] [ 75%] Built target template [2020-07-23T16:34:18.309Z] Scanning dependencies of target device-counter [2020-07-23T16:34:18.309Z] [ 77%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-07-23T16:34:18.573Z] [ 79%] Linking C executable device-counter [2020-07-23T16:34:18.573Z] [ 79%] Built target device-counter [2020-07-23T16:34:18.573Z] Scanning dependencies of target device-random [2020-07-23T16:34:18.573Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-07-23T16:34:18.573Z] [ 82%] Linking C executable device-random [2020-07-23T16:34:18.573Z] [ 82%] Built target device-random [2020-07-23T16:34:18.573Z] Scanning dependencies of target device-gyro [2020-07-23T16:34:18.573Z] [ 84%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-07-23T16:34:18.836Z] [ 86%] Linking C executable device-gyro [2020-07-23T16:34:18.836Z] [ 86%] Built target device-gyro [2020-07-23T16:34:18.836Z] Scanning dependencies of target device-bitfields [2020-07-23T16:34:18.836Z] [ 87%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2020-07-23T16:34:18.836Z] [ 89%] Linking C executable device-bitfields [2020-07-23T16:34:19.096Z] [ 89%] Built target device-bitfields [2020-07-23T16:34:19.096Z] Scanning dependencies of target template-discovery [2020-07-23T16:34:19.096Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-07-23T16:34:19.096Z] [ 93%] Linking C executable template-discovery [2020-07-23T16:34:19.096Z] [ 93%] Built target template-discovery [2020-07-23T16:34:19.096Z] Scanning dependencies of target device-terminal [2020-07-23T16:34:19.096Z] [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-07-23T16:34:19.360Z] [ 96%] Linking C executable device-terminal [2020-07-23T16:34:19.360Z] [ 96%] Built target device-terminal [2020-07-23T16:34:19.360Z] Scanning dependencies of target templatev1 [2020-07-23T16:34:19.360Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-07-23T16:34:19.360Z] [100%] Linking C executable templatev1 [2020-07-23T16:34:19.360Z] [100%] Built target templatev1 [2020-07-23T16:34:19.360Z] make: Entering directory '/tmp/sdk/build/release' [2020-07-23T16:34:19.360Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-07-23T16:34:19.623Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T16:34:19.623Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T16:34:19.623Z] [ 72%] Built target csdk [2020-07-23T16:34:19.623Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T16:34:19.623Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T16:34:19.623Z] [ 75%] Built target template [2020-07-23T16:34:19.623Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T16:34:19.623Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T16:34:19.623Z] [ 79%] Built target device-counter [2020-07-23T16:34:19.623Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T16:34:19.623Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T16:34:19.623Z] [ 82%] Built target device-random [2020-07-23T16:34:19.623Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T16:34:19.623Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T16:34:19.623Z] [ 86%] Built target device-gyro [2020-07-23T16:34:19.623Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T16:34:19.623Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T16:34:19.623Z] [ 89%] Built target device-bitfields [2020-07-23T16:34:19.623Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T16:34:19.623Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T16:34:19.623Z] [ 93%] Built target template-discovery [2020-07-23T16:34:19.623Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T16:34:19.623Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T16:34:19.623Z] [ 96%] Built target device-terminal [2020-07-23T16:34:19.623Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T16:34:19.623Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T16:34:19.623Z] [100%] Built target templatev1 [2020-07-23T16:34:19.623Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T16:34:19.623Z] Install the project... [2020-07-23T16:34:19.623Z] -- Install configuration: "Release" [2020-07-23T16:34:19.623Z] -- Installing: /usr/local/lib/libcsdk.so [2020-07-23T16:34:19.623Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-07-23T16:34:19.623Z] -- Up-to-date: /usr/local/include [2020-07-23T16:34:19.623Z] -- Installing: /usr/local/include/devsdk [2020-07-23T16:34:19.623Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-07-23T16:34:19.623Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-07-23T16:34:19.623Z] -- Installing: /usr/local/include/edgex [2020-07-23T16:34:19.623Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-07-23T16:34:19.623Z] -- Installing: /usr/local/include/edgex/devices.h [2020-07-23T16:34:19.623Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-07-23T16:34:19.623Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-07-23T16:34:19.623Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-07-23T16:34:19.623Z] -- Installing: /usr/local/include/edgex/error.h [2020-07-23T16:34:19.623Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-07-23T16:34:19.623Z] -- Installing: /usr/local/include/edgex/os.h [2020-07-23T16:34:19.623Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-07-23T16:34:19.623Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-07-23T16:34:19.623Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-07-23T16:34:19.623Z] -- Installing: /usr/local/include/iot [2020-07-23T16:34:19.623Z] -- Installing: /usr/local/include/iot/base64.h [2020-07-23T16:34:19.623Z] -- Installing: /usr/local/include/iot/component.h [2020-07-23T16:34:19.623Z] -- Installing: /usr/local/include/iot/config.h [2020-07-23T16:34:19.623Z] -- Installing: /usr/local/include/iot/container.h [2020-07-23T16:34:19.623Z] -- Installing: /usr/local/include/iot/data.h [2020-07-23T16:34:19.623Z] -- Installing: /usr/local/include/iot/hash.h [2020-07-23T16:34:19.623Z] -- Installing: /usr/local/include/iot/iot.h [2020-07-23T16:34:19.623Z] -- Installing: /usr/local/include/iot/json.h [2020-07-23T16:34:19.623Z] -- Installing: /usr/local/include/iot/logger.h [2020-07-23T16:34:19.623Z] -- Installing: /usr/local/include/iot/os.h [2020-07-23T16:34:19.623Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-07-23T16:34:19.623Z] -- Installing: /usr/local/include/iot/thread.h [2020-07-23T16:34:19.623Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-07-23T16:34:19.623Z] -- Installing: /usr/local/include/iot/time.h [2020-07-23T16:34:19.623Z] -- Installing: /usr/local/include/iot/typecode.h [2020-07-23T16:34:19.623Z] -- Installing: /usr/local/include/iot/os [2020-07-23T16:34:19.623Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-07-23T16:34:19.623Z] -- Installing: /usr/local/include/iot/os/macos.h [2020-07-23T16:34:19.623Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-07-23T16:34:19.623Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-07-23T16:34:19.623Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-07-23T16:34:19.623Z] make: Leaving directory '/tmp/sdk/build/release' [2020-07-23T16:34:20.992Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-07-23T16:34:21.541Z] Removing intermediate container 9d7fcd7595c5 [2020-07-23T16:34:21.541Z] ---> 28a2516945c4 [2020-07-23T16:34:21.541Z] Step 14/21 : FROM ${BASE} [2020-07-23T16:34:21.541Z] ---> 5eabd8fd8ba2 [2020-07-23T16:34:21.542Z] Step 15/21 : MAINTAINER IOTech [2020-07-23T16:34:21.592Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-07-23T16:34:21.801Z] ---> Running in b8c165a2ef27 [2020-07-23T16:34:21.802Z] Removing intermediate container b8c165a2ef27 [2020-07-23T16:34:21.802Z] ---> 0e8e55e65485 [2020-07-23T16:34:21.802Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-07-23T16:34:22.064Z] ---> Running in da045eb965d0 [2020-07-23T16:34:22.184Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-07-23T16:34:22.773Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-07-23T16:34:23.007Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-07-23T16:34:23.947Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-07-23T16:34:24.196Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-07-23T16:34:24.210Z] (1/3) Installing curl (7.64.0-r3) [2020-07-23T16:34:24.210Z] (2/3) Installing libuuid (2.33-r0) [2020-07-23T16:34:24.471Z] (3/3) Installing wget (1.20.3-r0) [2020-07-23T16:34:24.471Z] Executing busybox-1.29.3-r10.trigger [2020-07-23T16:34:24.471Z] OK: 268 MiB in 78 packages [2020-07-23T16:34:25.043Z] Removing intermediate container da045eb965d0 [2020-07-23T16:34:25.043Z] ---> 85d555823a90 [2020-07-23T16:34:25.043Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-07-23T16:34:25.304Z] ---> cd355d08be48 [2020-07-23T16:34:25.304Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-07-23T16:34:25.304Z] ---> d3ca9ab0c531 [2020-07-23T16:34:25.304Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-07-23T16:34:25.565Z] ---> 1f431d4465fd [2020-07-23T16:34:25.565Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-07-23T16:34:25.826Z] ---> 0cd343b9cd5e [2020-07-23T16:34:25.826Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-07-23T16:34:26.087Z] ---> 67cef4c1d799 [2020-07-23T16:34:26.087Z] Successfully built 67cef4c1d799 [2020-07-23T16:34:26.087Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [2020-07-23T16:34:26.179Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-07-23T16:34:26.935Z] + docker inspect -f . ci-base-image-x86_64 [2020-07-23T16:34:26.935Z] . [Pipeline] withDockerContainer [2020-07-23T16:34:27.076Z] prd-centos7-docker-4c-2g-740 does not seem to be running inside a container [2020-07-23T16:34:27.126Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-07-23T16:34:27.694Z] $ docker top 3243c2ae6ad35cf642777617cf69bf46d46a7f0b3c654caa3fd71d0d401cc117 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-07-23T16:34:28.196Z] + make test [2020-07-23T16:34:28.196Z] echo "make test" [2020-07-23T16:34:28.196Z] make test [Pipeline] } [2020-07-23T16:34:28.223Z] $ docker stop --time=1 3243c2ae6ad35cf642777617cf69bf46d46a7f0b3c654caa3fd71d0d401cc117 [2020-07-23T16:34:29.542Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-07-23T16:34:29.542Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-07-23T16:34:29.552Z] $ docker rm -f 3243c2ae6ad35cf642777617cf69bf46d46a7f0b3c654caa3fd71d0d401cc117 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2020-07-23T16:34:31.513Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-07-23T16:34:31.513Z] [ 72%] Linking C shared library libcsdk.so [2020-07-23T16:34:31.513Z] [ 72%] Built target csdk [2020-07-23T16:34:31.513Z] Scanning dependencies of target template [2020-07-23T16:34:31.513Z] [ 74%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-07-23T16:34:32.105Z] [ 75%] Linking C executable template [2020-07-23T16:34:32.105Z] [ 75%] Built target template [2020-07-23T16:34:32.379Z] Scanning dependencies of target device-counter [2020-07-23T16:34:32.379Z] [ 77%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-07-23T16:34:32.649Z] [ 79%] Linking C executable device-counter [Pipeline] sh [2020-07-23T16:34:32.922Z] [ 79%] Built target device-counter [2020-07-23T16:34:32.922Z] Scanning dependencies of target device-random [2020-07-23T16:34:32.922Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-07-23T16:34:33.200Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-07-23T16:34:33.517Z] + ls -al . [2020-07-23T16:34:33.517Z] total 160 [2020-07-23T16:34:33.517Z] drwxrwxr-x. 9 jenkins jenkins 275 Jul 23 16:33 . [2020-07-23T16:34:33.517Z] drwxrwxr-x. 4 jenkins jenkins 28 Jul 23 16:33 .. [2020-07-23T16:34:33.517Z] -rw-rw-r--. 1 jenkins jenkins 3104 Jul 23 16:33 Attribution.txt [2020-07-23T16:34:33.517Z] -rw-rw-r--. 1 jenkins jenkins 5833 Jul 23 16:33 CHANGES [2020-07-23T16:34:33.517Z] drwxrwxr-x. 2 jenkins jenkins 144 Jul 23 16:33 docs [2020-07-23T16:34:33.517Z] -rw-rw-r--. 1 jenkins jenkins 108574 Jul 23 16:33 Doxyfile [2020-07-23T16:34:33.517Z] drwxrwxr-x. 8 jenkins jenkins 179 Jul 23 16:33 .git [2020-07-23T16:34:33.517Z] drwxrwxr-x. 2 jenkins jenkins 38 Jul 23 16:33 .github [2020-07-23T16:34:33.517Z] -rw-rw-r--. 1 jenkins jenkins 176 Jul 23 16:33 .gitignore [2020-07-23T16:34:33.517Z] drwxrwxr-x. 4 jenkins jenkins 33 Jul 23 16:33 include [2020-07-23T16:34:33.517Z] -rw-rw-r--. 1 jenkins jenkins 794 Jul 23 16:33 Jenkinsfile [2020-07-23T16:34:33.517Z] -rw-rw-r--. 1 jenkins jenkins 10174 Jul 23 16:33 LICENSE [2020-07-23T16:34:33.517Z] -rw-rw-r--. 1 jenkins jenkins 449 Jul 23 16:33 Makefile [2020-07-23T16:34:33.517Z] -rw-rw-r--. 1 jenkins jenkins 1849 Jul 23 16:33 README.md [2020-07-23T16:34:33.517Z] -rw-rw-r--. 1 jenkins jenkins 5977 Jul 23 16:33 README.v2.md [2020-07-23T16:34:33.517Z] drwxrwxr-x. 2 jenkins jenkins 108 Jul 23 16:33 scripts [2020-07-23T16:34:33.517Z] drwxrwxr-x. 3 jenkins jenkins 58 Jul 23 16:33 .semver [2020-07-23T16:34:33.517Z] drwxrwxr-x. 4 jenkins jenkins 50 Jul 23 16:33 src [2020-07-23T16:34:33.517Z] -rw-rw-r--. 1 jenkins jenkins 5 Jul 23 16:30 VERSION [2020-07-23T16:34:33.524Z] [ 82%] Linking C executable device-random [Pipeline] isUnix [Pipeline] sh [2020-07-23T16:34:33.794Z] [ 82%] Built target device-random [2020-07-23T16:34:33.794Z] Scanning dependencies of target device-gyro [2020-07-23T16:34:33.794Z] [ 84%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-07-23T16:34:33.866Z] + 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=9ac00a8289218e9dd44205c0721247e224b5af00 --label arch=amd64 --label version=0.0.0 . [2020-07-23T16:34:33.866Z] Sending build context to Docker daemon 3.424MB [2020-07-23T16:34:33.866Z] Step 1/15 : ARG BASE=alpine:3.11 [2020-07-23T16:34:33.866Z] Step 2/15 : FROM ${BASE} [2020-07-23T16:34:33.866Z] ---> 67cef4c1d799 [2020-07-23T16:34:33.866Z] Step 3/15 : MAINTAINER IOTech [2020-07-23T16:34:34.065Z] [ 86%] Linking C executable device-gyro [2020-07-23T16:34:34.336Z] [ 86%] Built target device-gyro [2020-07-23T16:34:34.336Z] Scanning dependencies of target device-bitfields [2020-07-23T16:34:34.336Z] [ 87%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2020-07-23T16:34:34.442Z] ---> Running in 60dece695849 [2020-07-23T16:34:34.608Z] [ 89%] Linking C executable device-bitfields [2020-07-23T16:34:34.705Z] Removing intermediate container 60dece695849 [2020-07-23T16:34:34.705Z] ---> c6186695aae0 [2020-07-23T16:34:34.705Z] 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-07-23T16:34:34.705Z] ---> Running in e026ba80546e [2020-07-23T16:34:34.882Z] [ 89%] Built target device-bitfields [2020-07-23T16:34:34.882Z] Scanning dependencies of target template-discovery [2020-07-23T16:34:34.882Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-07-23T16:34:35.649Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-07-23T16:34:35.854Z] [ 93%] Linking C executable template-discovery [2020-07-23T16:34:35.854Z] [ 93%] Built target template-discovery [2020-07-23T16:34:35.854Z] Scanning dependencies of target device-terminal [2020-07-23T16:34:35.854Z] [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-07-23T16:34:36.444Z] [ 96%] Linking C executable device-terminal [2020-07-23T16:34:36.590Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-07-23T16:34:36.715Z] [ 96%] Built target device-terminal [2020-07-23T16:34:36.715Z] Scanning dependencies of target templatev1 [2020-07-23T16:34:36.715Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-07-23T16:34:36.850Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2020-07-23T16:34:36.850Z] (2/6) Installing libblkid (2.33-r0) [2020-07-23T16:34:37.111Z] (3/6) Installing libfdisk (2.33-r0) [2020-07-23T16:34:37.111Z] (4/6) Installing libmount (2.33-r0) [2020-07-23T16:34:37.111Z] (5/6) Installing libsmartcols (2.33-r0) [2020-07-23T16:34:37.305Z] [100%] Linking C executable templatev1 [2020-07-23T16:34:37.371Z] (6/6) Installing util-linux-dev (2.33-r0) [2020-07-23T16:34:37.576Z] [100%] Built target templatev1 [2020-07-23T16:34:37.576Z] + make package [2020-07-23T16:34:37.576Z] + tee -a release.log [2020-07-23T16:34:37.576Z] [ 72%] Built target csdk [2020-07-23T16:34:37.576Z] [ 75%] Built target template [2020-07-23T16:34:37.576Z] [ 79%] Built target device-counter [2020-07-23T16:34:37.632Z] Executing busybox-1.29.3-r10.trigger [2020-07-23T16:34:37.632Z] OK: 272 MiB in 84 packages [2020-07-23T16:34:37.846Z] [ 82%] Built target device-random [2020-07-23T16:34:37.846Z] [ 86%] Built target device-gyro [2020-07-23T16:34:37.846Z] [ 89%] Built target device-bitfields [2020-07-23T16:34:37.846Z] [ 93%] Built target template-discovery [2020-07-23T16:34:37.846Z] [ 96%] Built target device-terminal [2020-07-23T16:34:37.846Z] [100%] Built target templatev1 [2020-07-23T16:34:37.846Z] Run CPack packaging tool... [2020-07-23T16:34:38.118Z] CPack: Create package using TGZ [2020-07-23T16:34:38.118Z] CPack: Install projects [2020-07-23T16:34:38.118Z] CPack: - Run preinstall target for: Csdk [2020-07-23T16:34:38.209Z] Removing intermediate container e026ba80546e [2020-07-23T16:34:38.209Z] ---> 66212cbe49b7 [2020-07-23T16:34:38.209Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-07-23T16:34:38.389Z] CPack: - Install project: Csdk [2020-07-23T16:34:38.470Z] ---> 0872131eb7ba [2020-07-23T16:34:38.470Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-07-23T16:34:38.659Z] CPack: Create package [2020-07-23T16:34:38.659Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2020-07-23T16:34:38.659Z] + '[' false '=' true ] [2020-07-23T16:34:38.659Z] + '[' false '=' true ] [2020-07-23T16:34:38.659Z] + mkdir -p /tmp/sdk/build/debug [2020-07-23T16:34:38.659Z] + cd /tmp/sdk/build/debug [2020-07-23T16:34:38.659Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-07-23T16:34:38.930Z] -- The C compiler identification is GNU 8.3.0 [2020-07-23T16:34:38.930Z] -- Check for working C compiler: /usr/bin/cc [2020-07-23T16:34:39.043Z] ---> cf31347a1022 [2020-07-23T16:34:39.043Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-07-23T16:34:39.201Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-07-23T16:34:39.201Z] -- Detecting C compiler ABI info [2020-07-23T16:34:39.309Z] ---> f4d96f918775 [2020-07-23T16:34:39.309Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-07-23T16:34:39.472Z] -- Detecting C compiler ABI info - done [2020-07-23T16:34:39.472Z] -- Detecting C compile features [2020-07-23T16:34:39.570Z] ---> 194afe80383a [2020-07-23T16:34:39.570Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-07-23T16:34:39.831Z] ---> 14a8c10f1680 [2020-07-23T16:34:39.831Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-07-23T16:34:40.094Z] ---> 2d296e157d6e [2020-07-23T16:34:40.094Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-07-23T16:34:40.094Z] ---> Running in d72da4baab45 [2020-07-23T16:34:40.094Z] Removing intermediate container d72da4baab45 [2020-07-23T16:34:40.094Z] ---> 9df50f6843bb [2020-07-23T16:34:40.094Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-07-23T16:34:40.355Z] ---> Running in ec4f3a3f75f0 [2020-07-23T16:34:40.355Z] Removing intermediate container ec4f3a3f75f0 [2020-07-23T16:34:40.355Z] ---> 912dc80955ed [2020-07-23T16:34:40.355Z] Step 13/15 : LABEL arch=amd64 [2020-07-23T16:34:40.355Z] ---> Running in 3cede74bb1f4 [2020-07-23T16:34:40.446Z] -- Detecting C compile features - done [2020-07-23T16:34:40.446Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-07-23T16:34:40.446Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-07-23T16:34:40.446Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-07-23T16:34:40.446Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-07-23T16:34:40.446Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-07-23T16:34:40.446Z] -- C SDK 0.0.0 for Linux [2020-07-23T16:34:40.446Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-07-23T16:34:40.446Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-07-23T16:34:40.446Z] -- Found Curses: /usr/lib/libcurses.so [2020-07-23T16:34:40.617Z] Removing intermediate container 3cede74bb1f4 [2020-07-23T16:34:40.617Z] ---> 4151c4073ba9 [2020-07-23T16:34:40.617Z] Step 14/15 : LABEL git_sha=9ac00a8289218e9dd44205c0721247e224b5af00 [2020-07-23T16:34:40.617Z] ---> Running in 13aa79e8494c [2020-07-23T16:34:40.717Z] -- Configuring done [2020-07-23T16:34:40.878Z] Removing intermediate container 13aa79e8494c [2020-07-23T16:34:40.878Z] ---> a9d11c9f792a [2020-07-23T16:34:40.878Z] Step 15/15 : LABEL version=0.0.0 [2020-07-23T16:34:40.878Z] ---> Running in 022da4be85b6 [2020-07-23T16:34:40.989Z] -- Generating done [2020-07-23T16:34:40.989Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-07-23T16:34:40.989Z] + make [2020-07-23T16:34:40.989Z] + tee debug.log [2020-07-23T16:34:40.989Z] Scanning dependencies of target csdk [2020-07-23T16:34:41.139Z] Removing intermediate container 022da4be85b6 [2020-07-23T16:34:41.139Z] ---> aac5bca5b67a [2020-07-23T16:34:41.139Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2020-07-23T16:34:41.139Z] Successfully built aac5bca5b67a [2020-07-23T16:34:41.139Z] Successfully tagged docker-device-sdk-c:latest [Pipeline] } [2020-07-23T16:34:41.259Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2020-07-23T16:34:41.530Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [2020-07-23T16:34:41.800Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [2020-07-23T16:34:42.391Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-07-23T16:34:42.664Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-07-23T16:34:42.935Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-07-23T16:34:43.208Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-07-23T16:34:43.812Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-07-23T16:34:44.089Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-07-23T16:34:44.360Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-07-23T16:34:44.633Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-07-23T16:34:44.904Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-07-23T16:34:45.175Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-07-23T16:34:45.446Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-07-23T16:34:46.419Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-07-23T16:34:46.419Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-07-23T16:34:46.691Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2020-07-23T16:34:46.963Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-07-23T16:34:47.237Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-07-23T16:34:47.826Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-07-23T16:34:48.098Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-07-23T16:34:48.098Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-07-23T16:34:48.368Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-07-23T16:34:48.641Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-07-23T16:34:48.641Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-07-23T16:34:48.913Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-07-23T16:34:49.185Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-07-23T16:34:49.455Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-07-23T16:34:49.728Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-07-23T16:34:49.728Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-07-23T16:34:50.317Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-07-23T16:34:50.317Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-07-23T16:34:51.288Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-07-23T16:34:51.880Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-07-23T16:34:51.880Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-07-23T16:34:52.150Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-07-23T16:34:53.119Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-07-23T16:34:53.707Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-07-23T16:34:54.295Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-07-23T16:34:54.567Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-07-23T16:34:54.837Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-07-23T16:34:55.107Z] [ 72%] Linking C shared library libcsdk.so [2020-07-23T16:34:55.377Z] [ 72%] Built target csdk [2020-07-23T16:34:55.377Z] Scanning dependencies of target template [2020-07-23T16:34:55.377Z] [ 74%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-07-23T16:34:55.647Z] [ 75%] Linking C executable template [2020-07-23T16:34:55.917Z] [ 75%] Built target template [2020-07-23T16:34:55.917Z] Scanning dependencies of target device-counter [2020-07-23T16:34:55.917Z] [ 77%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-07-23T16:34:56.185Z] [ 79%] Linking C executable device-counter [2020-07-23T16:34:56.459Z] [ 79%] Built target device-counter [2020-07-23T16:34:56.459Z] Scanning dependencies of target device-random [2020-07-23T16:34:56.459Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-07-23T16:34:56.729Z] [ 82%] Linking C executable device-random [2020-07-23T16:34:56.729Z] [ 82%] Built target device-random [2020-07-23T16:34:57.000Z] Scanning dependencies of target device-gyro [2020-07-23T16:34:57.000Z] [ 84%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-07-23T16:34:57.000Z] [ 86%] Linking C executable device-gyro [2020-07-23T16:34:57.270Z] [ 86%] Built target device-gyro [2020-07-23T16:34:57.270Z] Scanning dependencies of target device-bitfields [2020-07-23T16:34:57.270Z] [ 87%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2020-07-23T16:34:57.541Z] [ 89%] Linking C executable device-bitfields [2020-07-23T16:34:57.811Z] [ 89%] Built target device-bitfields [2020-07-23T16:34:57.811Z] Scanning dependencies of target template-discovery [2020-07-23T16:34:57.811Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-07-23T16:34:58.085Z] [ 93%] Linking C executable template-discovery [2020-07-23T16:34:58.356Z] [ 93%] Built target template-discovery [2020-07-23T16:34:58.356Z] Scanning dependencies of target device-terminal [2020-07-23T16:34:58.356Z] [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-07-23T16:34:58.626Z] [ 96%] Linking C executable device-terminal [2020-07-23T16:34:58.896Z] [ 96%] Built target device-terminal [2020-07-23T16:34:58.896Z] Scanning dependencies of target templatev1 [2020-07-23T16:34:58.896Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-07-23T16:34:59.169Z] [100%] Linking C executable templatev1 [2020-07-23T16:34:59.440Z] [100%] Built target templatev1 [2020-07-23T16:34:59.440Z] make: Entering directory '/tmp/sdk/build/release' [2020-07-23T16:34:59.440Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-07-23T16:34:59.440Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T16:34:59.440Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T16:34:59.440Z] [ 72%] Built target csdk [2020-07-23T16:34:59.440Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T16:34:59.440Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T16:34:59.711Z] [ 75%] Built target template [2020-07-23T16:34:59.711Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T16:34:59.711Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T16:34:59.711Z] [ 79%] Built target device-counter [2020-07-23T16:34:59.711Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T16:34:59.711Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T16:34:59.711Z] [ 82%] Built target device-random [2020-07-23T16:34:59.711Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T16:34:59.711Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T16:34:59.711Z] [ 86%] Built target device-gyro [2020-07-23T16:34:59.711Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T16:34:59.711Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T16:34:59.711Z] [ 89%] Built target device-bitfields [2020-07-23T16:34:59.711Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T16:34:59.711Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T16:34:59.711Z] [ 93%] Built target template-discovery [2020-07-23T16:34:59.711Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T16:34:59.711Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T16:34:59.711Z] [ 96%] Built target device-terminal [2020-07-23T16:34:59.711Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-23T16:34:59.981Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T16:34:59.981Z] [100%] Built target templatev1 [2020-07-23T16:34:59.981Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-07-23T16:34:59.981Z] Install the project... [2020-07-23T16:34:59.981Z] -- Install configuration: "Release" [2020-07-23T16:34:59.981Z] -- Installing: /usr/local/lib/libcsdk.so [2020-07-23T16:34:59.981Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-07-23T16:34:59.981Z] -- Up-to-date: /usr/local/include [2020-07-23T16:34:59.981Z] -- Installing: /usr/local/include/edgex [2020-07-23T16:34:59.981Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-07-23T16:34:59.981Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-07-23T16:34:59.981Z] -- Installing: /usr/local/include/edgex/error.h [2020-07-23T16:34:59.981Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-07-23T16:34:59.981Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-07-23T16:34:59.981Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-07-23T16:34:59.981Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-07-23T16:34:59.981Z] -- Installing: /usr/local/include/edgex/devices.h [2020-07-23T16:34:59.981Z] -- Installing: /usr/local/include/edgex/os.h [2020-07-23T16:34:59.981Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-07-23T16:34:59.981Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-07-23T16:34:59.981Z] -- Installing: /usr/local/include/devsdk [2020-07-23T16:34:59.981Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-07-23T16:34:59.981Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-07-23T16:34:59.981Z] -- Installing: /usr/local/include/iot [2020-07-23T16:34:59.981Z] -- Installing: /usr/local/include/iot/json.h [2020-07-23T16:34:59.981Z] -- Installing: /usr/local/include/iot/container.h [2020-07-23T16:34:59.981Z] -- Installing: /usr/local/include/iot/component.h [2020-07-23T16:34:59.981Z] -- Installing: /usr/local/include/iot/typecode.h [2020-07-23T16:34:59.981Z] -- Installing: /usr/local/include/iot/iot.h [2020-07-23T16:34:59.981Z] -- Installing: /usr/local/include/iot/time.h [2020-07-23T16:34:59.981Z] -- Installing: /usr/local/include/iot/hash.h [2020-07-23T16:34:59.981Z] -- Installing: /usr/local/include/iot/logger.h [2020-07-23T16:34:59.981Z] -- Installing: /usr/local/include/iot/os [2020-07-23T16:34:59.981Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-07-23T16:34:59.981Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-07-23T16:34:59.981Z] -- Installing: /usr/local/include/iot/os/macos.h [2020-07-23T16:34:59.981Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-07-23T16:34:59.981Z] -- Installing: /usr/local/include/iot/data.h [2020-07-23T16:34:59.981Z] -- Installing: /usr/local/include/iot/thread.h [2020-07-23T16:34:59.981Z] -- Installing: /usr/local/include/iot/os.h [2020-07-23T16:34:59.981Z] -- Installing: /usr/local/include/iot/base64.h [2020-07-23T16:34:59.981Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-07-23T16:34:59.981Z] -- Installing: /usr/local/include/iot/config.h [2020-07-23T16:34:59.981Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-07-23T16:34:59.981Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-07-23T16:34:59.981Z] make: Leaving directory '/tmp/sdk/build/release' [2020-07-23T16:35:02.582Z] Removing intermediate container 286ffaa64cd3 [2020-07-23T16:35:02.582Z] ---> 64f54867f707 [2020-07-23T16:35:02.582Z] Step 14/21 : FROM ${BASE} [2020-07-23T16:35:02.582Z] ---> b23d30803547 [2020-07-23T16:35:02.582Z] Step 15/21 : MAINTAINER IOTech [2020-07-23T16:35:02.582Z] ---> Running in e55796621912 [2020-07-23T16:35:02.582Z] Removing intermediate container e55796621912 [2020-07-23T16:35:02.582Z] ---> e02a53f5a296 [2020-07-23T16:35:02.582Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-07-23T16:35:02.854Z] ---> Running in 5d2be7be2f78 [2020-07-23T16:35:04.280Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-07-23T16:35:05.258Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-07-23T16:35:05.528Z] (1/3) Installing curl (7.64.0-r3) [2020-07-23T16:35:05.797Z] (2/3) Installing libuuid (2.33-r0) [2020-07-23T16:35:05.797Z] (3/3) Installing wget (1.20.3-r0) [2020-07-23T16:35:06.075Z] Executing busybox-1.29.3-r10.trigger [2020-07-23T16:35:06.075Z] OK: 281 MiB in 78 packages [2020-07-23T16:35:07.068Z] Removing intermediate container 5d2be7be2f78 [2020-07-23T16:35:07.068Z] ---> 6b87e02d6fa7 [2020-07-23T16:35:07.068Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-07-23T16:35:08.044Z] ---> 9f4c79e8f4f0 [2020-07-23T16:35:08.044Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-07-23T16:35:08.636Z] ---> ab801cbb50b9 [2020-07-23T16:35:08.636Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-07-23T16:35:09.610Z] ---> 67965cb02a7d [2020-07-23T16:35:09.610Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-07-23T16:35:10.204Z] ---> 04f4f9b4d3b4 [2020-07-23T16:35:10.204Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-07-23T16:35:10.796Z] ---> 76d5495c91c7 [2020-07-23T16:35:11.069Z] Successfully built 76d5495c91c7 [2020-07-23T16:35:11.069Z] 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-07-23T16:35:12.005Z] + docker inspect -f . ci-base-image-arm64 [2020-07-23T16:35:12.005Z] . [Pipeline] withDockerContainer [2020-07-23T16:35:12.329Z] prd-ubuntu18.04-docker-arm64-4c-16g-739 does not seem to be running inside a container [2020-07-23T16:35:12.415Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-07-23T16:35:14.317Z] $ docker top 16c3cb2a75517bcb9316fb211df6a1cdd47f6267d93eaa2a6d413c87304ebb4f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-07-23T16:35:15.775Z] + make test [2020-07-23T16:35:15.775Z] echo "make test" [2020-07-23T16:35:15.775Z] make test [Pipeline] } [2020-07-23T16:35:15.799Z] $ docker stop --time=1 16c3cb2a75517bcb9316fb211df6a1cdd47f6267d93eaa2a6d413c87304ebb4f [2020-07-23T16:35:17.703Z] $ docker rm -f 16c3cb2a75517bcb9316fb211df6a1cdd47f6267d93eaa2a6d413c87304ebb4f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-07-23T16:35:18.854Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-07-23T16:35:19.462Z] + ls -al . [2020-07-23T16:35:19.462Z] total 196 [2020-07-23T16:35:19.462Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 23 16:32 . [2020-07-23T16:35:19.462Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 23 16:32 .. [2020-07-23T16:35:19.462Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 23 16:32 .git [2020-07-23T16:35:19.462Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 23 16:32 .github [2020-07-23T16:35:19.462Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 23 16:32 .gitignore [2020-07-23T16:35:19.462Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 23 16:32 .semver [2020-07-23T16:35:19.462Z] -rw-rw-r-- 1 jenkins jenkins 3104 Jul 23 16:32 Attribution.txt [2020-07-23T16:35:19.462Z] -rw-rw-r-- 1 jenkins jenkins 5833 Jul 23 16:32 CHANGES [2020-07-23T16:35:19.462Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 23 16:32 Doxyfile [2020-07-23T16:35:19.462Z] -rw-rw-r-- 1 jenkins jenkins 794 Jul 23 16:32 Jenkinsfile [2020-07-23T16:35:19.462Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 23 16:32 LICENSE [2020-07-23T16:35:19.462Z] -rw-rw-r-- 1 jenkins jenkins 449 Jul 23 16:32 Makefile [2020-07-23T16:35:19.462Z] -rw-rw-r-- 1 jenkins jenkins 1849 Jul 23 16:32 README.md [2020-07-23T16:35:19.462Z] -rw-rw-r-- 1 jenkins jenkins 5977 Jul 23 16:32 README.v2.md [2020-07-23T16:35:19.462Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 23 16:30 VERSION [2020-07-23T16:35:19.462Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 23 16:32 docs [2020-07-23T16:35:19.462Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 23 16:32 include [2020-07-23T16:35:19.462Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 23 16:32 scripts [2020-07-23T16:35:19.462Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 23 16:32 src [Pipeline] isUnix [Pipeline] sh [2020-07-23T16:35:19.828Z] + 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=9ac00a8289218e9dd44205c0721247e224b5af00 --label arch=arm64 --label version=0.0.0 . [2020-07-23T16:35:20.422Z] Sending build context to Docker daemon 3.424MB [2020-07-23T16:35:20.422Z] Step 1/15 : ARG BASE=alpine:3.11 [2020-07-23T16:35:20.422Z] Step 2/15 : FROM ${BASE} [2020-07-23T16:35:20.422Z] ---> 76d5495c91c7 [2020-07-23T16:35:20.422Z] Step 3/15 : MAINTAINER IOTech [2020-07-23T16:35:20.695Z] ---> Running in 8f9afe993f58 [2020-07-23T16:35:20.965Z] Removing intermediate container 8f9afe993f58 [2020-07-23T16:35:20.965Z] ---> 060ddaa3ed0f [2020-07-23T16:35:20.965Z] 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-07-23T16:35:21.236Z] ---> Running in 38a7ceb4ecd6 [2020-07-23T16:35:22.660Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-07-23T16:35:23.627Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-07-23T16:35:23.897Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2020-07-23T16:35:24.167Z] (2/6) Installing libblkid (2.33-r0) [2020-07-23T16:35:24.167Z] (3/6) Installing libfdisk (2.33-r0) [2020-07-23T16:35:24.439Z] (4/6) Installing libmount (2.33-r0) [2020-07-23T16:35:24.709Z] (5/6) Installing libsmartcols (2.33-r0) [2020-07-23T16:35:24.709Z] (6/6) Installing util-linux-dev (2.33-r0) [2020-07-23T16:35:25.299Z] Executing busybox-1.29.3-r10.trigger [2020-07-23T16:35:25.299Z] OK: 286 MiB in 84 packages [2020-07-23T16:35:26.725Z] Removing intermediate container 38a7ceb4ecd6 [2020-07-23T16:35:26.725Z] ---> e2397988255d [2020-07-23T16:35:26.725Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-07-23T16:35:27.319Z] ---> f350471038fd [2020-07-23T16:35:27.319Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-07-23T16:35:28.293Z] ---> 3c2b79e13da3 [2020-07-23T16:35:28.293Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-07-23T16:35:28.886Z] ---> 68bac5fc440d [2020-07-23T16:35:28.886Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-07-23T16:35:29.862Z] ---> fb62a20b5c62 [2020-07-23T16:35:29.862Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-07-23T16:35:30.454Z] ---> e9058ff7a9c4 [2020-07-23T16:35:30.454Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-07-23T16:35:31.047Z] ---> 658ef68eb8a0 [2020-07-23T16:35:31.047Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-07-23T16:35:31.320Z] ---> Running in be358a3e3ad6 [2020-07-23T16:35:31.590Z] Removing intermediate container be358a3e3ad6 [2020-07-23T16:35:31.590Z] ---> b690792cfa5f [2020-07-23T16:35:31.590Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-07-23T16:35:31.861Z] ---> Running in ea930944b197 [2020-07-23T16:35:32.134Z] Removing intermediate container ea930944b197 [2020-07-23T16:35:32.134Z] ---> 545ef6b3ee0c [2020-07-23T16:35:32.134Z] Step 13/15 : LABEL arch=arm64 [2020-07-23T16:35:32.406Z] ---> Running in 5a72dd0c4a9e [2020-07-23T16:35:32.998Z] Removing intermediate container 5a72dd0c4a9e [2020-07-23T16:35:32.998Z] ---> 81658095bf59 [2020-07-23T16:35:32.998Z] Step 14/15 : LABEL git_sha=9ac00a8289218e9dd44205c0721247e224b5af00 [2020-07-23T16:35:32.998Z] ---> Running in 2aa99b609138 [2020-07-23T16:35:33.590Z] Removing intermediate container 2aa99b609138 [2020-07-23T16:35:33.590Z] ---> a906cbba1e82 [2020-07-23T16:35:33.590Z] Step 15/15 : LABEL version=0.0.0 [2020-07-23T16:35:33.590Z] ---> Running in 773bbcd229d2 [2020-07-23T16:35:34.179Z] Removing intermediate container 773bbcd229d2 [2020-07-23T16:35:34.179Z] ---> a8c2d947031a [2020-07-23T16:35:34.179Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2020-07-23T16:35:34.179Z] Successfully built a8c2d947031a [2020-07-23T16:35:34.179Z] 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-07-23T16:35:37.296Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-23T16:35:37.895Z] ---> package-listing.sh [2020-07-23T16:35:37.895Z] ++ facter osfamily [2020-07-23T16:35:37.895Z] ++ tr '[:upper:]' '[:lower:]' [2020-07-23T16:35:37.895Z] + OS_FAMILY=redhat [2020-07-23T16:35:37.895Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-285 [2020-07-23T16:35:37.895Z] + START_PACKAGES=/tmp/packages_start.txt [2020-07-23T16:35:37.895Z] + END_PACKAGES=/tmp/packages_end.txt [2020-07-23T16:35:37.895Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-07-23T16:35:37.895Z] + PACKAGES=/tmp/packages_start.txt [2020-07-23T16:35:37.895Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-285 ']' [2020-07-23T16:35:37.895Z] + PACKAGES=/tmp/packages_end.txt [2020-07-23T16:35:37.895Z] + case "${OS_FAMILY}" in [2020-07-23T16:35:37.895Z] + rpm -qa [2020-07-23T16:35:37.895Z] + sort [2020-07-23T16:35:42.103Z] + '[' -f /tmp/packages_start.txt ']' [2020-07-23T16:35:42.103Z] + '[' -f /tmp/packages_end.txt ']' [2020-07-23T16:35:42.103Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-07-23T16:35:42.103Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-285 ']' [2020-07-23T16:35:42.103Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-285/archives/ [2020-07-23T16:35:42.104Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-285/archives/ [Pipeline] isUnix [Pipeline] sh [2020-07-23T16:35:42.713Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-23T16:35:42.713Z] [2020-07-23T16:35:42.713Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-07-23T16:35:43.105Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-23T16:35:43.106Z] alpine: Pulling from edgex-lftools-log-publisher [2020-07-23T16:35:43.106Z] c9b1b535fdd9: Pulling fs layer [2020-07-23T16:35:43.106Z] 2cc5ad85d9ab: Pulling fs layer [2020-07-23T16:35:43.106Z] 756a868c4378: Pulling fs layer [2020-07-23T16:35:43.106Z] 444b2fc9a129: Pulling fs layer [2020-07-23T16:35:43.106Z] ea15f1150254: Pulling fs layer [2020-07-23T16:35:43.106Z] 41b27a9f41bf: Pulling fs layer [2020-07-23T16:35:43.106Z] 28c525ee5125: Pulling fs layer [2020-07-23T16:35:43.106Z] 094b1ea09ed8: Pulling fs layer [2020-07-23T16:35:43.106Z] 138eaada9080: Pulling fs layer [2020-07-23T16:35:43.106Z] 0622d0fa9048: Pulling fs layer [2020-07-23T16:35:43.106Z] 41b27a9f41bf: Waiting [2020-07-23T16:35:43.106Z] 28c525ee5125: Waiting [2020-07-23T16:35:43.106Z] 094b1ea09ed8: Waiting [2020-07-23T16:35:43.106Z] 0622d0fa9048: Waiting [2020-07-23T16:35:43.106Z] 138eaada9080: Waiting [2020-07-23T16:35:43.106Z] 444b2fc9a129: Waiting [2020-07-23T16:35:43.106Z] ea15f1150254: Waiting [2020-07-23T16:35:43.106Z] 2cc5ad85d9ab: Verifying Checksum [2020-07-23T16:35:43.106Z] 2cc5ad85d9ab: Download complete [2020-07-23T16:35:43.106Z] 444b2fc9a129: Verifying Checksum [2020-07-23T16:35:43.106Z] 444b2fc9a129: Download complete [2020-07-23T16:35:43.106Z] c9b1b535fdd9: Verifying Checksum [2020-07-23T16:35:43.106Z] c9b1b535fdd9: Download complete [2020-07-23T16:35:43.106Z] ea15f1150254: Download complete [2020-07-23T16:35:43.106Z] 28c525ee5125: Verifying Checksum [2020-07-23T16:35:43.106Z] 28c525ee5125: Download complete [2020-07-23T16:35:43.704Z] 756a868c4378: Verifying Checksum [2020-07-23T16:35:43.704Z] 756a868c4378: Download complete [2020-07-23T16:35:43.704Z] c9b1b535fdd9: Pull complete [2020-07-23T16:35:43.704Z] 138eaada9080: Verifying Checksum [2020-07-23T16:35:43.704Z] 138eaada9080: Download complete [2020-07-23T16:35:43.704Z] 0622d0fa9048: Verifying Checksum [2020-07-23T16:35:43.704Z] 0622d0fa9048: Download complete [2020-07-23T16:35:43.704Z] 094b1ea09ed8: Verifying Checksum [2020-07-23T16:35:43.704Z] 094b1ea09ed8: Download complete [2020-07-23T16:35:43.704Z] 2cc5ad85d9ab: Pull complete [2020-07-23T16:35:44.291Z] 41b27a9f41bf: Verifying Checksum [2020-07-23T16:35:44.291Z] 41b27a9f41bf: Download complete [2020-07-23T16:35:45.239Z] 756a868c4378: Pull complete [2020-07-23T16:35:45.239Z] 444b2fc9a129: Pull complete [2020-07-23T16:35:45.501Z] ea15f1150254: Pull complete [2020-07-23T16:35:49.730Z] 41b27a9f41bf: Pull complete [2020-07-23T16:35:49.730Z] 28c525ee5125: Pull complete [2020-07-23T16:35:53.056Z] 094b1ea09ed8: Pull complete [2020-07-23T16:35:53.056Z] 138eaada9080: Pull complete [2020-07-23T16:35:53.056Z] 0622d0fa9048: Pull complete [2020-07-23T16:35:53.056Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-07-23T16:35:53.056Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-23T16:35:53.056Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-07-23T16:35:53.230Z] prd-centos7-docker-4c-2g-738 does not seem to be running inside a container [2020-07-23T16:35:53.267Z] $ 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-285 -v /w/workspace/edgexfoundry_device-sdk-c_PR-285:/w/workspace/edgexfoundry_device-sdk-c_PR-285:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-285@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-285@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-07-23T16:35:56.920Z] $ docker top 2350987fcea0934c4c5063d56a20a914744850e01e2c32e95e01e69cc53b42a1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-07-23T16:35:57.284Z] provisioning config files... [2020-07-23T16:35:57.302Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-285@tmp/config6597175828673413572tmp [Pipeline] { [Pipeline] echo [2020-07-23T16:35:57.416Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-23T16:35:57.737Z] ---> create-netrc.sh [Pipeline] echo [2020-07-23T16:35:57.766Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-23T16:35:58.086Z] ---> logs-deploy.sh [2020-07-23T16:35:58.086Z] + ARCHIVE_ARTIFACTS= [2020-07-23T16:35:58.086Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-07-23T16:35:58.086Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-07-23T16:35:58.086Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-07-23T16:35:58.086Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-285/1 [2020-07-23T16:35:58.086Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-285/1/ [2020-07-23T16:35:58.086Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-285/1 /w/workspace/edgexfoundry_device-sdk-c_PR-285 [2020-07-23T16:35:59.471Z] Archives upload complete. [2020-07-23T16:35:59.471Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-285/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-285/1/