Pull request #269 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 9a1a9a8812dd079c3cf1db19503d1d5516cf1e0c+5142e0cccf64cca4c4d94b6be2ac864e1bed3a5b (21d021c0ae3a110ce680ac684724730d105e2345) 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 370697454611dc68c0596e0d0a50477a8de841a8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 370697454611dc68c0596e0d0a50477a8de841a8 using credential edgex-jenkins-ssh 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-269/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 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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 Running on prd-centos7-docker-4c-2g-3033 in /w/workspace/edgexfoundry_device-sdk-c_PR-269 [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-269 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Fetching without tags > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/269/head:refs/remotes/origin/PR-269 +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/269/head:refs/remotes/origin/PR-269 # 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/269/head:refs/remotes/origin/PR-269 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 5142e0cccf64cca4c4d94b6be2ac864e1bed3a5b into PR head commit 9a1a9a8812dd079c3cf1db19503d1d5516cf1e0c Merge succeeded, producing 9a1a9a8812dd079c3cf1db19503d1d5516cf1e0c Checking out Revision 9a1a9a8812dd079c3cf1db19503d1d5516cf1e0c (PR-269) > git config core.sparsecheckout # timeout=10 > git checkout -f 9a1a9a8812dd079c3cf1db19503d1d5516cf1e0c # 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 5142e0cccf64cca4c4d94b6be2ac864e1bed3a5b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9a1a9a8812dd079c3cf1db19503d1d5516cf1e0c # timeout=10 Commit message: "feat: Move to Alpine version 3.11" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-06-15T15:52:47.248Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-06-15T15:52:47.452Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-06-15T15:52:47.556Z] ========================================================= [2020-06-15T15:52:47.556Z] EdgeX Global Pipelines Version Info [2020-06-15T15:52:47.556Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-06-15T15:52:49.806Z] ------------------- [2020-06-15T15:52:49.806Z] stable info: [2020-06-15T15:52:49.806Z] ------------------- [2020-06-15T15:52:49.806Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-06-15T15:52:49.806Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-15T15:52:49.806Z] Message: update stable to v1.0.89 [2020-06-15T15:52:50.768Z] ------------------- [2020-06-15T15:52:50.768Z] experimental info: [2020-06-15T15:52:50.768Z] ------------------- [2020-06-15T15:52:50.768Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-06-15T15:52:50.768Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-15T15:52:50.768Z] Message: update experimental to v1.0.89 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-06-15T15:52:52.746Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-15T15:52:53.023Z] [2020-06-15T15:52:53.023Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-06-15T15:52:53.442Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-15T15:52:53.442Z] latest: Pulling from edgex-devops/git-semver [2020-06-15T15:52:53.442Z] 9123ac7c32f7: Pulling fs layer [2020-06-15T15:52:53.442Z] b8cc5d1170e3: Pulling fs layer [2020-06-15T15:52:53.442Z] 2924cbbf6a41: Pulling fs layer [2020-06-15T15:52:53.442Z] 93b08a4f1073: Pulling fs layer [2020-06-15T15:52:53.783Z] b8cc5d1170e3: Download complete [2020-06-15T15:52:53.783Z] 9123ac7c32f7: Download complete [2020-06-15T15:52:54.081Z] 93b08a4f1073: Verifying Checksum [2020-06-15T15:52:54.081Z] 93b08a4f1073: Download complete [2020-06-15T15:52:54.081Z] 2924cbbf6a41: Verifying Checksum [2020-06-15T15:52:54.081Z] 2924cbbf6a41: Download complete [2020-06-15T15:52:54.376Z] 9123ac7c32f7: Pull complete [2020-06-15T15:52:54.645Z] b8cc5d1170e3: Pull complete [2020-06-15T15:52:56.681Z] 2924cbbf6a41: Pull complete [2020-06-15T15:52:56.951Z] 93b08a4f1073: Pull complete [2020-06-15T15:52:56.951Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-06-15T15:52:56.951Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-15T15:52:56.951Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-06-15T15:52:57.189Z] prd-centos7-docker-4c-2g-3033 does not seem to be running inside a container [2020-06-15T15:52:57.361Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-269 -v /w/workspace/edgexfoundry_device-sdk-c_PR-269:/w/workspace/edgexfoundry_device-sdk-c_PR-269:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-269@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-269@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-06-15T15:52:59.969Z] $ docker top f3c7994d130bc6187ab3347f039ed8c3bdb771907f906ea0868d6b9c60edd899 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-06-15T15:53:00.305Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-15T15:53:00.305Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-15T15:53:00.604Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-15T15:53:00.629Z] $ docker exec f3c7994d130bc6187ab3347f039ed8c3bdb771907f906ea0868d6b9c60edd899 ssh-agent [2020-06-15T15:53:00.937Z] SSH_AUTH_SOCK=/tmp/ssh-rG1IKtTRQxrC/agent.11 [2020-06-15T15:53:00.937Z] SSH_AGENT_PID=16 [2020-06-15T15:53:00.955Z] Running ssh-add (command line suppressed) [2020-06-15T15:53:01.159Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-269@tmp/private_key_4764428400962808174.key (/w/workspace/edgexfoundry_device-sdk-c_PR-269@tmp/private_key_4764428400962808174.key) [2020-06-15T15:53:01.272Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-15T15:53:01.650Z] + git describe --exact-match --tags HEAD [2020-06-15T15:53:01.650Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-06-15T15:53:01.770Z] $ docker exec --env ******** --env ******** f3c7994d130bc6187ab3347f039ed8c3bdb771907f906ea0868d6b9c60edd899 ssh-agent -k [2020-06-15T15:53:01.953Z] unset SSH_AUTH_SOCK; [2020-06-15T15:53:01.959Z] unset SSH_AGENT_PID; [2020-06-15T15:53:01.959Z] echo Agent pid 16 killed; [2020-06-15T15:53:02.022Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-06-15T15:53:02.132Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-06-15T15:53:02.132Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-06-15T15:53:02.198Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-15T15:53:02.198Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-15T15:53:02.407Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-15T15:53:02.413Z] $ docker exec f3c7994d130bc6187ab3347f039ed8c3bdb771907f906ea0868d6b9c60edd899 ssh-agent [2020-06-15T15:53:02.686Z] SSH_AUTH_SOCK=/tmp/ssh-EM7PWdXNnwwr/agent.46 [2020-06-15T15:53:02.687Z] SSH_AGENT_PID=52 [2020-06-15T15:53:02.698Z] Running ssh-add (command line suppressed) [2020-06-15T15:53:02.857Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-269@tmp/private_key_4754510781701879684.key (/w/workspace/edgexfoundry_device-sdk-c_PR-269@tmp/private_key_4754510781701879684.key) [2020-06-15T15:53:02.922Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-15T15:53:03.309Z] + git semver init [2020-06-15T15:53:03.309Z] # -> Open(): unable to determine branch for HEAD [2020-06-15T15:53:03.309Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-269/.git [2020-06-15T15:53:03.309Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-269 [2020-06-15T15:53:03.309Z] # $SEMVER_REMOTE_NAME = origin [2020-06-15T15:53:03.309Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-06-15T15:53:03.309Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-06-15T15:53:03.309Z] # $SEMVER_BRANCH = PR-269 [2020-06-15T15:53:03.309Z] # $SEMVER_TEMP = /tmp/semver-714080241 [2020-06-15T15:53:03.309Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2020-06-15T15:53:04.751Z] # '/tmp/semver-714080241' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-269/.semver' [2020-06-15T15:53:04.751Z] # -> Force: false [2020-06-15T15:53:04.751Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-269/.semver [Pipeline] } [2020-06-15T15:53:04.777Z] $ docker exec --env ******** --env ******** f3c7994d130bc6187ab3347f039ed8c3bdb771907f906ea0868d6b9c60edd899 ssh-agent -k [2020-06-15T15:53:04.964Z] unset SSH_AUTH_SOCK; [2020-06-15T15:53:04.971Z] unset SSH_AGENT_PID; [2020-06-15T15:53:04.971Z] echo Agent pid 52 killed; [2020-06-15T15:53:04.999Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-06-15T15:53:05.502Z] + git semver [Pipeline] } [2020-06-15T15:53:05.547Z] $ docker stop --time=1 f3c7994d130bc6187ab3347f039ed8c3bdb771907f906ea0868d6b9c60edd899 [2020-06-15T15:53:07.176Z] $ docker rm -f f3c7994d130bc6187ab3347f039ed8c3bdb771907f906ea0868d6b9c60edd899 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-06-15T15:53:08.328Z] Stashed 49 file(s) [Pipeline] echo [2020-06-15T15:53:08.344Z] [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-06-15T15:53:08.900Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3048 in /w/workspace/edgexfoundry_device-sdk-c_PR-269 [Pipeline] { [Pipeline] ws [2020-06-15T15:53:08.951Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2020-06-15T15:53:13.597Z] using credential edgex-jenkins-ssh [2020-06-15T15:53:13.628Z] Cloning the remote Git repository [2020-06-15T15:53:13.628Z] Cloning with configured refspecs honoured and without tags [2020-06-15T15:53:13.652Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-06-15T15:53:13.755Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2020-06-15T15:53:13.819Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-06-15T15:53:13.819Z] > git --version # timeout=10 [2020-06-15T15:53:13.836Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-15T15:53:13.909Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/269/head:refs/remotes/origin/PR-269 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-15T15:53:14.879Z] Fetching without tags [2020-06-15T15:53:14.768Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-06-15T15:53:14.785Z] > git config --add remote.origin.fetch +refs/pull/269/head:refs/remotes/origin/PR-269 # timeout=10 [2020-06-15T15:53:14.809Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-15T15:53:14.834Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-06-15T15:53:14.865Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-06-15T15:53:14.865Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-15T15:53:14.881Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/269/head:refs/remotes/origin/PR-269 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-15T15:53:15.377Z] Merging remotes/origin/master commit 5142e0cccf64cca4c4d94b6be2ac864e1bed3a5b into PR head commit 9a1a9a8812dd079c3cf1db19503d1d5516cf1e0c [2020-06-15T15:53:15.579Z] Merge succeeded, producing 9a1a9a8812dd079c3cf1db19503d1d5516cf1e0c [2020-06-15T15:53:15.579Z] Checking out Revision 9a1a9a8812dd079c3cf1db19503d1d5516cf1e0c (PR-269) [2020-06-15T15:53:15.368Z] > git config core.sparsecheckout # timeout=10 [2020-06-15T15:53:15.383Z] > git checkout -f 9a1a9a8812dd079c3cf1db19503d1d5516cf1e0c # timeout=10 [2020-06-15T15:53:15.481Z] > git remote # timeout=10 [2020-06-15T15:53:15.494Z] > git config --get remote.origin.url # timeout=10 [2020-06-15T15:53:15.507Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-15T15:53:15.518Z] > git merge 5142e0cccf64cca4c4d94b6be2ac864e1bed3a5b # timeout=10 [2020-06-15T15:53:15.538Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-06-15T15:53:15.558Z] > git config core.sparsecheckout # timeout=10 [2020-06-15T15:53:15.576Z] > git checkout -f 9a1a9a8812dd079c3cf1db19503d1d5516cf1e0c # timeout=10 [2020-06-15T15:53:20.043Z] Commit message: "feat: Move to Alpine version 3.11" [2020-06-15T15:53:20.074Z] > git --version # timeout=10 [2020-06-15T15:53:20.108Z] fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-06-15T15:53:21.425Z] ========================================================= [2020-06-15T15:53:21.425Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2020-06-15T15:53:21.425Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-15T15:53:22.413Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-3.11-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2020-06-15T15:53:23.406Z] Sending build context to Docker daemon 3.271MB [2020-06-15T15:53:23.406Z] Step 1/21 : ARG BASE=alpine:3.11 [2020-06-15T15:53:23.406Z] Step 2/21 : FROM ${BASE} as builder [2020-06-15T15:53:23.691Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2020-06-15T15:53:23.691Z] 0362ad1dd800: Pulling fs layer [2020-06-15T15:53:23.691Z] f2cdb1532d8b: Pulling fs layer [2020-06-15T15:53:23.691Z] 37ed683be191: Pulling fs layer [2020-06-15T15:53:23.691Z] f2cdb1532d8b: Verifying Checksum [2020-06-15T15:53:23.691Z] f2cdb1532d8b: Download complete [2020-06-15T15:53:23.703Z] Still waiting to schedule task [2020-06-15T15:53:23.703Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-06-15T15:53:23.967Z] 0362ad1dd800: Verifying Checksum [2020-06-15T15:53:23.967Z] 0362ad1dd800: Download complete [2020-06-15T15:53:24.569Z] 0362ad1dd800: Pull complete [2020-06-15T15:53:24.842Z] f2cdb1532d8b: Pull complete [2020-06-15T15:53:26.282Z] 37ed683be191: Verifying Checksum [2020-06-15T15:53:26.282Z] 37ed683be191: Download complete [2020-06-15T15:53:36.475Z] 37ed683be191: Pull complete [2020-06-15T15:53:36.475Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2020-06-15T15:53:36.475Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2020-06-15T15:53:36.475Z] ---> b23d30803547 [2020-06-15T15:53:36.475Z] Step 3/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev [2020-06-15T15:53:36.750Z] ---> Running in 92ab26ce7426 [2020-06-15T15:53:39.383Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-06-15T15:53:39.985Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-06-15T15:53:40.582Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-06-15T15:53:40.582Z] (2/8) Installing libuuid (2.33-r0) [2020-06-15T15:53:40.582Z] (3/8) Installing libblkid (2.33-r0) [2020-06-15T15:53:40.856Z] (4/8) Installing libfdisk (2.33-r0) [2020-06-15T15:53:41.127Z] (5/8) Installing libmount (2.33-r0) [2020-06-15T15:53:41.127Z] (6/8) Installing libsmartcols (2.33-r0) [2020-06-15T15:53:41.401Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-06-15T15:53:42.000Z] (8/8) Installing wget (1.20.3-r0) [2020-06-15T15:53:42.000Z] Executing busybox-1.29.3-r10.trigger [2020-06-15T15:53:42.000Z] OK: 285 MiB in 83 packages [2020-06-15T15:53:43.975Z] Removing intermediate container 92ab26ce7426 [2020-06-15T15:53:43.975Z] ---> b819e0ce6956 [2020-06-15T15:53:43.975Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-06-15T15:53:43.975Z] ---> Running in b7d79bd8b25e [2020-06-15T15:53:44.259Z] Removing intermediate container b7d79bd8b25e [2020-06-15T15:53:44.259Z] ---> c81d7b20d9d8 [2020-06-15T15:53:44.259Z] Step 5/21 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2020-06-15T15:53:44.259Z] ---> Running in 0209d9cf5260 [2020-06-15T15:53:45.704Z] --2020-06-15 15:53:45-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-06-15T15:53:45.704Z] Resolving github.com... 140.82.113.4 [2020-06-15T15:53:45.704Z] Connecting to github.com|140.82.113.4|:443... connected. [2020-06-15T15:53:45.974Z] HTTP request sent, awaiting response... 302 Found [2020-06-15T15:53:45.974Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-06-15T15:53:45.974Z] --2020-06-15 15:53:45-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-06-15T15:53:45.974Z] Resolving codeload.github.com... 140.82.114.10 [2020-06-15T15:53:45.974Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2020-06-15T15:53:46.248Z] HTTP request sent, awaiting response... 200 OK [2020-06-15T15:53:46.248Z] Length: unspecified [application/x-gzip] [2020-06-15T15:53:46.248Z] Saving to: 'STDOUT' [2020-06-15T15:53:46.248Z]  [2020-06-15T15:53:46.248Z] 0K .......... .......... .......... .......... .......... 1.51M [2020-06-15T15:53:46.248Z] 50K .......... .......... .......... .......... .......... 2.86M [2020-06-15T15:53:46.248Z] 100K .......... .......... .......... .......... .......... 14.1M [2020-06-15T15:53:46.248Z] 150K .......... .......... .......... .......... .......... 3.18M [2020-06-15T15:53:46.248Z] 200K .......... .......... .......... .......... .......... 13.0M [2020-06-15T15:53:46.248Z] 250K .......... .......... .......... .......... .......... 2.93M [2020-06-15T15:53:46.248Z] 300K .......... .......... .......... .......... .......... 6.77M [2020-06-15T15:53:46.248Z] 350K .......... .......... .......... .......... .......... 6.61M [2020-06-15T15:53:46.248Z] 400K .......... .......... .......... .......... .......... 4.91M [2020-06-15T15:53:46.248Z] 450K .......... .......... .......... .......... .......... 5.67M [2020-06-15T15:53:46.248Z] 500K .......... .......... .......... .......... .......... 5.23M [2020-06-15T15:53:46.248Z] 550K .......... .......... .......... .......... .......... 3.54M [2020-06-15T15:53:46.248Z] 600K .......... .......... .......... .......... .......... 775K [2020-06-15T15:53:46.248Z] 650K .......... .......... .......... .......... .......... 2.17M [2020-06-15T15:53:46.248Z] 700K ..     9.21M=0.2s [2020-06-15T15:53:46.248Z] [2020-06-15T15:53:46.248Z] 2020-06-15 15:53:46 (2.95 MB/s) - written to stdout [719348] [2020-06-15T15:53:46.248Z] [2020-06-15T15:53:46.524Z] -- The C compiler identification is GNU 8.3.0 [2020-06-15T15:53:46.797Z] -- The CXX compiler identification is GNU 8.3.0 [2020-06-15T15:53:46.797Z] -- Check for working C compiler: /usr/bin/cc [2020-06-15T15:53:47.073Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-15T15:53:47.073Z] -- Detecting C compiler ABI info [2020-06-15T15:53:47.346Z] -- Detecting C compiler ABI info - done [2020-06-15T15:53:47.346Z] -- Detecting C compile features [2020-06-15T15:53:48.324Z] -- Detecting C compile features - done [2020-06-15T15:53:48.324Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-06-15T15:53:48.324Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-06-15T15:53:48.324Z] -- Detecting CXX compiler ABI info [2020-06-15T15:53:48.597Z] -- Detecting CXX compiler ABI info - done [2020-06-15T15:53:48.873Z] -- Detecting CXX compile features [2020-06-15T15:53:50.319Z] -- Detecting CXX compile features - done [2020-06-15T15:53:50.319Z] -- Looking for include file endian.h [2020-06-15T15:53:50.319Z] -- Looking for include file endian.h - found [2020-06-15T15:53:50.319Z] -- Check if the system is big endian [2020-06-15T15:53:50.319Z] -- Searching 16 bit integer [2020-06-15T15:53:50.591Z] -- Looking for sys/types.h [2020-06-15T15:53:50.591Z] -- Looking for sys/types.h - found [2020-06-15T15:53:50.591Z] -- Looking for stdint.h [2020-06-15T15:53:50.864Z] -- Looking for stdint.h - found [2020-06-15T15:53:50.864Z] -- Looking for stddef.h [2020-06-15T15:53:51.138Z] -- Looking for stddef.h - found [2020-06-15T15:53:51.138Z] -- Check size of unsigned short [2020-06-15T15:53:51.411Z] -- Check size of unsigned short - done [2020-06-15T15:53:51.411Z] -- Using unsigned short [2020-06-15T15:53:51.684Z] -- Check if the system is big endian - little endian [2020-06-15T15:53:51.684Z] -- Check size of size_t [2020-06-15T15:53:51.959Z] -- Check size of size_t - done [2020-06-15T15:53:51.959Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-06-15T15:53:51.959Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-06-15T15:53:51.959Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-06-15T15:53:51.959Z] CMake did not find one. [2020-06-15T15:53:51.959Z] [2020-06-15T15:53:51.959Z] Could not find a package configuration file provided by "cJSON" with any of [2020-06-15T15:53:51.959Z] the following names: [2020-06-15T15:53:51.959Z] [2020-06-15T15:53:51.959Z] cJSONConfig.cmake [2020-06-15T15:53:51.959Z] cjson-config.cmake [2020-06-15T15:53:51.959Z] [2020-06-15T15:53:51.959Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-06-15T15:53:51.959Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-06-15T15:53:51.959Z] provides a separate development package or SDK, be sure it has been [2020-06-15T15:53:51.959Z] installed. [2020-06-15T15:53:51.959Z] [2020-06-15T15:53:51.959Z] [2020-06-15T15:53:51.959Z] -- Configuring done [2020-06-15T15:53:52.233Z] -- Generating done [2020-06-15T15:53:52.233Z] -- Build files have been written to: /tmp/cbor [2020-06-15T15:53:52.233Z] Scanning dependencies of target cbor_shared [2020-06-15T15:53:52.233Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-06-15T15:53:53.210Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-06-15T15:53:53.486Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-06-15T15:53:53.759Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-06-15T15:53:54.357Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-06-15T15:53:54.724Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-06-15T15:53:55.001Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-06-15T15:53:55.001Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-06-15T15:53:55.302Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-06-15T15:53:55.596Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-06-15T15:53:56.197Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-06-15T15:53:56.470Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-06-15T15:53:56.742Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-06-15T15:53:57.015Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-06-15T15:53:57.289Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-06-15T15:53:57.558Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-06-15T15:53:57.830Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-06-15T15:53:58.105Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-06-15T15:53:58.379Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-06-15T15:53:58.651Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-06-15T15:53:58.651Z] [ 40%] Linking C shared library libcbor.so [2020-06-15T15:53:58.926Z] [ 40%] Built target cbor_shared [2020-06-15T15:53:58.926Z] Scanning dependencies of target cbor [2020-06-15T15:53:58.926Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-06-15T15:53:59.524Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-06-15T15:54:00.119Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-06-15T15:54:00.391Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-06-15T15:54:01.370Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-06-15T15:54:01.643Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-06-15T15:54:01.921Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-06-15T15:54:02.210Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-06-15T15:54:02.210Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-06-15T15:54:02.808Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-06-15T15:54:03.404Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-06-15T15:54:03.679Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-06-15T15:54:03.953Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-06-15T15:54:04.227Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-06-15T15:54:04.501Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-06-15T15:54:04.777Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-06-15T15:54:05.049Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-06-15T15:54:05.323Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-06-15T15:54:05.597Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-06-15T15:54:05.871Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-06-15T15:54:06.148Z] [ 80%] Linking C static library libcbor.a [2020-06-15T15:54:06.148Z] [ 80%] Built target cbor [2020-06-15T15:54:06.148Z] Scanning dependencies of target create_items [2020-06-15T15:54:06.148Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-06-15T15:54:06.420Z] [ 84%] Linking C executable create_items [2020-06-15T15:54:06.420Z] [ 84%] Built target create_items [2020-06-15T15:54:06.420Z] Scanning dependencies of target readfile [2020-06-15T15:54:06.420Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-06-15T15:54:06.693Z] [ 88%] Linking C executable readfile [2020-06-15T15:54:06.693Z] [ 88%] Built target readfile [2020-06-15T15:54:06.693Z] Scanning dependencies of target streaming_parser [2020-06-15T15:54:06.693Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-06-15T15:54:06.965Z] [ 92%] Linking C executable streaming_parser [2020-06-15T15:54:06.965Z] [ 92%] Built target streaming_parser [2020-06-15T15:54:07.237Z] Scanning dependencies of target sort [2020-06-15T15:54:07.237Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-06-15T15:54:07.237Z] [ 96%] Linking C executable sort [2020-06-15T15:54:07.511Z] [ 96%] Built target sort [2020-06-15T15:54:07.511Z] Scanning dependencies of target hello [2020-06-15T15:54:07.511Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-06-15T15:54:07.511Z] [100%] Linking C executable hello [2020-06-15T15:54:07.783Z] [100%] Built target hello [2020-06-15T15:54:07.783Z] Install the project... [2020-06-15T15:54:07.783Z] -- Install configuration: "Release" [2020-06-15T15:54:07.783Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-06-15T15:54:07.783Z] -- Installing: /usr/local/lib64/libcbor.a [2020-06-15T15:54:07.783Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-06-15T15:54:07.783Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-06-15T15:54:07.783Z] -- Installing: /usr/local/lib64/libcbor.so [2020-06-15T15:54:07.783Z] -- Up-to-date: /usr/local/include/cbor [2020-06-15T15:54:07.783Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-06-15T15:54:07.783Z] -- Installing: /usr/local/include/cbor/ints.h [2020-06-15T15:54:07.783Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-06-15T15:54:07.783Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-06-15T15:54:07.783Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-06-15T15:54:07.783Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-06-15T15:54:07.783Z] -- Installing: /usr/local/include/cbor/data.h [2020-06-15T15:54:07.783Z] -- Installing: /usr/local/include/cbor/common.h [2020-06-15T15:54:07.783Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-06-15T15:54:07.783Z] -- Installing: /usr/local/include/cbor/strings.h [2020-06-15T15:54:07.783Z] -- Installing: /usr/local/include/cbor/tags.h [2020-06-15T15:54:07.783Z] -- Installing: /usr/local/include/cbor/internal [2020-06-15T15:54:07.783Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-06-15T15:54:07.783Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-06-15T15:54:07.783Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-06-15T15:54:07.783Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-06-15T15:54:07.783Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-06-15T15:54:07.783Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-06-15T15:54:07.783Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-06-15T15:54:07.783Z] -- Installing: /usr/local/include/cbor/maps.h [2020-06-15T15:54:07.783Z] -- Installing: /usr/local/include/cbor.h [2020-06-15T15:54:07.783Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-06-15T15:54:09.762Z] Removing intermediate container 0209d9cf5260 [2020-06-15T15:54:09.762Z] ---> 533881b8d5c2 [2020-06-15T15:54:09.762Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-06-15T15:54:10.034Z] ---> Running in 26ce6bf78d86 [2020-06-15T15:54:12.651Z] Removing intermediate container 26ce6bf78d86 [2020-06-15T15:54:12.651Z] ---> 91c41348c3f2 [2020-06-15T15:54:12.651Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-06-15T15:54:12.925Z] ---> e35ec4ae8b9f [2020-06-15T15:54:12.925Z] Step 8/21 : COPY src /tmp/sdk/src [2020-06-15T15:54:13.904Z] ---> c5f44dd3fcd7 [2020-06-15T15:54:13.904Z] Step 9/21 : COPY include /tmp/sdk/include [2020-06-15T15:54:14.499Z] ---> 6f4957aadabd [2020-06-15T15:54:14.499Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-06-15T15:54:15.092Z] ---> 403bc9900ad0 [2020-06-15T15:54:15.092Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-06-15T15:54:15.689Z] ---> 176cdd43d2ef [2020-06-15T15:54:15.689Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-06-15T15:54:16.289Z] ---> e273ae6b989a [2020-06-15T15:54:16.289Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-06-15T15:54:16.567Z] ---> Running in aa9183613178 [2020-06-15T15:54:17.996Z] + CPPCHECK=false [2020-06-15T15:54:17.996Z] + DOCGEN=false [2020-06-15T15:54:17.996Z] + TOMLVER=SDK-0.2 [2020-06-15T15:54:17.996Z] + CUTILVER=1.0.4 [2020-06-15T15:54:17.996Z] + '[' 0 -gt 0 ] [2020-06-15T15:54:17.996Z] + readlink -f ./scripts/build.sh [2020-06-15T15:54:17.996Z] + dirname /tmp/sdk/scripts/build.sh [2020-06-15T15:54:17.996Z] + dirname /tmp/sdk/scripts [2020-06-15T15:54:17.996Z] + ROOT=/tmp/sdk [2020-06-15T15:54:17.996Z] + cd /tmp/sdk [2020-06-15T15:54:17.996Z] + '[' '!' -d deps ] [2020-06-15T15:54:17.996Z] + mkdir deps [2020-06-15T15:54:17.996Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-06-15T15:54:17.996Z] + tar -C deps -z -x -f - [2020-06-15T15:54:17.996Z] --2020-06-15 15:54:17-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-06-15T15:54:17.996Z] Resolving github.com... 140.82.113.4 [2020-06-15T15:54:17.996Z] Connecting to github.com|140.82.113.4|:443... connected. [2020-06-15T15:54:18.275Z] HTTP request sent, awaiting response... 302 Found [2020-06-15T15:54:18.275Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-06-15T15:54:18.275Z] --2020-06-15 15:54:18-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-06-15T15:54:18.275Z] Resolving codeload.github.com... 140.82.114.10 [2020-06-15T15:54:18.275Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2020-06-15T15:54:18.275Z] HTTP request sent, awaiting response... 200 OK [2020-06-15T15:54:18.275Z] Length: unspecified [application/x-gzip] [2020-06-15T15:54:18.275Z] Saving to: 'STDOUT' [2020-06-15T15:54:18.275Z]  [2020-06-15T15:54:18.275Z] 0K .......... ......  1.01M=0.02s [2020-06-15T15:54:18.275Z] [2020-06-15T15:54:18.275Z] 2020-06-15 15:54:18 (1.01 MB/s) - written to stdout [16451] [2020-06-15T15:54:18.275Z] [2020-06-15T15:54:18.275Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-06-15T15:54:18.275Z] + + tar -C deps -z -x -f - [2020-06-15T15:54:18.275Z] wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-06-15T15:54:18.275Z] --2020-06-15 15:54:18-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-06-15T15:54:18.548Z] Resolving github.com... 140.82.113.4 [2020-06-15T15:54:18.548Z] Connecting to github.com|140.82.113.4|:443... connected. [2020-06-15T15:54:18.548Z] HTTP request sent, awaiting response... 302 Found [2020-06-15T15:54:18.548Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] [2020-06-15T15:54:18.548Z] --2020-06-15 15:54:18-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [2020-06-15T15:54:18.548Z] Resolving codeload.github.com... 140.82.114.10 [2020-06-15T15:54:18.548Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2020-06-15T15:54:18.823Z] HTTP request sent, awaiting response... 200 OK [2020-06-15T15:54:18.823Z] Length: unspecified [application/x-gzip] [2020-06-15T15:54:18.823Z] Saving to: 'STDOUT' [2020-06-15T15:54:18.823Z]  [2020-06-15T15:54:18.823Z] 0K .......... .......... .......... .......... .......... 1.53M [2020-06-15T15:54:18.823Z] 50K .......... .......... .......... .......... .......... 2.94M [2020-06-15T15:54:18.823Z] 100K .......... .......... .......... .......... .......... 4.20M [2020-06-15T15:54:18.823Z] 150K ........  4.65M=0.06s [2020-06-15T15:54:18.823Z] [2020-06-15T15:54:18.823Z] 2020-06-15 15:54:18 (2.49 MB/s) - written to stdout [162267] [2020-06-15T15:54:18.823Z] [2020-06-15T15:54:18.823Z] + mkdir -p src/c/iot [2020-06-15T15:54:18.823Z] + cp deps/iotech-c-utils-1.0.4/src/c/base64.c deps/iotech-c-utils-1.0.4/src/c/component.c deps/iotech-c-utils-1.0.4/src/c/container.c deps/iotech-c-utils-1.0.4/src/c/data.c deps/iotech-c-utils-1.0.4/src/c/hash.c deps/iotech-c-utils-1.0.4/src/c/iot.c deps/iotech-c-utils-1.0.4/src/c/json.c deps/iotech-c-utils-1.0.4/src/c/logger.c deps/iotech-c-utils-1.0.4/src/c/os.c deps/iotech-c-utils-1.0.4/src/c/scheduler.c deps/iotech-c-utils-1.0.4/src/c/thread.c deps/iotech-c-utils-1.0.4/src/c/threadpool.c deps/iotech-c-utils-1.0.4/src/c/time.c src/c/iot [2020-06-15T15:54:18.823Z] + mkdir -p include/iot [2020-06-15T15:54:18.823Z] + cp deps/iotech-c-utils-1.0.4/include/iot/base64.h deps/iotech-c-utils-1.0.4/include/iot/component.h deps/iotech-c-utils-1.0.4/include/iot/container.h deps/iotech-c-utils-1.0.4/include/iot/data.h deps/iotech-c-utils-1.0.4/include/iot/hash.h deps/iotech-c-utils-1.0.4/include/iot/iot.h deps/iotech-c-utils-1.0.4/include/iot/json.h deps/iotech-c-utils-1.0.4/include/iot/logger.h deps/iotech-c-utils-1.0.4/include/iot/os.h deps/iotech-c-utils-1.0.4/include/iot/scheduler.h deps/iotech-c-utils-1.0.4/include/iot/thread.h deps/iotech-c-utils-1.0.4/include/iot/threadpool.h deps/iotech-c-utils-1.0.4/include/iot/time.h deps/iotech-c-utils-1.0.4/include/iot/typecode.h include/iot [2020-06-15T15:54:18.823Z] + mkdir -p include/iot/os [2020-06-15T15:54:18.823Z] + cp deps/iotech-c-utils-1.0.4/include/iot/os/linux.h deps/iotech-c-utils-1.0.4/include/iot/os/zephyr.h include/iot/os [2020-06-15T15:54:18.823Z] + mkdir -p /tmp/sdk/build/release [2020-06-15T15:54:18.823Z] + cd /tmp/sdk/build/release [2020-06-15T15:54:18.823Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-06-15T15:54:19.096Z] -- The C compiler identification is GNU 8.3.0 [2020-06-15T15:54:19.370Z] -- Check for working C compiler: /usr/bin/cc [2020-06-15T15:54:19.370Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-15T15:54:19.370Z] -- Detecting C compiler ABI info [2020-06-15T15:54:19.641Z] -- Detecting C compiler ABI info - done [2020-06-15T15:54:19.641Z] -- Detecting C compile features [2020-06-15T15:54:20.618Z] -- Detecting C compile features - done [2020-06-15T15:54:20.618Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-06-15T15:54:20.618Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-06-15T15:54:20.618Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-06-15T15:54:20.618Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-06-15T15:54:20.618Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-06-15T15:54:20.618Z] -- C SDK 0.0.0 for Linux [2020-06-15T15:54:20.618Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-06-15T15:54:20.893Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-06-15T15:54:20.893Z] -- Found Curses: /usr/lib/libcurses.so [2020-06-15T15:54:20.893Z] -- Configuring done [2020-06-15T15:54:21.165Z] -- Generating done [2020-06-15T15:54:21.165Z] -- Build files have been written to: /tmp/sdk/build/release [2020-06-15T15:54:21.165Z] + + teemake release.log [2020-06-15T15:54:21.165Z] [2020-06-15T15:54:21.165Z] Scanning dependencies of target csdk [2020-06-15T15:54:21.439Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-06-15T15:54:22.036Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-06-15T15:54:22.310Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-06-15T15:54:24.278Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-06-15T15:54:24.871Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-06-15T15:54:24.871Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-06-15T15:54:25.843Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-06-15T15:54:27.812Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-06-15T15:54:28.084Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-06-15T15:54:28.681Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-06-15T15:54:29.277Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-06-15T15:54:29.547Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-06-15T15:54:29.819Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-06-15T15:54:30.094Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-06-15T15:54:33.476Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-06-15T15:54:33.476Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-06-15T15:54:33.757Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-06-15T15:54:34.740Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-06-15T15:54:36.704Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-06-15T15:54:36.704Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-06-15T15:54:36.976Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-06-15T15:54:37.573Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-06-15T15:54:38.168Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-06-15T15:54:38.168Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-06-15T15:54:39.144Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-06-15T15:54:39.416Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-06-15T15:54:40.006Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-06-15T15:54:40.279Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-06-15T15:54:40.550Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-06-15T15:54:41.522Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-06-15T15:54:41.794Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-06-15T15:54:46.081Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-06-15T15:54:46.355Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-06-15T15:54:46.950Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-06-15T15:54:47.548Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-06-15T15:54:48.977Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-06-15T15:54:50.416Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-06-15T15:54:53.801Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-06-15T15:54:54.076Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-06-15T15:54:55.512Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-06-15T15:54:55.783Z] [ 74%] Linking C shared library libcsdk.so [2020-06-15T15:54:56.056Z] [ 74%] Built target csdk [2020-06-15T15:54:56.056Z] Scanning dependencies of target template [2020-06-15T15:54:56.056Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-06-15T15:54:56.648Z] [ 78%] Linking C executable template [2020-06-15T15:54:56.920Z] [ 78%] Built target template [2020-06-15T15:54:56.920Z] Scanning dependencies of target device-counter [2020-06-15T15:54:56.920Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-06-15T15:54:57.511Z] [ 81%] Linking C executable device-counter [2020-06-15T15:54:57.511Z] [ 81%] Built target device-counter [2020-06-15T15:54:57.511Z] Scanning dependencies of target device-random [2020-06-15T15:54:57.511Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-06-15T15:54:58.105Z] [ 85%] Linking C executable device-random [2020-06-15T15:54:58.380Z] [ 85%] Built target device-random [2020-06-15T15:54:58.380Z] Scanning dependencies of target device-gyro [2020-06-15T15:54:58.380Z] [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-06-15T15:54:58.653Z] [ 89%] Linking C executable device-gyro [2020-06-15T15:54:58.925Z] [ 89%] Built target device-gyro [2020-06-15T15:54:58.925Z] Scanning dependencies of target template-discovery [2020-06-15T15:54:58.925Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-06-15T15:54:59.518Z] [ 92%] Linking C executable template-discovery [2020-06-15T15:54:59.791Z] [ 92%] Built target template-discovery [2020-06-15T15:54:59.791Z] Scanning dependencies of target device-terminal [2020-06-15T15:54:59.791Z] [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-06-15T15:55:00.386Z] [ 96%] Linking C executable device-terminal [2020-06-15T15:55:00.659Z] [ 96%] Built target device-terminal [2020-06-15T15:55:00.660Z] Scanning dependencies of target templatev1 [2020-06-15T15:55:00.660Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-06-15T15:55:01.253Z] [100%] Linking C executable templatev1 [2020-06-15T15:55:01.253Z] [100%] Built target templatev1 [2020-06-15T15:55:01.253Z] + + teemake -a package release.log [2020-06-15T15:55:01.253Z] [2020-06-15T15:55:01.525Z] [ 74%] Built target csdk [2020-06-15T15:55:01.525Z] [ 78%] Built target template [2020-06-15T15:55:01.525Z] [ 81%] Built target device-counter [2020-06-15T15:55:01.525Z] [ 85%] Built target device-random [2020-06-15T15:55:01.525Z] [ 89%] Built target device-gyro [2020-06-15T15:55:01.799Z] [ 92%] Built target template-discovery [2020-06-15T15:55:01.799Z] [ 96%] Built target device-terminal [2020-06-15T15:55:01.799Z] [100%] Built target templatev1 [2020-06-15T15:55:01.799Z] Run CPack packaging tool... [2020-06-15T15:55:01.799Z] CPack: Create package using TGZ [2020-06-15T15:55:01.799Z] CPack: Install projects [2020-06-15T15:55:01.799Z] CPack: - Run preinstall target for: Csdk [2020-06-15T15:55:02.393Z] CPack: - Install project: Csdk [2020-06-15T15:55:02.393Z] CPack: Create package [2020-06-15T15:55:02.393Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2020-06-15T15:55:02.393Z] + '[' false '=' true ] [2020-06-15T15:55:02.393Z] + '[' false '=' true ] [2020-06-15T15:55:02.393Z] + mkdir -p /tmp/sdk/build/debug [2020-06-15T15:55:02.393Z] + cd /tmp/sdk/build/debug [2020-06-15T15:55:02.393Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-06-15T15:55:02.665Z] -- The C compiler identification is GNU 8.3.0 [2020-06-15T15:55:02.938Z] -- Check for working C compiler: /usr/bin/cc [2020-06-15T15:55:02.938Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-15T15:55:03.209Z] -- Detecting C compiler ABI info [2020-06-15T15:55:03.209Z] -- Detecting C compiler ABI info - done [2020-06-15T15:55:03.480Z] -- Detecting C compile features [2020-06-15T15:55:04.070Z] -- Detecting C compile features - done [2020-06-15T15:55:04.070Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-06-15T15:55:04.070Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-06-15T15:55:04.070Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-06-15T15:55:04.070Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-06-15T15:55:04.070Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-06-15T15:55:04.070Z] -- C SDK 0.0.0 for Linux [2020-06-15T15:55:04.070Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-06-15T15:55:04.341Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-06-15T15:55:04.341Z] -- Found Curses: /usr/lib/libcurses.so [2020-06-15T15:55:04.613Z] -- Configuring done [2020-06-15T15:55:04.885Z] -- Generating done [2020-06-15T15:55:04.885Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-06-15T15:55:04.885Z] + make [2020-06-15T15:55:04.885Z] + tee debug.log [2020-06-15T15:55:04.885Z] Scanning dependencies of target csdk [2020-06-15T15:55:05.156Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-06-15T15:55:05.432Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-06-15T15:55:05.702Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-06-15T15:55:06.298Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-06-15T15:55:06.572Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-06-15T15:55:06.572Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-06-15T15:55:06.856Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-06-15T15:55:07.448Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-06-15T15:55:07.719Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-06-15T15:55:07.992Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-06-15T15:55:08.267Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-06-15T15:55:08.540Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-06-15T15:55:08.811Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-06-15T15:55:09.089Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-06-15T15:55:10.069Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-06-15T15:55:10.069Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-06-15T15:55:10.340Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-06-15T15:55:10.612Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-06-15T15:55:11.203Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-06-15T15:55:11.475Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-06-15T15:55:11.746Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-06-15T15:55:11.746Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-06-15T15:55:12.016Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-06-15T15:55:12.294Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-06-15T15:55:12.616Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-06-15T15:55:12.616Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-06-15T15:55:13.227Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-06-15T15:55:13.227Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-06-15T15:55:13.507Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-06-15T15:55:14.138Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-06-15T15:55:14.138Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-06-15T15:55:15.610Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-06-15T15:55:15.610Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-06-15T15:55:15.889Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-06-15T15:55:16.162Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-06-15T15:55:17.136Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-06-15T15:55:17.408Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-06-15T15:55:18.383Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-06-15T15:55:18.383Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-06-15T15:55:18.976Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-06-15T15:55:19.248Z] [ 74%] Linking C shared library libcsdk.so [2020-06-15T15:55:19.248Z] [ 74%] Built target csdk [2020-06-15T15:55:19.248Z] Scanning dependencies of target template [2020-06-15T15:55:19.521Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-06-15T15:55:19.521Z] [ 78%] Linking C executable template [2020-06-15T15:55:19.794Z] [ 78%] Built target template [2020-06-15T15:55:19.794Z] Scanning dependencies of target device-counter [2020-06-15T15:55:19.794Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-06-15T15:55:20.066Z] [ 81%] Linking C executable device-counter [2020-06-15T15:55:20.337Z] [ 81%] Built target device-counter [2020-06-15T15:55:20.337Z] Scanning dependencies of target device-random [2020-06-15T15:55:20.337Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-06-15T15:55:20.609Z] [ 85%] Linking C executable device-random [2020-06-15T15:55:20.881Z] [ 85%] Built target device-random [2020-06-15T15:55:20.881Z] Scanning dependencies of target device-gyro [2020-06-15T15:55:20.881Z] [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-06-15T15:55:21.152Z] [ 89%] Linking C executable device-gyro [2020-06-15T15:55:21.425Z] [ 89%] Built target device-gyro [2020-06-15T15:55:21.425Z] Scanning dependencies of target template-discovery [2020-06-15T15:55:21.425Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-06-15T15:55:21.696Z] [ 92%] Linking C executable template-discovery [2020-06-15T15:55:21.967Z] [ 92%] Built target template-discovery [2020-06-15T15:55:21.967Z] Scanning dependencies of target device-terminal [2020-06-15T15:55:21.967Z] [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-06-15T15:55:22.238Z] [ 96%] Linking C executable device-terminal [2020-06-15T15:55:22.511Z] [ 96%] Built target device-terminal [2020-06-15T15:55:22.511Z] Scanning dependencies of target templatev1 [2020-06-15T15:55:22.511Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-06-15T15:55:22.782Z] [100%] Linking C executable templatev1 [2020-06-15T15:55:23.053Z] [100%] Built target templatev1 [2020-06-15T15:55:23.053Z] make: Entering directory '/tmp/sdk/build/release' [2020-06-15T15:55:23.053Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-06-15T15:55:23.053Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-15T15:55:23.053Z] Scanning dependencies of target csdk [2020-06-15T15:55:23.325Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-15T15:55:23.325Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-15T15:55:23.325Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-06-15T15:55:25.286Z] [ 3%] Linking C shared library libcsdk.so [2020-06-15T15:55:25.286Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-15T15:55:25.286Z] [ 74%] Built target csdk [2020-06-15T15:55:25.286Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-15T15:55:25.286Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-15T15:55:25.286Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-15T15:55:25.286Z] [ 76%] Linking C executable template [2020-06-15T15:55:25.286Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-15T15:55:25.286Z] [ 78%] Built target template [2020-06-15T15:55:25.286Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-15T15:55:25.286Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-15T15:55:25.286Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-15T15:55:25.286Z] [ 80%] Linking C executable device-counter [2020-06-15T15:55:25.557Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-15T15:55:25.557Z] [ 81%] Built target device-counter [2020-06-15T15:55:25.557Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-15T15:55:25.557Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-15T15:55:25.557Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-15T15:55:25.557Z] [ 83%] Linking C executable device-random [2020-06-15T15:55:25.829Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-15T15:55:25.829Z] [ 85%] Built target device-random [2020-06-15T15:55:25.829Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-15T15:55:25.829Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-15T15:55:25.829Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-15T15:55:25.829Z] [ 87%] Linking C executable device-gyro [2020-06-15T15:55:26.100Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-15T15:55:26.100Z] [ 89%] Built target device-gyro [2020-06-15T15:55:26.100Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-15T15:55:26.100Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-15T15:55:26.100Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-15T15:55:26.100Z] [ 90%] Linking C executable template-discovery [2020-06-15T15:55:26.371Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-15T15:55:26.371Z] [ 92%] Built target template-discovery [2020-06-15T15:55:26.371Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-15T15:55:26.371Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-15T15:55:26.371Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-15T15:55:26.371Z] [ 94%] Linking C executable device-terminal [2020-06-15T15:55:26.642Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-15T15:55:26.642Z] [ 96%] Built target device-terminal [2020-06-15T15:55:26.642Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-15T15:55:26.642Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-15T15:55:26.642Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-15T15:55:26.642Z] [ 98%] Linking C executable templatev1 [2020-06-15T15:55:26.913Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-15T15:55:26.913Z] [100%] Built target templatev1 [2020-06-15T15:55:26.913Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-06-15T15:55:26.913Z] Install the project... [2020-06-15T15:55:26.913Z] -- Install configuration: "Release" [2020-06-15T15:55:26.913Z] -- Installing: /usr/local/lib/libcsdk.so [2020-06-15T15:55:26.913Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-06-15T15:55:26.913Z] -- Up-to-date: /usr/local/include [2020-06-15T15:55:26.913Z] -- Installing: /usr/local/include/edgex [2020-06-15T15:55:26.913Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-06-15T15:55:26.913Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-06-15T15:55:26.913Z] -- Installing: /usr/local/include/edgex/error.h [2020-06-15T15:55:26.913Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-06-15T15:55:26.913Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-06-15T15:55:26.913Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-06-15T15:55:26.913Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-06-15T15:55:26.913Z] -- Installing: /usr/local/include/edgex/registry.h [2020-06-15T15:55:26.913Z] -- Installing: /usr/local/include/edgex/edgex-logging.h [2020-06-15T15:55:26.913Z] -- Installing: /usr/local/include/edgex/devices.h [2020-06-15T15:55:26.913Z] -- Installing: /usr/local/include/edgex/os.h [2020-06-15T15:55:26.913Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-06-15T15:55:26.913Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-06-15T15:55:26.913Z] -- Installing: /usr/local/include/devsdk [2020-06-15T15:55:26.913Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-06-15T15:55:26.913Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-06-15T15:55:26.913Z] -- Installing: /usr/local/include/iot [2020-06-15T15:55:26.913Z] -- Installing: /usr/local/include/iot/json.h [2020-06-15T15:55:26.913Z] -- Installing: /usr/local/include/iot/container.h [2020-06-15T15:55:26.913Z] -- Installing: /usr/local/include/iot/component.h [2020-06-15T15:55:26.913Z] -- Installing: /usr/local/include/iot/typecode.h [2020-06-15T15:55:26.913Z] -- Installing: /usr/local/include/iot/iot.h [2020-06-15T15:55:26.913Z] -- Installing: /usr/local/include/iot/time.h [2020-06-15T15:55:26.913Z] -- Installing: /usr/local/include/iot/hash.h [2020-06-15T15:55:26.913Z] -- Installing: /usr/local/include/iot/logger.h [2020-06-15T15:55:26.913Z] -- Installing: /usr/local/include/iot/os [2020-06-15T15:55:26.913Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-06-15T15:55:26.913Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-06-15T15:55:26.913Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-06-15T15:55:26.913Z] -- Installing: /usr/local/include/iot/data.h [2020-06-15T15:55:26.913Z] -- Installing: /usr/local/include/iot/thread.h [2020-06-15T15:55:26.913Z] -- Installing: /usr/local/include/iot/os.h [2020-06-15T15:55:26.913Z] -- Installing: /usr/local/include/iot/base64.h [2020-06-15T15:55:26.913Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-06-15T15:55:26.913Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-06-15T15:55:26.913Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-06-15T15:55:26.913Z] make: Leaving directory '/tmp/sdk/build/release' [2020-06-15T15:55:29.524Z] Removing intermediate container aa9183613178 [2020-06-15T15:55:29.524Z] ---> faef9acb2eac [2020-06-15T15:55:29.524Z] Step 14/21 : FROM ${BASE} [2020-06-15T15:55:29.524Z] ---> b23d30803547 [2020-06-15T15:55:29.524Z] Step 15/21 : MAINTAINER IOTech [2020-06-15T15:55:29.524Z] ---> Running in fa1816f89d2d [2020-06-15T15:55:29.524Z] Removing intermediate container fa1816f89d2d [2020-06-15T15:55:29.524Z] ---> f4d4ab746ccc [2020-06-15T15:55:29.524Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-06-15T15:55:29.796Z] ---> Running in 2a3e6caab564 [2020-06-15T15:55:31.223Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-06-15T15:55:32.192Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-06-15T15:55:32.784Z] (1/3) Installing curl (7.64.0-r3) [2020-06-15T15:55:32.784Z] (2/3) Installing libuuid (2.33-r0) [2020-06-15T15:55:32.784Z] (3/3) Installing wget (1.20.3-r0) [2020-06-15T15:55:33.056Z] Executing busybox-1.29.3-r10.trigger [2020-06-15T15:55:33.056Z] OK: 281 MiB in 78 packages [2020-06-15T15:55:34.043Z] Removing intermediate container 2a3e6caab564 [2020-06-15T15:55:34.043Z] ---> aeb3dc04fb35 [2020-06-15T15:55:34.043Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-06-15T15:55:35.019Z] ---> 8ec6662cd70f [2020-06-15T15:55:35.019Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-06-15T15:55:35.609Z] ---> a549e344e3ee [2020-06-15T15:55:35.609Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-06-15T15:55:36.581Z] ---> 78859149f6ab [2020-06-15T15:55:36.581Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-06-15T15:55:37.174Z] ---> 551c70729e4c [2020-06-15T15:55:37.174Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-06-15T15:55:38.150Z] ---> b80192358f81 [2020-06-15T15:55:38.150Z] Successfully built b80192358f81 [2020-06-15T15:55:38.150Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-06-15T15:55:38.878Z] + docker inspect -f . ci-base-image-arm64 [2020-06-15T15:55:38.878Z] . [Pipeline] withDockerContainer [2020-06-15T15:55:39.162Z] prd-ubuntu18.04-docker-arm64-4c-16g-3048 does not seem to be running inside a container [2020-06-15T15:55:39.223Z] $ 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 ******** ci-base-image-arm64 cat [2020-06-15T15:55:41.043Z] $ docker top ef5e24c17782dfe188bd9cc73415eb8fc5d51ae15df21b684574cfdb1062ba40 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-15T15:55:42.478Z] + make test [2020-06-15T15:55:42.478Z] echo "make test" [2020-06-15T15:55:42.478Z] make test [Pipeline] } [2020-06-15T15:55:42.489Z] $ docker stop --time=1 ef5e24c17782dfe188bd9cc73415eb8fc5d51ae15df21b684574cfdb1062ba40 [2020-06-15T15:55:44.449Z] $ docker rm -f ef5e24c17782dfe188bd9cc73415eb8fc5d51ae15df21b684574cfdb1062ba40 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-15T15:55:45.660Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-15T15:55:46.277Z] + ls -al . [2020-06-15T15:55:46.277Z] total 192 [2020-06-15T15:55:46.277Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 15 15:53 . [2020-06-15T15:55:46.277Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 15 15:53 .. [2020-06-15T15:55:46.277Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 15 15:53 .git [2020-06-15T15:55:46.277Z] -rw-rw-r-- 1 jenkins jenkins 176 Jun 15 15:53 .gitignore [2020-06-15T15:55:46.277Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 15 15:53 .semver [2020-06-15T15:55:46.277Z] -rw-rw-r-- 1 jenkins jenkins 3104 Jun 15 15:53 Attribution.txt [2020-06-15T15:55:46.277Z] -rw-rw-r-- 1 jenkins jenkins 5323 Jun 15 15:53 CHANGES [2020-06-15T15:55:46.277Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jun 15 15:53 Doxyfile [2020-06-15T15:55:46.277Z] -rw-rw-r-- 1 jenkins jenkins 794 Jun 15 15:53 Jenkinsfile [2020-06-15T15:55:46.277Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jun 15 15:53 LICENSE [2020-06-15T15:55:46.277Z] -rw-rw-r-- 1 jenkins jenkins 449 Jun 15 15:53 Makefile [2020-06-15T15:55:46.277Z] -rw-rw-r-- 1 jenkins jenkins 1849 Jun 15 15:53 README.md [2020-06-15T15:55:46.277Z] -rw-rw-r-- 1 jenkins jenkins 5229 Jun 15 15:53 README.v2.md [2020-06-15T15:55:46.277Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 15 15:53 VERSION [2020-06-15T15:55:46.277Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 15 15:53 docs [2020-06-15T15:55:46.277Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 15 15:53 include [2020-06-15T15:55:46.277Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 15 15:53 scripts [2020-06-15T15:55:46.277Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 15 15:53 src [Pipeline] isUnix [Pipeline] sh [2020-06-15T15:55:46.646Z] + 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=9a1a9a8812dd079c3cf1db19503d1d5516cf1e0c --label arch=arm64 --label version=0.0.0 . [2020-06-15T15:55:47.241Z] Sending build context to Docker daemon 3.271MB [2020-06-15T15:55:47.241Z] Step 1/15 : ARG BASE=alpine:3.11 [2020-06-15T15:55:47.241Z] Step 2/15 : FROM ${BASE} [2020-06-15T15:55:47.241Z] ---> b80192358f81 [2020-06-15T15:55:47.241Z] Step 3/15 : MAINTAINER IOTech [2020-06-15T15:55:47.241Z] ---> Running in 3ca0851ba206 [2020-06-15T15:55:47.840Z] Removing intermediate container 3ca0851ba206 [2020-06-15T15:55:47.840Z] ---> d592004934f8 [2020-06-15T15:55:47.840Z] Step 4/15 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev && mkdir -p /edgex-c-sdk/build [2020-06-15T15:55:48.113Z] ---> Running in 154a9f236f4d [2020-06-15T15:55:49.543Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-06-15T15:55:50.515Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-06-15T15:55:50.784Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2020-06-15T15:55:51.052Z] (2/6) Installing libblkid (2.33-r0) [2020-06-15T15:55:51.052Z] (3/6) Installing libfdisk (2.33-r0) [2020-06-15T15:55:51.321Z] (4/6) Installing libmount (2.33-r0) [2020-06-15T15:55:51.590Z] (5/6) Installing libsmartcols (2.33-r0) [2020-06-15T15:55:51.590Z] (6/6) Installing util-linux-dev (2.33-r0) [2020-06-15T15:55:52.179Z] Executing busybox-1.29.3-r10.trigger [2020-06-15T15:55:52.179Z] OK: 286 MiB in 84 packages [2020-06-15T15:55:53.607Z] Removing intermediate container 154a9f236f4d [2020-06-15T15:55:53.607Z] ---> 476a3d7a7129 [2020-06-15T15:55:53.607Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-06-15T15:55:54.199Z] ---> 9504215fa4a4 [2020-06-15T15:55:54.199Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-06-15T15:55:55.217Z] ---> 14ef3671758a [2020-06-15T15:55:55.217Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-06-15T15:55:55.823Z] ---> e41cfe88181c [2020-06-15T15:55:55.823Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-06-15T15:55:56.799Z] ---> 146fc7e2f508 [2020-06-15T15:55:56.799Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-06-15T15:55:57.396Z] ---> c6edc6520a48 [2020-06-15T15:55:57.396Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-06-15T15:55:57.988Z] ---> a66436ac6bd7 [2020-06-15T15:55:57.988Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-06-15T15:55:58.261Z] ---> Running in 0d0b16e5ed8e [2020-06-15T15:55:58.857Z] Removing intermediate container 0d0b16e5ed8e [2020-06-15T15:55:58.857Z] ---> a2a71394a5db [2020-06-15T15:55:58.857Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-06-15T15:55:58.857Z] ---> Running in 75ddb481d5e1 [2020-06-15T15:55:59.452Z] Removing intermediate container 75ddb481d5e1 [2020-06-15T15:55:59.452Z] ---> bd8cb2aa4ef2 [2020-06-15T15:55:59.452Z] Step 13/15 : LABEL arch=arm64 [2020-06-15T15:55:59.452Z] ---> Running in 5602e4336f52 [2020-06-15T15:56:00.047Z] Removing intermediate container 5602e4336f52 [2020-06-15T15:56:00.047Z] ---> 2895294ff658 [2020-06-15T15:56:00.047Z] Step 14/15 : LABEL git_sha=9a1a9a8812dd079c3cf1db19503d1d5516cf1e0c [2020-06-15T15:56:00.047Z] ---> Running in 600b67dc7104 [2020-06-15T15:56:00.319Z] Removing intermediate container 600b67dc7104 [2020-06-15T15:56:00.319Z] ---> 9a1127299ab6 [2020-06-15T15:56:00.319Z] Step 15/15 : LABEL version=0.0.0 [2020-06-15T15:56:00.595Z] ---> Running in 88e43c475de5 [2020-06-15T15:56:01.186Z] Removing intermediate container 88e43c475de5 [2020-06-15T15:56:01.186Z] ---> 231749df07b5 [2020-06-15T15:56:01.186Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2020-06-15T15:56:01.186Z] Successfully built 231749df07b5 [2020-06-15T15:56:01.186Z] 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] } [2020-06-15T15:57:30.992Z] Running on prd-centos7-docker-4c-2g-3049 in /w/workspace/edgexfoundry_device-sdk-c_PR-269 [Pipeline] { [Pipeline] ws [2020-06-15T15:57:31.048Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2020-06-15T15:57:33.834Z] using credential edgex-jenkins-ssh [2020-06-15T15:57:33.860Z] Cloning the remote Git repository [2020-06-15T15:57:33.860Z] Cloning with configured refspecs honoured and without tags [2020-06-15T15:57:33.886Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-06-15T15:57:33.960Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2020-06-15T15:57:34.002Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-06-15T15:57:34.003Z] > git --version # timeout=10 [2020-06-15T15:57:34.012Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-15T15:57:34.042Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/269/head:refs/remotes/origin/PR-269 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-15T15:57:34.651Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-06-15T15:57:34.656Z] > git config --add remote.origin.fetch +refs/pull/269/head:refs/remotes/origin/PR-269 # timeout=10 [2020-06-15T15:57:34.677Z] Fetching without tags [2020-06-15T15:57:35.112Z] Merging remotes/origin/master commit 5142e0cccf64cca4c4d94b6be2ac864e1bed3a5b into PR head commit 9a1a9a8812dd079c3cf1db19503d1d5516cf1e0c [2020-06-15T15:57:35.202Z] Merge succeeded, producing 9a1a9a8812dd079c3cf1db19503d1d5516cf1e0c [2020-06-15T15:57:35.202Z] Checking out Revision 9a1a9a8812dd079c3cf1db19503d1d5516cf1e0c (PR-269) [2020-06-15T15:57:34.663Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-15T15:57:34.673Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-06-15T15:57:34.683Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-06-15T15:57:34.684Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-15T15:57:34.687Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/269/head:refs/remotes/origin/PR-269 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-15T15:57:35.124Z] > git config core.sparsecheckout # timeout=10 [2020-06-15T15:57:35.133Z] > git checkout -f 9a1a9a8812dd079c3cf1db19503d1d5516cf1e0c # timeout=10 [2020-06-15T15:57:35.175Z] > git remote # timeout=10 [2020-06-15T15:57:35.180Z] > git config --get remote.origin.url # timeout=10 [2020-06-15T15:57:35.186Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-15T15:57:35.190Z] > git merge 5142e0cccf64cca4c4d94b6be2ac864e1bed3a5b # timeout=10 [2020-06-15T15:57:35.198Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-06-15T15:57:35.208Z] > git config core.sparsecheckout # timeout=10 [2020-06-15T15:57:35.213Z] > git checkout -f 9a1a9a8812dd079c3cf1db19503d1d5516cf1e0c # timeout=10 [2020-06-15T15:57:39.494Z] Commit message: "feat: Move to Alpine version 3.11" [2020-06-15T15:57:39.524Z] > git --version # timeout=10 [2020-06-15T15:57:39.536Z] fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-06-15T15:57:40.542Z] ========================================================= [2020-06-15T15:57:40.542Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2020-06-15T15:57:40.542Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-15T15:57:41.338Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-3.11-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2020-06-15T15:57:41.601Z] Sending build context to Docker daemon 3.271MB [2020-06-15T15:57:41.601Z] Step 1/21 : ARG BASE=alpine:3.11 [2020-06-15T15:57:41.601Z] Step 2/21 : FROM ${BASE} as builder [2020-06-15T15:57:41.601Z] latest: Pulling from edgex-devops/edgex-gcc-base [2020-06-15T15:57:41.601Z] e7c96db7181b: Pulling fs layer [2020-06-15T15:57:41.601Z] 4c13bbce0fe7: Pulling fs layer [2020-06-15T15:57:41.601Z] 6059c847ac2f: Pulling fs layer [2020-06-15T15:57:41.601Z] 4c13bbce0fe7: Verifying Checksum [2020-06-15T15:57:41.601Z] 4c13bbce0fe7: Download complete [2020-06-15T15:57:41.601Z] e7c96db7181b: Verifying Checksum [2020-06-15T15:57:41.601Z] e7c96db7181b: Download complete [2020-06-15T15:57:41.872Z] e7c96db7181b: Pull complete [2020-06-15T15:57:42.137Z] 4c13bbce0fe7: Pull complete [2020-06-15T15:57:42.715Z] 6059c847ac2f: Verifying Checksum [2020-06-15T15:57:42.715Z] 6059c847ac2f: Download complete [2020-06-15T15:57:46.956Z] 6059c847ac2f: Pull complete [2020-06-15T15:57:46.956Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2020-06-15T15:57:46.956Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2020-06-15T15:57:46.956Z] ---> 5eabd8fd8ba2 [2020-06-15T15:57:46.956Z] Step 3/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev [2020-06-15T15:57:49.515Z] ---> Running in 2ab124d482dc [2020-06-15T15:57:50.090Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-06-15T15:57:51.480Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-06-15T15:57:51.480Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-06-15T15:57:51.741Z] (2/8) Installing libuuid (2.33-r0) [2020-06-15T15:57:51.741Z] (3/8) Installing libblkid (2.33-r0) [2020-06-15T15:57:51.741Z] (4/8) Installing libfdisk (2.33-r0) [2020-06-15T15:57:52.003Z] (5/8) Installing libmount (2.33-r0) [2020-06-15T15:57:52.004Z] (6/8) Installing libsmartcols (2.33-r0) [2020-06-15T15:57:52.268Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-06-15T15:57:52.532Z] (8/8) Installing wget (1.20.3-r0) [2020-06-15T15:57:52.795Z] Executing busybox-1.29.3-r10.trigger [2020-06-15T15:57:52.795Z] OK: 272 MiB in 83 packages [2020-06-15T15:57:53.372Z] Removing intermediate container 2ab124d482dc [2020-06-15T15:57:53.372Z] ---> 0e6ad1b5ef08 [2020-06-15T15:57:53.372Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-06-15T15:57:53.372Z] ---> Running in ab2630733fe1 [2020-06-15T15:57:53.372Z] Removing intermediate container ab2630733fe1 [2020-06-15T15:57:53.372Z] ---> efb9baa2c57a [2020-06-15T15:57:53.372Z] Step 5/21 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2020-06-15T15:57:53.633Z] ---> Running in aa8b0b3e871d [2020-06-15T15:57:53.894Z] --2020-06-15 15:57:53-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-06-15T15:57:53.894Z] Resolving github.com... 140.82.114.3 [2020-06-15T15:57:53.894Z] Connecting to github.com|140.82.114.3|:443... connected. [2020-06-15T15:57:54.155Z] HTTP request sent, awaiting response... 302 Found [2020-06-15T15:57:54.155Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-06-15T15:57:54.155Z] --2020-06-15 15:57:53-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-06-15T15:57:54.155Z] Resolving codeload.github.com... 140.82.113.10 [2020-06-15T15:57:54.155Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2020-06-15T15:57:54.418Z] HTTP request sent, awaiting response... 200 OK [2020-06-15T15:57:54.418Z] Length: unspecified [application/x-gzip] [2020-06-15T15:57:54.418Z] Saving to: 'STDOUT' [2020-06-15T15:57:54.418Z] [2020-06-15T15:57:54.418Z] 0K .......... .......... .......... .......... .......... 1.54M [2020-06-15T15:57:54.418Z] 50K .......... .......... .......... .......... .......... 3.15M [2020-06-15T15:57:54.418Z] 100K .......... .......... .......... .......... .......... 40.2M [2020-06-15T15:57:54.418Z] 150K .......... .......... .......... .......... .......... 3.44M [2020-06-15T15:57:54.418Z] 200K .......... .......... .......... .......... .......... 31.5M [2020-06-15T15:57:54.418Z] 250K .......... .......... .......... .......... .......... 11.2M [2020-06-15T15:57:54.418Z] 300K .......... .......... .......... .......... .......... 6.75M [2020-06-15T15:57:54.418Z] 350K .......... .......... .......... .......... .......... 16.4M [2020-06-15T15:57:54.418Z] 400K .......... .......... .......... .......... .......... 5.56M [2020-06-15T15:57:54.419Z] 450K .......... .......... .......... .......... .......... 8.85M [2020-06-15T15:57:54.419Z] 500K .......... .......... .......... .......... .......... 17.7M [2020-06-15T15:57:54.419Z] 550K .......... .......... .......... .......... .......... 4.46M [2020-06-15T15:57:54.419Z] 600K .......... .......... .......... .......... .......... 2.48M [2020-06-15T15:57:54.419Z] 650K .......... .......... .......... .......... .......... 4.50M [2020-06-15T15:57:54.419Z] 700K .. 47.4M=0.1s [2020-06-15T15:57:54.419Z] [2020-06-15T15:57:54.419Z] 2020-06-15 15:57:54 (5.00 MB/s) - written to stdout [719348] [2020-06-15T15:57:54.419Z] [2020-06-15T15:57:54.681Z] -- The C compiler identification is GNU 8.3.0 [2020-06-15T15:57:54.681Z] -- The CXX compiler identification is GNU 8.3.0 [2020-06-15T15:57:54.681Z] -- Check for working C compiler: /usr/bin/cc [2020-06-15T15:57:54.681Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-15T15:57:54.681Z] -- Detecting C compiler ABI info [2020-06-15T15:57:54.941Z] -- Detecting C compiler ABI info - done [2020-06-15T15:57:54.941Z] -- Detecting C compile features [2020-06-15T15:57:55.202Z] -- Detecting C compile features - done [2020-06-15T15:57:55.202Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-06-15T15:57:55.202Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-06-15T15:57:55.202Z] -- Detecting CXX compiler ABI info [2020-06-15T15:57:55.202Z] -- Detecting CXX compiler ABI info - done [2020-06-15T15:57:55.202Z] -- Detecting CXX compile features [2020-06-15T15:57:55.805Z] -- Detecting CXX compile features - done [2020-06-15T15:57:55.805Z] -- Looking for include file endian.h [2020-06-15T15:57:55.805Z] -- Looking for include file endian.h - found [2020-06-15T15:57:55.805Z] -- Check if the system is big endian [2020-06-15T15:57:55.805Z] -- Searching 16 bit integer [2020-06-15T15:57:55.805Z] -- Looking for sys/types.h [2020-06-15T15:57:55.805Z] -- Looking for sys/types.h - found [2020-06-15T15:57:55.805Z] -- Looking for stdint.h [2020-06-15T15:57:56.067Z] -- Looking for stdint.h - found [2020-06-15T15:57:56.067Z] -- Looking for stddef.h [2020-06-15T15:57:56.067Z] -- Looking for stddef.h - found [2020-06-15T15:57:56.067Z] -- Check size of unsigned short [2020-06-15T15:57:56.067Z] -- Check size of unsigned short - done [2020-06-15T15:57:56.067Z] -- Using unsigned short [2020-06-15T15:57:56.067Z] -- Check if the system is big endian - little endian [2020-06-15T15:57:56.329Z] -- Check size of size_t [2020-06-15T15:57:56.329Z] -- Check size of size_t - done [2020-06-15T15:57:56.329Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-06-15T15:57:56.329Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-06-15T15:57:56.329Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-06-15T15:57:56.329Z] CMake did not find one. [2020-06-15T15:57:56.329Z] [2020-06-15T15:57:56.329Z] Could not find a package configuration file provided by "cJSON" with any of [2020-06-15T15:57:56.329Z] the following names: [2020-06-15T15:57:56.329Z] [2020-06-15T15:57:56.329Z] cJSONConfig.cmake [2020-06-15T15:57:56.329Z] cjson-config.cmake [2020-06-15T15:57:56.329Z] [2020-06-15T15:57:56.329Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-06-15T15:57:56.329Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-06-15T15:57:56.329Z] provides a separate development package or SDK, be sure it has been [2020-06-15T15:57:56.329Z] installed. [2020-06-15T15:57:56.329Z] [2020-06-15T15:57:56.329Z] [2020-06-15T15:57:56.329Z] -- Configuring done [2020-06-15T15:57:56.329Z] -- Generating done [2020-06-15T15:57:56.329Z] -- Build files have been written to: /tmp/cbor [2020-06-15T15:57:56.329Z] Scanning dependencies of target cbor_shared [2020-06-15T15:57:56.329Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-06-15T15:57:56.591Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-06-15T15:57:56.852Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-06-15T15:57:56.852Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-06-15T15:57:57.114Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-06-15T15:57:57.114Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-06-15T15:57:57.114Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-06-15T15:57:57.114Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-06-15T15:57:57.114Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-06-15T15:57:57.375Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-06-15T15:57:57.375Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-06-15T15:57:57.638Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-06-15T15:57:57.638Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-06-15T15:57:57.638Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-06-15T15:57:57.900Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-06-15T15:57:57.900Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-06-15T15:57:57.900Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-06-15T15:57:57.900Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-06-15T15:57:58.162Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-06-15T15:57:58.162Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-06-15T15:57:58.162Z] [ 40%] Linking C shared library libcbor.so [2020-06-15T15:57:58.162Z] [ 40%] Built target cbor_shared [2020-06-15T15:57:58.162Z] Scanning dependencies of target cbor [2020-06-15T15:57:58.162Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-06-15T15:57:58.423Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-06-15T15:57:58.691Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-06-15T15:57:58.691Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-06-15T15:57:58.956Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-06-15T15:57:58.956Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-06-15T15:57:58.956Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-06-15T15:57:58.956Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-06-15T15:57:59.220Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-06-15T15:57:59.220Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-06-15T15:57:59.481Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-06-15T15:57:59.481Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-06-15T15:57:59.481Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-06-15T15:57:59.744Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-06-15T15:57:59.744Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-06-15T15:57:59.744Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-06-15T15:58:00.007Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-06-15T15:58:00.007Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-06-15T15:58:00.007Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-06-15T15:58:00.269Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-06-15T15:58:00.269Z] [ 80%] Linking C static library libcbor.a [2020-06-15T15:58:00.269Z] [ 80%] Built target cbor [2020-06-15T15:58:00.269Z] Scanning dependencies of target create_items [2020-06-15T15:58:00.269Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-06-15T15:58:00.269Z] [ 84%] Linking C executable create_items [2020-06-15T15:58:00.269Z] [ 84%] Built target create_items [2020-06-15T15:58:00.269Z] Scanning dependencies of target readfile [2020-06-15T15:58:00.269Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-06-15T15:58:00.269Z] [ 88%] Linking C executable readfile [2020-06-15T15:58:00.530Z] [ 88%] Built target readfile [2020-06-15T15:58:00.530Z] Scanning dependencies of target streaming_parser [2020-06-15T15:58:00.530Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-06-15T15:58:00.530Z] [ 92%] Linking C executable streaming_parser [2020-06-15T15:58:00.530Z] [ 92%] Built target streaming_parser [2020-06-15T15:58:00.530Z] Scanning dependencies of target sort [2020-06-15T15:58:00.530Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-06-15T15:58:00.530Z] [ 96%] Linking C executable sort [2020-06-15T15:58:00.530Z] [ 96%] Built target sort [2020-06-15T15:58:00.530Z] Scanning dependencies of target hello [2020-06-15T15:58:00.530Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-06-15T15:58:00.793Z] [100%] Linking C executable hello [2020-06-15T15:58:00.793Z] [100%] Built target hello [2020-06-15T15:58:00.793Z] Install the project... [2020-06-15T15:58:00.793Z] -- Install configuration: "Release" [2020-06-15T15:58:00.793Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-06-15T15:58:00.793Z] -- Installing: /usr/local/lib64/libcbor.a [2020-06-15T15:58:00.793Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-06-15T15:58:00.793Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-06-15T15:58:00.793Z] -- Installing: /usr/local/lib64/libcbor.so [2020-06-15T15:58:00.793Z] -- Up-to-date: /usr/local/include/cbor [2020-06-15T15:58:00.793Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-06-15T15:58:00.793Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-06-15T15:58:00.793Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-06-15T15:58:00.793Z] -- Installing: /usr/local/include/cbor/common.h [2020-06-15T15:58:00.793Z] -- Installing: /usr/local/include/cbor/data.h [2020-06-15T15:58:00.793Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-06-15T15:58:00.793Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-06-15T15:58:00.793Z] -- Installing: /usr/local/include/cbor/internal [2020-06-15T15:58:00.793Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-06-15T15:58:00.793Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-06-15T15:58:00.793Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-06-15T15:58:00.793Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-06-15T15:58:00.793Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-06-15T15:58:00.793Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-06-15T15:58:00.793Z] -- Installing: /usr/local/include/cbor/ints.h [2020-06-15T15:58:00.793Z] -- Installing: /usr/local/include/cbor/maps.h [2020-06-15T15:58:00.793Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-06-15T15:58:00.793Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-06-15T15:58:00.793Z] -- Installing: /usr/local/include/cbor/strings.h [2020-06-15T15:58:00.793Z] -- Installing: /usr/local/include/cbor/tags.h [2020-06-15T15:58:00.793Z] -- Installing: /usr/local/include/cbor.h [2020-06-15T15:58:00.793Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-06-15T15:58:03.350Z] Removing intermediate container aa8b0b3e871d [2020-06-15T15:58:03.350Z] ---> 2aa18c6af5ae [2020-06-15T15:58:03.350Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-06-15T15:58:03.350Z] ---> Running in 57f5d7f5d594 [2020-06-15T15:58:04.294Z] Removing intermediate container 57f5d7f5d594 [2020-06-15T15:58:04.294Z] ---> b604d54119d6 [2020-06-15T15:58:04.294Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-06-15T15:58:04.555Z] ---> 4f410fe1959f [2020-06-15T15:58:04.555Z] Step 8/21 : COPY src /tmp/sdk/src [2020-06-15T15:58:05.506Z] ---> 2c882f28fdf5 [2020-06-15T15:58:05.506Z] Step 9/21 : COPY include /tmp/sdk/include [2020-06-15T15:58:05.506Z] ---> 39fb6ee57585 [2020-06-15T15:58:05.506Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-06-15T15:58:05.767Z] ---> fe4409a48acc [2020-06-15T15:58:05.767Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-06-15T15:58:06.029Z] ---> 1208505a43b5 [2020-06-15T15:58:06.029Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-06-15T15:58:06.029Z] ---> 8108902f53e4 [2020-06-15T15:58:06.029Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-06-15T15:58:06.290Z] ---> Running in d507ee815423 [2020-06-15T15:58:06.551Z] + CPPCHECK=false [2020-06-15T15:58:06.551Z] + DOCGEN=false [2020-06-15T15:58:06.551Z] + TOMLVER=SDK-0.2 [2020-06-15T15:58:06.551Z] + CUTILVER=1.0.4 [2020-06-15T15:58:06.551Z] + '[' 0 -gt 0 ] [2020-06-15T15:58:06.551Z] + readlink -f ./scripts/build.sh [2020-06-15T15:58:06.551Z] + dirname /tmp/sdk/scripts/build.sh [2020-06-15T15:58:06.551Z] + dirname /tmp/sdk/scripts [2020-06-15T15:58:06.551Z] + ROOT=/tmp/sdk [2020-06-15T15:58:06.551Z] + cd /tmp/sdk [2020-06-15T15:58:06.551Z] + '[' '!' -d deps ] [2020-06-15T15:58:06.551Z] + mkdir deps [2020-06-15T15:58:06.551Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-06-15T15:58:06.551Z] + tar -C deps -z -x -f - [2020-06-15T15:58:06.551Z] --2020-06-15 15:58:06-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-06-15T15:58:06.551Z] Resolving github.com... 140.82.113.4 [2020-06-15T15:58:06.551Z] Connecting to github.com|140.82.113.4|:443... connected. [2020-06-15T15:58:06.812Z] HTTP request sent, awaiting response... 302 Found [2020-06-15T15:58:06.812Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-06-15T15:58:06.812Z] --2020-06-15 15:58:06-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-06-15T15:58:06.812Z] Resolving codeload.github.com... 140.82.113.10 [2020-06-15T15:58:06.812Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2020-06-15T15:58:06.812Z] HTTP request sent, awaiting response... 200 OK [2020-06-15T15:58:06.812Z] Length: unspecified [application/x-gzip] [2020-06-15T15:58:06.812Z] Saving to: 'STDOUT' [2020-06-15T15:58:06.812Z]  [2020-06-15T15:58:06.812Z] 0K .......... ......  1.04M=0.02s [2020-06-15T15:58:06.812Z] [2020-06-15T15:58:06.812Z] 2020-06-15 15:58:06 (1.04 MB/s) - written to stdout [16451] [2020-06-15T15:58:06.812Z] [2020-06-15T15:58:07.074Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-06-15T15:58:07.074Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-06-15T15:58:07.074Z] + tar -C deps -z -x -f - [2020-06-15T15:58:07.074Z] --2020-06-15 15:58:06-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-06-15T15:58:07.074Z] Resolving github.com... 140.82.113.4 [2020-06-15T15:58:07.074Z] Connecting to github.com|140.82.113.4|:443... connected. [2020-06-15T15:58:07.335Z] HTTP request sent, awaiting response... 302 Found [2020-06-15T15:58:07.335Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] [2020-06-15T15:58:07.335Z] --2020-06-15 15:58:07-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [2020-06-15T15:58:07.335Z] Resolving codeload.github.com... 140.82.113.10 [2020-06-15T15:58:07.335Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2020-06-15T15:58:07.335Z] HTTP request sent, awaiting response... 200 OK [2020-06-15T15:58:07.335Z] Length: unspecified [application/x-gzip] [2020-06-15T15:58:07.335Z] Saving to: 'STDOUT' [2020-06-15T15:58:07.335Z]  [2020-06-15T15:58:07.596Z] 0K .......... .......... .......... .......... .......... 1.55M [2020-06-15T15:58:07.596Z] 50K .......... .......... .......... .......... .......... 3.10M [2020-06-15T15:58:07.596Z] 100K .......... .......... .......... .......... .......... 44.4M [2020-06-15T15:58:07.596Z] 150K ........ 19.9M=0.05s [2020-06-15T15:58:07.596Z] [2020-06-15T15:58:07.596Z] 2020-06-15 15:58:07 (3.17 MB/s) - written to stdout [162267] [2020-06-15T15:58:07.596Z] [2020-06-15T15:58:07.596Z] + mkdir -p src/c/iot [2020-06-15T15:58:07.596Z] + cp deps/iotech-c-utils-1.0.4/src/c/base64.c deps/iotech-c-utils-1.0.4/src/c/component.c deps/iotech-c-utils-1.0.4/src/c/container.c deps/iotech-c-utils-1.0.4/src/c/data.c deps/iotech-c-utils-1.0.4/src/c/hash.c deps/iotech-c-utils-1.0.4/src/c/iot.c deps/iotech-c-utils-1.0.4/src/c/json.c deps/iotech-c-utils-1.0.4/src/c/logger.c deps/iotech-c-utils-1.0.4/src/c/os.c deps/iotech-c-utils-1.0.4/src/c/scheduler.c deps/iotech-c-utils-1.0.4/src/c/thread.c deps/iotech-c-utils-1.0.4/src/c/threadpool.c deps/iotech-c-utils-1.0.4/src/c/time.c src/c/iot [2020-06-15T15:58:07.596Z] + mkdir -p include/iot [2020-06-15T15:58:07.596Z] + cp deps/iotech-c-utils-1.0.4/include/iot/base64.h deps/iotech-c-utils-1.0.4/include/iot/component.h deps/iotech-c-utils-1.0.4/include/iot/container.h deps/iotech-c-utils-1.0.4/include/iot/data.h deps/iotech-c-utils-1.0.4/include/iot/hash.h deps/iotech-c-utils-1.0.4/include/iot/iot.h deps/iotech-c-utils-1.0.4/include/iot/json.h deps/iotech-c-utils-1.0.4/include/iot/logger.h deps/iotech-c-utils-1.0.4/include/iot/os.h deps/iotech-c-utils-1.0.4/include/iot/scheduler.h deps/iotech-c-utils-1.0.4/include/iot/thread.h deps/iotech-c-utils-1.0.4/include/iot/threadpool.h deps/iotech-c-utils-1.0.4/include/iot/time.h deps/iotech-c-utils-1.0.4/include/iot/typecode.h include/iot [2020-06-15T15:58:07.596Z] + mkdir -p include/iot/os [2020-06-15T15:58:07.596Z] + cp deps/iotech-c-utils-1.0.4/include/iot/os/linux.h deps/iotech-c-utils-1.0.4/include/iot/os/zephyr.h include/iot/os [2020-06-15T15:58:07.596Z] + mkdir -p /tmp/sdk/build/release [2020-06-15T15:58:07.596Z] + cd /tmp/sdk/build/release [2020-06-15T15:58:07.596Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-06-15T15:58:07.596Z] -- The C compiler identification is GNU 8.3.0 [2020-06-15T15:58:07.596Z] -- Check for working C compiler: /usr/bin/cc [2020-06-15T15:58:07.596Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-15T15:58:07.596Z] -- Detecting C compiler ABI info [2020-06-15T15:58:07.859Z] -- Detecting C compiler ABI info - done [2020-06-15T15:58:07.860Z] -- Detecting C compile features [2020-06-15T15:58:08.121Z] -- Detecting C compile features - done [2020-06-15T15:58:08.121Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-06-15T15:58:08.121Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-06-15T15:58:08.121Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-06-15T15:58:08.121Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-06-15T15:58:08.121Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-06-15T15:58:08.121Z] -- C SDK 0.0.0 for Linux [2020-06-15T15:58:08.121Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-06-15T15:58:08.121Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-06-15T15:58:08.121Z] -- Found Curses: /usr/lib/libcurses.so [2020-06-15T15:58:08.121Z] -- Configuring done [2020-06-15T15:58:08.121Z] -- Generating done [2020-06-15T15:58:08.121Z] -- Build files have been written to: /tmp/sdk/build/release [2020-06-15T15:58:08.121Z] + make [2020-06-15T15:58:08.121Z] + tee release.log [2020-06-15T15:58:08.384Z] Scanning dependencies of target csdk [2020-06-15T15:58:08.384Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-06-15T15:58:08.384Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-06-15T15:58:08.647Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-06-15T15:58:08.908Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-06-15T15:58:09.169Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-06-15T15:58:09.169Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-06-15T15:58:09.430Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-06-15T15:58:10.009Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-06-15T15:58:10.009Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-06-15T15:58:10.270Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-06-15T15:58:10.270Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-06-15T15:58:10.531Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-06-15T15:58:10.531Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-06-15T15:58:10.531Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-06-15T15:58:11.474Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-06-15T15:58:11.474Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-06-15T15:58:11.474Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-06-15T15:58:11.737Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-06-15T15:58:12.312Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-06-15T15:58:12.312Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-06-15T15:58:12.312Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-06-15T15:58:12.574Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-06-15T15:58:12.574Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-06-15T15:58:12.574Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-06-15T15:58:12.839Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-06-15T15:58:13.100Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-06-15T15:58:13.100Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-06-15T15:58:13.100Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-06-15T15:58:13.362Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-06-15T15:58:13.624Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-06-15T15:58:13.624Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-06-15T15:58:14.569Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-06-15T15:58:14.832Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-06-15T15:58:14.832Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-06-15T15:58:15.094Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-06-15T15:58:15.355Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-06-15T15:58:15.926Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-06-15T15:58:16.868Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-06-15T15:58:16.868Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-06-15T15:58:17.129Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-06-15T15:58:17.394Z] [ 74%] Linking C shared library libcsdk.so [2020-06-15T15:58:17.394Z] [ 74%] Built target csdk [2020-06-15T15:58:17.394Z] Scanning dependencies of target template [2020-06-15T15:58:17.394Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-06-15T15:58:17.654Z] [ 78%] Linking C executable template [2020-06-15T15:58:17.654Z] [ 78%] Built target template [2020-06-15T15:58:17.654Z] Scanning dependencies of target device-counter [2020-06-15T15:58:17.654Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-06-15T15:58:17.654Z] [ 81%] Linking C executable device-counter [2020-06-15T15:58:17.914Z] [ 81%] Built target device-counter [2020-06-15T15:58:17.914Z] Scanning dependencies of target device-random [2020-06-15T15:58:17.914Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-06-15T15:58:17.914Z] [ 85%] Linking C executable device-random [2020-06-15T15:58:17.914Z] [ 85%] Built target device-random [2020-06-15T15:58:18.177Z] Scanning dependencies of target device-gyro [2020-06-15T15:58:18.177Z] [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-06-15T15:58:18.177Z] [ 89%] Linking C executable device-gyro [2020-06-15T15:58:18.177Z] [ 89%] Built target device-gyro [2020-06-15T15:58:18.177Z] Scanning dependencies of target template-discovery [2020-06-15T15:58:18.177Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-06-15T15:58:18.440Z] [ 92%] Linking C executable template-discovery [2020-06-15T15:58:18.440Z] [ 92%] Built target template-discovery [2020-06-15T15:58:18.440Z] Scanning dependencies of target device-terminal [2020-06-15T15:58:18.440Z] [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-06-15T15:58:18.701Z] [ 96%] Linking C executable device-terminal [2020-06-15T15:58:18.701Z] [ 96%] Built target device-terminal [2020-06-15T15:58:18.701Z] Scanning dependencies of target templatev1 [2020-06-15T15:58:18.701Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-06-15T15:58:18.962Z] [100%] Linking C executable templatev1 [2020-06-15T15:58:18.962Z] [100%] Built target templatev1 [2020-06-15T15:58:18.962Z] + make package [2020-06-15T15:58:18.962Z] + tee -a release.log [2020-06-15T15:58:18.962Z] [ 74%] Built target csdk [2020-06-15T15:58:18.962Z] [ 78%] Built target template [2020-06-15T15:58:18.962Z] [ 81%] Built target device-counter [2020-06-15T15:58:18.962Z] [ 85%] Built target device-random [2020-06-15T15:58:18.962Z] [ 89%] Built target device-gyro [2020-06-15T15:58:18.962Z] [ 92%] Built target template-discovery [2020-06-15T15:58:18.962Z] [ 96%] Built target device-terminal [2020-06-15T15:58:19.223Z] [100%] Built target templatev1 [2020-06-15T15:58:19.223Z] Run CPack packaging tool... [2020-06-15T15:58:19.223Z] CPack: Create package using TGZ [2020-06-15T15:58:19.223Z] CPack: Install projects [2020-06-15T15:58:19.223Z] CPack: - Run preinstall target for: Csdk [2020-06-15T15:58:19.485Z] CPack: - Install project: Csdk [2020-06-15T15:58:19.485Z] CPack: Create package [2020-06-15T15:58:19.485Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2020-06-15T15:58:19.485Z] + '[' false '=' true ] [2020-06-15T15:58:19.485Z] + '[' false '=' true ] [2020-06-15T15:58:19.485Z] + mkdir -p /tmp/sdk/build/debug [2020-06-15T15:58:19.746Z] + cd /tmp/sdk/build/debug [2020-06-15T15:58:19.746Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-06-15T15:58:19.746Z] -- The C compiler identification is GNU 8.3.0 [2020-06-15T15:58:19.746Z] -- Check for working C compiler: /usr/bin/cc [2020-06-15T15:58:19.746Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-15T15:58:19.746Z] -- Detecting C compiler ABI info [2020-06-15T15:58:20.008Z] -- Detecting C compiler ABI info - done [2020-06-15T15:58:20.008Z] -- Detecting C compile features [2020-06-15T15:58:20.270Z] -- Detecting C compile features - done [2020-06-15T15:58:20.270Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-06-15T15:58:20.270Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-06-15T15:58:20.270Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-06-15T15:58:20.270Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-06-15T15:58:20.270Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-06-15T15:58:20.270Z] -- C SDK 0.0.0 for Linux [2020-06-15T15:58:20.270Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-06-15T15:58:20.270Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-06-15T15:58:20.270Z] -- Found Curses: /usr/lib/libcurses.so [2020-06-15T15:58:20.270Z] -- Configuring done [2020-06-15T15:58:20.270Z] -- Generating done [2020-06-15T15:58:20.270Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-06-15T15:58:20.270Z] + make [2020-06-15T15:58:20.270Z] + tee debug.log [2020-06-15T15:58:20.532Z] Scanning dependencies of target csdk [2020-06-15T15:58:20.532Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-06-15T15:58:20.532Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-06-15T15:58:20.532Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-06-15T15:58:20.793Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-06-15T15:58:20.793Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-06-15T15:58:20.793Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-06-15T15:58:21.054Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-06-15T15:58:21.054Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-06-15T15:58:21.315Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-06-15T15:58:21.315Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-06-15T15:58:21.315Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-06-15T15:58:21.578Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-06-15T15:58:21.578Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-06-15T15:58:21.578Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-06-15T15:58:21.842Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-06-15T15:58:21.842Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-06-15T15:58:21.842Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-06-15T15:58:22.105Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-06-15T15:58:22.368Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-06-15T15:58:22.368Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-06-15T15:58:22.368Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-06-15T15:58:22.368Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-06-15T15:58:22.368Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-06-15T15:58:22.630Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-06-15T15:58:22.630Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-06-15T15:58:22.630Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-06-15T15:58:22.631Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-06-15T15:58:22.892Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-06-15T15:58:22.892Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-06-15T15:58:22.892Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-06-15T15:58:22.892Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-06-15T15:58:23.469Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-06-15T15:58:23.469Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-06-15T15:58:23.469Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-06-15T15:58:23.469Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-06-15T15:58:23.730Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-06-15T15:58:23.993Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-06-15T15:58:23.993Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-06-15T15:58:24.256Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-06-15T15:58:24.256Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-06-15T15:58:24.517Z] [ 74%] Linking C shared library libcsdk.so [2020-06-15T15:58:24.517Z] [ 74%] Built target csdk [2020-06-15T15:58:24.517Z] Scanning dependencies of target template [2020-06-15T15:58:24.517Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-06-15T15:58:24.517Z] [ 78%] Linking C executable template [2020-06-15T15:58:24.517Z] [ 78%] Built target template [2020-06-15T15:58:24.517Z] Scanning dependencies of target device-counter [2020-06-15T15:58:24.517Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-06-15T15:58:24.780Z] [ 81%] Linking C executable device-counter [2020-06-15T15:58:24.780Z] [ 81%] Built target device-counter [2020-06-15T15:58:24.780Z] Scanning dependencies of target device-random [2020-06-15T15:58:24.780Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-06-15T15:58:24.780Z] [ 85%] Linking C executable device-random [2020-06-15T15:58:25.042Z] [ 85%] Built target device-random [2020-06-15T15:58:25.042Z] Scanning dependencies of target device-gyro [2020-06-15T15:58:25.042Z] [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-06-15T15:58:25.042Z] [ 89%] Linking C executable device-gyro [2020-06-15T15:58:25.042Z] [ 89%] Built target device-gyro [2020-06-15T15:58:25.042Z] Scanning dependencies of target template-discovery [2020-06-15T15:58:25.042Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-06-15T15:58:25.042Z] [ 92%] Linking C executable template-discovery [2020-06-15T15:58:25.304Z] [ 92%] Built target template-discovery [2020-06-15T15:58:25.304Z] Scanning dependencies of target device-terminal [2020-06-15T15:58:25.304Z] [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-06-15T15:58:25.304Z] [ 96%] Linking C executable device-terminal [2020-06-15T15:58:25.304Z] [ 96%] Built target device-terminal [2020-06-15T15:58:25.304Z] Scanning dependencies of target templatev1 [2020-06-15T15:58:25.304Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-06-15T15:58:25.567Z] [100%] Linking C executable templatev1 [2020-06-15T15:58:25.567Z] [100%] Built target templatev1 [2020-06-15T15:58:25.567Z] make: Entering directory '/tmp/sdk/build/release' [2020-06-15T15:58:25.567Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-06-15T15:58:25.567Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-15T15:58:25.567Z] Scanning dependencies of target csdk [2020-06-15T15:58:25.567Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-15T15:58:25.567Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-15T15:58:25.567Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-06-15T15:58:26.139Z] [ 3%] Linking C shared library libcsdk.so [2020-06-15T15:58:26.139Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-15T15:58:26.139Z] [ 74%] Built target csdk [2020-06-15T15:58:26.139Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-15T15:58:26.139Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-15T15:58:26.139Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-15T15:58:26.139Z] [ 76%] Linking C executable template [2020-06-15T15:58:26.139Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-15T15:58:26.139Z] [ 78%] Built target template [2020-06-15T15:58:26.139Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-15T15:58:26.139Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-15T15:58:26.139Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-15T15:58:26.139Z] [ 80%] Linking C executable device-counter [2020-06-15T15:58:26.139Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-15T15:58:26.140Z] [ 81%] Built target device-counter [2020-06-15T15:58:26.140Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-15T15:58:26.402Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-15T15:58:26.402Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-15T15:58:26.402Z] [ 83%] Linking C executable device-random [2020-06-15T15:58:26.402Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-15T15:58:26.402Z] [ 85%] Built target device-random [2020-06-15T15:58:26.402Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-15T15:58:26.402Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-15T15:58:26.402Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-15T15:58:26.402Z] [ 87%] Linking C executable device-gyro [2020-06-15T15:58:26.402Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-15T15:58:26.402Z] [ 89%] Built target device-gyro [2020-06-15T15:58:26.402Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-15T15:58:26.402Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-15T15:58:26.402Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-15T15:58:26.402Z] [ 90%] Linking C executable template-discovery [2020-06-15T15:58:26.402Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-15T15:58:26.402Z] [ 92%] Built target template-discovery [2020-06-15T15:58:26.402Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-15T15:58:26.402Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-15T15:58:26.402Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-15T15:58:26.402Z] [ 94%] Linking C executable device-terminal [2020-06-15T15:58:26.665Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-15T15:58:26.665Z] [ 96%] Built target device-terminal [2020-06-15T15:58:26.665Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-15T15:58:26.665Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-15T15:58:26.665Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-15T15:58:26.666Z] [ 98%] Linking C executable templatev1 [2020-06-15T15:58:26.666Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-15T15:58:26.666Z] [100%] Built target templatev1 [2020-06-15T15:58:26.666Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-06-15T15:58:26.666Z] Install the project... [2020-06-15T15:58:26.666Z] -- Install configuration: "Release" [2020-06-15T15:58:26.666Z] -- Installing: /usr/local/lib/libcsdk.so [2020-06-15T15:58:26.666Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-06-15T15:58:26.666Z] -- Up-to-date: /usr/local/include [2020-06-15T15:58:26.666Z] -- Installing: /usr/local/include/devsdk [2020-06-15T15:58:26.666Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-06-15T15:58:26.666Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-06-15T15:58:26.666Z] -- Installing: /usr/local/include/edgex [2020-06-15T15:58:26.666Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-06-15T15:58:26.666Z] -- Installing: /usr/local/include/edgex/devices.h [2020-06-15T15:58:26.666Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-06-15T15:58:26.666Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-06-15T15:58:26.666Z] -- Installing: /usr/local/include/edgex/edgex-logging.h [2020-06-15T15:58:26.666Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-06-15T15:58:26.666Z] -- Installing: /usr/local/include/edgex/error.h [2020-06-15T15:58:26.666Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-06-15T15:58:26.666Z] -- Installing: /usr/local/include/edgex/os.h [2020-06-15T15:58:26.666Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-06-15T15:58:26.666Z] -- Installing: /usr/local/include/edgex/registry.h [2020-06-15T15:58:26.666Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-06-15T15:58:26.666Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-06-15T15:58:26.666Z] -- Installing: /usr/local/include/iot [2020-06-15T15:58:26.666Z] -- Installing: /usr/local/include/iot/base64.h [2020-06-15T15:58:26.666Z] -- Installing: /usr/local/include/iot/component.h [2020-06-15T15:58:26.666Z] -- Installing: /usr/local/include/iot/container.h [2020-06-15T15:58:26.666Z] -- Installing: /usr/local/include/iot/data.h [2020-06-15T15:58:26.666Z] -- Installing: /usr/local/include/iot/hash.h [2020-06-15T15:58:26.666Z] -- Installing: /usr/local/include/iot/iot.h [2020-06-15T15:58:26.666Z] -- Installing: /usr/local/include/iot/json.h [2020-06-15T15:58:26.666Z] -- Installing: /usr/local/include/iot/logger.h [2020-06-15T15:58:26.666Z] -- Installing: /usr/local/include/iot/os.h [2020-06-15T15:58:26.666Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-06-15T15:58:26.666Z] -- Installing: /usr/local/include/iot/thread.h [2020-06-15T15:58:26.666Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-06-15T15:58:26.666Z] -- Installing: /usr/local/include/iot/time.h [2020-06-15T15:58:26.666Z] -- Installing: /usr/local/include/iot/typecode.h [2020-06-15T15:58:26.666Z] -- Installing: /usr/local/include/iot/os [2020-06-15T15:58:26.666Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-06-15T15:58:26.666Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-06-15T15:58:26.666Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-06-15T15:58:26.666Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-06-15T15:58:26.666Z] make: Leaving directory '/tmp/sdk/build/release' [2020-06-15T15:58:28.592Z] Removing intermediate container d507ee815423 [2020-06-15T15:58:28.592Z] ---> a5baf381c793 [2020-06-15T15:58:28.592Z] Step 14/21 : FROM ${BASE} [2020-06-15T15:58:28.592Z] ---> 5eabd8fd8ba2 [2020-06-15T15:58:28.592Z] Step 15/21 : MAINTAINER IOTech [2020-06-15T15:58:28.592Z] ---> Running in 358a40d3727d [2020-06-15T15:58:28.857Z] Removing intermediate container 358a40d3727d [2020-06-15T15:58:28.857Z] ---> 3b3638960bdb [2020-06-15T15:58:28.857Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-06-15T15:58:28.857Z] ---> Running in abad743eeea1 [2020-06-15T15:58:29.445Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-06-15T15:58:30.391Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-06-15T15:58:30.651Z] (1/3) Installing curl (7.64.0-r3) [2020-06-15T15:58:30.651Z] (2/3) Installing libuuid (2.33-r0) [2020-06-15T15:58:30.651Z] (3/3) Installing wget (1.20.3-r0) [2020-06-15T15:58:30.912Z] Executing busybox-1.29.3-r10.trigger [2020-06-15T15:58:30.912Z] OK: 268 MiB in 78 packages [2020-06-15T15:58:31.488Z] Removing intermediate container abad743eeea1 [2020-06-15T15:58:31.488Z] ---> 1e6566ee7a01 [2020-06-15T15:58:31.488Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-06-15T15:58:31.751Z] ---> cfefa660dff5 [2020-06-15T15:58:31.751Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-06-15T15:58:31.751Z] ---> 092b53707054 [2020-06-15T15:58:31.751Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-06-15T15:58:32.013Z] ---> 3c35062631ab [2020-06-15T15:58:32.013Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-06-15T15:58:32.276Z] ---> 7546983b3463 [2020-06-15T15:58:32.276Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-06-15T15:58:32.539Z] ---> a57ca1dfac79 [2020-06-15T15:58:32.539Z] Successfully built a57ca1dfac79 [2020-06-15T15:58:32.539Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-06-15T15:58:33.193Z] + docker inspect -f . ci-base-image-x86_64 [2020-06-15T15:58:33.193Z] . [Pipeline] withDockerContainer [2020-06-15T15:58:33.307Z] prd-centos7-docker-4c-2g-3049 does not seem to be running inside a container [2020-06-15T15:58:33.357Z] $ 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 ******** ci-base-image-x86_64 cat [2020-06-15T15:58:34.298Z] $ docker top cfa0ef30ef9428cd253176284cbc3eea8b3640dd211647c39cffd668e9c714b2 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-15T15:58:34.755Z] + make test [2020-06-15T15:58:34.755Z] echo "make test" [2020-06-15T15:58:34.755Z] make test [Pipeline] } [2020-06-15T15:58:34.786Z] $ docker stop --time=1 cfa0ef30ef9428cd253176284cbc3eea8b3640dd211647c39cffd668e9c714b2 [2020-06-15T15:58:36.126Z] $ docker rm -f cfa0ef30ef9428cd253176284cbc3eea8b3640dd211647c39cffd668e9c714b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-15T15:58:36.906Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-15T15:58:37.223Z] + ls -al . [2020-06-15T15:58:37.223Z] total 160 [2020-06-15T15:58:37.223Z] drwxrwxr-x. 8 jenkins jenkins 260 Jun 15 15:57 . [2020-06-15T15:58:37.223Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 15 15:57 .. [2020-06-15T15:58:37.224Z] -rw-rw-r--. 1 jenkins jenkins 3104 Jun 15 15:57 Attribution.txt [2020-06-15T15:58:37.224Z] -rw-rw-r--. 1 jenkins jenkins 5323 Jun 15 15:57 CHANGES [2020-06-15T15:58:37.224Z] drwxrwxr-x. 2 jenkins jenkins 144 Jun 15 15:57 docs [2020-06-15T15:58:37.224Z] -rw-rw-r--. 1 jenkins jenkins 108574 Jun 15 15:57 Doxyfile [2020-06-15T15:58:37.224Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 15 15:57 .git [2020-06-15T15:58:37.224Z] -rw-rw-r--. 1 jenkins jenkins 176 Jun 15 15:57 .gitignore [2020-06-15T15:58:37.224Z] drwxrwxr-x. 4 jenkins jenkins 33 Jun 15 15:57 include [2020-06-15T15:58:37.224Z] -rw-rw-r--. 1 jenkins jenkins 794 Jun 15 15:57 Jenkinsfile [2020-06-15T15:58:37.224Z] -rw-rw-r--. 1 jenkins jenkins 10174 Jun 15 15:57 LICENSE [2020-06-15T15:58:37.224Z] -rw-rw-r--. 1 jenkins jenkins 449 Jun 15 15:57 Makefile [2020-06-15T15:58:37.224Z] -rw-rw-r--. 1 jenkins jenkins 1849 Jun 15 15:57 README.md [2020-06-15T15:58:37.224Z] -rw-rw-r--. 1 jenkins jenkins 5229 Jun 15 15:57 README.v2.md [2020-06-15T15:58:37.224Z] drwxrwxr-x. 2 jenkins jenkins 108 Jun 15 15:57 scripts [2020-06-15T15:58:37.224Z] drwxrwxr-x. 3 jenkins jenkins 58 Jun 15 15:57 .semver [2020-06-15T15:58:37.224Z] drwxrwxr-x. 4 jenkins jenkins 50 Jun 15 15:57 src [2020-06-15T15:58:37.224Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 15 15:53 VERSION [Pipeline] isUnix [Pipeline] sh [2020-06-15T15:58:37.553Z] + 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=9a1a9a8812dd079c3cf1db19503d1d5516cf1e0c --label arch=amd64 --label version=0.0.0 . [2020-06-15T15:58:37.553Z] Sending build context to Docker daemon 3.271MB [2020-06-15T15:58:37.553Z] Step 1/15 : ARG BASE=alpine:3.11 [2020-06-15T15:58:37.553Z] Step 2/15 : FROM ${BASE} [2020-06-15T15:58:37.553Z] ---> a57ca1dfac79 [2020-06-15T15:58:37.553Z] Step 3/15 : MAINTAINER IOTech [2020-06-15T15:58:38.126Z] ---> Running in 2edb49b457cf [2020-06-15T15:58:38.126Z] Removing intermediate container 2edb49b457cf [2020-06-15T15:58:38.126Z] ---> e578277ff7f0 [2020-06-15T15:58:38.126Z] Step 4/15 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev && mkdir -p /edgex-c-sdk/build [2020-06-15T15:58:38.389Z] ---> Running in 82fcd0dd7466 [2020-06-15T15:58:38.651Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-06-15T15:58:39.595Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-06-15T15:58:39.861Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2020-06-15T15:58:40.123Z] (2/6) Installing libblkid (2.33-r0) [2020-06-15T15:58:40.123Z] (3/6) Installing libfdisk (2.33-r0) [2020-06-15T15:58:40.123Z] (4/6) Installing libmount (2.33-r0) [2020-06-15T15:58:40.384Z] (5/6) Installing libsmartcols (2.33-r0) [2020-06-15T15:58:40.384Z] (6/6) Installing util-linux-dev (2.33-r0) [2020-06-15T15:58:40.956Z] Executing busybox-1.29.3-r10.trigger [2020-06-15T15:58:40.956Z] OK: 272 MiB in 84 packages [2020-06-15T15:58:41.217Z] Removing intermediate container 82fcd0dd7466 [2020-06-15T15:58:41.217Z] ---> 2adb34135aca [2020-06-15T15:58:41.217Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-06-15T15:58:41.479Z] ---> b72680d63fdc [2020-06-15T15:58:41.479Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-06-15T15:58:42.424Z] ---> 6f2e21409d1c [2020-06-15T15:58:42.424Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-06-15T15:58:42.424Z] ---> a7342c2a34e6 [2020-06-15T15:58:42.424Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-06-15T15:58:42.685Z] ---> 4868d11ddec3 [2020-06-15T15:58:42.685Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-06-15T15:58:42.685Z] ---> 8d62115a41d5 [2020-06-15T15:58:42.685Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-06-15T15:58:42.947Z] ---> 32dfcc7f4bd6 [2020-06-15T15:58:42.947Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-06-15T15:58:43.209Z] ---> Running in 75b29f28222d [2020-06-15T15:58:43.209Z] Removing intermediate container 75b29f28222d [2020-06-15T15:58:43.209Z] ---> 8a5141934319 [2020-06-15T15:58:43.209Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-06-15T15:58:43.209Z] ---> Running in 16261e9b0aef [2020-06-15T15:58:43.472Z] Removing intermediate container 16261e9b0aef [2020-06-15T15:58:43.472Z] ---> 393e86ced1d7 [2020-06-15T15:58:43.472Z] Step 13/15 : LABEL arch=amd64 [2020-06-15T15:58:43.472Z] ---> Running in 2412dc926c08 [2020-06-15T15:58:43.734Z] Removing intermediate container 2412dc926c08 [2020-06-15T15:58:43.734Z] ---> 1762f3cc4942 [2020-06-15T15:58:43.734Z] Step 14/15 : LABEL git_sha=9a1a9a8812dd079c3cf1db19503d1d5516cf1e0c [2020-06-15T15:58:43.734Z] ---> Running in 5e3073015c2b [2020-06-15T15:58:43.734Z] Removing intermediate container 5e3073015c2b [2020-06-15T15:58:43.734Z] ---> b7978e3b4cf0 [2020-06-15T15:58:43.734Z] Step 15/15 : LABEL version=0.0.0 [2020-06-15T15:58:43.995Z] ---> Running in 0a6f34639641 [2020-06-15T15:58:43.995Z] Removing intermediate container 0a6f34639641 [2020-06-15T15:58:43.995Z] ---> 6f625d1572c4 [2020-06-15T15:58:43.995Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2020-06-15T15:58:43.995Z] Successfully built 6f625d1572c4 [2020-06-15T15:58:43.995Z] Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-06-15T15:58:46.339Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-15T15:58:46.964Z] ---> package-listing.sh [2020-06-15T15:58:46.964Z] ++ facter osfamily [2020-06-15T15:58:46.964Z] ++ tr '[:upper:]' '[:lower:]' [2020-06-15T15:58:47.241Z] + OS_FAMILY=redhat [2020-06-15T15:58:47.241Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-269 [2020-06-15T15:58:47.241Z] + START_PACKAGES=/tmp/packages_start.txt [2020-06-15T15:58:47.241Z] + END_PACKAGES=/tmp/packages_end.txt [2020-06-15T15:58:47.241Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-06-15T15:58:47.241Z] + PACKAGES=/tmp/packages_start.txt [2020-06-15T15:58:47.241Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-269 ']' [2020-06-15T15:58:47.241Z] + PACKAGES=/tmp/packages_end.txt [2020-06-15T15:58:47.241Z] + case "${OS_FAMILY}" in [2020-06-15T15:58:47.241Z] + rpm -qa [2020-06-15T15:58:47.241Z] + sort [2020-06-15T15:58:51.519Z] + '[' -f /tmp/packages_start.txt ']' [2020-06-15T15:58:51.519Z] + '[' -f /tmp/packages_end.txt ']' [2020-06-15T15:58:51.519Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-06-15T15:58:51.519Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-269 ']' [2020-06-15T15:58:51.519Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-269/archives/ [2020-06-15T15:58:51.519Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-269/archives/ [Pipeline] isUnix [Pipeline] sh [2020-06-15T15:58:51.943Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-15T15:58:51.943Z] [2020-06-15T15:58:51.943Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-06-15T15:58:52.342Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-15T15:58:52.342Z] alpine: Pulling from edgex-lftools-log-publisher [2020-06-15T15:58:52.342Z] c9b1b535fdd9: Pulling fs layer [2020-06-15T15:58:52.342Z] 2cc5ad85d9ab: Pulling fs layer [2020-06-15T15:58:52.342Z] 756a868c4378: Pulling fs layer [2020-06-15T15:58:52.342Z] 444b2fc9a129: Pulling fs layer [2020-06-15T15:58:52.342Z] ea15f1150254: Pulling fs layer [2020-06-15T15:58:52.342Z] 41b27a9f41bf: Pulling fs layer [2020-06-15T15:58:52.342Z] 28c525ee5125: Pulling fs layer [2020-06-15T15:58:52.342Z] 094b1ea09ed8: Pulling fs layer [2020-06-15T15:58:52.342Z] 138eaada9080: Pulling fs layer [2020-06-15T15:58:52.342Z] 0622d0fa9048: Pulling fs layer [2020-06-15T15:58:52.342Z] 41b27a9f41bf: Waiting [2020-06-15T15:58:52.342Z] 28c525ee5125: Waiting [2020-06-15T15:58:52.342Z] 094b1ea09ed8: Waiting [2020-06-15T15:58:52.342Z] 138eaada9080: Waiting [2020-06-15T15:58:52.342Z] 0622d0fa9048: Waiting [2020-06-15T15:58:52.342Z] 444b2fc9a129: Waiting [2020-06-15T15:58:52.342Z] ea15f1150254: Waiting [2020-06-15T15:58:52.342Z] 2cc5ad85d9ab: Verifying Checksum [2020-06-15T15:58:52.342Z] 2cc5ad85d9ab: Download complete [2020-06-15T15:58:52.666Z] 444b2fc9a129: Download complete [2020-06-15T15:58:52.666Z] c9b1b535fdd9: Verifying Checksum [2020-06-15T15:58:52.666Z] c9b1b535fdd9: Download complete [2020-06-15T15:58:52.975Z] ea15f1150254: Verifying Checksum [2020-06-15T15:58:52.975Z] ea15f1150254: Download complete [2020-06-15T15:58:52.975Z] 28c525ee5125: Verifying Checksum [2020-06-15T15:58:52.975Z] 28c525ee5125: Download complete [2020-06-15T15:58:53.261Z] c9b1b535fdd9: Pull complete [2020-06-15T15:58:53.649Z] 756a868c4378: Verifying Checksum [2020-06-15T15:58:53.649Z] 756a868c4378: Download complete [2020-06-15T15:58:53.938Z] 138eaada9080: Verifying Checksum [2020-06-15T15:58:53.938Z] 138eaada9080: Download complete [2020-06-15T15:58:53.938Z] 0622d0fa9048: Verifying Checksum [2020-06-15T15:58:53.938Z] 0622d0fa9048: Download complete [2020-06-15T15:58:53.938Z] 2cc5ad85d9ab: Pull complete [2020-06-15T15:58:53.938Z] 094b1ea09ed8: Verifying Checksum [2020-06-15T15:58:53.938Z] 094b1ea09ed8: Download complete [2020-06-15T15:58:54.547Z] 41b27a9f41bf: Verifying Checksum [2020-06-15T15:58:54.547Z] 41b27a9f41bf: Download complete [2020-06-15T15:58:57.186Z] 756a868c4378: Pull complete [2020-06-15T15:58:57.186Z] 444b2fc9a129: Pull complete [2020-06-15T15:58:57.463Z] ea15f1150254: Pull complete [2020-06-15T15:59:03.148Z] 41b27a9f41bf: Pull complete [2020-06-15T15:59:03.148Z] 28c525ee5125: Pull complete [2020-06-15T15:59:06.620Z] 094b1ea09ed8: Pull complete [2020-06-15T15:59:06.620Z] 138eaada9080: Pull complete [2020-06-15T15:59:06.889Z] 0622d0fa9048: Pull complete [2020-06-15T15:59:06.889Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-06-15T15:59:06.889Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-15T15:59:06.889Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-06-15T15:59:07.335Z] prd-centos7-docker-4c-2g-3033 does not seem to be running inside a container [2020-06-15T15:59:07.456Z] $ 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-269 -v /w/workspace/edgexfoundry_device-sdk-c_PR-269:/w/workspace/edgexfoundry_device-sdk-c_PR-269:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-269@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-269@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-06-15T15:59:11.535Z] $ docker top 2d620abfccdab38f05249fee23fb1f8aa1eb80c20299b8ff0582c0061453a0a1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-06-15T15:59:11.831Z] provisioning config files... [2020-06-15T15:59:11.852Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-269@tmp/config1667699223058407835tmp [Pipeline] { [Pipeline] echo [2020-06-15T15:59:11.933Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-15T15:59:12.320Z] ---> create-netrc.sh [Pipeline] echo [2020-06-15T15:59:12.357Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-15T15:59:13.059Z] ---> logs-deploy.sh [2020-06-15T15:59:13.059Z] + ARCHIVE_ARTIFACTS= [2020-06-15T15:59:13.059Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-06-15T15:59:13.059Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-06-15T15:59:13.059Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-06-15T15:59:13.059Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-269/1 [2020-06-15T15:59:13.059Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-269/1/ [2020-06-15T15:59:13.059Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-269/1 /w/workspace/edgexfoundry_device-sdk-c_PR-269 [2020-06-15T15:59:14.461Z] Archives upload complete. [2020-06-15T15:59:14.734Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-269/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-269/1/