Push event to branch geneva Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 11dca0682671ac21648f2eee6e4306387f0e3104 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 58add5173bd5747e956b7cc86a1e88a765e134cb 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 58add5173bd5747e956b7cc86a1e88a765e134cb 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/geneva/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 58add5173bd5747e956b7cc86a1e88a765e134cb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 58add5173bd5747e956b7cc86a1e88a765e134cb # timeout=10 Commit message: "Merge pull request #215 from ernestojeda/disable-tests-on-release-stream" > 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.9-base, dockerFilePath:scripts/Dockerfile.alpine-3.9, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine-3.9 DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-3.9-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-c DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-640 in /w/workspace/edgexfoundry_device-sdk-c_geneva [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_geneva # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/geneva:refs/remotes/origin/geneva # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching without tags Checking out Revision 11dca0682671ac21648f2eee6e4306387f0e3104 (geneva) > git config --add remote.origin.fetch +refs/heads/geneva:refs/remotes/origin/geneva # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/geneva:refs/remotes/origin/geneva # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 11dca0682671ac21648f2eee6e4306387f0e3104 # timeout=10 Commit message: "Merge pull request #265 from iain-anderson/compat-fixes" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 58add5173bd5747e956b7cc86a1e88a765e134cb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-07-22T22:37:23.268Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-07-22T22:37:23.543Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-07-22T22:37:23.713Z] ========================================================= [2020-07-22T22:37:23.714Z] EdgeX Global Pipelines Version Info [2020-07-22T22:37:23.714Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-07-22T22:37:26.143Z] ------------------- [2020-07-22T22:37:26.143Z] stable info: [2020-07-22T22:37:26.143Z] ------------------- [2020-07-22T22:37:26.143Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-07-22T22:37:26.143Z] Commit SHA: 58add5173bd5747e956b7cc86a1e88a765e134cb [2020-07-22T22:37:26.143Z] Message: update stable to v1.0.103 [2020-07-22T22:37:27.173Z] ------------------- [2020-07-22T22:37:27.173Z] experimental info: [2020-07-22T22:37:27.173Z] ------------------- [2020-07-22T22:37:27.173Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-07-22T22:37:27.173Z] Commit SHA: 58add5173bd5747e956b7cc86a1e88a765e134cb [2020-07-22T22:37:27.173Z] Message: update experimental to v1.0.103 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-07-22T22:37:30.053Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-22T22:37:30.367Z] [2020-07-22T22:37:30.367Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-07-22T22:37:30.985Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-22T22:37:30.985Z] latest: Pulling from edgex-devops/git-semver [2020-07-22T22:37:30.985Z] 31603596830f: Pulling fs layer [2020-07-22T22:37:30.985Z] 2a8b12db71e7: Pulling fs layer [2020-07-22T22:37:30.985Z] 6ca5941a6612: Pulling fs layer [2020-07-22T22:37:30.985Z] ecc8261a40a4: Pulling fs layer [2020-07-22T22:37:30.985Z] ecc8261a40a4: Waiting [2020-07-22T22:37:31.399Z] 2a8b12db71e7: Download complete [2020-07-22T22:37:32.103Z] 31603596830f: Verifying Checksum [2020-07-22T22:37:32.103Z] 31603596830f: Download complete [2020-07-22T22:37:32.103Z] 6ca5941a6612: Verifying Checksum [2020-07-22T22:37:32.103Z] 6ca5941a6612: Download complete [2020-07-22T22:37:32.437Z] ecc8261a40a4: Verifying Checksum [2020-07-22T22:37:32.437Z] ecc8261a40a4: Download complete [2020-07-22T22:37:32.437Z] 31603596830f: Pull complete [2020-07-22T22:37:32.704Z] 2a8b12db71e7: Pull complete [2020-07-22T22:37:33.725Z] 6ca5941a6612: Pull complete [2020-07-22T22:37:34.024Z] ecc8261a40a4: Pull complete [2020-07-22T22:37:34.024Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-07-22T22:37:34.024Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-22T22:37:34.024Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-07-22T22:37:34.351Z] prd-centos7-docker-4c-2g-640 does not seem to be running inside a container [2020-07-22T22:37:34.522Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_geneva -v /w/workspace/edgexfoundry_device-sdk-c_geneva:/w/workspace/edgexfoundry_device-sdk-c_geneva:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_geneva@tmp:/w/workspace/edgexfoundry_device-sdk-c_geneva@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-07-22T22:37:36.635Z] $ docker top f5a798bc9c46b7684af172e7a6f583cde0ac64d362014ab8d44dc7fe510e167e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-07-22T22:37:37.051Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-22T22:37:37.051Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-22T22:37:37.756Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-22T22:37:37.757Z] $ docker exec f5a798bc9c46b7684af172e7a6f583cde0ac64d362014ab8d44dc7fe510e167e ssh-agent [2020-07-22T22:37:38.178Z] SSH_AUTH_SOCK=/tmp/ssh-AMCHFWj0pwPM/agent.11 [2020-07-22T22:37:38.178Z] SSH_AGENT_PID=17 [2020-07-22T22:37:38.212Z] Running ssh-add (command line suppressed) [2020-07-22T22:37:38.434Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_geneva@tmp/private_key_7750568510650261177.key (/w/workspace/edgexfoundry_device-sdk-c_geneva@tmp/private_key_7750568510650261177.key) [2020-07-22T22:37:38.552Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-22T22:37:38.981Z] + git describe --exact-match --tags HEAD [2020-07-22T22:37:38.981Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-07-22T22:37:39.162Z] $ docker exec --env ******** --env ******** f5a798bc9c46b7684af172e7a6f583cde0ac64d362014ab8d44dc7fe510e167e ssh-agent -k [2020-07-22T22:37:39.641Z] unset SSH_AUTH_SOCK; [2020-07-22T22:37:39.649Z] unset SSH_AGENT_PID; [2020-07-22T22:37:39.649Z] echo Agent pid 17 killed; [2020-07-22T22:37:39.716Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-07-22T22:37:39.849Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-07-22T22:37:39.849Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-07-22T22:37:39.965Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-22T22:37:39.965Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-22T22:37:40.582Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-22T22:37:40.589Z] $ docker exec f5a798bc9c46b7684af172e7a6f583cde0ac64d362014ab8d44dc7fe510e167e ssh-agent [2020-07-22T22:37:40.907Z] SSH_AUTH_SOCK=/tmp/ssh-e6OLHvZh9yNy/agent.47 [2020-07-22T22:37:40.907Z] SSH_AGENT_PID=52 [2020-07-22T22:37:40.916Z] Running ssh-add (command line suppressed) [2020-07-22T22:37:41.121Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_geneva@tmp/private_key_3190680139637435825.key (/w/workspace/edgexfoundry_device-sdk-c_geneva@tmp/private_key_3190680139637435825.key) [2020-07-22T22:37:41.226Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-22T22:37:41.646Z] + git semver init [2020-07-22T22:37:41.646Z] # -> Open(): unable to determine branch for HEAD [2020-07-22T22:37:41.646Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_geneva/.git [2020-07-22T22:37:41.646Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_geneva [2020-07-22T22:37:41.646Z] # $SEMVER_REMOTE_NAME = origin [2020-07-22T22:37:41.646Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-07-22T22:37:41.647Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-07-22T22:37:41.647Z] # $SEMVER_BRANCH = geneva [2020-07-22T22:37:41.647Z] # $SEMVER_TEMP = /tmp/semver-034743847 [2020-07-22T22:37:41.647Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2020-07-22T22:37:42.670Z] # '/tmp/semver-034743847' -> '/w/workspace/edgexfoundry_device-sdk-c_geneva/.semver' [2020-07-22T22:37:42.670Z] # -> Force: false [2020-07-22T22:37:42.670Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_geneva/.semver [Pipeline] } [2020-07-22T22:37:42.729Z] $ docker exec --env ******** --env ******** f5a798bc9c46b7684af172e7a6f583cde0ac64d362014ab8d44dc7fe510e167e ssh-agent -k [2020-07-22T22:37:42.956Z] unset SSH_AUTH_SOCK; [2020-07-22T22:37:42.956Z] unset SSH_AGENT_PID; [2020-07-22T22:37:42.956Z] echo Agent pid 52 killed; [2020-07-22T22:37:43.018Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-07-22T22:37:43.892Z] + git semver [Pipeline] } [2020-07-22T22:37:43.943Z] $ docker stop --time=1 f5a798bc9c46b7684af172e7a6f583cde0ac64d362014ab8d44dc7fe510e167e [2020-07-22T22:37:45.604Z] $ docker rm -f f5a798bc9c46b7684af172e7a6f583cde0ac64d362014ab8d44dc7fe510e167e [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-07-22T22:37:47.081Z] Stashed 35 file(s) [Pipeline] echo [2020-07-22T22:37:47.099Z] [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-22T22:38:02.597Z] Still waiting to schedule task [2020-07-22T22:38:02.597Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-640’ [2020-07-22T22:38:02.617Z] Still waiting to schedule task [2020-07-22T22:38:02.617Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-07-22T22:39:44.065Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-641 in /w/workspace/edgexfoundry_device-sdk-c_geneva [Pipeline] { [Pipeline] ws [2020-07-22T22:39:44.129Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2020-07-22T22:39:48.962Z] using credential edgex-jenkins-ssh [2020-07-22T22:39:49.012Z] Cloning the remote Git repository [2020-07-22T22:39:49.012Z] Cloning with configured refspecs honoured and without tags [2020-07-22T22:39:49.076Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-07-22T22:39:50.292Z] Fetching without tags [2020-07-22T22:39:49.193Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2020-07-22T22:39:49.263Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-07-22T22:39:49.263Z] > git --version # timeout=10 [2020-07-22T22:39:49.288Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-22T22:39:49.383Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/geneva:refs/remotes/origin/geneva # timeout=10 [2020-07-22T22:39:50.222Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-07-22T22:39:50.246Z] > git config --add remote.origin.fetch +refs/heads/geneva:refs/remotes/origin/geneva # timeout=10 [2020-07-22T22:39:50.274Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-07-22T22:39:50.304Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-07-22T22:39:50.304Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-22T22:39:50.744Z] Checking out Revision 11dca0682671ac21648f2eee6e4306387f0e3104 (geneva) [2020-07-22T22:39:50.317Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/geneva:refs/remotes/origin/geneva # timeout=10 [2020-07-22T22:39:50.767Z] > git config core.sparsecheckout # timeout=10 [2020-07-22T22:39:50.791Z] > git checkout -f 11dca0682671ac21648f2eee6e4306387f0e3104 # timeout=10 [2020-07-22T22:39:55.330Z] Commit message: "Merge pull request #265 from iain-anderson/compat-fixes" [2020-07-22T22:39:55.381Z] > git --version # timeout=10 [2020-07-22T22:39:55.403Z] fatal: bad object 58add5173bd5747e956b7cc86a1e88a765e134cb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-07-22T22:39:56.821Z] ========================================================= [2020-07-22T22:39:56.821Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2020-07-22T22:39:56.821Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-22T22:39:58.005Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-3.9-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2020-07-22T22:39:59.467Z] Sending build context to Docker daemon 3.31MB [2020-07-22T22:39:59.467Z] Step 1/21 : ARG BASE=alpine:3.9 [2020-07-22T22:39:59.467Z] Step 2/21 : FROM ${BASE} as builder [2020-07-22T22:39:59.467Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2020-07-22T22:39:59.467Z] 0362ad1dd800: Pulling fs layer [2020-07-22T22:39:59.467Z] f2cdb1532d8b: Pulling fs layer [2020-07-22T22:39:59.467Z] 37ed683be191: Pulling fs layer [2020-07-22T22:39:59.467Z] f2cdb1532d8b: Verifying Checksum [2020-07-22T22:39:59.467Z] f2cdb1532d8b: Download complete [2020-07-22T22:39:59.739Z] 0362ad1dd800: Verifying Checksum [2020-07-22T22:39:59.739Z] 0362ad1dd800: Download complete [2020-07-22T22:40:00.337Z] 0362ad1dd800: Pull complete [2020-07-22T22:40:00.612Z] f2cdb1532d8b: Pull complete [2020-07-22T22:40:01.585Z] 37ed683be191: Download complete [2020-07-22T22:40:09.304Z] Running on prd-centos7-docker-4c-2g-642 in /w/workspace/edgexfoundry_device-sdk-c_geneva [Pipeline] { [Pipeline] ws [2020-07-22T22:40:09.380Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2020-07-22T22:40:11.759Z] 37ed683be191: Pull complete [2020-07-22T22:40:11.759Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2020-07-22T22:40:11.759Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2020-07-22T22:40:11.759Z] ---> b23d30803547 [2020-07-22T22:40:11.759Z] 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-22T22:40:12.014Z] using credential edgex-jenkins-ssh [2020-07-22T22:40:12.054Z] Cloning the remote Git repository [2020-07-22T22:40:12.054Z] Cloning with configured refspecs honoured and without tags [2020-07-22T22:40:12.735Z] ---> Running in 5ed89c1fbcd2 [2020-07-22T22:40:12.071Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-07-22T22:40:12.136Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2020-07-22T22:40:12.184Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-07-22T22:40:12.184Z] > git --version # timeout=10 [2020-07-22T22:40:12.193Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-22T22:40:12.216Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/geneva:refs/remotes/origin/geneva # timeout=10 [2020-07-22T22:40:12.741Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-07-22T22:40:12.748Z] > git config --add remote.origin.fetch +refs/heads/geneva:refs/remotes/origin/geneva # timeout=10 [2020-07-22T22:40:12.772Z] Fetching without tags [2020-07-22T22:40:13.150Z] Checking out Revision 11dca0682671ac21648f2eee6e4306387f0e3104 (geneva) [2020-07-22T22:40:12.763Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-07-22T22:40:12.773Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-07-22T22:40:12.773Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-22T22:40:12.777Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/geneva:refs/remotes/origin/geneva # timeout=10 [2020-07-22T22:40:13.155Z] > git config core.sparsecheckout # timeout=10 [2020-07-22T22:40:13.159Z] > git checkout -f 11dca0682671ac21648f2eee6e4306387f0e3104 # timeout=10 [2020-07-22T22:40:14.709Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-07-22T22:40:15.301Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-07-22T22:40:15.580Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-07-22T22:40:15.580Z] (2/8) Installing libuuid (2.33-r0) [2020-07-22T22:40:15.850Z] (3/8) Installing libblkid (2.33-r0) [2020-07-22T22:40:15.850Z] (4/8) Installing libfdisk (2.33-r0) [2020-07-22T22:40:15.850Z] (5/8) Installing libmount (2.33-r0) [2020-07-22T22:40:16.131Z] (6/8) Installing libsmartcols (2.33-r0) [2020-07-22T22:40:16.131Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-07-22T22:40:16.406Z] (8/8) Installing wget (1.20.3-r0) [2020-07-22T22:40:16.406Z] Executing busybox-1.29.3-r10.trigger [2020-07-22T22:40:16.406Z] OK: 285 MiB in 83 packages [2020-07-22T22:40:16.796Z] Commit message: "Merge pull request #265 from iain-anderson/compat-fixes" [2020-07-22T22:40:16.816Z] > git --version # timeout=10 [2020-07-22T22:40:16.829Z] fatal: bad object 58add5173bd5747e956b7cc86a1e88a765e134cb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-07-22T22:40:17.789Z] ========================================================= [2020-07-22T22:40:17.789Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2020-07-22T22:40:17.789Z] ========================================================= [Pipeline] isUnix [2020-07-22T22:40:17.846Z] Removing intermediate container 5ed89c1fbcd2 [2020-07-22T22:40:17.846Z] ---> db8e56f6b7c6 [2020-07-22T22:40:17.846Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [Pipeline] sh [2020-07-22T22:40:18.126Z] ---> Running in 1d59479ddbb8 [2020-07-22T22:40:18.409Z] Removing intermediate container 1d59479ddbb8 [2020-07-22T22:40:18.409Z] ---> b3f9e39d6123 [2020-07-22T22:40:18.409Z] 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-22T22:40:18.409Z] ---> Running in 8182093431c0 [2020-07-22T22:40:18.446Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-3.9-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2020-07-22T22:40:18.713Z] Sending build context to Docker daemon 3.31MB [2020-07-22T22:40:18.713Z] Step 1/21 : ARG BASE=alpine:3.9 [2020-07-22T22:40:18.713Z] Step 2/21 : FROM ${BASE} as builder [2020-07-22T22:40:18.713Z] latest: Pulling from edgex-devops/edgex-gcc-base [2020-07-22T22:40:18.713Z] e7c96db7181b: Pulling fs layer [2020-07-22T22:40:18.713Z] 4c13bbce0fe7: Pulling fs layer [2020-07-22T22:40:18.713Z] 6059c847ac2f: Pulling fs layer [2020-07-22T22:40:18.979Z] 4c13bbce0fe7: Verifying Checksum [2020-07-22T22:40:18.979Z] 4c13bbce0fe7: Download complete [2020-07-22T22:40:18.979Z] e7c96db7181b: Verifying Checksum [2020-07-22T22:40:18.979Z] e7c96db7181b: Download complete [2020-07-22T22:40:19.241Z] e7c96db7181b: Pull complete [2020-07-22T22:40:19.242Z] 4c13bbce0fe7: Pull complete [2020-07-22T22:40:19.816Z] 6059c847ac2f: Verifying Checksum [2020-07-22T22:40:19.816Z] 6059c847ac2f: Download complete [2020-07-22T22:40:19.850Z] --2020-07-22 22:40:19-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-07-22T22:40:19.850Z] Resolving github.com... 140.82.114.4 [2020-07-22T22:40:19.850Z] Connecting to github.com|140.82.114.4|:443... connected. [2020-07-22T22:40:20.122Z] HTTP request sent, awaiting response... 302 Found [2020-07-22T22:40:20.122Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-07-22T22:40:20.122Z] --2020-07-22 22:40:19-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-07-22T22:40:20.122Z] Resolving codeload.github.com... 140.82.114.10 [2020-07-22T22:40:20.122Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2020-07-22T22:40:20.401Z] HTTP request sent, awaiting response... 200 OK [2020-07-22T22:40:20.401Z] Length: unspecified [application/x-gzip] [2020-07-22T22:40:20.401Z] Saving to: 'STDOUT' [2020-07-22T22:40:20.401Z]  [2020-07-22T22:40:20.401Z] 0K .......... .......... .......... .......... .......... 1.53M [2020-07-22T22:40:20.401Z] 50K .......... .......... .......... .......... .......... 2.82M [2020-07-22T22:40:20.401Z] 100K .......... .......... .......... .......... .......... 3.06M [2020-07-22T22:40:20.401Z] 150K .......... .......... .......... .......... .......... 9.63M [2020-07-22T22:40:20.401Z] 200K .......... .......... .......... .......... .......... 14.6M [2020-07-22T22:40:20.401Z] 250K .......... .......... .......... .......... .......... 3.56M [2020-07-22T22:40:20.401Z] 300K .......... .......... .......... .......... .......... 3.77M [2020-07-22T22:40:20.401Z] 350K .......... .......... .......... .......... .......... 6.79M [2020-07-22T22:40:20.401Z] 400K .......... .......... .......... .......... .......... 2.83M [2020-07-22T22:40:20.401Z] 450K .......... .......... .......... .......... .......... 3.55M [2020-07-22T22:40:20.401Z] 500K .......... .......... .......... .......... .......... 9.85M [2020-07-22T22:40:20.401Z] 550K .......... .......... .......... .......... .......... 2.48M [2020-07-22T22:40:20.401Z] 600K .......... .......... .......... .......... .......... 883K [2020-07-22T22:40:20.401Z] 650K .......... .......... .......... .......... .......... 1.83M [2020-07-22T22:40:20.679Z] 700K ..   1.25M=0.2s [2020-07-22T22:40:20.679Z] [2020-07-22T22:40:20.679Z] 2020-07-22 22:40:20 (2.76 MB/s) - written to stdout [719348] [2020-07-22T22:40:20.679Z] [2020-07-22T22:40:20.954Z] -- The C compiler identification is GNU 8.3.0 [2020-07-22T22:40:20.954Z] -- The CXX compiler identification is GNU 8.3.0 [2020-07-22T22:40:20.954Z] -- Check for working C compiler: /usr/bin/cc [2020-07-22T22:40:21.227Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-07-22T22:40:21.227Z] -- Detecting C compiler ABI info [2020-07-22T22:40:21.499Z] -- Detecting C compiler ABI info - done [2020-07-22T22:40:21.499Z] -- Detecting C compile features [2020-07-22T22:40:22.473Z] -- Detecting C compile features - done [2020-07-22T22:40:22.473Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-07-22T22:40:22.473Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-07-22T22:40:22.473Z] -- Detecting CXX compiler ABI info [2020-07-22T22:40:22.746Z] -- Detecting CXX compiler ABI info - done [2020-07-22T22:40:22.746Z] -- Detecting CXX compile features [2020-07-22T22:40:24.199Z] 6059c847ac2f: Pull complete [2020-07-22T22:40:24.199Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2020-07-22T22:40:24.199Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2020-07-22T22:40:24.199Z] ---> 5eabd8fd8ba2 [2020-07-22T22:40:24.199Z] 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-22T22:40:24.718Z] -- Detecting CXX compile features - done [2020-07-22T22:40:24.719Z] -- Looking for include file endian.h [2020-07-22T22:40:24.719Z] -- Looking for include file endian.h - found [2020-07-22T22:40:24.719Z] -- Check if the system is big endian [2020-07-22T22:40:24.719Z] -- Searching 16 bit integer [2020-07-22T22:40:24.719Z] -- Looking for sys/types.h [2020-07-22T22:40:25.003Z] -- Looking for sys/types.h - found [2020-07-22T22:40:25.004Z] -- Looking for stdint.h [2020-07-22T22:40:25.004Z] -- Looking for stdint.h - found [2020-07-22T22:40:25.004Z] -- Looking for stddef.h [2020-07-22T22:40:25.277Z] -- Looking for stddef.h - found [2020-07-22T22:40:25.277Z] -- Check size of unsigned short [2020-07-22T22:40:25.551Z] -- Check size of unsigned short - done [2020-07-22T22:40:25.551Z] -- Using unsigned short [2020-07-22T22:40:25.584Z] ---> Running in f07280870148 [2020-07-22T22:40:25.825Z] -- Check if the system is big endian - little endian [2020-07-22T22:40:25.825Z] -- Check size of size_t [2020-07-22T22:40:25.845Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-07-22T22:40:26.096Z] -- Check size of size_t - done [2020-07-22T22:40:26.096Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-07-22T22:40:26.096Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-07-22T22:40:26.096Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-07-22T22:40:26.096Z] CMake did not find one. [2020-07-22T22:40:26.096Z] [2020-07-22T22:40:26.096Z] Could not find a package configuration file provided by "cJSON" with any of [2020-07-22T22:40:26.096Z] the following names: [2020-07-22T22:40:26.096Z] [2020-07-22T22:40:26.096Z] cJSONConfig.cmake [2020-07-22T22:40:26.096Z] cjson-config.cmake [2020-07-22T22:40:26.096Z] [2020-07-22T22:40:26.096Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-07-22T22:40:26.096Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-07-22T22:40:26.096Z] provides a separate development package or SDK, be sure it has been [2020-07-22T22:40:26.096Z] installed. [2020-07-22T22:40:26.096Z] [2020-07-22T22:40:26.096Z] [2020-07-22T22:40:26.096Z] -- Configuring done [2020-07-22T22:40:26.369Z] -- Generating done [2020-07-22T22:40:26.369Z] -- Build files have been written to: /tmp/cbor [2020-07-22T22:40:26.642Z] Scanning dependencies of target cbor_shared [2020-07-22T22:40:26.642Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-07-22T22:40:26.784Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-07-22T22:40:26.784Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-07-22T22:40:27.045Z] (2/8) Installing libuuid (2.33-r0) [2020-07-22T22:40:27.045Z] (3/8) Installing libblkid (2.33-r0) [2020-07-22T22:40:27.045Z] (4/8) Installing libfdisk (2.33-r0) [2020-07-22T22:40:27.238Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-07-22T22:40:27.306Z] (5/8) Installing libmount (2.33-r0) [2020-07-22T22:40:27.307Z] (6/8) Installing libsmartcols (2.33-r0) [2020-07-22T22:40:27.307Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-07-22T22:40:27.568Z] (8/8) Installing wget (1.20.3-r0) [2020-07-22T22:40:27.568Z] Executing busybox-1.29.3-r10.trigger [2020-07-22T22:40:27.568Z] OK: 272 MiB in 83 packages [2020-07-22T22:40:27.835Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-07-22T22:40:28.107Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-07-22T22:40:28.138Z] Removing intermediate container f07280870148 [2020-07-22T22:40:28.138Z] ---> def9ff4b346c [2020-07-22T22:40:28.138Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-07-22T22:40:28.138Z] ---> Running in 1a503b3e16cc [2020-07-22T22:40:28.402Z] Removing intermediate container 1a503b3e16cc [2020-07-22T22:40:28.402Z] ---> 8c21a0598fd4 [2020-07-22T22:40:28.402Z] 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-22T22:40:28.402Z] ---> Running in fe562b74216d [2020-07-22T22:40:28.699Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-07-22T22:40:28.971Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-07-22T22:40:29.244Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-07-22T22:40:29.244Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-07-22T22:40:29.343Z] --2020-07-22 22:40:29-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-07-22T22:40:29.343Z] Resolving github.com... 140.82.114.4 [2020-07-22T22:40:29.344Z] Connecting to github.com|140.82.114.4|:443... connected. [2020-07-22T22:40:29.344Z] HTTP request sent, awaiting response... 302 Found [2020-07-22T22:40:29.344Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-07-22T22:40:29.344Z] --2020-07-22 22:40:29-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-07-22T22:40:29.344Z] Resolving codeload.github.com... 140.82.114.10 [2020-07-22T22:40:29.344Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2020-07-22T22:40:29.344Z] HTTP request sent, awaiting response... 200 OK [2020-07-22T22:40:29.344Z] Length: unspecified [application/x-gzip] [2020-07-22T22:40:29.344Z] Saving to: 'STDOUT' [2020-07-22T22:40:29.344Z]  [2020-07-22T22:40:29.344Z] 0K .......... .......... .......... .......... .......... 1.61M [2020-07-22T22:40:29.344Z] 50K .......... .......... .......... .......... .......... 3.22M [2020-07-22T22:40:29.344Z] 100K .......... .......... .......... .......... .......... 33.7M [2020-07-22T22:40:29.344Z] 150K .......... .......... .......... .......... .......... 64.2M [2020-07-22T22:40:29.517Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-07-22T22:40:29.604Z] 200K .......... .......... .......... .......... .......... 2.66M [2020-07-22T22:40:29.604Z] 250K .......... .......... .......... .......... .......... 7.28M [2020-07-22T22:40:29.604Z] 300K .......... .......... .......... .......... .......... 5.69M [2020-07-22T22:40:29.604Z] 350K .......... .......... .......... .......... .......... 11.2M [2020-07-22T22:40:29.604Z] 400K .......... .......... .......... .......... .......... 8.47M [2020-07-22T22:40:29.604Z] 450K .......... .......... .......... .......... .......... 2.49M [2020-07-22T22:40:29.604Z] 500K .......... .......... .......... .......... .......... 24.0M [2020-07-22T22:40:29.604Z] 550K .......... .......... .......... .......... .......... 102M [2020-07-22T22:40:29.604Z] 600K .......... .......... .......... .......... .......... 2.46M [2020-07-22T22:40:29.604Z] 650K .......... .......... .......... .......... .......... 4.81M [2020-07-22T22:40:29.604Z] 700K .. 4746G=0.1s [2020-07-22T22:40:29.604Z] [2020-07-22T22:40:29.604Z] 2020-07-22 22:40:29 (4.77 MB/s) - written to stdout [719348] [2020-07-22T22:40:29.604Z] [2020-07-22T22:40:29.604Z] -- The C compiler identification is GNU 8.3.0 [2020-07-22T22:40:29.789Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-07-22T22:40:29.863Z] -- The CXX compiler identification is GNU 8.3.0 [2020-07-22T22:40:29.863Z] -- Check for working C compiler: /usr/bin/cc [2020-07-22T22:40:29.863Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-07-22T22:40:29.863Z] -- Detecting C compiler ABI info [2020-07-22T22:40:29.863Z] -- Detecting C compiler ABI info - done [2020-07-22T22:40:29.863Z] -- Detecting C compile features [2020-07-22T22:40:30.123Z] -- Detecting C compile features - done [2020-07-22T22:40:30.123Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-07-22T22:40:30.123Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-07-22T22:40:30.123Z] -- Detecting CXX compiler ABI info [2020-07-22T22:40:30.381Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-07-22T22:40:30.383Z] -- Detecting CXX compiler ABI info - done [2020-07-22T22:40:30.383Z] -- Detecting CXX compile features [2020-07-22T22:40:30.642Z] -- Detecting CXX compile features - done [2020-07-22T22:40:30.642Z] -- Looking for include file endian.h [2020-07-22T22:40:30.665Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-07-22T22:40:30.905Z] -- Looking for include file endian.h - found [2020-07-22T22:40:30.906Z] -- Check if the system is big endian [2020-07-22T22:40:30.906Z] -- Searching 16 bit integer [2020-07-22T22:40:30.906Z] -- Looking for sys/types.h [2020-07-22T22:40:30.906Z] -- Looking for sys/types.h - found [2020-07-22T22:40:30.906Z] -- Looking for stdint.h [2020-07-22T22:40:30.906Z] -- Looking for stdint.h - found [2020-07-22T22:40:30.906Z] -- Looking for stddef.h [2020-07-22T22:40:30.906Z] -- Looking for stddef.h - found [2020-07-22T22:40:30.906Z] -- Check size of unsigned short [2020-07-22T22:40:30.936Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-07-22T22:40:31.165Z] -- Check size of unsigned short - done [2020-07-22T22:40:31.165Z] -- Using unsigned short [2020-07-22T22:40:31.165Z] -- Check if the system is big endian - little endian [2020-07-22T22:40:31.165Z] -- Check size of size_t [2020-07-22T22:40:31.165Z] -- Check size of size_t - done [2020-07-22T22:40:31.165Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-07-22T22:40:31.165Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-07-22T22:40:31.165Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-07-22T22:40:31.165Z] CMake did not find one. [2020-07-22T22:40:31.165Z] [2020-07-22T22:40:31.165Z] Could not find a package configuration file provided by "cJSON" with any of [2020-07-22T22:40:31.165Z] the following names: [2020-07-22T22:40:31.165Z] [2020-07-22T22:40:31.165Z] cJSONConfig.cmake [2020-07-22T22:40:31.165Z] cjson-config.cmake [2020-07-22T22:40:31.165Z] [2020-07-22T22:40:31.165Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-07-22T22:40:31.165Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-07-22T22:40:31.165Z] provides a separate development package or SDK, be sure it has been [2020-07-22T22:40:31.165Z] installed. [2020-07-22T22:40:31.165Z] [2020-07-22T22:40:31.165Z] [2020-07-22T22:40:31.165Z] -- Configuring done [2020-07-22T22:40:31.425Z] -- Generating done [2020-07-22T22:40:31.426Z] -- Build files have been written to: /tmp/cbor [2020-07-22T22:40:31.426Z] Scanning dependencies of target cbor_shared [2020-07-22T22:40:31.426Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-07-22T22:40:31.531Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-07-22T22:40:31.531Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-07-22T22:40:31.686Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-07-22T22:40:31.686Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-07-22T22:40:31.686Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-07-22T22:40:31.802Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-07-22T22:40:31.948Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-07-22T22:40:31.948Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-07-22T22:40:31.948Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-07-22T22:40:32.074Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-07-22T22:40:32.211Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-07-22T22:40:32.211Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-07-22T22:40:32.211Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-07-22T22:40:32.345Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-07-22T22:40:32.474Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-07-22T22:40:32.475Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-07-22T22:40:32.475Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-07-22T22:40:32.616Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-07-22T22:40:32.737Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-07-22T22:40:32.737Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-07-22T22:40:32.737Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-07-22T22:40:32.737Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-07-22T22:40:32.888Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-07-22T22:40:33.000Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-07-22T22:40:33.000Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-07-22T22:40:33.000Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-07-22T22:40:33.000Z] [ 40%] Linking C shared library libcbor.so [2020-07-22T22:40:33.158Z] [ 40%] Linking C shared library libcbor.so [2020-07-22T22:40:33.158Z] [ 40%] Built target cbor_shared [2020-07-22T22:40:33.158Z] Scanning dependencies of target cbor [2020-07-22T22:40:33.158Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-07-22T22:40:33.269Z] [ 40%] Built target cbor_shared [2020-07-22T22:40:33.269Z] Scanning dependencies of target cbor [2020-07-22T22:40:33.269Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-07-22T22:40:33.269Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-07-22T22:40:33.531Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-07-22T22:40:33.531Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-07-22T22:40:33.791Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-07-22T22:40:33.791Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-07-22T22:40:34.052Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-07-22T22:40:34.052Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-07-22T22:40:34.052Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-07-22T22:40:34.052Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-07-22T22:40:34.131Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-07-22T22:40:34.315Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-07-22T22:40:34.315Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-07-22T22:40:34.581Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-07-22T22:40:34.581Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-07-22T22:40:34.581Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-07-22T22:40:34.581Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-07-22T22:40:34.726Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-07-22T22:40:34.726Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-07-22T22:40:34.850Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-07-22T22:40:34.850Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-07-22T22:40:34.850Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-07-22T22:40:35.111Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-07-22T22:40:35.111Z] [ 80%] Linking C static library libcbor.a [2020-07-22T22:40:35.111Z] [ 80%] Built target cbor [2020-07-22T22:40:35.111Z] Scanning dependencies of target create_items [2020-07-22T22:40:35.111Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-07-22T22:40:35.111Z] [ 84%] Linking C executable create_items [2020-07-22T22:40:35.111Z] [ 84%] Built target create_items [2020-07-22T22:40:35.111Z] Scanning dependencies of target readfile [2020-07-22T22:40:35.111Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-07-22T22:40:35.373Z] [ 88%] Linking C executable readfile [2020-07-22T22:40:35.373Z] [ 88%] Built target readfile [2020-07-22T22:40:35.373Z] Scanning dependencies of target streaming_parser [2020-07-22T22:40:35.373Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-07-22T22:40:35.373Z] [ 92%] Linking C executable streaming_parser [2020-07-22T22:40:35.373Z] [ 92%] Built target streaming_parser [2020-07-22T22:40:35.373Z] Scanning dependencies of target sort [2020-07-22T22:40:35.373Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-07-22T22:40:35.373Z] [ 96%] Linking C executable sort [2020-07-22T22:40:35.373Z] [ 96%] Built target sort [2020-07-22T22:40:35.373Z] Scanning dependencies of target hello [2020-07-22T22:40:35.373Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-07-22T22:40:35.638Z] [100%] Linking C executable hello [2020-07-22T22:40:35.638Z] [100%] Built target hello [2020-07-22T22:40:35.638Z] Install the project... [2020-07-22T22:40:35.638Z] -- Install configuration: "Release" [2020-07-22T22:40:35.638Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-07-22T22:40:35.638Z] -- Installing: /usr/local/lib64/libcbor.a [2020-07-22T22:40:35.638Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-07-22T22:40:35.638Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-07-22T22:40:35.638Z] -- Installing: /usr/local/lib64/libcbor.so [2020-07-22T22:40:35.638Z] -- Up-to-date: /usr/local/include/cbor [2020-07-22T22:40:35.638Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-07-22T22:40:35.638Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-07-22T22:40:35.638Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-07-22T22:40:35.638Z] -- Installing: /usr/local/include/cbor/common.h [2020-07-22T22:40:35.638Z] -- Installing: /usr/local/include/cbor/data.h [2020-07-22T22:40:35.638Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-07-22T22:40:35.638Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-07-22T22:40:35.638Z] -- Installing: /usr/local/include/cbor/internal [2020-07-22T22:40:35.638Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-07-22T22:40:35.638Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-07-22T22:40:35.638Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-07-22T22:40:35.638Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-07-22T22:40:35.638Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-07-22T22:40:35.638Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-07-22T22:40:35.638Z] -- Installing: /usr/local/include/cbor/ints.h [2020-07-22T22:40:35.638Z] -- Installing: /usr/local/include/cbor/maps.h [2020-07-22T22:40:35.638Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-07-22T22:40:35.638Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-07-22T22:40:35.638Z] -- Installing: /usr/local/include/cbor/strings.h [2020-07-22T22:40:35.638Z] -- Installing: /usr/local/include/cbor/tags.h [2020-07-22T22:40:35.638Z] -- Installing: /usr/local/include/cbor.h [2020-07-22T22:40:35.638Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-07-22T22:40:36.150Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-07-22T22:40:36.150Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-07-22T22:40:36.422Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-07-22T22:40:36.422Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-07-22T22:40:36.699Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-07-22T22:40:36.970Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-07-22T22:40:37.945Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-07-22T22:40:37.945Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-07-22T22:40:38.188Z] Removing intermediate container fe562b74216d [2020-07-22T22:40:38.188Z] ---> ff3a4591385e [2020-07-22T22:40:38.188Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-07-22T22:40:38.188Z] ---> Running in aa73f4e88978 [2020-07-22T22:40:38.556Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-07-22T22:40:38.763Z] Removing intermediate container aa73f4e88978 [2020-07-22T22:40:38.763Z] ---> 87ffac59576f [2020-07-22T22:40:38.763Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-07-22T22:40:38.827Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-07-22T22:40:39.023Z] ---> e88ff933e58f [2020-07-22T22:40:39.024Z] Step 8/21 : COPY src /tmp/sdk/src [2020-07-22T22:40:39.099Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-07-22T22:40:39.369Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-07-22T22:40:39.641Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-07-22T22:40:39.914Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-07-22T22:40:39.967Z] ---> f6d459aaed07 [2020-07-22T22:40:39.967Z] Step 9/21 : COPY include /tmp/sdk/include [2020-07-22T22:40:39.967Z] ---> c06fd5dec563 [2020-07-22T22:40:39.967Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-07-22T22:40:40.185Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-07-22T22:40:40.227Z] ---> e289ab249ca3 [2020-07-22T22:40:40.227Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-07-22T22:40:40.457Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-07-22T22:40:40.457Z] [ 80%] Linking C static library libcbor.a [2020-07-22T22:40:40.487Z] ---> 8effcdb4f320 [2020-07-22T22:40:40.487Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-07-22T22:40:40.730Z] [ 80%] Built target cbor [2020-07-22T22:40:40.730Z] Scanning dependencies of target create_items [2020-07-22T22:40:40.730Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-07-22T22:40:40.749Z] ---> d378f1be9047 [2020-07-22T22:40:40.749Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-07-22T22:40:40.749Z] ---> Running in 510dd72af385 [2020-07-22T22:40:41.002Z] [ 84%] Linking C executable create_items [2020-07-22T22:40:41.002Z] [ 84%] Built target create_items [2020-07-22T22:40:41.002Z] Scanning dependencies of target readfile [2020-07-22T22:40:41.002Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-07-22T22:40:41.274Z] [ 88%] Linking C executable readfile [2020-07-22T22:40:41.274Z] [ 88%] Built target readfile [2020-07-22T22:40:41.274Z] Scanning dependencies of target streaming_parser [2020-07-22T22:40:41.274Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-07-22T22:40:41.324Z] + CPPCHECK=false [2020-07-22T22:40:41.324Z] + DOCGEN=false [2020-07-22T22:40:41.324Z] + TOMLVER=SDK-0.2 [2020-07-22T22:40:41.324Z] + CUTILVER=1.0.4 [2020-07-22T22:40:41.324Z] + '[' 0 -gt 0 ] [2020-07-22T22:40:41.324Z] + readlink -f ./scripts/build.sh [2020-07-22T22:40:41.324Z] + dirname /tmp/sdk/scripts/build.sh [2020-07-22T22:40:41.324Z] + dirname /tmp/sdk/scripts [2020-07-22T22:40:41.324Z] + ROOT=/tmp/sdk [2020-07-22T22:40:41.324Z] + cd /tmp/sdk [2020-07-22T22:40:41.324Z] + '[' '!' -d deps ] [2020-07-22T22:40:41.324Z] + mkdir deps [2020-07-22T22:40:41.324Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-07-22T22:40:41.324Z] + tar -C deps -z -x -f - [2020-07-22T22:40:41.324Z] --2020-07-22 22:40:41-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-07-22T22:40:41.324Z] Resolving github.com... 140.82.114.4 [2020-07-22T22:40:41.324Z] Connecting to github.com|140.82.114.4|:443... connected. [2020-07-22T22:40:41.324Z] HTTP request sent, awaiting response... 302 Found [2020-07-22T22:40:41.324Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-07-22T22:40:41.324Z] --2020-07-22 22:40:41-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-07-22T22:40:41.324Z] Resolving codeload.github.com... 140.82.114.10 [2020-07-22T22:40:41.324Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2020-07-22T22:40:41.547Z] [ 92%] Linking C executable streaming_parser [2020-07-22T22:40:41.547Z] [ 92%] Built target streaming_parser [2020-07-22T22:40:41.585Z] HTTP request sent, awaiting response... 200 OK [2020-07-22T22:40:41.585Z] Length: unspecified [application/x-gzip] [2020-07-22T22:40:41.585Z] Saving to: 'STDOUT' [2020-07-22T22:40:41.585Z]  [2020-07-22T22:40:41.585Z] 0K .......... ......  1009K=0.02s [2020-07-22T22:40:41.585Z] [2020-07-22T22:40:41.585Z] 2020-07-22 22:40:41 (1009 KB/s) - written to stdout [16451] [2020-07-22T22:40:41.585Z] [2020-07-22T22:40:41.585Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-07-22T22:40:41.585Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-07-22T22:40:41.585Z] + tar -C deps -z -x -f - [2020-07-22T22:40:41.585Z] --2020-07-22 22:40:41-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-07-22T22:40:41.585Z] Resolving github.com... 140.82.114.4 [2020-07-22T22:40:41.585Z] Connecting to github.com|140.82.114.4|:443... connected. [2020-07-22T22:40:41.820Z] Scanning dependencies of target sort [2020-07-22T22:40:41.820Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-07-22T22:40:41.820Z] [ 96%] Linking C executable sort [2020-07-22T22:40:41.846Z] HTTP request sent, awaiting response... 302 Found [2020-07-22T22:40:41.846Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] [2020-07-22T22:40:41.846Z] --2020-07-22 22:40:41-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [2020-07-22T22:40:41.846Z] Resolving codeload.github.com... 140.82.114.10 [2020-07-22T22:40:41.846Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2020-07-22T22:40:41.846Z] HTTP request sent, awaiting response... 200 OK [2020-07-22T22:40:41.846Z] Length: unspecified [application/x-gzip] [2020-07-22T22:40:41.846Z] Saving to: 'STDOUT' [2020-07-22T22:40:41.846Z] [2020-07-22T22:40:42.093Z] [ 96%] Built target sort [2020-07-22T22:40:42.093Z] Scanning dependencies of target hello [2020-07-22T22:40:42.093Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-07-22T22:40:42.093Z] [100%] Linking C executable hello [2020-07-22T22:40:42.110Z] 0K .......... .......... .......... .......... .......... 1.51M [2020-07-22T22:40:42.110Z] 50K .......... .......... .......... .......... .......... 3.04M [2020-07-22T22:40:42.110Z] 100K .......... .......... .......... .......... .......... 54.7M [2020-07-22T22:40:42.110Z] 150K ........ 70.7M=0.05s [2020-07-22T22:40:42.110Z] [2020-07-22T22:40:42.110Z] 2020-07-22 22:40:41 (3.14 MB/s) - written to stdout [162267] [2020-07-22T22:40:42.110Z] [2020-07-22T22:40:42.110Z] + mkdir -p src/c/iot [2020-07-22T22:40:42.110Z] + cp deps/iotech-c-utils-1.0.4/src/c/base64.c deps/iotech-c-utils-1.0.4/src/c/component.c deps/iotech-c-utils-1.0.4/src/c/container.c deps/iotech-c-utils-1.0.4/src/c/data.c deps/iotech-c-utils-1.0.4/src/c/hash.c deps/iotech-c-utils-1.0.4/src/c/iot.c deps/iotech-c-utils-1.0.4/src/c/json.c deps/iotech-c-utils-1.0.4/src/c/logger.c deps/iotech-c-utils-1.0.4/src/c/os.c deps/iotech-c-utils-1.0.4/src/c/scheduler.c deps/iotech-c-utils-1.0.4/src/c/thread.c deps/iotech-c-utils-1.0.4/src/c/threadpool.c deps/iotech-c-utils-1.0.4/src/c/time.c src/c/iot [2020-07-22T22:40:42.110Z] + mkdir -p include/iot [2020-07-22T22:40:42.110Z] + cp deps/iotech-c-utils-1.0.4/include/iot/base64.h deps/iotech-c-utils-1.0.4/include/iot/component.h deps/iotech-c-utils-1.0.4/include/iot/container.h deps/iotech-c-utils-1.0.4/include/iot/data.h deps/iotech-c-utils-1.0.4/include/iot/hash.h deps/iotech-c-utils-1.0.4/include/iot/iot.h deps/iotech-c-utils-1.0.4/include/iot/json.h deps/iotech-c-utils-1.0.4/include/iot/logger.h deps/iotech-c-utils-1.0.4/include/iot/os.h deps/iotech-c-utils-1.0.4/include/iot/scheduler.h deps/iotech-c-utils-1.0.4/include/iot/thread.h deps/iotech-c-utils-1.0.4/include/iot/threadpool.h deps/iotech-c-utils-1.0.4/include/iot/time.h deps/iotech-c-utils-1.0.4/include/iot/typecode.h include/iot [2020-07-22T22:40:42.110Z] + mkdir -p include/iot/os [2020-07-22T22:40:42.110Z] + cp deps/iotech-c-utils-1.0.4/include/iot/os/linux.h deps/iotech-c-utils-1.0.4/include/iot/os/zephyr.h include/iot/os [2020-07-22T22:40:42.110Z] + mkdir -p /tmp/sdk/build/release [2020-07-22T22:40:42.110Z] + cd /tmp/sdk/build/release [2020-07-22T22:40:42.110Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-07-22T22:40:42.110Z] -- The C compiler identification is GNU 8.3.0 [2020-07-22T22:40:42.110Z] -- Check for working C compiler: /usr/bin/cc [2020-07-22T22:40:42.110Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-07-22T22:40:42.110Z] -- Detecting C compiler ABI info [2020-07-22T22:40:42.366Z] [100%] Built target hello [2020-07-22T22:40:42.366Z] Install the project... [2020-07-22T22:40:42.366Z] -- Install configuration: "Release" [2020-07-22T22:40:42.366Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-07-22T22:40:42.366Z] -- Installing: /usr/local/lib64/libcbor.a [2020-07-22T22:40:42.366Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-07-22T22:40:42.366Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-07-22T22:40:42.366Z] -- Installing: /usr/local/lib64/libcbor.so [2020-07-22T22:40:42.366Z] -- Up-to-date: /usr/local/include/cbor [2020-07-22T22:40:42.366Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-07-22T22:40:42.366Z] -- Installing: /usr/local/include/cbor/ints.h [2020-07-22T22:40:42.366Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-07-22T22:40:42.366Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-07-22T22:40:42.366Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-07-22T22:40:42.366Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-07-22T22:40:42.366Z] -- Installing: /usr/local/include/cbor/data.h [2020-07-22T22:40:42.366Z] -- Installing: /usr/local/include/cbor/common.h [2020-07-22T22:40:42.366Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-07-22T22:40:42.366Z] -- Installing: /usr/local/include/cbor/strings.h [2020-07-22T22:40:42.366Z] -- Installing: /usr/local/include/cbor/tags.h [2020-07-22T22:40:42.366Z] -- Installing: /usr/local/include/cbor/internal [2020-07-22T22:40:42.366Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-07-22T22:40:42.366Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-07-22T22:40:42.366Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-07-22T22:40:42.366Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-07-22T22:40:42.366Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-07-22T22:40:42.366Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-07-22T22:40:42.366Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-07-22T22:40:42.366Z] -- Installing: /usr/local/include/cbor/maps.h [2020-07-22T22:40:42.366Z] -- Installing: /usr/local/include/cbor.h [2020-07-22T22:40:42.366Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-07-22T22:40:42.371Z] -- Detecting C compiler ABI info - done [2020-07-22T22:40:42.371Z] -- Detecting C compile features [2020-07-22T22:40:42.371Z] -- Detecting C compile features - done [2020-07-22T22:40:42.632Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-07-22T22:40:42.632Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-07-22T22:40:42.632Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-07-22T22:40:42.632Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-07-22T22:40:42.632Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-07-22T22:40:42.632Z] -- C SDK 0.0.0 for Linux [2020-07-22T22:40:42.632Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-07-22T22:40:42.632Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-07-22T22:40:42.632Z] -- Found Curses: /usr/lib/libcurses.so [2020-07-22T22:40:42.632Z] -- Configuring done [2020-07-22T22:40:42.632Z] -- Generating done [2020-07-22T22:40:42.632Z] -- Build files have been written to: /tmp/sdk/build/release [2020-07-22T22:40:42.632Z] + make [2020-07-22T22:40:42.632Z] + tee release.log [2020-07-22T22:40:42.632Z] Scanning dependencies of target csdk [2020-07-22T22:40:42.893Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-07-22T22:40:42.893Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-07-22T22:40:43.154Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-07-22T22:40:43.416Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-07-22T22:40:43.677Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-07-22T22:40:43.677Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-07-22T22:40:43.937Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-07-22T22:40:44.345Z] Removing intermediate container 8182093431c0 [2020-07-22T22:40:44.345Z] ---> 7d902329954f [2020-07-22T22:40:44.345Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-07-22T22:40:44.511Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-07-22T22:40:44.511Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-07-22T22:40:44.511Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-07-22T22:40:44.616Z] ---> Running in 824ddb2ff8b1 [2020-07-22T22:40:44.797Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-07-22T22:40:44.797Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-07-22T22:40:44.797Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-07-22T22:40:45.090Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-07-22T22:40:45.703Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-07-22T22:40:45.703Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-07-22T22:40:45.964Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-07-22T22:40:45.964Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-07-22T22:40:46.535Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-07-22T22:40:46.535Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-07-22T22:40:46.796Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-07-22T22:40:46.796Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-07-22T22:40:47.058Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-07-22T22:40:47.058Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-07-22T22:40:47.228Z] Removing intermediate container 824ddb2ff8b1 [2020-07-22T22:40:47.228Z] ---> 13afbd482b87 [2020-07-22T22:40:47.228Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-07-22T22:40:47.318Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-07-22T22:40:47.318Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-07-22T22:40:47.318Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-07-22T22:40:47.579Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-07-22T22:40:47.579Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-07-22T22:40:47.819Z] ---> 768a7fb72257 [2020-07-22T22:40:47.820Z] Step 8/21 : COPY src /tmp/sdk/src [2020-07-22T22:40:47.839Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-07-22T22:40:47.839Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-07-22T22:40:48.799Z] ---> dbd4988cce40 [2020-07-22T22:40:48.799Z] Step 9/21 : COPY include /tmp/sdk/include [2020-07-22T22:40:49.229Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-07-22T22:40:49.229Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-07-22T22:40:49.229Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-07-22T22:40:49.229Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-07-22T22:40:49.390Z] ---> 204c7f548a4c [2020-07-22T22:40:49.390Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-07-22T22:40:49.803Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-07-22T22:40:49.987Z] ---> f7a1df8b4612 [2020-07-22T22:40:49.987Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-07-22T22:40:50.063Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-07-22T22:40:50.581Z] ---> 70bf98872c94 [2020-07-22T22:40:50.581Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-07-22T22:40:51.002Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-07-22T22:40:51.002Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-07-22T22:40:51.556Z] ---> 210c9ea4945d [2020-07-22T22:40:51.556Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-07-22T22:40:51.556Z] ---> Running in f3cedaf8c4c5 [2020-07-22T22:40:51.571Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-07-22T22:40:51.571Z] [ 65%] Linking C shared library libcsdk.so [2020-07-22T22:40:51.571Z] [ 65%] Built target csdk [2020-07-22T22:40:51.571Z] Scanning dependencies of target template [2020-07-22T22:40:51.571Z] [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-07-22T22:40:51.832Z] [ 68%] Linking C executable template [2020-07-22T22:40:51.832Z] [ 68%] Built target template [2020-07-22T22:40:51.832Z] Scanning dependencies of target device-counter [2020-07-22T22:40:51.832Z] [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-07-22T22:40:51.832Z] [ 71%] Linking C executable device-counter [2020-07-22T22:40:52.093Z] [ 71%] Built target device-counter [2020-07-22T22:40:52.093Z] Scanning dependencies of target device-random [2020-07-22T22:40:52.093Z] [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-07-22T22:40:52.093Z] [ 74%] Linking C executable device-random [2020-07-22T22:40:52.093Z] [ 74%] Built target device-random [2020-07-22T22:40:52.093Z] Scanning dependencies of target device-gyro [2020-07-22T22:40:52.093Z] [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-07-22T22:40:52.354Z] [ 77%] Linking C executable device-gyro [2020-07-22T22:40:52.354Z] [ 77%] Built target device-gyro [2020-07-22T22:40:52.354Z] Scanning dependencies of target template-discovery [2020-07-22T22:40:52.354Z] [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-07-22T22:40:52.614Z] [ 80%] Linking C executable template-discovery [2020-07-22T22:40:52.614Z] [ 80%] Built target template-discovery [2020-07-22T22:40:52.614Z] Scanning dependencies of target device-terminal [2020-07-22T22:40:52.614Z] [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-07-22T22:40:52.876Z] [ 84%] Linking C executable device-terminal [2020-07-22T22:40:52.876Z] [ 84%] Built target device-terminal [2020-07-22T22:40:52.876Z] Scanning dependencies of target template2 [2020-07-22T22:40:52.876Z] [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-07-22T22:40:52.876Z] [ 87%] Linking C executable template2 [2020-07-22T22:40:52.986Z] + CPPCHECK=false [2020-07-22T22:40:52.986Z] + DOCGEN=false [2020-07-22T22:40:52.986Z] + TOMLVER=SDK-0.2 [2020-07-22T22:40:52.986Z] + CUTILVER=1.0.4 [2020-07-22T22:40:52.986Z] + '[' 0 -gt 0 ] [2020-07-22T22:40:52.986Z] + readlink -f ./scripts/build.sh [2020-07-22T22:40:52.986Z] + dirname /tmp/sdk/scripts/build.sh [2020-07-22T22:40:52.986Z] + dirname /tmp/sdk/scripts [2020-07-22T22:40:52.986Z] + ROOT=/tmp/sdk [2020-07-22T22:40:52.986Z] + cd /tmp/sdk [2020-07-22T22:40:52.986Z] + '[' '!' -d deps ] [2020-07-22T22:40:52.986Z] + mkdir deps [2020-07-22T22:40:52.986Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-07-22T22:40:52.986Z] + tar -C deps -z -x -f - [2020-07-22T22:40:52.986Z] --2020-07-22 22:40:52-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-07-22T22:40:52.986Z] Resolving github.com... 140.82.114.4 [2020-07-22T22:40:52.986Z] Connecting to github.com|140.82.114.4|:443... connected. [2020-07-22T22:40:52.986Z] HTTP request sent, awaiting response... 302 Found [2020-07-22T22:40:52.986Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-07-22T22:40:52.986Z] --2020-07-22 22:40:52-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-07-22T22:40:52.986Z] Resolving codeload.github.com... 140.82.114.10 [2020-07-22T22:40:52.986Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2020-07-22T22:40:53.136Z] [ 87%] Built target template2 [2020-07-22T22:40:53.136Z] Scanning dependencies of target device-counterv2 [2020-07-22T22:40:53.136Z] [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-07-22T22:40:53.136Z] [ 90%] Linking C executable device-counterv2 [2020-07-22T22:40:53.136Z] [ 90%] Built target device-counterv2 [2020-07-22T22:40:53.136Z] Scanning dependencies of target device-gyrov2 [2020-07-22T22:40:53.397Z] [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o [2020-07-22T22:40:53.397Z] [ 93%] Linking C executable device-gyrov2 [2020-07-22T22:40:53.397Z] [ 93%] Built target device-gyrov2 [2020-07-22T22:40:53.397Z] Scanning dependencies of target device-randomv2 [2020-07-22T22:40:53.397Z] [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-07-22T22:40:53.657Z] [ 96%] Linking C executable device-randomv2 [2020-07-22T22:40:53.657Z] [ 96%] Built target device-randomv2 [2020-07-22T22:40:53.657Z] Scanning dependencies of target device-terminalv2 [2020-07-22T22:40:53.657Z] [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o [2020-07-22T22:40:53.657Z] [100%] Linking C executable device-terminalv2 [2020-07-22T22:40:53.919Z] [100%] Built target device-terminalv2 [2020-07-22T22:40:53.919Z] + make+ package [2020-07-22T22:40:53.919Z] tee -a release.log [2020-07-22T22:40:53.919Z] [ 65%] Built target csdk [2020-07-22T22:40:53.919Z] [ 68%] Built target template [2020-07-22T22:40:53.919Z] [ 71%] Built target device-counter [2020-07-22T22:40:53.919Z] [ 74%] Built target device-random [2020-07-22T22:40:53.919Z] [ 77%] Built target device-gyro [2020-07-22T22:40:53.919Z] [ 80%] Built target template-discovery [2020-07-22T22:40:53.919Z] [ 84%] Built target device-terminal [2020-07-22T22:40:53.919Z] [ 87%] Built target template2 [2020-07-22T22:40:53.919Z] [ 90%] Built target device-counterv2 [2020-07-22T22:40:53.919Z] [ 93%] Built target device-gyrov2 [2020-07-22T22:40:54.180Z] [ 96%] Built target device-randomv2 [2020-07-22T22:40:54.180Z] [100%] Built target device-terminalv2 [2020-07-22T22:40:54.180Z] Run CPack packaging tool... [2020-07-22T22:40:54.180Z] CPack: Create package using TGZ [2020-07-22T22:40:54.180Z] CPack: Install projects [2020-07-22T22:40:54.180Z] CPack: - Run preinstall target for: Csdk [2020-07-22T22:40:54.442Z] CPack: - Install project: Csdk [2020-07-22T22:40:54.442Z] CPack: Create package [2020-07-22T22:40:54.442Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2020-07-22T22:40:54.442Z] + '[' false '=' true ] [2020-07-22T22:40:54.442Z] + '[' false '=' true ] [2020-07-22T22:40:54.442Z] + mkdir -p /tmp/sdk/build/debug [2020-07-22T22:40:54.442Z] + cd /tmp/sdk/build/debug [2020-07-22T22:40:54.442Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-07-22T22:40:54.442Z] -- The C compiler identification is GNU 8.3.0 [2020-07-22T22:40:54.442Z] -- Check for working C compiler: /usr/bin/cc [2020-07-22T22:40:54.706Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-07-22T22:40:54.706Z] -- Detecting C compiler ABI info [2020-07-22T22:40:54.706Z] -- Detecting C compiler ABI info - done [2020-07-22T22:40:54.706Z] -- Detecting C compile features [2020-07-22T22:40:54.966Z] -- Detecting C compile features - done [2020-07-22T22:40:54.966Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-07-22T22:40:54.966Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-07-22T22:40:54.966Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-07-22T22:40:54.966Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-07-22T22:40:54.966Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-07-22T22:40:54.966Z] -- C SDK 0.0.0 for Linux [2020-07-22T22:40:54.966Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-07-22T22:40:54.966Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-07-22T22:40:54.966Z] -- Found Curses: /usr/lib/libcurses.so [2020-07-22T22:40:54.966Z] -- Configuring done [2020-07-22T22:40:54.966Z] -- Generating done [2020-07-22T22:40:54.966Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-07-22T22:40:55.227Z] + make [2020-07-22T22:40:55.227Z] + tee debug.log [2020-07-22T22:40:55.227Z] Scanning dependencies of target csdk [2020-07-22T22:40:55.227Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-07-22T22:40:55.227Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-07-22T22:40:55.227Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-07-22T22:40:55.488Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-07-22T22:40:55.488Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-07-22T22:40:55.488Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-07-22T22:40:55.749Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-07-22T22:40:55.749Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-07-22T22:40:56.011Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-07-22T22:40:56.011Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-07-22T22:40:56.011Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-07-22T22:40:56.011Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-07-22T22:40:56.273Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-07-22T22:40:56.273Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-07-22T22:40:56.349Z] HTTP request sent, awaiting response... 200 OK [2020-07-22T22:40:56.349Z] Length: unspecified [application/x-gzip] [2020-07-22T22:40:56.349Z] Saving to: 'STDOUT' [2020-07-22T22:40:56.349Z]  [2020-07-22T22:40:56.534Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-07-22T22:40:56.534Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-07-22T22:40:56.534Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-07-22T22:40:56.534Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-07-22T22:40:56.796Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-07-22T22:40:56.796Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-07-22T22:40:56.938Z] 0K .......... ......  16.0K=1.0s [2020-07-22T22:40:56.938Z] [2020-07-22T22:40:56.938Z] 2020-07-22 22:40:56 (16.0 KB/s) - written to stdout [16451] [2020-07-22T22:40:56.938Z] [2020-07-22T22:40:56.938Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-07-22T22:40:56.938Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-07-22T22:40:56.938Z] + tar -C deps -z -x -f - [2020-07-22T22:40:56.938Z] --2020-07-22 22:40:56-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-07-22T22:40:56.938Z] Resolving github.com... 140.82.114.4 [2020-07-22T22:40:56.938Z] Connecting to github.com|140.82.114.4|:443... connected. [2020-07-22T22:40:56.938Z] HTTP request sent, awaiting response... 302 Found [2020-07-22T22:40:56.938Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] [2020-07-22T22:40:56.938Z] --2020-07-22 22:40:56-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [2020-07-22T22:40:56.938Z] Resolving codeload.github.com... 140.82.114.10 [2020-07-22T22:40:57.056Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-07-22T22:40:57.056Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-07-22T22:40:57.056Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-07-22T22:40:57.056Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-07-22T22:40:57.056Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-07-22T22:40:57.212Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2020-07-22T22:40:57.212Z] HTTP request sent, awaiting response... 200 OK [2020-07-22T22:40:57.212Z] Length: unspecified [application/x-gzip] [2020-07-22T22:40:57.212Z] Saving to: 'STDOUT' [2020-07-22T22:40:57.212Z]  [2020-07-22T22:40:57.212Z] 0K .......... .......... .......... .......... .......... 690K [2020-07-22T22:40:57.317Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-07-22T22:40:57.317Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-07-22T22:40:57.317Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-07-22T22:40:57.317Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-07-22T22:40:57.482Z] 50K .......... .......... .......... .......... .......... 2.87M [2020-07-22T22:40:57.578Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-07-22T22:40:57.578Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-07-22T22:40:57.755Z] 100K .......... .......... .......... .......... .......... 165K [2020-07-22T22:40:57.755Z] 150K ........  12.6M=0.4s [2020-07-22T22:40:57.755Z] [2020-07-22T22:40:57.755Z] 2020-07-22 22:40:57 (402 KB/s) - written to stdout [162267] [2020-07-22T22:40:57.755Z] [2020-07-22T22:40:57.755Z] + mkdir -p src/c/iot [2020-07-22T22:40:57.755Z] + cp deps/iotech-c-utils-1.0.4/src/c/base64.c deps/iotech-c-utils-1.0.4/src/c/component.c deps/iotech-c-utils-1.0.4/src/c/container.c deps/iotech-c-utils-1.0.4/src/c/data.c deps/iotech-c-utils-1.0.4/src/c/hash.c deps/iotech-c-utils-1.0.4/src/c/iot.c deps/iotech-c-utils-1.0.4/src/c/json.c deps/iotech-c-utils-1.0.4/src/c/logger.c deps/iotech-c-utils-1.0.4/src/c/os.c deps/iotech-c-utils-1.0.4/src/c/scheduler.c deps/iotech-c-utils-1.0.4/src/c/thread.c deps/iotech-c-utils-1.0.4/src/c/threadpool.c deps/iotech-c-utils-1.0.4/src/c/time.c src/c/iot [2020-07-22T22:40:57.755Z] + mkdir -p include/iot [2020-07-22T22:40:57.755Z] + cp deps/iotech-c-utils-1.0.4/include/iot/base64.h deps/iotech-c-utils-1.0.4/include/iot/component.h deps/iotech-c-utils-1.0.4/include/iot/container.h deps/iotech-c-utils-1.0.4/include/iot/data.h deps/iotech-c-utils-1.0.4/include/iot/hash.h deps/iotech-c-utils-1.0.4/include/iot/iot.h deps/iotech-c-utils-1.0.4/include/iot/json.h deps/iotech-c-utils-1.0.4/include/iot/logger.h deps/iotech-c-utils-1.0.4/include/iot/os.h deps/iotech-c-utils-1.0.4/include/iot/scheduler.h deps/iotech-c-utils-1.0.4/include/iot/thread.h deps/iotech-c-utils-1.0.4/include/iot/threadpool.h deps/iotech-c-utils-1.0.4/include/iot/time.h deps/iotech-c-utils-1.0.4/include/iot/typecode.h include/iot [2020-07-22T22:40:57.755Z] + mkdir -p include/iot/os [2020-07-22T22:40:57.755Z] + cp deps/iotech-c-utils-1.0.4/include/iot/os/linux.h deps/iotech-c-utils-1.0.4/include/iot/os/zephyr.h include/iot/os [2020-07-22T22:40:57.755Z] + mkdir -p /tmp/sdk/build/release [2020-07-22T22:40:57.755Z] + cd /tmp/sdk/build/release [2020-07-22T22:40:57.755Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-07-22T22:40:57.838Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-07-22T22:40:57.838Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-07-22T22:40:58.028Z] -- The C compiler identification is GNU 8.3.0 [2020-07-22T22:40:58.028Z] -- Check for working C compiler: /usr/bin/cc [2020-07-22T22:40:58.098Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-07-22T22:40:58.098Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-07-22T22:40:58.299Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-07-22T22:40:58.299Z] -- Detecting C compiler ABI info [2020-07-22T22:40:58.358Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-07-22T22:40:58.358Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-07-22T22:40:58.572Z] -- Detecting C compiler ABI info - done [2020-07-22T22:40:58.572Z] -- Detecting C compile features [2020-07-22T22:40:58.623Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-07-22T22:40:58.623Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-07-22T22:40:58.885Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-07-22T22:40:58.885Z] [ 65%] Linking C shared library libcsdk.so [2020-07-22T22:40:58.885Z] [ 65%] Built target csdk [2020-07-22T22:40:58.885Z] Scanning dependencies of target template [2020-07-22T22:40:58.885Z] [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-07-22T22:40:59.146Z] [ 68%] Linking C executable template [2020-07-22T22:40:59.146Z] [ 68%] Built target template [2020-07-22T22:40:59.146Z] Scanning dependencies of target device-counter [2020-07-22T22:40:59.146Z] [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-07-22T22:40:59.146Z] [ 71%] Linking C executable device-counter [2020-07-22T22:40:59.146Z] [ 71%] Built target device-counter [2020-07-22T22:40:59.407Z] Scanning dependencies of target device-random [2020-07-22T22:40:59.407Z] [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-07-22T22:40:59.407Z] [ 74%] Linking C executable device-random [2020-07-22T22:40:59.407Z] [ 74%] Built target device-random [2020-07-22T22:40:59.407Z] Scanning dependencies of target device-gyro [2020-07-22T22:40:59.407Z] [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-07-22T22:40:59.407Z] [ 77%] Linking C executable device-gyro [2020-07-22T22:40:59.544Z] -- Detecting C compile features - done [2020-07-22T22:40:59.544Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-07-22T22:40:59.544Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-07-22T22:40:59.544Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-07-22T22:40:59.544Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-07-22T22:40:59.544Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-07-22T22:40:59.544Z] -- C SDK 0.0.0 for Linux [2020-07-22T22:40:59.544Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-07-22T22:40:59.544Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-07-22T22:40:59.544Z] -- Found Curses: /usr/lib/libcurses.so [2020-07-22T22:40:59.668Z] [ 77%] Built target device-gyro [2020-07-22T22:40:59.668Z] Scanning dependencies of target template-discovery [2020-07-22T22:40:59.668Z] [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-07-22T22:40:59.668Z] [ 80%] Linking C executable template-discovery [2020-07-22T22:40:59.668Z] [ 80%] Built target template-discovery [2020-07-22T22:40:59.668Z] Scanning dependencies of target device-terminal [2020-07-22T22:40:59.668Z] [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-07-22T22:40:59.815Z] -- Configuring done [2020-07-22T22:40:59.929Z] [ 84%] Linking C executable device-terminal [2020-07-22T22:40:59.929Z] [ 84%] Built target device-terminal [2020-07-22T22:40:59.929Z] Scanning dependencies of target template2 [2020-07-22T22:40:59.929Z] [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-07-22T22:40:59.929Z] [ 87%] Linking C executable template2 [2020-07-22T22:40:59.929Z] [ 87%] Built target template2 [2020-07-22T22:40:59.929Z] Scanning dependencies of target device-counterv2 [2020-07-22T22:40:59.929Z] [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-07-22T22:41:00.087Z] -- Generating done [2020-07-22T22:41:00.087Z] -- Build files have been written to: /tmp/sdk/build/release [2020-07-22T22:41:00.087Z] + + maketee [2020-07-22T22:41:00.087Z] release.log [2020-07-22T22:41:00.087Z] Scanning dependencies of target csdk [2020-07-22T22:41:00.190Z] [ 90%] Linking C executable device-counterv2 [2020-07-22T22:41:00.190Z] [ 90%] Built target device-counterv2 [2020-07-22T22:41:00.190Z] Scanning dependencies of target device-gyrov2 [2020-07-22T22:41:00.190Z] [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o [2020-07-22T22:41:00.190Z] [ 93%] Linking C executable device-gyrov2 [2020-07-22T22:41:00.190Z] [ 93%] Built target device-gyrov2 [2020-07-22T22:41:00.370Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-07-22T22:41:00.451Z] Scanning dependencies of target device-randomv2 [2020-07-22T22:41:00.451Z] [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-07-22T22:41:00.451Z] [ 96%] Linking C executable device-randomv2 [2020-07-22T22:41:00.451Z] [ 96%] Built target device-randomv2 [2020-07-22T22:41:00.451Z] Scanning dependencies of target device-terminalv2 [2020-07-22T22:41:00.451Z] [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o [2020-07-22T22:41:00.451Z] [100%] Linking C executable device-terminalv2 [2020-07-22T22:41:00.713Z] [100%] Built target device-terminalv2 [2020-07-22T22:41:00.713Z] make: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:41:00.713Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:41:00.713Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:41:00.713Z] Scanning dependencies of target csdk [2020-07-22T22:41:00.713Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:41:00.713Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:41:00.713Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-07-22T22:41:00.970Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-07-22T22:41:01.285Z] [ 3%] Linking C shared library libcsdk.so [2020-07-22T22:41:01.285Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:41:01.285Z] [ 65%] Built target csdk [2020-07-22T22:41:01.285Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:41:01.285Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:41:01.285Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:41:01.285Z] [ 66%] Linking C executable template [2020-07-22T22:41:01.285Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:41:01.285Z] [ 68%] Built target template [2020-07-22T22:41:01.285Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:41:01.285Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:41:01.285Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:41:01.285Z] [ 69%] Linking C executable device-counter [2020-07-22T22:41:01.285Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:41:01.285Z] [ 71%] Built target device-counter [2020-07-22T22:41:01.285Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:41:01.285Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:41:01.285Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:41:01.285Z] [ 73%] Linking C executable device-random [2020-07-22T22:41:01.285Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:41:01.285Z] [ 74%] Built target device-random [2020-07-22T22:41:01.285Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:41:01.285Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:41:01.285Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:41:01.548Z] [ 76%] Linking C executable device-gyro [2020-07-22T22:41:01.548Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:41:01.548Z] [ 77%] Built target device-gyro [2020-07-22T22:41:01.548Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:41:01.548Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:41:01.548Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:41:01.548Z] [ 79%] Linking C executable template-discovery [2020-07-22T22:41:01.548Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:41:01.548Z] [ 80%] Built target template-discovery [2020-07-22T22:41:01.548Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:41:01.548Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:41:01.548Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:41:01.548Z] [ 82%] Linking C executable device-terminal [2020-07-22T22:41:01.548Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:41:01.548Z] [ 84%] Built target device-terminal [2020-07-22T22:41:01.548Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:41:01.548Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:41:01.548Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:41:01.548Z] [ 85%] Linking C executable template2 [2020-07-22T22:41:01.560Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-07-22T22:41:01.812Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:41:01.812Z] [ 87%] Built target template2 [2020-07-22T22:41:01.812Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:41:01.812Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:41:01.812Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:41:01.812Z] [ 88%] Linking C executable device-counterv2 [2020-07-22T22:41:01.812Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:41:01.812Z] [ 90%] Built target device-counterv2 [2020-07-22T22:41:01.812Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:41:01.812Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:41:01.812Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:41:01.812Z] [ 92%] Linking C executable device-gyrov2 [2020-07-22T22:41:01.812Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:41:01.812Z] [ 93%] Built target device-gyrov2 [2020-07-22T22:41:01.812Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:41:01.812Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:41:01.812Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:41:01.812Z] [ 95%] Linking C executable device-randomv2 [2020-07-22T22:41:02.077Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:41:02.077Z] [ 96%] Built target device-randomv2 [2020-07-22T22:41:02.077Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:41:02.077Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:41:02.077Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:41:02.077Z] [ 98%] Linking C executable device-terminalv2 [2020-07-22T22:41:02.077Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:41:02.077Z] [100%] Built target device-terminalv2 [2020-07-22T22:41:02.077Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:41:02.077Z] Install the project... [2020-07-22T22:41:02.077Z] -- Install configuration: "Release" [2020-07-22T22:41:02.077Z] -- Installing: /usr/local/lib/libcsdk.so [2020-07-22T22:41:02.077Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-07-22T22:41:02.077Z] -- Up-to-date: /usr/local/include [2020-07-22T22:41:02.077Z] -- Installing: /usr/local/include/devsdk [2020-07-22T22:41:02.077Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-07-22T22:41:02.077Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-07-22T22:41:02.077Z] -- Installing: /usr/local/include/edgex [2020-07-22T22:41:02.077Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-07-22T22:41:02.077Z] -- Installing: /usr/local/include/edgex/devices.h [2020-07-22T22:41:02.077Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-07-22T22:41:02.077Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-07-22T22:41:02.077Z] -- Installing: /usr/local/include/edgex/edgex-logging.h [2020-07-22T22:41:02.077Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-07-22T22:41:02.077Z] -- Installing: /usr/local/include/edgex/error.h [2020-07-22T22:41:02.077Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-07-22T22:41:02.077Z] -- Installing: /usr/local/include/edgex/os.h [2020-07-22T22:41:02.077Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-07-22T22:41:02.077Z] -- Installing: /usr/local/include/edgex/registry.h [2020-07-22T22:41:02.077Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-07-22T22:41:02.077Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-07-22T22:41:02.077Z] -- Installing: /usr/local/include/iot [2020-07-22T22:41:02.077Z] -- Installing: /usr/local/include/iot/base64.h [2020-07-22T22:41:02.077Z] -- Installing: /usr/local/include/iot/component.h [2020-07-22T22:41:02.077Z] -- Installing: /usr/local/include/iot/container.h [2020-07-22T22:41:02.077Z] -- Installing: /usr/local/include/iot/data.h [2020-07-22T22:41:02.077Z] -- Installing: /usr/local/include/iot/hash.h [2020-07-22T22:41:02.077Z] -- Installing: /usr/local/include/iot/iot.h [2020-07-22T22:41:02.077Z] -- Installing: /usr/local/include/iot/json.h [2020-07-22T22:41:02.077Z] -- Installing: /usr/local/include/iot/logger.h [2020-07-22T22:41:02.077Z] -- Installing: /usr/local/include/iot/os.h [2020-07-22T22:41:02.077Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-07-22T22:41:02.077Z] -- Installing: /usr/local/include/iot/thread.h [2020-07-22T22:41:02.077Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-07-22T22:41:02.077Z] -- Installing: /usr/local/include/iot/time.h [2020-07-22T22:41:02.077Z] -- Installing: /usr/local/include/iot/typecode.h [2020-07-22T22:41:02.077Z] -- Installing: /usr/local/include/iot/os [2020-07-22T22:41:02.077Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-07-22T22:41:02.077Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-07-22T22:41:02.077Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-07-22T22:41:02.077Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-07-22T22:41:02.077Z] make: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:41:02.988Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-07-22T22:41:03.580Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-07-22T22:41:03.851Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-07-22T22:41:04.625Z] Removing intermediate container 510dd72af385 [2020-07-22T22:41:04.625Z] ---> 6f04d943f9e7 [2020-07-22T22:41:04.625Z] Step 14/21 : FROM alpine:3.9 [2020-07-22T22:41:04.822Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-07-22T22:41:04.886Z] 3.9: Pulling from library/alpine [2020-07-22T22:41:05.146Z] 31603596830f: Pulling fs layer [2020-07-22T22:41:05.146Z] 31603596830f: Verifying Checksum [2020-07-22T22:41:05.146Z] 31603596830f: Download complete [2020-07-22T22:41:05.405Z] 31603596830f: Pull complete [2020-07-22T22:41:05.405Z] Digest: sha256:414e0518bb9228d35e4cd5165567fb91d26c6a214e9c95899e1e056fcd349011 [2020-07-22T22:41:05.405Z] Status: Downloaded newer image for alpine:3.9 [2020-07-22T22:41:05.405Z] ---> 78a2ce922f86 [2020-07-22T22:41:05.405Z] Step 15/21 : MAINTAINER IOTech [2020-07-22T22:41:05.405Z] ---> Running in 42d74acc815e [2020-07-22T22:41:05.667Z] Removing intermediate container 42d74acc815e [2020-07-22T22:41:05.667Z] ---> dc18899ffc5d [2020-07-22T22:41:05.667Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-07-22T22:41:05.667Z] ---> Running in d5f72ff9a4e4 [2020-07-22T22:41:06.238Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-07-22T22:41:06.238Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-07-22T22:41:06.238Z] (1/48) Installing binutils (2.31.1-r2) [2020-07-22T22:41:06.498Z] (2/48) Installing libmagic (5.36-r1) [2020-07-22T22:41:06.498Z] (3/48) Installing file (5.36-r1) [2020-07-22T22:41:06.498Z] (4/48) Installing gmp (6.1.2-r1) [2020-07-22T22:41:06.498Z] (5/48) Installing isl (0.18-r0) [2020-07-22T22:41:06.498Z] (6/48) Installing libgomp (8.3.0-r0) [2020-07-22T22:41:06.498Z] (7/48) Installing libatomic (8.3.0-r0) [2020-07-22T22:41:06.498Z] (8/48) Installing libgcc (8.3.0-r0) [2020-07-22T22:41:06.498Z] (9/48) Installing mpfr3 (3.1.5-r1) [2020-07-22T22:41:06.498Z] (10/48) Installing mpc1 (1.0.3-r1) [2020-07-22T22:41:06.498Z] (11/48) Installing libstdc++ (8.3.0-r0) [2020-07-22T22:41:06.498Z] (12/48) Installing gcc (8.3.0-r0) [2020-07-22T22:41:06.787Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-07-22T22:41:06.787Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-07-22T22:41:07.381Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-07-22T22:41:07.880Z] (13/48) Installing musl-dev (1.1.20-r5) [2020-07-22T22:41:07.974Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-07-22T22:41:08.143Z] (14/48) Installing libc-dev (0.7.1-r0) [2020-07-22T22:41:08.143Z] (15/48) Installing g++ (8.3.0-r0) [2020-07-22T22:41:08.245Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-07-22T22:41:08.517Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-07-22T22:41:08.717Z] (16/48) Installing make (4.2.1-r2) [2020-07-22T22:41:08.717Z] (17/48) Installing fortify-headers (1.0-r0) [2020-07-22T22:41:08.717Z] (18/48) Installing build-base (0.5-r1) [2020-07-22T22:41:08.717Z] (19/48) Installing libattr (2.4.47-r7) [2020-07-22T22:41:08.717Z] (20/48) Installing libacl (2.2.52-r5) [2020-07-22T22:41:08.717Z] (21/48) Installing libbz2 (1.0.6-r7) [2020-07-22T22:41:08.717Z] (22/48) Installing expat (2.2.8-r0) [2020-07-22T22:41:08.717Z] (23/48) Installing lz4-libs (1.8.3-r2) [2020-07-22T22:41:08.717Z] (24/48) Installing xz-libs (5.2.4-r0) [2020-07-22T22:41:08.717Z] (25/48) Installing libarchive (3.3.3-r2) [2020-07-22T22:41:08.717Z] (26/48) Installing ca-certificates (20191127-r2) [2020-07-22T22:41:08.717Z] (27/48) Installing nghttp2-libs (1.35.1-r2) [2020-07-22T22:41:08.717Z] (28/48) Installing libssh2 (1.9.0-r1) [2020-07-22T22:41:08.717Z] (29/48) Installing libcurl (7.64.0-r3) [2020-07-22T22:41:08.717Z] (30/48) Installing ncurses-terminfo-base (6.1_p20190105-r0) [2020-07-22T22:41:08.717Z] (31/48) Installing ncurses-terminfo (6.1_p20190105-r0) [2020-07-22T22:41:08.791Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-07-22T22:41:09.287Z] (32/48) Installing ncurses-libs (6.1_p20190105-r0) [2020-07-22T22:41:09.287Z] (33/48) Installing rhash-libs (1.3.6-r2) [2020-07-22T22:41:09.287Z] (34/48) Installing libuv (1.25.0-r0) [2020-07-22T22:41:09.287Z] (35/48) Installing cmake (3.13.0-r0) [2020-07-22T22:41:09.858Z] (36/48) Installing curl (7.64.0-r3) [2020-07-22T22:41:09.858Z] (37/48) Installing pcre2 (10.32-r1) [2020-07-22T22:41:09.858Z] (38/48) Installing git (2.20.4-r0) [2020-07-22T22:41:10.121Z] (39/48) Installing nettle (3.4.1-r0) [2020-07-22T22:41:10.121Z] (40/48) Installing libffi (3.2.1-r6) [2020-07-22T22:41:10.121Z] (41/48) Installing p11-kit (0.23.14-r0) [2020-07-22T22:41:10.121Z] (42/48) Installing libtasn1 (4.14-r0) [2020-07-22T22:41:10.121Z] (43/48) Installing libunistring (0.9.10-r0) [2020-07-22T22:41:10.121Z] (44/48) Installing gnutls (3.6.14-r0) [2020-07-22T22:41:10.121Z] (45/48) Installing libmicrohttpd (0.9.62-r0) [2020-07-22T22:41:10.121Z] (46/48) Installing libuuid (2.33-r0) [2020-07-22T22:41:11.066Z] (47/48) Installing wget (1.20.3-r0) [2020-07-22T22:41:11.066Z] (48/48) Installing yaml (0.2.1-r0) [2020-07-22T22:41:11.066Z] Executing busybox-1.29.3-r10.trigger [2020-07-22T22:41:11.066Z] Executing ca-certificates-20191127-r2.trigger [2020-07-22T22:41:11.066Z] OK: 222 MiB in 62 packages [2020-07-22T22:41:12.159Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-07-22T22:41:12.159Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-07-22T22:41:12.432Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-07-22T22:41:13.030Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-07-22T22:41:15.650Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-07-22T22:41:15.650Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-07-22T22:41:15.650Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-07-22T22:41:16.242Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-07-22T22:41:16.514Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-07-22T22:41:16.784Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-07-22T22:41:17.376Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-07-22T22:41:17.970Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-07-22T22:41:18.561Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-07-22T22:41:18.561Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-07-22T22:41:19.152Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-07-22T22:41:20.130Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-07-22T22:41:20.130Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-07-22T22:41:21.079Z] Removing intermediate container d5f72ff9a4e4 [2020-07-22T22:41:21.079Z] ---> f6cfe594aab6 [2020-07-22T22:41:21.079Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-07-22T22:41:21.079Z] ---> ff0a141fdb0e [2020-07-22T22:41:21.079Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-07-22T22:41:21.079Z] ---> 86ca3fc3e4d7 [2020-07-22T22:41:21.079Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-07-22T22:41:21.079Z] ---> b5e8e2a98a0f [2020-07-22T22:41:21.079Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-07-22T22:41:21.079Z] ---> c6679a80e850 [2020-07-22T22:41:21.079Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-07-22T22:41:21.079Z] ---> 17135a73f62c [2020-07-22T22:41:21.341Z] Successfully built 17135a73f62c [2020-07-22T22:41:21.341Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-07-22T22:41:22.248Z] + docker inspect -f . ci-base-image-x86_64 [2020-07-22T22:41:22.248Z] . [Pipeline] withDockerContainer [2020-07-22T22:41:22.386Z] prd-centos7-docker-4c-2g-642 does not seem to be running inside a container [2020-07-22T22:41:22.421Z] $ 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 ******** ci-base-image-x86_64 cat [2020-07-22T22:41:23.012Z] $ docker top a4d13bbdabd428447483c4638b28dc4f74a6c38dbfdc2f7b00b008a74b642227 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-07-22T22:41:23.510Z] + make test [2020-07-22T22:41:23.510Z] echo "make test" [2020-07-22T22:41:23.510Z] make test [Pipeline] } [2020-07-22T22:41:23.534Z] $ docker stop --time=1 a4d13bbdabd428447483c4638b28dc4f74a6c38dbfdc2f7b00b008a74b642227 [2020-07-22T22:41:24.487Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-07-22T22:41:24.852Z] $ docker rm -f a4d13bbdabd428447483c4638b28dc4f74a6c38dbfdc2f7b00b008a74b642227 [Pipeline] // withDockerContainer [Pipeline] } [2020-07-22T22:41:25.099Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2020-07-22T22:41:25.395Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [Pipeline] script [Pipeline] { [2020-07-22T22:41:26.068Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-07-22T22:41:27.528Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [Pipeline] sh [2020-07-22T22:41:27.926Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-07-22T22:41:28.239Z] + ls -al . [2020-07-22T22:41:28.239Z] total 160 [2020-07-22T22:41:28.239Z] drwxrwxr-x. 8 jenkins jenkins 260 Jul 22 22:40 . [2020-07-22T22:41:28.239Z] drwxrwxr-x. 4 jenkins jenkins 28 Jul 22 22:40 .. [2020-07-22T22:41:28.239Z] -rw-rw-r--. 1 jenkins jenkins 3104 Jul 22 22:40 Attribution.txt [2020-07-22T22:41:28.239Z] -rw-rw-r--. 1 jenkins jenkins 5335 Jul 22 22:40 CHANGES [2020-07-22T22:41:28.239Z] drwxrwxr-x. 2 jenkins jenkins 144 Jul 22 22:40 docs [2020-07-22T22:41:28.239Z] -rw-rw-r--. 1 jenkins jenkins 108574 Jul 22 22:40 Doxyfile [2020-07-22T22:41:28.239Z] drwxrwxr-x. 8 jenkins jenkins 162 Jul 22 22:40 .git [2020-07-22T22:41:28.239Z] -rw-rw-r--. 1 jenkins jenkins 176 Jul 22 22:40 .gitignore [2020-07-22T22:41:28.239Z] drwxrwxr-x. 4 jenkins jenkins 33 Jul 22 22:40 include [2020-07-22T22:41:28.239Z] -rw-rw-r--. 1 jenkins jenkins 792 Jul 22 22:40 Jenkinsfile [2020-07-22T22:41:28.239Z] -rw-rw-r--. 1 jenkins jenkins 10174 Jul 22 22:40 LICENSE [2020-07-22T22:41:28.239Z] -rw-rw-r--. 1 jenkins jenkins 448 Jul 22 22:40 Makefile [2020-07-22T22:41:28.239Z] -rw-rw-r--. 1 jenkins jenkins 1849 Jul 22 22:40 README.md [2020-07-22T22:41:28.239Z] -rw-rw-r--. 1 jenkins jenkins 5229 Jul 22 22:40 README.v2.md [2020-07-22T22:41:28.239Z] drwxrwxr-x. 2 jenkins jenkins 106 Jul 22 22:40 scripts [2020-07-22T22:41:28.239Z] drwxrwxr-x. 3 jenkins jenkins 58 Jul 22 22:40 .semver [2020-07-22T22:41:28.239Z] drwxrwxr-x. 4 jenkins jenkins 50 Jul 22 22:40 src [2020-07-22T22:41:28.239Z] -rw-rw-r--. 1 jenkins jenkins 5 Jul 22 22:37 VERSION [Pipeline] isUnix [Pipeline] sh [2020-07-22T22:41:28.565Z] + docker build -t docker-device-sdk-c -f scripts/Dockerfile.alpine-3.9 --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=11dca0682671ac21648f2eee6e4306387f0e3104 --label arch=amd64 --label version=0.0.0 . [2020-07-22T22:41:28.565Z] Sending build context to Docker daemon 3.31MB [2020-07-22T22:41:28.565Z] Step 1/15 : ARG BASE=alpine:3.9 [2020-07-22T22:41:28.565Z] Step 2/15 : FROM ${BASE} [2020-07-22T22:41:28.565Z] ---> 17135a73f62c [2020-07-22T22:41:28.565Z] Step 3/15 : MAINTAINER IOTech [2020-07-22T22:41:29.150Z] ---> Running in a749095495e3 [2020-07-22T22:41:29.150Z] Removing intermediate container a749095495e3 [2020-07-22T22:41:29.150Z] ---> 6508d246e40c [2020-07-22T22:41:29.150Z] 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-22T22:41:29.150Z] ---> Running in 6ab9572912ba [2020-07-22T22:41:29.493Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-07-22T22:41:29.727Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-07-22T22:41:29.727Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-07-22T22:41:29.727Z] (1/21) Installing pkgconf (1.6.0-r0) [2020-07-22T22:41:29.727Z] (2/21) Installing openssl-dev (1.1.1g-r0) [2020-07-22T22:41:29.988Z] (3/21) Installing zlib-dev (1.2.11-r1) [2020-07-22T22:41:29.988Z] (4/21) Installing libssh2-dev (1.9.0-r1) [2020-07-22T22:41:29.988Z] (5/21) Installing nghttp2-dev (1.35.1-r2) [2020-07-22T22:41:29.988Z] (6/21) Installing curl-dev (7.64.0-r3) [2020-07-22T22:41:29.988Z] (7/21) Installing gnutls-c++ (3.6.14-r0) [2020-07-22T22:41:29.988Z] (8/21) Installing libgmpxx (6.1.2-r1) [2020-07-22T22:41:29.988Z] (9/21) Installing gmp-dev (6.1.2-r1) [2020-07-22T22:41:29.988Z] (10/21) Installing nettle-dev (3.4.1-r0) [2020-07-22T22:41:30.249Z] (11/21) Installing libtasn1-dev (4.14-r0) [2020-07-22T22:41:30.249Z] (12/21) Installing p11-kit-dev (0.23.14-r0) [2020-07-22T22:41:30.509Z] (13/21) Installing gnutls-dev (3.6.14-r0) [2020-07-22T22:41:30.509Z] (14/21) Installing libmicrohttpd-dev (0.9.62-r0) [2020-07-22T22:41:30.509Z] (15/21) Installing ncurses-dev (6.1_p20190105-r0) [2020-07-22T22:41:30.509Z] (16/21) Installing libblkid (2.33-r0) [2020-07-22T22:41:30.509Z] (17/21) Installing libfdisk (2.33-r0) [2020-07-22T22:41:30.509Z] (18/21) Installing libmount (2.33-r0) [2020-07-22T22:41:30.509Z] (19/21) Installing libsmartcols (2.33-r0) [2020-07-22T22:41:30.509Z] (20/21) Installing util-linux-dev (2.33-r0) [2020-07-22T22:41:30.509Z] (21/21) Installing yaml-dev (0.2.1-r0) [2020-07-22T22:41:30.509Z] Executing busybox-1.29.3-r10.trigger [2020-07-22T22:41:30.509Z] OK: 266 MiB in 83 packages [2020-07-22T22:41:32.862Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-07-22T22:41:32.862Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-07-22T22:41:33.054Z] Removing intermediate container 6ab9572912ba [2020-07-22T22:41:33.054Z] ---> 5e623b2f434c [2020-07-22T22:41:33.054Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-07-22T22:41:33.054Z] ---> 55846dba0744 [2020-07-22T22:41:33.054Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-07-22T22:41:33.995Z] ---> f121da3980ef [2020-07-22T22:41:33.995Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-07-22T22:41:34.255Z] ---> 2c5f48e08688 [2020-07-22T22:41:34.255Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-07-22T22:41:34.282Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-07-22T22:41:34.515Z] ---> b6159e05886a [2020-07-22T22:41:34.515Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-07-22T22:41:34.556Z] [ 65%] Linking C shared library libcsdk.so [2020-07-22T22:41:34.776Z] ---> 49d20e2298b5 [2020-07-22T22:41:34.776Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-07-22T22:41:34.827Z] [ 65%] Built target csdk [2020-07-22T22:41:34.827Z] Scanning dependencies of target template [2020-07-22T22:41:34.827Z] [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-07-22T22:41:35.036Z] ---> 1b587dcdc216 [2020-07-22T22:41:35.036Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-07-22T22:41:35.036Z] ---> Running in 0971b6f7a475 [2020-07-22T22:41:35.036Z] Removing intermediate container 0971b6f7a475 [2020-07-22T22:41:35.036Z] ---> 6d27db411c11 [2020-07-22T22:41:35.036Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-07-22T22:41:35.299Z] ---> Running in eeb15b996bab [2020-07-22T22:41:35.299Z] Removing intermediate container eeb15b996bab [2020-07-22T22:41:35.299Z] ---> 4531c6670496 [2020-07-22T22:41:35.299Z] Step 13/15 : LABEL arch=amd64 [2020-07-22T22:41:35.299Z] ---> Running in bcec7900a2ec [2020-07-22T22:41:35.427Z] [ 68%] Linking C executable template [2020-07-22T22:41:35.559Z] Removing intermediate container bcec7900a2ec [2020-07-22T22:41:35.559Z] ---> 1d2e5c562f36 [2020-07-22T22:41:35.559Z] Step 14/15 : LABEL git_sha=11dca0682671ac21648f2eee6e4306387f0e3104 [2020-07-22T22:41:35.559Z] ---> Running in 7c1ddd59e92f [2020-07-22T22:41:35.698Z] [ 68%] Built target template [2020-07-22T22:41:35.698Z] Scanning dependencies of target device-counter [2020-07-22T22:41:35.698Z] [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-07-22T22:41:35.821Z] Removing intermediate container 7c1ddd59e92f [2020-07-22T22:41:35.821Z] ---> 29e30e767fec [2020-07-22T22:41:35.821Z] Step 15/15 : LABEL version=0.0.0 [2020-07-22T22:41:35.821Z] ---> Running in 707f592d45cf [2020-07-22T22:41:35.971Z] [ 71%] Linking C executable device-counter [2020-07-22T22:41:36.083Z] Removing intermediate container 707f592d45cf [2020-07-22T22:41:36.083Z] ---> 7916a8966c10 [2020-07-22T22:41:36.083Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2020-07-22T22:41:36.083Z] Successfully built 7916a8966c10 [2020-07-22T22:41:36.083Z] Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } [2020-07-22T22:41:36.242Z] [ 71%] Built target device-counter [2020-07-22T22:41:36.242Z] Scanning dependencies of target device-random [2020-07-22T22:41:36.242Z] [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [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] } [2020-07-22T22:41:36.834Z] [ 74%] Linking C executable device-random [2020-07-22T22:41:36.834Z] [ 74%] Built target device-random [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [2020-07-22T22:41:37.109Z] Scanning dependencies of target device-gyro [2020-07-22T22:41:37.109Z] [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [2020-07-22T22:41:37.381Z] [ 77%] Linking C executable device-gyro [Pipeline] } [2020-07-22T22:41:37.654Z] [ 77%] Built target device-gyro [2020-07-22T22:41:37.654Z] Scanning dependencies of target template-discovery [2020-07-22T22:41:37.654Z] [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-07-22T22:41:38.245Z] [ 80%] Linking C executable template-discovery [2020-07-22T22:41:38.516Z] [ 80%] Built target template-discovery [2020-07-22T22:41:38.516Z] Scanning dependencies of target device-terminal [2020-07-22T22:41:38.516Z] [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-07-22T22:41:39.110Z] [ 84%] Linking C executable device-terminal [2020-07-22T22:41:39.110Z] [ 84%] Built target device-terminal [2020-07-22T22:41:39.380Z] Scanning dependencies of target template2 [2020-07-22T22:41:39.380Z] [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-07-22T22:41:39.971Z] [ 87%] Linking C executable template2 [2020-07-22T22:41:39.971Z] [ 87%] Built target template2 [2020-07-22T22:41:39.971Z] Scanning dependencies of target device-counterv2 [2020-07-22T22:41:39.971Z] [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-07-22T22:41:40.564Z] [ 90%] Linking C executable device-counterv2 [2020-07-22T22:41:40.836Z] [ 90%] Built target device-counterv2 [2020-07-22T22:41:40.836Z] Scanning dependencies of target device-gyrov2 [2020-07-22T22:41:40.836Z] [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o [2020-07-22T22:41:41.106Z] [ 93%] Linking C executable device-gyrov2 [2020-07-22T22:41:41.376Z] [ 93%] Built target device-gyrov2 [2020-07-22T22:41:41.376Z] Scanning dependencies of target device-randomv2 [2020-07-22T22:41:41.376Z] [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-07-22T22:41:41.965Z] [ 96%] Linking C executable device-randomv2 [2020-07-22T22:41:42.235Z] [ 96%] Built target device-randomv2 [2020-07-22T22:41:42.235Z] Scanning dependencies of target device-terminalv2 [2020-07-22T22:41:42.235Z] [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o [2020-07-22T22:41:42.828Z] [100%] Linking C executable device-terminalv2 [2020-07-22T22:41:42.828Z] [100%] Built target device-terminalv2 [2020-07-22T22:41:42.828Z] + make package [2020-07-22T22:41:42.828Z] + tee -a release.log [2020-07-22T22:41:43.099Z] [ 65%] Built target csdk [2020-07-22T22:41:43.099Z] [ 68%] Built target template [2020-07-22T22:41:43.099Z] [ 71%] Built target device-counter [2020-07-22T22:41:43.099Z] [ 74%] Built target device-random [2020-07-22T22:41:43.099Z] [ 77%] Built target device-gyro [2020-07-22T22:41:43.370Z] [ 80%] Built target template-discovery [2020-07-22T22:41:43.370Z] [ 84%] Built target device-terminal [2020-07-22T22:41:43.370Z] [ 87%] Built target template2 [2020-07-22T22:41:43.370Z] [ 90%] Built target device-counterv2 [2020-07-22T22:41:43.370Z] [ 93%] Built target device-gyrov2 [2020-07-22T22:41:43.370Z] [ 96%] Built target device-randomv2 [2020-07-22T22:41:43.370Z] [100%] Built target device-terminalv2 [2020-07-22T22:41:43.642Z] Run CPack packaging tool... [2020-07-22T22:41:43.642Z] CPack: Create package using TGZ [2020-07-22T22:41:43.642Z] CPack: Install projects [2020-07-22T22:41:43.642Z] CPack: - Run preinstall target for: Csdk [2020-07-22T22:41:44.237Z] CPack: - Install project: Csdk [2020-07-22T22:41:44.237Z] CPack: Create package [2020-07-22T22:41:44.237Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2020-07-22T22:41:44.237Z] + '[' false '=' true ] [2020-07-22T22:41:44.237Z] + '[' false '=' true ] [2020-07-22T22:41:44.237Z] + mkdir -p /tmp/sdk/build/debug [2020-07-22T22:41:44.237Z] + cd /tmp/sdk/build/debug [2020-07-22T22:41:44.237Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-07-22T22:41:44.522Z] -- The C compiler identification is GNU 8.3.0 [2020-07-22T22:41:44.796Z] -- Check for working C compiler: /usr/bin/cc [2020-07-22T22:41:44.796Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-07-22T22:41:44.796Z] -- Detecting C compiler ABI info [2020-07-22T22:41:45.068Z] -- Detecting C compiler ABI info - done [2020-07-22T22:41:45.068Z] -- Detecting C compile features [2020-07-22T22:41:46.040Z] -- Detecting C compile features - done [2020-07-22T22:41:46.040Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-07-22T22:41:46.040Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-07-22T22:41:46.040Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-07-22T22:41:46.040Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-07-22T22:41:46.040Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-07-22T22:41:46.040Z] -- C SDK 0.0.0 for Linux [2020-07-22T22:41:46.040Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-07-22T22:41:46.310Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-07-22T22:41:46.310Z] -- Found Curses: /usr/lib/libcurses.so [2020-07-22T22:41:46.310Z] -- Configuring done [2020-07-22T22:41:46.581Z] -- Generating done [2020-07-22T22:41:46.581Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-07-22T22:41:46.581Z] + + maketee [2020-07-22T22:41:46.581Z] debug.log [2020-07-22T22:41:46.854Z] Scanning dependencies of target csdk [2020-07-22T22:41:46.854Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-07-22T22:41:47.129Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-07-22T22:41:47.403Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-07-22T22:41:48.001Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-07-22T22:41:48.273Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-07-22T22:41:48.543Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-07-22T22:41:48.814Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-07-22T22:41:49.406Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-07-22T22:41:49.677Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-07-22T22:41:49.949Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-07-22T22:41:50.222Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-07-22T22:41:50.495Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-07-22T22:41:50.495Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-07-22T22:41:50.765Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-07-22T22:41:51.754Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-07-22T22:41:51.754Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-07-22T22:41:52.032Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-07-22T22:41:52.320Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-07-22T22:41:52.920Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-07-22T22:41:53.196Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-07-22T22:41:53.196Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-07-22T22:41:53.467Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-07-22T22:41:53.740Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-07-22T22:41:53.740Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-07-22T22:41:54.018Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-07-22T22:41:54.293Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-07-22T22:41:54.565Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-07-22T22:41:54.838Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-07-22T22:41:54.838Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-07-22T22:41:55.430Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-07-22T22:41:55.701Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-07-22T22:41:56.673Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-07-22T22:41:56.944Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-07-22T22:41:57.215Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-07-22T22:41:57.485Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-07-22T22:41:58.458Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-07-22T22:41:58.729Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-07-22T22:41:59.698Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-07-22T22:41:59.698Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-07-22T22:42:00.287Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-07-22T22:42:00.559Z] [ 65%] Linking C shared library libcsdk.so [2020-07-22T22:42:00.559Z] [ 65%] Built target csdk [2020-07-22T22:42:00.559Z] Scanning dependencies of target template [2020-07-22T22:42:00.559Z] [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-07-22T22:42:00.833Z] [ 68%] Linking C executable template [2020-07-22T22:42:01.105Z] [ 68%] Built target template [2020-07-22T22:42:01.105Z] Scanning dependencies of target device-counter [2020-07-22T22:42:01.105Z] [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-07-22T22:42:01.378Z] [ 71%] Linking C executable device-counter [2020-07-22T22:42:01.651Z] [ 71%] Built target device-counter [2020-07-22T22:42:01.651Z] Scanning dependencies of target device-random [2020-07-22T22:42:01.651Z] [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-07-22T22:42:01.924Z] [ 74%] Linking C executable device-random [2020-07-22T22:42:02.195Z] [ 74%] Built target device-random [2020-07-22T22:42:02.195Z] Scanning dependencies of target device-gyro [2020-07-22T22:42:02.195Z] [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-07-22T22:42:02.465Z] [ 77%] Linking C executable device-gyro [2020-07-22T22:42:02.736Z] [ 77%] Built target device-gyro [2020-07-22T22:42:02.737Z] Scanning dependencies of target template-discovery [2020-07-22T22:42:02.737Z] [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-07-22T22:42:03.008Z] [ 80%] Linking C executable template-discovery [2020-07-22T22:42:03.280Z] [ 80%] Built target template-discovery [2020-07-22T22:42:03.280Z] Scanning dependencies of target device-terminal [2020-07-22T22:42:03.280Z] [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-07-22T22:42:03.551Z] [ 84%] Linking C executable device-terminal [2020-07-22T22:42:03.823Z] [ 84%] Built target device-terminal [2020-07-22T22:42:03.823Z] Scanning dependencies of target template2 [2020-07-22T22:42:03.823Z] [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-07-22T22:42:04.096Z] [ 87%] Linking C executable template2 [2020-07-22T22:42:04.368Z] [ 87%] Built target template2 [2020-07-22T22:42:04.368Z] Scanning dependencies of target device-counterv2 [2020-07-22T22:42:04.368Z] [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-07-22T22:42:04.639Z] [ 90%] Linking C executable device-counterv2 [2020-07-22T22:42:04.911Z] [ 90%] Built target device-counterv2 [2020-07-22T22:42:04.911Z] Scanning dependencies of target device-gyrov2 [2020-07-22T22:42:04.911Z] [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o [2020-07-22T22:42:05.184Z] [ 93%] Linking C executable device-gyrov2 [2020-07-22T22:42:05.457Z] [ 93%] Built target device-gyrov2 [2020-07-22T22:42:05.457Z] Scanning dependencies of target device-randomv2 [2020-07-22T22:42:05.457Z] [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-07-22T22:42:05.729Z] [ 96%] Linking C executable device-randomv2 [2020-07-22T22:42:06.001Z] [ 96%] Built target device-randomv2 [2020-07-22T22:42:06.001Z] Scanning dependencies of target device-terminalv2 [2020-07-22T22:42:06.001Z] [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o [2020-07-22T22:42:06.273Z] [100%] Linking C executable device-terminalv2 [2020-07-22T22:42:06.544Z] [100%] Built target device-terminalv2 [2020-07-22T22:42:06.544Z] make: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:42:06.544Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:42:06.544Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:42:06.544Z] Scanning dependencies of target csdk [2020-07-22T22:42:06.824Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:42:06.824Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:42:06.824Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-07-22T22:42:08.787Z] [ 3%] Linking C shared library libcsdk.so [2020-07-22T22:42:08.787Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:42:08.787Z] [ 65%] Built target csdk [2020-07-22T22:42:08.787Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:42:08.787Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:42:08.787Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:42:08.787Z] [ 66%] Linking C executable template [2020-07-22T22:42:08.787Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:42:08.787Z] [ 68%] Built target template [2020-07-22T22:42:08.787Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:42:08.787Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:42:08.787Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:42:08.787Z] [ 69%] Linking C executable device-counter [2020-07-22T22:42:09.059Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:42:09.059Z] [ 71%] Built target device-counter [2020-07-22T22:42:09.059Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:42:09.059Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:42:09.059Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:42:09.059Z] [ 73%] Linking C executable device-random [2020-07-22T22:42:09.330Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:42:09.330Z] [ 74%] Built target device-random [2020-07-22T22:42:09.330Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:42:09.330Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:42:09.330Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:42:09.330Z] [ 76%] Linking C executable device-gyro [2020-07-22T22:42:09.602Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:42:09.603Z] [ 77%] Built target device-gyro [2020-07-22T22:42:09.603Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:42:09.603Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:42:09.603Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:42:09.603Z] [ 79%] Linking C executable template-discovery [2020-07-22T22:42:09.875Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:42:09.875Z] [ 80%] Built target template-discovery [2020-07-22T22:42:09.875Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:42:09.875Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:42:09.875Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:42:09.875Z] [ 82%] Linking C executable device-terminal [2020-07-22T22:42:10.146Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:42:10.146Z] [ 84%] Built target device-terminal [2020-07-22T22:42:10.146Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:42:10.146Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:42:10.146Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:42:10.146Z] [ 85%] Linking C executable template2 [2020-07-22T22:42:10.418Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:42:10.418Z] [ 87%] Built target template2 [2020-07-22T22:42:10.418Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:42:10.418Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:42:10.418Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:42:10.418Z] [ 88%] Linking C executable device-counterv2 [2020-07-22T22:42:10.689Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:42:10.689Z] [ 90%] Built target device-counterv2 [2020-07-22T22:42:10.689Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:42:10.689Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:42:10.689Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:42:10.689Z] [ 92%] Linking C executable device-gyrov2 [2020-07-22T22:42:10.961Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:42:10.961Z] [ 93%] Built target device-gyrov2 [2020-07-22T22:42:10.961Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:42:10.961Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:42:10.961Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:42:10.961Z] [ 95%] Linking C executable device-randomv2 [2020-07-22T22:42:11.232Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:42:11.232Z] [ 96%] Built target device-randomv2 [2020-07-22T22:42:11.232Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:42:11.232Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:42:11.232Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T22:42:11.232Z] [ 98%] Linking C executable device-terminalv2 [2020-07-22T22:42:11.505Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:42:11.505Z] [100%] Built target device-terminalv2 [2020-07-22T22:42:11.505Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:42:11.505Z] Install the project... [2020-07-22T22:42:11.505Z] -- Install configuration: "Release" [2020-07-22T22:42:11.505Z] -- Installing: /usr/local/lib/libcsdk.so [2020-07-22T22:42:11.505Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-07-22T22:42:11.505Z] -- Up-to-date: /usr/local/include [2020-07-22T22:42:11.505Z] -- Installing: /usr/local/include/edgex [2020-07-22T22:42:11.505Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-07-22T22:42:11.505Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-07-22T22:42:11.505Z] -- Installing: /usr/local/include/edgex/error.h [2020-07-22T22:42:11.505Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-07-22T22:42:11.505Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-07-22T22:42:11.505Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-07-22T22:42:11.505Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-07-22T22:42:11.505Z] -- Installing: /usr/local/include/edgex/registry.h [2020-07-22T22:42:11.505Z] -- Installing: /usr/local/include/edgex/edgex-logging.h [2020-07-22T22:42:11.505Z] -- Installing: /usr/local/include/edgex/devices.h [2020-07-22T22:42:11.505Z] -- Installing: /usr/local/include/edgex/os.h [2020-07-22T22:42:11.505Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-07-22T22:42:11.505Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-07-22T22:42:11.505Z] -- Installing: /usr/local/include/devsdk [2020-07-22T22:42:11.505Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-07-22T22:42:11.505Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-07-22T22:42:11.505Z] -- Installing: /usr/local/include/iot [2020-07-22T22:42:11.505Z] -- Installing: /usr/local/include/iot/json.h [2020-07-22T22:42:11.505Z] -- Installing: /usr/local/include/iot/container.h [2020-07-22T22:42:11.505Z] -- Installing: /usr/local/include/iot/component.h [2020-07-22T22:42:11.505Z] -- Installing: /usr/local/include/iot/typecode.h [2020-07-22T22:42:11.505Z] -- Installing: /usr/local/include/iot/iot.h [2020-07-22T22:42:11.505Z] -- Installing: /usr/local/include/iot/time.h [2020-07-22T22:42:11.505Z] -- Installing: /usr/local/include/iot/hash.h [2020-07-22T22:42:11.505Z] -- Installing: /usr/local/include/iot/logger.h [2020-07-22T22:42:11.505Z] -- Installing: /usr/local/include/iot/os [2020-07-22T22:42:11.505Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-07-22T22:42:11.505Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-07-22T22:42:11.505Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-07-22T22:42:11.505Z] -- Installing: /usr/local/include/iot/data.h [2020-07-22T22:42:11.505Z] -- Installing: /usr/local/include/iot/thread.h [2020-07-22T22:42:11.505Z] -- Installing: /usr/local/include/iot/os.h [2020-07-22T22:42:11.505Z] -- Installing: /usr/local/include/iot/base64.h [2020-07-22T22:42:11.505Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-07-22T22:42:11.505Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-07-22T22:42:11.505Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-07-22T22:42:11.780Z] make: Leaving directory '/tmp/sdk/build/release' [2020-07-22T22:42:13.750Z] Removing intermediate container f3cedaf8c4c5 [2020-07-22T22:42:13.750Z] ---> c0c0f062ebab [2020-07-22T22:42:13.750Z] Step 14/21 : FROM alpine:3.9 [2020-07-22T22:42:14.020Z] 3.9: Pulling from library/alpine [2020-07-22T22:42:14.290Z] 941f399634ec: Pulling fs layer [2020-07-22T22:42:14.563Z] 941f399634ec: Verifying Checksum [2020-07-22T22:42:14.563Z] 941f399634ec: Download complete [2020-07-22T22:42:15.155Z] 941f399634ec: Pull complete [2020-07-22T22:42:15.155Z] Digest: sha256:414e0518bb9228d35e4cd5165567fb91d26c6a214e9c95899e1e056fcd349011 [2020-07-22T22:42:15.155Z] Status: Downloaded newer image for alpine:3.9 [2020-07-22T22:42:15.155Z] ---> 9afdd4a290bf [2020-07-22T22:42:15.155Z] Step 15/21 : MAINTAINER IOTech [2020-07-22T22:42:15.426Z] ---> Running in 84429f8f4be2 [2020-07-22T22:42:15.699Z] Removing intermediate container 84429f8f4be2 [2020-07-22T22:42:15.699Z] ---> 31ee323d536c [2020-07-22T22:42:15.699Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-07-22T22:42:15.971Z] ---> Running in 88d6c890a75e [2020-07-22T22:42:17.449Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-07-22T22:42:18.055Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-07-22T22:42:18.658Z] (1/48) Installing binutils (2.31.1-r2) [2020-07-22T22:42:19.631Z] (2/48) Installing libmagic (5.36-r1) [2020-07-22T22:42:19.631Z] (3/48) Installing file (5.36-r1) [2020-07-22T22:42:19.631Z] (4/48) Installing gmp (6.1.2-r1) [2020-07-22T22:42:19.631Z] (5/48) Installing isl (0.18-r0) [2020-07-22T22:42:19.631Z] (6/48) Installing libgomp (8.3.0-r0) [2020-07-22T22:42:19.631Z] (7/48) Installing libatomic (8.3.0-r0) [2020-07-22T22:42:19.631Z] (8/48) Installing libgcc (8.3.0-r0) [2020-07-22T22:42:19.901Z] (9/48) Installing mpfr3 (3.1.5-r1) [2020-07-22T22:42:20.176Z] (10/48) Installing mpc1 (1.0.3-r1) [2020-07-22T22:42:20.176Z] (11/48) Installing libstdc++ (8.3.0-r0) [2020-07-22T22:42:20.176Z] (12/48) Installing gcc (8.3.0-r0) [2020-07-22T22:42:21.598Z] (13/48) Installing musl-dev (1.1.20-r5) [2020-07-22T22:42:21.868Z] (14/48) Installing libc-dev (0.7.1-r0) [2020-07-22T22:42:21.868Z] (15/48) Installing g++ (8.3.0-r0) [2020-07-22T22:42:23.291Z] (16/48) Installing make (4.2.1-r2) [2020-07-22T22:42:23.291Z] (17/48) Installing fortify-headers (1.0-r0) [2020-07-22T22:42:23.291Z] (18/48) Installing build-base (0.5-r1) [2020-07-22T22:42:23.291Z] (19/48) Installing libattr (2.4.47-r7) [2020-07-22T22:42:23.291Z] (20/48) Installing libacl (2.2.52-r5) [2020-07-22T22:42:23.291Z] (21/48) Installing libbz2 (1.0.6-r7) [2020-07-22T22:42:23.291Z] (22/48) Installing expat (2.2.8-r0) [2020-07-22T22:42:23.291Z] (23/48) Installing lz4-libs (1.8.3-r2) [2020-07-22T22:42:23.291Z] (24/48) Installing xz-libs (5.2.4-r0) [2020-07-22T22:42:23.291Z] (25/48) Installing libarchive (3.3.3-r2) [2020-07-22T22:42:23.561Z] (26/48) Installing ca-certificates (20191127-r2) [2020-07-22T22:42:23.561Z] (27/48) Installing nghttp2-libs (1.35.1-r2) [2020-07-22T22:42:23.561Z] (28/48) Installing libssh2 (1.9.0-r1) [2020-07-22T22:42:23.561Z] (29/48) Installing libcurl (7.64.0-r3) [2020-07-22T22:42:23.561Z] (30/48) Installing ncurses-terminfo-base (6.1_p20190105-r0) [2020-07-22T22:42:23.561Z] (31/48) Installing ncurses-terminfo (6.1_p20190105-r0) [2020-07-22T22:42:24.533Z] (32/48) Installing ncurses-libs (6.1_p20190105-r0) [2020-07-22T22:42:24.533Z] (33/48) Installing rhash-libs (1.3.6-r2) [2020-07-22T22:42:24.533Z] (34/48) Installing libuv (1.25.0-r0) [2020-07-22T22:42:24.533Z] (35/48) Installing cmake (3.13.0-r0) [2020-07-22T22:42:25.957Z] (36/48) Installing curl (7.64.0-r3) [2020-07-22T22:42:25.957Z] (37/48) Installing pcre2 (10.32-r1) [2020-07-22T22:42:25.957Z] (38/48) Installing git (2.20.4-r0) [2020-07-22T22:42:26.550Z] (39/48) Installing nettle (3.4.1-r0) [2020-07-22T22:42:26.550Z] (40/48) Installing libffi (3.2.1-r6) [2020-07-22T22:42:26.550Z] (41/48) Installing p11-kit (0.23.14-r0) [2020-07-22T22:42:26.550Z] (42/48) Installing libtasn1 (4.14-r0) [2020-07-22T22:42:26.550Z] (43/48) Installing libunistring (0.9.10-r0) [2020-07-22T22:42:26.550Z] (44/48) Installing gnutls (3.6.14-r0) [2020-07-22T22:42:26.821Z] (45/48) Installing libmicrohttpd (0.9.62-r0) [2020-07-22T22:42:26.821Z] (46/48) Installing libuuid (2.33-r0) [2020-07-22T22:42:26.821Z] (47/48) Installing wget (1.20.3-r0) [2020-07-22T22:42:26.821Z] (48/48) Installing yaml (0.2.1-r0) [2020-07-22T22:42:26.821Z] Executing busybox-1.29.3-r10.trigger [2020-07-22T22:42:26.821Z] Executing ca-certificates-20191127-r2.trigger [2020-07-22T22:42:27.098Z] OK: 219 MiB in 62 packages [2020-07-22T22:42:42.163Z] Removing intermediate container 88d6c890a75e [2020-07-22T22:42:42.163Z] ---> edb0dd68df41 [2020-07-22T22:42:42.163Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-07-22T22:42:42.163Z] ---> fb57fef911fd [2020-07-22T22:42:42.163Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-07-22T22:42:42.163Z] ---> c2ad5d76af71 [2020-07-22T22:42:42.163Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-07-22T22:42:42.761Z] ---> 724d680eed71 [2020-07-22T22:42:42.761Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-07-22T22:42:43.356Z] ---> e4326385fc5f [2020-07-22T22:42:43.356Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-07-22T22:42:43.948Z] ---> def9961cbbe9 [2020-07-22T22:42:43.948Z] Successfully built def9961cbbe9 [2020-07-22T22:42:43.948Z] 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-22T22:42:44.764Z] + docker inspect -f . ci-base-image-arm64 [2020-07-22T22:42:44.765Z] . [Pipeline] withDockerContainer [2020-07-22T22:42:45.015Z] prd-ubuntu18.04-docker-arm64-4c-16g-641 does not seem to be running inside a container [2020-07-22T22:42:45.097Z] $ 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 ******** ci-base-image-arm64 cat [2020-07-22T22:42:46.819Z] $ docker top 0a2c5067c3be38ab408f84ef9d65149763fc4d5020693beb240c7ed465a9b600 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-07-22T22:42:48.267Z] + make test [2020-07-22T22:42:48.267Z] echo "make test" [2020-07-22T22:42:48.267Z] make test [Pipeline] } [2020-07-22T22:42:48.294Z] $ docker stop --time=1 0a2c5067c3be38ab408f84ef9d65149763fc4d5020693beb240c7ed465a9b600 [2020-07-22T22:42:50.336Z] $ docker rm -f 0a2c5067c3be38ab408f84ef9d65149763fc4d5020693beb240c7ed465a9b600 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-07-22T22:42:51.442Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-07-22T22:42:51.796Z] + ls -al . [2020-07-22T22:42:51.796Z] total 192 [2020-07-22T22:42:51.796Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 22 22:39 . [2020-07-22T22:42:51.796Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 22:39 .. [2020-07-22T22:42:51.796Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 22 22:39 .git [2020-07-22T22:42:51.796Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 22 22:39 .gitignore [2020-07-22T22:42:51.796Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 22:39 .semver [2020-07-22T22:42:51.796Z] -rw-rw-r-- 1 jenkins jenkins 3104 Jul 22 22:39 Attribution.txt [2020-07-22T22:42:51.796Z] -rw-rw-r-- 1 jenkins jenkins 5335 Jul 22 22:39 CHANGES [2020-07-22T22:42:51.796Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 22 22:39 Doxyfile [2020-07-22T22:42:51.796Z] -rw-rw-r-- 1 jenkins jenkins 792 Jul 22 22:39 Jenkinsfile [2020-07-22T22:42:51.796Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 22 22:39 LICENSE [2020-07-22T22:42:51.796Z] -rw-rw-r-- 1 jenkins jenkins 448 Jul 22 22:39 Makefile [2020-07-22T22:42:51.796Z] -rw-rw-r-- 1 jenkins jenkins 1849 Jul 22 22:39 README.md [2020-07-22T22:42:51.796Z] -rw-rw-r-- 1 jenkins jenkins 5229 Jul 22 22:39 README.v2.md [2020-07-22T22:42:51.796Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 22 22:37 VERSION [2020-07-22T22:42:51.796Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 22:39 docs [2020-07-22T22:42:51.796Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 22:39 include [2020-07-22T22:42:51.796Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 22:39 scripts [2020-07-22T22:42:51.796Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 22:39 src [Pipeline] isUnix [Pipeline] sh [2020-07-22T22:42:52.159Z] + docker build -t docker-device-sdk-c-arm64 -f scripts/Dockerfile.alpine-3.9 --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=11dca0682671ac21648f2eee6e4306387f0e3104 --label arch=arm64 --label version=0.0.0 . [2020-07-22T22:42:52.761Z] Sending build context to Docker daemon 3.31MB [2020-07-22T22:42:52.761Z] Step 1/15 : ARG BASE=alpine:3.9 [2020-07-22T22:42:52.761Z] Step 2/15 : FROM ${BASE} [2020-07-22T22:42:52.761Z] ---> def9961cbbe9 [2020-07-22T22:42:52.761Z] Step 3/15 : MAINTAINER IOTech [2020-07-22T22:42:52.761Z] ---> Running in 31c11783f27d [2020-07-22T22:42:53.354Z] Removing intermediate container 31c11783f27d [2020-07-22T22:42:53.354Z] ---> 277a2618f474 [2020-07-22T22:42:53.354Z] 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-22T22:42:53.354Z] ---> Running in af5ba9aef9aa [2020-07-22T22:42:54.782Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-07-22T22:42:55.052Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-07-22T22:42:55.322Z] (1/21) Installing pkgconf (1.6.0-r0) [2020-07-22T22:42:55.322Z] (2/21) Installing openssl-dev (1.1.1g-r0) [2020-07-22T22:42:55.911Z] (3/21) Installing zlib-dev (1.2.11-r1) [2020-07-22T22:42:55.911Z] (4/21) Installing libssh2-dev (1.9.0-r1) [2020-07-22T22:42:55.911Z] (5/21) Installing nghttp2-dev (1.35.1-r2) [2020-07-22T22:42:55.911Z] (6/21) Installing curl-dev (7.64.0-r3) [2020-07-22T22:42:55.911Z] (7/21) Installing gnutls-c++ (3.6.14-r0) [2020-07-22T22:42:56.181Z] (8/21) Installing libgmpxx (6.1.2-r1) [2020-07-22T22:42:56.181Z] (9/21) Installing gmp-dev (6.1.2-r1) [2020-07-22T22:42:56.181Z] (10/21) Installing nettle-dev (3.4.1-r0) [2020-07-22T22:42:57.153Z] (11/21) Installing libtasn1-dev (4.14-r0) [2020-07-22T22:42:57.153Z] (12/21) Installing p11-kit-dev (0.23.14-r0) [2020-07-22T22:42:57.153Z] (13/21) Installing gnutls-dev (3.6.14-r0) [2020-07-22T22:42:57.153Z] (14/21) Installing libmicrohttpd-dev (0.9.62-r0) [2020-07-22T22:42:57.153Z] (15/21) Installing ncurses-dev (6.1_p20190105-r0) [2020-07-22T22:42:57.153Z] (16/21) Installing libblkid (2.33-r0) [2020-07-22T22:42:57.153Z] (17/21) Installing libfdisk (2.33-r0) [2020-07-22T22:42:57.425Z] (18/21) Installing libmount (2.33-r0) [2020-07-22T22:42:57.425Z] (19/21) Installing libsmartcols (2.33-r0) [2020-07-22T22:42:57.425Z] (20/21) Installing util-linux-dev (2.33-r0) [2020-07-22T22:42:57.425Z] (21/21) Installing yaml-dev (0.2.1-r0) [2020-07-22T22:42:57.425Z] Executing busybox-1.29.3-r10.trigger [2020-07-22T22:42:57.425Z] OK: 280 MiB in 83 packages [2020-07-22T22:43:00.800Z] Removing intermediate container af5ba9aef9aa [2020-07-22T22:43:00.800Z] ---> 3260f2cc70a9 [2020-07-22T22:43:00.800Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-07-22T22:43:01.398Z] ---> 0bb53704d8ed [2020-07-22T22:43:01.398Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-07-22T22:43:02.372Z] ---> 5b5461fbed9b [2020-07-22T22:43:02.372Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-07-22T22:43:03.344Z] ---> 0625360abc1b [2020-07-22T22:43:03.344Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-07-22T22:43:03.937Z] ---> 540030e2a785 [2020-07-22T22:43:03.937Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-07-22T22:43:04.531Z] ---> 3df5ada9ec08 [2020-07-22T22:43:04.531Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-07-22T22:43:05.122Z] ---> cd375df03e2c [2020-07-22T22:43:05.122Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-07-22T22:43:05.394Z] ---> Running in ad680ed9c853 [2020-07-22T22:43:05.664Z] Removing intermediate container ad680ed9c853 [2020-07-22T22:43:05.664Z] ---> 5b47299a52ca [2020-07-22T22:43:05.664Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-07-22T22:43:05.936Z] ---> Running in 90543d938d6c [2020-07-22T22:43:06.212Z] Removing intermediate container 90543d938d6c [2020-07-22T22:43:06.212Z] ---> 4e5b76e5a24d [2020-07-22T22:43:06.212Z] Step 13/15 : LABEL arch=arm64 [2020-07-22T22:43:06.484Z] ---> Running in 15041a1cb318 [2020-07-22T22:43:06.755Z] Removing intermediate container 15041a1cb318 [2020-07-22T22:43:06.755Z] ---> b41fea3ca594 [2020-07-22T22:43:06.755Z] Step 14/15 : LABEL git_sha=11dca0682671ac21648f2eee6e4306387f0e3104 [2020-07-22T22:43:07.027Z] ---> Running in 3165d2935dcd [2020-07-22T22:43:07.297Z] Removing intermediate container 3165d2935dcd [2020-07-22T22:43:07.297Z] ---> 2e25cb625a20 [2020-07-22T22:43:07.297Z] Step 15/15 : LABEL version=0.0.0 [2020-07-22T22:43:07.568Z] ---> Running in a8cbec7709fb [2020-07-22T22:43:07.858Z] Removing intermediate container a8cbec7709fb [2020-07-22T22:43:07.858Z] ---> 3df04694c778 [2020-07-22T22:43:07.858Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2020-07-22T22:43:07.858Z] Successfully built 3df04694c778 [2020-07-22T22:43:07.858Z] 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-22T22:43:11.339Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-22T22:43:11.968Z] ---> package-listing.sh [2020-07-22T22:43:11.968Z] ++ facter osfamily [2020-07-22T22:43:11.968Z] ++ tr '[:upper:]' '[:lower:]' [2020-07-22T22:43:12.262Z] + OS_FAMILY=redhat [2020-07-22T22:43:12.262Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_geneva [2020-07-22T22:43:12.262Z] + START_PACKAGES=/tmp/packages_start.txt [2020-07-22T22:43:12.262Z] + END_PACKAGES=/tmp/packages_end.txt [2020-07-22T22:43:12.262Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-07-22T22:43:12.262Z] + PACKAGES=/tmp/packages_start.txt [2020-07-22T22:43:12.262Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_geneva ']' [2020-07-22T22:43:12.262Z] + PACKAGES=/tmp/packages_end.txt [2020-07-22T22:43:12.262Z] + case "${OS_FAMILY}" in [2020-07-22T22:43:12.262Z] + rpm -qa [2020-07-22T22:43:12.262Z] + sort [2020-07-22T22:43:17.784Z] + '[' -f /tmp/packages_start.txt ']' [2020-07-22T22:43:17.784Z] + '[' -f /tmp/packages_end.txt ']' [2020-07-22T22:43:17.784Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-07-22T22:43:17.784Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_geneva ']' [2020-07-22T22:43:17.784Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_geneva/archives/ [2020-07-22T22:43:17.784Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_geneva/archives/ [Pipeline] isUnix [Pipeline] sh [2020-07-22T22:43:18.403Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-22T22:43:18.403Z] [2020-07-22T22:43:18.403Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-07-22T22:43:18.914Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-22T22:43:18.914Z] alpine: Pulling from edgex-lftools-log-publisher [2020-07-22T22:43:18.914Z] c9b1b535fdd9: Pulling fs layer [2020-07-22T22:43:18.914Z] 2cc5ad85d9ab: Pulling fs layer [2020-07-22T22:43:18.914Z] 756a868c4378: Pulling fs layer [2020-07-22T22:43:18.914Z] 444b2fc9a129: Pulling fs layer [2020-07-22T22:43:18.914Z] ea15f1150254: Pulling fs layer [2020-07-22T22:43:18.914Z] 41b27a9f41bf: Pulling fs layer [2020-07-22T22:43:18.914Z] 28c525ee5125: Pulling fs layer [2020-07-22T22:43:18.914Z] 094b1ea09ed8: Pulling fs layer [2020-07-22T22:43:18.914Z] 138eaada9080: Pulling fs layer [2020-07-22T22:43:18.914Z] 0622d0fa9048: Pulling fs layer [2020-07-22T22:43:18.914Z] 41b27a9f41bf: Waiting [2020-07-22T22:43:18.914Z] 28c525ee5125: Waiting [2020-07-22T22:43:18.914Z] 094b1ea09ed8: Waiting [2020-07-22T22:43:18.914Z] 138eaada9080: Waiting [2020-07-22T22:43:18.914Z] 0622d0fa9048: Waiting [2020-07-22T22:43:18.914Z] 444b2fc9a129: Waiting [2020-07-22T22:43:18.914Z] ea15f1150254: Waiting [2020-07-22T22:43:18.914Z] 2cc5ad85d9ab: Verifying Checksum [2020-07-22T22:43:18.914Z] 2cc5ad85d9ab: Download complete [2020-07-22T22:43:18.914Z] 444b2fc9a129: Download complete [2020-07-22T22:43:19.194Z] c9b1b535fdd9: Verifying Checksum [2020-07-22T22:43:19.194Z] ea15f1150254: Verifying Checksum [2020-07-22T22:43:19.194Z] ea15f1150254: Download complete [2020-07-22T22:43:19.194Z] 28c525ee5125: Verifying Checksum [2020-07-22T22:43:19.194Z] 28c525ee5125: Download complete [2020-07-22T22:43:19.910Z] c9b1b535fdd9: Pull complete [2020-07-22T22:43:20.284Z] 2cc5ad85d9ab: Pull complete [2020-07-22T22:43:20.284Z] 756a868c4378: Download complete [2020-07-22T22:43:21.025Z] 138eaada9080: Verifying Checksum [2020-07-22T22:43:21.025Z] 138eaada9080: Download complete [2020-07-22T22:43:21.025Z] 094b1ea09ed8: Verifying Checksum [2020-07-22T22:43:21.025Z] 094b1ea09ed8: Download complete [2020-07-22T22:43:21.025Z] 0622d0fa9048: Verifying Checksum [2020-07-22T22:43:21.025Z] 0622d0fa9048: Download complete [2020-07-22T22:43:21.815Z] 41b27a9f41bf: Verifying Checksum [2020-07-22T22:43:21.815Z] 41b27a9f41bf: Download complete [2020-07-22T22:43:23.355Z] 756a868c4378: Pull complete [2020-07-22T22:43:23.619Z] 444b2fc9a129: Pull complete [2020-07-22T22:43:24.221Z] ea15f1150254: Pull complete [2020-07-22T22:43:28.505Z] 41b27a9f41bf: Pull complete [2020-07-22T22:43:28.768Z] 28c525ee5125: Pull complete [2020-07-22T22:43:33.143Z] 094b1ea09ed8: Pull complete [2020-07-22T22:43:33.143Z] 138eaada9080: Pull complete [2020-07-22T22:43:33.143Z] 0622d0fa9048: Pull complete [2020-07-22T22:43:33.143Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-07-22T22:43:33.143Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-22T22:43:33.143Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-07-22T22:43:33.665Z] prd-centos7-docker-4c-2g-640 does not seem to be running inside a container [2020-07-22T22:43:33.714Z] $ 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_geneva -v /w/workspace/edgexfoundry_device-sdk-c_geneva:/w/workspace/edgexfoundry_device-sdk-c_geneva:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_geneva@tmp:/w/workspace/edgexfoundry_device-sdk-c_geneva@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-07-22T22:43:37.094Z] $ docker top 666ccc306ec12309b5e6f26012fcf961d9f92be2e6ab11483bc6664bdee9eed4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-07-22T22:43:37.573Z] provisioning config files... [2020-07-22T22:43:37.600Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_geneva@tmp/config4277048342320556751tmp [Pipeline] { [Pipeline] echo [2020-07-22T22:43:37.684Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-22T22:43:38.090Z] ---> create-netrc.sh [Pipeline] echo [2020-07-22T22:43:38.116Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-22T22:43:38.493Z] ---> logs-deploy.sh [2020-07-22T22:43:38.493Z] + ARCHIVE_ARTIFACTS= [2020-07-22T22:43:38.493Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-07-22T22:43:38.493Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-07-22T22:43:38.493Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-07-22T22:43:38.493Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/geneva/1 [2020-07-22T22:43:38.493Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/geneva/1/ [2020-07-22T22:43:38.493Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/geneva/1 /w/workspace/edgexfoundry_device-sdk-c_geneva [2020-07-22T22:43:40.426Z] Archives upload complete. [2020-07-22T22:43:40.426Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/geneva/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/geneva/1/