Pull request #282 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 08585c64de824795960e0f3fb8f2f367ac1ac986+d458e952d42ac930bd5a0ab6668869a0b7caa0a4 (9f09fab8596ce8f699e4093003ba623cd46e3628) 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 be3c330340c18bb7ab85087afff7d7ed2ee420c0 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 be3c330340c18bb7ab85087afff7d7ed2ee420c0 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-282/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 be3c330340c18bb7ab85087afff7d7ed2ee420c0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f be3c330340c18bb7ab85087afff7d7ed2ee420c0 # timeout=10 Commit message: "Merge pull request #211 from ernestojeda/fix-docker-image-push-with-namespace" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-3.11-base, dockerFilePath:scripts/Dockerfile.alpine-3.11, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine-3.11 DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-3.11-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-c DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-586 in /w/workspace/edgexfoundry_device-sdk-c_PR-282 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-282 # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/282/head:refs/remotes/origin/PR-282 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/282/head:refs/remotes/origin/PR-282 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/282/head:refs/remotes/origin/PR-282 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit d458e952d42ac930bd5a0ab6668869a0b7caa0a4 into PR head commit 08585c64de824795960e0f3fb8f2f367ac1ac986 Merge succeeded, producing 08585c64de824795960e0f3fb8f2f367ac1ac986 Checking out Revision 08585c64de824795960e0f3fb8f2f367ac1ac986 (PR-282) > git config core.sparsecheckout # timeout=10 > git checkout -f 08585c64de824795960e0f3fb8f2f367ac1ac986 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge d458e952d42ac930bd5a0ab6668869a0b7caa0a4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 08585c64de824795960e0f3fb8f2f367ac1ac986 # timeout=10 Commit message: "feat: Add ServerBindAddr config to set which interface to listen on (#278)" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object be3c330340c18bb7ab85087afff7d7ed2ee420c0 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-07-22T14:13:55.871Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-07-22T14:13:56.143Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-07-22T14:13:56.314Z] ========================================================= [2020-07-22T14:13:56.314Z] EdgeX Global Pipelines Version Info [2020-07-22T14:13:56.314Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-07-22T14:13:58.160Z] ------------------- [2020-07-22T14:13:58.160Z] stable info: [2020-07-22T14:13:58.160Z] ------------------- [2020-07-22T14:13:58.160Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-07-22T14:13:58.160Z] Commit SHA: be3c330340c18bb7ab85087afff7d7ed2ee420c0 [2020-07-22T14:13:58.160Z] Message: update stable to v1.0.99 [2020-07-22T14:13:58.731Z] ------------------- [2020-07-22T14:13:58.731Z] experimental info: [2020-07-22T14:13:58.731Z] ------------------- [2020-07-22T14:13:58.731Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-07-22T14:13:58.731Z] Commit SHA: 78d567e8c35819a45e10bd2b75e1138b16507148 [2020-07-22T14:13:58.731Z] Message: update experimental to v1.0.101 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-07-22T14:14:01.084Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-22T14:14:01.347Z] [2020-07-22T14:14:01.347Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-07-22T14:14:01.786Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-22T14:14:01.786Z] latest: Pulling from edgex-devops/git-semver [2020-07-22T14:14:01.786Z] 31603596830f: Pulling fs layer [2020-07-22T14:14:01.786Z] 2a8b12db71e7: Pulling fs layer [2020-07-22T14:14:01.786Z] 6ca5941a6612: Pulling fs layer [2020-07-22T14:14:01.786Z] ecc8261a40a4: Pulling fs layer [2020-07-22T14:14:01.786Z] ecc8261a40a4: Waiting [2020-07-22T14:14:01.786Z] 2a8b12db71e7: Verifying Checksum [2020-07-22T14:14:01.786Z] 2a8b12db71e7: Download complete [2020-07-22T14:14:02.051Z] 31603596830f: Download complete [2020-07-22T14:14:02.051Z] ecc8261a40a4: Verifying Checksum [2020-07-22T14:14:02.051Z] ecc8261a40a4: Download complete [2020-07-22T14:14:02.051Z] 6ca5941a6612: Verifying Checksum [2020-07-22T14:14:02.313Z] 31603596830f: Pull complete [2020-07-22T14:14:02.313Z] 2a8b12db71e7: Pull complete [2020-07-22T14:14:03.257Z] 6ca5941a6612: Pull complete [2020-07-22T14:14:03.257Z] ecc8261a40a4: Pull complete [2020-07-22T14:14:03.257Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-07-22T14:14:03.257Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-22T14:14:03.257Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-07-22T14:14:03.374Z] prd-centos7-docker-4c-2g-586 does not seem to be running inside a container [2020-07-22T14:14:03.413Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-282 -v /w/workspace/edgexfoundry_device-sdk-c_PR-282:/w/workspace/edgexfoundry_device-sdk-c_PR-282:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-282@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-282@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-07-22T14:14:05.219Z] $ docker top 1fa24b5d2bbbe80fc8fa05f0a20061f347df4fb05cd97f5110f1b71a1eb3437e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-07-22T14:14:05.559Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-22T14:14:05.559Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-22T14:14:05.769Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-22T14:14:05.768Z] $ docker exec 1fa24b5d2bbbe80fc8fa05f0a20061f347df4fb05cd97f5110f1b71a1eb3437e ssh-agent [2020-07-22T14:14:05.922Z] SSH_AUTH_SOCK=/tmp/ssh-eaHhZQxbGyOz/agent.12 [2020-07-22T14:14:05.922Z] SSH_AGENT_PID=17 [2020-07-22T14:14:05.934Z] Running ssh-add (command line suppressed) [2020-07-22T14:14:06.040Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-282@tmp/private_key_5743018372943804797.key (/w/workspace/edgexfoundry_device-sdk-c_PR-282@tmp/private_key_5743018372943804797.key) [2020-07-22T14:14:06.089Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-22T14:14:06.445Z] + git describe --exact-match --tags HEAD [2020-07-22T14:14:06.445Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-07-22T14:14:06.516Z] $ docker exec --env ******** --env ******** 1fa24b5d2bbbe80fc8fa05f0a20061f347df4fb05cd97f5110f1b71a1eb3437e ssh-agent -k [2020-07-22T14:14:06.634Z] unset SSH_AUTH_SOCK; [2020-07-22T14:14:06.634Z] unset SSH_AGENT_PID; [2020-07-22T14:14:06.634Z] echo Agent pid 17 killed; [2020-07-22T14:14:06.679Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-07-22T14:14:06.818Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-07-22T14:14:06.818Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-07-22T14:14:06.938Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-22T14:14:06.938Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-22T14:14:07.092Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-22T14:14:07.091Z] $ docker exec 1fa24b5d2bbbe80fc8fa05f0a20061f347df4fb05cd97f5110f1b71a1eb3437e ssh-agent [2020-07-22T14:14:07.257Z] SSH_AUTH_SOCK=/tmp/ssh-UwhFpwprbJtU/agent.46 [2020-07-22T14:14:07.257Z] SSH_AGENT_PID=51 [2020-07-22T14:14:07.264Z] Running ssh-add (command line suppressed) [2020-07-22T14:14:07.404Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-282@tmp/private_key_367123168084742363.key (/w/workspace/edgexfoundry_device-sdk-c_PR-282@tmp/private_key_367123168084742363.key) [2020-07-22T14:14:07.456Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-22T14:14:07.811Z] + git semver init [2020-07-22T14:14:07.812Z] # -> Open(): unable to determine branch for HEAD [2020-07-22T14:14:07.812Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-282/.git [2020-07-22T14:14:07.812Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-282 [2020-07-22T14:14:07.812Z] # $SEMVER_REMOTE_NAME = origin [2020-07-22T14:14:07.812Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-07-22T14:14:07.812Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-07-22T14:14:07.812Z] # $SEMVER_BRANCH = PR-282 [2020-07-22T14:14:07.812Z] # $SEMVER_TEMP = /tmp/semver-465317400 [2020-07-22T14:14:07.812Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2020-07-22T14:14:08.388Z] # '/tmp/semver-465317400' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-282/.semver' [2020-07-22T14:14:08.388Z] # -> Force: false [2020-07-22T14:14:08.388Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-282/.semver [Pipeline] } [2020-07-22T14:14:08.402Z] $ docker exec --env ******** --env ******** 1fa24b5d2bbbe80fc8fa05f0a20061f347df4fb05cd97f5110f1b71a1eb3437e ssh-agent -k [2020-07-22T14:14:08.519Z] unset SSH_AUTH_SOCK; [2020-07-22T14:14:08.519Z] unset SSH_AGENT_PID; [2020-07-22T14:14:08.519Z] echo Agent pid 51 killed; [2020-07-22T14:14:08.569Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-07-22T14:14:09.093Z] + git semver [Pipeline] } [2020-07-22T14:14:09.117Z] $ docker stop --time=1 1fa24b5d2bbbe80fc8fa05f0a20061f347df4fb05cd97f5110f1b71a1eb3437e [2020-07-22T14:14:10.437Z] $ docker rm -f 1fa24b5d2bbbe80fc8fa05f0a20061f347df4fb05cd97f5110f1b71a1eb3437e [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-07-22T14:14:11.265Z] Stashed 34 file(s) [Pipeline] echo [2020-07-22T14:14:11.282Z] [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-22T14:14:26.755Z] Still waiting to schedule task [2020-07-22T14:14:26.755Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-586’ [2020-07-22T14:14:26.782Z] Still waiting to schedule task [2020-07-22T14:14:26.782Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-07-22T14:16:12.704Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-587 in /w/workspace/edgexfoundry_device-sdk-c_PR-282 [Pipeline] { [Pipeline] ws [2020-07-22T14:16:12.846Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2020-07-22T14:16:18.102Z] using credential edgex-jenkins-ssh [2020-07-22T14:16:18.152Z] Cloning the remote Git repository [2020-07-22T14:16:18.153Z] Cloning with configured refspecs honoured and without tags [2020-07-22T14:16:18.212Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-07-22T14:16:18.313Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2020-07-22T14:16:18.383Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-07-22T14:16:18.384Z] > git --version # timeout=10 [2020-07-22T14:16:18.399Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-22T14:16:18.466Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/282/head:refs/remotes/origin/PR-282 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-22T14:16:19.622Z] Fetching without tags [2020-07-22T14:16:20.089Z] Merging remotes/origin/master commit d458e952d42ac930bd5a0ab6668869a0b7caa0a4 into PR head commit 08585c64de824795960e0f3fb8f2f367ac1ac986 [2020-07-22T14:16:20.392Z] Merge succeeded, producing 08585c64de824795960e0f3fb8f2f367ac1ac986 [2020-07-22T14:16:20.392Z] Checking out Revision 08585c64de824795960e0f3fb8f2f367ac1ac986 (PR-282) [2020-07-22T14:16:19.513Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-07-22T14:16:19.534Z] > git config --add remote.origin.fetch +refs/pull/282/head:refs/remotes/origin/PR-282 # timeout=10 [2020-07-22T14:16:19.558Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-22T14:16:19.592Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-07-22T14:16:19.633Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-07-22T14:16:19.633Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-22T14:16:19.647Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/282/head:refs/remotes/origin/PR-282 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-22T14:16:20.108Z] > git config core.sparsecheckout # timeout=10 [2020-07-22T14:16:20.142Z] > git checkout -f 08585c64de824795960e0f3fb8f2f367ac1ac986 # timeout=10 [2020-07-22T14:16:20.258Z] > git remote # timeout=10 [2020-07-22T14:16:20.276Z] > git config --get remote.origin.url # timeout=10 [2020-07-22T14:16:20.289Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-22T14:16:20.300Z] > git merge d458e952d42ac930bd5a0ab6668869a0b7caa0a4 # timeout=10 [2020-07-22T14:16:20.322Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-07-22T14:16:20.397Z] > git config core.sparsecheckout # timeout=10 [2020-07-22T14:16:20.418Z] > git checkout -f 08585c64de824795960e0f3fb8f2f367ac1ac986 # timeout=10 [2020-07-22T14:16:24.777Z] Commit message: "feat: Add ServerBindAddr config to set which interface to listen on (#278)" [2020-07-22T14:16:24.835Z] > git --version # timeout=10 [2020-07-22T14:16:24.861Z] fatal: bad object be3c330340c18bb7ab85087afff7d7ed2ee420c0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-07-22T14:16:26.283Z] ========================================================= [2020-07-22T14:16:26.283Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2020-07-22T14:16:26.283Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-22T14:16:27.652Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-3.11-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2020-07-22T14:16:28.640Z] Sending build context to Docker daemon 3.389MB [2020-07-22T14:16:28.640Z] Step 1/21 : ARG BASE=alpine:3.11 [2020-07-22T14:16:28.640Z] Step 2/21 : FROM ${BASE} as builder [2020-07-22T14:16:29.244Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2020-07-22T14:16:29.244Z] 0362ad1dd800: Pulling fs layer [2020-07-22T14:16:29.244Z] f2cdb1532d8b: Pulling fs layer [2020-07-22T14:16:29.244Z] 37ed683be191: Pulling fs layer [2020-07-22T14:16:29.244Z] f2cdb1532d8b: Download complete [2020-07-22T14:16:29.244Z] 0362ad1dd800: Verifying Checksum [2020-07-22T14:16:29.244Z] 0362ad1dd800: Download complete [2020-07-22T14:16:29.868Z] 0362ad1dd800: Pull complete [2020-07-22T14:16:30.470Z] f2cdb1532d8b: Pull complete [2020-07-22T14:16:31.452Z] 37ed683be191: Verifying Checksum [2020-07-22T14:16:31.452Z] 37ed683be191: Download complete [2020-07-22T14:16:41.621Z] 37ed683be191: Pull complete [2020-07-22T14:16:41.621Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2020-07-22T14:16:41.621Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2020-07-22T14:16:41.621Z] ---> b23d30803547 [2020-07-22T14:16:41.621Z] 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-22T14:16:41.898Z] ---> Running in ff70b7f5944c [2020-07-22T14:16:43.327Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-07-22T14:16:44.300Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-07-22T14:16:44.571Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-07-22T14:16:44.843Z] (2/8) Installing libuuid (2.33-r0) [2020-07-22T14:16:44.843Z] (3/8) Installing libblkid (2.33-r0) [2020-07-22T14:16:44.843Z] (4/8) Installing libfdisk (2.33-r0) [2020-07-22T14:16:45.114Z] (5/8) Installing libmount (2.33-r0) [2020-07-22T14:16:45.114Z] (6/8) Installing libsmartcols (2.33-r0) [2020-07-22T14:16:45.389Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-07-22T14:16:45.662Z] (8/8) Installing wget (1.20.3-r0) [2020-07-22T14:16:45.662Z] Executing busybox-1.29.3-r10.trigger [2020-07-22T14:16:45.662Z] OK: 285 MiB in 83 packages [2020-07-22T14:16:47.095Z] Removing intermediate container ff70b7f5944c [2020-07-22T14:16:47.095Z] ---> 429e182b59b6 [2020-07-22T14:16:47.095Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-07-22T14:16:47.095Z] ---> Running in 4255db9bd29a [2020-07-22T14:16:47.688Z] Removing intermediate container 4255db9bd29a [2020-07-22T14:16:47.688Z] ---> a68fa388f60d [2020-07-22T14:16:47.688Z] 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-22T14:16:47.688Z] ---> Running in e1baba902027 [2020-07-22T14:16:49.117Z] --2020-07-22 14:16:49-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-07-22T14:16:49.117Z] Resolving github.com... 140.82.112.4 [2020-07-22T14:16:49.117Z] Connecting to github.com|140.82.112.4|:443... connected. [2020-07-22T14:16:49.388Z] HTTP request sent, awaiting response... 302 Found [2020-07-22T14:16:49.388Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-07-22T14:16:49.388Z] --2020-07-22 14:16:49-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-07-22T14:16:49.388Z] Resolving codeload.github.com... 140.82.112.9 [2020-07-22T14:16:49.388Z] Connecting to codeload.github.com|140.82.112.9|:443... connected. [2020-07-22T14:16:49.664Z] HTTP request sent, awaiting response... 200 OK [2020-07-22T14:16:49.664Z] Length: unspecified [application/x-gzip] [2020-07-22T14:16:49.664Z] Saving to: 'STDOUT' [2020-07-22T14:16:49.664Z]  [2020-07-22T14:16:49.664Z] 0K .......... .......... .......... .......... .......... 1.58M [2020-07-22T14:16:49.664Z] 50K .......... .......... .......... .......... .......... 2.92M [2020-07-22T14:16:49.664Z] 100K .......... .......... .......... .......... .......... 3.13M [2020-07-22T14:16:49.664Z] 150K .......... .......... .......... .......... .......... 15.2M [2020-07-22T14:16:49.664Z] 200K .......... .......... .......... .......... .......... 7.38M [2020-07-22T14:16:49.664Z] 250K .......... .......... .......... .......... .......... 3.91M [2020-07-22T14:16:49.664Z] 300K .......... .......... .......... .......... .......... 5.33M [2020-07-22T14:16:49.664Z] 350K .......... .......... .......... .......... .......... 7.35M [2020-07-22T14:16:49.664Z] 400K .......... .......... .......... .......... .......... 3.28M [2020-07-22T14:16:49.664Z] 450K .......... .......... .......... .......... .......... 3.94M [2020-07-22T14:16:49.664Z] 500K .......... .......... .......... .......... .......... 7.05M [2020-07-22T14:16:49.664Z] 550K .......... .......... .......... .......... .......... 2.60M [2020-07-22T14:16:49.664Z] 600K .......... .......... .......... .......... .......... 886K [2020-07-22T14:16:49.940Z] 650K .......... .......... .......... .......... .......... 2.50M [2020-07-22T14:16:49.940Z] 700K ..     255K=0.2s [2020-07-22T14:16:49.940Z] [2020-07-22T14:16:49.940Z] 2020-07-22 14:16:49 (2.86 MB/s) - written to stdout [719348] [2020-07-22T14:16:49.940Z] [2020-07-22T14:16:50.216Z] -- The C compiler identification is GNU 8.3.0 [2020-07-22T14:16:50.216Z] -- The CXX compiler identification is GNU 8.3.0 [2020-07-22T14:16:50.490Z] -- Check for working C compiler: /usr/bin/cc [2020-07-22T14:16:50.490Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-07-22T14:16:50.490Z] -- Detecting C compiler ABI info [2020-07-22T14:16:50.761Z] -- Detecting C compiler ABI info - done [2020-07-22T14:16:50.761Z] -- Detecting C compile features [2020-07-22T14:16:51.741Z] -- Detecting C compile features - done [2020-07-22T14:16:51.741Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-07-22T14:16:51.741Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-07-22T14:16:51.741Z] -- Detecting CXX compiler ABI info [2020-07-22T14:16:52.012Z] -- Detecting CXX compiler ABI info - done [2020-07-22T14:16:52.283Z] -- Detecting CXX compile features [2020-07-22T14:16:53.711Z] -- Detecting CXX compile features - done [2020-07-22T14:16:53.711Z] -- Looking for include file endian.h [2020-07-22T14:16:53.984Z] -- Looking for include file endian.h - found [2020-07-22T14:16:53.984Z] -- Check if the system is big endian [2020-07-22T14:16:53.984Z] -- Searching 16 bit integer [2020-07-22T14:16:53.984Z] -- Looking for sys/types.h [2020-07-22T14:16:54.267Z] -- Looking for sys/types.h - found [2020-07-22T14:16:54.267Z] -- Looking for stdint.h [2020-07-22T14:16:54.544Z] -- Looking for stdint.h - found [2020-07-22T14:16:54.544Z] -- Looking for stddef.h [2020-07-22T14:16:54.544Z] -- Looking for stddef.h - found [2020-07-22T14:16:54.544Z] -- Check size of unsigned short [2020-07-22T14:16:54.817Z] -- Check size of unsigned short - done [2020-07-22T14:16:54.817Z] -- Using unsigned short [2020-07-22T14:16:55.089Z] -- Check if the system is big endian - little endian [2020-07-22T14:16:55.362Z] -- Check size of size_t [2020-07-22T14:16:55.362Z] -- Check size of size_t - done [2020-07-22T14:16:55.634Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-07-22T14:16:55.634Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-07-22T14:16:55.634Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-07-22T14:16:55.634Z] CMake did not find one. [2020-07-22T14:16:55.634Z] [2020-07-22T14:16:55.634Z] Could not find a package configuration file provided by "cJSON" with any of [2020-07-22T14:16:55.634Z] the following names: [2020-07-22T14:16:55.634Z] [2020-07-22T14:16:55.634Z] cJSONConfig.cmake [2020-07-22T14:16:55.634Z] cjson-config.cmake [2020-07-22T14:16:55.634Z] [2020-07-22T14:16:55.634Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-07-22T14:16:55.634Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-07-22T14:16:55.634Z] provides a separate development package or SDK, be sure it has been [2020-07-22T14:16:55.634Z] installed. [2020-07-22T14:16:55.634Z] [2020-07-22T14:16:55.634Z] [2020-07-22T14:16:55.634Z] -- Configuring done [2020-07-22T14:16:55.634Z] -- Generating done [2020-07-22T14:16:55.634Z] -- Build files have been written to: /tmp/cbor [2020-07-22T14:16:55.906Z] Scanning dependencies of target cbor_shared [2020-07-22T14:16:55.906Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-07-22T14:16:56.882Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-07-22T14:16:57.156Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-07-22T14:16:57.434Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-07-22T14:16:58.027Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-07-22T14:16:58.299Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-07-22T14:16:58.571Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-07-22T14:16:58.571Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-07-22T14:16:58.842Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-07-22T14:16:59.114Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-07-22T14:16:59.707Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-07-22T14:16:59.979Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-07-22T14:17:00.250Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-07-22T14:17:00.845Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-07-22T14:17:00.845Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-07-22T14:17:01.116Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-07-22T14:17:01.388Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-07-22T14:17:01.660Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-07-22T14:17:01.931Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-07-22T14:17:02.201Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-07-22T14:17:02.471Z] [ 40%] Linking C shared library libcbor.so [2020-07-22T14:17:02.471Z] [ 40%] Built target cbor_shared [2020-07-22T14:17:02.471Z] Scanning dependencies of target cbor [2020-07-22T14:17:02.746Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-07-22T14:17:03.337Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-07-22T14:17:03.932Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-07-22T14:17:04.205Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-07-22T14:17:05.175Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-07-22T14:17:05.446Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-07-22T14:17:05.717Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-07-22T14:17:05.988Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-07-22T14:17:05.988Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-07-22T14:17:06.578Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-07-22T14:17:06.672Z] Running on prd-centos7-docker-4c-2g-588 in /w/workspace/edgexfoundry_device-sdk-c_PR-282 [Pipeline] { [Pipeline] ws [2020-07-22T14:17:06.743Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2020-07-22T14:17:07.170Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-07-22T14:17:07.441Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-07-22T14:17:07.711Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-07-22T14:17:08.303Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-07-22T14:17:08.303Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-07-22T14:17:08.574Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-07-22T14:17:08.846Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-07-22T14:17:09.118Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-07-22T14:17:09.123Z] using credential edgex-jenkins-ssh [2020-07-22T14:17:09.169Z] Cloning the remote Git repository [2020-07-22T14:17:09.169Z] Cloning with configured refspecs honoured and without tags [2020-07-22T14:17:09.191Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-07-22T14:17:09.391Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-07-22T14:17:09.674Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-07-22T14:17:09.948Z] [ 80%] Linking C static library libcbor.a [2020-07-22T14:17:09.948Z] [ 80%] Built target cbor [2020-07-22T14:17:09.948Z] Scanning dependencies of target create_items [2020-07-22T14:17:09.948Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-07-22T14:17:10.226Z] [ 84%] Linking C executable create_items [2020-07-22T14:17:10.226Z] [ 84%] Built target create_items [2020-07-22T14:17:10.226Z] Scanning dependencies of target readfile [2020-07-22T14:17:10.226Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-07-22T14:17:09.252Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2020-07-22T14:17:09.296Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-07-22T14:17:09.296Z] > git --version # timeout=10 [2020-07-22T14:17:09.304Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-22T14:17:09.334Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/282/head:refs/remotes/origin/PR-282 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-22T14:17:10.467Z] Fetching without tags [2020-07-22T14:17:10.499Z] [ 88%] Linking C executable readfile [2020-07-22T14:17:10.772Z] [ 88%] Built target readfile [2020-07-22T14:17:10.772Z] Scanning dependencies of target streaming_parser [2020-07-22T14:17:10.772Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-07-22T14:17:10.856Z] Merging remotes/origin/master commit d458e952d42ac930bd5a0ab6668869a0b7caa0a4 into PR head commit 08585c64de824795960e0f3fb8f2f367ac1ac986 [2020-07-22T14:17:10.963Z] Merge succeeded, producing 08585c64de824795960e0f3fb8f2f367ac1ac986 [2020-07-22T14:17:10.963Z] Checking out Revision 08585c64de824795960e0f3fb8f2f367ac1ac986 (PR-282) [2020-07-22T14:17:11.046Z] [ 92%] Linking C executable streaming_parser [2020-07-22T14:17:11.046Z] [ 92%] Built target streaming_parser [2020-07-22T14:17:11.046Z] Scanning dependencies of target sort [2020-07-22T14:17:11.046Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-07-22T14:17:11.320Z] [ 96%] Linking C executable sort [2020-07-22T14:17:11.320Z] [ 96%] Built target sort [2020-07-22T14:17:11.320Z] Scanning dependencies of target hello [2020-07-22T14:17:11.320Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-07-22T14:17:10.405Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-07-22T14:17:10.412Z] > git config --add remote.origin.fetch +refs/pull/282/head:refs/remotes/origin/PR-282 # timeout=10 [2020-07-22T14:17:10.429Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-22T14:17:10.452Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-07-22T14:17:10.468Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-07-22T14:17:10.468Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-22T14:17:10.473Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/282/head:refs/remotes/origin/PR-282 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-22T14:17:10.859Z] > git config core.sparsecheckout # timeout=10 [2020-07-22T14:17:10.869Z] > git checkout -f 08585c64de824795960e0f3fb8f2f367ac1ac986 # timeout=10 [2020-07-22T14:17:10.925Z] > git remote # timeout=10 [2020-07-22T14:17:10.931Z] > git config --get remote.origin.url # timeout=10 [2020-07-22T14:17:10.936Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-22T14:17:10.941Z] > git merge d458e952d42ac930bd5a0ab6668869a0b7caa0a4 # timeout=10 [2020-07-22T14:17:10.952Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-07-22T14:17:10.962Z] > git config core.sparsecheckout # timeout=10 [2020-07-22T14:17:10.967Z] > git checkout -f 08585c64de824795960e0f3fb8f2f367ac1ac986 # timeout=10 [2020-07-22T14:17:11.591Z] [100%] Linking C executable hello [2020-07-22T14:17:11.592Z] [100%] Built target hello [2020-07-22T14:17:11.592Z] Install the project... [2020-07-22T14:17:11.592Z] -- Install configuration: "Release" [2020-07-22T14:17:11.592Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-07-22T14:17:11.592Z] -- Installing: /usr/local/lib64/libcbor.a [2020-07-22T14:17:11.592Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-07-22T14:17:11.592Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-07-22T14:17:11.592Z] -- Installing: /usr/local/lib64/libcbor.so [2020-07-22T14:17:11.592Z] -- Up-to-date: /usr/local/include/cbor [2020-07-22T14:17:11.592Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-07-22T14:17:11.592Z] -- Installing: /usr/local/include/cbor/ints.h [2020-07-22T14:17:11.592Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-07-22T14:17:11.592Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-07-22T14:17:11.592Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-07-22T14:17:11.592Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-07-22T14:17:11.592Z] -- Installing: /usr/local/include/cbor/data.h [2020-07-22T14:17:11.592Z] -- Installing: /usr/local/include/cbor/common.h [2020-07-22T14:17:11.592Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-07-22T14:17:11.592Z] -- Installing: /usr/local/include/cbor/strings.h [2020-07-22T14:17:11.592Z] -- Installing: /usr/local/include/cbor/tags.h [2020-07-22T14:17:11.592Z] -- Installing: /usr/local/include/cbor/internal [2020-07-22T14:17:11.592Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-07-22T14:17:11.592Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-07-22T14:17:11.592Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-07-22T14:17:11.592Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-07-22T14:17:11.592Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-07-22T14:17:11.592Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-07-22T14:17:11.592Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-07-22T14:17:11.592Z] -- Installing: /usr/local/include/cbor/maps.h [2020-07-22T14:17:11.592Z] -- Installing: /usr/local/include/cbor.h [2020-07-22T14:17:11.592Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-07-22T14:17:14.201Z] Removing intermediate container e1baba902027 [2020-07-22T14:17:14.201Z] ---> 6669b5b7823a [2020-07-22T14:17:14.201Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-07-22T14:17:14.201Z] ---> Running in 2d19ee8b663b [2020-07-22T14:17:14.573Z] Commit message: "feat: Add ServerBindAddr config to set which interface to listen on (#278)" [2020-07-22T14:17:14.597Z] > git --version # timeout=10 [2020-07-22T14:17:14.608Z] fatal: bad object be3c330340c18bb7ab85087afff7d7ed2ee420c0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-07-22T14:17:15.646Z] ========================================================= [2020-07-22T14:17:15.646Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2020-07-22T14:17:15.646Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-22T14:17:16.321Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-3.11-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2020-07-22T14:17:16.595Z] Sending build context to Docker daemon 3.389MB [2020-07-22T14:17:16.595Z] Step 1/21 : ARG BASE=alpine:3.11 [2020-07-22T14:17:16.595Z] Step 2/21 : FROM ${BASE} as builder [2020-07-22T14:17:16.595Z] latest: Pulling from edgex-devops/edgex-gcc-base [2020-07-22T14:17:16.595Z] e7c96db7181b: Pulling fs layer [2020-07-22T14:17:16.595Z] 4c13bbce0fe7: Pulling fs layer [2020-07-22T14:17:16.595Z] 6059c847ac2f: Pulling fs layer [2020-07-22T14:17:16.595Z] 4c13bbce0fe7: Verifying Checksum [2020-07-22T14:17:16.595Z] 4c13bbce0fe7: Download complete [2020-07-22T14:17:16.595Z] e7c96db7181b: Verifying Checksum [2020-07-22T14:17:16.595Z] e7c96db7181b: Download complete [2020-07-22T14:17:16.822Z] Removing intermediate container 2d19ee8b663b [2020-07-22T14:17:16.822Z] ---> 94e4b602eb1f [2020-07-22T14:17:16.822Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-07-22T14:17:16.863Z] e7c96db7181b: Pull complete [2020-07-22T14:17:17.123Z] 4c13bbce0fe7: Pull complete [2020-07-22T14:17:17.427Z] ---> 708835bcca8c [2020-07-22T14:17:17.427Z] Step 8/21 : COPY src /tmp/sdk/src [2020-07-22T14:17:17.711Z] 6059c847ac2f: Verifying Checksum [2020-07-22T14:17:17.711Z] 6059c847ac2f: Download complete [2020-07-22T14:17:18.409Z] ---> 76e926c5d177 [2020-07-22T14:17:18.409Z] Step 9/21 : COPY include /tmp/sdk/include [2020-07-22T14:17:19.382Z] ---> fe33e548895e [2020-07-22T14:17:19.382Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-07-22T14:17:19.975Z] ---> fb190c7eec4c [2020-07-22T14:17:19.975Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-07-22T14:17:20.570Z] ---> 673221ed9413 [2020-07-22T14:17:20.570Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-07-22T14:17:21.166Z] ---> b19c466f91d2 [2020-07-22T14:17:21.166Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-07-22T14:17:21.439Z] ---> Running in a604e63d8a0a [2020-07-22T14:17:21.948Z] 6059c847ac2f: Pull complete [2020-07-22T14:17:21.948Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2020-07-22T14:17:21.948Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2020-07-22T14:17:21.948Z] ---> 5eabd8fd8ba2 [2020-07-22T14:17:21.948Z] 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-22T14:17:22.872Z] + CPPCHECK=false [2020-07-22T14:17:22.872Z] + DOCGEN=false [2020-07-22T14:17:22.872Z] + TOMLVER=SDK-0.2 [2020-07-22T14:17:22.872Z] + CUTILVER=1.1-branch [2020-07-22T14:17:22.872Z] + '[' 0 -gt 0 ] [2020-07-22T14:17:22.872Z] + readlink -f ./scripts/build.sh [2020-07-22T14:17:22.872Z] + dirname /tmp/sdk/scripts/build.sh [2020-07-22T14:17:22.872Z] + dirname /tmp/sdk/scripts [2020-07-22T14:17:22.872Z] + ROOT=/tmp/sdk [2020-07-22T14:17:22.872Z] + cd /tmp/sdk [2020-07-22T14:17:22.872Z] + '[' '!' -d deps ] [2020-07-22T14:17:22.872Z] + mkdir deps [2020-07-22T14:17:22.872Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-07-22T14:17:22.872Z] + tar -C deps -z -x -f - [2020-07-22T14:17:22.872Z] --2020-07-22 14:17:22-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-07-22T14:17:22.872Z] Resolving github.com... 140.82.112.4 [2020-07-22T14:17:23.143Z] Connecting to github.com|140.82.112.4|:443... connected. [2020-07-22T14:17:23.414Z] HTTP request sent, awaiting response... 302 Found [2020-07-22T14:17:23.414Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-07-22T14:17:23.414Z] --2020-07-22 14:17:23-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-07-22T14:17:23.414Z] Resolving codeload.github.com... 140.82.112.9 [2020-07-22T14:17:23.414Z] Connecting to codeload.github.com|140.82.112.9|:443... connected. [2020-07-22T14:17:23.871Z] ---> Running in 426265856bd6 [2020-07-22T14:17:24.006Z] HTTP request sent, awaiting response... 200 OK [2020-07-22T14:17:24.006Z] Length: unspecified [application/x-gzip] [2020-07-22T14:17:24.006Z] Saving to: 'STDOUT' [2020-07-22T14:17:24.006Z]  [2020-07-22T14:17:24.006Z] 0K .......... ......  1.07M=0.01s [2020-07-22T14:17:24.006Z] [2020-07-22T14:17:24.006Z] 2020-07-22 14:17:23 (1.07 MB/s) - written to stdout [16451] [2020-07-22T14:17:24.006Z] [2020-07-22T14:17:24.006Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-07-22T14:17:24.006Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1-branch.tar.gz [2020-07-22T14:17:24.006Z] + tar -C deps -z -x -f - [2020-07-22T14:17:24.006Z] --2020-07-22 14:17:23-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1-branch.tar.gz [2020-07-22T14:17:24.006Z] Resolving github.com... 140.82.112.4 [2020-07-22T14:17:24.006Z] Connecting to github.com|140.82.112.4|:443... connected. [2020-07-22T14:17:24.280Z] HTTP request sent, awaiting response... 302 Found [2020-07-22T14:17:24.280Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1-branch [following] [2020-07-22T14:17:24.280Z] --2020-07-22 14:17:24-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1-branch [2020-07-22T14:17:24.280Z] Resolving codeload.github.com... 140.82.112.9 [2020-07-22T14:17:24.280Z] Connecting to codeload.github.com|140.82.112.9|:443... connected. [2020-07-22T14:17:24.444Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-07-22T14:17:24.551Z] HTTP request sent, awaiting response... 200 OK [2020-07-22T14:17:24.551Z] Length: unspecified [application/x-gzip] [2020-07-22T14:17:24.551Z] Saving to: 'STDOUT' [2020-07-22T14:17:24.551Z]  [2020-07-22T14:17:24.551Z] 0K .......... .......... .......... .......... .......... 1.51M [2020-07-22T14:17:24.551Z] 50K .......... .......... .......... .......... .......... 3.11M [2020-07-22T14:17:24.551Z] 100K .......... .......... .......... .......... .......... 3.54M [2020-07-22T14:17:24.551Z] 150K .......... .....                           4.96M=0.06s [2020-07-22T14:17:24.551Z] [2020-07-22T14:17:24.551Z] 2020-07-22 14:17:24 (2.49 MB/s) - written to stdout [169364] [2020-07-22T14:17:24.551Z] [2020-07-22T14:17:24.551Z] + mkdir -p src/c/iot [2020-07-22T14:17:24.551Z] + cp deps/iotech-c-utils-1.1-branch/src/c/base64.c deps/iotech-c-utils-1.1-branch/src/c/component.c deps/iotech-c-utils-1.1-branch/src/c/config.c deps/iotech-c-utils-1.1-branch/src/c/container.c deps/iotech-c-utils-1.1-branch/src/c/data.c deps/iotech-c-utils-1.1-branch/src/c/hash.c deps/iotech-c-utils-1.1-branch/src/c/iot.c deps/iotech-c-utils-1.1-branch/src/c/json.c deps/iotech-c-utils-1.1-branch/src/c/logger.c deps/iotech-c-utils-1.1-branch/src/c/os.c deps/iotech-c-utils-1.1-branch/src/c/scheduler.c deps/iotech-c-utils-1.1-branch/src/c/thread.c deps/iotech-c-utils-1.1-branch/src/c/threadpool.c deps/iotech-c-utils-1.1-branch/src/c/time.c src/c/iot [2020-07-22T14:17:24.551Z] + mkdir -p include/iot [2020-07-22T14:17:24.551Z] + cp deps/iotech-c-utils-1.1-branch/include/iot/base64.h deps/iotech-c-utils-1.1-branch/include/iot/component.h deps/iotech-c-utils-1.1-branch/include/iot/config.h deps/iotech-c-utils-1.1-branch/include/iot/container.h deps/iotech-c-utils-1.1-branch/include/iot/data.h deps/iotech-c-utils-1.1-branch/include/iot/hash.h deps/iotech-c-utils-1.1-branch/include/iot/iot.h deps/iotech-c-utils-1.1-branch/include/iot/json.h deps/iotech-c-utils-1.1-branch/include/iot/logger.h deps/iotech-c-utils-1.1-branch/include/iot/os.h deps/iotech-c-utils-1.1-branch/include/iot/scheduler.h deps/iotech-c-utils-1.1-branch/include/iot/thread.h deps/iotech-c-utils-1.1-branch/include/iot/threadpool.h deps/iotech-c-utils-1.1-branch/include/iot/time.h deps/iotech-c-utils-1.1-branch/include/iot/typecode.h include/iot [2020-07-22T14:17:24.551Z] + mkdir -p include/iot/os [2020-07-22T14:17:24.551Z] + cp deps/iotech-c-utils-1.1-branch/include/iot/os/linux.h deps/iotech-c-utils-1.1-branch/include/iot/os/macos.h deps/iotech-c-utils-1.1-branch/include/iot/os/zephyr.h include/iot/os [2020-07-22T14:17:24.551Z] + mkdir -p /tmp/sdk/build/release [2020-07-22T14:17:24.551Z] + cd /tmp/sdk/build/release [2020-07-22T14:17:24.552Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-07-22T14:17:25.022Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-07-22T14:17:25.145Z] -- The C compiler identification is GNU 8.3.0 [2020-07-22T14:17:25.145Z] -- Check for working C compiler: /usr/bin/cc [2020-07-22T14:17:25.145Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-07-22T14:17:25.145Z] -- Detecting C compiler ABI info [2020-07-22T14:17:25.282Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-07-22T14:17:25.282Z] (2/8) Installing libuuid (2.33-r0) [2020-07-22T14:17:25.416Z] -- Detecting C compiler ABI info - done [2020-07-22T14:17:25.416Z] -- Detecting C compile features [2020-07-22T14:17:25.550Z] (3/8) Installing libblkid (2.33-r0) [2020-07-22T14:17:25.551Z] (4/8) Installing libfdisk (2.33-r0) [2020-07-22T14:17:25.811Z] (5/8) Installing libmount (2.33-r0) [2020-07-22T14:17:25.811Z] (6/8) Installing libsmartcols (2.33-r0) [2020-07-22T14:17:25.811Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-07-22T14:17:26.074Z] (8/8) Installing wget (1.20.3-r0) [2020-07-22T14:17:26.335Z] Executing busybox-1.29.3-r10.trigger [2020-07-22T14:17:26.335Z] OK: 272 MiB in 83 packages [2020-07-22T14:17:26.392Z] -- Detecting C compile features - done [2020-07-22T14:17:26.392Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-07-22T14:17:26.392Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-07-22T14:17:26.392Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-07-22T14:17:26.392Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-07-22T14:17:26.392Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-07-22T14:17:26.392Z] -- C SDK 0.0.0 for Linux [2020-07-22T14:17:26.392Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-07-22T14:17:26.663Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-07-22T14:17:26.663Z] -- Found Curses: /usr/lib/libcurses.so [2020-07-22T14:17:26.663Z] -- Configuring done [2020-07-22T14:17:26.910Z] Removing intermediate container 426265856bd6 [2020-07-22T14:17:26.910Z] ---> f554d07d79ec [2020-07-22T14:17:26.910Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-07-22T14:17:26.910Z] ---> Running in edb990bbd6c3 [2020-07-22T14:17:26.935Z] -- Generating done [2020-07-22T14:17:26.935Z] -- Build files have been written to: /tmp/sdk/build/release [2020-07-22T14:17:26.935Z] + make [2020-07-22T14:17:26.935Z] + tee release.log [2020-07-22T14:17:26.935Z] Scanning dependencies of target csdk [2020-07-22T14:17:27.173Z] Removing intermediate container edb990bbd6c3 [2020-07-22T14:17:27.173Z] ---> 0ea12405eb7e [2020-07-22T14:17:27.173Z] 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-22T14:17:27.173Z] ---> Running in 2a5da9b7a320 [2020-07-22T14:17:27.206Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-07-22T14:17:27.436Z] --2020-07-22 14:17:27-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-07-22T14:17:27.698Z] Resolving github.com... 140.82.112.4 [2020-07-22T14:17:27.698Z] Connecting to github.com|140.82.112.4|:443... connected. [2020-07-22T14:17:27.698Z] HTTP request sent, awaiting response... 302 Found [2020-07-22T14:17:27.698Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-07-22T14:17:27.698Z] --2020-07-22 14:17:27-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-07-22T14:17:27.698Z] Resolving codeload.github.com... 140.82.112.9 [2020-07-22T14:17:27.698Z] Connecting to codeload.github.com|140.82.112.9|:443... connected. [2020-07-22T14:17:27.698Z] HTTP request sent, awaiting response... 200 OK [2020-07-22T14:17:27.698Z] Length: unspecified [application/x-gzip] [2020-07-22T14:17:27.698Z] Saving to: 'STDOUT' [2020-07-22T14:17:27.698Z]  [2020-07-22T14:17:27.799Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-07-22T14:17:27.959Z] 0K .......... .......... .......... .......... .......... 1.33M [2020-07-22T14:17:27.959Z] 50K .......... .......... .......... .......... .......... 971K [2020-07-22T14:17:27.959Z] 100K .......... .......... .......... .......... .......... 1.65M [2020-07-22T14:17:28.070Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-07-22T14:17:28.222Z] 150K .......... .......... .......... .......... .......... 117K [2020-07-22T14:17:28.485Z] 200K .......... .......... .......... .......... .......... 441K [2020-07-22T14:17:28.485Z] 250K .......... .......... .......... .......... .......... 1.54M [2020-07-22T14:17:28.485Z] 300K .......... .......... .......... .......... .......... 585K [2020-07-22T14:17:28.746Z] 350K .......... .......... .......... .......... .......... 607K [2020-07-22T14:17:28.746Z] 400K .......... .......... .......... .......... .......... 11.7M [2020-07-22T14:17:28.746Z] 450K .......... .......... .......... .......... .......... 8.67M [2020-07-22T14:17:28.746Z] 500K .......... .......... .......... .......... .......... 12.9M [2020-07-22T14:17:28.746Z] 550K .......... .......... .......... .......... .......... 372K [2020-07-22T14:17:28.746Z] 600K .......... .......... .......... .......... .......... 1.01M [2020-07-22T14:17:28.746Z] 650K .......... .......... .......... .......... .......... 8.16M [2020-07-22T14:17:28.746Z] 700K .. 46.0M=1.1s [2020-07-22T14:17:28.746Z] [2020-07-22T14:17:28.746Z] 2020-07-22 14:17:28 (661 KB/s) - written to stdout [719348] [2020-07-22T14:17:28.746Z] [2020-07-22T14:17:29.009Z] -- The C compiler identification is GNU 8.3.0 [2020-07-22T14:17:29.009Z] -- The CXX compiler identification is GNU 8.3.0 [2020-07-22T14:17:29.009Z] -- Check for working C compiler: /usr/bin/cc [2020-07-22T14:17:29.270Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-07-22T14:17:29.270Z] -- Detecting C compiler ABI info [2020-07-22T14:17:29.270Z] -- Detecting C compiler ABI info - done [2020-07-22T14:17:29.270Z] -- Detecting C compile features [2020-07-22T14:17:29.532Z] -- Detecting C compile features - done [2020-07-22T14:17:29.532Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-07-22T14:17:29.532Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-07-22T14:17:29.532Z] -- Detecting CXX compiler ABI info [2020-07-22T14:17:29.793Z] -- Detecting CXX compiler ABI info - done [2020-07-22T14:17:29.793Z] -- Detecting CXX compile features [2020-07-22T14:17:30.040Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-07-22T14:17:30.368Z] -- Detecting CXX compile features - done [2020-07-22T14:17:30.368Z] -- Looking for include file endian.h [2020-07-22T14:17:30.368Z] -- Looking for include file endian.h - found [2020-07-22T14:17:30.368Z] -- Check if the system is big endian [2020-07-22T14:17:30.368Z] -- Searching 16 bit integer [2020-07-22T14:17:30.368Z] -- Looking for sys/types.h [2020-07-22T14:17:30.368Z] -- Looking for sys/types.h - found [2020-07-22T14:17:30.368Z] -- Looking for stdint.h [2020-07-22T14:17:30.368Z] -- Looking for stdint.h - found [2020-07-22T14:17:30.368Z] -- Looking for stddef.h [2020-07-22T14:17:30.629Z] -- Looking for stddef.h - found [2020-07-22T14:17:30.629Z] -- Check size of unsigned short [2020-07-22T14:17:30.629Z] -- Check size of unsigned short - done [2020-07-22T14:17:30.629Z] -- Using unsigned short [2020-07-22T14:17:30.629Z] -- Check if the system is big endian - little endian [2020-07-22T14:17:30.629Z] -- Check size of size_t [2020-07-22T14:17:30.632Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-07-22T14:17:30.890Z] -- Check size of size_t - done [2020-07-22T14:17:30.890Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-07-22T14:17:30.890Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-07-22T14:17:30.890Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-07-22T14:17:30.890Z] CMake did not find one. [2020-07-22T14:17:30.890Z] [2020-07-22T14:17:30.890Z] Could not find a package configuration file provided by "cJSON" with any of [2020-07-22T14:17:30.890Z] the following names: [2020-07-22T14:17:30.890Z] [2020-07-22T14:17:30.890Z] cJSONConfig.cmake [2020-07-22T14:17:30.890Z] cjson-config.cmake [2020-07-22T14:17:30.890Z] [2020-07-22T14:17:30.890Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-07-22T14:17:30.890Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-07-22T14:17:30.890Z] provides a separate development package or SDK, be sure it has been [2020-07-22T14:17:30.890Z] installed. [2020-07-22T14:17:30.890Z] [2020-07-22T14:17:30.890Z] [2020-07-22T14:17:30.890Z] -- Configuring done [2020-07-22T14:17:30.890Z] -- Generating done [2020-07-22T14:17:30.890Z] -- Build files have been written to: /tmp/cbor [2020-07-22T14:17:30.890Z] Scanning dependencies of target cbor_shared [2020-07-22T14:17:30.890Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-07-22T14:17:30.905Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-07-22T14:17:31.153Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-07-22T14:17:31.414Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-07-22T14:17:31.414Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-07-22T14:17:31.414Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-07-22T14:17:31.678Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-07-22T14:17:31.678Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-07-22T14:17:31.678Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-07-22T14:17:31.678Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-07-22T14:17:31.879Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-07-22T14:17:31.948Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-07-22T14:17:31.948Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-07-22T14:17:32.212Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-07-22T14:17:32.212Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-07-22T14:17:32.478Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-07-22T14:17:32.478Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-07-22T14:17:32.478Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-07-22T14:17:32.478Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-07-22T14:17:32.741Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-07-22T14:17:32.741Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-07-22T14:17:32.741Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-07-22T14:17:32.741Z] [ 40%] Linking C shared library libcbor.so [2020-07-22T14:17:33.002Z] [ 40%] Built target cbor_shared [2020-07-22T14:17:33.002Z] Scanning dependencies of target cbor [2020-07-22T14:17:33.002Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-07-22T14:17:33.263Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-07-22T14:17:33.263Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-07-22T14:17:33.263Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-07-22T14:17:33.523Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-07-22T14:17:33.785Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-07-22T14:17:33.785Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-07-22T14:17:33.785Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-07-22T14:17:33.785Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-07-22T14:17:33.844Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-07-22T14:17:34.046Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-07-22T14:17:34.307Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-07-22T14:17:34.307Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-07-22T14:17:34.307Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-07-22T14:17:34.434Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-07-22T14:17:34.569Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-07-22T14:17:34.569Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-07-22T14:17:34.569Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-07-22T14:17:34.830Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-07-22T14:17:34.830Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-07-22T14:17:34.830Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-07-22T14:17:34.830Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-07-22T14:17:35.031Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-07-22T14:17:35.090Z] [ 80%] Linking C static library libcbor.a [2020-07-22T14:17:35.091Z] [ 80%] Built target cbor [2020-07-22T14:17:35.091Z] Scanning dependencies of target create_items [2020-07-22T14:17:35.091Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-07-22T14:17:35.091Z] [ 84%] Linking C executable create_items [2020-07-22T14:17:35.091Z] [ 84%] Built target create_items [2020-07-22T14:17:35.091Z] Scanning dependencies of target readfile [2020-07-22T14:17:35.091Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-07-22T14:17:35.303Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-07-22T14:17:35.353Z] [ 88%] Linking C executable readfile [2020-07-22T14:17:35.353Z] [ 88%] Built target readfile [2020-07-22T14:17:35.353Z] Scanning dependencies of target streaming_parser [2020-07-22T14:17:35.353Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-07-22T14:17:35.353Z] [ 92%] Linking C executable streaming_parser [2020-07-22T14:17:35.353Z] [ 92%] Built target streaming_parser [2020-07-22T14:17:35.353Z] Scanning dependencies of target sort [2020-07-22T14:17:35.353Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-07-22T14:17:35.353Z] [ 96%] Linking C executable sort [2020-07-22T14:17:35.353Z] [ 96%] Built target sort [2020-07-22T14:17:35.353Z] Scanning dependencies of target hello [2020-07-22T14:17:35.613Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-07-22T14:17:35.613Z] [100%] Linking C executable hello [2020-07-22T14:17:35.613Z] [100%] Built target hello [2020-07-22T14:17:35.613Z] Install the project... [2020-07-22T14:17:35.613Z] -- Install configuration: "Release" [2020-07-22T14:17:35.613Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-07-22T14:17:35.613Z] -- Installing: /usr/local/lib64/libcbor.a [2020-07-22T14:17:35.613Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-07-22T14:17:35.613Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-07-22T14:17:35.613Z] -- Installing: /usr/local/lib64/libcbor.so [2020-07-22T14:17:35.613Z] -- Up-to-date: /usr/local/include/cbor [2020-07-22T14:17:35.613Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-07-22T14:17:35.613Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-07-22T14:17:35.613Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-07-22T14:17:35.613Z] -- Installing: /usr/local/include/cbor/common.h [2020-07-22T14:17:35.613Z] -- Installing: /usr/local/include/cbor/data.h [2020-07-22T14:17:35.613Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-07-22T14:17:35.613Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-07-22T14:17:35.613Z] -- Installing: /usr/local/include/cbor/internal [2020-07-22T14:17:35.613Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-07-22T14:17:35.613Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-07-22T14:17:35.613Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-07-22T14:17:35.613Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-07-22T14:17:35.613Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-07-22T14:17:35.613Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-07-22T14:17:35.613Z] -- Installing: /usr/local/include/cbor/ints.h [2020-07-22T14:17:35.613Z] -- Installing: /usr/local/include/cbor/maps.h [2020-07-22T14:17:35.613Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-07-22T14:17:35.613Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-07-22T14:17:35.613Z] -- Installing: /usr/local/include/cbor/strings.h [2020-07-22T14:17:35.613Z] -- Installing: /usr/local/include/cbor/tags.h [2020-07-22T14:17:35.613Z] -- Installing: /usr/local/include/cbor.h [2020-07-22T14:17:35.613Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-07-22T14:17:35.895Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-07-22T14:17:35.895Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-07-22T14:17:36.166Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-07-22T14:17:38.161Z] Removing intermediate container 2a5da9b7a320 [2020-07-22T14:17:38.161Z] ---> 15ceb669326c [2020-07-22T14:17:38.161Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-07-22T14:17:38.161Z] ---> Running in 1f6784f34ae0 [2020-07-22T14:17:39.106Z] Removing intermediate container 1f6784f34ae0 [2020-07-22T14:17:39.106Z] ---> 03640c6af747 [2020-07-22T14:17:39.106Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-07-22T14:17:39.368Z] ---> db315fd1e7c3 [2020-07-22T14:17:39.368Z] Step 8/21 : COPY src /tmp/sdk/src [2020-07-22T14:17:39.536Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-07-22T14:17:39.807Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-07-22T14:17:39.939Z] ---> 69ebe35f6402 [2020-07-22T14:17:39.939Z] Step 9/21 : COPY include /tmp/sdk/include [2020-07-22T14:17:40.201Z] ---> c13ea43805fd [2020-07-22T14:17:40.201Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-07-22T14:17:40.401Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2020-07-22T14:17:40.462Z] ---> 17a7a534f3e4 [2020-07-22T14:17:40.462Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-07-22T14:17:40.672Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-07-22T14:17:40.725Z] ---> 3b482856fa28 [2020-07-22T14:17:40.725Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-07-22T14:17:40.725Z] ---> 8706755604ec [2020-07-22T14:17:40.725Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-07-22T14:17:40.989Z] ---> Running in 9aa708241fad [2020-07-22T14:17:41.251Z] + CPPCHECK=false [2020-07-22T14:17:41.251Z] + DOCGEN=false [2020-07-22T14:17:41.251Z] + TOMLVER=SDK-0.2 [2020-07-22T14:17:41.251Z] + CUTILVER=1.1-branch [2020-07-22T14:17:41.251Z] + '[' 0 -gt 0 ] [2020-07-22T14:17:41.251Z] + readlink -f ./scripts/build.sh [2020-07-22T14:17:41.251Z] + dirname /tmp/sdk/scripts/build.sh [2020-07-22T14:17:41.251Z] + dirname /tmp/sdk/scripts [2020-07-22T14:17:41.251Z] + ROOT=/tmp/sdk [2020-07-22T14:17:41.251Z] + cd /tmp/sdk [2020-07-22T14:17:41.251Z] + '[' '!' -d deps ] [2020-07-22T14:17:41.251Z] + mkdir deps [2020-07-22T14:17:41.251Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-07-22T14:17:41.251Z] + tar -C deps -z -x -f - [2020-07-22T14:17:41.251Z] --2020-07-22 14:17:41-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-07-22T14:17:41.251Z] Resolving github.com... 140.82.112.4 [2020-07-22T14:17:41.251Z] Connecting to github.com|140.82.112.4|:443... connected. [2020-07-22T14:17:41.260Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-07-22T14:17:41.512Z] HTTP request sent, awaiting response... 302 Found [2020-07-22T14:17:41.512Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-07-22T14:17:41.512Z] --2020-07-22 14:17:41-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-07-22T14:17:41.512Z] Resolving codeload.github.com... 140.82.112.9 [2020-07-22T14:17:41.512Z] Connecting to codeload.github.com|140.82.112.9|:443... connected. [2020-07-22T14:17:43.689Z] HTTP request sent, awaiting response... 200 OK [2020-07-22T14:17:43.689Z] Length: unspecified [application/x-gzip] [2020-07-22T14:17:43.689Z] Saving to: 'STDOUT' [2020-07-22T14:17:43.690Z] [2020-07-22T14:17:43.690Z] 0K .......... ......  885K=0.02s [2020-07-22T14:17:43.690Z] [2020-07-22T14:17:43.690Z] 2020-07-22 14:17:43 (885 KB/s) - written to stdout [16451] [2020-07-22T14:17:43.690Z] [2020-07-22T14:17:43.690Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-07-22T14:17:43.690Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1-branch.tar.gz [2020-07-22T14:17:43.690Z] + tar -C deps -z -x -f - [2020-07-22T14:17:43.690Z] --2020-07-22 14:17:43-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1-branch.tar.gz [2020-07-22T14:17:43.690Z] Resolving github.com... 140.82.113.3 [2020-07-22T14:17:43.690Z] Connecting to github.com|140.82.113.3|:443... connected. [2020-07-22T14:17:43.866Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-07-22T14:17:43.866Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-07-22T14:17:43.866Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-07-22T14:17:43.950Z] HTTP request sent, awaiting response... 302 Found [2020-07-22T14:17:43.950Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1-branch [following] [2020-07-22T14:17:43.950Z] --2020-07-22 14:17:43-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1-branch [2020-07-22T14:17:43.950Z] Resolving codeload.github.com... 140.82.112.9 [2020-07-22T14:17:43.950Z] Connecting to codeload.github.com|140.82.112.9|:443... connected. [2020-07-22T14:17:44.460Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-07-22T14:17:44.735Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-07-22T14:17:45.009Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-07-22T14:17:45.337Z] HTTP request sent, awaiting response... 200 OK [2020-07-22T14:17:45.337Z] Length: unspecified [application/x-gzip] [2020-07-22T14:17:45.337Z] Saving to: 'STDOUT' [2020-07-22T14:17:45.337Z]  [2020-07-22T14:17:45.908Z] 0K .......... .......... .......... .......... .......... 80.7K [2020-07-22T14:17:45.908Z] 50K .......... .......... .......... .......... .......... 3.18M [2020-07-22T14:17:45.908Z] 100K .......... .......... .......... .......... .......... 389K [2020-07-22T14:17:45.982Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-07-22T14:17:46.171Z] 150K .......... ..... 56.9K=1.0s [2020-07-22T14:17:46.171Z] [2020-07-22T14:17:46.171Z] 2020-07-22 14:17:46 (160 KB/s) - written to stdout [169364] [2020-07-22T14:17:46.171Z] [2020-07-22T14:17:46.171Z] + mkdir -p src/c/iot [2020-07-22T14:17:46.171Z] + cp deps/iotech-c-utils-1.1-branch/src/c/base64.c deps/iotech-c-utils-1.1-branch/src/c/component.c deps/iotech-c-utils-1.1-branch/src/c/config.c deps/iotech-c-utils-1.1-branch/src/c/container.c deps/iotech-c-utils-1.1-branch/src/c/data.c deps/iotech-c-utils-1.1-branch/src/c/hash.c deps/iotech-c-utils-1.1-branch/src/c/iot.c deps/iotech-c-utils-1.1-branch/src/c/json.c deps/iotech-c-utils-1.1-branch/src/c/logger.c deps/iotech-c-utils-1.1-branch/src/c/os.c deps/iotech-c-utils-1.1-branch/src/c/scheduler.c deps/iotech-c-utils-1.1-branch/src/c/thread.c deps/iotech-c-utils-1.1-branch/src/c/threadpool.c deps/iotech-c-utils-1.1-branch/src/c/time.c src/c/iot [2020-07-22T14:17:46.171Z] + mkdir -p include/iot [2020-07-22T14:17:46.171Z] + cp deps/iotech-c-utils-1.1-branch/include/iot/base64.h deps/iotech-c-utils-1.1-branch/include/iot/component.h deps/iotech-c-utils-1.1-branch/include/iot/config.h deps/iotech-c-utils-1.1-branch/include/iot/container.h deps/iotech-c-utils-1.1-branch/include/iot/data.h deps/iotech-c-utils-1.1-branch/include/iot/hash.h deps/iotech-c-utils-1.1-branch/include/iot/iot.h deps/iotech-c-utils-1.1-branch/include/iot/json.h deps/iotech-c-utils-1.1-branch/include/iot/logger.h deps/iotech-c-utils-1.1-branch/include/iot/os.h deps/iotech-c-utils-1.1-branch/include/iot/scheduler.h deps/iotech-c-utils-1.1-branch/include/iot/thread.h deps/iotech-c-utils-1.1-branch/include/iot/threadpool.h deps/iotech-c-utils-1.1-branch/include/iot/time.h deps/iotech-c-utils-1.1-branch/include/iot/typecode.h include/iot [2020-07-22T14:17:46.171Z] + mkdir -p include/iot/os [2020-07-22T14:17:46.171Z] + cp deps/iotech-c-utils-1.1-branch/include/iot/os/linux.h deps/iotech-c-utils-1.1-branch/include/iot/os/macos.h deps/iotech-c-utils-1.1-branch/include/iot/os/zephyr.h include/iot/os [2020-07-22T14:17:46.171Z] + mkdir -p /tmp/sdk/build/release [2020-07-22T14:17:46.171Z] + cd /tmp/sdk/build/release [2020-07-22T14:17:46.171Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-07-22T14:17:46.253Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-07-22T14:17:46.433Z] -- The C compiler identification is GNU 8.3.0 [2020-07-22T14:17:46.433Z] -- Check for working C compiler: /usr/bin/cc [2020-07-22T14:17:46.433Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-07-22T14:17:46.433Z] -- Detecting C compiler ABI info [2020-07-22T14:17:46.433Z] -- Detecting C compiler ABI info - done [2020-07-22T14:17:46.433Z] -- Detecting C compile features [2020-07-22T14:17:46.696Z] -- Detecting C compile features - done [2020-07-22T14:17:46.696Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-07-22T14:17:46.696Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-07-22T14:17:46.696Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-07-22T14:17:46.696Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-07-22T14:17:46.696Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-07-22T14:17:46.696Z] -- C SDK 0.0.0 for Linux [2020-07-22T14:17:46.696Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-07-22T14:17:46.844Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-07-22T14:17:46.958Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-07-22T14:17:46.958Z] -- Found Curses: /usr/lib/libcurses.so [2020-07-22T14:17:46.958Z] -- Configuring done [2020-07-22T14:17:46.958Z] -- Generating done [2020-07-22T14:17:46.958Z] -- Build files have been written to: /tmp/sdk/build/release [2020-07-22T14:17:46.958Z] + make [2020-07-22T14:17:46.958Z] + tee release.log [2020-07-22T14:17:46.958Z] Scanning dependencies of target csdk [2020-07-22T14:17:47.115Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-07-22T14:17:47.219Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-07-22T14:17:47.219Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-07-22T14:17:47.484Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-07-22T14:17:47.707Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-07-22T14:17:47.748Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-07-22T14:17:48.012Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-07-22T14:17:48.012Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-07-22T14:17:48.274Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-07-22T14:17:48.299Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-07-22T14:17:48.570Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-07-22T14:17:48.851Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-07-22T14:17:49.112Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-07-22T14:17:49.112Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-07-22T14:17:49.373Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-07-22T14:17:49.373Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-07-22T14:17:49.634Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-07-22T14:17:49.634Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-07-22T14:17:50.578Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-07-22T14:17:50.578Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-07-22T14:17:50.578Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2020-07-22T14:17:50.852Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-07-22T14:17:50.852Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-07-22T14:17:51.426Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-07-22T14:17:51.687Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-07-22T14:17:51.687Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-07-22T14:17:51.946Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-07-22T14:17:51.946Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-07-22T14:17:51.946Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-07-22T14:17:52.207Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-07-22T14:17:52.467Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-07-22T14:17:52.467Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-07-22T14:17:52.467Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-07-22T14:17:52.729Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-07-22T14:17:52.852Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-07-22T14:17:52.991Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-07-22T14:17:52.991Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-07-22T14:17:53.446Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-07-22T14:17:53.719Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-07-22T14:17:54.313Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-07-22T14:17:54.378Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-07-22T14:17:54.378Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-07-22T14:17:54.378Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-07-22T14:17:54.638Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-07-22T14:17:54.899Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-07-22T14:17:55.472Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-07-22T14:17:55.741Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-07-22T14:17:56.421Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-07-22T14:17:56.421Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-07-22T14:17:56.994Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-07-22T14:17:56.994Z] [ 72%] Linking C shared library libcsdk.so [2020-07-22T14:17:56.994Z] [ 72%] Built target csdk [2020-07-22T14:17:56.994Z] Scanning dependencies of target template [2020-07-22T14:17:56.994Z] [ 74%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-07-22T14:17:57.255Z] [ 75%] Linking C executable template [2020-07-22T14:17:57.255Z] [ 75%] Built target template [2020-07-22T14:17:57.255Z] Scanning dependencies of target device-counter [2020-07-22T14:17:57.255Z] [ 77%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-07-22T14:17:57.516Z] [ 79%] Linking C executable device-counter [2020-07-22T14:17:57.516Z] [ 79%] Built target device-counter [2020-07-22T14:17:57.516Z] Scanning dependencies of target device-random [2020-07-22T14:17:57.516Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-07-22T14:17:57.706Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-07-22T14:17:57.776Z] [ 82%] Linking C executable device-random [2020-07-22T14:17:57.776Z] [ 82%] Built target device-random [2020-07-22T14:17:57.776Z] Scanning dependencies of target device-gyro [2020-07-22T14:17:57.776Z] [ 84%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-07-22T14:17:58.037Z] [ 86%] Linking C executable device-gyro [2020-07-22T14:17:58.037Z] [ 86%] Built target device-gyro [2020-07-22T14:17:58.037Z] Scanning dependencies of target device-bitfields [2020-07-22T14:17:58.037Z] [ 87%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2020-07-22T14:17:58.037Z] [ 89%] Linking C executable device-bitfields [2020-07-22T14:17:58.298Z] [ 89%] Built target device-bitfields [2020-07-22T14:17:58.298Z] Scanning dependencies of target template-discovery [2020-07-22T14:17:58.298Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-07-22T14:17:58.559Z] [ 93%] Linking C executable template-discovery [2020-07-22T14:17:58.559Z] [ 93%] Built target template-discovery [2020-07-22T14:17:58.559Z] Scanning dependencies of target device-terminal [2020-07-22T14:17:58.559Z] [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-07-22T14:17:58.559Z] [ 96%] Linking C executable device-terminal [2020-07-22T14:17:58.820Z] [ 96%] Built target device-terminal [2020-07-22T14:17:58.820Z] Scanning dependencies of target templatev1 [2020-07-22T14:17:58.820Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-07-22T14:17:58.820Z] [100%] Linking C executable templatev1 [2020-07-22T14:17:59.081Z] [100%] Built target templatev1 [2020-07-22T14:17:59.081Z] + make package [2020-07-22T14:17:59.081Z] + tee -a release.log [2020-07-22T14:17:59.081Z] [ 72%] Built target csdk [2020-07-22T14:17:59.081Z] [ 75%] Built target template [2020-07-22T14:17:59.081Z] [ 79%] Built target device-counter [2020-07-22T14:17:59.081Z] [ 82%] Built target device-random [2020-07-22T14:17:59.081Z] [ 86%] Built target device-gyro [2020-07-22T14:17:59.081Z] [ 89%] Built target device-bitfields [2020-07-22T14:17:59.081Z] [ 93%] Built target template-discovery [2020-07-22T14:17:59.081Z] [ 96%] Built target device-terminal [2020-07-22T14:17:59.081Z] [100%] Built target templatev1 [2020-07-22T14:17:59.081Z] Run CPack packaging tool... [2020-07-22T14:17:59.342Z] CPack: Create package using TGZ [2020-07-22T14:17:59.342Z] CPack: Install projects [2020-07-22T14:17:59.342Z] CPack: - Run preinstall target for: Csdk [2020-07-22T14:17:59.603Z] CPack: - Install project: Csdk [2020-07-22T14:17:59.603Z] CPack: Create package [2020-07-22T14:17:59.603Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2020-07-22T14:17:59.603Z] + '[' false '=' true ] [2020-07-22T14:17:59.603Z] + '[' false '=' true ] [2020-07-22T14:17:59.603Z] + mkdir -p /tmp/sdk/build/debug [2020-07-22T14:17:59.603Z] + cd /tmp/sdk/build/debug [2020-07-22T14:17:59.603Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-07-22T14:17:59.603Z] -- The C compiler identification is GNU 8.3.0 [2020-07-22T14:17:59.603Z] -- Check for working C compiler: /usr/bin/cc [2020-07-22T14:17:59.603Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-07-22T14:17:59.603Z] -- Detecting C compiler ABI info [2020-07-22T14:17:59.864Z] -- Detecting C compiler ABI info - done [2020-07-22T14:17:59.864Z] -- Detecting C compile features [2020-07-22T14:18:00.124Z] -- Detecting C compile features - done [2020-07-22T14:18:00.124Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-07-22T14:18:00.124Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-07-22T14:18:00.124Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-07-22T14:18:00.124Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-07-22T14:18:00.124Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-07-22T14:18:00.124Z] -- C SDK 0.0.0 for Linux [2020-07-22T14:18:00.124Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-07-22T14:18:00.124Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-07-22T14:18:00.124Z] -- Found Curses: /usr/lib/libcurses.so [2020-07-22T14:18:00.124Z] -- Configuring done [2020-07-22T14:18:00.387Z] -- Generating done [2020-07-22T14:18:00.387Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-07-22T14:18:00.387Z] + make [2020-07-22T14:18:00.387Z] + tee debug.log [2020-07-22T14:18:00.387Z] Scanning dependencies of target csdk [2020-07-22T14:18:00.387Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-07-22T14:18:00.387Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-07-22T14:18:00.649Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-07-22T14:18:00.649Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-07-22T14:18:00.911Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-07-22T14:18:00.911Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-07-22T14:18:00.911Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-07-22T14:18:01.079Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-07-22T14:18:01.079Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-07-22T14:18:01.175Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-07-22T14:18:01.175Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-07-22T14:18:01.440Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-07-22T14:18:01.440Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-07-22T14:18:01.440Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-07-22T14:18:01.705Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-07-22T14:18:01.705Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-07-22T14:18:01.968Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-07-22T14:18:01.968Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-07-22T14:18:01.968Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2020-07-22T14:18:01.968Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-07-22T14:18:02.230Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-07-22T14:18:02.491Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-07-22T14:18:02.491Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-07-22T14:18:02.491Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-07-22T14:18:02.491Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-07-22T14:18:02.508Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-07-22T14:18:02.751Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-07-22T14:18:02.752Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-07-22T14:18:02.752Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-07-22T14:18:02.752Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-07-22T14:18:02.779Z] [ 72%] Linking C shared library libcsdk.so [2020-07-22T14:18:03.012Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-07-22T14:18:03.012Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-07-22T14:18:03.012Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-07-22T14:18:03.052Z] [ 72%] Built target csdk [2020-07-22T14:18:03.052Z] Scanning dependencies of target template [2020-07-22T14:18:03.052Z] [ 74%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-07-22T14:18:03.273Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-07-22T14:18:03.273Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-07-22T14:18:03.534Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-07-22T14:18:03.534Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-07-22T14:18:03.648Z] [ 75%] Linking C executable template [2020-07-22T14:18:03.794Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-07-22T14:18:03.794Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-07-22T14:18:03.921Z] [ 75%] Built target template [2020-07-22T14:18:03.921Z] Scanning dependencies of target device-counter [2020-07-22T14:18:03.921Z] [ 77%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-07-22T14:18:04.054Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-07-22T14:18:04.054Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-07-22T14:18:04.193Z] [ 79%] Linking C executable device-counter [2020-07-22T14:18:04.316Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-07-22T14:18:04.464Z] [ 79%] Built target device-counter [2020-07-22T14:18:04.464Z] Scanning dependencies of target device-random [2020-07-22T14:18:04.464Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-07-22T14:18:04.579Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-07-22T14:18:04.579Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-07-22T14:18:04.579Z] [ 72%] Linking C shared library libcsdk.so [2020-07-22T14:18:04.841Z] [ 72%] Built target csdk [2020-07-22T14:18:04.841Z] Scanning dependencies of target template [2020-07-22T14:18:04.841Z] [ 74%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-07-22T14:18:04.841Z] [ 75%] Linking C executable template [2020-07-22T14:18:04.841Z] [ 75%] Built target template [2020-07-22T14:18:04.841Z] Scanning dependencies of target device-counter [2020-07-22T14:18:04.841Z] [ 77%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-07-22T14:18:05.054Z] [ 82%] Linking C executable device-random [2020-07-22T14:18:05.104Z] [ 79%] Linking C executable device-counter [2020-07-22T14:18:05.104Z] [ 79%] Built target device-counter [2020-07-22T14:18:05.104Z] Scanning dependencies of target device-random [2020-07-22T14:18:05.104Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-07-22T14:18:05.104Z] [ 82%] Linking C executable device-random [2020-07-22T14:18:05.327Z] [ 82%] Built target device-random [2020-07-22T14:18:05.327Z] Scanning dependencies of target device-gyro [2020-07-22T14:18:05.327Z] [ 84%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-07-22T14:18:05.369Z] [ 82%] Built target device-random [2020-07-22T14:18:05.369Z] Scanning dependencies of target device-gyro [2020-07-22T14:18:05.369Z] [ 84%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-07-22T14:18:05.369Z] [ 86%] Linking C executable device-gyro [2020-07-22T14:18:05.369Z] [ 86%] Built target device-gyro [2020-07-22T14:18:05.369Z] Scanning dependencies of target device-bitfields [2020-07-22T14:18:05.369Z] [ 87%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2020-07-22T14:18:05.596Z] [ 86%] Linking C executable device-gyro [2020-07-22T14:18:05.642Z] [ 89%] Linking C executable device-bitfields [2020-07-22T14:18:05.642Z] [ 89%] Built target device-bitfields [2020-07-22T14:18:05.642Z] Scanning dependencies of target template-discovery [2020-07-22T14:18:05.642Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-07-22T14:18:05.642Z] [ 93%] Linking C executable template-discovery [2020-07-22T14:18:05.642Z] [ 93%] Built target template-discovery [2020-07-22T14:18:05.642Z] Scanning dependencies of target device-terminal [2020-07-22T14:18:05.867Z] [ 86%] Built target device-gyro [2020-07-22T14:18:05.867Z] Scanning dependencies of target device-bitfields [2020-07-22T14:18:05.867Z] [ 87%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2020-07-22T14:18:05.903Z] [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-07-22T14:18:05.903Z] [ 96%] Linking C executable device-terminal [2020-07-22T14:18:05.903Z] [ 96%] Built target device-terminal [2020-07-22T14:18:05.903Z] Scanning dependencies of target templatev1 [2020-07-22T14:18:05.903Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-07-22T14:18:06.139Z] [ 89%] Linking C executable device-bitfields [2020-07-22T14:18:06.163Z] [100%] Linking C executable templatev1 [2020-07-22T14:18:06.163Z] [100%] Built target templatev1 [2020-07-22T14:18:06.163Z] make: Entering directory '/tmp/sdk/build/release' [2020-07-22T14:18:06.163Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-07-22T14:18:06.163Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T14:18:06.163Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T14:18:06.163Z] [ 72%] Built target csdk [2020-07-22T14:18:06.163Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T14:18:06.163Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T14:18:06.163Z] [ 75%] Built target template [2020-07-22T14:18:06.163Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T14:18:06.163Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T14:18:06.163Z] [ 79%] Built target device-counter [2020-07-22T14:18:06.163Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T14:18:06.163Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T14:18:06.163Z] [ 82%] Built target device-random [2020-07-22T14:18:06.163Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T14:18:06.163Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T14:18:06.163Z] [ 86%] Built target device-gyro [2020-07-22T14:18:06.163Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T14:18:06.163Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T14:18:06.163Z] [ 89%] Built target device-bitfields [2020-07-22T14:18:06.163Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T14:18:06.163Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T14:18:06.163Z] [ 93%] Built target template-discovery [2020-07-22T14:18:06.163Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T14:18:06.163Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T14:18:06.163Z] [ 96%] Built target device-terminal [2020-07-22T14:18:06.412Z] [ 89%] Built target device-bitfields [2020-07-22T14:18:06.412Z] Scanning dependencies of target template-discovery [2020-07-22T14:18:06.412Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-07-22T14:18:06.427Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T14:18:06.427Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T14:18:06.427Z] [100%] Built target templatev1 [2020-07-22T14:18:06.427Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T14:18:06.427Z] Install the project... [2020-07-22T14:18:06.427Z] -- Install configuration: "Release" [2020-07-22T14:18:06.427Z] -- Installing: /usr/local/lib/libcsdk.so [2020-07-22T14:18:06.427Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-07-22T14:18:06.427Z] -- Up-to-date: /usr/local/include [2020-07-22T14:18:06.427Z] -- Installing: /usr/local/include/devsdk [2020-07-22T14:18:06.427Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-07-22T14:18:06.427Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-07-22T14:18:06.427Z] -- Installing: /usr/local/include/edgex [2020-07-22T14:18:06.427Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-07-22T14:18:06.427Z] -- Installing: /usr/local/include/edgex/devices.h [2020-07-22T14:18:06.427Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-07-22T14:18:06.427Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-07-22T14:18:06.427Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-07-22T14:18:06.427Z] -- Installing: /usr/local/include/edgex/error.h [2020-07-22T14:18:06.427Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-07-22T14:18:06.427Z] -- Installing: /usr/local/include/edgex/os.h [2020-07-22T14:18:06.427Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-07-22T14:18:06.427Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-07-22T14:18:06.427Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-07-22T14:18:06.427Z] -- Installing: /usr/local/include/iot [2020-07-22T14:18:06.427Z] -- Installing: /usr/local/include/iot/base64.h [2020-07-22T14:18:06.427Z] -- Installing: /usr/local/include/iot/component.h [2020-07-22T14:18:06.427Z] -- Installing: /usr/local/include/iot/config.h [2020-07-22T14:18:06.427Z] -- Installing: /usr/local/include/iot/container.h [2020-07-22T14:18:06.427Z] -- Installing: /usr/local/include/iot/data.h [2020-07-22T14:18:06.427Z] -- Installing: /usr/local/include/iot/hash.h [2020-07-22T14:18:06.427Z] -- Installing: /usr/local/include/iot/iot.h [2020-07-22T14:18:06.427Z] -- Installing: /usr/local/include/iot/json.h [2020-07-22T14:18:06.427Z] -- Installing: /usr/local/include/iot/logger.h [2020-07-22T14:18:06.427Z] -- Installing: /usr/local/include/iot/os.h [2020-07-22T14:18:06.427Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-07-22T14:18:06.427Z] -- Installing: /usr/local/include/iot/thread.h [2020-07-22T14:18:06.427Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-07-22T14:18:06.427Z] -- Installing: /usr/local/include/iot/time.h [2020-07-22T14:18:06.427Z] -- Installing: /usr/local/include/iot/typecode.h [2020-07-22T14:18:06.427Z] -- Installing: /usr/local/include/iot/os [2020-07-22T14:18:06.427Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-07-22T14:18:06.427Z] -- Installing: /usr/local/include/iot/os/macos.h [2020-07-22T14:18:06.427Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-07-22T14:18:06.427Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-07-22T14:18:06.427Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-07-22T14:18:06.427Z] make: Leaving directory '/tmp/sdk/build/release' [2020-07-22T14:18:07.386Z] [ 93%] Linking C executable template-discovery [2020-07-22T14:18:07.386Z] [ 93%] Built target template-discovery [2020-07-22T14:18:07.386Z] Scanning dependencies of target device-terminal [2020-07-22T14:18:07.386Z] [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-07-22T14:18:07.975Z] [ 96%] Linking C executable device-terminal [2020-07-22T14:18:08.254Z] [ 96%] Built target device-terminal [2020-07-22T14:18:08.254Z] Scanning dependencies of target templatev1 [2020-07-22T14:18:08.254Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-07-22T14:18:08.343Z] Removing intermediate container 9aa708241fad [2020-07-22T14:18:08.343Z] ---> 4d8d7cf771f6 [2020-07-22T14:18:08.343Z] Step 14/21 : FROM ${BASE} [2020-07-22T14:18:08.343Z] ---> 5eabd8fd8ba2 [2020-07-22T14:18:08.343Z] Step 15/21 : MAINTAINER IOTech [2020-07-22T14:18:08.343Z] ---> Running in c3e088cb800f [2020-07-22T14:18:08.343Z] Removing intermediate container c3e088cb800f [2020-07-22T14:18:08.343Z] ---> 2ff5676fb605 [2020-07-22T14:18:08.343Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-07-22T14:18:08.343Z] ---> Running in 2e0363e655a6 [2020-07-22T14:18:08.844Z] [100%] Linking C executable templatev1 [2020-07-22T14:18:08.845Z] [100%] Built target templatev1 [2020-07-22T14:18:08.845Z] + + teemake -a package release.log [2020-07-22T14:18:08.845Z] [2020-07-22T14:18:09.119Z] [ 72%] Built target csdk [2020-07-22T14:18:09.119Z] [ 75%] Built target template [2020-07-22T14:18:09.119Z] [ 79%] Built target device-counter [2020-07-22T14:18:09.119Z] [ 82%] Built target device-random [2020-07-22T14:18:09.119Z] [ 86%] Built target device-gyro [2020-07-22T14:18:09.291Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-07-22T14:18:09.391Z] [ 89%] Built target device-bitfields [2020-07-22T14:18:09.391Z] [ 93%] Built target template-discovery [2020-07-22T14:18:09.391Z] [ 96%] Built target device-terminal [2020-07-22T14:18:09.391Z] [100%] Built target templatev1 [2020-07-22T14:18:09.391Z] Run CPack packaging tool... [2020-07-22T14:18:09.391Z] CPack: Create package using TGZ [2020-07-22T14:18:09.391Z] CPack: Install projects [2020-07-22T14:18:09.391Z] CPack: - Run preinstall target for: Csdk [2020-07-22T14:18:09.863Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-07-22T14:18:09.863Z] (1/3) Installing curl (7.64.0-r3) [2020-07-22T14:18:09.983Z] CPack: - Install project: Csdk [2020-07-22T14:18:09.984Z] CPack: Create package [2020-07-22T14:18:10.126Z] (2/3) Installing libuuid (2.33-r0) [2020-07-22T14:18:10.126Z] (3/3) Installing wget (1.20.3-r0) [2020-07-22T14:18:10.126Z] Executing busybox-1.29.3-r10.trigger [2020-07-22T14:18:10.258Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2020-07-22T14:18:10.259Z] + '[' false '=' true ] [2020-07-22T14:18:10.259Z] + '[' false '=' true ] [2020-07-22T14:18:10.259Z] + mkdir -p /tmp/sdk/build/debug [2020-07-22T14:18:10.259Z] + cd /tmp/sdk/build/debug [2020-07-22T14:18:10.259Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-07-22T14:18:10.388Z] OK: 268 MiB in 78 packages [2020-07-22T14:18:10.532Z] -- The C compiler identification is GNU 8.3.0 [2020-07-22T14:18:10.532Z] -- Check for working C compiler: /usr/bin/cc [2020-07-22T14:18:10.649Z] Removing intermediate container 2e0363e655a6 [2020-07-22T14:18:10.649Z] ---> e0037172d15b [2020-07-22T14:18:10.649Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-07-22T14:18:10.804Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-07-22T14:18:10.804Z] -- Detecting C compiler ABI info [2020-07-22T14:18:10.804Z] -- Detecting C compiler ABI info - done [2020-07-22T14:18:10.913Z] ---> 0bc54e23b685 [2020-07-22T14:18:10.913Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-07-22T14:18:11.075Z] -- Detecting C compile features [2020-07-22T14:18:11.174Z] ---> 0186faefee1d [2020-07-22T14:18:11.174Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-07-22T14:18:11.436Z] ---> fda576b6fe6d [2020-07-22T14:18:11.436Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-07-22T14:18:11.668Z] -- Detecting C compile features - done [2020-07-22T14:18:11.668Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-07-22T14:18:11.668Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-07-22T14:18:11.668Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-07-22T14:18:11.668Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-07-22T14:18:11.668Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-07-22T14:18:11.668Z] -- C SDK 0.0.0 for Linux [2020-07-22T14:18:11.668Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-07-22T14:18:11.697Z] ---> acec2126f6f4 [2020-07-22T14:18:11.697Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-07-22T14:18:11.939Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-07-22T14:18:11.939Z] -- Found Curses: /usr/lib/libcurses.so [2020-07-22T14:18:11.959Z] ---> 9fd5bfd35bdc [2020-07-22T14:18:11.959Z] Successfully built 9fd5bfd35bdc [2020-07-22T14:18:11.959Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [2020-07-22T14:18:12.210Z] -- Configuring done [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [2020-07-22T14:18:12.479Z] -- Generating done [2020-07-22T14:18:12.479Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-07-22T14:18:12.479Z] + + teemake debug.log [2020-07-22T14:18:12.479Z] [2020-07-22T14:18:12.479Z] Scanning dependencies of target csdk [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-07-22T14:18:12.748Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-07-22T14:18:12.867Z] + docker inspect -f . ci-base-image-x86_64 [2020-07-22T14:18:12.867Z] . [Pipeline] withDockerContainer [2020-07-22T14:18:12.981Z] prd-centos7-docker-4c-2g-588 does not seem to be running inside a container [2020-07-22T14:18:13.020Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-07-22T14:18:13.019Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-07-22T14:18:13.291Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-07-22T14:18:13.607Z] $ docker top 4b1c8a1f4f484cd35294c6e93f4b3bf389c725ee6fef815016636a166729d72e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-07-22T14:18:13.884Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-07-22T14:18:14.128Z] + make test [2020-07-22T14:18:14.128Z] echo "make test" [2020-07-22T14:18:14.128Z] make test [Pipeline] } [2020-07-22T14:18:14.155Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-07-22T14:18:14.155Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-07-22T14:18:14.152Z] $ docker stop --time=1 4b1c8a1f4f484cd35294c6e93f4b3bf389c725ee6fef815016636a166729d72e [2020-07-22T14:18:14.748Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-07-22T14:18:15.343Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-07-22T14:18:15.343Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-07-22T14:18:15.463Z] $ docker rm -f 4b1c8a1f4f484cd35294c6e93f4b3bf389c725ee6fef815016636a166729d72e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2020-07-22T14:18:15.934Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-07-22T14:18:15.934Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2020-07-22T14:18:16.209Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-07-22T14:18:16.486Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-07-22T14:18:16.759Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-07-22T14:18:17.739Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-07-22T14:18:17.739Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-07-22T14:18:18.012Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2020-07-22T14:18:18.012Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [Pipeline] sh [2020-07-22T14:18:18.350Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-07-22T14:18:18.612Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-07-22T14:18:18.661Z] + ls -al . [2020-07-22T14:18:18.661Z] total 160 [2020-07-22T14:18:18.661Z] drwxrwxr-x. 9 jenkins jenkins 275 Jul 22 14:17 . [2020-07-22T14:18:18.661Z] drwxrwxr-x. 4 jenkins jenkins 28 Jul 22 14:17 .. [2020-07-22T14:18:18.661Z] -rw-rw-r--. 1 jenkins jenkins 3104 Jul 22 14:17 Attribution.txt [2020-07-22T14:18:18.661Z] -rw-rw-r--. 1 jenkins jenkins 5833 Jul 22 14:17 CHANGES [2020-07-22T14:18:18.661Z] drwxrwxr-x. 2 jenkins jenkins 144 Jul 22 14:17 docs [2020-07-22T14:18:18.661Z] -rw-rw-r--. 1 jenkins jenkins 108574 Jul 22 14:17 Doxyfile [2020-07-22T14:18:18.661Z] drwxrwxr-x. 8 jenkins jenkins 179 Jul 22 14:17 .git [2020-07-22T14:18:18.661Z] drwxrwxr-x. 2 jenkins jenkins 38 Jul 22 14:17 .github [2020-07-22T14:18:18.661Z] -rw-rw-r--. 1 jenkins jenkins 176 Jul 22 14:17 .gitignore [2020-07-22T14:18:18.661Z] drwxrwxr-x. 4 jenkins jenkins 33 Jul 22 14:17 include [2020-07-22T14:18:18.661Z] -rw-rw-r--. 1 jenkins jenkins 794 Jul 22 14:17 Jenkinsfile [2020-07-22T14:18:18.661Z] -rw-rw-r--. 1 jenkins jenkins 10174 Jul 22 14:17 LICENSE [2020-07-22T14:18:18.661Z] -rw-rw-r--. 1 jenkins jenkins 449 Jul 22 14:17 Makefile [2020-07-22T14:18:18.661Z] -rw-rw-r--. 1 jenkins jenkins 1849 Jul 22 14:17 README.md [2020-07-22T14:18:18.661Z] -rw-rw-r--. 1 jenkins jenkins 5977 Jul 22 14:17 README.v2.md [2020-07-22T14:18:18.661Z] drwxrwxr-x. 2 jenkins jenkins 108 Jul 22 14:17 scripts [2020-07-22T14:18:18.661Z] drwxrwxr-x. 3 jenkins jenkins 58 Jul 22 14:17 .semver [2020-07-22T14:18:18.661Z] drwxrwxr-x. 4 jenkins jenkins 50 Jul 22 14:17 src [2020-07-22T14:18:18.661Z] -rw-rw-r--. 1 jenkins jenkins 5 Jul 22 14:14 VERSION [Pipeline] isUnix [Pipeline] sh [2020-07-22T14:18:18.991Z] + docker build -t docker-device-sdk-c -f scripts/Dockerfile.alpine-3.11 --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=08585c64de824795960e0f3fb8f2f367ac1ac986 --label arch=amd64 --label version=0.0.0 . [2020-07-22T14:18:18.991Z] Sending build context to Docker daemon 3.389MB [2020-07-22T14:18:18.991Z] Step 1/15 : ARG BASE=alpine:3.11 [2020-07-22T14:18:18.991Z] Step 2/15 : FROM ${BASE} [2020-07-22T14:18:18.991Z] ---> 9fd5bfd35bdc [2020-07-22T14:18:18.991Z] Step 3/15 : MAINTAINER IOTech [2020-07-22T14:18:19.210Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-07-22T14:18:19.210Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-07-22T14:18:19.481Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-07-22T14:18:19.567Z] ---> Running in 78d83e4a58b6 [2020-07-22T14:18:19.753Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-07-22T14:18:19.828Z] Removing intermediate container 78d83e4a58b6 [2020-07-22T14:18:19.828Z] ---> 921cc90201b0 [2020-07-22T14:18:19.828Z] 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-22T14:18:19.828Z] ---> Running in 046e35dd28fc [2020-07-22T14:18:20.027Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-07-22T14:18:20.027Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-07-22T14:18:20.297Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-07-22T14:18:20.569Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-07-22T14:18:20.771Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-07-22T14:18:20.841Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-07-22T14:18:20.841Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-07-22T14:18:21.113Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-07-22T14:18:21.343Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-07-22T14:18:21.603Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2020-07-22T14:18:21.603Z] (2/6) Installing libblkid (2.33-r0) [2020-07-22T14:18:21.603Z] (3/6) Installing libfdisk (2.33-r0) [2020-07-22T14:18:21.708Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-07-22T14:18:21.708Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-07-22T14:18:21.864Z] (4/6) Installing libmount (2.33-r0) [2020-07-22T14:18:21.864Z] (5/6) Installing libsmartcols (2.33-r0) [2020-07-22T14:18:22.128Z] (6/6) Installing util-linux-dev (2.33-r0) [2020-07-22T14:18:22.390Z] Executing busybox-1.29.3-r10.trigger [2020-07-22T14:18:22.390Z] OK: 272 MiB in 84 packages [2020-07-22T14:18:22.685Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-07-22T14:18:22.956Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-07-22T14:18:22.962Z] Removing intermediate container 046e35dd28fc [2020-07-22T14:18:22.962Z] ---> ac055c541f37 [2020-07-22T14:18:22.962Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-07-22T14:18:22.962Z] ---> 6e20a09bb61a [2020-07-22T14:18:22.962Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-07-22T14:18:23.228Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-07-22T14:18:23.501Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-07-22T14:18:23.904Z] ---> 4040d46e6b53 [2020-07-22T14:18:23.905Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-07-22T14:18:23.905Z] ---> 060d7af0cbe3 [2020-07-22T14:18:23.905Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-07-22T14:18:24.165Z] ---> 75d72a7eac58 [2020-07-22T14:18:24.165Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-07-22T14:18:24.426Z] ---> b7d4241e4259 [2020-07-22T14:18:24.426Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-07-22T14:18:24.478Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-07-22T14:18:24.687Z] ---> c42343899944 [2020-07-22T14:18:24.687Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-07-22T14:18:24.687Z] ---> Running in d17fdf9982a3 [2020-07-22T14:18:24.687Z] Removing intermediate container d17fdf9982a3 [2020-07-22T14:18:24.687Z] ---> 9a6a7184cdce [2020-07-22T14:18:24.687Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-07-22T14:18:25.073Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-07-22T14:18:25.260Z] ---> Running in 6837ac2fe2c8 [2020-07-22T14:18:25.260Z] Removing intermediate container 6837ac2fe2c8 [2020-07-22T14:18:25.260Z] ---> 266813c56d4e [2020-07-22T14:18:25.260Z] Step 13/15 : LABEL arch=amd64 [2020-07-22T14:18:25.523Z] ---> Running in 5c6dd3dccea3 [2020-07-22T14:18:25.523Z] Removing intermediate container 5c6dd3dccea3 [2020-07-22T14:18:25.523Z] ---> 00ccf171a8bd [2020-07-22T14:18:25.523Z] Step 14/15 : LABEL git_sha=08585c64de824795960e0f3fb8f2f367ac1ac986 [2020-07-22T14:18:25.523Z] ---> Running in 74e9b5332f0c [2020-07-22T14:18:25.669Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-07-22T14:18:25.784Z] Removing intermediate container 74e9b5332f0c [2020-07-22T14:18:25.784Z] ---> 6cddaca578b1 [2020-07-22T14:18:25.784Z] Step 15/15 : LABEL version=0.0.0 [2020-07-22T14:18:25.784Z] ---> Running in 0317d19c2ccb [2020-07-22T14:18:25.941Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-07-22T14:18:26.046Z] Removing intermediate container 0317d19c2ccb [2020-07-22T14:18:26.046Z] ---> 97a673f7c2fe [2020-07-22T14:18:26.046Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2020-07-22T14:18:26.046Z] Successfully built 97a673f7c2fe [2020-07-22T14:18:26.046Z] Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } [2020-07-22T14:18:26.217Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [2020-07-22T14:18:26.491Z] [ 72%] Linking C shared library libcsdk.so [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [2020-07-22T14:18:26.763Z] [ 72%] Built target csdk [2020-07-22T14:18:26.763Z] Scanning dependencies of target template [2020-07-22T14:18:26.763Z] [ 74%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-07-22T14:18:27.036Z] [ 75%] Linking C executable template [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [2020-07-22T14:18:27.309Z] [ 75%] Built target template [2020-07-22T14:18:27.310Z] Scanning dependencies of target device-counter [2020-07-22T14:18:27.310Z] [ 77%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-07-22T14:18:27.580Z] [ 79%] Linking C executable device-counter [2020-07-22T14:18:27.853Z] [ 79%] Built target device-counter [2020-07-22T14:18:27.853Z] Scanning dependencies of target device-random [2020-07-22T14:18:27.853Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-07-22T14:18:28.125Z] [ 82%] Linking C executable device-random [2020-07-22T14:18:28.397Z] [ 82%] Built target device-random [2020-07-22T14:18:28.397Z] Scanning dependencies of target device-gyro [2020-07-22T14:18:28.397Z] [ 84%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-07-22T14:18:28.669Z] [ 86%] Linking C executable device-gyro [2020-07-22T14:18:28.941Z] [ 86%] Built target device-gyro [2020-07-22T14:18:28.941Z] Scanning dependencies of target device-bitfields [2020-07-22T14:18:28.941Z] [ 87%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2020-07-22T14:18:29.214Z] [ 89%] Linking C executable device-bitfields [2020-07-22T14:18:29.487Z] [ 89%] Built target device-bitfields [2020-07-22T14:18:29.487Z] Scanning dependencies of target template-discovery [2020-07-22T14:18:29.487Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-07-22T14:18:29.759Z] [ 93%] Linking C executable template-discovery [2020-07-22T14:18:30.031Z] [ 93%] Built target template-discovery [2020-07-22T14:18:30.031Z] Scanning dependencies of target device-terminal [2020-07-22T14:18:30.031Z] [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-07-22T14:18:30.303Z] [ 96%] Linking C executable device-terminal [2020-07-22T14:18:30.575Z] [ 96%] Built target device-terminal [2020-07-22T14:18:30.575Z] Scanning dependencies of target templatev1 [2020-07-22T14:18:30.575Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-07-22T14:18:30.846Z] [100%] Linking C executable templatev1 [2020-07-22T14:18:31.120Z] [100%] Built target templatev1 [2020-07-22T14:18:31.120Z] make: Entering directory '/tmp/sdk/build/release' [2020-07-22T14:18:31.120Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-07-22T14:18:31.120Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T14:18:31.120Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T14:18:31.120Z] [ 72%] Built target csdk [2020-07-22T14:18:31.120Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T14:18:31.120Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T14:18:31.120Z] [ 75%] Built target template [2020-07-22T14:18:31.120Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T14:18:31.392Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T14:18:31.392Z] [ 79%] Built target device-counter [2020-07-22T14:18:31.392Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T14:18:31.392Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T14:18:31.392Z] [ 82%] Built target device-random [2020-07-22T14:18:31.392Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T14:18:31.392Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T14:18:31.392Z] [ 86%] Built target device-gyro [2020-07-22T14:18:31.392Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T14:18:31.392Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T14:18:31.392Z] [ 89%] Built target device-bitfields [2020-07-22T14:18:31.392Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T14:18:31.392Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T14:18:31.392Z] [ 93%] Built target template-discovery [2020-07-22T14:18:31.392Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T14:18:31.392Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T14:18:31.392Z] [ 96%] Built target device-terminal [2020-07-22T14:18:31.392Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T14:18:31.392Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T14:18:31.392Z] [100%] Built target templatev1 [2020-07-22T14:18:31.392Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T14:18:31.665Z] Install the project... [2020-07-22T14:18:31.665Z] -- Install configuration: "Release" [2020-07-22T14:18:31.665Z] -- Installing: /usr/local/lib/libcsdk.so [2020-07-22T14:18:31.665Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-07-22T14:18:31.665Z] -- Up-to-date: /usr/local/include [2020-07-22T14:18:31.665Z] -- Installing: /usr/local/include/edgex [2020-07-22T14:18:31.665Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-07-22T14:18:31.665Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-07-22T14:18:31.665Z] -- Installing: /usr/local/include/edgex/error.h [2020-07-22T14:18:31.665Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-07-22T14:18:31.665Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-07-22T14:18:31.665Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-07-22T14:18:31.665Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-07-22T14:18:31.665Z] -- Installing: /usr/local/include/edgex/devices.h [2020-07-22T14:18:31.665Z] -- Installing: /usr/local/include/edgex/os.h [2020-07-22T14:18:31.665Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-07-22T14:18:31.665Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-07-22T14:18:31.665Z] -- Installing: /usr/local/include/devsdk [2020-07-22T14:18:31.665Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-07-22T14:18:31.665Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-07-22T14:18:31.665Z] -- Installing: /usr/local/include/iot [2020-07-22T14:18:31.665Z] -- Installing: /usr/local/include/iot/json.h [2020-07-22T14:18:31.665Z] -- Installing: /usr/local/include/iot/container.h [2020-07-22T14:18:31.665Z] -- Installing: /usr/local/include/iot/component.h [2020-07-22T14:18:31.665Z] -- Installing: /usr/local/include/iot/typecode.h [2020-07-22T14:18:31.665Z] -- Installing: /usr/local/include/iot/iot.h [2020-07-22T14:18:31.665Z] -- Installing: /usr/local/include/iot/time.h [2020-07-22T14:18:31.665Z] -- Installing: /usr/local/include/iot/hash.h [2020-07-22T14:18:31.665Z] -- Installing: /usr/local/include/iot/logger.h [2020-07-22T14:18:31.665Z] -- Installing: /usr/local/include/iot/os [2020-07-22T14:18:31.665Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-07-22T14:18:31.665Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-07-22T14:18:31.665Z] -- Installing: /usr/local/include/iot/os/macos.h [2020-07-22T14:18:31.665Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-07-22T14:18:31.665Z] -- Installing: /usr/local/include/iot/data.h [2020-07-22T14:18:31.665Z] -- Installing: /usr/local/include/iot/thread.h [2020-07-22T14:18:31.665Z] -- Installing: /usr/local/include/iot/os.h [2020-07-22T14:18:31.665Z] -- Installing: /usr/local/include/iot/base64.h [2020-07-22T14:18:31.665Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-07-22T14:18:31.665Z] -- Installing: /usr/local/include/iot/config.h [2020-07-22T14:18:31.665Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-07-22T14:18:31.665Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-07-22T14:18:31.665Z] make: Leaving directory '/tmp/sdk/build/release' [2020-07-22T14:18:33.646Z] Removing intermediate container a604e63d8a0a [2020-07-22T14:18:33.646Z] ---> bead6e20cd4d [2020-07-22T14:18:33.646Z] Step 14/21 : FROM ${BASE} [2020-07-22T14:18:33.646Z] ---> b23d30803547 [2020-07-22T14:18:33.646Z] Step 15/21 : MAINTAINER IOTech [2020-07-22T14:18:33.919Z] ---> Running in bc0a863bf9ed [2020-07-22T14:18:34.193Z] Removing intermediate container bc0a863bf9ed [2020-07-22T14:18:34.193Z] ---> 026c8bf9b2e1 [2020-07-22T14:18:34.193Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-07-22T14:18:34.483Z] ---> Running in 2809b365b83f [2020-07-22T14:18:35.915Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-07-22T14:18:36.897Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-07-22T14:18:37.168Z] (1/3) Installing curl (7.64.0-r3) [2020-07-22T14:18:37.168Z] (2/3) Installing libuuid (2.33-r0) [2020-07-22T14:18:37.446Z] (3/3) Installing wget (1.20.3-r0) [2020-07-22T14:18:37.446Z] Executing busybox-1.29.3-r10.trigger [2020-07-22T14:18:37.446Z] OK: 281 MiB in 78 packages [2020-07-22T14:18:38.903Z] Removing intermediate container 2809b365b83f [2020-07-22T14:18:38.903Z] ---> b78ba68dc62b [2020-07-22T14:18:38.903Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-07-22T14:18:39.501Z] ---> 5043ee0dab28 [2020-07-22T14:18:39.501Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-07-22T14:18:40.478Z] ---> 62f6a0103666 [2020-07-22T14:18:40.478Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-07-22T14:18:41.075Z] ---> 764a4c266332 [2020-07-22T14:18:41.075Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-07-22T14:18:42.064Z] ---> 16e386139adb [2020-07-22T14:18:42.064Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-07-22T14:18:42.659Z] ---> 95df1fbd4bf4 [2020-07-22T14:18:42.932Z] Successfully built 95df1fbd4bf4 [2020-07-22T14:18:42.932Z] 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-22T14:18:43.854Z] + docker inspect -f . ci-base-image-arm64 [2020-07-22T14:18:43.854Z] . [Pipeline] withDockerContainer [2020-07-22T14:18:44.151Z] prd-ubuntu18.04-docker-arm64-4c-16g-587 does not seem to be running inside a container [2020-07-22T14:18:44.228Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-07-22T14:18:46.087Z] $ docker top 077c7d7d766d7e73bcd12a842f6101e01b6ead183351273c1229a5fd234fa1ea -eo pid,comm [Pipeline] { [Pipeline] sh [2020-07-22T14:18:47.537Z] + make test [2020-07-22T14:18:47.537Z] echo "make test" [2020-07-22T14:18:47.537Z] make test [Pipeline] } [2020-07-22T14:18:47.563Z] $ docker stop --time=1 077c7d7d766d7e73bcd12a842f6101e01b6ead183351273c1229a5fd234fa1ea [2020-07-22T14:18:49.487Z] $ docker rm -f 077c7d7d766d7e73bcd12a842f6101e01b6ead183351273c1229a5fd234fa1ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-07-22T14:18:50.628Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-07-22T14:18:50.973Z] + ls -al . [2020-07-22T14:18:50.973Z] total 196 [2020-07-22T14:18:50.973Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 22 14:16 . [2020-07-22T14:18:50.973Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 14:16 .. [2020-07-22T14:18:50.973Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 22 14:16 .git [2020-07-22T14:18:50.973Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 14:16 .github [2020-07-22T14:18:50.973Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 22 14:16 .gitignore [2020-07-22T14:18:50.973Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 14:16 .semver [2020-07-22T14:18:50.973Z] -rw-rw-r-- 1 jenkins jenkins 3104 Jul 22 14:16 Attribution.txt [2020-07-22T14:18:50.973Z] -rw-rw-r-- 1 jenkins jenkins 5833 Jul 22 14:16 CHANGES [2020-07-22T14:18:50.973Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 22 14:16 Doxyfile [2020-07-22T14:18:50.973Z] -rw-rw-r-- 1 jenkins jenkins 794 Jul 22 14:16 Jenkinsfile [2020-07-22T14:18:50.973Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 22 14:16 LICENSE [2020-07-22T14:18:50.973Z] -rw-rw-r-- 1 jenkins jenkins 449 Jul 22 14:16 Makefile [2020-07-22T14:18:50.973Z] -rw-rw-r-- 1 jenkins jenkins 1849 Jul 22 14:16 README.md [2020-07-22T14:18:50.973Z] -rw-rw-r-- 1 jenkins jenkins 5977 Jul 22 14:16 README.v2.md [2020-07-22T14:18:50.973Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 22 14:14 VERSION [2020-07-22T14:18:50.973Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 14:16 docs [2020-07-22T14:18:50.973Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 14:16 include [2020-07-22T14:18:50.973Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 14:16 scripts [2020-07-22T14:18:50.973Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 14:16 src [Pipeline] isUnix [Pipeline] sh [2020-07-22T14:18:51.334Z] + docker build -t docker-device-sdk-c-arm64 -f scripts/Dockerfile.alpine-3.11 --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=08585c64de824795960e0f3fb8f2f367ac1ac986 --label arch=arm64 --label version=0.0.0 . [2020-07-22T14:18:51.928Z] Sending build context to Docker daemon 3.389MB [2020-07-22T14:18:51.928Z] Step 1/15 : ARG BASE=alpine:3.11 [2020-07-22T14:18:51.928Z] Step 2/15 : FROM ${BASE} [2020-07-22T14:18:51.928Z] ---> 95df1fbd4bf4 [2020-07-22T14:18:51.928Z] Step 3/15 : MAINTAINER IOTech [2020-07-22T14:18:52.199Z] ---> Running in 1e204e50a363 [2020-07-22T14:18:52.471Z] Removing intermediate container 1e204e50a363 [2020-07-22T14:18:52.471Z] ---> 57044b1857ef [2020-07-22T14:18:52.471Z] 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-22T14:18:52.746Z] ---> Running in 5980db80fb7f [2020-07-22T14:18:54.175Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-07-22T14:18:55.148Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-07-22T14:18:55.148Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2020-07-22T14:18:55.420Z] (2/6) Installing libblkid (2.33-r0) [2020-07-22T14:18:55.420Z] (3/6) Installing libfdisk (2.33-r0) [2020-07-22T14:18:55.691Z] (4/6) Installing libmount (2.33-r0) [2020-07-22T14:18:55.691Z] (5/6) Installing libsmartcols (2.33-r0) [2020-07-22T14:18:55.691Z] (6/6) Installing util-linux-dev (2.33-r0) [2020-07-22T14:18:55.961Z] Executing busybox-1.29.3-r10.trigger [2020-07-22T14:18:55.961Z] OK: 286 MiB in 84 packages [2020-07-22T14:18:57.395Z] Removing intermediate container 5980db80fb7f [2020-07-22T14:18:57.395Z] ---> 9e06f3e7e3ac [2020-07-22T14:18:57.395Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-07-22T14:18:57.991Z] ---> 8c6ddbb88974 [2020-07-22T14:18:57.991Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-07-22T14:18:58.969Z] ---> b92e65ecc9f0 [2020-07-22T14:18:58.969Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-07-22T14:18:59.564Z] ---> 07c3b9d7c1c6 [2020-07-22T14:18:59.564Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-07-22T14:19:00.161Z] ---> 174bad8a7f3e [2020-07-22T14:19:00.161Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-07-22T14:19:00.758Z] ---> a11822c43bd1 [2020-07-22T14:19:00.758Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-07-22T14:19:01.735Z] ---> f21fdc73ac43 [2020-07-22T14:19:01.735Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-07-22T14:19:01.735Z] ---> Running in 1a843e5d8aae [2020-07-22T14:19:02.008Z] Removing intermediate container 1a843e5d8aae [2020-07-22T14:19:02.008Z] ---> f5e8282fe28d [2020-07-22T14:19:02.008Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-07-22T14:19:02.281Z] ---> Running in 935439c6a9d0 [2020-07-22T14:19:02.555Z] Removing intermediate container 935439c6a9d0 [2020-07-22T14:19:02.555Z] ---> ffe8a14220a6 [2020-07-22T14:19:02.555Z] Step 13/15 : LABEL arch=arm64 [2020-07-22T14:19:02.828Z] ---> Running in 939688531dbb [2020-07-22T14:19:03.424Z] Removing intermediate container 939688531dbb [2020-07-22T14:19:03.424Z] ---> 49af5c786104 [2020-07-22T14:19:03.424Z] Step 14/15 : LABEL git_sha=08585c64de824795960e0f3fb8f2f367ac1ac986 [2020-07-22T14:19:03.424Z] ---> Running in 6bb353aabe99 [2020-07-22T14:19:04.020Z] Removing intermediate container 6bb353aabe99 [2020-07-22T14:19:04.020Z] ---> a19d33fe4fb4 [2020-07-22T14:19:04.020Z] Step 15/15 : LABEL version=0.0.0 [2020-07-22T14:19:04.020Z] ---> Running in e8e81ff94a61 [2020-07-22T14:19:04.613Z] Removing intermediate container e8e81ff94a61 [2020-07-22T14:19:04.613Z] ---> 96996d26d1a4 [2020-07-22T14:19:04.613Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2020-07-22T14:19:04.613Z] Successfully built 96996d26d1a4 [2020-07-22T14:19:04.613Z] 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-22T14:19:07.619Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-22T14:19:08.213Z] ---> package-listing.sh [2020-07-22T14:19:08.213Z] ++ facter osfamily [2020-07-22T14:19:08.213Z] ++ tr '[:upper:]' '[:lower:]' [2020-07-22T14:19:08.213Z] + OS_FAMILY=redhat [2020-07-22T14:19:08.213Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-282 [2020-07-22T14:19:08.213Z] + START_PACKAGES=/tmp/packages_start.txt [2020-07-22T14:19:08.213Z] + END_PACKAGES=/tmp/packages_end.txt [2020-07-22T14:19:08.213Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-07-22T14:19:08.213Z] + PACKAGES=/tmp/packages_start.txt [2020-07-22T14:19:08.213Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-282 ']' [2020-07-22T14:19:08.213Z] + PACKAGES=/tmp/packages_end.txt [2020-07-22T14:19:08.213Z] + case "${OS_FAMILY}" in [2020-07-22T14:19:08.213Z] + rpm -qa [2020-07-22T14:19:08.213Z] + sort [2020-07-22T14:19:12.425Z] + '[' -f /tmp/packages_start.txt ']' [2020-07-22T14:19:12.425Z] + '[' -f /tmp/packages_end.txt ']' [2020-07-22T14:19:12.425Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-07-22T14:19:12.425Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-282 ']' [2020-07-22T14:19:12.425Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-282/archives/ [2020-07-22T14:19:12.425Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-282/archives/ [Pipeline] isUnix [Pipeline] sh [2020-07-22T14:19:13.038Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-22T14:19:13.038Z] [2020-07-22T14:19:13.038Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-07-22T14:19:13.453Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-22T14:19:13.453Z] alpine: Pulling from edgex-lftools-log-publisher [2020-07-22T14:19:13.453Z] c9b1b535fdd9: Pulling fs layer [2020-07-22T14:19:13.453Z] 2cc5ad85d9ab: Pulling fs layer [2020-07-22T14:19:13.453Z] 756a868c4378: Pulling fs layer [2020-07-22T14:19:13.453Z] 444b2fc9a129: Pulling fs layer [2020-07-22T14:19:13.453Z] ea15f1150254: Pulling fs layer [2020-07-22T14:19:13.453Z] 41b27a9f41bf: Pulling fs layer [2020-07-22T14:19:13.453Z] 28c525ee5125: Pulling fs layer [2020-07-22T14:19:13.453Z] 094b1ea09ed8: Pulling fs layer [2020-07-22T14:19:13.453Z] 138eaada9080: Pulling fs layer [2020-07-22T14:19:13.453Z] 0622d0fa9048: Pulling fs layer [2020-07-22T14:19:13.453Z] 444b2fc9a129: Waiting [2020-07-22T14:19:13.453Z] ea15f1150254: Waiting [2020-07-22T14:19:13.453Z] 41b27a9f41bf: Waiting [2020-07-22T14:19:13.453Z] 28c525ee5125: Waiting [2020-07-22T14:19:13.453Z] 094b1ea09ed8: Waiting [2020-07-22T14:19:13.453Z] 138eaada9080: Waiting [2020-07-22T14:19:13.453Z] 0622d0fa9048: Waiting [2020-07-22T14:19:13.453Z] 2cc5ad85d9ab: Download complete [2020-07-22T14:19:13.453Z] 444b2fc9a129: Verifying Checksum [2020-07-22T14:19:13.453Z] 444b2fc9a129: Download complete [2020-07-22T14:19:13.453Z] c9b1b535fdd9: Verifying Checksum [2020-07-22T14:19:13.453Z] c9b1b535fdd9: Download complete [2020-07-22T14:19:13.453Z] ea15f1150254: Verifying Checksum [2020-07-22T14:19:13.453Z] ea15f1150254: Download complete [2020-07-22T14:19:13.731Z] 28c525ee5125: Verifying Checksum [2020-07-22T14:19:13.731Z] 28c525ee5125: Download complete [2020-07-22T14:19:14.004Z] 756a868c4378: Verifying Checksum [2020-07-22T14:19:14.004Z] 756a868c4378: Download complete [2020-07-22T14:19:14.004Z] 094b1ea09ed8: Download complete [2020-07-22T14:19:14.004Z] 138eaada9080: Verifying Checksum [2020-07-22T14:19:14.004Z] 138eaada9080: Download complete [2020-07-22T14:19:14.004Z] c9b1b535fdd9: Pull complete [2020-07-22T14:19:14.004Z] 0622d0fa9048: Download complete [2020-07-22T14:19:14.594Z] 2cc5ad85d9ab: Pull complete [2020-07-22T14:19:14.594Z] 41b27a9f41bf: Verifying Checksum [2020-07-22T14:19:14.594Z] 41b27a9f41bf: Download complete [2020-07-22T14:19:15.987Z] 756a868c4378: Pull complete [2020-07-22T14:19:15.987Z] 444b2fc9a129: Pull complete [2020-07-22T14:19:16.248Z] ea15f1150254: Pull complete [2020-07-22T14:19:20.477Z] 41b27a9f41bf: Pull complete [2020-07-22T14:19:20.477Z] 28c525ee5125: Pull complete [2020-07-22T14:19:23.032Z] 094b1ea09ed8: Pull complete [2020-07-22T14:19:23.032Z] 138eaada9080: Pull complete [2020-07-22T14:19:23.032Z] 0622d0fa9048: Pull complete [2020-07-22T14:19:23.032Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-07-22T14:19:23.032Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-22T14:19:23.032Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-07-22T14:19:23.211Z] prd-centos7-docker-4c-2g-586 does not seem to be running inside a container [2020-07-22T14:19:23.247Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/edgexfoundry_device-sdk-c_PR-282 -v /w/workspace/edgexfoundry_device-sdk-c_PR-282:/w/workspace/edgexfoundry_device-sdk-c_PR-282:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-282@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-282@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-07-22T14:19:27.255Z] $ docker top 2e1f1d5f028b21d80add65f396665cd44c6ab6b5e6b6911699b4a578f39f8be7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-07-22T14:19:27.598Z] provisioning config files... [2020-07-22T14:19:27.616Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-282@tmp/config6362361110605699044tmp [Pipeline] { [Pipeline] echo [2020-07-22T14:19:27.714Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-22T14:19:28.033Z] ---> create-netrc.sh [Pipeline] echo [2020-07-22T14:19:28.058Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-22T14:19:28.378Z] ---> logs-deploy.sh [2020-07-22T14:19:28.378Z] + ARCHIVE_ARTIFACTS= [2020-07-22T14:19:28.378Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-07-22T14:19:28.378Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-07-22T14:19:28.378Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-07-22T14:19:28.378Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-282/1 [2020-07-22T14:19:28.378Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-282/1/ [2020-07-22T14:19:28.378Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-282/1 /w/workspace/edgexfoundry_device-sdk-c_PR-282 [2020-07-22T14:19:29.764Z] Archives upload complete. [2020-07-22T14:19:29.764Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-282/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-282/1/ [2020-07-22T14:19:30.334Z] ---> uname -a: [2020-07-22T14:19:30.334Z] Linux 2e1f1d5f028b 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux [2020-07-22T14:19:30.334Z] [2020-07-22T14:19:30.334Z]