Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from feadb86bacbe0d21fda66ef6cfc7f5b973e1d88c Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision be3c330340c18bb7ab85087afff7d7ed2ee420c0 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision be3c330340c18bb7ab85087afff7d7ed2ee420c0 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision be3c330340c18bb7ab85087afff7d7ed2ee420c0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f be3c330340c18bb7ab85087afff7d7ed2ee420c0 # timeout=10 Commit message: "Merge pull request #211 from ernestojeda/fix-docker-image-push-with-namespace" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-3.11-base, dockerFilePath:scripts/Dockerfile.alpine-3.11, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine-3.11 DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-3.11-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-c DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-589 in /w/workspace/edgexfoundry_device-sdk-c_master [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 Fetching without tags Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/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/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/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision feadb86bacbe0d21fda66ef6cfc7f5b973e1d88c (master) > git config core.sparsecheckout # timeout=10 > git checkout -f feadb86bacbe0d21fda66ef6cfc7f5b973e1d88c # timeout=10 Commit message: "Merge pull request #282 from iain-anderson/issue-278" > git rev-list --no-walk d458e952d42ac930bd5a0ab6668869a0b7caa0a4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-07-22T14:39:40.939Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-07-22T14:39:41.154Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-07-22T14:39:41.235Z] ========================================================= [2020-07-22T14:39:41.235Z] EdgeX Global Pipelines Version Info [2020-07-22T14:39:41.235Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-07-22T14:39:43.047Z] ------------------- [2020-07-22T14:39:43.047Z] stable info: [2020-07-22T14:39:43.047Z] ------------------- [2020-07-22T14:39:43.047Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-07-22T14:39:43.047Z] Commit SHA: be3c330340c18bb7ab85087afff7d7ed2ee420c0 [2020-07-22T14:39:43.047Z] Message: update stable to v1.0.99 [2020-07-22T14:39:43.618Z] ------------------- [2020-07-22T14:39:43.619Z] experimental info: [2020-07-22T14:39:43.619Z] ------------------- [2020-07-22T14:39:43.619Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-07-22T14:39:43.619Z] Commit SHA: 78d567e8c35819a45e10bd2b75e1138b16507148 [2020-07-22T14:39:43.619Z] Message: update experimental to v1.0.101 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-07-22T14:39:45.740Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-22T14:39:46.326Z] [2020-07-22T14:39:46.326Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-07-22T14:39:46.692Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-22T14:39:46.692Z] latest: Pulling from edgex-devops/git-semver [2020-07-22T14:39:46.692Z] 31603596830f: Pulling fs layer [2020-07-22T14:39:46.692Z] 2a8b12db71e7: Pulling fs layer [2020-07-22T14:39:46.692Z] 6ca5941a6612: Pulling fs layer [2020-07-22T14:39:46.692Z] ecc8261a40a4: Pulling fs layer [2020-07-22T14:39:46.692Z] ecc8261a40a4: Waiting [2020-07-22T14:39:46.692Z] 2a8b12db71e7: Verifying Checksum [2020-07-22T14:39:46.692Z] 2a8b12db71e7: Download complete [2020-07-22T14:39:46.963Z] 31603596830f: Verifying Checksum [2020-07-22T14:39:46.963Z] 31603596830f: Download complete [2020-07-22T14:39:46.963Z] ecc8261a40a4: Verifying Checksum [2020-07-22T14:39:46.963Z] ecc8261a40a4: Download complete [2020-07-22T14:39:46.963Z] 6ca5941a6612: Verifying Checksum [2020-07-22T14:39:46.963Z] 6ca5941a6612: Download complete [2020-07-22T14:39:47.224Z] 31603596830f: Pull complete [2020-07-22T14:39:47.224Z] 2a8b12db71e7: Pull complete [2020-07-22T14:39:48.173Z] 6ca5941a6612: Pull complete [2020-07-22T14:39:48.173Z] ecc8261a40a4: Pull complete [2020-07-22T14:39:48.173Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-07-22T14:39:48.173Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-22T14:39:48.173Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-07-22T14:39:48.278Z] prd-centos7-docker-4c-2g-589 does not seem to be running inside a container [2020-07-22T14:39:48.312Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-07-22T14:39:50.441Z] $ docker top f6487f12a09d6866a29da15845b44935d7d82d092c50740c961589ec4d24d227 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-07-22T14:39:50.765Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-22T14:39:50.766Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-22T14:39:50.972Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-22T14:39:50.967Z] $ docker exec f6487f12a09d6866a29da15845b44935d7d82d092c50740c961589ec4d24d227 ssh-agent [2020-07-22T14:39:51.132Z] SSH_AUTH_SOCK=/tmp/ssh-X7cgunAIF6TR/agent.11 [2020-07-22T14:39:51.132Z] SSH_AGENT_PID=16 [2020-07-22T14:39:51.143Z] Running ssh-add (command line suppressed) [2020-07-22T14:39:51.250Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_1297510086247610413.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_1297510086247610413.key) [2020-07-22T14:39:51.307Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-22T14:39:51.640Z] + git describe --exact-match --tags HEAD [2020-07-22T14:39:51.640Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-07-22T14:39:51.685Z] $ docker exec --env ******** --env ******** f6487f12a09d6866a29da15845b44935d7d82d092c50740c961589ec4d24d227 ssh-agent -k [2020-07-22T14:39:51.806Z] unset SSH_AUTH_SOCK; [2020-07-22T14:39:51.806Z] unset SSH_AGENT_PID; [2020-07-22T14:39:51.806Z] echo Agent pid 16 killed; [2020-07-22T14:39:51.856Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-07-22T14:39:51.949Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-07-22T14:39:51.949Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-07-22T14:39:52.034Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-22T14:39:52.034Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-22T14:39:52.200Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-22T14:39:52.196Z] $ docker exec f6487f12a09d6866a29da15845b44935d7d82d092c50740c961589ec4d24d227 ssh-agent [2020-07-22T14:39:52.367Z] SSH_AUTH_SOCK=/tmp/ssh-nHhT8IA3wLDv/agent.44 [2020-07-22T14:39:52.367Z] SSH_AGENT_PID=49 [2020-07-22T14:39:52.372Z] Running ssh-add (command line suppressed) [2020-07-22T14:39:52.480Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_8779622524991255254.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_8779622524991255254.key) [2020-07-22T14:39:52.536Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-22T14:39:52.911Z] + git semver init [2020-07-22T14:39:52.911Z] # -> Open(): unable to determine branch for HEAD [2020-07-22T14:39:52.911Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2020-07-22T14:39:52.911Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2020-07-22T14:39:52.911Z] # $SEMVER_REMOTE_NAME = origin [2020-07-22T14:39:52.911Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-07-22T14:39:52.911Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-07-22T14:39:52.911Z] # $SEMVER_BRANCH = master [2020-07-22T14:39:52.911Z] # $SEMVER_TEMP = /tmp/semver-467424279 [2020-07-22T14:39:52.911Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2020-07-22T14:39:53.483Z] # '/tmp/semver-467424279' -> '/w/workspace/edgexfoundry_device-sdk-c_master/.semver' [2020-07-22T14:39:53.483Z] # -> Force: false [2020-07-22T14:39:53.483Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [Pipeline] } [2020-07-22T14:39:53.486Z] $ docker exec --env ******** --env ******** f6487f12a09d6866a29da15845b44935d7d82d092c50740c961589ec4d24d227 ssh-agent -k [2020-07-22T14:39:53.598Z] unset SSH_AUTH_SOCK; [2020-07-22T14:39:53.599Z] unset SSH_AGENT_PID; [2020-07-22T14:39:53.599Z] echo Agent pid 49 killed; [2020-07-22T14:39:53.652Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-07-22T14:39:54.082Z] + git semver [Pipeline] } [2020-07-22T14:39:54.089Z] $ docker stop --time=1 f6487f12a09d6866a29da15845b44935d7d82d092c50740c961589ec4d24d227 [2020-07-22T14:39:55.447Z] $ docker rm -f f6487f12a09d6866a29da15845b44935d7d82d092c50740c961589ec4d24d227 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-07-22T14:39:56.171Z] Stashed 30 file(s) [Pipeline] echo [2020-07-22T14:39:56.173Z] [edgeXSemver] initialized semver on version 1.2.2-dev.11 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-07-22T14:40:11.473Z] Still waiting to schedule task [2020-07-22T14:40:11.473Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-589’ [2020-07-22T14:40:11.474Z] Still waiting to schedule task [2020-07-22T14:40:11.475Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-07-22T14:41:51.155Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-590 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] ws [2020-07-22T14:41:51.201Z] Running in /w/workspace/device-sdk-c/35 [Pipeline] { [Pipeline] checkout [2020-07-22T14:41:55.698Z] using credential edgex-jenkins-ssh [2020-07-22T14:41:55.769Z] Cloning the remote Git repository [2020-07-22T14:41:55.769Z] Cloning with configured refspecs honoured and without tags [2020-07-22T14:41:55.825Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-07-22T14:41:55.933Z] > git init /w/workspace/device-sdk-c/35 # timeout=10 [2020-07-22T14:41:55.995Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-07-22T14:41:55.996Z] > git --version # timeout=10 [2020-07-22T14:41:56.024Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-22T14:41:56.089Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-22T14:41:57.144Z] Fetching without tags [2020-07-22T14:41:57.075Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-07-22T14:41:57.095Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-22T14:41:57.124Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-07-22T14:41:57.148Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-07-22T14:41:57.148Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-22T14:41:57.160Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-22T14:41:57.703Z] Checking out Revision feadb86bacbe0d21fda66ef6cfc7f5b973e1d88c (master) [2020-07-22T14:41:57.715Z] > git config core.sparsecheckout # timeout=10 [2020-07-22T14:41:57.733Z] > git checkout -f feadb86bacbe0d21fda66ef6cfc7f5b973e1d88c # timeout=10 [2020-07-22T14:42:02.077Z] Commit message: "Merge pull request #282 from iain-anderson/issue-278" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-07-22T14:42:03.371Z] ========================================================= [2020-07-22T14:42:03.371Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2020-07-22T14:42:03.371Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-22T14:42:04.572Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-3.11-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2020-07-22T14:42:05.564Z] Sending build context to Docker daemon 3.381MB [2020-07-22T14:42:05.564Z] Step 1/21 : ARG BASE=alpine:3.11 [2020-07-22T14:42:05.564Z] Step 2/21 : FROM ${BASE} as builder [2020-07-22T14:42:05.836Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2020-07-22T14:42:05.836Z] 0362ad1dd800: Pulling fs layer [2020-07-22T14:42:05.836Z] f2cdb1532d8b: Pulling fs layer [2020-07-22T14:42:05.836Z] 37ed683be191: Pulling fs layer [2020-07-22T14:42:05.836Z] f2cdb1532d8b: Verifying Checksum [2020-07-22T14:42:05.836Z] f2cdb1532d8b: Download complete [2020-07-22T14:42:06.112Z] 0362ad1dd800: Verifying Checksum [2020-07-22T14:42:06.112Z] 0362ad1dd800: Download complete [2020-07-22T14:42:06.711Z] 0362ad1dd800: Pull complete [2020-07-22T14:42:06.985Z] f2cdb1532d8b: Pull complete [2020-07-22T14:42:07.965Z] 37ed683be191: Verifying Checksum [2020-07-22T14:42:07.965Z] 37ed683be191: Download complete [2020-07-22T14:42:18.127Z] 37ed683be191: Pull complete [2020-07-22T14:42:18.127Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2020-07-22T14:42:18.127Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2020-07-22T14:42:18.127Z] ---> b23d30803547 [2020-07-22T14:42:18.127Z] Step 3/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev [2020-07-22T14:42:18.723Z] ---> Running in 5855aa672818 [2020-07-22T14:42:20.694Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-07-22T14:42:20.966Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-07-22T14:42:21.558Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-07-22T14:42:21.558Z] (2/8) Installing libuuid (2.33-r0) [2020-07-22T14:42:21.558Z] (3/8) Installing libblkid (2.33-r0) [2020-07-22T14:42:21.828Z] (4/8) Installing libfdisk (2.33-r0) [2020-07-22T14:42:21.828Z] (5/8) Installing libmount (2.33-r0) [2020-07-22T14:42:21.828Z] (6/8) Installing libsmartcols (2.33-r0) [2020-07-22T14:42:22.102Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-07-22T14:42:22.376Z] (8/8) Installing wget (1.20.3-r0) [2020-07-22T14:42:22.376Z] Executing busybox-1.29.3-r10.trigger [2020-07-22T14:42:22.376Z] OK: 285 MiB in 83 packages [2020-07-22T14:42:23.808Z] Removing intermediate container 5855aa672818 [2020-07-22T14:42:23.808Z] ---> ba0ebe12c718 [2020-07-22T14:42:23.808Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-07-22T14:42:24.081Z] ---> Running in 0fdd4020f6c8 [2020-07-22T14:42:24.352Z] Removing intermediate container 0fdd4020f6c8 [2020-07-22T14:42:24.352Z] ---> 57206ceef3d3 [2020-07-22T14:42:24.352Z] Step 5/21 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2020-07-22T14:42:24.628Z] ---> Running in 59e359952acb [2020-07-22T14:42:26.064Z] --2020-07-22 14:42:25-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-07-22T14:42:26.064Z] Resolving github.com... 140.82.112.4 [2020-07-22T14:42:26.064Z] Connecting to github.com|140.82.112.4|:443... connected. [2020-07-22T14:42:26.064Z] HTTP request sent, awaiting response... 302 Found [2020-07-22T14:42:26.064Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-07-22T14:42:26.064Z] --2020-07-22 14:42:25-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-07-22T14:42:26.064Z] Resolving codeload.github.com... 140.82.114.9 [2020-07-22T14:42:26.064Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2020-07-22T14:42:26.339Z] HTTP request sent, awaiting response... 200 OK [2020-07-22T14:42:26.339Z] Length: unspecified [application/x-gzip] [2020-07-22T14:42:26.339Z] Saving to: 'STDOUT' [2020-07-22T14:42:26.339Z] [2020-07-22T14:42:26.339Z] 0K .......... .......... .......... .......... .......... 1.35M [2020-07-22T14:42:26.339Z] 50K .......... .......... .......... .......... .......... 2.43M [2020-07-22T14:42:26.339Z] 100K .......... .......... .......... .......... .......... 2.69M [2020-07-22T14:42:26.339Z] 150K .......... .......... .......... .......... .......... 15.4M [2020-07-22T14:42:26.615Z] 200K .......... .......... .......... .......... .......... 2.64M [2020-07-22T14:42:26.615Z] 250K .......... .......... .......... .......... .......... 5.48M [2020-07-22T14:42:26.616Z] 300K .......... .......... .......... .......... .......... 4.57M [2020-07-22T14:42:26.616Z] 350K .......... .......... .......... .......... .......... 4.42M [2020-07-22T14:42:26.616Z] 400K .......... .......... .......... .......... .......... 3.15M [2020-07-22T14:42:26.616Z] 450K .......... .......... .......... .......... .......... 3.58M [2020-07-22T14:42:26.616Z] 500K .......... .......... .......... .......... .......... 8.13M [2020-07-22T14:42:26.616Z] 550K .......... .......... .......... .......... .......... 1.34M [2020-07-22T14:42:26.616Z] 600K .......... .......... .......... .......... .......... 1.21M [2020-07-22T14:42:26.616Z] 650K .......... .......... .......... .......... .......... 1.91M [2020-07-22T14:42:26.616Z] 700K ..    4.77M=0.3s [2020-07-22T14:42:26.616Z] [2020-07-22T14:42:26.616Z] 2020-07-22 14:42:26 (2.59 MB/s) - written to stdout [719348] [2020-07-22T14:42:26.616Z] [2020-07-22T14:42:26.887Z] -- The C compiler identification is GNU 8.3.0 [2020-07-22T14:42:27.161Z] -- The CXX compiler identification is GNU 8.3.0 [2020-07-22T14:42:27.161Z] -- Check for working C compiler: /usr/bin/cc [2020-07-22T14:42:27.438Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-07-22T14:42:27.438Z] -- Detecting C compiler ABI info [2020-07-22T14:42:27.712Z] -- Detecting C compiler ABI info - done [2020-07-22T14:42:27.712Z] -- Detecting C compile features [2020-07-22T14:42:28.306Z] -- Detecting C compile features - done [2020-07-22T14:42:28.592Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-07-22T14:42:28.592Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-07-22T14:42:28.592Z] -- Detecting CXX compiler ABI info [2020-07-22T14:42:28.865Z] -- Detecting CXX compiler ABI info - done [2020-07-22T14:42:29.138Z] -- Detecting CXX compile features [2020-07-22T14:42:30.568Z] -- Detecting CXX compile features - done [2020-07-22T14:42:30.568Z] -- Looking for include file endian.h [2020-07-22T14:42:30.842Z] -- Looking for include file endian.h - found [2020-07-22T14:42:30.842Z] -- Check if the system is big endian [2020-07-22T14:42:30.842Z] -- Searching 16 bit integer [2020-07-22T14:42:30.842Z] -- Looking for sys/types.h [2020-07-22T14:42:31.114Z] -- Looking for sys/types.h - found [2020-07-22T14:42:31.114Z] -- Looking for stdint.h [2020-07-22T14:42:31.387Z] -- Looking for stdint.h - found [2020-07-22T14:42:31.387Z] -- Looking for stddef.h [2020-07-22T14:42:31.387Z] -- Looking for stddef.h - found [2020-07-22T14:42:31.387Z] -- Check size of unsigned short [2020-07-22T14:42:31.665Z] -- Check size of unsigned short - done [2020-07-22T14:42:31.665Z] -- Using unsigned short [2020-07-22T14:42:31.938Z] -- Check if the system is big endian - little endian [2020-07-22T14:42:31.938Z] -- Check size of size_t [2020-07-22T14:42:32.210Z] -- Check size of size_t - done [2020-07-22T14:42:32.211Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-07-22T14:42:32.211Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-07-22T14:42:32.211Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-07-22T14:42:32.211Z] CMake did not find one. [2020-07-22T14:42:32.211Z] [2020-07-22T14:42:32.211Z] Could not find a package configuration file provided by "cJSON" with any of [2020-07-22T14:42:32.211Z] the following names: [2020-07-22T14:42:32.211Z] [2020-07-22T14:42:32.211Z] cJSONConfig.cmake [2020-07-22T14:42:32.211Z] cjson-config.cmake [2020-07-22T14:42:32.211Z] [2020-07-22T14:42:32.211Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-07-22T14:42:32.211Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-07-22T14:42:32.211Z] provides a separate development package or SDK, be sure it has been [2020-07-22T14:42:32.211Z] installed. [2020-07-22T14:42:32.211Z] [2020-07-22T14:42:32.211Z] [2020-07-22T14:42:32.483Z] -- Configuring done [2020-07-22T14:42:32.483Z] -- Generating done [2020-07-22T14:42:32.484Z] -- Build files have been written to: /tmp/cbor [2020-07-22T14:42:32.757Z] Scanning dependencies of target cbor_shared [2020-07-22T14:42:32.757Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-07-22T14:42:32.852Z] Running on prd-centos7-docker-4c-2g-591 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] ws [2020-07-22T14:42:33.165Z] Running in /w/workspace/device-sdk-c/35 [Pipeline] { [Pipeline] checkout [2020-07-22T14:42:33.348Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-07-22T14:42:33.953Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-07-22T14:42:34.224Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-07-22T14:42:34.815Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-07-22T14:42:35.098Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-07-22T14:42:35.098Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-07-22T14:42:35.369Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-07-22T14:42:35.640Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-07-22T14:42:35.914Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-07-22T14:42:35.915Z] using credential edgex-jenkins-ssh [2020-07-22T14:42:35.960Z] Cloning the remote Git repository [2020-07-22T14:42:35.960Z] Cloning with configured refspecs honoured and without tags [2020-07-22T14:42:36.507Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-07-22T14:42:36.684Z] Fetching without tags [2020-07-22T14:42:35.980Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-07-22T14:42:36.041Z] > git init /w/workspace/device-sdk-c/35 # timeout=10 [2020-07-22T14:42:36.084Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-07-22T14:42:36.084Z] > git --version # timeout=10 [2020-07-22T14:42:36.091Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-22T14:42:36.123Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-22T14:42:36.645Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-07-22T14:42:36.655Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-22T14:42:36.668Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-07-22T14:42:36.682Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-07-22T14:42:36.682Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-22T14:42:36.687Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-22T14:42:36.778Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-07-22T14:42:37.052Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-07-22T14:42:37.115Z] Checking out Revision feadb86bacbe0d21fda66ef6cfc7f5b973e1d88c (master) [2020-07-22T14:42:37.327Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-07-22T14:42:37.600Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-07-22T14:42:37.872Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-07-22T14:42:37.115Z] > git config core.sparsecheckout # timeout=10 [2020-07-22T14:42:37.120Z] > git checkout -f feadb86bacbe0d21fda66ef6cfc7f5b973e1d88c # timeout=10 [2020-07-22T14:42:38.145Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-07-22T14:42:38.416Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-07-22T14:42:38.691Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-07-22T14:42:38.963Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-07-22T14:42:38.963Z] [ 40%] Linking C shared library libcbor.so [2020-07-22T14:42:39.235Z] [ 40%] Built target cbor_shared [2020-07-22T14:42:39.235Z] Scanning dependencies of target cbor [2020-07-22T14:42:39.235Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-07-22T14:42:40.205Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-07-22T14:42:40.477Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-07-22T14:42:40.747Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-07-22T14:42:40.757Z] Commit message: "Merge pull request #282 from iain-anderson/issue-278" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-07-22T14:42:41.675Z] ========================================================= [2020-07-22T14:42:41.675Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2020-07-22T14:42:41.675Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-22T14:42:42.172Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-07-22T14:42:42.172Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-07-22T14:42:42.350Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-3.11-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2020-07-22T14:42:42.445Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-07-22T14:42:42.445Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-07-22T14:42:42.615Z] Sending build context to Docker daemon 3.381MB [2020-07-22T14:42:42.615Z] Step 1/21 : ARG BASE=alpine:3.11 [2020-07-22T14:42:42.615Z] Step 2/21 : FROM ${BASE} as builder [2020-07-22T14:42:42.615Z] latest: Pulling from edgex-devops/edgex-gcc-base [2020-07-22T14:42:42.615Z] e7c96db7181b: Pulling fs layer [2020-07-22T14:42:42.615Z] 4c13bbce0fe7: Pulling fs layer [2020-07-22T14:42:42.615Z] 6059c847ac2f: Pulling fs layer [2020-07-22T14:42:42.615Z] 4c13bbce0fe7: Verifying Checksum [2020-07-22T14:42:42.615Z] 4c13bbce0fe7: Download complete [2020-07-22T14:42:42.715Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-07-22T14:42:42.877Z] e7c96db7181b: Verifying Checksum [2020-07-22T14:42:42.877Z] e7c96db7181b: Download complete [2020-07-22T14:42:42.988Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-07-22T14:42:43.138Z] e7c96db7181b: Pull complete [2020-07-22T14:42:43.139Z] 4c13bbce0fe7: Pull complete [2020-07-22T14:42:43.576Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-07-22T14:42:43.716Z] 6059c847ac2f: Verifying Checksum [2020-07-22T14:42:43.717Z] 6059c847ac2f: Download complete [2020-07-22T14:42:43.850Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-07-22T14:42:44.445Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-07-22T14:42:44.718Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-07-22T14:42:44.990Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-07-22T14:42:45.260Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-07-22T14:42:45.531Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-07-22T14:42:45.803Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-07-22T14:42:45.803Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-07-22T14:42:46.397Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-07-22T14:42:46.397Z] [ 80%] Linking C static library libcbor.a [2020-07-22T14:42:46.397Z] [ 80%] Built target cbor [2020-07-22T14:42:46.397Z] Scanning dependencies of target create_items [2020-07-22T14:42:46.397Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-07-22T14:42:46.670Z] [ 84%] Linking C executable create_items [2020-07-22T14:42:46.670Z] [ 84%] Built target create_items [2020-07-22T14:42:46.670Z] Scanning dependencies of target readfile [2020-07-22T14:42:46.941Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-07-22T14:42:46.941Z] [ 88%] Linking C executable readfile [2020-07-22T14:42:47.224Z] [ 88%] Built target readfile [2020-07-22T14:42:47.224Z] Scanning dependencies of target streaming_parser [2020-07-22T14:42:47.224Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-07-22T14:42:47.500Z] [ 92%] Linking C executable streaming_parser [2020-07-22T14:42:47.500Z] [ 92%] Built target streaming_parser [2020-07-22T14:42:47.500Z] Scanning dependencies of target sort [2020-07-22T14:42:47.500Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-07-22T14:42:47.775Z] [ 96%] Linking C executable sort [2020-07-22T14:42:47.775Z] [ 96%] Built target sort [2020-07-22T14:42:47.775Z] Scanning dependencies of target hello [2020-07-22T14:42:47.775Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-07-22T14:42:47.972Z] 6059c847ac2f: Pull complete [2020-07-22T14:42:47.973Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2020-07-22T14:42:47.973Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2020-07-22T14:42:47.973Z] ---> 5eabd8fd8ba2 [2020-07-22T14:42:47.973Z] Step 3/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev [2020-07-22T14:42:48.047Z] [100%] Linking C executable hello [2020-07-22T14:42:48.047Z] [100%] Built target hello [2020-07-22T14:42:48.047Z] Install the project... [2020-07-22T14:42:48.047Z] -- Install configuration: "Release" [2020-07-22T14:42:48.047Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-07-22T14:42:48.047Z] -- Installing: /usr/local/lib64/libcbor.a [2020-07-22T14:42:48.047Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-07-22T14:42:48.047Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-07-22T14:42:48.047Z] -- Installing: /usr/local/lib64/libcbor.so [2020-07-22T14:42:48.047Z] -- Up-to-date: /usr/local/include/cbor [2020-07-22T14:42:48.047Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-07-22T14:42:48.047Z] -- Installing: /usr/local/include/cbor/ints.h [2020-07-22T14:42:48.047Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-07-22T14:42:48.047Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-07-22T14:42:48.047Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-07-22T14:42:48.047Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-07-22T14:42:48.047Z] -- Installing: /usr/local/include/cbor/data.h [2020-07-22T14:42:48.047Z] -- Installing: /usr/local/include/cbor/common.h [2020-07-22T14:42:48.047Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-07-22T14:42:48.047Z] -- Installing: /usr/local/include/cbor/strings.h [2020-07-22T14:42:48.047Z] -- Installing: /usr/local/include/cbor/tags.h [2020-07-22T14:42:48.047Z] -- Installing: /usr/local/include/cbor/internal [2020-07-22T14:42:48.047Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-07-22T14:42:48.047Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-07-22T14:42:48.047Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-07-22T14:42:48.047Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-07-22T14:42:48.047Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-07-22T14:42:48.047Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-07-22T14:42:48.047Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-07-22T14:42:48.047Z] -- Installing: /usr/local/include/cbor/maps.h [2020-07-22T14:42:48.047Z] -- Installing: /usr/local/include/cbor.h [2020-07-22T14:42:48.047Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-07-22T14:42:49.358Z] ---> Running in 7f4798770ed5 [2020-07-22T14:42:49.929Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-07-22T14:42:50.039Z] Removing intermediate container 59e359952acb [2020-07-22T14:42:50.039Z] ---> cd590026937f [2020-07-22T14:42:50.039Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-07-22T14:42:50.314Z] ---> Running in 03fdd1ac8111 [2020-07-22T14:42:50.499Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-07-22T14:42:50.759Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-07-22T14:42:50.759Z] (2/8) Installing libuuid (2.33-r0) [2020-07-22T14:42:51.020Z] (3/8) Installing libblkid (2.33-r0) [2020-07-22T14:42:51.020Z] (4/8) Installing libfdisk (2.33-r0) [2020-07-22T14:42:51.020Z] (5/8) Installing libmount (2.33-r0) [2020-07-22T14:42:51.280Z] (6/8) Installing libsmartcols (2.33-r0) [2020-07-22T14:42:51.280Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-07-22T14:42:51.542Z] (8/8) Installing wget (1.20.3-r0) [2020-07-22T14:42:51.543Z] Executing busybox-1.29.3-r10.trigger [2020-07-22T14:42:51.543Z] OK: 272 MiB in 83 packages [2020-07-22T14:42:52.115Z] Removing intermediate container 7f4798770ed5 [2020-07-22T14:42:52.115Z] ---> e0422c4f2f3d [2020-07-22T14:42:52.115Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-07-22T14:42:52.115Z] ---> Running in dbfe7b3e70a5 [2020-07-22T14:42:52.376Z] Removing intermediate container dbfe7b3e70a5 [2020-07-22T14:42:52.376Z] ---> b2d5be17c6ed [2020-07-22T14:42:52.376Z] Step 5/21 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2020-07-22T14:42:52.923Z] Removing intermediate container 03fdd1ac8111 [2020-07-22T14:42:52.923Z] ---> 74490cdfbb95 [2020-07-22T14:42:52.923Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-07-22T14:42:52.947Z] ---> Running in 91b2b0b16dfb [2020-07-22T14:42:53.207Z] --2020-07-22 14:42:53-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-07-22T14:42:53.207Z] Resolving github.com... 140.82.112.3 [2020-07-22T14:42:53.207Z] Connecting to github.com|140.82.112.3|:443... connected. [2020-07-22T14:42:53.469Z] HTTP request sent, awaiting response... 302 Found [2020-07-22T14:42:53.469Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-07-22T14:42:53.469Z] --2020-07-22 14:42:53-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-07-22T14:42:53.469Z] Resolving codeload.github.com... 140.82.114.9 [2020-07-22T14:42:53.469Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2020-07-22T14:42:53.515Z] ---> f4c5ae3ad0ee [2020-07-22T14:42:53.515Z] Step 8/21 : COPY src /tmp/sdk/src [2020-07-22T14:42:53.729Z] HTTP request sent, awaiting response... 200 OK [2020-07-22T14:42:53.729Z] Length: unspecified [application/x-gzip] [2020-07-22T14:42:53.729Z] Saving to: 'STDOUT' [2020-07-22T14:42:53.729Z]  [2020-07-22T14:42:53.729Z] 0K .......... .......... .......... .......... .......... 1.52M [2020-07-22T14:42:53.729Z] 50K .......... .......... .......... .......... .......... 3.07M [2020-07-22T14:42:53.729Z] 100K .......... .......... .......... .......... .......... 43.7M [2020-07-22T14:42:53.729Z] 150K .......... .......... .......... .......... .......... 3.32M [2020-07-22T14:42:53.729Z] 200K .......... .......... .......... .......... .......... 38.7M [2020-07-22T14:42:53.729Z] 250K .......... .......... .......... .......... .......... 9.13M [2020-07-22T14:42:53.729Z] 300K .......... .......... .......... .......... .......... 7.98M [2020-07-22T14:42:53.729Z] 350K .......... .......... .......... .......... .......... 9.69M [2020-07-22T14:42:53.729Z] 400K .......... .......... .......... .......... .......... 7.24M [2020-07-22T14:42:53.991Z] 450K .......... .......... .......... .......... .......... 242K [2020-07-22T14:42:54.252Z] 500K .......... .......... .......... .......... .......... 148K [2020-07-22T14:42:54.487Z] ---> 22572bf13c69 [2020-07-22T14:42:54.487Z] Step 9/21 : COPY include /tmp/sdk/include [2020-07-22T14:42:54.513Z] 550K .......... .......... .......... .......... .......... 366K [2020-07-22T14:42:54.513Z] 600K .......... .......... .......... .......... .......... 9.00M [2020-07-22T14:42:54.513Z] 650K .......... .......... .......... .......... .......... 4.14M [2020-07-22T14:42:54.513Z] 700K .. 17.4M=0.8s [2020-07-22T14:42:54.513Z] [2020-07-22T14:42:54.513Z] 2020-07-22 14:42:54 (894 KB/s) - written to stdout [719348] [2020-07-22T14:42:54.513Z] [2020-07-22T14:42:54.513Z] -- The C compiler identification is GNU 8.3.0 [2020-07-22T14:42:54.513Z] -- The CXX compiler identification is GNU 8.3.0 [2020-07-22T14:42:54.513Z] -- Check for working C compiler: /usr/bin/cc [2020-07-22T14:42:54.774Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-07-22T14:42:54.774Z] -- Detecting C compiler ABI info [2020-07-22T14:42:54.774Z] -- Detecting C compiler ABI info - done [2020-07-22T14:42:54.774Z] -- Detecting C compile features [2020-07-22T14:42:55.040Z] -- Detecting C compile features - done [2020-07-22T14:42:55.040Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-07-22T14:42:55.040Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-07-22T14:42:55.040Z] -- Detecting CXX compiler ABI info [2020-07-22T14:42:55.040Z] -- Detecting CXX compiler ABI info - done [2020-07-22T14:42:55.080Z] ---> 554d11e5e826 [2020-07-22T14:42:55.080Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-07-22T14:42:55.301Z] -- Detecting CXX compile features [2020-07-22T14:42:55.561Z] -- Detecting CXX compile features - done [2020-07-22T14:42:55.561Z] -- Looking for include file endian.h [2020-07-22T14:42:55.822Z] -- Looking for include file endian.h - found [2020-07-22T14:42:55.822Z] -- Check if the system is big endian [2020-07-22T14:42:55.822Z] -- Searching 16 bit integer [2020-07-22T14:42:55.822Z] -- Looking for sys/types.h [2020-07-22T14:42:55.822Z] -- Looking for sys/types.h - found [2020-07-22T14:42:55.822Z] -- Looking for stdint.h [2020-07-22T14:42:55.822Z] -- Looking for stdint.h - found [2020-07-22T14:42:55.822Z] -- Looking for stddef.h [2020-07-22T14:42:55.822Z] -- Looking for stddef.h - found [2020-07-22T14:42:55.822Z] -- Check size of unsigned short [2020-07-22T14:42:56.054Z] ---> 415fa4be57d9 [2020-07-22T14:42:56.055Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-07-22T14:42:56.084Z] -- Check size of unsigned short - done [2020-07-22T14:42:56.084Z] -- Using unsigned short [2020-07-22T14:42:56.084Z] -- Check if the system is big endian - little endian [2020-07-22T14:42:56.084Z] -- Check size of size_t [2020-07-22T14:42:56.084Z] -- Check size of size_t - done [2020-07-22T14:42:56.084Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-07-22T14:42:56.084Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-07-22T14:42:56.084Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-07-22T14:42:56.084Z] CMake did not find one. [2020-07-22T14:42:56.084Z] [2020-07-22T14:42:56.084Z] Could not find a package configuration file provided by "cJSON" with any of [2020-07-22T14:42:56.084Z] the following names: [2020-07-22T14:42:56.084Z] [2020-07-22T14:42:56.084Z] cJSONConfig.cmake [2020-07-22T14:42:56.084Z] cjson-config.cmake [2020-07-22T14:42:56.084Z] [2020-07-22T14:42:56.084Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-07-22T14:42:56.084Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-07-22T14:42:56.084Z] provides a separate development package or SDK, be sure it has been [2020-07-22T14:42:56.084Z] installed. [2020-07-22T14:42:56.084Z] [2020-07-22T14:42:56.084Z] [2020-07-22T14:42:56.084Z] -- Configuring done [2020-07-22T14:42:56.344Z] -- Generating done [2020-07-22T14:42:56.344Z] -- Build files have been written to: /tmp/cbor [2020-07-22T14:42:56.344Z] Scanning dependencies of target cbor_shared [2020-07-22T14:42:56.344Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-07-22T14:42:56.604Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-07-22T14:42:56.604Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-07-22T14:42:56.646Z] ---> 9f4172b2a13c [2020-07-22T14:42:56.647Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-07-22T14:42:56.865Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-07-22T14:42:56.865Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-07-22T14:42:56.865Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-07-22T14:42:57.125Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-07-22T14:42:57.125Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-07-22T14:42:57.125Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-07-22T14:42:57.125Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-07-22T14:42:57.256Z] ---> e8c5c66c95d8 [2020-07-22T14:42:57.256Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-07-22T14:42:57.256Z] ---> Running in 430e030f0836 [2020-07-22T14:42:57.386Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-07-22T14:42:57.386Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-07-22T14:42:57.648Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-07-22T14:42:57.648Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-07-22T14:42:57.648Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-07-22T14:42:57.909Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-07-22T14:42:57.909Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-07-22T14:42:57.909Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-07-22T14:42:57.909Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-07-22T14:42:58.170Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-07-22T14:42:58.170Z] [ 40%] Linking C shared library libcbor.so [2020-07-22T14:42:58.170Z] [ 40%] Built target cbor_shared [2020-07-22T14:42:58.170Z] Scanning dependencies of target cbor [2020-07-22T14:42:58.170Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-07-22T14:42:58.431Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-07-22T14:42:58.431Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-07-22T14:42:58.689Z] + CPPCHECK=false [2020-07-22T14:42:58.689Z] + DOCGEN=false [2020-07-22T14:42:58.689Z] + TOMLVER=SDK-0.2 [2020-07-22T14:42:58.689Z] + CUTILVER=1.1-branch [2020-07-22T14:42:58.689Z] + '[' 0 -gt 0 ] [2020-07-22T14:42:58.689Z] + readlink -f ./scripts/build.sh [2020-07-22T14:42:58.689Z] + dirname /tmp/sdk/scripts/build.sh [2020-07-22T14:42:58.689Z] + dirname /tmp/sdk/scripts [2020-07-22T14:42:58.689Z] + ROOT=/tmp/sdk [2020-07-22T14:42:58.689Z] + cd /tmp/sdk [2020-07-22T14:42:58.689Z] + '[' '!' -d deps ] [2020-07-22T14:42:58.689Z] + mkdir deps [2020-07-22T14:42:58.689Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-07-22T14:42:58.689Z] + tar -C deps -z -x -f - [2020-07-22T14:42:58.689Z] --2020-07-22 14:42:58-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-07-22T14:42:58.689Z] Resolving github.com... 140.82.112.3 [2020-07-22T14:42:58.689Z] Connecting to github.com|140.82.112.3|:443... connected. [2020-07-22T14:42:58.692Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-07-22T14:42:58.953Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-07-22T14:42:58.953Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-07-22T14:42:58.953Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-07-22T14:42:58.953Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-07-22T14:42:58.961Z] HTTP request sent, awaiting response... 302 Found [2020-07-22T14:42:58.961Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-07-22T14:42:58.961Z] --2020-07-22 14:42:58-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-07-22T14:42:58.961Z] Resolving codeload.github.com... 140.82.114.9 [2020-07-22T14:42:58.961Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2020-07-22T14:42:59.214Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-07-22T14:42:59.214Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-07-22T14:42:59.232Z] HTTP request sent, awaiting response... 200 OK [2020-07-22T14:42:59.232Z] Length: unspecified [application/x-gzip] [2020-07-22T14:42:59.232Z] Saving to: 'STDOUT' [2020-07-22T14:42:59.232Z]  [2020-07-22T14:42:59.232Z] 0K .......... ......  912K=0.02s [2020-07-22T14:42:59.232Z] [2020-07-22T14:42:59.232Z] 2020-07-22 14:42:59 (912 KB/s) - written to stdout [16451] [2020-07-22T14:42:59.232Z] [2020-07-22T14:42:59.232Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-07-22T14:42:59.232Z] + + tarwget -C -O deps - -z https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1-branch.tar.gz -x [2020-07-22T14:42:59.232Z] -f - [2020-07-22T14:42:59.232Z] --2020-07-22 14:42:59-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1-branch.tar.gz [2020-07-22T14:42:59.232Z] Resolving github.com... 140.82.112.3 [2020-07-22T14:42:59.232Z] Connecting to github.com|140.82.112.3|:443... connected. [2020-07-22T14:42:59.474Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-07-22T14:42:59.474Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-07-22T14:42:59.474Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-07-22T14:42:59.504Z] HTTP request sent, awaiting response... 302 Found [2020-07-22T14:42:59.504Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1-branch [following] [2020-07-22T14:42:59.504Z] --2020-07-22 14:42:59-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1-branch [2020-07-22T14:42:59.504Z] Resolving codeload.github.com... 140.82.114.9 [2020-07-22T14:42:59.504Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2020-07-22T14:42:59.504Z] HTTP request sent, awaiting response... 200 OK [2020-07-22T14:42:59.504Z] Length: unspecified [application/x-gzip] [2020-07-22T14:42:59.504Z] Saving to: 'STDOUT' [2020-07-22T14:42:59.504Z]  [2020-07-22T14:42:59.734Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-07-22T14:42:59.734Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-07-22T14:42:59.734Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-07-22T14:42:59.790Z] 0K .......... .......... .......... .......... .......... 1.55M [2020-07-22T14:42:59.790Z] 50K .......... .......... .......... .......... .......... 3.11M [2020-07-22T14:42:59.790Z] 100K .......... .......... .......... .......... .......... 3.51M [2020-07-22T14:42:59.790Z] 150K .......... ..... 5.96M=0.06s [2020-07-22T14:42:59.790Z] [2020-07-22T14:42:59.790Z] 2020-07-22 14:42:59 (2.54 MB/s) - written to stdout [169364] [2020-07-22T14:42:59.790Z] [2020-07-22T14:42:59.790Z] + mkdir -p src/c/iot [2020-07-22T14:42:59.790Z] + cp deps/iotech-c-utils-1.1-branch/src/c/base64.c deps/iotech-c-utils-1.1-branch/src/c/component.c deps/iotech-c-utils-1.1-branch/src/c/config.c deps/iotech-c-utils-1.1-branch/src/c/container.c deps/iotech-c-utils-1.1-branch/src/c/data.c deps/iotech-c-utils-1.1-branch/src/c/hash.c deps/iotech-c-utils-1.1-branch/src/c/iot.c deps/iotech-c-utils-1.1-branch/src/c/json.c deps/iotech-c-utils-1.1-branch/src/c/logger.c deps/iotech-c-utils-1.1-branch/src/c/os.c deps/iotech-c-utils-1.1-branch/src/c/scheduler.c deps/iotech-c-utils-1.1-branch/src/c/thread.c deps/iotech-c-utils-1.1-branch/src/c/threadpool.c deps/iotech-c-utils-1.1-branch/src/c/time.c src/c/iot [2020-07-22T14:42:59.790Z] + mkdir -p include/iot [2020-07-22T14:42:59.790Z] + cp deps/iotech-c-utils-1.1-branch/include/iot/base64.h deps/iotech-c-utils-1.1-branch/include/iot/component.h deps/iotech-c-utils-1.1-branch/include/iot/config.h deps/iotech-c-utils-1.1-branch/include/iot/container.h deps/iotech-c-utils-1.1-branch/include/iot/data.h deps/iotech-c-utils-1.1-branch/include/iot/hash.h deps/iotech-c-utils-1.1-branch/include/iot/iot.h deps/iotech-c-utils-1.1-branch/include/iot/json.h deps/iotech-c-utils-1.1-branch/include/iot/logger.h deps/iotech-c-utils-1.1-branch/include/iot/os.h deps/iotech-c-utils-1.1-branch/include/iot/scheduler.h deps/iotech-c-utils-1.1-branch/include/iot/thread.h deps/iotech-c-utils-1.1-branch/include/iot/threadpool.h deps/iotech-c-utils-1.1-branch/include/iot/time.h deps/iotech-c-utils-1.1-branch/include/iot/typecode.h include/iot [2020-07-22T14:42:59.790Z] + mkdir -p include/iot/os [2020-07-22T14:42:59.790Z] + cp deps/iotech-c-utils-1.1-branch/include/iot/os/linux.h deps/iotech-c-utils-1.1-branch/include/iot/os/macos.h deps/iotech-c-utils-1.1-branch/include/iot/os/zephyr.h include/iot/os [2020-07-22T14:42:59.790Z] + mkdir -p /tmp/sdk/build/release [2020-07-22T14:42:59.790Z] + cd /tmp/sdk/build/release [2020-07-22T14:42:59.790Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-07-22T14:42:59.995Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-07-22T14:42:59.995Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-07-22T14:42:59.995Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-07-22T14:42:59.995Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-07-22T14:43:00.060Z] -- The C compiler identification is GNU 8.3.0 [2020-07-22T14:43:00.060Z] -- Check for working C compiler: /usr/bin/cc [2020-07-22T14:43:00.256Z] [ 80%] Linking C static library libcbor.a [2020-07-22T14:43:00.256Z] [ 80%] Built target cbor [2020-07-22T14:43:00.256Z] Scanning dependencies of target create_items [2020-07-22T14:43:00.256Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-07-22T14:43:00.256Z] [ 84%] Linking C executable create_items [2020-07-22T14:43:00.256Z] [ 84%] Built target create_items [2020-07-22T14:43:00.256Z] Scanning dependencies of target readfile [2020-07-22T14:43:00.256Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-07-22T14:43:00.256Z] [ 88%] Linking C executable readfile [2020-07-22T14:43:00.256Z] [ 88%] Built target readfile [2020-07-22T14:43:00.332Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-07-22T14:43:00.332Z] -- Detecting C compiler ABI info [2020-07-22T14:43:00.516Z] Scanning dependencies of target streaming_parser [2020-07-22T14:43:00.516Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-07-22T14:43:00.516Z] [ 92%] Linking C executable streaming_parser [2020-07-22T14:43:00.516Z] [ 92%] Built target streaming_parser [2020-07-22T14:43:00.516Z] Scanning dependencies of target sort [2020-07-22T14:43:00.516Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-07-22T14:43:00.516Z] [ 96%] Linking C executable sort [2020-07-22T14:43:00.516Z] [ 96%] Built target sort [2020-07-22T14:43:00.516Z] Scanning dependencies of target hello [2020-07-22T14:43:00.516Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-07-22T14:43:00.603Z] -- Detecting C compiler ABI info - done [2020-07-22T14:43:00.603Z] -- Detecting C compile features [2020-07-22T14:43:00.776Z] [100%] Linking C executable hello [2020-07-22T14:43:00.776Z] [100%] Built target hello [2020-07-22T14:43:00.776Z] Install the project... [2020-07-22T14:43:00.776Z] -- Install configuration: "Release" [2020-07-22T14:43:00.776Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-07-22T14:43:00.776Z] -- Installing: /usr/local/lib64/libcbor.a [2020-07-22T14:43:00.776Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-07-22T14:43:00.777Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-07-22T14:43:00.777Z] -- Installing: /usr/local/lib64/libcbor.so [2020-07-22T14:43:00.777Z] -- Up-to-date: /usr/local/include/cbor [2020-07-22T14:43:00.777Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-07-22T14:43:00.777Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-07-22T14:43:00.777Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-07-22T14:43:00.777Z] -- Installing: /usr/local/include/cbor/common.h [2020-07-22T14:43:00.777Z] -- Installing: /usr/local/include/cbor/data.h [2020-07-22T14:43:00.777Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-07-22T14:43:00.777Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-07-22T14:43:00.777Z] -- Installing: /usr/local/include/cbor/internal [2020-07-22T14:43:00.777Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-07-22T14:43:00.777Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-07-22T14:43:00.777Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-07-22T14:43:00.777Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-07-22T14:43:00.777Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-07-22T14:43:00.777Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-07-22T14:43:00.777Z] -- Installing: /usr/local/include/cbor/ints.h [2020-07-22T14:43:00.777Z] -- Installing: /usr/local/include/cbor/maps.h [2020-07-22T14:43:00.777Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-07-22T14:43:00.777Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-07-22T14:43:00.777Z] -- Installing: /usr/local/include/cbor/strings.h [2020-07-22T14:43:00.777Z] -- Installing: /usr/local/include/cbor/tags.h [2020-07-22T14:43:00.777Z] -- Installing: /usr/local/include/cbor.h [2020-07-22T14:43:00.777Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-07-22T14:43:01.197Z] -- Detecting C compile features - done [2020-07-22T14:43:01.469Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-07-22T14:43:01.469Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-07-22T14:43:01.469Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-07-22T14:43:01.469Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-07-22T14:43:01.469Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-07-22T14:43:01.469Z] -- C SDK 1.2.2-dev.11 for Linux [2020-07-22T14:43:01.469Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-07-22T14:43:01.741Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-07-22T14:43:01.741Z] -- Found Curses: /usr/lib/libcurses.so [2020-07-22T14:43:01.741Z] -- Configuring done [2020-07-22T14:43:02.012Z] -- Generating done [2020-07-22T14:43:02.012Z] -- Build files have been written to: /tmp/sdk/build/release [2020-07-22T14:43:02.012Z] + + make [2020-07-22T14:43:02.012Z] tee release.log [2020-07-22T14:43:02.012Z] Scanning dependencies of target csdk [2020-07-22T14:43:02.283Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-07-22T14:43:02.691Z] Removing intermediate container 91b2b0b16dfb [2020-07-22T14:43:02.691Z] ---> f592ece67b05 [2020-07-22T14:43:02.691Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-07-22T14:43:02.691Z] ---> Running in 16ce3409f242 [2020-07-22T14:43:02.875Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-07-22T14:43:03.468Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-07-22T14:43:03.635Z] Removing intermediate container 16ce3409f242 [2020-07-22T14:43:03.635Z] ---> ef65996eefbe [2020-07-22T14:43:03.635Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-07-22T14:43:03.895Z] ---> 055d140134ff [2020-07-22T14:43:03.895Z] Step 8/21 : COPY src /tmp/sdk/src [2020-07-22T14:43:04.835Z] ---> f0889d5b1df1 [2020-07-22T14:43:04.835Z] Step 9/21 : COPY include /tmp/sdk/include [2020-07-22T14:43:04.835Z] ---> f15b347e4661 [2020-07-22T14:43:04.835Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-07-22T14:43:04.893Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-07-22T14:43:05.094Z] ---> c1348a6023f0 [2020-07-22T14:43:05.094Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-07-22T14:43:05.355Z] ---> cb36ca8cc30c [2020-07-22T14:43:05.355Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-07-22T14:43:05.616Z] ---> 9585f7a705ea [2020-07-22T14:43:05.616Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-07-22T14:43:05.616Z] ---> Running in 1798fb72c49e [2020-07-22T14:43:05.860Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-07-22T14:43:05.860Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-07-22T14:43:05.875Z] + CPPCHECK=false [2020-07-22T14:43:05.875Z] + DOCGEN=false [2020-07-22T14:43:05.875Z] + TOMLVER=SDK-0.2 [2020-07-22T14:43:05.875Z] + CUTILVER=1.1-branch [2020-07-22T14:43:05.875Z] + '[' 0 -gt 0 ] [2020-07-22T14:43:05.875Z] + readlink -f ./scripts/build.sh [2020-07-22T14:43:05.875Z] + dirname /tmp/sdk/scripts/build.sh [2020-07-22T14:43:05.875Z] + dirname /tmp/sdk/scripts [2020-07-22T14:43:05.875Z] + ROOT=/tmp/sdk [2020-07-22T14:43:05.875Z] + cd /tmp/sdk [2020-07-22T14:43:05.875Z] + '[' '!' -d deps ] [2020-07-22T14:43:05.875Z] + mkdir deps [2020-07-22T14:43:05.875Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-07-22T14:43:05.875Z] + tar -C deps -z -x -f - [2020-07-22T14:43:05.875Z] --2020-07-22 14:43:05-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-07-22T14:43:05.875Z] Resolving github.com... 140.82.112.3 [2020-07-22T14:43:06.135Z] Connecting to github.com|140.82.112.3|:443... connected. [2020-07-22T14:43:06.135Z] HTTP request sent, awaiting response... 302 Found [2020-07-22T14:43:06.135Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-07-22T14:43:06.135Z] --2020-07-22 14:43:05-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-07-22T14:43:06.135Z] Resolving codeload.github.com... 140.82.114.9 [2020-07-22T14:43:06.135Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2020-07-22T14:43:06.135Z] HTTP request sent, awaiting response... 200 OK [2020-07-22T14:43:06.135Z] Length: unspecified [application/x-gzip] [2020-07-22T14:43:06.135Z] Saving to: 'STDOUT' [2020-07-22T14:43:06.135Z]  [2020-07-22T14:43:06.135Z] 0K .......... ......  1.04M=0.02s [2020-07-22T14:43:06.135Z] [2020-07-22T14:43:06.135Z] 2020-07-22 14:43:06 (1.04 MB/s) - written to stdout [16451] [2020-07-22T14:43:06.135Z] [2020-07-22T14:43:06.135Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-07-22T14:43:06.135Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1-branch.tar.gz [2020-07-22T14:43:06.135Z] + tar -C deps -z -x -f - [2020-07-22T14:43:06.135Z] --2020-07-22 14:43:06-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1-branch.tar.gz [2020-07-22T14:43:06.135Z] Resolving github.com... 140.82.112.3 [2020-07-22T14:43:06.135Z] Connecting to github.com|140.82.112.3|:443... connected. [2020-07-22T14:43:06.135Z] HTTP request sent, awaiting response... 302 Found [2020-07-22T14:43:06.135Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1-branch [following] [2020-07-22T14:43:06.135Z] --2020-07-22 14:43:06-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1-branch [2020-07-22T14:43:06.135Z] Resolving codeload.github.com... 140.82.114.9 [2020-07-22T14:43:06.395Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2020-07-22T14:43:06.827Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-07-22T14:43:06.966Z] HTTP request sent, awaiting response... 200 OK [2020-07-22T14:43:06.966Z] Length: unspecified [application/x-gzip] [2020-07-22T14:43:06.966Z] Saving to: 'STDOUT' [2020-07-22T14:43:06.966Z] [2020-07-22T14:43:07.225Z] 0K .......... .......... .......... .......... .......... 360K [2020-07-22T14:43:07.485Z] 50K .......... .......... .......... .......... .......... 138K [2020-07-22T14:43:07.485Z] 100K .......... .......... .......... .......... .......... 3.17M [2020-07-22T14:43:07.485Z] 150K .......... ..... 47.2M=0.5s [2020-07-22T14:43:07.485Z] [2020-07-22T14:43:07.485Z] 2020-07-22 14:43:07 (320 KB/s) - written to stdout [169364] [2020-07-22T14:43:07.485Z] [2020-07-22T14:43:07.485Z] + mkdir -p src/c/iot [2020-07-22T14:43:07.485Z] + cp deps/iotech-c-utils-1.1-branch/src/c/base64.c deps/iotech-c-utils-1.1-branch/src/c/component.c deps/iotech-c-utils-1.1-branch/src/c/config.c deps/iotech-c-utils-1.1-branch/src/c/container.c deps/iotech-c-utils-1.1-branch/src/c/data.c deps/iotech-c-utils-1.1-branch/src/c/hash.c deps/iotech-c-utils-1.1-branch/src/c/iot.c deps/iotech-c-utils-1.1-branch/src/c/json.c deps/iotech-c-utils-1.1-branch/src/c/logger.c deps/iotech-c-utils-1.1-branch/src/c/os.c deps/iotech-c-utils-1.1-branch/src/c/scheduler.c deps/iotech-c-utils-1.1-branch/src/c/thread.c deps/iotech-c-utils-1.1-branch/src/c/threadpool.c deps/iotech-c-utils-1.1-branch/src/c/time.c src/c/iot [2020-07-22T14:43:07.485Z] + mkdir -p include/iot [2020-07-22T14:43:07.485Z] + cp deps/iotech-c-utils-1.1-branch/include/iot/base64.h deps/iotech-c-utils-1.1-branch/include/iot/component.h deps/iotech-c-utils-1.1-branch/include/iot/config.h deps/iotech-c-utils-1.1-branch/include/iot/container.h deps/iotech-c-utils-1.1-branch/include/iot/data.h deps/iotech-c-utils-1.1-branch/include/iot/hash.h deps/iotech-c-utils-1.1-branch/include/iot/iot.h deps/iotech-c-utils-1.1-branch/include/iot/json.h deps/iotech-c-utils-1.1-branch/include/iot/logger.h deps/iotech-c-utils-1.1-branch/include/iot/os.h deps/iotech-c-utils-1.1-branch/include/iot/scheduler.h deps/iotech-c-utils-1.1-branch/include/iot/thread.h deps/iotech-c-utils-1.1-branch/include/iot/threadpool.h deps/iotech-c-utils-1.1-branch/include/iot/time.h deps/iotech-c-utils-1.1-branch/include/iot/typecode.h include/iot [2020-07-22T14:43:07.485Z] + mkdir -p include/iot/os [2020-07-22T14:43:07.485Z] + cp deps/iotech-c-utils-1.1-branch/include/iot/os/linux.h deps/iotech-c-utils-1.1-branch/include/iot/os/macos.h deps/iotech-c-utils-1.1-branch/include/iot/os/zephyr.h include/iot/os [2020-07-22T14:43:07.485Z] + mkdir -p /tmp/sdk/build/release [2020-07-22T14:43:07.485Z] + cd /tmp/sdk/build/release [2020-07-22T14:43:07.485Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-07-22T14:43:07.485Z] -- The C compiler identification is GNU 8.3.0 [2020-07-22T14:43:07.746Z] -- Check for working C compiler: /usr/bin/cc [2020-07-22T14:43:07.746Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-07-22T14:43:07.746Z] -- Detecting C compiler ABI info [2020-07-22T14:43:07.746Z] -- Detecting C compiler ABI info - done [2020-07-22T14:43:07.746Z] -- Detecting C compile features [2020-07-22T14:43:08.005Z] -- Detecting C compile features - done [2020-07-22T14:43:08.005Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-07-22T14:43:08.005Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-07-22T14:43:08.005Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-07-22T14:43:08.005Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-07-22T14:43:08.005Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-07-22T14:43:08.005Z] -- C SDK 1.2.2-dev.11 for Linux [2020-07-22T14:43:08.005Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-07-22T14:43:08.005Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-07-22T14:43:08.005Z] -- Found Curses: /usr/lib/libcurses.so [2020-07-22T14:43:08.265Z] -- Configuring done [2020-07-22T14:43:08.265Z] -- Generating done [2020-07-22T14:43:08.265Z] -- Build files have been written to: /tmp/sdk/build/release [2020-07-22T14:43:08.265Z] + make [2020-07-22T14:43:08.265Z] + tee release.log [2020-07-22T14:43:08.265Z] Scanning dependencies of target csdk [2020-07-22T14:43:08.265Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-07-22T14:43:08.526Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-07-22T14:43:08.526Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-07-22T14:43:08.792Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-07-22T14:43:09.096Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-07-22T14:43:09.096Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-07-22T14:43:09.356Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-07-22T14:43:09.382Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-07-22T14:43:09.616Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-07-22T14:43:09.973Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-07-22T14:43:10.187Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-07-22T14:43:10.187Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-07-22T14:43:10.447Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-07-22T14:43:10.447Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-07-22T14:43:10.447Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-07-22T14:43:10.565Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-07-22T14:43:10.711Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-07-22T14:43:10.711Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-07-22T14:43:10.835Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-07-22T14:43:11.107Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-07-22T14:43:11.107Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-07-22T14:43:11.651Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-07-22T14:43:11.651Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-07-22T14:43:11.651Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2020-07-22T14:43:11.912Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-07-22T14:43:11.912Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-07-22T14:43:12.483Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-07-22T14:43:12.483Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-07-22T14:43:12.743Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-07-22T14:43:12.743Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-07-22T14:43:13.003Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-07-22T14:43:13.003Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-07-22T14:43:13.265Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-07-22T14:43:13.265Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-07-22T14:43:13.525Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-07-22T14:43:13.525Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-07-22T14:43:13.785Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-07-22T14:43:13.785Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-07-22T14:43:14.046Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-07-22T14:43:14.985Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-07-22T14:43:15.245Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-07-22T14:43:15.245Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-07-22T14:43:15.395Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-07-22T14:43:15.395Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-07-22T14:43:15.395Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2020-07-22T14:43:15.504Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-07-22T14:43:15.666Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-07-22T14:43:15.764Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-07-22T14:43:16.257Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-07-22T14:43:16.335Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-07-22T14:43:17.276Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-07-22T14:43:17.276Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-07-22T14:43:17.536Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-07-22T14:43:17.796Z] [ 72%] Linking C shared library libcsdk.so [2020-07-22T14:43:17.796Z] [ 72%] Built target csdk [2020-07-22T14:43:17.796Z] Scanning dependencies of target template [2020-07-22T14:43:17.796Z] [ 74%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-07-22T14:43:18.077Z] [ 75%] Linking C executable template [2020-07-22T14:43:18.077Z] [ 75%] Built target template [2020-07-22T14:43:18.077Z] Scanning dependencies of target device-counter [2020-07-22T14:43:18.077Z] [ 77%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-07-22T14:43:18.077Z] [ 79%] Linking C executable device-counter [2020-07-22T14:43:18.337Z] [ 79%] Built target device-counter [2020-07-22T14:43:18.337Z] Scanning dependencies of target device-random [2020-07-22T14:43:18.337Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-07-22T14:43:18.337Z] [ 82%] Linking C executable device-random [2020-07-22T14:43:18.337Z] [ 82%] Built target device-random [2020-07-22T14:43:18.337Z] Scanning dependencies of target device-gyro [2020-07-22T14:43:18.598Z] [ 84%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-07-22T14:43:18.598Z] [ 86%] Linking C executable device-gyro [2020-07-22T14:43:18.598Z] [ 86%] Built target device-gyro [2020-07-22T14:43:18.598Z] Scanning dependencies of target device-bitfields [2020-07-22T14:43:18.598Z] [ 87%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2020-07-22T14:43:18.859Z] [ 89%] Linking C executable device-bitfields [2020-07-22T14:43:18.859Z] [ 89%] Built target device-bitfields [2020-07-22T14:43:18.859Z] Scanning dependencies of target template-discovery [2020-07-22T14:43:18.859Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-07-22T14:43:18.864Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-07-22T14:43:18.864Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-07-22T14:43:18.864Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-07-22T14:43:19.124Z] [ 93%] Linking C executable template-discovery [2020-07-22T14:43:19.124Z] [ 93%] Built target template-discovery [2020-07-22T14:43:19.124Z] Scanning dependencies of target device-terminal [2020-07-22T14:43:19.124Z] [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-07-22T14:43:19.384Z] [ 96%] Linking C executable device-terminal [2020-07-22T14:43:19.384Z] [ 96%] Built target device-terminal [2020-07-22T14:43:19.384Z] Scanning dependencies of target templatev1 [2020-07-22T14:43:19.384Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-07-22T14:43:19.384Z] [100%] Linking C executable templatev1 [2020-07-22T14:43:19.455Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-07-22T14:43:19.644Z] [100%] Built target templatev1 [2020-07-22T14:43:19.644Z] + make package [2020-07-22T14:43:19.644Z] + tee -a release.log [2020-07-22T14:43:19.644Z] [ 72%] Built target csdk [2020-07-22T14:43:19.644Z] [ 75%] Built target template [2020-07-22T14:43:19.644Z] [ 79%] Built target device-counter [2020-07-22T14:43:19.644Z] [ 82%] Built target device-random [2020-07-22T14:43:19.644Z] [ 86%] Built target device-gyro [2020-07-22T14:43:19.644Z] [ 89%] Built target device-bitfields [2020-07-22T14:43:19.644Z] [ 93%] Built target template-discovery [2020-07-22T14:43:19.644Z] [ 96%] Built target device-terminal [2020-07-22T14:43:19.907Z] [100%] Built target templatev1 [2020-07-22T14:43:19.907Z] Run CPack packaging tool... [2020-07-22T14:43:19.907Z] CPack: Create package using TGZ [2020-07-22T14:43:19.907Z] CPack: Install projects [2020-07-22T14:43:19.907Z] CPack: - Run preinstall target for: Csdk [2020-07-22T14:43:20.045Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-07-22T14:43:20.045Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-07-22T14:43:20.167Z] CPack: - Install project: Csdk [2020-07-22T14:43:20.167Z] CPack: Create package [2020-07-22T14:43:20.167Z] CPack: - package: /tmp/sdk/build/release/csdk-1.2.2-dev.11.tar.gz generated. [2020-07-22T14:43:20.167Z] + '[' false '=' true ] [2020-07-22T14:43:20.167Z] + '[' false '=' true ] [2020-07-22T14:43:20.167Z] + mkdir -p /tmp/sdk/build/debug [2020-07-22T14:43:20.167Z] + cd /tmp/sdk/build/debug [2020-07-22T14:43:20.167Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-07-22T14:43:20.167Z] -- The C compiler identification is GNU 8.3.0 [2020-07-22T14:43:20.167Z] -- Check for working C compiler: /usr/bin/cc [2020-07-22T14:43:20.427Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-07-22T14:43:20.427Z] -- Detecting C compiler ABI info [2020-07-22T14:43:20.427Z] -- Detecting C compiler ABI info - done [2020-07-22T14:43:20.427Z] -- Detecting C compile features [2020-07-22T14:43:20.688Z] -- Detecting C compile features - done [2020-07-22T14:43:20.688Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-07-22T14:43:20.688Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-07-22T14:43:20.688Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-07-22T14:43:20.688Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-07-22T14:43:20.688Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-07-22T14:43:20.688Z] -- C SDK 1.2.2-dev.11 for Linux [2020-07-22T14:43:20.688Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-07-22T14:43:20.688Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-07-22T14:43:20.688Z] -- Found Curses: /usr/lib/libcurses.so [2020-07-22T14:43:20.688Z] -- Configuring done [2020-07-22T14:43:20.688Z] -- Generating done [2020-07-22T14:43:20.688Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-07-22T14:43:20.948Z] + make [2020-07-22T14:43:20.948Z] + tee debug.log [2020-07-22T14:43:20.948Z] Scanning dependencies of target csdk [2020-07-22T14:43:20.948Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-07-22T14:43:20.948Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-07-22T14:43:20.948Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-07-22T14:43:21.017Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-07-22T14:43:21.209Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-07-22T14:43:21.209Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-07-22T14:43:21.470Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-07-22T14:43:21.470Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-07-22T14:43:21.610Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-07-22T14:43:21.730Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-07-22T14:43:21.730Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-07-22T14:43:21.730Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-07-22T14:43:21.881Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-07-22T14:43:21.990Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-07-22T14:43:21.990Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-07-22T14:43:21.990Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-07-22T14:43:21.990Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-07-22T14:43:22.152Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-07-22T14:43:22.251Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-07-22T14:43:22.511Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-07-22T14:43:22.511Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2020-07-22T14:43:22.511Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-07-22T14:43:22.511Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-07-22T14:43:22.742Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-07-22T14:43:22.772Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-07-22T14:43:22.772Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-07-22T14:43:23.033Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-07-22T14:43:23.033Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-07-22T14:43:23.033Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-07-22T14:43:23.033Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-07-22T14:43:23.295Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-07-22T14:43:23.295Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-07-22T14:43:23.295Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-07-22T14:43:23.295Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-07-22T14:43:23.557Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-07-22T14:43:23.557Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-07-22T14:43:23.557Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-07-22T14:43:23.715Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-07-22T14:43:23.715Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-07-22T14:43:23.818Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-07-22T14:43:24.078Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-07-22T14:43:24.078Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-07-22T14:43:24.078Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-07-22T14:43:24.338Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-07-22T14:43:24.598Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-07-22T14:43:24.858Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-07-22T14:43:24.858Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-07-22T14:43:24.858Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-07-22T14:43:25.119Z] [ 72%] Linking C shared library libcsdk.so [2020-07-22T14:43:25.119Z] [ 72%] Built target csdk [2020-07-22T14:43:25.119Z] Scanning dependencies of target template [2020-07-22T14:43:25.119Z] [ 74%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-07-22T14:43:25.119Z] [ 75%] Linking C executable template [2020-07-22T14:43:25.379Z] [ 75%] Built target template [2020-07-22T14:43:25.379Z] Scanning dependencies of target device-counter [2020-07-22T14:43:25.379Z] [ 77%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-07-22T14:43:25.379Z] [ 79%] Linking C executable device-counter [2020-07-22T14:43:25.379Z] [ 79%] Built target device-counter [2020-07-22T14:43:25.379Z] Scanning dependencies of target device-random [2020-07-22T14:43:25.379Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-07-22T14:43:25.379Z] [ 82%] Linking C executable device-random [2020-07-22T14:43:25.643Z] [ 82%] Built target device-random [2020-07-22T14:43:25.643Z] Scanning dependencies of target device-gyro [2020-07-22T14:43:25.643Z] [ 84%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-07-22T14:43:25.643Z] [ 86%] Linking C executable device-gyro [2020-07-22T14:43:25.643Z] [ 86%] Built target device-gyro [2020-07-22T14:43:25.643Z] Scanning dependencies of target device-bitfields [2020-07-22T14:43:25.643Z] [ 87%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2020-07-22T14:43:25.903Z] [ 89%] Linking C executable device-bitfields [2020-07-22T14:43:25.903Z] [ 89%] Built target device-bitfields [2020-07-22T14:43:25.903Z] Scanning dependencies of target template-discovery [2020-07-22T14:43:25.903Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-07-22T14:43:25.903Z] [ 93%] Linking C executable template-discovery [2020-07-22T14:43:26.164Z] [ 93%] Built target template-discovery [2020-07-22T14:43:26.164Z] Scanning dependencies of target device-terminal [2020-07-22T14:43:26.164Z] [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-07-22T14:43:26.164Z] [ 96%] Linking C executable device-terminal [2020-07-22T14:43:26.164Z] [ 96%] Built target device-terminal [2020-07-22T14:43:26.164Z] Scanning dependencies of target templatev1 [2020-07-22T14:43:26.164Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-07-22T14:43:26.423Z] [100%] Linking C executable templatev1 [2020-07-22T14:43:26.424Z] [100%] Built target templatev1 [2020-07-22T14:43:26.424Z] make: Entering directory '/tmp/sdk/build/release' [2020-07-22T14:43:26.424Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-07-22T14:43:26.424Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T14:43:26.424Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T14:43:26.424Z] [ 72%] Built target csdk [2020-07-22T14:43:26.424Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T14:43:26.424Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T14:43:26.424Z] [ 75%] Built target template [2020-07-22T14:43:26.424Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T14:43:26.424Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T14:43:26.424Z] [ 79%] Built target device-counter [2020-07-22T14:43:26.424Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T14:43:26.424Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T14:43:26.424Z] [ 82%] Built target device-random [2020-07-22T14:43:26.424Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T14:43:26.424Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T14:43:26.424Z] [ 86%] Built target device-gyro [2020-07-22T14:43:26.424Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T14:43:26.424Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T14:43:26.424Z] [ 89%] Built target device-bitfields [2020-07-22T14:43:26.424Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T14:43:26.424Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T14:43:26.424Z] [ 93%] Built target template-discovery [2020-07-22T14:43:26.424Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T14:43:26.424Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T14:43:26.424Z] [ 96%] Built target device-terminal [2020-07-22T14:43:26.424Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T14:43:26.424Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T14:43:26.685Z] [100%] Built target templatev1 [2020-07-22T14:43:26.685Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T14:43:26.685Z] Install the project... [2020-07-22T14:43:26.685Z] -- Install configuration: "Release" [2020-07-22T14:43:26.685Z] -- Installing: /usr/local/lib/libcsdk.so [2020-07-22T14:43:26.685Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-07-22T14:43:26.685Z] -- Up-to-date: /usr/local/include [2020-07-22T14:43:26.685Z] -- Installing: /usr/local/include/devsdk [2020-07-22T14:43:26.685Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-07-22T14:43:26.685Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-07-22T14:43:26.685Z] -- Installing: /usr/local/include/edgex [2020-07-22T14:43:26.685Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-07-22T14:43:26.685Z] -- Installing: /usr/local/include/edgex/devices.h [2020-07-22T14:43:26.685Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-07-22T14:43:26.685Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-07-22T14:43:26.685Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-07-22T14:43:26.685Z] -- Installing: /usr/local/include/edgex/error.h [2020-07-22T14:43:26.685Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-07-22T14:43:26.685Z] -- Installing: /usr/local/include/edgex/os.h [2020-07-22T14:43:26.685Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-07-22T14:43:26.685Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-07-22T14:43:26.685Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-07-22T14:43:26.685Z] -- Installing: /usr/local/include/iot [2020-07-22T14:43:26.685Z] -- Installing: /usr/local/include/iot/base64.h [2020-07-22T14:43:26.685Z] -- Installing: /usr/local/include/iot/component.h [2020-07-22T14:43:26.685Z] -- Installing: /usr/local/include/iot/config.h [2020-07-22T14:43:26.685Z] -- Installing: /usr/local/include/iot/container.h [2020-07-22T14:43:26.685Z] -- Installing: /usr/local/include/iot/data.h [2020-07-22T14:43:26.685Z] -- Installing: /usr/local/include/iot/hash.h [2020-07-22T14:43:26.685Z] -- Installing: /usr/local/include/iot/iot.h [2020-07-22T14:43:26.685Z] -- Installing: /usr/local/include/iot/json.h [2020-07-22T14:43:26.685Z] -- Installing: /usr/local/include/iot/logger.h [2020-07-22T14:43:26.685Z] -- Installing: /usr/local/include/iot/os.h [2020-07-22T14:43:26.685Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-07-22T14:43:26.685Z] -- Installing: /usr/local/include/iot/thread.h [2020-07-22T14:43:26.685Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-07-22T14:43:26.685Z] -- Installing: /usr/local/include/iot/time.h [2020-07-22T14:43:26.685Z] -- Installing: /usr/local/include/iot/typecode.h [2020-07-22T14:43:26.685Z] -- Installing: /usr/local/include/iot/os [2020-07-22T14:43:26.685Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-07-22T14:43:26.685Z] -- Installing: /usr/local/include/iot/os/macos.h [2020-07-22T14:43:26.685Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-07-22T14:43:26.685Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-07-22T14:43:26.685Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-07-22T14:43:26.685Z] make: Leaving directory '/tmp/sdk/build/release' [2020-07-22T14:43:27.993Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-07-22T14:43:28.584Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-07-22T14:43:28.604Z] Removing intermediate container 1798fb72c49e [2020-07-22T14:43:28.604Z] ---> 316d3c08c246 [2020-07-22T14:43:28.604Z] Step 14/21 : FROM ${BASE} [2020-07-22T14:43:28.604Z] ---> 5eabd8fd8ba2 [2020-07-22T14:43:28.604Z] Step 15/21 : MAINTAINER IOTech [2020-07-22T14:43:28.604Z] ---> Running in 21bd52c675e6 [2020-07-22T14:43:28.855Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-07-22T14:43:28.865Z] Removing intermediate container 21bd52c675e6 [2020-07-22T14:43:28.865Z] ---> 69b8e3421040 [2020-07-22T14:43:28.865Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-07-22T14:43:28.865Z] ---> Running in 233a71c8d4e1 [2020-07-22T14:43:29.807Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-07-22T14:43:29.826Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-07-22T14:43:30.379Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-07-22T14:43:30.379Z] (1/3) Installing curl (7.64.0-r3) [2020-07-22T14:43:30.640Z] (2/3) Installing libuuid (2.33-r0) [2020-07-22T14:43:30.640Z] (3/3) Installing wget (1.20.3-r0) [2020-07-22T14:43:30.640Z] Executing busybox-1.29.3-r10.trigger [2020-07-22T14:43:30.640Z] OK: 268 MiB in 78 packages [2020-07-22T14:43:31.217Z] Removing intermediate container 233a71c8d4e1 [2020-07-22T14:43:31.217Z] ---> 1fbaacca8983 [2020-07-22T14:43:31.217Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-07-22T14:43:31.253Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-07-22T14:43:31.479Z] ---> 3fe50388c728 [2020-07-22T14:43:31.479Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-07-22T14:43:31.740Z] ---> 4fa99d47e9b5 [2020-07-22T14:43:31.740Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-07-22T14:43:32.002Z] ---> 3007b1aacd3f [2020-07-22T14:43:32.002Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-07-22T14:43:32.263Z] ---> 4556435852b6 [2020-07-22T14:43:32.263Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-07-22T14:43:32.263Z] ---> ad21c38be4ac [2020-07-22T14:43:32.263Z] Successfully built ad21c38be4ac [2020-07-22T14:43:32.263Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [2020-07-22T14:43:32.675Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-07-22T14:43:33.231Z] + docker inspect -f . ci-base-image-x86_64 [2020-07-22T14:43:33.231Z] . [Pipeline] withDockerContainer [2020-07-22T14:43:33.362Z] prd-centos7-docker-4c-2g-591 does not seem to be running inside a container [2020-07-22T14:43:33.441Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/35 -v /w/workspace/device-sdk-c/35:/w/workspace/device-sdk-c/35:rw,z -v /w/workspace/device-sdk-c/35@tmp:/w/workspace/device-sdk-c/35@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 ******** ci-base-image-x86_64 cat [2020-07-22T14:43:33.992Z] $ docker top 05ee01ba1fac58c8a29a10bda26ceb67da2ef6135b4a2a0a915d8343a36dbfaf -eo pid,comm [Pipeline] { [Pipeline] sh [2020-07-22T14:43:34.471Z] + make test [2020-07-22T14:43:34.471Z] echo "make test" [2020-07-22T14:43:34.471Z] make test [Pipeline] } [2020-07-22T14:43:34.480Z] $ docker stop --time=1 05ee01ba1fac58c8a29a10bda26ceb67da2ef6135b4a2a0a915d8343a36dbfaf [2020-07-22T14:43:35.811Z] $ docker rm -f 05ee01ba1fac58c8a29a10bda26ceb67da2ef6135b4a2a0a915d8343a36dbfaf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [2020-07-22T14:43:36.046Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2020-07-22T14:43:36.319Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-07-22T14:43:37.739Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [Pipeline] sh [2020-07-22T14:43:38.011Z] [ 72%] Linking C shared library libcsdk.so [2020-07-22T14:43:38.011Z] [ 72%] Built target csdk [2020-07-22T14:43:38.283Z] Scanning dependencies of target template [2020-07-22T14:43:38.283Z] [ 74%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-07-22T14:43:38.283Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-07-22T14:43:38.575Z] + ls -al . [2020-07-22T14:43:38.575Z] total 160 [2020-07-22T14:43:38.575Z] drwxrwxr-x. 9 jenkins jenkins 275 Jul 22 14:42 . [2020-07-22T14:43:38.575Z] drwxrwxr-x. 4 jenkins jenkins 30 Jul 22 14:42 .. [2020-07-22T14:43:38.575Z] -rw-rw-r--. 1 jenkins jenkins 3104 Jul 22 14:42 Attribution.txt [2020-07-22T14:43:38.575Z] -rw-rw-r--. 1 jenkins jenkins 5833 Jul 22 14:42 CHANGES [2020-07-22T14:43:38.575Z] drwxrwxr-x. 2 jenkins jenkins 144 Jul 22 14:42 docs [2020-07-22T14:43:38.575Z] -rw-rw-r--. 1 jenkins jenkins 108574 Jul 22 14:42 Doxyfile [2020-07-22T14:43:38.575Z] drwxrwxr-x. 8 jenkins jenkins 162 Jul 22 14:42 .git [2020-07-22T14:43:38.575Z] drwxrwxr-x. 2 jenkins jenkins 38 Jul 22 14:42 .github [2020-07-22T14:43:38.575Z] -rw-rw-r--. 1 jenkins jenkins 176 Jul 22 14:42 .gitignore [2020-07-22T14:43:38.575Z] drwxrwxr-x. 4 jenkins jenkins 33 Jul 22 14:42 include [2020-07-22T14:43:38.575Z] -rw-rw-r--. 1 jenkins jenkins 794 Jul 22 14:42 Jenkinsfile [2020-07-22T14:43:38.575Z] -rw-rw-r--. 1 jenkins jenkins 10174 Jul 22 14:42 LICENSE [2020-07-22T14:43:38.575Z] -rw-rw-r--. 1 jenkins jenkins 449 Jul 22 14:42 Makefile [2020-07-22T14:43:38.575Z] -rw-rw-r--. 1 jenkins jenkins 1849 Jul 22 14:42 README.md [2020-07-22T14:43:38.575Z] -rw-rw-r--. 1 jenkins jenkins 5977 Jul 22 14:42 README.v2.md [2020-07-22T14:43:38.575Z] drwxrwxr-x. 2 jenkins jenkins 108 Jul 22 14:42 scripts [2020-07-22T14:43:38.575Z] drwxrwxr-x. 3 jenkins jenkins 44 Jul 22 14:42 .semver [2020-07-22T14:43:38.575Z] drwxrwxr-x. 4 jenkins jenkins 50 Jul 22 14:42 src [2020-07-22T14:43:38.575Z] -rw-rw-r--. 1 jenkins jenkins 12 Jul 22 14:39 VERSION [Pipeline] isUnix [Pipeline] sh [2020-07-22T14:43:38.873Z] + 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=feadb86bacbe0d21fda66ef6cfc7f5b973e1d88c --label arch=amd64 --label version=1.2.2-dev.11 . [2020-07-22T14:43:38.873Z] Sending build context to Docker daemon 3.381MB [2020-07-22T14:43:38.873Z] Step 1/15 : ARG BASE=alpine:3.11 [2020-07-22T14:43:38.873Z] Step 2/15 : FROM ${BASE} [2020-07-22T14:43:38.873Z] ---> ad21c38be4ac [2020-07-22T14:43:38.873Z] Step 3/15 : MAINTAINER IOTech [2020-07-22T14:43:38.876Z] [ 75%] Linking C executable template [2020-07-22T14:43:39.147Z] [ 75%] Built target template [2020-07-22T14:43:39.147Z] Scanning dependencies of target device-counter [2020-07-22T14:43:39.147Z] [ 77%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-07-22T14:43:39.448Z] ---> Running in f6b92a9fada8 [2020-07-22T14:43:39.448Z] Removing intermediate container f6b92a9fada8 [2020-07-22T14:43:39.448Z] ---> c114676e80c1 [2020-07-22T14:43:39.448Z] Step 4/15 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev && mkdir -p /edgex-c-sdk/build [2020-07-22T14:43:39.448Z] ---> Running in a55453239ba8 [2020-07-22T14:43:39.740Z] [ 79%] Linking C executable device-counter [2020-07-22T14:43:39.741Z] [ 79%] Built target device-counter [2020-07-22T14:43:39.741Z] Scanning dependencies of target device-random [2020-07-22T14:43:39.741Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-07-22T14:43:40.333Z] [ 82%] Linking C executable device-random [2020-07-22T14:43:40.390Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-07-22T14:43:40.606Z] [ 82%] Built target device-random [2020-07-22T14:43:40.606Z] Scanning dependencies of target device-gyro [2020-07-22T14:43:40.606Z] [ 84%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-07-22T14:43:40.877Z] [ 86%] Linking C executable device-gyro [2020-07-22T14:43:41.147Z] [ 86%] Built target device-gyro [2020-07-22T14:43:41.147Z] Scanning dependencies of target device-bitfields [2020-07-22T14:43:41.147Z] [ 87%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2020-07-22T14:43:41.332Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-07-22T14:43:41.593Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2020-07-22T14:43:41.741Z] [ 89%] Linking C executable device-bitfields [2020-07-22T14:43:41.741Z] [ 89%] Built target device-bitfields [2020-07-22T14:43:41.741Z] Scanning dependencies of target template-discovery [2020-07-22T14:43:41.741Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-07-22T14:43:41.854Z] (2/6) Installing libblkid (2.33-r0) [2020-07-22T14:43:41.854Z] (3/6) Installing libfdisk (2.33-r0) [2020-07-22T14:43:42.114Z] (4/6) Installing libmount (2.33-r0) [2020-07-22T14:43:42.114Z] (5/6) Installing libsmartcols (2.33-r0) [2020-07-22T14:43:42.114Z] (6/6) Installing util-linux-dev (2.33-r0) [2020-07-22T14:43:42.687Z] Executing busybox-1.29.3-r10.trigger [2020-07-22T14:43:42.687Z] OK: 272 MiB in 84 packages [2020-07-22T14:43:42.712Z] [ 93%] Linking C executable template-discovery [2020-07-22T14:43:42.712Z] [ 93%] Built target template-discovery [2020-07-22T14:43:42.712Z] Scanning dependencies of target device-terminal [2020-07-22T14:43:42.712Z] [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-07-22T14:43:43.259Z] Removing intermediate container a55453239ba8 [2020-07-22T14:43:43.259Z] ---> 855cc7aa7445 [2020-07-22T14:43:43.259Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-07-22T14:43:43.259Z] ---> 9684ae757229 [2020-07-22T14:43:43.259Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-07-22T14:43:43.339Z] [ 96%] Linking C executable device-terminal [2020-07-22T14:43:43.643Z] [ 96%] Built target device-terminal [2020-07-22T14:43:43.643Z] Scanning dependencies of target templatev1 [2020-07-22T14:43:43.643Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-07-22T14:43:44.200Z] ---> f063f437b639 [2020-07-22T14:43:44.200Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-07-22T14:43:44.200Z] ---> 801c6811c105 [2020-07-22T14:43:44.200Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-07-22T14:43:44.263Z] [100%] Linking C executable templatev1 [2020-07-22T14:43:44.460Z] ---> 2117e9b109fc [2020-07-22T14:43:44.460Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-07-22T14:43:44.555Z] [100%] Built target templatev1 [2020-07-22T14:43:44.555Z] + + tee -a release.log [2020-07-22T14:43:44.555Z] make package [2020-07-22T14:43:44.555Z] [ 72%] Built target csdk [2020-07-22T14:43:44.719Z] ---> 6d7c1cb51cfa [2020-07-22T14:43:44.720Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-07-22T14:43:44.832Z] [ 75%] Built target template [2020-07-22T14:43:44.832Z] [ 79%] Built target device-counter [2020-07-22T14:43:44.832Z] [ 82%] Built target device-random [2020-07-22T14:43:44.832Z] [ 86%] Built target device-gyro [2020-07-22T14:43:44.832Z] [ 89%] Built target device-bitfields [2020-07-22T14:43:44.832Z] [ 93%] Built target template-discovery [2020-07-22T14:43:44.980Z] ---> 2a27dd3f7d7f [2020-07-22T14:43:44.980Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-07-22T14:43:44.980Z] ---> Running in 33faa5dc9b35 [2020-07-22T14:43:44.980Z] Removing intermediate container 33faa5dc9b35 [2020-07-22T14:43:44.980Z] ---> 3ef1482c7b38 [2020-07-22T14:43:44.980Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-07-22T14:43:45.139Z] [ 96%] Built target device-terminal [2020-07-22T14:43:45.139Z] [100%] Built target templatev1 [2020-07-22T14:43:45.139Z] Run CPack packaging tool... [2020-07-22T14:43:45.139Z] CPack: Create package using TGZ [2020-07-22T14:43:45.139Z] CPack: Install projects [2020-07-22T14:43:45.139Z] CPack: - Run preinstall target for: Csdk [2020-07-22T14:43:45.240Z] ---> Running in eb462410c18c [2020-07-22T14:43:45.240Z] Removing intermediate container eb462410c18c [2020-07-22T14:43:45.240Z] ---> 9dd84df4381d [2020-07-22T14:43:45.240Z] Step 13/15 : LABEL arch=amd64 [2020-07-22T14:43:45.506Z] ---> Running in 37afc448f790 [2020-07-22T14:43:45.506Z] Removing intermediate container 37afc448f790 [2020-07-22T14:43:45.506Z] ---> 507a1534e525 [2020-07-22T14:43:45.506Z] Step 14/15 : LABEL git_sha=feadb86bacbe0d21fda66ef6cfc7f5b973e1d88c [2020-07-22T14:43:45.506Z] ---> Running in 0279fff555dd [2020-07-22T14:43:45.742Z] CPack: - Install project: Csdk [2020-07-22T14:43:45.742Z] CPack: Create package [2020-07-22T14:43:45.742Z] CPack: - package: /tmp/sdk/build/release/csdk-1.2.2-dev.11.tar.gz generated. [2020-07-22T14:43:45.742Z] + '[' false '=' true ] [2020-07-22T14:43:45.742Z] + '[' false '=' true ] [2020-07-22T14:43:45.742Z] + mkdir -p /tmp/sdk/build/debug [2020-07-22T14:43:45.742Z] + cd /tmp/sdk/build/debug [2020-07-22T14:43:45.742Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-07-22T14:43:45.766Z] Removing intermediate container 0279fff555dd [2020-07-22T14:43:45.766Z] ---> 738c38d3f14b [2020-07-22T14:43:45.766Z] Step 15/15 : LABEL version=1.2.2-dev.11 [2020-07-22T14:43:45.766Z] ---> Running in 84bdbca174d5 [2020-07-22T14:43:46.016Z] -- The C compiler identification is GNU 8.3.0 [2020-07-22T14:43:46.025Z] Removing intermediate container 84bdbca174d5 [2020-07-22T14:43:46.025Z] ---> f8dee89b1e4a [2020-07-22T14:43:46.025Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2020-07-22T14:43:46.025Z] Successfully built f8dee89b1e4a [2020-07-22T14:43:46.025Z] 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 [2020-07-22T14:43:46.295Z] -- Check for working C compiler: /usr/bin/cc [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [2020-07-22T14:43:46.583Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-07-22T14:43:46.583Z] -- Detecting C compiler ABI info [2020-07-22T14:43:46.583Z] -- Detecting C compiler ABI info - done [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [2020-07-22T14:43:46.861Z] -- Detecting C compile features [Pipeline] } [2020-07-22T14:43:47.455Z] -- Detecting C compile features - done [2020-07-22T14:43:47.456Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-07-22T14:43:47.456Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-07-22T14:43:47.456Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-07-22T14:43:47.456Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-07-22T14:43:47.456Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-07-22T14:43:47.456Z] -- C SDK 1.2.2-dev.11 for Linux [2020-07-22T14:43:47.728Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-07-22T14:43:47.728Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-07-22T14:43:47.728Z] -- Found Curses: /usr/lib/libcurses.so [2020-07-22T14:43:48.000Z] -- Configuring done [2020-07-22T14:43:48.270Z] -- Generating done [2020-07-22T14:43:48.271Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-07-22T14:43:48.271Z] + + maketee [2020-07-22T14:43:48.271Z] debug.log [2020-07-22T14:43:48.271Z] Scanning dependencies of target csdk [2020-07-22T14:43:48.542Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-07-22T14:43:48.812Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-07-22T14:43:49.083Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-07-22T14:43:49.676Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-07-22T14:43:49.948Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-07-22T14:43:50.219Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-07-22T14:43:50.490Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-07-22T14:43:51.083Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-07-22T14:43:51.354Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-07-22T14:43:51.950Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-07-22T14:43:51.950Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-07-22T14:43:52.223Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-07-22T14:43:52.494Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-07-22T14:43:52.766Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-07-22T14:43:53.741Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-07-22T14:43:53.741Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-07-22T14:43:54.014Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2020-07-22T14:43:54.290Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-07-22T14:43:54.565Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-07-22T14:43:55.157Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-07-22T14:43:55.430Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-07-22T14:43:55.702Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-07-22T14:43:55.976Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-07-22T14:43:55.976Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-07-22T14:43:56.248Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-07-22T14:43:56.519Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-07-22T14:43:56.790Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-07-22T14:43:57.061Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-07-22T14:43:57.061Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-07-22T14:43:57.333Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-07-22T14:43:57.926Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-07-22T14:43:57.926Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-07-22T14:43:58.897Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-07-22T14:43:59.170Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-07-22T14:43:59.446Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-07-22T14:44:00.040Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-07-22T14:44:00.632Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-07-22T14:44:01.226Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-07-22T14:44:01.815Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-07-22T14:44:02.091Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-07-22T14:44:02.683Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-07-22T14:44:02.683Z] [ 72%] Linking C shared library libcsdk.so [2020-07-22T14:44:02.956Z] [ 72%] Built target csdk [2020-07-22T14:44:02.956Z] Scanning dependencies of target template [2020-07-22T14:44:02.956Z] [ 74%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-07-22T14:44:03.229Z] [ 75%] Linking C executable template [2020-07-22T14:44:03.500Z] [ 75%] Built target template [2020-07-22T14:44:03.500Z] Scanning dependencies of target device-counter [2020-07-22T14:44:03.500Z] [ 77%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-07-22T14:44:03.773Z] [ 79%] Linking C executable device-counter [2020-07-22T14:44:04.045Z] [ 79%] Built target device-counter [2020-07-22T14:44:04.045Z] Scanning dependencies of target device-random [2020-07-22T14:44:04.045Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-07-22T14:44:04.316Z] [ 82%] Linking C executable device-random [2020-07-22T14:44:04.586Z] [ 82%] Built target device-random [2020-07-22T14:44:04.586Z] Scanning dependencies of target device-gyro [2020-07-22T14:44:04.586Z] [ 84%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-07-22T14:44:04.857Z] [ 86%] Linking C executable device-gyro [2020-07-22T14:44:05.130Z] [ 86%] Built target device-gyro [2020-07-22T14:44:05.130Z] Scanning dependencies of target device-bitfields [2020-07-22T14:44:05.130Z] [ 87%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2020-07-22T14:44:05.402Z] [ 89%] Linking C executable device-bitfields [2020-07-22T14:44:05.674Z] [ 89%] Built target device-bitfields [2020-07-22T14:44:05.674Z] Scanning dependencies of target template-discovery [2020-07-22T14:44:05.674Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-07-22T14:44:05.945Z] [ 93%] Linking C executable template-discovery [2020-07-22T14:44:06.218Z] [ 93%] Built target template-discovery [2020-07-22T14:44:06.218Z] Scanning dependencies of target device-terminal [2020-07-22T14:44:06.218Z] [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-07-22T14:44:06.488Z] [ 96%] Linking C executable device-terminal [2020-07-22T14:44:06.761Z] [ 96%] Built target device-terminal [2020-07-22T14:44:06.761Z] Scanning dependencies of target templatev1 [2020-07-22T14:44:06.761Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-07-22T14:44:07.035Z] [100%] Linking C executable templatev1 [2020-07-22T14:44:07.309Z] [100%] Built target templatev1 [2020-07-22T14:44:07.309Z] make: Entering directory '/tmp/sdk/build/release' [2020-07-22T14:44:07.309Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-07-22T14:44:07.309Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T14:44:07.309Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T14:44:07.309Z] [ 72%] Built target csdk [2020-07-22T14:44:07.309Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T14:44:07.309Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T14:44:07.583Z] [ 75%] Built target template [2020-07-22T14:44:07.583Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T14:44:07.583Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T14:44:07.583Z] [ 79%] Built target device-counter [2020-07-22T14:44:07.583Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T14:44:07.583Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T14:44:07.583Z] [ 82%] Built target device-random [2020-07-22T14:44:07.583Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T14:44:07.583Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T14:44:07.583Z] [ 86%] Built target device-gyro [2020-07-22T14:44:07.583Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T14:44:07.583Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T14:44:07.583Z] [ 89%] Built target device-bitfields [2020-07-22T14:44:07.583Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T14:44:07.583Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T14:44:07.583Z] [ 93%] Built target template-discovery [2020-07-22T14:44:07.583Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T14:44:07.583Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T14:44:07.583Z] [ 96%] Built target device-terminal [2020-07-22T14:44:07.854Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-22T14:44:07.854Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T14:44:07.854Z] [100%] Built target templatev1 [2020-07-22T14:44:07.854Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-07-22T14:44:07.854Z] Install the project... [2020-07-22T14:44:07.854Z] -- Install configuration: "Release" [2020-07-22T14:44:07.854Z] -- Installing: /usr/local/lib/libcsdk.so [2020-07-22T14:44:07.854Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-07-22T14:44:07.854Z] -- Up-to-date: /usr/local/include [2020-07-22T14:44:07.854Z] -- Installing: /usr/local/include/edgex [2020-07-22T14:44:07.854Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-07-22T14:44:07.854Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-07-22T14:44:07.854Z] -- Installing: /usr/local/include/edgex/error.h [2020-07-22T14:44:07.854Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-07-22T14:44:07.854Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-07-22T14:44:07.854Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-07-22T14:44:07.854Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-07-22T14:44:07.854Z] -- Installing: /usr/local/include/edgex/devices.h [2020-07-22T14:44:07.854Z] -- Installing: /usr/local/include/edgex/os.h [2020-07-22T14:44:07.854Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-07-22T14:44:07.854Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-07-22T14:44:07.854Z] -- Installing: /usr/local/include/devsdk [2020-07-22T14:44:07.854Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-07-22T14:44:07.854Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-07-22T14:44:07.854Z] -- Installing: /usr/local/include/iot [2020-07-22T14:44:07.854Z] -- Installing: /usr/local/include/iot/json.h [2020-07-22T14:44:07.854Z] -- Installing: /usr/local/include/iot/container.h [2020-07-22T14:44:07.855Z] -- Installing: /usr/local/include/iot/component.h [2020-07-22T14:44:07.855Z] -- Installing: /usr/local/include/iot/typecode.h [2020-07-22T14:44:07.855Z] -- Installing: /usr/local/include/iot/iot.h [2020-07-22T14:44:07.855Z] -- Installing: /usr/local/include/iot/time.h [2020-07-22T14:44:07.855Z] -- Installing: /usr/local/include/iot/hash.h [2020-07-22T14:44:07.855Z] -- Installing: /usr/local/include/iot/logger.h [2020-07-22T14:44:07.855Z] -- Installing: /usr/local/include/iot/os [2020-07-22T14:44:07.855Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-07-22T14:44:07.855Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-07-22T14:44:07.855Z] -- Installing: /usr/local/include/iot/os/macos.h [2020-07-22T14:44:07.855Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-07-22T14:44:07.855Z] -- Installing: /usr/local/include/iot/data.h [2020-07-22T14:44:07.855Z] -- Installing: /usr/local/include/iot/thread.h [2020-07-22T14:44:07.855Z] -- Installing: /usr/local/include/iot/os.h [2020-07-22T14:44:07.855Z] -- Installing: /usr/local/include/iot/base64.h [2020-07-22T14:44:07.855Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-07-22T14:44:07.855Z] -- Installing: /usr/local/include/iot/config.h [2020-07-22T14:44:07.855Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-07-22T14:44:07.855Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-07-22T14:44:07.855Z] make: Leaving directory '/tmp/sdk/build/release' [2020-07-22T14:44:09.822Z] Removing intermediate container 430e030f0836 [2020-07-22T14:44:09.822Z] ---> 1982383fe36c [2020-07-22T14:44:09.822Z] Step 14/21 : FROM ${BASE} [2020-07-22T14:44:09.822Z] ---> b23d30803547 [2020-07-22T14:44:09.822Z] Step 15/21 : MAINTAINER IOTech [2020-07-22T14:44:10.092Z] ---> Running in 5037874fcfb7 [2020-07-22T14:44:10.363Z] Removing intermediate container 5037874fcfb7 [2020-07-22T14:44:10.363Z] ---> a8d7b40e12b7 [2020-07-22T14:44:10.363Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-07-22T14:44:10.635Z] ---> Running in 2c0ea4ea40cf [2020-07-22T14:44:12.061Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-07-22T14:44:13.032Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-07-22T14:44:13.621Z] (1/3) Installing curl (7.64.0-r3) [2020-07-22T14:44:13.621Z] (2/3) Installing libuuid (2.33-r0) [2020-07-22T14:44:13.621Z] (3/3) Installing wget (1.20.3-r0) [2020-07-22T14:44:13.893Z] Executing busybox-1.29.3-r10.trigger [2020-07-22T14:44:13.893Z] OK: 281 MiB in 78 packages [2020-07-22T14:44:14.875Z] Removing intermediate container 2c0ea4ea40cf [2020-07-22T14:44:14.876Z] ---> 38aee36177ed [2020-07-22T14:44:14.876Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-07-22T14:44:15.857Z] ---> 5a2523aef3ae [2020-07-22T14:44:15.857Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-07-22T14:44:16.449Z] ---> b2aa28876ab3 [2020-07-22T14:44:16.449Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-07-22T14:44:17.043Z] ---> 02b413656256 [2020-07-22T14:44:17.043Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-07-22T14:44:18.019Z] ---> 53d0c0a39702 [2020-07-22T14:44:18.019Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-07-22T14:44:18.613Z] ---> c69dfafc6066 [2020-07-22T14:44:18.613Z] Successfully built c69dfafc6066 [2020-07-22T14:44:18.613Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-07-22T14:44:19.314Z] + docker inspect -f . ci-base-image-arm64 [2020-07-22T14:44:19.314Z] . [Pipeline] withDockerContainer [2020-07-22T14:44:19.584Z] prd-ubuntu18.04-docker-arm64-4c-16g-590 does not seem to be running inside a container [2020-07-22T14:44:19.712Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/35 -v /w/workspace/device-sdk-c/35:/w/workspace/device-sdk-c/35:rw,z -v /w/workspace/device-sdk-c/35@tmp:/w/workspace/device-sdk-c/35@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 ******** ci-base-image-arm64 cat [2020-07-22T14:44:21.547Z] $ docker top 4e28f83ccf3d27f4f7a279b921f1109c945c25968f6a2660ed30296208adebca -eo pid,comm [Pipeline] { [Pipeline] sh [2020-07-22T14:44:22.890Z] + make test [2020-07-22T14:44:22.890Z] echo "make test" [2020-07-22T14:44:22.890Z] make test [Pipeline] } [2020-07-22T14:44:22.956Z] $ docker stop --time=1 4e28f83ccf3d27f4f7a279b921f1109c945c25968f6a2660ed30296208adebca [2020-07-22T14:44:24.884Z] $ docker rm -f 4e28f83ccf3d27f4f7a279b921f1109c945c25968f6a2660ed30296208adebca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-07-22T14:44:25.792Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-07-22T14:44:26.137Z] + ls -al . [2020-07-22T14:44:26.137Z] total 196 [2020-07-22T14:44:26.137Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 22 14:42 . [2020-07-22T14:44:26.137Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 14:41 .. [2020-07-22T14:44:26.137Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 22 14:42 .git [2020-07-22T14:44:26.137Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 14:41 .github [2020-07-22T14:44:26.137Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 22 14:41 .gitignore [2020-07-22T14:44:26.137Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 14:42 .semver [2020-07-22T14:44:26.137Z] -rw-rw-r-- 1 jenkins jenkins 3104 Jul 22 14:41 Attribution.txt [2020-07-22T14:44:26.137Z] -rw-rw-r-- 1 jenkins jenkins 5833 Jul 22 14:41 CHANGES [2020-07-22T14:44:26.137Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 22 14:41 Doxyfile [2020-07-22T14:44:26.137Z] -rw-rw-r-- 1 jenkins jenkins 794 Jul 22 14:41 Jenkinsfile [2020-07-22T14:44:26.137Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 22 14:41 LICENSE [2020-07-22T14:44:26.137Z] -rw-rw-r-- 1 jenkins jenkins 449 Jul 22 14:41 Makefile [2020-07-22T14:44:26.137Z] -rw-rw-r-- 1 jenkins jenkins 1849 Jul 22 14:41 README.md [2020-07-22T14:44:26.137Z] -rw-rw-r-- 1 jenkins jenkins 5977 Jul 22 14:41 README.v2.md [2020-07-22T14:44:26.137Z] -rw-rw-r-- 1 jenkins jenkins 12 Jul 22 14:39 VERSION [2020-07-22T14:44:26.137Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 14:41 docs [2020-07-22T14:44:26.137Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 14:41 include [2020-07-22T14:44:26.137Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 14:41 scripts [2020-07-22T14:44:26.137Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 14:41 src [Pipeline] isUnix [Pipeline] sh [2020-07-22T14:44:26.506Z] + 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=feadb86bacbe0d21fda66ef6cfc7f5b973e1d88c --label arch=arm64 --label version=1.2.2-dev.11 . [2020-07-22T14:44:27.143Z] Sending build context to Docker daemon 3.381MB [2020-07-22T14:44:27.143Z] Step 1/15 : ARG BASE=alpine:3.11 [2020-07-22T14:44:27.143Z] Step 2/15 : FROM ${BASE} [2020-07-22T14:44:27.143Z] ---> c69dfafc6066 [2020-07-22T14:44:27.143Z] Step 3/15 : MAINTAINER IOTech [2020-07-22T14:44:27.143Z] ---> Running in 4e69af8bf1f5 [2020-07-22T14:44:27.740Z] Removing intermediate container 4e69af8bf1f5 [2020-07-22T14:44:27.740Z] ---> 405be0e2d53a [2020-07-22T14:44:27.740Z] Step 4/15 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev && mkdir -p /edgex-c-sdk/build [2020-07-22T14:44:27.740Z] ---> Running in 7b485bd1da58 [2020-07-22T14:44:29.165Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-07-22T14:44:30.137Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-07-22T14:44:30.725Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2020-07-22T14:44:30.725Z] (2/6) Installing libblkid (2.33-r0) [2020-07-22T14:44:30.994Z] (3/6) Installing libfdisk (2.33-r0) [2020-07-22T14:44:30.994Z] (4/6) Installing libmount (2.33-r0) [2020-07-22T14:44:31.264Z] (5/6) Installing libsmartcols (2.33-r0) [2020-07-22T14:44:31.264Z] (6/6) Installing util-linux-dev (2.33-r0) [2020-07-22T14:44:31.856Z] Executing busybox-1.29.3-r10.trigger [2020-07-22T14:44:31.856Z] OK: 286 MiB in 84 packages [2020-07-22T14:44:33.280Z] Removing intermediate container 7b485bd1da58 [2020-07-22T14:44:33.280Z] ---> d48733a82b8a [2020-07-22T14:44:33.280Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-07-22T14:44:33.873Z] ---> 278bffce4a6f [2020-07-22T14:44:33.873Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-07-22T14:44:34.849Z] ---> b5b5608425d5 [2020-07-22T14:44:34.849Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-07-22T14:44:35.440Z] ---> 15fff213f4b7 [2020-07-22T14:44:35.440Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-07-22T14:44:36.414Z] ---> c27ab3ad3ce5 [2020-07-22T14:44:36.414Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-07-22T14:44:37.006Z] ---> 7c472f4e09be [2020-07-22T14:44:37.006Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-07-22T14:44:37.599Z] ---> d69969f4007c [2020-07-22T14:44:37.599Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-07-22T14:44:37.599Z] ---> Running in 12037d1def26 [2020-07-22T14:44:38.191Z] Removing intermediate container 12037d1def26 [2020-07-22T14:44:38.191Z] ---> 26708eb19861 [2020-07-22T14:44:38.191Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-07-22T14:44:38.470Z] ---> Running in ebe0300ec460 [2020-07-22T14:44:39.062Z] Removing intermediate container ebe0300ec460 [2020-07-22T14:44:39.062Z] ---> de6c4c0e5d20 [2020-07-22T14:44:39.062Z] Step 13/15 : LABEL arch=arm64 [2020-07-22T14:44:39.062Z] ---> Running in 83a899da8bd3 [2020-07-22T14:44:39.335Z] Removing intermediate container 83a899da8bd3 [2020-07-22T14:44:39.335Z] ---> 9740c01dad5d [2020-07-22T14:44:39.335Z] Step 14/15 : LABEL git_sha=feadb86bacbe0d21fda66ef6cfc7f5b973e1d88c [2020-07-22T14:44:39.605Z] ---> Running in 328bc214a778 [2020-07-22T14:44:40.198Z] Removing intermediate container 328bc214a778 [2020-07-22T14:44:40.198Z] ---> 129a4daa6471 [2020-07-22T14:44:40.198Z] Step 15/15 : LABEL version=1.2.2-dev.11 [2020-07-22T14:44:40.198Z] ---> Running in afdefaae10fd [2020-07-22T14:44:40.471Z] Removing intermediate container afdefaae10fd [2020-07-22T14:44:40.471Z] ---> 5fd54dd15896 [2020-07-22T14:44:40.471Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2020-07-22T14:44:40.742Z] Successfully built 5fd54dd15896 [2020-07-22T14:44:40.742Z] Successfully tagged docker-device-sdk-c-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh [2020-07-22T14:44:42.547Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-22T14:44:42.547Z] . [Pipeline] withDockerContainer [2020-07-22T14:44:42.641Z] prd-centos7-docker-4c-2g-589 does not seem to be running inside a container [2020-07-22T14:44:42.677Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-07-22T14:44:43.275Z] $ docker top 5d1c30294e5b5179155d5e6602c21538c5e3ee3226b97ccd1ac7d8671ae29914 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-07-22T14:44:43.556Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-22T14:44:43.556Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-22T14:44:43.740Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-22T14:44:43.736Z] $ docker exec 5d1c30294e5b5179155d5e6602c21538c5e3ee3226b97ccd1ac7d8671ae29914 ssh-agent [2020-07-22T14:44:43.908Z] SSH_AUTH_SOCK=/tmp/ssh-2hC3CtaaF3Ev/agent.11 [2020-07-22T14:44:43.908Z] SSH_AGENT_PID=16 [2020-07-22T14:44:43.914Z] Running ssh-add (command line suppressed) [2020-07-22T14:44:44.025Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_1906483663953861053.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_1906483663953861053.key) [2020-07-22T14:44:44.081Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-22T14:44:44.409Z] + git semver tag [2020-07-22T14:44:44.409Z] # -> Open(): unable to determine branch for HEAD [2020-07-22T14:44:44.409Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2020-07-22T14:44:44.409Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2020-07-22T14:44:44.409Z] # $SEMVER_REMOTE_NAME = origin [2020-07-22T14:44:44.409Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-07-22T14:44:44.409Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-07-22T14:44:44.409Z] # $SEMVER_BRANCH = master [2020-07-22T14:44:44.409Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [2020-07-22T14:44:44.409Z] # feadb86bacbe0d21fda66ef6cfc7f5b973e1d88c HEAD [2020-07-22T14:44:44.409Z] # -> Force: false [2020-07-22T14:44:44.409Z] # 357a1cb41dc504463b60499d9499d7d87d740892 refs/tags/v1.2.2-dev.11 [Pipeline] } [2020-07-22T14:44:44.413Z] $ docker exec --env ******** --env ******** 5d1c30294e5b5179155d5e6602c21538c5e3ee3226b97ccd1ac7d8671ae29914 ssh-agent -k [2020-07-22T14:44:44.533Z] unset SSH_AUTH_SOCK; [2020-07-22T14:44:44.534Z] unset SSH_AGENT_PID; [2020-07-22T14:44:44.534Z] echo Agent pid 16 killed; [2020-07-22T14:44:44.586Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-07-22T14:44:45.023Z] + git semver [Pipeline] } [2020-07-22T14:44:45.035Z] $ docker stop --time=1 5d1c30294e5b5179155d5e6602c21538c5e3ee3226b97ccd1ac7d8671ae29914 [2020-07-22T14:44:46.361Z] $ docker rm -f 5d1c30294e5b5179155d5e6602c21538c5e3ee3226b97ccd1ac7d8671ae29914 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-07-22T14:44:46.966Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-07-22T14:44:46.966Z] [2020-07-22T14:44:46.966Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-07-22T14:44:47.299Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-07-22T14:44:47.299Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-07-22T14:44:47.299Z] ab5ef0e58194: Pulling fs layer [2020-07-22T14:44:47.300Z] 9712f1f96733: Pulling fs layer [2020-07-22T14:44:47.300Z] 63f879dbbcfc: Pulling fs layer [2020-07-22T14:44:47.300Z] 0d9ebad4ef96: Pulling fs layer [2020-07-22T14:44:47.300Z] e9a5061849ea: Pulling fs layer [2020-07-22T14:44:47.300Z] d747dcd14b5f: Pulling fs layer [2020-07-22T14:44:47.300Z] 2de7ff778b66: Pulling fs layer [2020-07-22T14:44:47.300Z] 0d9ebad4ef96: Waiting [2020-07-22T14:44:47.300Z] e9a5061849ea: Waiting [2020-07-22T14:44:47.300Z] d747dcd14b5f: Waiting [2020-07-22T14:44:47.300Z] 2de7ff778b66: Waiting [2020-07-22T14:44:47.300Z] 9712f1f96733: Verifying Checksum [2020-07-22T14:44:47.300Z] 9712f1f96733: Download complete [2020-07-22T14:44:47.892Z] 63f879dbbcfc: Verifying Checksum [2020-07-22T14:44:47.892Z] 63f879dbbcfc: Download complete [2020-07-22T14:44:47.892Z] e9a5061849ea: Verifying Checksum [2020-07-22T14:44:47.892Z] e9a5061849ea: Download complete [2020-07-22T14:44:47.892Z] d747dcd14b5f: Verifying Checksum [2020-07-22T14:44:47.892Z] d747dcd14b5f: Download complete [2020-07-22T14:44:48.153Z] ab5ef0e58194: Download complete [2020-07-22T14:44:48.153Z] 2de7ff778b66: Verifying Checksum [2020-07-22T14:44:48.153Z] 2de7ff778b66: Download complete [2020-07-22T14:44:48.414Z] 0d9ebad4ef96: Download complete [2020-07-22T14:44:53.743Z] ab5ef0e58194: Pull complete [2020-07-22T14:44:53.743Z] 9712f1f96733: Pull complete [2020-07-22T14:44:55.141Z] 63f879dbbcfc: Pull complete [2020-07-22T14:45:01.903Z] 0d9ebad4ef96: Pull complete [2020-07-22T14:45:03.302Z] e9a5061849ea: Pull complete [2020-07-22T14:45:03.302Z] d747dcd14b5f: Pull complete [2020-07-22T14:45:05.848Z] 2de7ff778b66: Pull complete [2020-07-22T14:45:06.110Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-07-22T14:45:06.110Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-07-22T14:45:06.110Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-07-22T14:45:06.233Z] prd-centos7-docker-4c-2g-589 does not seem to be running inside a container [2020-07-22T14:45:06.264Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-07-22T14:45:10.580Z] $ docker top 2a40491669316df3534ab84249341ecdb28d6435657a0bed239afadf68fdc8b4 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-07-22T14:45:10.799Z] provisioning config files... [2020-07-22T14:45:10.811Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config7383231531577640390tmp [2020-07-22T14:45:10.830Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config1928616514367312013tmp [2020-07-22T14:45:10.848Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config965919707069726721tmp [Pipeline] { [Pipeline] echo [2020-07-22T14:45:10.909Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-22T14:45:11.199Z] ---> sigul-configuration.sh [2020-07-22T14:45:11.200Z] gpg: directory `/root/.gnupg' created [2020-07-22T14:45:11.200Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-07-22T14:45:11.200Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-07-22T14:45:11.200Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-07-22T14:45:11.200Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-07-22T14:45:11.200Z] gpg: CAST5 encrypted data [2020-07-22T14:45:11.461Z] gpg: encrypted with 1 passphrase [2020-07-22T14:45:11.462Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-07-22T14:45:11.761Z] + mkdir /home/jenkins [2020-07-22T14:45:11.761Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-07-22T14:45:12.055Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo [2020-07-22T14:45:12.064Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-22T14:45:12.354Z] ---> sigul-install.sh [2020-07-22T14:45:17.644Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-07-22T14:45:17.940Z] + git tag --list [2020-07-22T14:45:17.940Z] v1.2.2-dev.11 [Pipeline] sh [2020-07-22T14:45:18.236Z] + lftools sign git-tag v1.2.2-dev.11 [2020-07-22T14:45:19.621Z] Signing Git tag with Sigul... [2020-07-22T14:45:19.621Z] Signing v1.2.2-dev.11 [Pipeline] echo [2020-07-22T14:45:20.578Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-22T14:45:20.871Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-07-22T14:45:20.878Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-07-22T14:45:20.950Z] $ docker stop --time=1 2a40491669316df3534ab84249341ecdb28d6435657a0bed239afadf68fdc8b4 [2020-07-22T14:45:22.847Z] $ docker rm -f 2a40491669316df3534ab84249341ecdb28d6435657a0bed239afadf68fdc8b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-07-22T14:45:23.567Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-22T14:45:23.567Z] . [Pipeline] withDockerContainer [2020-07-22T14:45:23.660Z] prd-centos7-docker-4c-2g-589 does not seem to be running inside a container [2020-07-22T14:45:23.707Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-07-22T14:45:24.391Z] $ docker top c7d8ffbed83805f6366f744b47fbcc0eda33c0c003aa8cce0b2e874eef370c50 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-07-22T14:45:24.677Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-22T14:45:24.677Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-22T14:45:24.905Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-22T14:45:24.901Z] $ docker exec c7d8ffbed83805f6366f744b47fbcc0eda33c0c003aa8cce0b2e874eef370c50 ssh-agent [2020-07-22T14:45:25.074Z] SSH_AUTH_SOCK=/tmp/ssh-vYfCDe1buPjD/agent.11 [2020-07-22T14:45:25.074Z] SSH_AGENT_PID=16 [2020-07-22T14:45:25.081Z] Running ssh-add (command line suppressed) [2020-07-22T14:45:25.201Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_8296486793657832793.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_8296486793657832793.key) [2020-07-22T14:45:25.260Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-22T14:45:25.582Z] + git semver bump pre [2020-07-22T14:45:25.582Z] # -> Open(): unable to determine branch for HEAD [2020-07-22T14:45:25.582Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2020-07-22T14:45:25.582Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2020-07-22T14:45:25.582Z] # $SEMVER_REMOTE_NAME = origin [2020-07-22T14:45:25.582Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-07-22T14:45:25.582Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-07-22T14:45:25.582Z] # $SEMVER_BRANCH = master [2020-07-22T14:45:25.582Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [2020-07-22T14:45:25.843Z] 1.2.2-dev.12 [Pipeline] } [2020-07-22T14:45:25.848Z] $ docker exec --env ******** --env ******** c7d8ffbed83805f6366f744b47fbcc0eda33c0c003aa8cce0b2e874eef370c50 ssh-agent -k [2020-07-22T14:45:25.973Z] unset SSH_AUTH_SOCK; [2020-07-22T14:45:25.973Z] unset SSH_AGENT_PID; [2020-07-22T14:45:25.973Z] echo Agent pid 16 killed; [2020-07-22T14:45:26.028Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-07-22T14:45:26.445Z] + git semver [Pipeline] } [2020-07-22T14:45:26.453Z] $ docker stop --time=1 c7d8ffbed83805f6366f744b47fbcc0eda33c0c003aa8cce0b2e874eef370c50 [2020-07-22T14:45:27.793Z] $ docker rm -f c7d8ffbed83805f6366f744b47fbcc0eda33c0c003aa8cce0b2e874eef370c50 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-07-22T14:45:28.292Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-22T14:45:28.292Z] . [Pipeline] withDockerContainer [2020-07-22T14:45:28.383Z] prd-centos7-docker-4c-2g-589 does not seem to be running inside a container [2020-07-22T14:45:28.421Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-07-22T14:45:28.958Z] $ docker top ce47157f5030c04f02d9b8507857e38d78a6a6492167dfdb4f06ae34e5005c18 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-07-22T14:45:29.211Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-22T14:45:29.211Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-22T14:45:29.380Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-22T14:45:29.376Z] $ docker exec ce47157f5030c04f02d9b8507857e38d78a6a6492167dfdb4f06ae34e5005c18 ssh-agent [2020-07-22T14:45:29.549Z] SSH_AUTH_SOCK=/tmp/ssh-0C20K3BkqEaD/agent.11 [2020-07-22T14:45:29.549Z] SSH_AGENT_PID=16 [2020-07-22T14:45:29.554Z] Running ssh-add (command line suppressed) [2020-07-22T14:45:29.668Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_5681993081235336084.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_5681993081235336084.key) [2020-07-22T14:45:29.725Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-22T14:45:30.050Z] + git semver push [2020-07-22T14:45:30.050Z] # -> Open(): unable to determine branch for HEAD [2020-07-22T14:45:30.050Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2020-07-22T14:45:30.050Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2020-07-22T14:45:30.050Z] # $SEMVER_REMOTE_NAME = origin [2020-07-22T14:45:30.050Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-07-22T14:45:30.050Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-07-22T14:45:30.050Z] # $SEMVER_BRANCH = master [2020-07-22T14:45:30.050Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [Pipeline] } [2020-07-22T14:45:36.637Z] $ docker exec --env ******** --env ******** ce47157f5030c04f02d9b8507857e38d78a6a6492167dfdb4f06ae34e5005c18 ssh-agent -k [2020-07-22T14:45:36.758Z] unset SSH_AUTH_SOCK; [2020-07-22T14:45:36.758Z] unset SSH_AGENT_PID; [2020-07-22T14:45:36.758Z] echo Agent pid 16 killed; [2020-07-22T14:45:36.815Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-07-22T14:45:37.783Z] + git semver [Pipeline] } [2020-07-22T14:45:37.791Z] $ docker stop --time=1 ce47157f5030c04f02d9b8507857e38d78a6a6492167dfdb4f06ae34e5005c18 [2020-07-22T14:45:39.134Z] $ docker rm -f ce47157f5030c04f02d9b8507857e38d78a6a6492167dfdb4f06ae34e5005c18 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-07-22T14:45:39.879Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-22T14:45:40.434Z] ---> package-listing.sh [2020-07-22T14:45:40.434Z] ++ facter osfamily [2020-07-22T14:45:40.434Z] ++ tr '[:upper:]' '[:lower:]' [2020-07-22T14:45:40.434Z] + OS_FAMILY=redhat [2020-07-22T14:45:40.434Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_master [2020-07-22T14:45:40.434Z] + START_PACKAGES=/tmp/packages_start.txt [2020-07-22T14:45:40.434Z] + END_PACKAGES=/tmp/packages_end.txt [2020-07-22T14:45:40.434Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-07-22T14:45:40.434Z] + PACKAGES=/tmp/packages_start.txt [2020-07-22T14:45:40.434Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_master ']' [2020-07-22T14:45:40.434Z] + PACKAGES=/tmp/packages_end.txt [2020-07-22T14:45:40.434Z] + case "${OS_FAMILY}" in [2020-07-22T14:45:40.434Z] + rpm -qa [2020-07-22T14:45:40.434Z] + sort [2020-07-22T14:45:44.643Z] + '[' -f /tmp/packages_start.txt ']' [2020-07-22T14:45:44.643Z] + '[' -f /tmp/packages_end.txt ']' [2020-07-22T14:45:44.643Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-07-22T14:45:44.643Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_master ']' [2020-07-22T14:45:44.643Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_master/archives/ [2020-07-22T14:45:44.643Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_master/archives/ [Pipeline] isUnix [Pipeline] sh [2020-07-22T14:45:45.210Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-22T14:45:45.210Z] [2020-07-22T14:45:45.210Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-07-22T14:45:45.552Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-22T14:45:45.552Z] alpine: Pulling from edgex-lftools-log-publisher [2020-07-22T14:45:45.552Z] c9b1b535fdd9: Pulling fs layer [2020-07-22T14:45:45.552Z] 2cc5ad85d9ab: Pulling fs layer [2020-07-22T14:45:45.552Z] 756a868c4378: Pulling fs layer [2020-07-22T14:45:45.552Z] 444b2fc9a129: Pulling fs layer [2020-07-22T14:45:45.552Z] ea15f1150254: Pulling fs layer [2020-07-22T14:45:45.552Z] 41b27a9f41bf: Pulling fs layer [2020-07-22T14:45:45.552Z] 28c525ee5125: Pulling fs layer [2020-07-22T14:45:45.552Z] 094b1ea09ed8: Pulling fs layer [2020-07-22T14:45:45.552Z] 138eaada9080: Pulling fs layer [2020-07-22T14:45:45.552Z] 0622d0fa9048: Pulling fs layer [2020-07-22T14:45:45.552Z] 41b27a9f41bf: Waiting [2020-07-22T14:45:45.552Z] 28c525ee5125: Waiting [2020-07-22T14:45:45.552Z] 094b1ea09ed8: Waiting [2020-07-22T14:45:45.552Z] 138eaada9080: Waiting [2020-07-22T14:45:45.552Z] 0622d0fa9048: Waiting [2020-07-22T14:45:45.552Z] 444b2fc9a129: Waiting [2020-07-22T14:45:45.552Z] ea15f1150254: Waiting [2020-07-22T14:45:45.552Z] 2cc5ad85d9ab: Verifying Checksum [2020-07-22T14:45:45.552Z] 2cc5ad85d9ab: Download complete [2020-07-22T14:45:45.552Z] 444b2fc9a129: Verifying Checksum [2020-07-22T14:45:45.552Z] 444b2fc9a129: Download complete [2020-07-22T14:45:45.552Z] c9b1b535fdd9: Verifying Checksum [2020-07-22T14:45:45.552Z] c9b1b535fdd9: Download complete [2020-07-22T14:45:45.552Z] ea15f1150254: Download complete [2020-07-22T14:45:45.552Z] 28c525ee5125: Verifying Checksum [2020-07-22T14:45:45.552Z] 28c525ee5125: Download complete [2020-07-22T14:45:45.817Z] 756a868c4378: Verifying Checksum [2020-07-22T14:45:45.817Z] 756a868c4378: Download complete [2020-07-22T14:45:46.086Z] c9b1b535fdd9: Pull complete [2020-07-22T14:45:46.086Z] 138eaada9080: Verifying Checksum [2020-07-22T14:45:46.086Z] 138eaada9080: Download complete [2020-07-22T14:45:46.086Z] 0622d0fa9048: Verifying Checksum [2020-07-22T14:45:46.086Z] 0622d0fa9048: Download complete [2020-07-22T14:45:46.086Z] 094b1ea09ed8: Verifying Checksum [2020-07-22T14:45:46.086Z] 094b1ea09ed8: Download complete [2020-07-22T14:45:46.353Z] 2cc5ad85d9ab: Pull complete [2020-07-22T14:45:46.615Z] 41b27a9f41bf: Verifying Checksum [2020-07-22T14:45:46.615Z] 41b27a9f41bf: Download complete [2020-07-22T14:45:47.568Z] 756a868c4378: Pull complete [2020-07-22T14:45:47.835Z] 444b2fc9a129: Pull complete [2020-07-22T14:45:48.095Z] ea15f1150254: Pull complete [2020-07-22T14:45:52.305Z] 41b27a9f41bf: Pull complete [2020-07-22T14:45:52.305Z] 28c525ee5125: Pull complete [2020-07-22T14:45:54.231Z] 094b1ea09ed8: Pull complete [2020-07-22T14:45:54.231Z] 138eaada9080: Pull complete [2020-07-22T14:45:55.618Z] 0622d0fa9048: Pull complete [2020-07-22T14:45:55.618Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-07-22T14:45:55.618Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-22T14:45:55.618Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-07-22T14:45:55.759Z] prd-centos7-docker-4c-2g-589 does not seem to be running inside a container [2020-07-22T14:45:55.790Z] $ 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_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-07-22T14:45:57.869Z] $ docker top 20422f21b32da8b2fb9360d304f76cf92da18fa1a81be0d1fdc8da78c1385eac -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-07-22T14:45:58.126Z] provisioning config files... [2020-07-22T14:45:58.141Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config7007687438348877047tmp [Pipeline] { [Pipeline] echo [2020-07-22T14:45:58.202Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-22T14:45:58.496Z] ---> create-netrc.sh [Pipeline] echo [2020-07-22T14:45:58.507Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-22T14:45:58.804Z] ---> logs-deploy.sh [2020-07-22T14:45:58.804Z] + ARCHIVE_ARTIFACTS= [2020-07-22T14:45:58.804Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-07-22T14:45:58.804Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-07-22T14:45:58.804Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-07-22T14:45:58.804Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/master/35 [2020-07-22T14:45:58.804Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/master/35/ [2020-07-22T14:45:58.804Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/master/35 /w/workspace/edgexfoundry_device-sdk-c_master [2020-07-22T14:45:59.750Z] Archives upload complete. [2020-07-22T14:46:00.011Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/master/35 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/master/35/