Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 34c806719c07a595e60a1991047deece8ce10381 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision a8d5489117fb74ecf2babedeac9793ec80335c77 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision a8d5489117fb74ecf2babedeac9793ec80335c77 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a8d5489117fb74ecf2babedeac9793ec80335c77 # timeout=10 Commit message: "Merge pull request #176 from soda480/US6232f" > 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 https://github.com/edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-3.9-base, dockerFilePath:scripts/Dockerfile.alpine-3.9, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine-3.9 DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-3.9-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-c DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-960 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 34c806719c07a595e60a1991047deece8ce10381 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 34c806719c07a595e60a1991047deece8ce10381 # timeout=10 Commit message: "Merge pull request #260 from iain-anderson/compat-post-readings" > git rev-list --no-walk 16c2a897f1bf182c8f6ba1bddddf4975b453e4d5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-05-27T11:08:42.526Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-05-27T11:08:42.843Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-05-27T11:08:42.922Z] ========================================================= [2020-05-27T11:08:42.922Z] EdgeX Global Pipelines Version Info [2020-05-27T11:08:42.922Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-05-27T11:08:44.353Z] ------------------- [2020-05-27T11:08:44.353Z] stable info: [2020-05-27T11:08:44.353Z] ------------------- [2020-05-27T11:08:44.353Z] Commited By: Emilio Reyes emilio.reyes@intel.com [2020-05-27T11:08:44.353Z] Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d [2020-05-27T11:08:44.353Z] Message: update stable to v1.0.87 [2020-05-27T11:08:44.926Z] ------------------- [2020-05-27T11:08:44.926Z] experimental info: [2020-05-27T11:08:44.926Z] ------------------- [2020-05-27T11:08:44.926Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-05-27T11:08:44.926Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-05-27T11:08:44.926Z] Message: update experimental to v1.0.89 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-05-27T11:08:47.439Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-05-27T11:08:47.439Z] [2020-05-27T11:08:47.439Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-05-27T11:08:47.777Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-05-27T11:08:47.777Z] latest: Pulling from edgex-devops/git-semver [2020-05-27T11:08:47.777Z] 9123ac7c32f7: Pulling fs layer [2020-05-27T11:08:47.777Z] b8cc5d1170e3: Pulling fs layer [2020-05-27T11:08:47.777Z] 2924cbbf6a41: Pulling fs layer [2020-05-27T11:08:47.777Z] 93b08a4f1073: Pulling fs layer [2020-05-27T11:08:47.777Z] 93b08a4f1073: Waiting [2020-05-27T11:08:47.777Z] b8cc5d1170e3: Verifying Checksum [2020-05-27T11:08:47.777Z] b8cc5d1170e3: Download complete [2020-05-27T11:08:48.043Z] 9123ac7c32f7: Verifying Checksum [2020-05-27T11:08:48.043Z] 9123ac7c32f7: Download complete [2020-05-27T11:08:48.043Z] 2924cbbf6a41: Verifying Checksum [2020-05-27T11:08:48.043Z] 2924cbbf6a41: Download complete [2020-05-27T11:08:48.043Z] 93b08a4f1073: Verifying Checksum [2020-05-27T11:08:48.043Z] 93b08a4f1073: Download complete [2020-05-27T11:08:48.043Z] 9123ac7c32f7: Pull complete [2020-05-27T11:08:48.309Z] b8cc5d1170e3: Pull complete [2020-05-27T11:08:48.882Z] 2924cbbf6a41: Pull complete [2020-05-27T11:08:49.144Z] 93b08a4f1073: Pull complete [2020-05-27T11:08:49.144Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-05-27T11:08:49.406Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-05-27T11:08:49.579Z] prd-centos7-docker-4c-2g-960 does not seem to be running inside a container [2020-05-27T11:08:49.622Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-05-27T11:08:50.216Z] $ docker top ec98115da6f2391c838027dff4a3e5ed23ea8fd95040d5a1df666319208012d2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-05-27T11:08:50.694Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-05-27T11:08:50.694Z] [ssh-agent] Looking for ssh-agent implementation... [2020-05-27T11:08:50.900Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-05-27T11:08:50.904Z] $ docker exec ec98115da6f2391c838027dff4a3e5ed23ea8fd95040d5a1df666319208012d2 ssh-agent [2020-05-27T11:08:51.080Z] SSH_AUTH_SOCK=/tmp/ssh-Nh2QiVkYTaMH/agent.13 [2020-05-27T11:08:51.080Z] SSH_AGENT_PID=19 [2020-05-27T11:08:51.089Z] Running ssh-add (command line suppressed) [2020-05-27T11:08:51.229Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_4396668300423695250.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_4396668300423695250.key) [2020-05-27T11:08:51.276Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-05-27T11:08:51.629Z] + git describe --exact-match --tags HEAD [2020-05-27T11:08:51.629Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-05-27T11:08:51.690Z] $ docker exec --env ******** --env ******** ec98115da6f2391c838027dff4a3e5ed23ea8fd95040d5a1df666319208012d2 ssh-agent -k [2020-05-27T11:08:51.828Z] unset SSH_AUTH_SOCK; [2020-05-27T11:08:51.829Z] unset SSH_AGENT_PID; [2020-05-27T11:08:51.829Z] echo Agent pid 19 killed; [2020-05-27T11:08:51.864Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-05-27T11:08:52.019Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-05-27T11:08:52.019Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-05-27T11:08:52.126Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-05-27T11:08:52.126Z] [ssh-agent] Looking for ssh-agent implementation... [2020-05-27T11:08:52.302Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-05-27T11:08:52.307Z] $ docker exec ec98115da6f2391c838027dff4a3e5ed23ea8fd95040d5a1df666319208012d2 ssh-agent [2020-05-27T11:08:52.479Z] SSH_AUTH_SOCK=/tmp/ssh-EGRK3NROgRvP/agent.52 [2020-05-27T11:08:52.479Z] SSH_AGENT_PID=59 [2020-05-27T11:08:52.486Z] Running ssh-add (command line suppressed) [2020-05-27T11:08:52.629Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_5201782912378947533.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_5201782912378947533.key) [2020-05-27T11:08:52.678Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-05-27T11:08:53.039Z] + git semver init [2020-05-27T11:08:53.039Z] # -> Open(): unable to determine branch for HEAD [2020-05-27T11:08:53.039Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2020-05-27T11:08:53.039Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2020-05-27T11:08:53.039Z] # $SEMVER_REMOTE_NAME = origin [2020-05-27T11:08:53.039Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-05-27T11:08:53.039Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-05-27T11:08:53.039Z] # $SEMVER_BRANCH = master [2020-05-27T11:08:53.039Z] # $SEMVER_TEMP = /tmp/semver-346203040 [2020-05-27T11:08:53.039Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2020-05-27T11:08:53.612Z] # '/tmp/semver-346203040' -> '/w/workspace/edgexfoundry_device-sdk-c_master/.semver' [2020-05-27T11:08:53.612Z] # -> Force: false [2020-05-27T11:08:53.612Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [Pipeline] } [2020-05-27T11:08:53.626Z] $ docker exec --env ******** --env ******** ec98115da6f2391c838027dff4a3e5ed23ea8fd95040d5a1df666319208012d2 ssh-agent -k [2020-05-27T11:08:53.759Z] unset SSH_AUTH_SOCK; [2020-05-27T11:08:53.759Z] unset SSH_AGENT_PID; [2020-05-27T11:08:53.759Z] echo Agent pid 59 killed; [2020-05-27T11:08:53.802Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-05-27T11:08:54.383Z] + git semver [Pipeline] } [2020-05-27T11:08:54.399Z] $ docker stop --time=1 ec98115da6f2391c838027dff4a3e5ed23ea8fd95040d5a1df666319208012d2 [2020-05-27T11:08:55.849Z] $ docker rm -f ec98115da6f2391c838027dff4a3e5ed23ea8fd95040d5a1df666319208012d2 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-05-27T11:08:56.777Z] Stashed 39 file(s) [Pipeline] echo [2020-05-27T11:08:56.778Z] [edgeXSemver] initialized semver on version 1.2.1-dev.1 [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-05-27T11:09:12.184Z] Still waiting to schedule task [2020-05-27T11:09:12.184Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-960’ [2020-05-27T11:09:12.185Z] Still waiting to schedule task [2020-05-27T11:09:12.185Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-929’ is offline [2020-05-27T11:11:05.553Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-961 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] ws [2020-05-27T11:11:05.612Z] Running in /w/workspace/device-sdk-c/21 [Pipeline] { [Pipeline] checkout [2020-05-27T11:11:11.543Z] using credential edgex-jenkins-ssh [2020-05-27T11:11:11.643Z] Cloning the remote Git repository [2020-05-27T11:11:11.643Z] Cloning with configured refspecs honoured and without tags [2020-05-27T11:11:11.716Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-05-27T11:11:11.823Z] > git init /w/workspace/device-sdk-c/21 # timeout=10 [2020-05-27T11:11:11.883Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-05-27T11:11:11.884Z] > git --version # timeout=10 [2020-05-27T11:11:11.909Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-27T11:11:13.094Z] Fetching without tags [2020-05-27T11:11:12.035Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-27T11:11:12.963Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-05-27T11:11:13.017Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-27T11:11:13.067Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-05-27T11:11:13.109Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-05-27T11:11:13.110Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-27T11:11:13.122Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-27T11:11:13.538Z] Checking out Revision 34c806719c07a595e60a1991047deece8ce10381 (master) [2020-05-27T11:11:13.560Z] > git config core.sparsecheckout # timeout=10 [2020-05-27T11:11:13.589Z] > git checkout -f 34c806719c07a595e60a1991047deece8ce10381 # timeout=10 [2020-05-27T11:11:17.992Z] Commit message: "Merge pull request #260 from iain-anderson/compat-post-readings" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-05-27T11:11:19.267Z] ========================================================= [2020-05-27T11:11:19.267Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2020-05-27T11:11:19.267Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-05-27T11:11:20.377Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-3.9-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2020-05-27T11:11:21.369Z] Sending build context to Docker daemon 3.065MB [2020-05-27T11:11:21.369Z] Step 1/21 : ARG BASE=alpine:3.9 [2020-05-27T11:11:21.369Z] Step 2/21 : FROM ${BASE} as builder [2020-05-27T11:11:21.649Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2020-05-27T11:11:21.649Z] 0362ad1dd800: Pulling fs layer [2020-05-27T11:11:21.649Z] f2cdb1532d8b: Pulling fs layer [2020-05-27T11:11:21.649Z] 37ed683be191: Pulling fs layer [2020-05-27T11:11:21.649Z] f2cdb1532d8b: Download complete [2020-05-27T11:11:21.925Z] 0362ad1dd800: Verifying Checksum [2020-05-27T11:11:21.925Z] 0362ad1dd800: Download complete [2020-05-27T11:11:22.529Z] 0362ad1dd800: Pull complete [2020-05-27T11:11:22.804Z] f2cdb1532d8b: Pull complete [2020-05-27T11:11:29.522Z] 37ed683be191: Verifying Checksum [2020-05-27T11:11:29.522Z] 37ed683be191: Download complete [2020-05-27T11:11:38.851Z] Running on prd-centos7-docker-4c-2g-962 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] ws [2020-05-27T11:11:38.954Z] Running in /w/workspace/device-sdk-c/21 [Pipeline] { [Pipeline] checkout [2020-05-27T11:11:39.717Z] 37ed683be191: Pull complete [2020-05-27T11:11:39.717Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2020-05-27T11:11:39.717Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2020-05-27T11:11:39.717Z] ---> b23d30803547 [2020-05-27T11:11:39.717Z] 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-05-27T11:11:41.148Z] ---> Running in e607bf0a1dff [2020-05-27T11:11:41.705Z] using credential edgex-jenkins-ssh [2020-05-27T11:11:41.807Z] Cloning the remote Git repository [2020-05-27T11:11:41.807Z] Cloning with configured refspecs honoured and without tags [2020-05-27T11:11:42.130Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-05-27T11:11:41.606Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-05-27T11:11:41.699Z] > git init /w/workspace/device-sdk-c/21 # timeout=10 [2020-05-27T11:11:41.750Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-05-27T11:11:41.750Z] > git --version # timeout=10 [2020-05-27T11:11:41.758Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-27T11:11:41.784Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-27T11:11:42.609Z] Fetching without tags [2020-05-27T11:11:42.999Z] Checking out Revision 34c806719c07a595e60a1991047deece8ce10381 (master) [2020-05-27T11:11:43.104Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-05-27T11:11:43.376Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-05-27T11:11:42.405Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-05-27T11:11:42.414Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-27T11:11:42.430Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-05-27T11:11:42.449Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-05-27T11:11:42.449Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-27T11:11:42.455Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-27T11:11:42.876Z] > git config core.sparsecheckout # timeout=10 [2020-05-27T11:11:42.880Z] > git checkout -f 34c806719c07a595e60a1991047deece8ce10381 # timeout=10 [2020-05-27T11:11:43.647Z] (2/8) Installing libuuid (2.33-r0) [2020-05-27T11:11:43.647Z] (3/8) Installing libblkid (2.33-r0) [2020-05-27T11:11:43.647Z] (4/8) Installing libfdisk (2.33-r0) [2020-05-27T11:11:43.917Z] (5/8) Installing libmount (2.33-r0) [2020-05-27T11:11:43.917Z] (6/8) Installing libsmartcols (2.33-r0) [2020-05-27T11:11:43.917Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-05-27T11:11:44.512Z] (8/8) Installing wget (1.20.3-r0) [2020-05-27T11:11:44.512Z] Executing busybox-1.29.3-r10.trigger [2020-05-27T11:11:44.512Z] OK: 285 MiB in 83 packages [2020-05-27T11:11:45.945Z] Removing intermediate container e607bf0a1dff [2020-05-27T11:11:45.945Z] ---> c89617557cb2 [2020-05-27T11:11:45.945Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-05-27T11:11:45.945Z] ---> Running in 5d612027c86a [2020-05-27T11:11:46.218Z] Removing intermediate container 5d612027c86a [2020-05-27T11:11:46.218Z] ---> 28ea60be1f8d [2020-05-27T11:11:46.218Z] 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-05-27T11:11:46.493Z] ---> Running in ee7aee1cafe5 [2020-05-27T11:11:47.103Z] Commit message: "Merge pull request #260 from iain-anderson/compat-post-readings" [Pipeline] withEnv [2020-05-27T11:11:47.472Z] --2020-05-27 11:11:47-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-05-27T11:11:47.472Z] Resolving github.com... 140.82.112.3 [2020-05-27T11:11:47.472Z] Connecting to github.com|140.82.112.3|:443... connected. [2020-05-27T11:11:47.472Z] HTTP request sent, awaiting response... 302 Found [2020-05-27T11:11:47.472Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-05-27T11:11:47.472Z] --2020-05-27 11:11:47-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-05-27T11:11:47.472Z] Resolving codeload.github.com... 140.82.112.9 [2020-05-27T11:11:47.472Z] Connecting to codeload.github.com|140.82.112.9|:443... connected. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-05-27T11:11:47.746Z] HTTP request sent, awaiting response... 200 OK [2020-05-27T11:11:47.746Z] Length: unspecified [application/x-gzip] [2020-05-27T11:11:47.746Z] Saving to: 'STDOUT' [2020-05-27T11:11:47.746Z]  [2020-05-27T11:11:47.746Z] 0K .......... .......... .......... .......... .......... 1.35M [2020-05-27T11:11:47.746Z] 50K .......... .......... .......... .......... .......... 2.66M [2020-05-27T11:11:47.746Z] 100K .......... .......... .......... .......... .......... 12.9M [2020-05-27T11:11:47.746Z] 150K .......... .......... .......... .......... .......... 15.5M [2020-05-27T11:11:47.746Z] 200K .......... .......... .......... .......... .......... 3.09M [2020-05-27T11:11:47.746Z] 250K .......... .......... .......... .......... .......... 4.42M [2020-05-27T11:11:47.746Z] 300K .......... .......... .......... .......... .......... 4.63M [2020-05-27T11:11:47.746Z] 350K .......... .......... .......... .......... .......... 5.45M [2020-05-27T11:11:47.746Z] 400K .......... .......... .......... .......... .......... 3.74M [2020-05-27T11:11:47.746Z] 450K .......... .......... .......... .......... .......... 3.52M [2020-05-27T11:11:47.746Z] 500K .......... .......... .......... .......... .......... 7.59M [2020-05-27T11:11:47.746Z] 550K .......... .......... .......... .......... .......... 2.56M [Pipeline] echo [2020-05-27T11:11:47.911Z] ========================================================= [2020-05-27T11:11:47.911Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2020-05-27T11:11:47.911Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-05-27T11:11:48.021Z] 600K .......... .......... .......... .......... .......... 891K [2020-05-27T11:11:48.021Z] 650K .......... .......... .......... .......... .......... 2.54M [2020-05-27T11:11:48.021Z] 700K .. 357K=0.2s [2020-05-27T11:11:48.021Z] [2020-05-27T11:11:48.021Z] 2020-05-27 11:11:47 (2.83 MB/s) - written to stdout [719348] [2020-05-27T11:11:48.021Z] [2020-05-27T11:11:48.301Z] -- The C compiler identification is GNU 8.3.0 [2020-05-27T11:11:48.574Z] -- The CXX compiler identification is GNU 8.3.0 [2020-05-27T11:11:48.574Z] -- Check for working C compiler: /usr/bin/cc [2020-05-27T11:11:48.663Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-3.9-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2020-05-27T11:11:48.846Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-05-27T11:11:48.846Z] -- Detecting C compiler ABI info [2020-05-27T11:11:48.846Z] -- Detecting C compiler ABI info - done [2020-05-27T11:11:48.945Z] Sending build context to Docker daemon 3.065MB [2020-05-27T11:11:48.946Z] Step 1/21 : ARG BASE=alpine:3.9 [2020-05-27T11:11:48.946Z] Step 2/21 : FROM ${BASE} as builder [2020-05-27T11:11:48.946Z] latest: Pulling from edgex-devops/edgex-gcc-base [2020-05-27T11:11:48.946Z] e7c96db7181b: Pulling fs layer [2020-05-27T11:11:48.946Z] 4c13bbce0fe7: Pulling fs layer [2020-05-27T11:11:48.946Z] 6059c847ac2f: Pulling fs layer [2020-05-27T11:11:48.946Z] 4c13bbce0fe7: Verifying Checksum [2020-05-27T11:11:48.946Z] 4c13bbce0fe7: Download complete [2020-05-27T11:11:48.946Z] e7c96db7181b: Verifying Checksum [2020-05-27T11:11:48.946Z] e7c96db7181b: Download complete [2020-05-27T11:11:49.120Z] -- Detecting C compile features [2020-05-27T11:11:49.209Z] e7c96db7181b: Pull complete [2020-05-27T11:11:49.472Z] 4c13bbce0fe7: Pull complete [2020-05-27T11:11:49.717Z] -- Detecting C compile features - done [2020-05-27T11:11:49.717Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-05-27T11:11:49.990Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-05-27T11:11:49.990Z] -- Detecting CXX compiler ABI info [2020-05-27T11:11:50.265Z] -- Detecting CXX compiler ABI info - done [2020-05-27T11:11:50.265Z] -- Detecting CXX compile features [2020-05-27T11:11:50.419Z] 6059c847ac2f: Verifying Checksum [2020-05-27T11:11:50.419Z] 6059c847ac2f: Download complete [2020-05-27T11:11:51.697Z] -- Detecting CXX compile features - done [2020-05-27T11:11:51.697Z] -- Looking for include file endian.h [2020-05-27T11:11:51.970Z] -- Looking for include file endian.h - found [2020-05-27T11:11:51.970Z] -- Check if the system is big endian [2020-05-27T11:11:51.970Z] -- Searching 16 bit integer [2020-05-27T11:11:51.970Z] -- Looking for sys/types.h [2020-05-27T11:11:52.246Z] -- Looking for sys/types.h - found [2020-05-27T11:11:52.246Z] -- Looking for stdint.h [2020-05-27T11:11:52.520Z] -- Looking for stdint.h - found [2020-05-27T11:11:52.520Z] -- Looking for stddef.h [2020-05-27T11:11:52.792Z] -- Looking for stddef.h - found [2020-05-27T11:11:52.793Z] -- Check size of unsigned short [2020-05-27T11:11:53.067Z] -- Check size of unsigned short - done [2020-05-27T11:11:53.067Z] -- Using unsigned short [2020-05-27T11:11:53.350Z] -- Check if the system is big endian - little endian [2020-05-27T11:11:53.350Z] -- Check size of size_t [2020-05-27T11:11:53.625Z] -- Check size of size_t - done [2020-05-27T11:11:53.625Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-05-27T11:11:53.625Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-05-27T11:11:53.625Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-05-27T11:11:53.625Z] CMake did not find one. [2020-05-27T11:11:53.625Z] [2020-05-27T11:11:53.625Z] Could not find a package configuration file provided by "cJSON" with any of [2020-05-27T11:11:53.625Z] the following names: [2020-05-27T11:11:53.625Z] [2020-05-27T11:11:53.625Z] cJSONConfig.cmake [2020-05-27T11:11:53.625Z] cjson-config.cmake [2020-05-27T11:11:53.625Z] [2020-05-27T11:11:53.625Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-05-27T11:11:53.625Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-05-27T11:11:53.626Z] provides a separate development package or SDK, be sure it has been [2020-05-27T11:11:53.626Z] installed. [2020-05-27T11:11:53.626Z] [2020-05-27T11:11:53.626Z] [2020-05-27T11:11:53.626Z] -- Configuring done [2020-05-27T11:11:53.899Z] -- Generating done [2020-05-27T11:11:53.899Z] -- Build files have been written to: /tmp/cbor [2020-05-27T11:11:53.899Z] Scanning dependencies of target cbor_shared [2020-05-27T11:11:53.899Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-05-27T11:11:54.877Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-05-27T11:11:55.150Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-05-27T11:11:55.426Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-05-27T11:11:55.728Z] 6059c847ac2f: Pull complete [2020-05-27T11:11:55.728Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2020-05-27T11:11:55.728Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2020-05-27T11:11:55.728Z] ---> 5eabd8fd8ba2 [2020-05-27T11:11:55.728Z] 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-05-27T11:11:55.728Z] ---> Running in ba6c45a10e8d [2020-05-27T11:11:55.728Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-05-27T11:11:56.021Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-05-27T11:11:56.295Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-05-27T11:11:56.568Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-05-27T11:11:56.568Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-05-27T11:11:56.676Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-05-27T11:11:56.676Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-05-27T11:11:56.842Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-05-27T11:11:56.938Z] (2/8) Installing libuuid (2.33-r0) [2020-05-27T11:11:56.938Z] (3/8) Installing libblkid (2.33-r0) [2020-05-27T11:11:56.938Z] (4/8) Installing libfdisk (2.33-r0) [2020-05-27T11:11:57.114Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-05-27T11:11:57.200Z] (5/8) Installing libmount (2.33-r0) [2020-05-27T11:11:57.200Z] (6/8) Installing libsmartcols (2.33-r0) [2020-05-27T11:11:57.461Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-05-27T11:11:57.706Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-05-27T11:11:57.725Z] (8/8) Installing wget (1.20.3-r0) [2020-05-27T11:11:57.725Z] Executing busybox-1.29.3-r10.trigger [2020-05-27T11:11:57.725Z] OK: 272 MiB in 83 packages [2020-05-27T11:11:57.979Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-05-27T11:11:58.301Z] Removing intermediate container ba6c45a10e8d [2020-05-27T11:11:58.301Z] ---> 7cedbf32856d [2020-05-27T11:11:58.301Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-05-27T11:11:58.301Z] ---> Running in 3e3f9bd0c456 [2020-05-27T11:11:58.563Z] Removing intermediate container 3e3f9bd0c456 [2020-05-27T11:11:58.563Z] ---> 3b048f1ec189 [2020-05-27T11:11:58.563Z] 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-05-27T11:11:58.563Z] ---> Running in fffba23073a8 [2020-05-27T11:11:58.574Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-05-27T11:11:58.824Z] --2020-05-27 11:11:58-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-05-27T11:11:58.825Z] Resolving github.com... 140.82.112.3 [2020-05-27T11:11:58.825Z] Connecting to github.com|140.82.112.3|:443... connected. [2020-05-27T11:11:58.825Z] HTTP request sent, awaiting response... 302 Found [2020-05-27T11:11:58.825Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-05-27T11:11:58.825Z] --2020-05-27 11:11:58-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-05-27T11:11:58.825Z] Resolving codeload.github.com... 140.82.114.10 [2020-05-27T11:11:58.846Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-05-27T11:11:59.090Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2020-05-27T11:11:59.090Z] HTTP request sent, awaiting response... 200 OK [2020-05-27T11:11:59.090Z] Length: unspecified [application/x-gzip] [2020-05-27T11:11:59.090Z] Saving to: 'STDOUT' [2020-05-27T11:11:59.090Z]  [2020-05-27T11:11:59.090Z] 0K .......... .......... .......... .......... .......... 1.56M [2020-05-27T11:11:59.090Z] 50K .......... .......... .......... .......... .......... 3.06M [2020-05-27T11:11:59.090Z] 100K .......... .......... .......... .......... .......... 36.1M [2020-05-27T11:11:59.090Z] 150K .......... .......... .......... .......... .......... 3.40M [2020-05-27T11:11:59.090Z] 200K .......... .......... .......... .......... .......... 34.1M [2020-05-27T11:11:59.090Z] 250K .......... .......... .......... .......... .......... 8.60M [2020-05-27T11:11:59.090Z] 300K .......... .......... .......... .......... .......... 7.90M [2020-05-27T11:11:59.090Z] 350K .......... .......... .......... .......... .......... 10.0M [2020-05-27T11:11:59.090Z] 400K .......... .......... .......... .......... .......... 9.23M [2020-05-27T11:11:59.090Z] 450K .......... .......... .......... .......... .......... 14.9M [2020-05-27T11:11:59.090Z] 500K .......... .......... .......... .......... .......... 11.0M [2020-05-27T11:11:59.090Z] 550K .......... .......... .......... .......... .......... 3.55M [2020-05-27T11:11:59.117Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-05-27T11:11:59.117Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-05-27T11:11:59.352Z] 600K .......... .......... .......... .......... .......... 2.58M [2020-05-27T11:11:59.352Z] 650K .......... .......... .......... .......... .......... 5.48M [2020-05-27T11:11:59.352Z] 700K .. 47.6M=0.1s [2020-05-27T11:11:59.352Z] [2020-05-27T11:11:59.352Z] 2020-05-27 11:11:59 (5.05 MB/s) - written to stdout [719348] [2020-05-27T11:11:59.352Z] [2020-05-27T11:11:59.352Z] -- The C compiler identification is GNU 8.3.0 [2020-05-27T11:11:59.352Z] -- The CXX compiler identification is GNU 8.3.0 [2020-05-27T11:11:59.352Z] -- Check for working C compiler: /usr/bin/cc [2020-05-27T11:11:59.615Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-05-27T11:11:59.615Z] -- Detecting C compiler ABI info [2020-05-27T11:11:59.615Z] -- Detecting C compiler ABI info - done [2020-05-27T11:11:59.615Z] -- Detecting C compile features [2020-05-27T11:11:59.712Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-05-27T11:11:59.712Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-05-27T11:11:59.878Z] -- Detecting C compile features - done [2020-05-27T11:11:59.879Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-05-27T11:11:59.879Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-05-27T11:11:59.879Z] -- Detecting CXX compiler ABI info [2020-05-27T11:11:59.983Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-05-27T11:12:00.141Z] -- Detecting CXX compiler ABI info - done [2020-05-27T11:12:00.141Z] -- Detecting CXX compile features [2020-05-27T11:12:00.255Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-05-27T11:12:00.526Z] [ 40%] Linking C shared library libcbor.so [2020-05-27T11:12:00.526Z] [ 40%] Built target cbor_shared [2020-05-27T11:12:00.526Z] Scanning dependencies of target cbor [2020-05-27T11:12:00.526Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-05-27T11:12:00.718Z] -- Detecting CXX compile features - done [2020-05-27T11:12:00.718Z] -- Looking for include file endian.h [2020-05-27T11:12:00.718Z] -- Looking for include file endian.h - found [2020-05-27T11:12:00.718Z] -- Check if the system is big endian [2020-05-27T11:12:00.718Z] -- Searching 16 bit integer [2020-05-27T11:12:00.718Z] -- Looking for sys/types.h [2020-05-27T11:12:00.718Z] -- Looking for sys/types.h - found [2020-05-27T11:12:00.718Z] -- Looking for stdint.h [2020-05-27T11:12:00.718Z] -- Looking for stdint.h - found [2020-05-27T11:12:00.718Z] -- Looking for stddef.h [2020-05-27T11:12:00.984Z] -- Looking for stddef.h - found [2020-05-27T11:12:00.984Z] -- Check size of unsigned short [2020-05-27T11:12:00.984Z] -- Check size of unsigned short - done [2020-05-27T11:12:00.984Z] -- Using unsigned short [2020-05-27T11:12:00.984Z] -- Check if the system is big endian - little endian [2020-05-27T11:12:00.984Z] -- Check size of size_t [2020-05-27T11:12:01.248Z] -- Check size of size_t - done [2020-05-27T11:12:01.248Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-05-27T11:12:01.248Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-05-27T11:12:01.248Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-05-27T11:12:01.248Z] CMake did not find one. [2020-05-27T11:12:01.248Z] [2020-05-27T11:12:01.248Z] Could not find a package configuration file provided by "cJSON" with any of [2020-05-27T11:12:01.248Z] the following names: [2020-05-27T11:12:01.248Z] [2020-05-27T11:12:01.248Z] cJSONConfig.cmake [2020-05-27T11:12:01.248Z] cjson-config.cmake [2020-05-27T11:12:01.248Z] [2020-05-27T11:12:01.248Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-05-27T11:12:01.248Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-05-27T11:12:01.248Z] provides a separate development package or SDK, be sure it has been [2020-05-27T11:12:01.248Z] installed. [2020-05-27T11:12:01.248Z] [2020-05-27T11:12:01.248Z] [2020-05-27T11:12:01.248Z] -- Configuring done [2020-05-27T11:12:01.248Z] -- Generating done [2020-05-27T11:12:01.248Z] -- Build files have been written to: /tmp/cbor [2020-05-27T11:12:01.248Z] Scanning dependencies of target cbor_shared [2020-05-27T11:12:01.248Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-05-27T11:12:01.505Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-05-27T11:12:01.510Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-05-27T11:12:01.772Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-05-27T11:12:01.772Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-05-27T11:12:02.033Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-05-27T11:12:02.033Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-05-27T11:12:02.033Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-05-27T11:12:02.033Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-05-27T11:12:02.033Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-05-27T11:12:02.106Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-05-27T11:12:02.106Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-05-27T11:12:02.296Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-05-27T11:12:02.296Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-05-27T11:12:02.559Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-05-27T11:12:02.559Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-05-27T11:12:02.559Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-05-27T11:12:02.823Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-05-27T11:12:02.823Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-05-27T11:12:02.823Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-05-27T11:12:03.084Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-05-27T11:12:03.084Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-05-27T11:12:03.084Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-05-27T11:12:03.084Z] [ 40%] Linking C shared library libcbor.so [2020-05-27T11:12:03.347Z] [ 40%] Built target cbor_shared [2020-05-27T11:12:03.347Z] Scanning dependencies of target cbor [2020-05-27T11:12:03.347Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-05-27T11:12:03.535Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-05-27T11:12:03.535Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-05-27T11:12:03.609Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-05-27T11:12:03.609Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-05-27T11:12:03.807Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-05-27T11:12:03.807Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-05-27T11:12:03.871Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-05-27T11:12:04.078Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-05-27T11:12:04.131Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-05-27T11:12:04.131Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-05-27T11:12:04.131Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-05-27T11:12:04.131Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-05-27T11:12:04.131Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-05-27T11:12:04.349Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-05-27T11:12:04.393Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-05-27T11:12:04.661Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-05-27T11:12:04.661Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-05-27T11:12:04.661Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-05-27T11:12:04.925Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-05-27T11:12:04.925Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-05-27T11:12:04.925Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-05-27T11:12:05.191Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-05-27T11:12:05.191Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-05-27T11:12:05.191Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-05-27T11:12:05.191Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-05-27T11:12:05.324Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-05-27T11:12:05.324Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-05-27T11:12:05.467Z] [ 80%] Linking C static library libcbor.a [2020-05-27T11:12:05.467Z] [ 80%] Built target cbor [2020-05-27T11:12:05.467Z] Scanning dependencies of target create_items [2020-05-27T11:12:05.467Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-05-27T11:12:05.467Z] [ 84%] Linking C executable create_items [2020-05-27T11:12:05.467Z] [ 84%] Built target create_items [2020-05-27T11:12:05.467Z] Scanning dependencies of target readfile [2020-05-27T11:12:05.467Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-05-27T11:12:05.467Z] [ 88%] Linking C executable readfile [2020-05-27T11:12:05.467Z] [ 88%] Built target readfile [2020-05-27T11:12:05.467Z] Scanning dependencies of target streaming_parser [2020-05-27T11:12:05.734Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-05-27T11:12:05.734Z] [ 92%] Linking C executable streaming_parser [2020-05-27T11:12:05.734Z] [ 92%] Built target streaming_parser [2020-05-27T11:12:05.734Z] Scanning dependencies of target sort [2020-05-27T11:12:05.734Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-05-27T11:12:05.734Z] [ 96%] Linking C executable sort [2020-05-27T11:12:05.734Z] [ 96%] Built target sort [2020-05-27T11:12:05.734Z] Scanning dependencies of target hello [2020-05-27T11:12:05.734Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-05-27T11:12:05.734Z] [100%] Linking C executable hello [2020-05-27T11:12:05.915Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-05-27T11:12:06.003Z] [100%] Built target hello [2020-05-27T11:12:06.003Z] Install the project... [2020-05-27T11:12:06.003Z] -- Install configuration: "Release" [2020-05-27T11:12:06.003Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-05-27T11:12:06.003Z] -- Installing: /usr/local/lib64/libcbor.a [2020-05-27T11:12:06.003Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-05-27T11:12:06.003Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-05-27T11:12:06.003Z] -- Installing: /usr/local/lib64/libcbor.so [2020-05-27T11:12:06.003Z] -- Up-to-date: /usr/local/include/cbor [2020-05-27T11:12:06.003Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-05-27T11:12:06.003Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-05-27T11:12:06.003Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-05-27T11:12:06.003Z] -- Installing: /usr/local/include/cbor/common.h [2020-05-27T11:12:06.003Z] -- Installing: /usr/local/include/cbor/data.h [2020-05-27T11:12:06.003Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-05-27T11:12:06.003Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-05-27T11:12:06.003Z] -- Installing: /usr/local/include/cbor/internal [2020-05-27T11:12:06.003Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-05-27T11:12:06.003Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-05-27T11:12:06.003Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-05-27T11:12:06.003Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-05-27T11:12:06.003Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-05-27T11:12:06.003Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-05-27T11:12:06.003Z] -- Installing: /usr/local/include/cbor/ints.h [2020-05-27T11:12:06.003Z] -- Installing: /usr/local/include/cbor/maps.h [2020-05-27T11:12:06.003Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-05-27T11:12:06.003Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-05-27T11:12:06.003Z] -- Installing: /usr/local/include/cbor/strings.h [2020-05-27T11:12:06.003Z] -- Installing: /usr/local/include/cbor/tags.h [2020-05-27T11:12:06.003Z] -- Installing: /usr/local/include/cbor.h [2020-05-27T11:12:06.003Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-05-27T11:12:06.188Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-05-27T11:12:06.459Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-05-27T11:12:06.731Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-05-27T11:12:06.967Z] Removing intermediate container fffba23073a8 [2020-05-27T11:12:06.967Z] ---> d649feef9b67 [2020-05-27T11:12:06.967Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-05-27T11:12:06.967Z] ---> Running in 7a7b2e65430e [2020-05-27T11:12:07.002Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-05-27T11:12:07.276Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-05-27T11:12:07.561Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-05-27T11:12:07.834Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-05-27T11:12:07.834Z] [ 80%] Linking C static library libcbor.a [2020-05-27T11:12:07.910Z] Removing intermediate container 7a7b2e65430e [2020-05-27T11:12:07.910Z] ---> 99e1fbf48047 [2020-05-27T11:12:07.910Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-05-27T11:12:07.910Z] ---> 870793ab22b3 [2020-05-27T11:12:07.910Z] Step 8/21 : COPY src /tmp/sdk/src [2020-05-27T11:12:08.106Z] [ 80%] Built target cbor [2020-05-27T11:12:08.106Z] Scanning dependencies of target create_items [2020-05-27T11:12:08.106Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-05-27T11:12:08.378Z] [ 84%] Linking C executable create_items [2020-05-27T11:12:08.378Z] [ 84%] Built target create_items [2020-05-27T11:12:08.378Z] Scanning dependencies of target readfile [2020-05-27T11:12:08.378Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-05-27T11:12:08.485Z] ---> d0df93db24f7 [2020-05-27T11:12:08.486Z] Step 9/21 : COPY include /tmp/sdk/include [2020-05-27T11:12:08.486Z] ---> 957c784bd487 [2020-05-27T11:12:08.486Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-05-27T11:12:08.653Z] [ 88%] Linking C executable readfile [2020-05-27T11:12:08.653Z] [ 88%] Built target readfile [2020-05-27T11:12:08.653Z] Scanning dependencies of target streaming_parser [2020-05-27T11:12:08.653Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-05-27T11:12:08.749Z] ---> f90661aab86e [2020-05-27T11:12:08.749Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-05-27T11:12:08.924Z] [ 92%] Linking C executable streaming_parser [2020-05-27T11:12:08.924Z] [ 92%] Built target streaming_parser [2020-05-27T11:12:08.924Z] Scanning dependencies of target sort [2020-05-27T11:12:09.009Z] ---> 75388ca06407 [2020-05-27T11:12:09.009Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-05-27T11:12:09.009Z] ---> 3e6a2cdeb6e1 [2020-05-27T11:12:09.009Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-05-27T11:12:09.196Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-05-27T11:12:09.196Z] [ 96%] Linking C executable sort [2020-05-27T11:12:09.269Z] ---> Running in f7c90772cd86 [2020-05-27T11:12:09.468Z] [ 96%] Built target sort [2020-05-27T11:12:09.468Z] Scanning dependencies of target hello [2020-05-27T11:12:09.468Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-05-27T11:12:09.468Z] [100%] Linking C executable hello [2020-05-27T11:12:09.535Z] + CPPCHECK=false [2020-05-27T11:12:09.535Z] + DOCGEN=false [2020-05-27T11:12:09.535Z] + TOMLVER=SDK-0.2 [2020-05-27T11:12:09.535Z] + CUTILVER=1.0.4 [2020-05-27T11:12:09.535Z] + '[' 0 -gt 0 ] [2020-05-27T11:12:09.535Z] + readlink -f ./scripts/build.sh [2020-05-27T11:12:09.535Z] + dirname /tmp/sdk/scripts/build.sh [2020-05-27T11:12:09.535Z] + dirname /tmp/sdk/scripts [2020-05-27T11:12:09.535Z] + ROOT=/tmp/sdk [2020-05-27T11:12:09.535Z] + cd /tmp/sdk [2020-05-27T11:12:09.535Z] + '[' '!' -d deps ] [2020-05-27T11:12:09.535Z] + mkdir deps [2020-05-27T11:12:09.535Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-05-27T11:12:09.536Z] + tar -C deps -z -x -f - [2020-05-27T11:12:09.536Z] --2020-05-27 11:12:09-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-05-27T11:12:09.536Z] Resolving github.com... 140.82.112.3 [2020-05-27T11:12:09.536Z] Connecting to github.com|140.82.112.3|:443... connected. [2020-05-27T11:12:09.740Z] [100%] Built target hello [2020-05-27T11:12:09.740Z] Install the project... [2020-05-27T11:12:09.740Z] -- Install configuration: "Release" [2020-05-27T11:12:09.740Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-05-27T11:12:09.740Z] -- Installing: /usr/local/lib64/libcbor.a [2020-05-27T11:12:09.740Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-05-27T11:12:09.740Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-05-27T11:12:09.740Z] -- Installing: /usr/local/lib64/libcbor.so [2020-05-27T11:12:09.740Z] -- Up-to-date: /usr/local/include/cbor [2020-05-27T11:12:09.740Z] -- Installing: /usr/local/include/cbor/common.h [2020-05-27T11:12:09.740Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-05-27T11:12:09.740Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-05-27T11:12:09.740Z] -- Installing: /usr/local/include/cbor/maps.h [2020-05-27T11:12:09.740Z] -- Installing: /usr/local/include/cbor/strings.h [2020-05-27T11:12:09.740Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-05-27T11:12:09.740Z] -- Installing: /usr/local/include/cbor/internal [2020-05-27T11:12:09.740Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-05-27T11:12:09.740Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-05-27T11:12:09.740Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-05-27T11:12:09.740Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-05-27T11:12:09.740Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-05-27T11:12:09.740Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-05-27T11:12:09.740Z] -- Installing: /usr/local/include/cbor/data.h [2020-05-27T11:12:09.740Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-05-27T11:12:09.740Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-05-27T11:12:09.740Z] -- Installing: /usr/local/include/cbor/tags.h [2020-05-27T11:12:09.740Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-05-27T11:12:09.740Z] -- Installing: /usr/local/include/cbor/ints.h [2020-05-27T11:12:09.740Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-05-27T11:12:09.740Z] -- Installing: /usr/local/include/cbor.h [2020-05-27T11:12:09.740Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-05-27T11:12:09.796Z] HTTP request sent, awaiting response... 302 Found [2020-05-27T11:12:09.796Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-05-27T11:12:09.796Z] --2020-05-27 11:12:09-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-05-27T11:12:09.796Z] Resolving codeload.github.com... 140.82.114.10 [2020-05-27T11:12:09.796Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2020-05-27T11:12:09.796Z] HTTP request sent, awaiting response... 200 OK [2020-05-27T11:12:09.796Z] Length: unspecified [application/x-gzip] [2020-05-27T11:12:09.796Z] Saving to: 'STDOUT' [2020-05-27T11:12:09.796Z] [2020-05-27T11:12:09.796Z] 0K .......... ......  1.07M=0.01s [2020-05-27T11:12:09.796Z] [2020-05-27T11:12:09.796Z] 2020-05-27 11:12:09 (1.07 MB/s) - written to stdout [16451] [2020-05-27T11:12:09.796Z] [2020-05-27T11:12:09.796Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-05-27T11:12:09.796Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-05-27T11:12:09.796Z] + tar -C deps -z -x -f - [2020-05-27T11:12:09.796Z] --2020-05-27 11:12:09-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-05-27T11:12:09.796Z] Resolving github.com... 140.82.112.3 [2020-05-27T11:12:10.058Z] Connecting to github.com|140.82.112.3|:443... connected. [2020-05-27T11:12:10.058Z] HTTP request sent, awaiting response... 302 Found [2020-05-27T11:12:10.058Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] [2020-05-27T11:12:10.058Z] --2020-05-27 11:12:09-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [2020-05-27T11:12:10.058Z] Resolving codeload.github.com... 140.82.114.10 [2020-05-27T11:12:10.058Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2020-05-27T11:12:10.319Z] HTTP request sent, awaiting response... 200 OK [2020-05-27T11:12:10.319Z] Length: unspecified [application/x-gzip] [2020-05-27T11:12:10.319Z] Saving to: 'STDOUT' [2020-05-27T11:12:10.319Z] [2020-05-27T11:12:10.319Z] 0K .......... .......... .......... .......... .......... 1.61M [2020-05-27T11:12:10.319Z] 50K .......... .......... .......... .......... .......... 3.25M [2020-05-27T11:12:10.319Z] 100K .......... .......... .......... .......... .......... 46.1M [2020-05-27T11:12:10.319Z] 150K ........ 54.0M=0.05s [2020-05-27T11:12:10.319Z] [2020-05-27T11:12:10.319Z] 2020-05-27 11:12:10 (3.33 MB/s) - written to stdout [162267] [2020-05-27T11:12:10.319Z] [2020-05-27T11:12:10.319Z] + mkdir -p src/c/iot [2020-05-27T11:12:10.319Z] + cp deps/iotech-c-utils-1.0.4/src/c/base64.c deps/iotech-c-utils-1.0.4/src/c/component.c deps/iotech-c-utils-1.0.4/src/c/container.c deps/iotech-c-utils-1.0.4/src/c/data.c deps/iotech-c-utils-1.0.4/src/c/hash.c deps/iotech-c-utils-1.0.4/src/c/iot.c deps/iotech-c-utils-1.0.4/src/c/json.c deps/iotech-c-utils-1.0.4/src/c/logger.c deps/iotech-c-utils-1.0.4/src/c/os.c deps/iotech-c-utils-1.0.4/src/c/scheduler.c deps/iotech-c-utils-1.0.4/src/c/thread.c deps/iotech-c-utils-1.0.4/src/c/threadpool.c deps/iotech-c-utils-1.0.4/src/c/time.c src/c/iot [2020-05-27T11:12:10.319Z] + mkdir -p include/iot [2020-05-27T11:12:10.319Z] + cp deps/iotech-c-utils-1.0.4/include/iot/base64.h deps/iotech-c-utils-1.0.4/include/iot/component.h deps/iotech-c-utils-1.0.4/include/iot/container.h deps/iotech-c-utils-1.0.4/include/iot/data.h deps/iotech-c-utils-1.0.4/include/iot/hash.h deps/iotech-c-utils-1.0.4/include/iot/iot.h deps/iotech-c-utils-1.0.4/include/iot/json.h deps/iotech-c-utils-1.0.4/include/iot/logger.h deps/iotech-c-utils-1.0.4/include/iot/os.h deps/iotech-c-utils-1.0.4/include/iot/scheduler.h deps/iotech-c-utils-1.0.4/include/iot/thread.h deps/iotech-c-utils-1.0.4/include/iot/threadpool.h deps/iotech-c-utils-1.0.4/include/iot/time.h deps/iotech-c-utils-1.0.4/include/iot/typecode.h include/iot [2020-05-27T11:12:10.319Z] + mkdir -p include/iot/os [2020-05-27T11:12:10.319Z] + cp deps/iotech-c-utils-1.0.4/include/iot/os/linux.h deps/iotech-c-utils-1.0.4/include/iot/os/zephyr.h include/iot/os [2020-05-27T11:12:10.319Z] + mkdir -p /tmp/sdk/build/release [2020-05-27T11:12:10.319Z] + cd /tmp/sdk/build/release [2020-05-27T11:12:10.319Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-05-27T11:12:10.319Z] -- The C compiler identification is GNU 8.3.0 [2020-05-27T11:12:10.319Z] -- Check for working C compiler: /usr/bin/cc [2020-05-27T11:12:10.580Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-05-27T11:12:10.580Z] -- Detecting C compiler ABI info [2020-05-27T11:12:10.580Z] -- Detecting C compiler ABI info - done [2020-05-27T11:12:10.580Z] -- Detecting C compile features [2020-05-27T11:12:10.843Z] -- Detecting C compile features - done [2020-05-27T11:12:10.843Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-05-27T11:12:10.843Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-05-27T11:12:10.843Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-05-27T11:12:10.843Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-05-27T11:12:10.843Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-05-27T11:12:10.843Z] -- C SDK 1.2.1-dev.1 for Linux [2020-05-27T11:12:10.843Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-05-27T11:12:10.843Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-05-27T11:12:10.843Z] -- Found Curses: /usr/lib/libcurses.so [2020-05-27T11:12:10.843Z] -- Configuring done [2020-05-27T11:12:11.104Z] -- Generating done [2020-05-27T11:12:11.104Z] -- Build files have been written to: /tmp/sdk/build/release [2020-05-27T11:12:11.104Z] + make [2020-05-27T11:12:11.104Z] + tee release.log [2020-05-27T11:12:11.104Z] Scanning dependencies of target csdk [2020-05-27T11:12:11.104Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-05-27T11:12:11.365Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-05-27T11:12:11.365Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-05-27T11:12:11.937Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-05-27T11:12:11.937Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-05-27T11:12:12.203Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-05-27T11:12:12.370Z] Removing intermediate container ee7aee1cafe5 [2020-05-27T11:12:12.370Z] ---> d7522f03424a [2020-05-27T11:12:12.370Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-05-27T11:12:12.370Z] ---> Running in 0ab0fa736bb3 [2020-05-27T11:12:12.467Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-05-27T11:12:12.728Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-05-27T11:12:12.989Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-05-27T11:12:13.255Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-05-27T11:12:13.255Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-05-27T11:12:13.517Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-05-27T11:12:13.517Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-05-27T11:12:13.517Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-05-27T11:12:14.346Z] Removing intermediate container 0ab0fa736bb3 [2020-05-27T11:12:14.346Z] ---> fa4fe9dbd1bf [2020-05-27T11:12:14.346Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-05-27T11:12:14.461Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-05-27T11:12:14.462Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-05-27T11:12:14.462Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-05-27T11:12:14.619Z] ---> 505cd19edccf [2020-05-27T11:12:14.619Z] Step 8/21 : COPY src /tmp/sdk/src [2020-05-27T11:12:14.723Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-05-27T11:12:15.213Z] ---> 2c8035dd49be [2020-05-27T11:12:15.213Z] Step 9/21 : COPY include /tmp/sdk/include [2020-05-27T11:12:15.305Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-05-27T11:12:15.305Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-05-27T11:12:15.305Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-05-27T11:12:15.567Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-05-27T11:12:15.807Z] ---> 43fa59042ccb [2020-05-27T11:12:15.807Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-05-27T11:12:15.828Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-05-27T11:12:15.828Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-05-27T11:12:15.828Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-05-27T11:12:16.089Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-05-27T11:12:16.089Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-05-27T11:12:16.350Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-05-27T11:12:16.350Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-05-27T11:12:16.402Z] ---> 9e415c027c9d [2020-05-27T11:12:16.402Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-05-27T11:12:16.612Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-05-27T11:12:16.612Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-05-27T11:12:16.996Z] ---> 6b05e2644012 [2020-05-27T11:12:16.996Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-05-27T11:12:17.593Z] ---> 439af65f1af4 [2020-05-27T11:12:17.593Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-05-27T11:12:17.593Z] ---> Running in e5964dda08f5 [2020-05-27T11:12:17.998Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-05-27T11:12:17.998Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-05-27T11:12:17.998Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-05-27T11:12:18.259Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-05-27T11:12:18.570Z] + CPPCHECK=false [2020-05-27T11:12:18.571Z] + DOCGEN=false [2020-05-27T11:12:18.571Z] + TOMLVER=SDK-0.2 [2020-05-27T11:12:18.571Z] + CUTILVER=1.0.4 [2020-05-27T11:12:18.571Z] + '[' 0 -gt 0 ] [2020-05-27T11:12:18.571Z] + readlink -f ./scripts/build.sh [2020-05-27T11:12:18.571Z] + dirname /tmp/sdk/scripts/build.sh [2020-05-27T11:12:18.571Z] + dirname /tmp/sdk/scripts [2020-05-27T11:12:18.571Z] + ROOT=/tmp/sdk [2020-05-27T11:12:18.571Z] + cd /tmp/sdk [2020-05-27T11:12:18.571Z] + '[' '!' -d deps ] [2020-05-27T11:12:18.571Z] + mkdir deps [2020-05-27T11:12:18.571Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-05-27T11:12:18.571Z] + tar -C deps -z -x -f - [2020-05-27T11:12:18.571Z] --2020-05-27 11:12:18-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-05-27T11:12:18.571Z] Resolving github.com... 140.82.112.3 [2020-05-27T11:12:18.571Z] Connecting to github.com|140.82.112.3|:443... connected. [2020-05-27T11:12:18.571Z] HTTP request sent, awaiting response... 302 Found [2020-05-27T11:12:18.571Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-05-27T11:12:18.571Z] --2020-05-27 11:12:18-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-05-27T11:12:18.571Z] Resolving codeload.github.com... 140.82.112.9 [2020-05-27T11:12:18.571Z] Connecting to codeload.github.com|140.82.112.9|:443... connected. [2020-05-27T11:12:18.571Z] HTTP request sent, awaiting response... 200 OK [2020-05-27T11:12:18.571Z] Length: 16451 (16K) [application/x-gzip] [2020-05-27T11:12:18.571Z] Saving to: 'STDOUT' [2020-05-27T11:12:18.571Z] [2020-05-27T11:12:18.834Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-05-27T11:12:18.842Z] 0K .......... ......   100% 1.04M=0.02s [2020-05-27T11:12:18.842Z] [2020-05-27T11:12:18.842Z] 2020-05-27 11:12:18 (1.04 MB/s) - written to stdout [16451/16451] [2020-05-27T11:12:18.842Z] [2020-05-27T11:12:18.842Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-05-27T11:12:18.842Z] + + tarwget -C -O deps - -z https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-05-27T11:12:18.842Z] -x -f - [2020-05-27T11:12:18.842Z] --2020-05-27 11:12:18-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-05-27T11:12:18.842Z] Resolving github.com... 140.82.113.3 [2020-05-27T11:12:18.842Z] Connecting to github.com|140.82.113.3|:443... connected. [2020-05-27T11:12:18.842Z] HTTP request sent, awaiting response... 302 Found [2020-05-27T11:12:18.842Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] [2020-05-27T11:12:18.842Z] --2020-05-27 11:12:18-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [2020-05-27T11:12:19.096Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-05-27T11:12:19.112Z] Resolving codeload.github.com... 140.82.112.10 [2020-05-27T11:12:19.112Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2020-05-27T11:12:19.112Z] HTTP request sent, awaiting response... 200 OK [2020-05-27T11:12:19.112Z] Length: 162267 (158K) [application/x-gzip] [2020-05-27T11:12:19.112Z] Saving to: 'STDOUT' [2020-05-27T11:12:19.112Z]  [2020-05-27T11:12:19.112Z] 0K .......... .......... .......... .......... .......... 31% 1.28M 0s [2020-05-27T11:12:19.112Z] 50K .......... .......... .......... .......... .......... 63% 2.69M 0s [2020-05-27T11:12:19.112Z] 100K .......... .......... .......... .......... .......... 94% 16.1M 0s [2020-05-27T11:12:19.113Z] 150K ........ 100% 16.2M=0.06s [2020-05-27T11:12:19.113Z] [2020-05-27T11:12:19.113Z] 2020-05-27 11:12:18 (2.59 MB/s) - written to stdout [162267/162267] [2020-05-27T11:12:19.113Z] [2020-05-27T11:12:19.113Z] + mkdir -p src/c/iot [2020-05-27T11:12:19.113Z] + cp deps/iotech-c-utils-1.0.4/src/c/base64.c deps/iotech-c-utils-1.0.4/src/c/component.c deps/iotech-c-utils-1.0.4/src/c/container.c deps/iotech-c-utils-1.0.4/src/c/data.c deps/iotech-c-utils-1.0.4/src/c/hash.c deps/iotech-c-utils-1.0.4/src/c/iot.c deps/iotech-c-utils-1.0.4/src/c/json.c deps/iotech-c-utils-1.0.4/src/c/logger.c deps/iotech-c-utils-1.0.4/src/c/os.c deps/iotech-c-utils-1.0.4/src/c/scheduler.c deps/iotech-c-utils-1.0.4/src/c/thread.c deps/iotech-c-utils-1.0.4/src/c/threadpool.c deps/iotech-c-utils-1.0.4/src/c/time.c src/c/iot [2020-05-27T11:12:19.113Z] + mkdir -p include/iot [2020-05-27T11:12:19.113Z] + cp deps/iotech-c-utils-1.0.4/include/iot/base64.h deps/iotech-c-utils-1.0.4/include/iot/component.h deps/iotech-c-utils-1.0.4/include/iot/container.h deps/iotech-c-utils-1.0.4/include/iot/data.h deps/iotech-c-utils-1.0.4/include/iot/hash.h deps/iotech-c-utils-1.0.4/include/iot/iot.h deps/iotech-c-utils-1.0.4/include/iot/json.h deps/iotech-c-utils-1.0.4/include/iot/logger.h deps/iotech-c-utils-1.0.4/include/iot/os.h deps/iotech-c-utils-1.0.4/include/iot/scheduler.h deps/iotech-c-utils-1.0.4/include/iot/thread.h deps/iotech-c-utils-1.0.4/include/iot/threadpool.h deps/iotech-c-utils-1.0.4/include/iot/time.h deps/iotech-c-utils-1.0.4/include/iot/typecode.h include/iot [2020-05-27T11:12:19.113Z] + mkdir -p include/iot/os [2020-05-27T11:12:19.113Z] + cp deps/iotech-c-utils-1.0.4/include/iot/os/linux.h deps/iotech-c-utils-1.0.4/include/iot/os/zephyr.h include/iot/os [2020-05-27T11:12:19.113Z] + mkdir -p /tmp/sdk/build/release [2020-05-27T11:12:19.113Z] + cd /tmp/sdk/build/release [2020-05-27T11:12:19.113Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-05-27T11:12:19.382Z] -- The C compiler identification is GNU 8.3.0 [2020-05-27T11:12:19.382Z] -- Check for working C compiler: /usr/bin/cc [2020-05-27T11:12:19.653Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-05-27T11:12:19.653Z] -- Detecting C compiler ABI info [2020-05-27T11:12:19.923Z] -- Detecting C compiler ABI info - done [2020-05-27T11:12:19.923Z] -- Detecting C compile features [2020-05-27T11:12:20.039Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-05-27T11:12:20.039Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-05-27T11:12:20.303Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-05-27T11:12:20.568Z] [ 65%] Linking C shared library libcsdk.so [2020-05-27T11:12:20.568Z] [ 65%] Built target csdk [2020-05-27T11:12:20.568Z] Scanning dependencies of target template [2020-05-27T11:12:20.568Z] [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-05-27T11:12:20.829Z] [ 68%] Linking C executable template [2020-05-27T11:12:20.829Z] [ 68%] Built target template [2020-05-27T11:12:20.829Z] Scanning dependencies of target device-counter [2020-05-27T11:12:20.829Z] [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-05-27T11:12:20.913Z] -- Detecting C compile features - done [2020-05-27T11:12:20.913Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-05-27T11:12:20.913Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-05-27T11:12:20.913Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-05-27T11:12:20.913Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-05-27T11:12:20.913Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-05-27T11:12:20.913Z] -- C SDK 1.2.1-dev.1 for Linux [2020-05-27T11:12:20.913Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-05-27T11:12:20.913Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-05-27T11:12:21.093Z] [ 71%] Linking C executable device-counter [2020-05-27T11:12:21.093Z] [ 71%] Built target device-counter [2020-05-27T11:12:21.093Z] Scanning dependencies of target device-random [2020-05-27T11:12:21.093Z] [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-05-27T11:12:21.093Z] [ 74%] Linking C executable device-random [2020-05-27T11:12:21.188Z] -- Found Curses: /usr/lib/libcurses.so [2020-05-27T11:12:21.188Z] -- Configuring done [2020-05-27T11:12:21.358Z] [ 74%] Built target device-random [2020-05-27T11:12:21.358Z] Scanning dependencies of target device-gyro [2020-05-27T11:12:21.358Z] [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-05-27T11:12:21.358Z] [ 77%] Linking C executable device-gyro [2020-05-27T11:12:21.459Z] -- Generating done [2020-05-27T11:12:21.459Z] -- Build files have been written to: /tmp/sdk/build/release [2020-05-27T11:12:21.459Z] + make [2020-05-27T11:12:21.459Z] + tee release.log [2020-05-27T11:12:21.620Z] [ 77%] Built target device-gyro [2020-05-27T11:12:21.620Z] Scanning dependencies of target template-discovery [2020-05-27T11:12:21.620Z] [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-05-27T11:12:21.620Z] [ 80%] Linking C executable template-discovery [2020-05-27T11:12:21.731Z] Scanning dependencies of target csdk [2020-05-27T11:12:21.731Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-05-27T11:12:21.883Z] [ 80%] Built target template-discovery [2020-05-27T11:12:21.883Z] Scanning dependencies of target device-terminal [2020-05-27T11:12:21.883Z] [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-05-27T11:12:21.883Z] [ 84%] Linking C executable device-terminal [2020-05-27T11:12:22.145Z] [ 84%] Built target device-terminal [2020-05-27T11:12:22.145Z] Scanning dependencies of target template2 [2020-05-27T11:12:22.145Z] [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-05-27T11:12:22.145Z] [ 87%] Linking C executable template2 [2020-05-27T11:12:22.145Z] [ 87%] Built target template2 [2020-05-27T11:12:22.323Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-05-27T11:12:22.406Z] Scanning dependencies of target device-counterv2 [2020-05-27T11:12:22.406Z] [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-05-27T11:12:22.406Z] [ 90%] Linking C executable device-counterv2 [2020-05-27T11:12:22.406Z] [ 90%] Built target device-counterv2 [2020-05-27T11:12:22.406Z] Scanning dependencies of target device-gyrov2 [2020-05-27T11:12:22.406Z] [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o [2020-05-27T11:12:22.669Z] [ 93%] Linking C executable device-gyrov2 [2020-05-27T11:12:22.669Z] [ 93%] Built target device-gyrov2 [2020-05-27T11:12:22.669Z] Scanning dependencies of target device-randomv2 [2020-05-27T11:12:22.669Z] [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-05-27T11:12:22.918Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-05-27T11:12:22.931Z] [ 96%] Linking C executable device-randomv2 [2020-05-27T11:12:22.931Z] [ 96%] Built target device-randomv2 [2020-05-27T11:12:22.931Z] Scanning dependencies of target device-terminalv2 [2020-05-27T11:12:22.931Z] [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o [2020-05-27T11:12:23.191Z] [100%] Linking C executable device-terminalv2 [2020-05-27T11:12:23.192Z] [100%] Built target device-terminalv2 [2020-05-27T11:12:23.192Z] + make package [2020-05-27T11:12:23.192Z] + tee -a release.log [2020-05-27T11:12:23.192Z] [ 65%] Built target csdk [2020-05-27T11:12:23.192Z] [ 68%] Built target template [2020-05-27T11:12:23.192Z] [ 71%] Built target device-counter [2020-05-27T11:12:23.192Z] [ 74%] Built target device-random [2020-05-27T11:12:23.192Z] [ 77%] Built target device-gyro [2020-05-27T11:12:23.452Z] [ 80%] Built target template-discovery [2020-05-27T11:12:23.452Z] [ 84%] Built target device-terminal [2020-05-27T11:12:23.452Z] [ 87%] Built target template2 [2020-05-27T11:12:23.452Z] [ 90%] Built target device-counterv2 [2020-05-27T11:12:23.452Z] [ 93%] Built target device-gyrov2 [2020-05-27T11:12:23.452Z] [ 96%] Built target device-randomv2 [2020-05-27T11:12:23.453Z] [100%] Built target device-terminalv2 [2020-05-27T11:12:23.453Z] Run CPack packaging tool... [2020-05-27T11:12:23.453Z] CPack: Create package using TGZ [2020-05-27T11:12:23.453Z] CPack: Install projects [2020-05-27T11:12:23.453Z] CPack: - Run preinstall target for: Csdk [2020-05-27T11:12:23.714Z] CPack: - Install project: Csdk [2020-05-27T11:12:23.715Z] CPack: Create package [2020-05-27T11:12:23.715Z] CPack: - package: /tmp/sdk/build/release/csdk-1.2.1-dev.1.tar.gz generated. [2020-05-27T11:12:23.715Z] + '[' false '=' true ] [2020-05-27T11:12:23.715Z] + '[' false '=' true ] [2020-05-27T11:12:23.715Z] + mkdir -p /tmp/sdk/build/debug [2020-05-27T11:12:23.715Z] + cd /tmp/sdk/build/debug [2020-05-27T11:12:23.715Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-05-27T11:12:23.977Z] -- The C compiler identification is GNU 8.3.0 [2020-05-27T11:12:23.977Z] -- Check for working C compiler: /usr/bin/cc [2020-05-27T11:12:23.977Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-05-27T11:12:23.977Z] -- Detecting C compiler ABI info [2020-05-27T11:12:23.977Z] -- Detecting C compiler ABI info - done [2020-05-27T11:12:23.977Z] -- Detecting C compile features [2020-05-27T11:12:24.238Z] -- Detecting C compile features - done [2020-05-27T11:12:24.238Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-05-27T11:12:24.238Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-05-27T11:12:24.238Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-05-27T11:12:24.238Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-05-27T11:12:24.239Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-05-27T11:12:24.239Z] -- C SDK 1.2.1-dev.1 for Linux [2020-05-27T11:12:24.239Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-05-27T11:12:24.341Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-05-27T11:12:24.501Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-05-27T11:12:24.501Z] -- Found Curses: /usr/lib/libcurses.so [2020-05-27T11:12:24.501Z] -- Configuring done [2020-05-27T11:12:24.501Z] -- Generating done [2020-05-27T11:12:24.501Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-05-27T11:12:24.501Z] + make [2020-05-27T11:12:24.501Z] + tee debug.log [2020-05-27T11:12:24.501Z] Scanning dependencies of target csdk [2020-05-27T11:12:24.501Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-05-27T11:12:24.764Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-05-27T11:12:24.764Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-05-27T11:12:24.931Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-05-27T11:12:25.030Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-05-27T11:12:25.031Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-05-27T11:12:25.031Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-05-27T11:12:25.202Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-05-27T11:12:25.296Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-05-27T11:12:25.296Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-05-27T11:12:25.296Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-05-27T11:12:25.557Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-05-27T11:12:25.557Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-05-27T11:12:25.557Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-05-27T11:12:25.819Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-05-27T11:12:25.819Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-05-27T11:12:26.081Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-05-27T11:12:26.081Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-05-27T11:12:26.081Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-05-27T11:12:26.172Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-05-27T11:12:26.342Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-05-27T11:12:26.342Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-05-27T11:12:26.608Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-05-27T11:12:26.608Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-05-27T11:12:26.608Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-05-27T11:12:26.608Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-05-27T11:12:26.608Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-05-27T11:12:26.870Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-05-27T11:12:26.870Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-05-27T11:12:26.870Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-05-27T11:12:26.870Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-05-27T11:12:27.131Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-05-27T11:12:27.131Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-05-27T11:12:27.131Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-05-27T11:12:27.393Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-05-27T11:12:27.655Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-05-27T11:12:27.655Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-05-27T11:12:27.655Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-05-27T11:12:27.917Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-05-27T11:12:28.144Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-05-27T11:12:28.144Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-05-27T11:12:28.179Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-05-27T11:12:28.447Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-05-27T11:12:28.447Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-05-27T11:12:28.447Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-05-27T11:12:28.739Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-05-27T11:12:29.018Z] [ 65%] Linking C shared library libcsdk.so [2020-05-27T11:12:29.279Z] [ 65%] Built target csdk [2020-05-27T11:12:29.279Z] Scanning dependencies of target template [2020-05-27T11:12:29.279Z] [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-05-27T11:12:29.279Z] [ 68%] Linking C executable template [2020-05-27T11:12:29.333Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-05-27T11:12:29.540Z] [ 68%] Built target template [2020-05-27T11:12:29.540Z] Scanning dependencies of target device-counter [2020-05-27T11:12:29.604Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-05-27T11:12:29.802Z] [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-05-27T11:12:29.802Z] [ 71%] Linking C executable device-counter [2020-05-27T11:12:29.802Z] [ 71%] Built target device-counter [2020-05-27T11:12:29.802Z] Scanning dependencies of target device-random [2020-05-27T11:12:29.802Z] [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-05-27T11:12:29.802Z] [ 74%] Linking C executable device-random [2020-05-27T11:12:29.876Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-05-27T11:12:30.062Z] [ 74%] Built target device-random [2020-05-27T11:12:30.062Z] Scanning dependencies of target device-gyro [2020-05-27T11:12:30.062Z] [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-05-27T11:12:30.062Z] [ 77%] Linking C executable device-gyro [2020-05-27T11:12:30.062Z] [ 77%] Built target device-gyro [2020-05-27T11:12:30.062Z] Scanning dependencies of target template-discovery [2020-05-27T11:12:30.062Z] [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-05-27T11:12:30.148Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-05-27T11:12:30.325Z] [ 80%] Linking C executable template-discovery [2020-05-27T11:12:30.325Z] [ 80%] Built target template-discovery [2020-05-27T11:12:30.325Z] Scanning dependencies of target device-terminal [2020-05-27T11:12:30.325Z] [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-05-27T11:12:30.325Z] [ 84%] Linking C executable device-terminal [2020-05-27T11:12:30.585Z] [ 84%] Built target device-terminal [2020-05-27T11:12:30.585Z] Scanning dependencies of target template2 [2020-05-27T11:12:30.585Z] [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-05-27T11:12:30.585Z] [ 87%] Linking C executable template2 [2020-05-27T11:12:30.585Z] [ 87%] Built target template2 [2020-05-27T11:12:30.585Z] Scanning dependencies of target device-counterv2 [2020-05-27T11:12:30.585Z] [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-05-27T11:12:30.585Z] [ 90%] Linking C executable device-counterv2 [2020-05-27T11:12:30.846Z] [ 90%] Built target device-counterv2 [2020-05-27T11:12:30.846Z] Scanning dependencies of target device-gyrov2 [2020-05-27T11:12:30.846Z] [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o [2020-05-27T11:12:30.846Z] [ 93%] Linking C executable device-gyrov2 [2020-05-27T11:12:30.846Z] [ 93%] Built target device-gyrov2 [2020-05-27T11:12:30.846Z] Scanning dependencies of target device-randomv2 [2020-05-27T11:12:30.846Z] [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-05-27T11:12:31.107Z] [ 96%] Linking C executable device-randomv2 [2020-05-27T11:12:31.107Z] [ 96%] Built target device-randomv2 [2020-05-27T11:12:31.107Z] Scanning dependencies of target device-terminalv2 [2020-05-27T11:12:31.107Z] [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o [2020-05-27T11:12:31.107Z] [100%] Linking C executable device-terminalv2 [2020-05-27T11:12:31.368Z] [100%] Built target device-terminalv2 [2020-05-27T11:12:31.368Z] make: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:12:31.368Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:12:31.368Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:12:31.368Z] Scanning dependencies of target csdk [2020-05-27T11:12:31.368Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:12:31.368Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:12:31.368Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-05-27T11:12:31.629Z] [ 3%] Linking C shared library libcsdk.so [2020-05-27T11:12:31.890Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:12:31.890Z] [ 65%] Built target csdk [2020-05-27T11:12:31.890Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:12:31.890Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:12:31.890Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:12:31.890Z] [ 66%] Linking C executable template [2020-05-27T11:12:31.890Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:12:31.890Z] [ 68%] Built target template [2020-05-27T11:12:31.890Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:12:31.890Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:12:31.890Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:12:31.890Z] [ 69%] Linking C executable device-counter [2020-05-27T11:12:31.890Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:12:31.890Z] [ 71%] Built target device-counter [2020-05-27T11:12:31.890Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:12:31.890Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:12:31.890Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:12:31.890Z] [ 73%] Linking C executable device-random [2020-05-27T11:12:32.163Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:12:32.163Z] [ 74%] Built target device-random [2020-05-27T11:12:32.163Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:12:32.163Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:12:32.163Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:12:32.163Z] [ 76%] Linking C executable device-gyro [2020-05-27T11:12:32.163Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:12:32.163Z] [ 77%] Built target device-gyro [2020-05-27T11:12:32.163Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:12:32.163Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:12:32.163Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:12:32.163Z] [ 79%] Linking C executable template-discovery [2020-05-27T11:12:32.163Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:12:32.163Z] [ 80%] Built target template-discovery [2020-05-27T11:12:32.163Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:12:32.163Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:12:32.163Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:12:32.163Z] [ 82%] Linking C executable device-terminal [2020-05-27T11:12:32.425Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:12:32.425Z] [ 84%] Built target device-terminal [2020-05-27T11:12:32.425Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:12:32.425Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:12:32.425Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:12:32.425Z] [ 85%] Linking C executable template2 [2020-05-27T11:12:32.425Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:12:32.425Z] [ 87%] Built target template2 [2020-05-27T11:12:32.425Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:12:32.425Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:12:32.425Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:12:32.425Z] [ 88%] Linking C executable device-counterv2 [2020-05-27T11:12:32.425Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:12:32.425Z] [ 90%] Built target device-counterv2 [2020-05-27T11:12:32.425Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:12:32.425Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:12:32.425Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:12:32.425Z] [ 92%] Linking C executable device-gyrov2 [2020-05-27T11:12:32.687Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:12:32.687Z] [ 93%] Built target device-gyrov2 [2020-05-27T11:12:32.687Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:12:32.687Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:12:32.687Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:12:32.687Z] [ 95%] Linking C executable device-randomv2 [2020-05-27T11:12:32.687Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:12:32.687Z] [ 96%] Built target device-randomv2 [2020-05-27T11:12:32.687Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:12:32.687Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:12:32.687Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:12:32.687Z] [ 98%] Linking C executable device-terminalv2 [2020-05-27T11:12:32.687Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:12:32.687Z] [100%] Built target device-terminalv2 [2020-05-27T11:12:32.687Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:12:32.687Z] Install the project... [2020-05-27T11:12:32.687Z] -- Install configuration: "Release" [2020-05-27T11:12:32.687Z] -- Installing: /usr/local/lib/libcsdk.so [2020-05-27T11:12:32.687Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-05-27T11:12:32.687Z] -- Up-to-date: /usr/local/include [2020-05-27T11:12:32.687Z] -- Installing: /usr/local/include/devsdk [2020-05-27T11:12:32.687Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-05-27T11:12:32.687Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-05-27T11:12:32.687Z] -- Installing: /usr/local/include/edgex [2020-05-27T11:12:32.687Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-05-27T11:12:32.687Z] -- Installing: /usr/local/include/edgex/devices.h [2020-05-27T11:12:32.687Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-05-27T11:12:32.687Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-05-27T11:12:32.687Z] -- Installing: /usr/local/include/edgex/edgex-logging.h [2020-05-27T11:12:32.687Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-05-27T11:12:32.687Z] -- Installing: /usr/local/include/edgex/error.h [2020-05-27T11:12:32.687Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-05-27T11:12:32.687Z] -- Installing: /usr/local/include/edgex/os.h [2020-05-27T11:12:32.687Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-05-27T11:12:32.687Z] -- Installing: /usr/local/include/edgex/registry.h [2020-05-27T11:12:32.687Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-05-27T11:12:32.687Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-05-27T11:12:32.687Z] -- Installing: /usr/local/include/iot [2020-05-27T11:12:32.687Z] -- Installing: /usr/local/include/iot/base64.h [2020-05-27T11:12:32.687Z] -- Installing: /usr/local/include/iot/component.h [2020-05-27T11:12:32.687Z] -- Installing: /usr/local/include/iot/container.h [2020-05-27T11:12:32.687Z] -- Installing: /usr/local/include/iot/data.h [2020-05-27T11:12:32.687Z] -- Installing: /usr/local/include/iot/hash.h [2020-05-27T11:12:32.687Z] -- Installing: /usr/local/include/iot/iot.h [2020-05-27T11:12:32.687Z] -- Installing: /usr/local/include/iot/json.h [2020-05-27T11:12:32.687Z] -- Installing: /usr/local/include/iot/logger.h [2020-05-27T11:12:32.687Z] -- Installing: /usr/local/include/iot/os.h [2020-05-27T11:12:32.687Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-05-27T11:12:32.687Z] -- Installing: /usr/local/include/iot/thread.h [2020-05-27T11:12:32.687Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-05-27T11:12:32.687Z] -- Installing: /usr/local/include/iot/time.h [2020-05-27T11:12:32.687Z] -- Installing: /usr/local/include/iot/typecode.h [2020-05-27T11:12:32.687Z] -- Installing: /usr/local/include/iot/os [2020-05-27T11:12:32.687Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-05-27T11:12:32.687Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-05-27T11:12:32.687Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-05-27T11:12:32.687Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-05-27T11:12:32.687Z] make: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:12:33.521Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-05-27T11:12:33.629Z] Removing intermediate container f7c90772cd86 [2020-05-27T11:12:33.629Z] ---> 65fe3071f4f1 [2020-05-27T11:12:33.629Z] Step 14/21 : FROM alpine:3.9 [2020-05-27T11:12:33.793Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-05-27T11:12:34.064Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-05-27T11:12:34.199Z] 3.9: Pulling from library/alpine [2020-05-27T11:12:34.199Z] 31603596830f: Pulling fs layer [2020-05-27T11:12:34.199Z] 31603596830f: Verifying Checksum [2020-05-27T11:12:34.199Z] 31603596830f: Download complete [2020-05-27T11:12:34.463Z] 31603596830f: Pull complete [2020-05-27T11:12:34.463Z] Digest: sha256:414e0518bb9228d35e4cd5165567fb91d26c6a214e9c95899e1e056fcd349011 [2020-05-27T11:12:34.463Z] Status: Downloaded newer image for alpine:3.9 [2020-05-27T11:12:34.463Z] ---> 78a2ce922f86 [2020-05-27T11:12:34.463Z] Step 15/21 : MAINTAINER IOTech [2020-05-27T11:12:34.655Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-05-27T11:12:34.726Z] ---> Running in 37bc5f88e61f [2020-05-27T11:12:34.726Z] Removing intermediate container 37bc5f88e61f [2020-05-27T11:12:34.726Z] ---> 7f9b71790b00 [2020-05-27T11:12:34.726Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-05-27T11:12:34.726Z] ---> Running in d0e3368bca97 [2020-05-27T11:12:35.683Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-05-27T11:12:35.683Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-05-27T11:12:35.683Z] (1/48) Installing binutils (2.31.1-r2) [2020-05-27T11:12:35.945Z] (2/48) Installing libmagic (5.36-r1) [2020-05-27T11:12:35.945Z] (3/48) Installing file (5.36-r1) [2020-05-27T11:12:35.945Z] (4/48) Installing gmp (6.1.2-r1) [2020-05-27T11:12:35.945Z] (5/48) Installing isl (0.18-r0) [2020-05-27T11:12:35.945Z] (6/48) Installing libgomp (8.3.0-r0) [2020-05-27T11:12:35.945Z] (7/48) Installing libatomic (8.3.0-r0) [2020-05-27T11:12:35.945Z] (8/48) Installing libgcc (8.3.0-r0) [2020-05-27T11:12:35.945Z] (9/48) Installing mpfr3 (3.1.5-r1) [2020-05-27T11:12:35.945Z] (10/48) Installing mpc1 (1.0.3-r1) [2020-05-27T11:12:35.945Z] (11/48) Installing libstdc++ (8.3.0-r0) [2020-05-27T11:12:35.945Z] (12/48) Installing gcc (8.3.0-r0) [2020-05-27T11:12:36.617Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-05-27T11:12:36.892Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-05-27T11:12:37.163Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-05-27T11:12:37.756Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-05-27T11:12:37.858Z] (13/48) Installing musl-dev (1.1.20-r5) [2020-05-27T11:12:38.352Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-05-27T11:12:38.352Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-05-27T11:12:39.329Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-05-27T11:12:39.600Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-05-27T11:12:40.196Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-05-27T11:12:40.196Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-05-27T11:12:40.404Z] (14/48) Installing libc-dev (0.7.1-r0) [2020-05-27T11:12:40.404Z] (15/48) Installing g++ (8.3.0-r0) [2020-05-27T11:12:40.789Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-05-27T11:12:40.977Z] (16/48) Installing make (4.2.1-r2) [2020-05-27T11:12:40.977Z] (17/48) Installing fortify-headers (1.0-r0) [2020-05-27T11:12:40.977Z] (18/48) Installing build-base (0.5-r1) [2020-05-27T11:12:40.977Z] (19/48) Installing libattr (2.4.47-r7) [2020-05-27T11:12:40.977Z] (20/48) Installing libacl (2.2.52-r5) [2020-05-27T11:12:40.977Z] (21/48) Installing libbz2 (1.0.6-r7) [2020-05-27T11:12:40.977Z] (22/48) Installing expat (2.2.8-r0) [2020-05-27T11:12:40.977Z] (23/48) Installing lz4-libs (1.8.3-r2) [2020-05-27T11:12:40.977Z] (24/48) Installing xz-libs (5.2.4-r0) [2020-05-27T11:12:40.977Z] (25/48) Installing libarchive (3.3.3-r2) [2020-05-27T11:12:40.977Z] (26/48) Installing ca-certificates (20191127-r0) [2020-05-27T11:12:41.237Z] (27/48) Installing nghttp2-libs (1.35.1-r1) [2020-05-27T11:12:41.237Z] (28/48) Installing libssh2 (1.9.0-r1) [2020-05-27T11:12:41.237Z] (29/48) Installing libcurl (7.64.0-r3) [2020-05-27T11:12:41.237Z] (30/48) Installing ncurses-terminfo-base (6.1_p20190105-r0) [2020-05-27T11:12:41.237Z] (31/48) Installing ncurses-terminfo (6.1_p20190105-r0) [2020-05-27T11:12:41.500Z] (32/48) Installing ncurses-libs (6.1_p20190105-r0) [2020-05-27T11:12:41.500Z] (33/48) Installing rhash-libs (1.3.6-r2) [2020-05-27T11:12:41.500Z] (34/48) Installing libuv (1.23.2-r0) [2020-05-27T11:12:41.500Z] (35/48) Installing cmake (3.13.0-r0) [2020-05-27T11:12:41.763Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-05-27T11:12:42.035Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-05-27T11:12:42.442Z] (36/48) Installing curl (7.64.0-r3) [2020-05-27T11:12:42.442Z] (37/48) Installing pcre2 (10.32-r1) [2020-05-27T11:12:42.442Z] (38/48) Installing git (2.20.4-r0) [2020-05-27T11:12:42.442Z] (39/48) Installing nettle (3.4.1-r0) [2020-05-27T11:12:42.442Z] (40/48) Installing libffi (3.2.1-r6) [2020-05-27T11:12:42.442Z] (41/48) Installing p11-kit (0.23.14-r0) [2020-05-27T11:12:42.442Z] (42/48) Installing libtasn1 (4.14-r0) [2020-05-27T11:12:42.442Z] (43/48) Installing libunistring (0.9.10-r0) [2020-05-27T11:12:42.442Z] (44/48) Installing gnutls (3.6.7-r1) [2020-05-27T11:12:42.703Z] (45/48) Installing libmicrohttpd (0.9.62-r0) [2020-05-27T11:12:42.703Z] (46/48) Installing libuuid (2.33-r0) [2020-05-27T11:12:42.703Z] (47/48) Installing wget (1.20.3-r0) [2020-05-27T11:12:42.703Z] (48/48) Installing yaml (0.2.1-r0) [2020-05-27T11:12:42.703Z] Executing busybox-1.29.3-r10.trigger [2020-05-27T11:12:42.703Z] Executing ca-certificates-20191127-r0.trigger [2020-05-27T11:12:42.703Z] OK: 222 MiB in 62 packages [2020-05-27T11:12:46.319Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-05-27T11:12:46.591Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-05-27T11:12:46.862Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-05-27T11:12:47.467Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-05-27T11:12:48.899Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-05-27T11:12:50.324Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-05-27T11:12:50.864Z] Removing intermediate container d0e3368bca97 [2020-05-27T11:12:50.864Z] ---> 0f10fe5a8041 [2020-05-27T11:12:50.864Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-05-27T11:12:50.864Z] ---> 5ef0c19d438e [2020-05-27T11:12:50.864Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-05-27T11:12:50.864Z] ---> f6e1572c563a [2020-05-27T11:12:50.864Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-05-27T11:12:50.864Z] ---> 48710fd42f28 [2020-05-27T11:12:50.864Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-05-27T11:12:50.864Z] ---> 831df05e3205 [2020-05-27T11:12:50.864Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-05-27T11:12:50.864Z] ---> 4cbaa67cfb80 [2020-05-27T11:12:50.864Z] Successfully built 4cbaa67cfb80 [2020-05-27T11:12:50.864Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-05-27T11:12:51.563Z] + docker inspect -f . ci-base-image-x86_64 [2020-05-27T11:12:51.563Z] . [Pipeline] withDockerContainer [2020-05-27T11:12:51.693Z] prd-centos7-docker-4c-2g-962 does not seem to be running inside a container [2020-05-27T11:12:51.738Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/21 -v /w/workspace/device-sdk-c/21:/w/workspace/device-sdk-c/21:rw,z -v /w/workspace/device-sdk-c/21@tmp:/w/workspace/device-sdk-c/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-05-27T11:12:52.269Z] $ docker top 85c417b6d794cb0734fcdcaff7c4bf6d9823127a6d82ff88731bec18b9edf1c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-05-27T11:12:52.791Z] + make test [2020-05-27T11:12:52.791Z] echo "make test" [2020-05-27T11:12:52.791Z] make test [Pipeline] } [2020-05-27T11:12:52.802Z] $ docker stop --time=1 85c417b6d794cb0734fcdcaff7c4bf6d9823127a6d82ff88731bec18b9edf1c1 [2020-05-27T11:12:53.703Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-05-27T11:12:54.150Z] $ docker rm -f 85c417b6d794cb0734fcdcaff7c4bf6d9823127a6d82ff88731bec18b9edf1c1 [Pipeline] // withDockerContainer [2020-05-27T11:12:54.299Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-05-27T11:12:55.421Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-05-27T11:12:55.714Z] + ls -al . [2020-05-27T11:12:55.714Z] total 160 [2020-05-27T11:12:55.714Z] drwxrwxr-x. 8 jenkins jenkins 260 May 27 11:11 . [2020-05-27T11:12:55.714Z] drwxrwxr-x. 4 jenkins jenkins 30 May 27 11:11 .. [2020-05-27T11:12:55.714Z] -rw-rw-r--. 1 jenkins jenkins 3104 May 27 11:11 Attribution.txt [2020-05-27T11:12:55.714Z] -rw-rw-r--. 1 jenkins jenkins 5393 May 27 11:11 CHANGES [2020-05-27T11:12:55.714Z] drwxrwxr-x. 2 jenkins jenkins 144 May 27 11:11 docs [2020-05-27T11:12:55.714Z] -rw-rw-r--. 1 jenkins jenkins 108574 May 27 11:11 Doxyfile [2020-05-27T11:12:55.714Z] drwxrwxr-x. 8 jenkins jenkins 162 May 27 11:11 .git [2020-05-27T11:12:55.714Z] -rw-rw-r--. 1 jenkins jenkins 176 May 27 11:11 .gitignore [2020-05-27T11:12:55.714Z] drwxrwxr-x. 4 jenkins jenkins 33 May 27 11:11 include [2020-05-27T11:12:55.714Z] -rw-rw-r--. 1 jenkins jenkins 792 May 27 11:11 Jenkinsfile [2020-05-27T11:12:55.714Z] -rw-rw-r--. 1 jenkins jenkins 10174 May 27 11:11 LICENSE [2020-05-27T11:12:55.714Z] -rw-rw-r--. 1 jenkins jenkins 448 May 27 11:11 Makefile [2020-05-27T11:12:55.714Z] -rw-rw-r--. 1 jenkins jenkins 1849 May 27 11:11 README.md [2020-05-27T11:12:55.714Z] -rw-rw-r--. 1 jenkins jenkins 5287 May 27 11:11 README.v2.md [2020-05-27T11:12:55.714Z] drwxrwxr-x. 2 jenkins jenkins 106 May 27 11:11 scripts [2020-05-27T11:12:55.714Z] drwxrwxr-x. 3 jenkins jenkins 44 May 27 11:11 .semver [2020-05-27T11:12:55.714Z] drwxrwxr-x. 4 jenkins jenkins 50 May 27 11:11 src [2020-05-27T11:12:55.714Z] -rw-rw-r--. 1 jenkins jenkins 11 May 27 11:08 VERSION [Pipeline] isUnix [Pipeline] sh [2020-05-27T11:12:55.730Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-05-27T11:12:56.003Z] [ 65%] Linking C shared library libcsdk.so [2020-05-27T11:12:56.003Z] [ 65%] Built target csdk [2020-05-27T11:12:56.003Z] Scanning dependencies of target template [2020-05-27T11:12:56.003Z] [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-05-27T11:12:56.008Z] + docker build -t docker-device-sdk-c -f scripts/Dockerfile.alpine-3.9 --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=34c806719c07a595e60a1991047deece8ce10381 --label arch=amd64 --label version=1.2.1-dev.1 . [2020-05-27T11:12:56.008Z] Sending build context to Docker daemon 3.065MB [2020-05-27T11:12:56.008Z] Step 1/15 : ARG BASE=alpine:3.9 [2020-05-27T11:12:56.008Z] Step 2/15 : FROM ${BASE} [2020-05-27T11:12:56.008Z] ---> 4cbaa67cfb80 [2020-05-27T11:12:56.008Z] Step 3/15 : MAINTAINER IOTech [2020-05-27T11:12:56.008Z] ---> Running in 6b7644fd1e5b [2020-05-27T11:12:56.271Z] Removing intermediate container 6b7644fd1e5b [2020-05-27T11:12:56.271Z] ---> cd8ada4e28a0 [2020-05-27T11:12:56.271Z] 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-05-27T11:12:56.271Z] ---> Running in 437516192e00 [2020-05-27T11:12:56.534Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-05-27T11:12:56.598Z] [ 68%] Linking C executable template [2020-05-27T11:12:56.796Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-05-27T11:12:56.796Z] (1/21) Installing pkgconf (1.6.0-r0) [2020-05-27T11:12:56.796Z] (2/21) Installing openssl-dev (1.1.1g-r0) [2020-05-27T11:12:56.870Z] [ 68%] Built target template [2020-05-27T11:12:56.871Z] Scanning dependencies of target device-counter [2020-05-27T11:12:56.871Z] [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-05-27T11:12:57.057Z] (3/21) Installing zlib-dev (1.2.11-r1) [2020-05-27T11:12:57.057Z] (4/21) Installing libssh2-dev (1.9.0-r1) [2020-05-27T11:12:57.463Z] [ 71%] Linking C executable device-counter [2020-05-27T11:12:57.463Z] [ 71%] Built target device-counter [2020-05-27T11:12:57.628Z] (5/21) Installing nghttp2-dev (1.35.1-r1) [2020-05-27T11:12:57.628Z] (6/21) Installing curl-dev (7.64.0-r3) [2020-05-27T11:12:57.628Z] (7/21) Installing gnutls-c++ (3.6.7-r1) [2020-05-27T11:12:57.628Z] (8/21) Installing libgmpxx (6.1.2-r1) [2020-05-27T11:12:57.628Z] (9/21) Installing gmp-dev (6.1.2-r1) [2020-05-27T11:12:57.628Z] (10/21) Installing nettle-dev (3.4.1-r0) [2020-05-27T11:12:57.628Z] (11/21) Installing libtasn1-dev (4.14-r0) [2020-05-27T11:12:57.735Z] Scanning dependencies of target device-random [2020-05-27T11:12:57.736Z] [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-05-27T11:12:57.889Z] (12/21) Installing p11-kit-dev (0.23.14-r0) [2020-05-27T11:12:57.889Z] (13/21) Installing gnutls-dev (3.6.7-r1) [2020-05-27T11:12:57.889Z] (14/21) Installing libmicrohttpd-dev (0.9.62-r0) [2020-05-27T11:12:57.889Z] (15/21) Installing ncurses-dev (6.1_p20190105-r0) [2020-05-27T11:12:57.889Z] (16/21) Installing libblkid (2.33-r0) [2020-05-27T11:12:57.889Z] (17/21) Installing libfdisk (2.33-r0) [2020-05-27T11:12:57.889Z] (18/21) Installing libmount (2.33-r0) [2020-05-27T11:12:57.889Z] (19/21) Installing libsmartcols (2.33-r0) [2020-05-27T11:12:57.889Z] (20/21) Installing util-linux-dev (2.33-r0) [2020-05-27T11:12:57.889Z] (21/21) Installing yaml-dev (0.2.1-r0) [2020-05-27T11:12:57.889Z] Executing busybox-1.29.3-r10.trigger [2020-05-27T11:12:57.889Z] OK: 266 MiB in 83 packages [2020-05-27T11:12:58.006Z] [ 74%] Linking C executable device-random [2020-05-27T11:12:58.279Z] [ 74%] Built target device-random [2020-05-27T11:12:58.279Z] Scanning dependencies of target device-gyro [2020-05-27T11:12:58.279Z] [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-05-27T11:12:58.829Z] Removing intermediate container 437516192e00 [2020-05-27T11:12:58.829Z] ---> 7547941bac0a [2020-05-27T11:12:58.829Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-05-27T11:12:58.829Z] ---> 404ecb5d074c [2020-05-27T11:12:58.829Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-05-27T11:12:58.878Z] [ 77%] Linking C executable device-gyro [2020-05-27T11:12:58.878Z] [ 77%] Built target device-gyro [2020-05-27T11:12:58.878Z] Scanning dependencies of target template-discovery [2020-05-27T11:12:58.878Z] [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-05-27T11:12:59.091Z] ---> c13e8ae5a0c6 [2020-05-27T11:12:59.091Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-05-27T11:12:59.352Z] ---> 802464948287 [2020-05-27T11:12:59.352Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-05-27T11:12:59.475Z] [ 80%] Linking C executable template-discovery [2020-05-27T11:12:59.615Z] ---> 0775cc9ec4fd [2020-05-27T11:12:59.615Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-05-27T11:12:59.615Z] ---> 87b1e3321504 [2020-05-27T11:12:59.615Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-05-27T11:12:59.748Z] [ 80%] Built target template-discovery [2020-05-27T11:12:59.748Z] Scanning dependencies of target device-terminal [2020-05-27T11:12:59.748Z] [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-05-27T11:12:59.877Z] ---> 64bfa024deb3 [2020-05-27T11:12:59.877Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-05-27T11:12:59.877Z] ---> Running in ce42089067d5 [2020-05-27T11:13:00.138Z] Removing intermediate container ce42089067d5 [2020-05-27T11:13:00.138Z] ---> 1c3f718e39fa [2020-05-27T11:13:00.138Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-05-27T11:13:00.138Z] ---> Running in 457f7349a578 [2020-05-27T11:13:00.138Z] Removing intermediate container 457f7349a578 [2020-05-27T11:13:00.138Z] ---> b6b39bbd1584 [2020-05-27T11:13:00.138Z] Step 13/15 : LABEL arch=amd64 [2020-05-27T11:13:00.343Z] [ 84%] Linking C executable device-terminal [2020-05-27T11:13:00.399Z] ---> Running in 68c518df816c [2020-05-27T11:13:00.399Z] Removing intermediate container 68c518df816c [2020-05-27T11:13:00.399Z] ---> cacaa2605dcd [2020-05-27T11:13:00.399Z] Step 14/15 : LABEL git_sha=34c806719c07a595e60a1991047deece8ce10381 [2020-05-27T11:13:00.399Z] ---> Running in 4d4d9f613ff0 [2020-05-27T11:13:00.618Z] [ 84%] Built target device-terminal [2020-05-27T11:13:00.618Z] Scanning dependencies of target template2 [2020-05-27T11:13:00.618Z] [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-05-27T11:13:00.661Z] Removing intermediate container 4d4d9f613ff0 [2020-05-27T11:13:00.661Z] ---> 4840e486abe7 [2020-05-27T11:13:00.661Z] Step 15/15 : LABEL version=1.2.1-dev.1 [2020-05-27T11:13:00.661Z] ---> Running in 53ebe43bf7df [2020-05-27T11:13:00.661Z] Removing intermediate container 53ebe43bf7df [2020-05-27T11:13:00.661Z] ---> 41c6ad021c12 [2020-05-27T11:13:00.661Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2020-05-27T11:13:00.661Z] Successfully built 41c6ad021c12 [2020-05-27T11:13:00.661Z] Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2020-05-27T11:13:01.213Z] [ 87%] Linking C executable template2 Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [2020-05-27T11:13:01.487Z] [ 87%] Built target template2 [2020-05-27T11:13:01.487Z] Scanning dependencies of target device-counterv2 [2020-05-27T11:13:01.487Z] [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-05-27T11:13:01.760Z] [ 90%] Linking C executable device-counterv2 [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-05-27T11:13:02.036Z] [ 90%] Built target device-counterv2 [2020-05-27T11:13:02.036Z] Scanning dependencies of target device-gyrov2 [2020-05-27T11:13:02.036Z] [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-05-27T11:13:02.638Z] [ 93%] Linking C executable device-gyrov2 [2020-05-27T11:13:02.638Z] [ 93%] Built target device-gyrov2 [2020-05-27T11:13:02.638Z] Scanning dependencies of target device-randomv2 [2020-05-27T11:13:02.911Z] [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-05-27T11:13:03.185Z] [ 96%] Linking C executable device-randomv2 [2020-05-27T11:13:03.456Z] [ 96%] Built target device-randomv2 [2020-05-27T11:13:03.456Z] Scanning dependencies of target device-terminalv2 [2020-05-27T11:13:03.456Z] [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o [2020-05-27T11:13:04.050Z] [100%] Linking C executable device-terminalv2 [2020-05-27T11:13:04.323Z] [100%] Built target device-terminalv2 [2020-05-27T11:13:04.323Z] + make package [2020-05-27T11:13:04.323Z] + tee -a release.log [2020-05-27T11:13:04.323Z] [ 65%] Built target csdk [2020-05-27T11:13:04.323Z] [ 68%] Built target template [2020-05-27T11:13:04.597Z] [ 71%] Built target device-counter [2020-05-27T11:13:04.597Z] [ 74%] Built target device-random [2020-05-27T11:13:04.597Z] [ 77%] Built target device-gyro [2020-05-27T11:13:04.597Z] [ 80%] Built target template-discovery [2020-05-27T11:13:04.597Z] [ 84%] Built target device-terminal [2020-05-27T11:13:04.597Z] [ 87%] Built target template2 [2020-05-27T11:13:04.597Z] [ 90%] Built target device-counterv2 [2020-05-27T11:13:04.872Z] [ 93%] Built target device-gyrov2 [2020-05-27T11:13:04.872Z] [ 96%] Built target device-randomv2 [2020-05-27T11:13:04.872Z] [100%] Built target device-terminalv2 [2020-05-27T11:13:04.872Z] Run CPack packaging tool... [2020-05-27T11:13:04.872Z] CPack: Create package using TGZ [2020-05-27T11:13:04.872Z] CPack: Install projects [2020-05-27T11:13:04.872Z] CPack: - Run preinstall target for: Csdk [2020-05-27T11:13:05.467Z] CPack: - Install project: Csdk [2020-05-27T11:13:05.467Z] CPack: Create package [2020-05-27T11:13:05.738Z] CPack: - package: /tmp/sdk/build/release/csdk-1.2.1-dev.1.tar.gz generated. [2020-05-27T11:13:05.738Z] + '[' false '=' true ] [2020-05-27T11:13:05.738Z] + '[' false '=' true ] [2020-05-27T11:13:05.738Z] + mkdir -p /tmp/sdk/build/debug [2020-05-27T11:13:05.738Z] + cd /tmp/sdk/build/debug [2020-05-27T11:13:05.738Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-05-27T11:13:06.010Z] -- The C compiler identification is GNU 8.3.0 [2020-05-27T11:13:06.010Z] -- Check for working C compiler: /usr/bin/cc [2020-05-27T11:13:06.282Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-05-27T11:13:06.282Z] -- Detecting C compiler ABI info [2020-05-27T11:13:06.555Z] -- Detecting C compiler ABI info - done [2020-05-27T11:13:06.555Z] -- Detecting C compile features [2020-05-27T11:13:07.533Z] -- Detecting C compile features - done [2020-05-27T11:13:07.533Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-05-27T11:13:07.533Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-05-27T11:13:07.533Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-05-27T11:13:07.533Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-05-27T11:13:07.533Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-05-27T11:13:07.533Z] -- C SDK 1.2.1-dev.1 for Linux [2020-05-27T11:13:07.533Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-05-27T11:13:07.533Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-05-27T11:13:07.533Z] -- Found Curses: /usr/lib/libcurses.so [2020-05-27T11:13:07.803Z] -- Configuring done [2020-05-27T11:13:08.076Z] -- Generating done [2020-05-27T11:13:08.076Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-05-27T11:13:08.076Z] + + maketee [2020-05-27T11:13:08.076Z] debug.log [2020-05-27T11:13:08.076Z] Scanning dependencies of target csdk [2020-05-27T11:13:08.348Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-05-27T11:13:08.621Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-05-27T11:13:08.893Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-05-27T11:13:09.486Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-05-27T11:13:09.760Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-05-27T11:13:09.760Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-05-27T11:13:10.353Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-05-27T11:13:10.628Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-05-27T11:13:10.900Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-05-27T11:13:11.171Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-05-27T11:13:11.446Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-05-27T11:13:11.719Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-05-27T11:13:11.994Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-05-27T11:13:12.271Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-05-27T11:13:12.877Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-05-27T11:13:13.149Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-05-27T11:13:13.421Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-05-27T11:13:13.692Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-05-27T11:13:14.286Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-05-27T11:13:14.559Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-05-27T11:13:14.559Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-05-27T11:13:14.832Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-05-27T11:13:15.104Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-05-27T11:13:15.376Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-05-27T11:13:15.653Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-05-27T11:13:15.653Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-05-27T11:13:15.935Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-05-27T11:13:16.207Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-05-27T11:13:16.479Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-05-27T11:13:16.751Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-05-27T11:13:17.023Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-05-27T11:13:17.996Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-05-27T11:13:18.267Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-05-27T11:13:18.538Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-05-27T11:13:18.810Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-05-27T11:13:19.782Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-05-27T11:13:20.058Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-05-27T11:13:21.036Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-05-27T11:13:21.036Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-05-27T11:13:21.628Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-05-27T11:13:21.899Z] [ 65%] Linking C shared library libcsdk.so [2020-05-27T11:13:21.899Z] [ 65%] Built target csdk [2020-05-27T11:13:21.899Z] Scanning dependencies of target template [2020-05-27T11:13:22.173Z] [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-05-27T11:13:22.173Z] [ 68%] Linking C executable template [2020-05-27T11:13:22.446Z] [ 68%] Built target template [2020-05-27T11:13:22.447Z] Scanning dependencies of target device-counter [2020-05-27T11:13:22.447Z] [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-05-27T11:13:22.722Z] [ 71%] Linking C executable device-counter [2020-05-27T11:13:22.994Z] [ 71%] Built target device-counter [2020-05-27T11:13:22.994Z] Scanning dependencies of target device-random [2020-05-27T11:13:22.994Z] [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-05-27T11:13:23.268Z] [ 74%] Linking C executable device-random [2020-05-27T11:13:23.539Z] [ 74%] Built target device-random [2020-05-27T11:13:23.539Z] Scanning dependencies of target device-gyro [2020-05-27T11:13:23.539Z] [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-05-27T11:13:23.811Z] [ 77%] Linking C executable device-gyro [2020-05-27T11:13:24.083Z] [ 77%] Built target device-gyro [2020-05-27T11:13:24.083Z] Scanning dependencies of target template-discovery [2020-05-27T11:13:24.083Z] [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-05-27T11:13:24.357Z] [ 80%] Linking C executable template-discovery [2020-05-27T11:13:24.630Z] [ 80%] Built target template-discovery [2020-05-27T11:13:24.630Z] Scanning dependencies of target device-terminal [2020-05-27T11:13:24.630Z] [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-05-27T11:13:24.906Z] [ 84%] Linking C executable device-terminal [2020-05-27T11:13:25.178Z] [ 84%] Built target device-terminal [2020-05-27T11:13:25.178Z] Scanning dependencies of target template2 [2020-05-27T11:13:25.178Z] [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-05-27T11:13:25.455Z] [ 87%] Linking C executable template2 [2020-05-27T11:13:25.728Z] [ 87%] Built target template2 [2020-05-27T11:13:25.728Z] Scanning dependencies of target device-counterv2 [2020-05-27T11:13:25.728Z] [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-05-27T11:13:26.002Z] [ 90%] Linking C executable device-counterv2 [2020-05-27T11:13:26.002Z] [ 90%] Built target device-counterv2 [2020-05-27T11:13:26.276Z] Scanning dependencies of target device-gyrov2 [2020-05-27T11:13:26.277Z] [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o [2020-05-27T11:13:26.277Z] [ 93%] Linking C executable device-gyrov2 [2020-05-27T11:13:26.552Z] [ 93%] Built target device-gyrov2 [2020-05-27T11:13:26.552Z] Scanning dependencies of target device-randomv2 [2020-05-27T11:13:26.552Z] [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-05-27T11:13:26.827Z] [ 96%] Linking C executable device-randomv2 [2020-05-27T11:13:27.101Z] [ 96%] Built target device-randomv2 [2020-05-27T11:13:27.101Z] Scanning dependencies of target device-terminalv2 [2020-05-27T11:13:27.101Z] [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o [2020-05-27T11:13:27.374Z] [100%] Linking C executable device-terminalv2 [2020-05-27T11:13:27.646Z] [100%] Built target device-terminalv2 [2020-05-27T11:13:27.646Z] make: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:13:27.646Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:13:27.646Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:13:27.646Z] Scanning dependencies of target csdk [2020-05-27T11:13:27.920Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:13:27.920Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:13:27.920Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-05-27T11:13:29.894Z] [ 3%] Linking C shared library libcsdk.so [2020-05-27T11:13:29.894Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:13:29.894Z] [ 65%] Built target csdk [2020-05-27T11:13:29.894Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:13:29.894Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:13:29.894Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:13:29.894Z] [ 66%] Linking C executable template [2020-05-27T11:13:29.894Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:13:29.894Z] [ 68%] Built target template [2020-05-27T11:13:29.894Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:13:29.894Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:13:29.894Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:13:29.894Z] [ 69%] Linking C executable device-counter [2020-05-27T11:13:30.166Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:13:30.166Z] [ 71%] Built target device-counter [2020-05-27T11:13:30.166Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:13:30.166Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:13:30.166Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:13:30.166Z] [ 73%] Linking C executable device-random [2020-05-27T11:13:30.439Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:13:30.439Z] [ 74%] Built target device-random [2020-05-27T11:13:30.439Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:13:30.439Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:13:30.439Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:13:30.439Z] [ 76%] Linking C executable device-gyro [2020-05-27T11:13:30.712Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:13:30.712Z] [ 77%] Built target device-gyro [2020-05-27T11:13:30.712Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:13:30.712Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:13:30.712Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:13:30.712Z] [ 79%] Linking C executable template-discovery [2020-05-27T11:13:30.984Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:13:30.984Z] [ 80%] Built target template-discovery [2020-05-27T11:13:30.984Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:13:30.984Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:13:30.984Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:13:30.984Z] [ 82%] Linking C executable device-terminal [2020-05-27T11:13:31.257Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:13:31.257Z] [ 84%] Built target device-terminal [2020-05-27T11:13:31.257Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:13:31.257Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:13:31.257Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:13:31.257Z] [ 85%] Linking C executable template2 [2020-05-27T11:13:31.530Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:13:31.530Z] [ 87%] Built target template2 [2020-05-27T11:13:31.530Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:13:31.530Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:13:31.530Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:13:31.530Z] [ 88%] Linking C executable device-counterv2 [2020-05-27T11:13:31.802Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:13:31.802Z] [ 90%] Built target device-counterv2 [2020-05-27T11:13:31.802Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:13:31.802Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:13:31.802Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:13:31.802Z] [ 92%] Linking C executable device-gyrov2 [2020-05-27T11:13:32.074Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:13:32.074Z] [ 93%] Built target device-gyrov2 [2020-05-27T11:13:32.074Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:13:32.074Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:13:32.074Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:13:32.074Z] [ 95%] Linking C executable device-randomv2 [2020-05-27T11:13:32.348Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:13:32.348Z] [ 96%] Built target device-randomv2 [2020-05-27T11:13:32.348Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:13:32.348Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:13:32.348Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-27T11:13:32.348Z] [ 98%] Linking C executable device-terminalv2 [2020-05-27T11:13:32.622Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:13:32.622Z] [100%] Built target device-terminalv2 [2020-05-27T11:13:32.622Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:13:32.622Z] Install the project... [2020-05-27T11:13:32.622Z] -- Install configuration: "Release" [2020-05-27T11:13:32.622Z] -- Installing: /usr/local/lib/libcsdk.so [2020-05-27T11:13:32.623Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-05-27T11:13:32.623Z] -- Up-to-date: /usr/local/include [2020-05-27T11:13:32.623Z] -- Installing: /usr/local/include/devsdk [2020-05-27T11:13:32.623Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-05-27T11:13:32.623Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-05-27T11:13:32.623Z] -- Installing: /usr/local/include/edgex [2020-05-27T11:13:32.623Z] -- Installing: /usr/local/include/edgex/devices.h [2020-05-27T11:13:32.623Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-05-27T11:13:32.623Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-05-27T11:13:32.623Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-05-27T11:13:32.623Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-05-27T11:13:32.623Z] -- Installing: /usr/local/include/edgex/error.h [2020-05-27T11:13:32.623Z] -- Installing: /usr/local/include/edgex/registry.h [2020-05-27T11:13:32.623Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-05-27T11:13:32.623Z] -- Installing: /usr/local/include/edgex/os.h [2020-05-27T11:13:32.623Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-05-27T11:13:32.623Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-05-27T11:13:32.623Z] -- Installing: /usr/local/include/edgex/edgex-logging.h [2020-05-27T11:13:32.623Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-05-27T11:13:32.623Z] -- Installing: /usr/local/include/iot [2020-05-27T11:13:32.623Z] -- Installing: /usr/local/include/iot/hash.h [2020-05-27T11:13:32.623Z] -- Installing: /usr/local/include/iot/thread.h [2020-05-27T11:13:32.623Z] -- Installing: /usr/local/include/iot/json.h [2020-05-27T11:13:32.623Z] -- Installing: /usr/local/include/iot/os [2020-05-27T11:13:32.623Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-05-27T11:13:32.623Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-05-27T11:13:32.623Z] -- Installing: /usr/local/include/iot/typecode.h [2020-05-27T11:13:32.623Z] -- Installing: /usr/local/include/iot/base64.h [2020-05-27T11:13:32.623Z] -- Installing: /usr/local/include/iot/container.h [2020-05-27T11:13:32.623Z] -- Installing: /usr/local/include/iot/data.h [2020-05-27T11:13:32.623Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-05-27T11:13:32.623Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-05-27T11:13:32.623Z] -- Installing: /usr/local/include/iot/component.h [2020-05-27T11:13:32.623Z] -- Installing: /usr/local/include/iot/os.h [2020-05-27T11:13:32.623Z] -- Installing: /usr/local/include/iot/logger.h [2020-05-27T11:13:32.623Z] -- Installing: /usr/local/include/iot/time.h [2020-05-27T11:13:32.623Z] -- Installing: /usr/local/include/iot/iot.h [2020-05-27T11:13:32.623Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-05-27T11:13:32.623Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-05-27T11:13:32.623Z] make: Leaving directory '/tmp/sdk/build/release' [2020-05-27T11:13:34.603Z] Removing intermediate container e5964dda08f5 [2020-05-27T11:13:34.603Z] ---> b0445063d757 [2020-05-27T11:13:34.603Z] Step 14/21 : FROM alpine:3.9 [2020-05-27T11:13:34.874Z] 3.9: Pulling from library/alpine [2020-05-27T11:13:35.146Z] 941f399634ec: Pulling fs layer [2020-05-27T11:13:35.419Z] 941f399634ec: Download complete [2020-05-27T11:13:36.016Z] 941f399634ec: Pull complete [2020-05-27T11:13:36.016Z] Digest: sha256:414e0518bb9228d35e4cd5165567fb91d26c6a214e9c95899e1e056fcd349011 [2020-05-27T11:13:36.016Z] Status: Downloaded newer image for alpine:3.9 [2020-05-27T11:13:36.016Z] ---> 9afdd4a290bf [2020-05-27T11:13:36.016Z] Step 15/21 : MAINTAINER IOTech [2020-05-27T11:13:36.289Z] ---> Running in 8a6860f08cc8 [2020-05-27T11:13:36.565Z] Removing intermediate container 8a6860f08cc8 [2020-05-27T11:13:36.565Z] ---> 3d5be93ff116 [2020-05-27T11:13:36.565Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-05-27T11:13:36.565Z] ---> Running in b75d2a57aec0 [2020-05-27T11:13:37.542Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-05-27T11:13:37.815Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-05-27T11:13:38.088Z] (1/48) Installing binutils (2.31.1-r2) [2020-05-27T11:13:38.362Z] (2/48) Installing libmagic (5.36-r1) [2020-05-27T11:13:38.633Z] (3/48) Installing file (5.36-r1) [2020-05-27T11:13:38.633Z] (4/48) Installing gmp (6.1.2-r1) [2020-05-27T11:13:38.633Z] (5/48) Installing isl (0.18-r0) [2020-05-27T11:13:38.633Z] (6/48) Installing libgomp (8.3.0-r0) [2020-05-27T11:13:38.633Z] (7/48) Installing libatomic (8.3.0-r0) [2020-05-27T11:13:38.633Z] (8/48) Installing libgcc (8.3.0-r0) [2020-05-27T11:13:38.633Z] (9/48) Installing mpfr3 (3.1.5-r1) [2020-05-27T11:13:38.633Z] (10/48) Installing mpc1 (1.0.3-r1) [2020-05-27T11:13:38.633Z] (11/48) Installing libstdc++ (8.3.0-r0) [2020-05-27T11:13:38.633Z] (12/48) Installing gcc (8.3.0-r0) [2020-05-27T11:13:40.060Z] (13/48) Installing musl-dev (1.1.20-r5) [2020-05-27T11:13:40.060Z] (14/48) Installing libc-dev (0.7.1-r0) [2020-05-27T11:13:40.060Z] (15/48) Installing g++ (8.3.0-r0) [2020-05-27T11:13:41.495Z] (16/48) Installing make (4.2.1-r2) [2020-05-27T11:13:41.495Z] (17/48) Installing fortify-headers (1.0-r0) [2020-05-27T11:13:41.495Z] (18/48) Installing build-base (0.5-r1) [2020-05-27T11:13:41.495Z] (19/48) Installing libattr (2.4.47-r7) [2020-05-27T11:13:41.495Z] (20/48) Installing libacl (2.2.52-r5) [2020-05-27T11:13:41.495Z] (21/48) Installing libbz2 (1.0.6-r7) [2020-05-27T11:13:41.495Z] (22/48) Installing expat (2.2.8-r0) [2020-05-27T11:13:41.495Z] (23/48) Installing lz4-libs (1.8.3-r2) [2020-05-27T11:13:41.495Z] (24/48) Installing xz-libs (5.2.4-r0) [2020-05-27T11:13:41.495Z] (25/48) Installing libarchive (3.3.3-r2) [2020-05-27T11:13:41.495Z] (26/48) Installing ca-certificates (20191127-r0) [2020-05-27T11:13:41.495Z] (27/48) Installing nghttp2-libs (1.35.1-r1) [2020-05-27T11:13:41.495Z] (28/48) Installing libssh2 (1.9.0-r1) [2020-05-27T11:13:41.766Z] (29/48) Installing libcurl (7.64.0-r3) [2020-05-27T11:13:41.766Z] (30/48) Installing ncurses-terminfo-base (6.1_p20190105-r0) [2020-05-27T11:13:41.766Z] (31/48) Installing ncurses-terminfo (6.1_p20190105-r0) [2020-05-27T11:13:42.743Z] (32/48) Installing ncurses-libs (6.1_p20190105-r0) [2020-05-27T11:13:42.743Z] (33/48) Installing rhash-libs (1.3.6-r2) [2020-05-27T11:13:42.743Z] (34/48) Installing libuv (1.23.2-r0) [2020-05-27T11:13:42.743Z] (35/48) Installing cmake (3.13.0-r0) [2020-05-27T11:13:44.170Z] (36/48) Installing curl (7.64.0-r3) [2020-05-27T11:13:44.170Z] (37/48) Installing pcre2 (10.32-r1) [2020-05-27T11:13:44.170Z] (38/48) Installing git (2.20.4-r0) [2020-05-27T11:13:44.442Z] (39/48) Installing nettle (3.4.1-r0) [2020-05-27T11:13:44.442Z] (40/48) Installing libffi (3.2.1-r6) [2020-05-27T11:13:44.442Z] (41/48) Installing p11-kit (0.23.14-r0) [2020-05-27T11:13:44.442Z] (42/48) Installing libtasn1 (4.14-r0) [2020-05-27T11:13:44.442Z] (43/48) Installing libunistring (0.9.10-r0) [2020-05-27T11:13:44.442Z] (44/48) Installing gnutls (3.6.7-r1) [2020-05-27T11:13:44.442Z] (45/48) Installing libmicrohttpd (0.9.62-r0) [2020-05-27T11:13:44.442Z] (46/48) Installing libuuid (2.33-r0) [2020-05-27T11:13:44.442Z] (47/48) Installing wget (1.20.3-r0) [2020-05-27T11:13:44.442Z] (48/48) Installing yaml (0.2.1-r0) [2020-05-27T11:13:44.442Z] Executing busybox-1.29.3-r10.trigger [2020-05-27T11:13:44.442Z] Executing ca-certificates-20191127-r0.trigger [2020-05-27T11:13:44.716Z] OK: 219 MiB in 62 packages [2020-05-27T11:13:59.797Z] Removing intermediate container b75d2a57aec0 [2020-05-27T11:13:59.797Z] ---> 0feb1a5084b8 [2020-05-27T11:13:59.797Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-05-27T11:13:59.797Z] ---> 96e0bd9ef45c [2020-05-27T11:13:59.797Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-05-27T11:13:59.797Z] ---> 3fc80dfc256c [2020-05-27T11:13:59.797Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-05-27T11:13:59.797Z] ---> 7063ac6df4ae [2020-05-27T11:13:59.797Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-05-27T11:14:00.391Z] ---> 3920b0433405 [2020-05-27T11:14:00.391Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-05-27T11:14:00.986Z] ---> 4e306b91a48b [2020-05-27T11:14:00.986Z] Successfully built 4e306b91a48b [2020-05-27T11:14:00.986Z] 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-05-27T11:14:01.962Z] + docker inspect -f . ci-base-image-arm64 [2020-05-27T11:14:02.237Z] . [Pipeline] withDockerContainer [2020-05-27T11:14:02.586Z] prd-ubuntu18.04-docker-arm64-4c-16g-961 does not seem to be running inside a container [2020-05-27T11:14:02.677Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/21 -v /w/workspace/device-sdk-c/21:/w/workspace/device-sdk-c/21:rw,z -v /w/workspace/device-sdk-c/21@tmp:/w/workspace/device-sdk-c/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-05-27T11:14:04.103Z] $ docker top 6af5aaa389e205942f5b3efdba25001d7c531ad1ce9f86f5ef9740daf1546509 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-05-27T11:14:05.219Z] + make test [2020-05-27T11:14:05.219Z] echo "make test" [2020-05-27T11:14:05.219Z] make test [Pipeline] } [2020-05-27T11:14:05.238Z] $ docker stop --time=1 6af5aaa389e205942f5b3efdba25001d7c531ad1ce9f86f5ef9740daf1546509 [2020-05-27T11:14:07.173Z] $ docker rm -f 6af5aaa389e205942f5b3efdba25001d7c531ad1ce9f86f5ef9740daf1546509 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-05-27T11:14:08.333Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-05-27T11:14:08.667Z] + ls -al . [2020-05-27T11:14:08.667Z] total 192 [2020-05-27T11:14:08.667Z] drwxrwxr-x 8 jenkins jenkins 4096 May 27 11:11 . [2020-05-27T11:14:08.667Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 11:11 .. [2020-05-27T11:14:08.667Z] drwxrwxr-x 8 jenkins jenkins 4096 May 27 11:11 .git [2020-05-27T11:14:08.667Z] -rw-rw-r-- 1 jenkins jenkins 176 May 27 11:11 .gitignore [2020-05-27T11:14:08.667Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 11:11 .semver [2020-05-27T11:14:08.667Z] -rw-rw-r-- 1 jenkins jenkins 3104 May 27 11:11 Attribution.txt [2020-05-27T11:14:08.667Z] -rw-rw-r-- 1 jenkins jenkins 5393 May 27 11:11 CHANGES [2020-05-27T11:14:08.667Z] -rw-rw-r-- 1 jenkins jenkins 108574 May 27 11:11 Doxyfile [2020-05-27T11:14:08.667Z] -rw-rw-r-- 1 jenkins jenkins 792 May 27 11:11 Jenkinsfile [2020-05-27T11:14:08.667Z] -rw-rw-r-- 1 jenkins jenkins 10174 May 27 11:11 LICENSE [2020-05-27T11:14:08.667Z] -rw-rw-r-- 1 jenkins jenkins 448 May 27 11:11 Makefile [2020-05-27T11:14:08.667Z] -rw-rw-r-- 1 jenkins jenkins 1849 May 27 11:11 README.md [2020-05-27T11:14:08.667Z] -rw-rw-r-- 1 jenkins jenkins 5287 May 27 11:11 README.v2.md [2020-05-27T11:14:08.667Z] -rw-rw-r-- 1 jenkins jenkins 11 May 27 11:08 VERSION [2020-05-27T11:14:08.667Z] drwxrwxr-x 2 jenkins jenkins 4096 May 27 11:11 docs [2020-05-27T11:14:08.667Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 11:11 include [2020-05-27T11:14:08.667Z] drwxrwxr-x 2 jenkins jenkins 4096 May 27 11:11 scripts [2020-05-27T11:14:08.667Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 11:11 src [Pipeline] isUnix [Pipeline] sh [2020-05-27T11:14:09.005Z] + docker build -t docker-device-sdk-c-arm64 -f scripts/Dockerfile.alpine-3.9 --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=34c806719c07a595e60a1991047deece8ce10381 --label arch=arm64 --label version=1.2.1-dev.1 . [2020-05-27T11:14:09.283Z] Sending build context to Docker daemon 3.065MB [2020-05-27T11:14:09.554Z] Step 1/15 : ARG BASE=alpine:3.9 [2020-05-27T11:14:09.554Z] Step 2/15 : FROM ${BASE} [2020-05-27T11:14:09.554Z] ---> 4e306b91a48b [2020-05-27T11:14:09.554Z] Step 3/15 : MAINTAINER IOTech [2020-05-27T11:14:09.554Z] ---> Running in 64a53f72c24a [2020-05-27T11:14:09.890Z] Removing intermediate container 64a53f72c24a [2020-05-27T11:14:09.890Z] ---> 721f93f92127 [2020-05-27T11:14:09.890Z] 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-05-27T11:14:10.175Z] ---> Running in 95a5b56b009f [2020-05-27T11:14:11.195Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-05-27T11:14:11.471Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-05-27T11:14:11.748Z] (1/21) Installing pkgconf (1.6.0-r0) [2020-05-27T11:14:11.748Z] (2/21) Installing openssl-dev (1.1.1g-r0) [2020-05-27T11:14:12.345Z] (3/21) Installing zlib-dev (1.2.11-r1) [2020-05-27T11:14:12.345Z] (4/21) Installing libssh2-dev (1.9.0-r1) [2020-05-27T11:14:12.345Z] (5/21) Installing nghttp2-dev (1.35.1-r1) [2020-05-27T11:14:12.345Z] (6/21) Installing curl-dev (7.64.0-r3) [2020-05-27T11:14:12.345Z] (7/21) Installing gnutls-c++ (3.6.7-r1) [2020-05-27T11:14:12.345Z] (8/21) Installing libgmpxx (6.1.2-r1) [2020-05-27T11:14:12.345Z] (9/21) Installing gmp-dev (6.1.2-r1) [2020-05-27T11:14:12.624Z] (10/21) Installing nettle-dev (3.4.1-r0) [2020-05-27T11:14:12.901Z] (11/21) Installing libtasn1-dev (4.14-r0) [2020-05-27T11:14:12.901Z] (12/21) Installing p11-kit-dev (0.23.14-r0) [2020-05-27T11:14:12.901Z] (13/21) Installing gnutls-dev (3.6.7-r1) [2020-05-27T11:14:12.901Z] (14/21) Installing libmicrohttpd-dev (0.9.62-r0) [2020-05-27T11:14:12.901Z] (15/21) Installing ncurses-dev (6.1_p20190105-r0) [2020-05-27T11:14:12.901Z] (16/21) Installing libblkid (2.33-r0) [2020-05-27T11:14:12.901Z] (17/21) Installing libfdisk (2.33-r0) [2020-05-27T11:14:12.901Z] (18/21) Installing libmount (2.33-r0) [2020-05-27T11:14:12.901Z] (19/21) Installing libsmartcols (2.33-r0) [2020-05-27T11:14:12.901Z] (20/21) Installing util-linux-dev (2.33-r0) [2020-05-27T11:14:13.207Z] (21/21) Installing yaml-dev (0.2.1-r0) [2020-05-27T11:14:13.207Z] Executing busybox-1.29.3-r10.trigger [2020-05-27T11:14:13.207Z] OK: 279 MiB in 83 packages [2020-05-27T11:14:16.656Z] Removing intermediate container 95a5b56b009f [2020-05-27T11:14:16.656Z] ---> 08edfc055e06 [2020-05-27T11:14:16.656Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-05-27T11:14:16.939Z] ---> 3ba90f8ec2fb [2020-05-27T11:14:16.939Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-05-27T11:14:17.919Z] ---> 73803af2738d [2020-05-27T11:14:17.919Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-05-27T11:14:18.191Z] ---> 90a36b283894 [2020-05-27T11:14:18.191Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-05-27T11:14:18.788Z] ---> 76c2dcedcfbe [2020-05-27T11:14:18.788Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-05-27T11:14:19.399Z] ---> 08442ae37751 [2020-05-27T11:14:19.399Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-05-27T11:14:19.994Z] ---> 6adefbaa4006 [2020-05-27T11:14:19.994Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-05-27T11:14:19.994Z] ---> Running in 01f7f79cfbc1 [2020-05-27T11:14:20.267Z] Removing intermediate container 01f7f79cfbc1 [2020-05-27T11:14:20.267Z] ---> 900eadfa6531 [2020-05-27T11:14:20.267Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-05-27T11:14:20.539Z] ---> Running in 5758a01d7f26 [2020-05-27T11:14:20.812Z] Removing intermediate container 5758a01d7f26 [2020-05-27T11:14:20.812Z] ---> 788f4f824bc3 [2020-05-27T11:14:20.812Z] Step 13/15 : LABEL arch=arm64 [2020-05-27T11:14:21.084Z] ---> Running in d7a649339730 [2020-05-27T11:14:21.358Z] Removing intermediate container d7a649339730 [2020-05-27T11:14:21.358Z] ---> ad57775e27ce [2020-05-27T11:14:21.358Z] Step 14/15 : LABEL git_sha=34c806719c07a595e60a1991047deece8ce10381 [2020-05-27T11:14:21.358Z] ---> Running in c64c4d104e64 [2020-05-27T11:14:21.947Z] Removing intermediate container c64c4d104e64 [2020-05-27T11:14:21.947Z] ---> 5f06411a99a6 [2020-05-27T11:14:21.947Z] Step 15/15 : LABEL version=1.2.1-dev.1 [2020-05-27T11:14:21.947Z] ---> Running in ed6fb07f6351 [2020-05-27T11:14:22.218Z] Removing intermediate container ed6fb07f6351 [2020-05-27T11:14:22.218Z] ---> f301bacc52bc [2020-05-27T11:14:22.218Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2020-05-27T11:14:22.218Z] Successfully built f301bacc52bc [2020-05-27T11:14:22.218Z] 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-05-27T11:14:25.059Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-05-27T11:14:25.059Z] . [Pipeline] withDockerContainer [2020-05-27T11:14:25.185Z] prd-centos7-docker-4c-2g-960 does not seem to be running inside a container [2020-05-27T11:14:25.233Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-05-27T11:14:25.885Z] $ docker top e05f58e7f2d137d7a393887db3d271124a49e02a8426b57ea9f165db5c0cee2d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-05-27T11:14:26.175Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-05-27T11:14:26.175Z] [ssh-agent] Looking for ssh-agent implementation... [2020-05-27T11:14:26.393Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-05-27T11:14:26.397Z] $ docker exec e05f58e7f2d137d7a393887db3d271124a49e02a8426b57ea9f165db5c0cee2d ssh-agent [2020-05-27T11:14:26.576Z] SSH_AUTH_SOCK=/tmp/ssh-7t8BdXHnQrDc/agent.15 [2020-05-27T11:14:26.576Z] SSH_AGENT_PID=22 [2020-05-27T11:14:26.585Z] Running ssh-add (command line suppressed) [2020-05-27T11:14:26.745Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_7100282074909842093.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_7100282074909842093.key) [2020-05-27T11:14:26.806Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-05-27T11:14:27.137Z] + git semver tag [2020-05-27T11:14:27.137Z] # -> Open(): unable to determine branch for HEAD [2020-05-27T11:14:27.137Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2020-05-27T11:14:27.137Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2020-05-27T11:14:27.137Z] # $SEMVER_REMOTE_NAME = origin [2020-05-27T11:14:27.137Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-05-27T11:14:27.137Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-05-27T11:14:27.137Z] # $SEMVER_BRANCH = master [2020-05-27T11:14:27.137Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [2020-05-27T11:14:27.137Z] # 34c806719c07a595e60a1991047deece8ce10381 HEAD [2020-05-27T11:14:27.137Z] # -> Force: false [2020-05-27T11:14:27.137Z] # 576c6aaaced2ce0935bb9ee4926dbe5f5a7517ba refs/tags/v1.2.1-dev.1 [Pipeline] } [2020-05-27T11:14:27.154Z] $ docker exec --env ******** --env ******** e05f58e7f2d137d7a393887db3d271124a49e02a8426b57ea9f165db5c0cee2d ssh-agent -k [2020-05-27T11:14:27.356Z] unset SSH_AUTH_SOCK; [2020-05-27T11:14:27.356Z] unset SSH_AGENT_PID; [2020-05-27T11:14:27.356Z] echo Agent pid 22 killed; [2020-05-27T11:14:27.408Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-05-27T11:14:27.886Z] + git semver [Pipeline] } [2020-05-27T11:14:27.913Z] $ docker stop --time=1 e05f58e7f2d137d7a393887db3d271124a49e02a8426b57ea9f165db5c0cee2d [2020-05-27T11:14:29.295Z] $ docker rm -f e05f58e7f2d137d7a393887db3d271124a49e02a8426b57ea9f165db5c0cee2d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-05-27T11:14:29.931Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-05-27T11:14:29.931Z] [2020-05-27T11:14:29.931Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-05-27T11:14:30.307Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-05-27T11:14:30.307Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-05-27T11:14:30.307Z] ab5ef0e58194: Pulling fs layer [2020-05-27T11:14:30.307Z] 9712f1f96733: Pulling fs layer [2020-05-27T11:14:30.307Z] 63f879dbbcfc: Pulling fs layer [2020-05-27T11:14:30.307Z] 0d9ebad4ef96: Pulling fs layer [2020-05-27T11:14:30.307Z] e9a5061849ea: Pulling fs layer [2020-05-27T11:14:30.307Z] d747dcd14b5f: Pulling fs layer [2020-05-27T11:14:30.307Z] 2de7ff778b66: Pulling fs layer [2020-05-27T11:14:30.307Z] e9a5061849ea: Waiting [2020-05-27T11:14:30.307Z] d747dcd14b5f: Waiting [2020-05-27T11:14:30.307Z] 2de7ff778b66: Waiting [2020-05-27T11:14:30.307Z] 0d9ebad4ef96: Waiting [2020-05-27T11:14:30.307Z] 9712f1f96733: Verifying Checksum [2020-05-27T11:14:30.307Z] 9712f1f96733: Download complete [2020-05-27T11:14:31.291Z] 63f879dbbcfc: Download complete [2020-05-27T11:14:31.291Z] e9a5061849ea: Verifying Checksum [2020-05-27T11:14:31.291Z] e9a5061849ea: Download complete [2020-05-27T11:14:31.291Z] d747dcd14b5f: Verifying Checksum [2020-05-27T11:14:31.291Z] d747dcd14b5f: Download complete [2020-05-27T11:14:31.564Z] ab5ef0e58194: Download complete [2020-05-27T11:14:31.564Z] 0d9ebad4ef96: Verifying Checksum [2020-05-27T11:14:31.564Z] 0d9ebad4ef96: Download complete [2020-05-27T11:14:31.564Z] 2de7ff778b66: Verifying Checksum [2020-05-27T11:14:31.564Z] 2de7ff778b66: Download complete [2020-05-27T11:14:36.880Z] ab5ef0e58194: Pull complete [2020-05-27T11:14:36.880Z] 9712f1f96733: Pull complete [2020-05-27T11:14:39.438Z] 63f879dbbcfc: Pull complete [2020-05-27T11:14:46.047Z] 0d9ebad4ef96: Pull complete [2020-05-27T11:14:46.047Z] e9a5061849ea: Pull complete [2020-05-27T11:14:46.311Z] d747dcd14b5f: Pull complete [2020-05-27T11:14:50.525Z] 2de7ff778b66: Pull complete [2020-05-27T11:14:50.525Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-05-27T11:14:50.525Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-05-27T11:14:50.662Z] prd-centos7-docker-4c-2g-960 does not seem to be running inside a container [2020-05-27T11:14:50.708Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-05-27T11:14:51.379Z] $ docker top 3efbff80decd4ed301fa6675d422473c086886823bc2ad802c4e417fde68c23b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-05-27T11:14:51.661Z] provisioning config files... [2020-05-27T11:14:51.673Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config5905828028163222208tmp [2020-05-27T11:14:51.689Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config5421583371298069884tmp [2020-05-27T11:14:51.703Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config3147267239280157002tmp [Pipeline] { [Pipeline] echo [2020-05-27T11:14:51.752Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-27T11:14:52.046Z] ---> sigul-configuration.sh [2020-05-27T11:14:52.046Z] gpg: directory `/root/.gnupg' created [2020-05-27T11:14:52.046Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-05-27T11:14:52.046Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-05-27T11:14:52.046Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-05-27T11:14:52.046Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-05-27T11:14:52.046Z] gpg: CAST5 encrypted data [2020-05-27T11:14:52.308Z] gpg: encrypted with 1 passphrase [2020-05-27T11:14:52.308Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-05-27T11:14:52.618Z] + mkdir /home/jenkins [2020-05-27T11:14:52.618Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-05-27T11:14:52.910Z] + 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-05-27T11:14:52.920Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-27T11:14:53.212Z] ---> sigul-install.sh [2020-05-27T11:15:01.367Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-05-27T11:15:01.668Z] + git tag --list [2020-05-27T11:15:01.668Z] v1.2.1-dev.1 [Pipeline] sh [2020-05-27T11:15:01.972Z] + lftools sign git-tag v1.2.1-dev.1 [2020-05-27T11:15:03.360Z] Signing Git tag with Sigul... [2020-05-27T11:15:03.360Z] Signing v1.2.1-dev.1 [Pipeline] echo [2020-05-27T11:15:04.759Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-27T11:15:05.053Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-05-27T11:15:05.062Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-05-27T11:15:05.158Z] $ docker stop --time=1 3efbff80decd4ed301fa6675d422473c086886823bc2ad802c4e417fde68c23b [2020-05-27T11:15:06.557Z] $ docker rm -f 3efbff80decd4ed301fa6675d422473c086886823bc2ad802c4e417fde68c23b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-05-27T11:15:07.391Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-05-27T11:15:07.391Z] . [Pipeline] withDockerContainer [2020-05-27T11:15:07.509Z] prd-centos7-docker-4c-2g-960 does not seem to be running inside a container [2020-05-27T11:15:07.553Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-05-27T11:15:08.201Z] $ docker top 7ae6b1a3cd0741fabb0c830e5288413105786978a38fe1b19a1c0485c8247ef7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-05-27T11:15:08.556Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-05-27T11:15:08.556Z] [ssh-agent] Looking for ssh-agent implementation... [2020-05-27T11:15:08.785Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-05-27T11:15:08.789Z] $ docker exec 7ae6b1a3cd0741fabb0c830e5288413105786978a38fe1b19a1c0485c8247ef7 ssh-agent [2020-05-27T11:15:08.982Z] SSH_AUTH_SOCK=/tmp/ssh-5nxTjOxRYWKn/agent.14 [2020-05-27T11:15:08.982Z] SSH_AGENT_PID=21 [2020-05-27T11:15:08.990Z] Running ssh-add (command line suppressed) [2020-05-27T11:15:09.146Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_4264702472739540922.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_4264702472739540922.key) [2020-05-27T11:15:09.198Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-05-27T11:15:09.640Z] + git semver bump pre [2020-05-27T11:15:09.640Z] # -> Open(): unable to determine branch for HEAD [2020-05-27T11:15:09.640Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2020-05-27T11:15:09.640Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2020-05-27T11:15:09.640Z] # $SEMVER_REMOTE_NAME = origin [2020-05-27T11:15:09.640Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-05-27T11:15:09.640Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-05-27T11:15:09.640Z] # $SEMVER_BRANCH = master [2020-05-27T11:15:09.640Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [2020-05-27T11:15:09.676Z] 1.2.1-dev.2 [Pipeline] } [2020-05-27T11:15:09.681Z] $ docker exec --env ******** --env ******** 7ae6b1a3cd0741fabb0c830e5288413105786978a38fe1b19a1c0485c8247ef7 ssh-agent -k [2020-05-27T11:15:09.906Z] unset SSH_AUTH_SOCK; [2020-05-27T11:15:09.906Z] unset SSH_AGENT_PID; [2020-05-27T11:15:09.907Z] echo Agent pid 21 killed; [2020-05-27T11:15:09.960Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-05-27T11:15:10.591Z] + git semver [Pipeline] } [2020-05-27T11:15:10.611Z] $ docker stop --time=1 7ae6b1a3cd0741fabb0c830e5288413105786978a38fe1b19a1c0485c8247ef7 [2020-05-27T11:15:11.957Z] $ docker rm -f 7ae6b1a3cd0741fabb0c830e5288413105786978a38fe1b19a1c0485c8247ef7 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-05-27T11:15:12.537Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-05-27T11:15:12.537Z] . [Pipeline] withDockerContainer [2020-05-27T11:15:13.480Z] prd-centos7-docker-4c-2g-960 does not seem to be running inside a container [2020-05-27T11:15:13.534Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-05-27T11:15:14.084Z] $ docker top fd2e30e8264a8875847ef99e2d53cd2eb1718be1e81cec9390a3db71c1583e9d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-05-27T11:15:14.436Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-05-27T11:15:14.436Z] [ssh-agent] Looking for ssh-agent implementation... [2020-05-27T11:15:14.629Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-05-27T11:15:14.634Z] $ docker exec fd2e30e8264a8875847ef99e2d53cd2eb1718be1e81cec9390a3db71c1583e9d ssh-agent [2020-05-27T11:15:14.829Z] SSH_AUTH_SOCK=/tmp/ssh-RWn6oH52ZFUZ/agent.15 [2020-05-27T11:15:14.829Z] SSH_AGENT_PID=21 [2020-05-27T11:15:14.836Z] Running ssh-add (command line suppressed) [2020-05-27T11:15:14.990Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_6400980297330085739.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_6400980297330085739.key) [2020-05-27T11:15:15.047Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-05-27T11:15:15.423Z] + git semver push [2020-05-27T11:15:15.423Z] # -> Open(): unable to determine branch for HEAD [2020-05-27T11:15:15.423Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2020-05-27T11:15:15.423Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2020-05-27T11:15:15.423Z] # $SEMVER_REMOTE_NAME = origin [2020-05-27T11:15:15.423Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-05-27T11:15:15.423Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-05-27T11:15:15.423Z] # $SEMVER_BRANCH = master [2020-05-27T11:15:15.423Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [Pipeline] } [2020-05-27T11:15:22.027Z] $ docker exec --env ******** --env ******** fd2e30e8264a8875847ef99e2d53cd2eb1718be1e81cec9390a3db71c1583e9d ssh-agent -k [2020-05-27T11:15:22.175Z] unset SSH_AUTH_SOCK; [2020-05-27T11:15:22.175Z] unset SSH_AGENT_PID; [2020-05-27T11:15:22.175Z] echo Agent pid 21 killed; [2020-05-27T11:15:22.231Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-05-27T11:15:22.887Z] + git semver [Pipeline] } [2020-05-27T11:15:22.903Z] $ docker stop --time=1 fd2e30e8264a8875847ef99e2d53cd2eb1718be1e81cec9390a3db71c1583e9d [2020-05-27T11:15:24.281Z] $ docker rm -f fd2e30e8264a8875847ef99e2d53cd2eb1718be1e81cec9390a3db71c1583e9d [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-05-27T11:15:25.567Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-27T11:15:25.865Z] ---> package-listing.sh [2020-05-27T11:15:25.865Z] ++ facter osfamily [2020-05-27T11:15:25.865Z] ++ tr '[:upper:]' '[:lower:]' [2020-05-27T11:15:25.865Z] + OS_FAMILY=redhat [2020-05-27T11:15:25.865Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_master [2020-05-27T11:15:25.865Z] + START_PACKAGES=/tmp/packages_start.txt [2020-05-27T11:15:25.865Z] + END_PACKAGES=/tmp/packages_end.txt [2020-05-27T11:15:25.865Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-05-27T11:15:25.865Z] + PACKAGES=/tmp/packages_start.txt [2020-05-27T11:15:25.865Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_master ']' [2020-05-27T11:15:25.865Z] + PACKAGES=/tmp/packages_end.txt [2020-05-27T11:15:25.865Z] + case "${OS_FAMILY}" in [2020-05-27T11:15:25.865Z] + rpm -qa [2020-05-27T11:15:25.865Z] + sort [2020-05-27T11:15:30.081Z] + '[' -f /tmp/packages_start.txt ']' [2020-05-27T11:15:30.081Z] + '[' -f /tmp/packages_end.txt ']' [2020-05-27T11:15:30.081Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-05-27T11:15:30.081Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_master ']' [2020-05-27T11:15:30.081Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_master/archives/ [2020-05-27T11:15:30.081Z] + 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-05-27T11:15:30.522Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-05-27T11:15:30.522Z] [2020-05-27T11:15:30.522Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-05-27T11:15:30.870Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-05-27T11:15:30.870Z] alpine: Pulling from edgex-lftools-log-publisher [2020-05-27T11:15:30.870Z] c9b1b535fdd9: Pulling fs layer [2020-05-27T11:15:30.870Z] 2cc5ad85d9ab: Pulling fs layer [2020-05-27T11:15:30.870Z] 756a868c4378: Pulling fs layer [2020-05-27T11:15:30.870Z] 444b2fc9a129: Pulling fs layer [2020-05-27T11:15:30.870Z] ea15f1150254: Pulling fs layer [2020-05-27T11:15:30.870Z] 41b27a9f41bf: Pulling fs layer [2020-05-27T11:15:30.870Z] 28c525ee5125: Pulling fs layer [2020-05-27T11:15:30.870Z] 094b1ea09ed8: Pulling fs layer [2020-05-27T11:15:30.870Z] 138eaada9080: Pulling fs layer [2020-05-27T11:15:30.870Z] 0622d0fa9048: Pulling fs layer [2020-05-27T11:15:30.870Z] 41b27a9f41bf: Waiting [2020-05-27T11:15:30.870Z] 28c525ee5125: Waiting [2020-05-27T11:15:30.870Z] 094b1ea09ed8: Waiting [2020-05-27T11:15:30.870Z] 138eaada9080: Waiting [2020-05-27T11:15:30.870Z] 0622d0fa9048: Waiting [2020-05-27T11:15:30.870Z] 444b2fc9a129: Waiting [2020-05-27T11:15:30.870Z] ea15f1150254: Waiting [2020-05-27T11:15:30.870Z] 2cc5ad85d9ab: Download complete [2020-05-27T11:15:30.870Z] 444b2fc9a129: Verifying Checksum [2020-05-27T11:15:30.870Z] 444b2fc9a129: Download complete [2020-05-27T11:15:30.870Z] c9b1b535fdd9: Verifying Checksum [2020-05-27T11:15:30.870Z] c9b1b535fdd9: Download complete [2020-05-27T11:15:30.870Z] ea15f1150254: Verifying Checksum [2020-05-27T11:15:30.870Z] ea15f1150254: Download complete [2020-05-27T11:15:31.146Z] 28c525ee5125: Verifying Checksum [2020-05-27T11:15:31.146Z] 28c525ee5125: Download complete [2020-05-27T11:15:31.411Z] 756a868c4378: Verifying Checksum [2020-05-27T11:15:31.411Z] 756a868c4378: Download complete [2020-05-27T11:15:31.411Z] 094b1ea09ed8: Verifying Checksum [2020-05-27T11:15:31.411Z] 094b1ea09ed8: Download complete [2020-05-27T11:15:31.411Z] 138eaada9080: Verifying Checksum [2020-05-27T11:15:31.411Z] 138eaada9080: Download complete [2020-05-27T11:15:31.411Z] 0622d0fa9048: Verifying Checksum [2020-05-27T11:15:31.411Z] 0622d0fa9048: Download complete [2020-05-27T11:15:31.674Z] c9b1b535fdd9: Pull complete [2020-05-27T11:15:31.936Z] 41b27a9f41bf: Verifying Checksum [2020-05-27T11:15:31.936Z] 41b27a9f41bf: Download complete [2020-05-27T11:15:32.879Z] 2cc5ad85d9ab: Pull complete [2020-05-27T11:15:34.268Z] 756a868c4378: Pull complete [2020-05-27T11:15:34.268Z] 444b2fc9a129: Pull complete [2020-05-27T11:15:34.528Z] ea15f1150254: Pull complete [2020-05-27T11:15:38.765Z] 41b27a9f41bf: Pull complete [2020-05-27T11:15:38.765Z] 28c525ee5125: Pull complete [2020-05-27T11:15:40.163Z] 094b1ea09ed8: Pull complete [2020-05-27T11:15:40.423Z] 138eaada9080: Pull complete [2020-05-27T11:15:40.423Z] 0622d0fa9048: Pull complete [2020-05-27T11:15:40.423Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-05-27T11:15:40.423Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-05-27T11:15:40.543Z] prd-centos7-docker-4c-2g-960 does not seem to be running inside a container [2020-05-27T11:15:40.588Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-05-27T11:15:41.079Z] $ docker top 561c03a496c4710dd4a37c7b04ac6ca11fe798464211bb160e0331ce33038dbd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-05-27T11:15:41.384Z] provisioning config files... [2020-05-27T11:15:41.403Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config1193090293130627579tmp [Pipeline] { [Pipeline] echo [2020-05-27T11:15:41.532Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-27T11:15:41.825Z] ---> create-netrc.sh [Pipeline] echo [2020-05-27T11:15:41.835Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-27T11:15:42.135Z] ---> logs-deploy.sh [2020-05-27T11:15:42.135Z] + ARCHIVE_ARTIFACTS= [2020-05-27T11:15:42.135Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-05-27T11:15:42.135Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-05-27T11:15:42.135Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-05-27T11:15:42.135Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/master/21 [2020-05-27T11:15:42.135Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/master/21/ [2020-05-27T11:15:42.135Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/master/21 /w/workspace/edgexfoundry_device-sdk-c_master [2020-05-27T11:15:43.077Z] Archives upload complete. [2020-05-27T11:15:43.338Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/master/21 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/master/21/