Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 9c55f022443565d876ce2e8ecf330b8742e19320 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 370697454611dc68c0596e0d0a50477a8de841a8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 370697454611dc68c0596e0d0a50477a8de841a8 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-3.11-base, dockerFilePath:scripts/Dockerfile.alpine-3.11, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine-3.11 DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-3.11-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-c DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-5153 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 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 Fetching without tags Checking out Revision 9c55f022443565d876ce2e8ecf330b8742e19320 (master) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 9c55f022443565d876ce2e8ecf330b8742e19320 # timeout=10 Commit message: "Merge pull request #276 from iain-anderson/issue-274-branch" > git rev-list --no-walk 0776142c6d3161b910df185b7a9c1c513e53f5f6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-07-03T15:39:52.369Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-07-03T15:39:52.550Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-07-03T15:39:52.589Z] ========================================================= [2020-07-03T15:39:52.590Z] EdgeX Global Pipelines Version Info [2020-07-03T15:39:52.590Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-07-03T15:39:54.414Z] ------------------- [2020-07-03T15:39:54.414Z] stable info: [2020-07-03T15:39:54.414Z] ------------------- [2020-07-03T15:39:54.414Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-07-03T15:39:54.414Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-07-03T15:39:54.414Z] Message: update stable to v1.0.89 [2020-07-03T15:39:54.990Z] ------------------- [2020-07-03T15:39:54.990Z] experimental info: [2020-07-03T15:39:54.990Z] ------------------- [2020-07-03T15:39:54.990Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-07-03T15:39:54.990Z] Commit SHA: 50d5b24b0ab5f81d75c339234d0e2512bee9338e [2020-07-03T15:39:54.990Z] Message: update experimental to v1.0.91 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-07-03T15:39:56.774Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-03T15:39:56.774Z] [2020-07-03T15:39:56.774Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-07-03T15:39:57.130Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-03T15:39:57.130Z] latest: Pulling from edgex-devops/git-semver [2020-07-03T15:39:57.130Z] 9123ac7c32f7: Pulling fs layer [2020-07-03T15:39:57.130Z] b8cc5d1170e3: Pulling fs layer [2020-07-03T15:39:57.130Z] 2924cbbf6a41: Pulling fs layer [2020-07-03T15:39:57.130Z] 93b08a4f1073: Pulling fs layer [2020-07-03T15:39:57.130Z] 93b08a4f1073: Waiting [2020-07-03T15:39:57.130Z] b8cc5d1170e3: Download complete [2020-07-03T15:39:57.400Z] 9123ac7c32f7: Verifying Checksum [2020-07-03T15:39:57.400Z] 9123ac7c32f7: Download complete [2020-07-03T15:39:57.400Z] 93b08a4f1073: Verifying Checksum [2020-07-03T15:39:57.400Z] 93b08a4f1073: Download complete [2020-07-03T15:39:57.400Z] 2924cbbf6a41: Verifying Checksum [2020-07-03T15:39:57.400Z] 2924cbbf6a41: Download complete [2020-07-03T15:39:57.662Z] 9123ac7c32f7: Pull complete [2020-07-03T15:39:57.662Z] b8cc5d1170e3: Pull complete [2020-07-03T15:39:58.613Z] 2924cbbf6a41: Pull complete [2020-07-03T15:39:58.875Z] 93b08a4f1073: Pull complete [2020-07-03T15:39:58.875Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-07-03T15:39:58.875Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-03T15:39:58.875Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-07-03T15:39:59.009Z] prd-centos7-docker-4c-2g-5153 does not seem to be running inside a container [2020-07-03T15:39:59.047Z] $ 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-07-03T15:40:01.117Z] $ docker top 9e0b0622ffb9b25898ecbeb9fb6b02294d049f15b091d65131855d1c619e4fe5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-07-03T15:40:01.323Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-03T15:40:01.323Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-03T15:40:01.554Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-03T15:40:01.549Z] $ docker exec 9e0b0622ffb9b25898ecbeb9fb6b02294d049f15b091d65131855d1c619e4fe5 ssh-agent [2020-07-03T15:40:01.799Z] SSH_AUTH_SOCK=/tmp/ssh-D0JQtKoeuJ7o/agent.12 [2020-07-03T15:40:01.799Z] SSH_AGENT_PID=18 [2020-07-03T15:40:01.812Z] Running ssh-add (command line suppressed) [2020-07-03T15:40:01.963Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_6577060326242772067.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_6577060326242772067.key) [2020-07-03T15:40:02.037Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-03T15:40:02.353Z] + git describe --exact-match --tags HEAD [2020-07-03T15:40:02.353Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-07-03T15:40:02.398Z] $ docker exec --env ******** --env ******** 9e0b0622ffb9b25898ecbeb9fb6b02294d049f15b091d65131855d1c619e4fe5 ssh-agent -k [2020-07-03T15:40:02.693Z] unset SSH_AUTH_SOCK; [2020-07-03T15:40:02.696Z] unset SSH_AGENT_PID; [2020-07-03T15:40:02.696Z] echo Agent pid 18 killed; [2020-07-03T15:40:02.762Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-07-03T15:40:02.799Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-07-03T15:40:02.799Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-07-03T15:40:02.842Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-03T15:40:02.842Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-03T15:40:03.107Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-03T15:40:03.100Z] $ docker exec 9e0b0622ffb9b25898ecbeb9fb6b02294d049f15b091d65131855d1c619e4fe5 ssh-agent [2020-07-03T15:40:03.324Z] SSH_AUTH_SOCK=/tmp/ssh-th88XnsgSRgj/agent.48 [2020-07-03T15:40:03.324Z] SSH_AGENT_PID=54 [2020-07-03T15:40:03.331Z] Running ssh-add (command line suppressed) [2020-07-03T15:40:03.475Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_6538527127815752451.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_6538527127815752451.key) [2020-07-03T15:40:03.570Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-03T15:40:03.891Z] + git semver init [2020-07-03T15:40:03.891Z] # -> Open(): unable to determine branch for HEAD [2020-07-03T15:40:03.891Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2020-07-03T15:40:03.891Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2020-07-03T15:40:03.891Z] # $SEMVER_REMOTE_NAME = origin [2020-07-03T15:40:03.891Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-07-03T15:40:03.891Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-07-03T15:40:03.891Z] # $SEMVER_BRANCH = master [2020-07-03T15:40:03.891Z] # $SEMVER_TEMP = /tmp/semver-824320869 [2020-07-03T15:40:03.891Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2020-07-03T15:40:05.281Z] # '/tmp/semver-824320869' -> '/w/workspace/edgexfoundry_device-sdk-c_master/.semver' [2020-07-03T15:40:05.281Z] # -> Force: false [2020-07-03T15:40:05.281Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [Pipeline] } [2020-07-03T15:40:05.293Z] $ docker exec --env ******** --env ******** 9e0b0622ffb9b25898ecbeb9fb6b02294d049f15b091d65131855d1c619e4fe5 ssh-agent -k [2020-07-03T15:40:05.421Z] unset SSH_AUTH_SOCK; [2020-07-03T15:40:05.421Z] unset SSH_AGENT_PID; [2020-07-03T15:40:05.421Z] echo Agent pid 54 killed; [2020-07-03T15:40:05.481Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-07-03T15:40:05.846Z] + git semver [Pipeline] } [2020-07-03T15:40:05.850Z] $ docker stop --time=1 9e0b0622ffb9b25898ecbeb9fb6b02294d049f15b091d65131855d1c619e4fe5 [2020-07-03T15:40:07.420Z] $ docker rm -f 9e0b0622ffb9b25898ecbeb9fb6b02294d049f15b091d65131855d1c619e4fe5 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-07-03T15:40:08.060Z] Stashed 50 file(s) [Pipeline] echo [2020-07-03T15:40:08.063Z] [edgeXSemver] initialized semver on version 1.2.2-dev.8 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-07-03T15:40:23.233Z] Still waiting to schedule task [2020-07-03T15:40:23.233Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-5153’ [2020-07-03T15:40:23.234Z] Still waiting to schedule task [2020-07-03T15:40:23.234Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-07-03T15:42:00.051Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5154 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] ws [2020-07-03T15:42:00.075Z] Running in /w/workspace/device-sdk-c/32 [Pipeline] { [Pipeline] checkout [2020-07-03T15:42:05.140Z] using credential edgex-jenkins-ssh [2020-07-03T15:42:05.178Z] Cloning the remote Git repository [2020-07-03T15:42:05.178Z] Cloning with configured refspecs honoured and without tags [2020-07-03T15:42:05.207Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-07-03T15:42:05.308Z] > git init /w/workspace/device-sdk-c/32 # timeout=10 [2020-07-03T15:42:05.391Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-07-03T15:42:05.392Z] > git --version # timeout=10 [2020-07-03T15:42:05.410Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-03T15:42:05.469Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-03T15:42:06.480Z] Fetching without tags [2020-07-03T15:42:07.014Z] Checking out Revision 9c55f022443565d876ce2e8ecf330b8742e19320 (master) [2020-07-03T15:42:06.381Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-07-03T15:42:06.403Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-03T15:42:06.431Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-07-03T15:42:06.466Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-07-03T15:42:06.466Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-03T15:42:06.486Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-03T15:42:07.007Z] > git config core.sparsecheckout # timeout=10 [2020-07-03T15:42:07.025Z] > git checkout -f 9c55f022443565d876ce2e8ecf330b8742e19320 # timeout=10 [2020-07-03T15:42:11.403Z] Commit message: "Merge pull request #276 from iain-anderson/issue-274-branch" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-07-03T15:42:12.499Z] ========================================================= [2020-07-03T15:42:12.499Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2020-07-03T15:42:12.499Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-03T15:42:13.496Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-3.11-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2020-07-03T15:42:14.487Z] Sending build context to Docker daemon 3.348MB [2020-07-03T15:42:14.487Z] Step 1/21 : ARG BASE=alpine:3.11 [2020-07-03T15:42:14.487Z] Step 2/21 : FROM ${BASE} as builder [2020-07-03T15:42:14.762Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2020-07-03T15:42:14.762Z] 0362ad1dd800: Pulling fs layer [2020-07-03T15:42:14.762Z] f2cdb1532d8b: Pulling fs layer [2020-07-03T15:42:14.762Z] 37ed683be191: Pulling fs layer [2020-07-03T15:42:14.762Z] f2cdb1532d8b: Verifying Checksum [2020-07-03T15:42:14.762Z] f2cdb1532d8b: Download complete [2020-07-03T15:42:14.762Z] 0362ad1dd800: Verifying Checksum [2020-07-03T15:42:14.762Z] 0362ad1dd800: Download complete [2020-07-03T15:42:15.758Z] 0362ad1dd800: Pull complete [2020-07-03T15:42:16.091Z] f2cdb1532d8b: Pull complete [2020-07-03T15:42:17.082Z] 37ed683be191: Verifying Checksum [2020-07-03T15:42:17.082Z] 37ed683be191: Download complete [2020-07-03T15:42:25.384Z] 37ed683be191: Pull complete [2020-07-03T15:42:25.384Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2020-07-03T15:42:25.384Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2020-07-03T15:42:25.384Z] ---> b23d30803547 [2020-07-03T15:42:25.384Z] Step 3/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev [2020-07-03T15:42:27.364Z] ---> Running in fa31b94fc0b4 [2020-07-03T15:42:29.344Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-07-03T15:42:29.615Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-07-03T15:42:30.213Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-07-03T15:42:30.213Z] (2/8) Installing libuuid (2.33-r0) [2020-07-03T15:42:30.213Z] (3/8) Installing libblkid (2.33-r0) [2020-07-03T15:42:30.213Z] (4/8) Installing libfdisk (2.33-r0) [2020-07-03T15:42:30.484Z] (5/8) Installing libmount (2.33-r0) [2020-07-03T15:42:30.484Z] (6/8) Installing libsmartcols (2.33-r0) [2020-07-03T15:42:30.484Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-07-03T15:42:30.757Z] (8/8) Installing wget (1.20.3-r0) [2020-07-03T15:42:31.029Z] Executing busybox-1.29.3-r10.trigger [2020-07-03T15:42:31.029Z] OK: 285 MiB in 83 packages [2020-07-03T15:42:32.462Z] Removing intermediate container fa31b94fc0b4 [2020-07-03T15:42:32.462Z] ---> a63ad7e78203 [2020-07-03T15:42:32.462Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-07-03T15:42:32.462Z] ---> Running in d3292d66f70e [2020-07-03T15:42:33.057Z] Removing intermediate container d3292d66f70e [2020-07-03T15:42:33.057Z] ---> d313aaef397b [2020-07-03T15:42:33.057Z] Step 5/21 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2020-07-03T15:42:33.058Z] ---> Running in fa90f95d0f84 [2020-07-03T15:42:34.486Z] --2020-07-03 15:42:34-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-07-03T15:42:34.486Z] Resolving github.com... 140.82.112.3 [2020-07-03T15:42:34.486Z] Connecting to github.com|140.82.112.3|:443... connected. [2020-07-03T15:42:34.486Z] HTTP request sent, awaiting response... 302 Found [2020-07-03T15:42:34.486Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-07-03T15:42:34.486Z] --2020-07-03 15:42:34-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-07-03T15:42:34.486Z] Resolving codeload.github.com... 140.82.113.9 [2020-07-03T15:42:34.756Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2020-07-03T15:42:34.756Z] HTTP request sent, awaiting response... 200 OK [2020-07-03T15:42:34.756Z] Length: unspecified [application/x-gzip] [2020-07-03T15:42:34.756Z] Saving to: 'STDOUT' [2020-07-03T15:42:34.756Z]  [2020-07-03T15:42:34.756Z] 0K .......... .......... .......... .......... .......... 1.55M [2020-07-03T15:42:34.756Z] 50K .......... .......... .......... .......... .......... 3.01M [2020-07-03T15:42:34.756Z] 100K .......... .......... .......... .......... .......... 3.14M [2020-07-03T15:42:34.756Z] 150K .......... .......... .......... .......... .......... 13.9M [2020-07-03T15:42:34.756Z] 200K .......... .......... .......... .......... .......... 13.9M [2020-07-03T15:42:34.756Z] 250K .......... .......... .......... .......... .......... 3.21M [2020-07-03T15:42:34.756Z] 300K .......... .......... .......... .......... .......... 4.60M [2020-07-03T15:42:34.756Z] 350K .......... .......... .......... .......... .......... 4.12M [2020-07-03T15:42:35.027Z] 400K .......... .......... .......... .......... .......... 3.46M [2020-07-03T15:42:35.027Z] 450K .......... .......... .......... .......... .......... 4.71M [2020-07-03T15:42:35.027Z] 500K .......... .......... .......... .......... .......... 5.35M [2020-07-03T15:42:35.027Z] 550K .......... .......... .......... .......... .......... 1.95M [2020-07-03T15:42:35.027Z] 600K .......... .......... .......... .......... .......... 1.04M [2020-07-03T15:42:35.027Z] 650K .......... .......... .......... .......... .......... 2.29M [2020-07-03T15:42:35.027Z] 700K .. 4.70M=0.2s [2020-07-03T15:42:35.027Z] [2020-07-03T15:42:35.027Z] 2020-07-03 15:42:34 (2.92 MB/s) - written to stdout [719348] [2020-07-03T15:42:35.027Z] [2020-07-03T15:42:35.305Z] -- The C compiler identification is GNU 8.3.0 [2020-07-03T15:42:35.581Z] -- The CXX compiler identification is GNU 8.3.0 [2020-07-03T15:42:35.581Z] -- Check for working C compiler: /usr/bin/cc [2020-07-03T15:42:35.858Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-07-03T15:42:35.858Z] -- Detecting C compiler ABI info [2020-07-03T15:42:36.131Z] -- Detecting C compiler ABI info - done [2020-07-03T15:42:36.131Z] -- Detecting C compile features [2020-07-03T15:42:36.737Z] -- Detecting C compile features - done [2020-07-03T15:42:36.737Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-07-03T15:42:37.010Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-07-03T15:42:37.010Z] -- Detecting CXX compiler ABI info [2020-07-03T15:42:37.288Z] -- Detecting CXX compiler ABI info - done [2020-07-03T15:42:37.288Z] -- Detecting CXX compile features [2020-07-03T15:42:38.733Z] -- Detecting CXX compile features - done [2020-07-03T15:42:38.733Z] -- Looking for include file endian.h [2020-07-03T15:42:39.008Z] -- Looking for include file endian.h - found [2020-07-03T15:42:39.008Z] -- Check if the system is big endian [2020-07-03T15:42:39.008Z] -- Searching 16 bit integer [2020-07-03T15:42:39.008Z] -- Looking for sys/types.h [2020-07-03T15:42:39.282Z] -- Looking for sys/types.h - found [2020-07-03T15:42:39.282Z] -- Looking for stdint.h [2020-07-03T15:42:39.282Z] -- Looking for stdint.h - found [2020-07-03T15:42:39.282Z] -- Looking for stddef.h [2020-07-03T15:42:39.555Z] -- Looking for stddef.h - found [2020-07-03T15:42:39.555Z] -- Check size of unsigned short [2020-07-03T15:42:39.826Z] -- Check size of unsigned short - done [2020-07-03T15:42:39.826Z] -- Using unsigned short [2020-07-03T15:42:40.099Z] -- Check if the system is big endian - little endian [2020-07-03T15:42:40.099Z] -- Check size of size_t [2020-07-03T15:42:40.372Z] -- Check size of size_t - done [2020-07-03T15:42:40.372Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-07-03T15:42:40.372Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-07-03T15:42:40.372Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-07-03T15:42:40.372Z] CMake did not find one. [2020-07-03T15:42:40.372Z] [2020-07-03T15:42:40.372Z] Could not find a package configuration file provided by "cJSON" with any of [2020-07-03T15:42:40.372Z] the following names: [2020-07-03T15:42:40.372Z] [2020-07-03T15:42:40.372Z] cJSONConfig.cmake [2020-07-03T15:42:40.372Z] cjson-config.cmake [2020-07-03T15:42:40.372Z] [2020-07-03T15:42:40.372Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-07-03T15:42:40.372Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-07-03T15:42:40.372Z] provides a separate development package or SDK, be sure it has been [2020-07-03T15:42:40.372Z] installed. [2020-07-03T15:42:40.372Z] [2020-07-03T15:42:40.372Z] [2020-07-03T15:42:40.372Z] -- Configuring done [2020-07-03T15:42:40.644Z] -- Generating done [2020-07-03T15:42:40.644Z] -- Build files have been written to: /tmp/cbor [2020-07-03T15:42:40.644Z] Scanning dependencies of target cbor_shared [2020-07-03T15:42:40.917Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-07-03T15:42:41.508Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-07-03T15:42:42.102Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-07-03T15:42:42.373Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-07-03T15:42:42.967Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-07-03T15:42:43.245Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-07-03T15:42:43.245Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-07-03T15:42:43.516Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-07-03T15:42:43.787Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-07-03T15:42:44.061Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-07-03T15:42:44.652Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-07-03T15:42:44.925Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-07-03T15:42:45.202Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-07-03T15:42:45.473Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-07-03T15:42:45.746Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-07-03T15:42:46.016Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-07-03T15:42:46.285Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-07-03T15:42:46.557Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-07-03T15:42:46.557Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-07-03T15:42:47.149Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-07-03T15:42:47.149Z] [ 40%] Linking C shared library libcbor.so [2020-07-03T15:42:47.149Z] [ 40%] Built target cbor_shared [2020-07-03T15:42:47.149Z] Scanning dependencies of target cbor [2020-07-03T15:42:47.421Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-07-03T15:42:48.020Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-07-03T15:42:48.608Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-07-03T15:42:48.880Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-07-03T15:42:49.851Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-07-03T15:42:50.121Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-07-03T15:42:50.393Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-07-03T15:42:50.665Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-07-03T15:42:50.665Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-07-03T15:42:50.938Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-07-03T15:42:51.495Z] Running on prd-centos7-docker-4c-2g-5155 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] ws [2020-07-03T15:42:51.518Z] Running in /w/workspace/device-sdk-c/32 [Pipeline] { [Pipeline] checkout [2020-07-03T15:42:51.909Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-07-03T15:42:51.909Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-07-03T15:42:52.499Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-07-03T15:42:52.774Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-07-03T15:42:53.051Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-07-03T15:42:53.321Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-07-03T15:42:53.592Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-07-03T15:42:53.727Z] using credential edgex-jenkins-ssh [2020-07-03T15:42:53.751Z] Cloning the remote Git repository [2020-07-03T15:42:53.751Z] Cloning with configured refspecs honoured and without tags [2020-07-03T15:42:53.865Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-07-03T15:42:53.865Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-07-03T15:42:53.775Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-07-03T15:42:53.839Z] > git init /w/workspace/device-sdk-c/32 # timeout=10 [2020-07-03T15:42:53.963Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-07-03T15:42:53.964Z] > git --version # timeout=10 [2020-07-03T15:42:54.460Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-07-03T15:42:54.460Z] [ 80%] Linking C static library libcbor.a [2020-07-03T15:42:54.460Z] [ 80%] Built target cbor [2020-07-03T15:42:54.460Z] Scanning dependencies of target create_items [2020-07-03T15:42:54.460Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-07-03T15:42:54.573Z] Fetching without tags [2020-07-03T15:42:54.731Z] [ 84%] Linking C executable create_items [2020-07-03T15:42:54.731Z] [ 84%] Built target create_items [2020-07-03T15:42:54.731Z] Scanning dependencies of target readfile [2020-07-03T15:42:54.985Z] Checking out Revision 9c55f022443565d876ce2e8ecf330b8742e19320 (master) [2020-07-03T15:42:55.003Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-07-03T15:42:55.003Z] [ 88%] Linking C executable readfile [2020-07-03T15:42:53.973Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-03T15:42:54.003Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-03T15:42:54.542Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-07-03T15:42:54.553Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-03T15:42:54.564Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-07-03T15:42:54.576Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-07-03T15:42:54.576Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-03T15:42:54.580Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-03T15:42:54.992Z] > git config core.sparsecheckout # timeout=10 [2020-07-03T15:42:54.997Z] > git checkout -f 9c55f022443565d876ce2e8ecf330b8742e19320 # timeout=10 [2020-07-03T15:42:55.274Z] [ 88%] Built target readfile [2020-07-03T15:42:55.274Z] Scanning dependencies of target streaming_parser [2020-07-03T15:42:55.274Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-07-03T15:42:55.548Z] [ 92%] Linking C executable streaming_parser [2020-07-03T15:42:55.548Z] [ 92%] Built target streaming_parser [2020-07-03T15:42:55.548Z] Scanning dependencies of target sort [2020-07-03T15:42:55.548Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-07-03T15:42:55.820Z] [ 96%] Linking C executable sort [2020-07-03T15:42:55.820Z] [ 96%] Built target sort [2020-07-03T15:42:55.820Z] Scanning dependencies of target hello [2020-07-03T15:42:55.820Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-07-03T15:42:56.092Z] [100%] Linking C executable hello [2020-07-03T15:42:56.092Z] [100%] Built target hello [2020-07-03T15:42:56.092Z] Install the project... [2020-07-03T15:42:56.092Z] -- Install configuration: "Release" [2020-07-03T15:42:56.092Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-07-03T15:42:56.092Z] -- Installing: /usr/local/lib64/libcbor.a [2020-07-03T15:42:56.092Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-07-03T15:42:56.092Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-07-03T15:42:56.092Z] -- Installing: /usr/local/lib64/libcbor.so [2020-07-03T15:42:56.092Z] -- Up-to-date: /usr/local/include/cbor [2020-07-03T15:42:56.092Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-07-03T15:42:56.092Z] -- Installing: /usr/local/include/cbor/ints.h [2020-07-03T15:42:56.092Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-07-03T15:42:56.092Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-07-03T15:42:56.092Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-07-03T15:42:56.092Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-07-03T15:42:56.092Z] -- Installing: /usr/local/include/cbor/data.h [2020-07-03T15:42:56.092Z] -- Installing: /usr/local/include/cbor/common.h [2020-07-03T15:42:56.092Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-07-03T15:42:56.092Z] -- Installing: /usr/local/include/cbor/strings.h [2020-07-03T15:42:56.092Z] -- Installing: /usr/local/include/cbor/tags.h [2020-07-03T15:42:56.092Z] -- Installing: /usr/local/include/cbor/internal [2020-07-03T15:42:56.366Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-07-03T15:42:56.366Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-07-03T15:42:56.366Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-07-03T15:42:56.366Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-07-03T15:42:56.366Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-07-03T15:42:56.366Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-07-03T15:42:56.366Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-07-03T15:42:56.366Z] -- Installing: /usr/local/include/cbor/maps.h [2020-07-03T15:42:56.366Z] -- Installing: /usr/local/include/cbor.h [2020-07-03T15:42:56.366Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-07-03T15:42:58.353Z] Removing intermediate container fa90f95d0f84 [2020-07-03T15:42:58.353Z] ---> a32ca0d7a05a [2020-07-03T15:42:58.353Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-07-03T15:42:58.353Z] ---> Running in a77a411bfb36 [2020-07-03T15:42:58.596Z] Commit message: "Merge pull request #276 from iain-anderson/issue-274-branch" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-07-03T15:42:59.275Z] ========================================================= [2020-07-03T15:42:59.276Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2020-07-03T15:42:59.276Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-03T15:42:59.930Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-3.11-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2020-07-03T15:43:00.504Z] Sending build context to Docker daemon 3.348MB [2020-07-03T15:43:00.504Z] Step 1/21 : ARG BASE=alpine:3.11 [2020-07-03T15:43:00.504Z] Step 2/21 : FROM ${BASE} as builder [2020-07-03T15:43:00.504Z] latest: Pulling from edgex-devops/edgex-gcc-base [2020-07-03T15:43:00.504Z] e7c96db7181b: Pulling fs layer [2020-07-03T15:43:00.504Z] 4c13bbce0fe7: Pulling fs layer [2020-07-03T15:43:00.504Z] 6059c847ac2f: Pulling fs layer [2020-07-03T15:43:00.504Z] 4c13bbce0fe7: Download complete [2020-07-03T15:43:00.504Z] e7c96db7181b: Verifying Checksum [2020-07-03T15:43:00.504Z] e7c96db7181b: Download complete [2020-07-03T15:43:00.770Z] e7c96db7181b: Pull complete [2020-07-03T15:43:00.985Z] Removing intermediate container a77a411bfb36 [2020-07-03T15:43:00.985Z] ---> 0466b1e604cf [2020-07-03T15:43:00.986Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-07-03T15:43:01.039Z] 4c13bbce0fe7: Pull complete [2020-07-03T15:43:01.579Z] ---> a6a44ef58cd6 [2020-07-03T15:43:01.580Z] Step 8/21 : COPY src /tmp/sdk/src [2020-07-03T15:43:01.613Z] 6059c847ac2f: Verifying Checksum [2020-07-03T15:43:01.613Z] 6059c847ac2f: Download complete [2020-07-03T15:43:02.554Z] ---> ef62b3d156a5 [2020-07-03T15:43:02.554Z] Step 9/21 : COPY include /tmp/sdk/include [2020-07-03T15:43:03.149Z] ---> 1aa71617fb4d [2020-07-03T15:43:03.149Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-07-03T15:43:03.743Z] ---> 4097e2a2e9a0 [2020-07-03T15:43:03.743Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-07-03T15:43:04.340Z] ---> 4db45f390143 [2020-07-03T15:43:04.340Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-07-03T15:43:04.934Z] ---> 112a2d306c8b [2020-07-03T15:43:04.934Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-07-03T15:43:05.206Z] ---> Running in 902ac718b612 [2020-07-03T15:43:05.841Z] 6059c847ac2f: Pull complete [2020-07-03T15:43:05.841Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2020-07-03T15:43:05.841Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2020-07-03T15:43:05.841Z] ---> 5eabd8fd8ba2 [2020-07-03T15:43:05.841Z] Step 3/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev [2020-07-03T15:43:06.634Z] + CPPCHECK=false [2020-07-03T15:43:06.634Z] + DOCGEN=false [2020-07-03T15:43:06.634Z] + TOMLVER=SDK-0.2 [2020-07-03T15:43:06.634Z] + CUTILVER=1.0.4 [2020-07-03T15:43:06.634Z] + '[' 0 -gt 0 ] [2020-07-03T15:43:06.634Z] + readlink -f ./scripts/build.sh [2020-07-03T15:43:06.634Z] + dirname /tmp/sdk/scripts/build.sh [2020-07-03T15:43:06.634Z] + dirname /tmp/sdk/scripts [2020-07-03T15:43:06.634Z] + ROOT=/tmp/sdk [2020-07-03T15:43:06.634Z] + cd /tmp/sdk [2020-07-03T15:43:06.634Z] + '[' '!' -d deps ] [2020-07-03T15:43:06.634Z] + mkdir deps [2020-07-03T15:43:06.634Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-07-03T15:43:06.634Z] + tar -C deps -z -x -f - [2020-07-03T15:43:06.634Z] --2020-07-03 15:43:06-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-07-03T15:43:06.634Z] Resolving github.com... 140.82.112.3 [2020-07-03T15:43:06.634Z] Connecting to github.com|140.82.112.3|:443... connected. [2020-07-03T15:43:06.903Z] HTTP request sent, awaiting response... 302 Found [2020-07-03T15:43:06.903Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-07-03T15:43:06.903Z] --2020-07-03 15:43:06-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-07-03T15:43:06.903Z] Resolving codeload.github.com... 140.82.113.9 [2020-07-03T15:43:06.903Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2020-07-03T15:43:06.903Z] HTTP request sent, awaiting response... 200 OK [2020-07-03T15:43:06.903Z] Length: unspecified [application/x-gzip] [2020-07-03T15:43:06.903Z] Saving to: 'STDOUT' [2020-07-03T15:43:06.903Z]  [2020-07-03T15:43:06.903Z] 0K .......... ...... 1.06M=0.01s [2020-07-03T15:43:06.903Z] [2020-07-03T15:43:06.903Z] 2020-07-03 15:43:06 (1.06 MB/s) - written to stdout [16451] [2020-07-03T15:43:06.903Z] [2020-07-03T15:43:06.903Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-07-03T15:43:06.903Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-07-03T15:43:06.903Z] + tar -C deps -z -x -f - [2020-07-03T15:43:06.903Z] --2020-07-03 15:43:06-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-07-03T15:43:07.174Z] Resolving github.com... 140.82.112.3 [2020-07-03T15:43:07.174Z] Connecting to github.com|140.82.112.3|:443... connected. [2020-07-03T15:43:07.449Z] HTTP request sent, awaiting response... 302 Found [2020-07-03T15:43:07.449Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] [2020-07-03T15:43:07.449Z] --2020-07-03 15:43:07-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [2020-07-03T15:43:07.449Z] Resolving codeload.github.com... 140.82.113.9 [2020-07-03T15:43:07.449Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2020-07-03T15:43:07.449Z] HTTP request sent, awaiting response... 200 OK [2020-07-03T15:43:07.449Z] Length: unspecified [application/x-gzip] [2020-07-03T15:43:07.449Z] Saving to: 'STDOUT' [2020-07-03T15:43:07.449Z]  [2020-07-03T15:43:07.449Z] 0K .......... .......... .......... .......... .......... 1.57M [2020-07-03T15:43:07.720Z] 50K .......... .......... .......... .......... .......... 2.16M [2020-07-03T15:43:07.720Z] 100K .......... .......... .......... .......... .......... 6.18M [2020-07-03T15:43:07.720Z] 150K ........ 4.55M=0.06s [2020-07-03T15:43:07.720Z] [2020-07-03T15:43:07.720Z] 2020-07-03 15:43:07 (2.44 MB/s) - written to stdout [162267] [2020-07-03T15:43:07.720Z] [2020-07-03T15:43:07.720Z] + mkdir -p src/c/iot [2020-07-03T15:43:07.720Z] + cp deps/iotech-c-utils-1.0.4/src/c/base64.c deps/iotech-c-utils-1.0.4/src/c/component.c deps/iotech-c-utils-1.0.4/src/c/container.c deps/iotech-c-utils-1.0.4/src/c/data.c deps/iotech-c-utils-1.0.4/src/c/hash.c deps/iotech-c-utils-1.0.4/src/c/iot.c deps/iotech-c-utils-1.0.4/src/c/json.c deps/iotech-c-utils-1.0.4/src/c/logger.c deps/iotech-c-utils-1.0.4/src/c/os.c deps/iotech-c-utils-1.0.4/src/c/scheduler.c deps/iotech-c-utils-1.0.4/src/c/thread.c deps/iotech-c-utils-1.0.4/src/c/threadpool.c deps/iotech-c-utils-1.0.4/src/c/time.c src/c/iot [2020-07-03T15:43:07.720Z] + mkdir -p include/iot [2020-07-03T15:43:07.720Z] + cp deps/iotech-c-utils-1.0.4/include/iot/base64.h deps/iotech-c-utils-1.0.4/include/iot/component.h deps/iotech-c-utils-1.0.4/include/iot/container.h deps/iotech-c-utils-1.0.4/include/iot/data.h deps/iotech-c-utils-1.0.4/include/iot/hash.h deps/iotech-c-utils-1.0.4/include/iot/iot.h deps/iotech-c-utils-1.0.4/include/iot/json.h deps/iotech-c-utils-1.0.4/include/iot/logger.h deps/iotech-c-utils-1.0.4/include/iot/os.h deps/iotech-c-utils-1.0.4/include/iot/scheduler.h deps/iotech-c-utils-1.0.4/include/iot/thread.h deps/iotech-c-utils-1.0.4/include/iot/threadpool.h deps/iotech-c-utils-1.0.4/include/iot/time.h deps/iotech-c-utils-1.0.4/include/iot/typecode.h include/iot [2020-07-03T15:43:07.720Z] + mkdir -p include/iot/os [2020-07-03T15:43:07.720Z] + cp deps/iotech-c-utils-1.0.4/include/iot/os/linux.h deps/iotech-c-utils-1.0.4/include/iot/os/zephyr.h include/iot/os [2020-07-03T15:43:07.720Z] + mkdir -p /tmp/sdk/build/release [2020-07-03T15:43:07.720Z] + cd /tmp/sdk/build/release [2020-07-03T15:43:07.720Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-07-03T15:43:07.763Z] ---> Running in ad893298def9 [2020-07-03T15:43:07.991Z] -- The C compiler identification is GNU 8.3.0 [2020-07-03T15:43:07.992Z] -- Check for working C compiler: /usr/bin/cc [2020-07-03T15:43:08.024Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-07-03T15:43:08.267Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-07-03T15:43:08.267Z] -- Detecting C compiler ABI info [2020-07-03T15:43:08.539Z] -- Detecting C compiler ABI info - done [2020-07-03T15:43:08.539Z] -- Detecting C compile features [2020-07-03T15:43:08.597Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-07-03T15:43:08.858Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-07-03T15:43:09.120Z] (2/8) Installing libuuid (2.33-r0) [2020-07-03T15:43:09.120Z] (3/8) Installing libblkid (2.33-r0) [2020-07-03T15:43:09.120Z] (4/8) Installing libfdisk (2.33-r0) [2020-07-03T15:43:09.132Z] -- Detecting C compile features - done [2020-07-03T15:43:09.132Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-07-03T15:43:09.381Z] (5/8) Installing libmount (2.33-r0) [2020-07-03T15:43:09.381Z] (6/8) Installing libsmartcols (2.33-r0) [2020-07-03T15:43:09.381Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-07-03T15:43:09.404Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-07-03T15:43:09.404Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-07-03T15:43:09.404Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-07-03T15:43:09.404Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-07-03T15:43:09.404Z] -- C SDK 1.2.2-dev.8 for Linux [2020-07-03T15:43:09.404Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-07-03T15:43:09.404Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-07-03T15:43:09.642Z] (8/8) Installing wget (1.20.3-r0) [2020-07-03T15:43:09.675Z] -- Found Curses: /usr/lib/libcurses.so [2020-07-03T15:43:09.675Z] -- Configuring done [2020-07-03T15:43:09.904Z] Executing busybox-1.29.3-r10.trigger [2020-07-03T15:43:09.904Z] OK: 272 MiB in 83 packages [2020-07-03T15:43:09.946Z] -- Generating done [2020-07-03T15:43:09.946Z] -- Build files have been written to: /tmp/sdk/build/release [2020-07-03T15:43:09.946Z] + make [2020-07-03T15:43:09.946Z] + tee release.log [2020-07-03T15:43:09.946Z] Scanning dependencies of target csdk [2020-07-03T15:43:10.218Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-07-03T15:43:10.476Z] Removing intermediate container ad893298def9 [2020-07-03T15:43:10.476Z] ---> 3755d07ea0df [2020-07-03T15:43:10.476Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-07-03T15:43:10.476Z] ---> Running in 658c2bcf51df [2020-07-03T15:43:10.476Z] Removing intermediate container 658c2bcf51df [2020-07-03T15:43:10.476Z] ---> 3cf00cc8d8e2 [2020-07-03T15:43:10.476Z] Step 5/21 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2020-07-03T15:43:10.741Z] ---> Running in 0ce308d42cc5 [2020-07-03T15:43:10.809Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-07-03T15:43:11.081Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-07-03T15:43:11.314Z] --2020-07-03 15:43:11-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-07-03T15:43:11.314Z] Resolving github.com... 140.82.112.3 [2020-07-03T15:43:11.314Z] Connecting to github.com|140.82.112.3|:443... connected. [2020-07-03T15:43:11.314Z] HTTP request sent, awaiting response... 302 Found [2020-07-03T15:43:11.314Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-07-03T15:43:11.314Z] --2020-07-03 15:43:11-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-07-03T15:43:11.314Z] Resolving codeload.github.com... 140.82.113.9 [2020-07-03T15:43:11.575Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2020-07-03T15:43:11.575Z] HTTP request sent, awaiting response... 200 OK [2020-07-03T15:43:11.575Z] Length: unspecified [application/x-gzip] [2020-07-03T15:43:11.575Z] Saving to: 'STDOUT' [2020-07-03T15:43:11.575Z]  [2020-07-03T15:43:11.575Z] 0K .......... .......... .......... .......... .......... 1.64M [2020-07-03T15:43:11.575Z] 50K .......... .......... .......... .......... .......... 4.57M [2020-07-03T15:43:11.575Z] 100K .......... .......... .......... .......... .......... 7.95M [2020-07-03T15:43:11.575Z] 150K .......... .......... .......... .......... .......... 5.70M [2020-07-03T15:43:11.575Z] 200K .......... .......... .......... .......... .......... 6.84M [2020-07-03T15:43:11.575Z] 250K .......... .......... .......... .......... .......... 23.1M [2020-07-03T15:43:11.575Z] 300K .......... .......... .......... .......... .......... 8.20M [2020-07-03T15:43:11.575Z] 350K .......... .......... .......... .......... .......... 9.46M [2020-07-03T15:43:11.575Z] 400K .......... .......... .......... .......... .......... 9.70M [2020-07-03T15:43:11.575Z] 450K .......... .......... .......... .......... .......... 6.30M [2020-07-03T15:43:11.575Z] 500K .......... .......... .......... .......... .......... 22.0M [2020-07-03T15:43:11.575Z] 550K .......... .......... .......... .......... .......... 4.15M [2020-07-03T15:43:11.575Z] 600K .......... .......... .......... .......... .......... 2.78M [2020-07-03T15:43:11.575Z] 650K .......... .......... .......... .......... .......... 4.84M [2020-07-03T15:43:11.575Z] 700K .. 47.8M=0.1s [2020-07-03T15:43:11.575Z] [2020-07-03T15:43:11.575Z] 2020-07-03 15:43:11 (5.28 MB/s) - written to stdout [719348] [2020-07-03T15:43:11.575Z] [2020-07-03T15:43:11.837Z] -- The C compiler identification is GNU 8.3.0 [2020-07-03T15:43:11.837Z] -- The CXX compiler identification is GNU 8.3.0 [2020-07-03T15:43:11.837Z] -- Check for working C compiler: /usr/bin/cc [2020-07-03T15:43:11.837Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-07-03T15:43:11.837Z] -- Detecting C compiler ABI info [2020-07-03T15:43:12.100Z] -- Detecting C compiler ABI info - done [2020-07-03T15:43:12.100Z] -- Detecting C compile features [2020-07-03T15:43:12.362Z] -- Detecting C compile features - done [2020-07-03T15:43:12.362Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-07-03T15:43:12.362Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-07-03T15:43:12.362Z] -- Detecting CXX compiler ABI info [2020-07-03T15:43:12.362Z] -- Detecting CXX compiler ABI info - done [2020-07-03T15:43:12.362Z] -- Detecting CXX compile features [2020-07-03T15:43:12.938Z] -- Detecting CXX compile features - done [2020-07-03T15:43:12.938Z] -- Looking for include file endian.h [2020-07-03T15:43:12.938Z] -- Looking for include file endian.h - found [2020-07-03T15:43:12.938Z] -- Check if the system is big endian [2020-07-03T15:43:12.938Z] -- Searching 16 bit integer [2020-07-03T15:43:12.938Z] -- Looking for sys/types.h [2020-07-03T15:43:12.938Z] -- Looking for sys/types.h - found [2020-07-03T15:43:12.938Z] -- Looking for stdint.h [2020-07-03T15:43:13.052Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-07-03T15:43:13.200Z] -- Looking for stdint.h - found [2020-07-03T15:43:13.200Z] -- Looking for stddef.h [2020-07-03T15:43:13.200Z] -- Looking for stddef.h - found [2020-07-03T15:43:13.200Z] -- Check size of unsigned short [2020-07-03T15:43:13.200Z] -- Check size of unsigned short - done [2020-07-03T15:43:13.200Z] -- Using unsigned short [2020-07-03T15:43:13.200Z] -- Check if the system is big endian - little endian [2020-07-03T15:43:13.323Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-07-03T15:43:13.460Z] -- Check size of size_t [2020-07-03T15:43:13.460Z] -- Check size of size_t - done [2020-07-03T15:43:13.460Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-07-03T15:43:13.460Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-07-03T15:43:13.460Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-07-03T15:43:13.460Z] CMake did not find one. [2020-07-03T15:43:13.460Z] [2020-07-03T15:43:13.460Z] Could not find a package configuration file provided by "cJSON" with any of [2020-07-03T15:43:13.460Z] the following names: [2020-07-03T15:43:13.460Z] [2020-07-03T15:43:13.460Z] cJSONConfig.cmake [2020-07-03T15:43:13.460Z] cjson-config.cmake [2020-07-03T15:43:13.460Z] [2020-07-03T15:43:13.460Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-07-03T15:43:13.460Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-07-03T15:43:13.460Z] provides a separate development package or SDK, be sure it has been [2020-07-03T15:43:13.460Z] installed. [2020-07-03T15:43:13.460Z] [2020-07-03T15:43:13.460Z] [2020-07-03T15:43:13.460Z] -- Configuring done [2020-07-03T15:43:13.460Z] -- Generating done [2020-07-03T15:43:13.460Z] -- Build files have been written to: /tmp/cbor [2020-07-03T15:43:13.460Z] Scanning dependencies of target cbor_shared [2020-07-03T15:43:13.460Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-07-03T15:43:13.596Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-07-03T15:43:13.721Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-07-03T15:43:13.985Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-07-03T15:43:13.985Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-07-03T15:43:13.985Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-07-03T15:43:14.246Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-07-03T15:43:14.246Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-07-03T15:43:14.246Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-07-03T15:43:14.246Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-07-03T15:43:14.508Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-07-03T15:43:14.508Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-07-03T15:43:14.508Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-07-03T15:43:14.567Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-07-03T15:43:14.769Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-07-03T15:43:14.769Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-07-03T15:43:14.769Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-07-03T15:43:15.030Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-07-03T15:43:15.030Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-07-03T15:43:15.030Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-07-03T15:43:15.030Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-07-03T15:43:15.292Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-07-03T15:43:15.292Z] [ 40%] Linking C shared library libcbor.so [2020-07-03T15:43:15.292Z] [ 40%] Built target cbor_shared [2020-07-03T15:43:15.292Z] Scanning dependencies of target cbor [2020-07-03T15:43:15.292Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-07-03T15:43:15.553Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-07-03T15:43:15.553Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-07-03T15:43:15.814Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-07-03T15:43:16.075Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-07-03T15:43:16.075Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-07-03T15:43:16.075Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-07-03T15:43:16.075Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-07-03T15:43:16.336Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-07-03T15:43:16.336Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-07-03T15:43:16.530Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-07-03T15:43:16.599Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-07-03T15:43:16.599Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-07-03T15:43:16.599Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-07-03T15:43:16.860Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-07-03T15:43:16.860Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-07-03T15:43:16.860Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-07-03T15:43:16.860Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-07-03T15:43:17.119Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-07-03T15:43:17.119Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-07-03T15:43:17.119Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-07-03T15:43:17.119Z] [ 80%] Linking C static library libcbor.a [2020-07-03T15:43:17.120Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-07-03T15:43:17.380Z] [ 80%] Built target cbor [2020-07-03T15:43:17.380Z] Scanning dependencies of target create_items [2020-07-03T15:43:17.380Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-07-03T15:43:17.380Z] [ 84%] Linking C executable create_items [2020-07-03T15:43:17.380Z] [ 84%] Built target create_items [2020-07-03T15:43:17.380Z] Scanning dependencies of target readfile [2020-07-03T15:43:17.380Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-07-03T15:43:17.380Z] [ 88%] Linking C executable readfile [2020-07-03T15:43:17.380Z] [ 88%] Built target readfile [2020-07-03T15:43:17.380Z] Scanning dependencies of target streaming_parser [2020-07-03T15:43:17.380Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-07-03T15:43:17.640Z] [ 92%] Linking C executable streaming_parser [2020-07-03T15:43:17.640Z] [ 92%] Built target streaming_parser [2020-07-03T15:43:17.640Z] Scanning dependencies of target sort [2020-07-03T15:43:17.640Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-07-03T15:43:17.640Z] [ 96%] Linking C executable sort [2020-07-03T15:43:17.640Z] [ 96%] Built target sort [2020-07-03T15:43:17.640Z] Scanning dependencies of target hello [2020-07-03T15:43:17.640Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-07-03T15:43:17.640Z] [100%] Linking C executable hello [2020-07-03T15:43:17.640Z] [100%] Built target hello [2020-07-03T15:43:17.709Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-07-03T15:43:17.901Z] Install the project... [2020-07-03T15:43:17.902Z] -- Install configuration: "Release" [2020-07-03T15:43:17.902Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-07-03T15:43:17.902Z] -- Installing: /usr/local/lib64/libcbor.a [2020-07-03T15:43:17.902Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-07-03T15:43:17.902Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-07-03T15:43:17.902Z] -- Installing: /usr/local/lib64/libcbor.so [2020-07-03T15:43:17.902Z] -- Up-to-date: /usr/local/include/cbor [2020-07-03T15:43:17.902Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-07-03T15:43:17.902Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-07-03T15:43:17.902Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-07-03T15:43:17.902Z] -- Installing: /usr/local/include/cbor/common.h [2020-07-03T15:43:17.902Z] -- Installing: /usr/local/include/cbor/data.h [2020-07-03T15:43:17.902Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-07-03T15:43:17.902Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-07-03T15:43:17.902Z] -- Installing: /usr/local/include/cbor/internal [2020-07-03T15:43:17.902Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-07-03T15:43:17.902Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-07-03T15:43:17.902Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-07-03T15:43:17.902Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-07-03T15:43:17.902Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-07-03T15:43:17.902Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-07-03T15:43:17.902Z] -- Installing: /usr/local/include/cbor/ints.h [2020-07-03T15:43:17.902Z] -- Installing: /usr/local/include/cbor/maps.h [2020-07-03T15:43:17.902Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-07-03T15:43:17.902Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-07-03T15:43:17.902Z] -- Installing: /usr/local/include/cbor/strings.h [2020-07-03T15:43:17.902Z] -- Installing: /usr/local/include/cbor/tags.h [2020-07-03T15:43:17.902Z] -- Installing: /usr/local/include/cbor.h [2020-07-03T15:43:17.902Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-07-03T15:43:18.306Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-07-03T15:43:18.306Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-07-03T15:43:18.580Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-07-03T15:43:18.851Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-07-03T15:43:19.814Z] Removing intermediate container 0ce308d42cc5 [2020-07-03T15:43:19.814Z] ---> e1f0315c349e [2020-07-03T15:43:19.814Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-07-03T15:43:19.814Z] ---> Running in 4d8cd497460c [2020-07-03T15:43:20.384Z] Removing intermediate container 4d8cd497460c [2020-07-03T15:43:20.384Z] ---> 7e28654d8d91 [2020-07-03T15:43:20.384Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-07-03T15:43:20.644Z] ---> f5bfafb50739 [2020-07-03T15:43:20.644Z] Step 8/21 : COPY src /tmp/sdk/src [2020-07-03T15:43:21.584Z] ---> 45a7590372ad [2020-07-03T15:43:21.584Z] Step 9/21 : COPY include /tmp/sdk/include [2020-07-03T15:43:21.584Z] ---> 5bea1d43ea92 [2020-07-03T15:43:21.584Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-07-03T15:43:21.845Z] ---> b4ec4d6fc5a7 [2020-07-03T15:43:21.845Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-07-03T15:43:22.106Z] ---> 62ba87f6f0e8 [2020-07-03T15:43:22.106Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-07-03T15:43:22.215Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-07-03T15:43:22.369Z] ---> ae53960b8f2a [2020-07-03T15:43:22.369Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-07-03T15:43:22.369Z] ---> Running in 066574d4566b [2020-07-03T15:43:22.488Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-07-03T15:43:22.631Z] + CPPCHECK=false [2020-07-03T15:43:22.632Z] + DOCGEN=false [2020-07-03T15:43:22.632Z] + TOMLVER=SDK-0.2 [2020-07-03T15:43:22.632Z] + CUTILVER=1.0.4 [2020-07-03T15:43:22.632Z] + '[' 0 -gt 0 ] [2020-07-03T15:43:22.632Z] + readlink -f ./scripts/build.sh [2020-07-03T15:43:22.632Z] + dirname /tmp/sdk/scripts/build.sh [2020-07-03T15:43:22.632Z] + dirname /tmp/sdk/scripts [2020-07-03T15:43:22.632Z] + ROOT=/tmp/sdk [2020-07-03T15:43:22.632Z] + cd /tmp/sdk [2020-07-03T15:43:22.632Z] + '[' '!' -d deps ] [2020-07-03T15:43:22.632Z] + mkdir deps [2020-07-03T15:43:22.632Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-07-03T15:43:22.632Z] + tar -C deps -z -x -f - [2020-07-03T15:43:22.632Z] --2020-07-03 15:43:22-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-07-03T15:43:22.632Z] Resolving github.com... 140.82.112.3 [2020-07-03T15:43:22.632Z] Connecting to github.com|140.82.112.3|:443... connected. [2020-07-03T15:43:22.893Z] HTTP request sent, awaiting response... 302 Found [2020-07-03T15:43:22.893Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-07-03T15:43:22.893Z] --2020-07-03 15:43:22-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-07-03T15:43:22.893Z] Resolving codeload.github.com... 140.82.113.9 [2020-07-03T15:43:22.893Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2020-07-03T15:43:22.893Z] HTTP request sent, awaiting response... 200 OK [2020-07-03T15:43:22.893Z] Length: unspecified [application/x-gzip] [2020-07-03T15:43:22.893Z] Saving to: 'STDOUT' [2020-07-03T15:43:22.893Z]  [2020-07-03T15:43:22.893Z] 0K .......... ......  1.04M=0.02s [2020-07-03T15:43:22.893Z] [2020-07-03T15:43:22.893Z] 2020-07-03 15:43:22 (1.04 MB/s) - written to stdout [16451] [2020-07-03T15:43:22.893Z] [2020-07-03T15:43:22.893Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-07-03T15:43:22.893Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-07-03T15:43:22.893Z] + tar -C deps -z -x -f - [2020-07-03T15:43:22.893Z] --2020-07-03 15:43:22-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-07-03T15:43:22.893Z] Resolving github.com... 140.82.112.3 [2020-07-03T15:43:22.893Z] Connecting to github.com|140.82.112.3|:443... connected. [2020-07-03T15:43:22.893Z] HTTP request sent, awaiting response... 302 Found [2020-07-03T15:43:22.893Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] [2020-07-03T15:43:22.893Z] --2020-07-03 15:43:22-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [2020-07-03T15:43:22.893Z] Resolving codeload.github.com... 140.82.113.9 [2020-07-03T15:43:22.893Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2020-07-03T15:43:23.079Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-07-03T15:43:23.154Z] HTTP request sent, awaiting response... 200 OK [2020-07-03T15:43:23.154Z] Length: unspecified [application/x-gzip] [2020-07-03T15:43:23.154Z] Saving to: 'STDOUT' [2020-07-03T15:43:23.154Z]  [2020-07-03T15:43:23.154Z] 0K .......... .......... .......... .......... .......... 1.62M [2020-07-03T15:43:23.154Z] 50K .......... .......... .......... .......... .......... 13.7M [2020-07-03T15:43:23.154Z] 100K .......... .......... .......... .......... .......... 3.99M [2020-07-03T15:43:23.154Z] 150K ........ 53.3M=0.05s [2020-07-03T15:43:23.154Z] [2020-07-03T15:43:23.154Z] 2020-07-03 15:43:22 (3.36 MB/s) - written to stdout [162267] [2020-07-03T15:43:23.154Z] [2020-07-03T15:43:23.154Z] + mkdir -p src/c/iot [2020-07-03T15:43:23.154Z] + cp deps/iotech-c-utils-1.0.4/src/c/base64.c deps/iotech-c-utils-1.0.4/src/c/component.c deps/iotech-c-utils-1.0.4/src/c/container.c deps/iotech-c-utils-1.0.4/src/c/data.c deps/iotech-c-utils-1.0.4/src/c/hash.c deps/iotech-c-utils-1.0.4/src/c/iot.c deps/iotech-c-utils-1.0.4/src/c/json.c deps/iotech-c-utils-1.0.4/src/c/logger.c deps/iotech-c-utils-1.0.4/src/c/os.c deps/iotech-c-utils-1.0.4/src/c/scheduler.c deps/iotech-c-utils-1.0.4/src/c/thread.c deps/iotech-c-utils-1.0.4/src/c/threadpool.c deps/iotech-c-utils-1.0.4/src/c/time.c src/c/iot [2020-07-03T15:43:23.154Z] + mkdir -p include/iot [2020-07-03T15:43:23.154Z] + cp deps/iotech-c-utils-1.0.4/include/iot/base64.h deps/iotech-c-utils-1.0.4/include/iot/component.h deps/iotech-c-utils-1.0.4/include/iot/container.h deps/iotech-c-utils-1.0.4/include/iot/data.h deps/iotech-c-utils-1.0.4/include/iot/hash.h deps/iotech-c-utils-1.0.4/include/iot/iot.h deps/iotech-c-utils-1.0.4/include/iot/json.h deps/iotech-c-utils-1.0.4/include/iot/logger.h deps/iotech-c-utils-1.0.4/include/iot/os.h deps/iotech-c-utils-1.0.4/include/iot/scheduler.h deps/iotech-c-utils-1.0.4/include/iot/thread.h deps/iotech-c-utils-1.0.4/include/iot/threadpool.h deps/iotech-c-utils-1.0.4/include/iot/time.h deps/iotech-c-utils-1.0.4/include/iot/typecode.h include/iot [2020-07-03T15:43:23.154Z] + mkdir -p include/iot/os [2020-07-03T15:43:23.154Z] + cp deps/iotech-c-utils-1.0.4/include/iot/os/linux.h deps/iotech-c-utils-1.0.4/include/iot/os/zephyr.h include/iot/os [2020-07-03T15:43:23.154Z] + mkdir -p /tmp/sdk/build/release [2020-07-03T15:43:23.154Z] + cd /tmp/sdk/build/release [2020-07-03T15:43:23.154Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-07-03T15:43:23.154Z] -- The C compiler identification is GNU 8.3.0 [2020-07-03T15:43:23.154Z] -- Check for working C compiler: /usr/bin/cc [2020-07-03T15:43:23.415Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-07-03T15:43:23.415Z] -- Detecting C compiler ABI info [2020-07-03T15:43:23.415Z] -- Detecting C compiler ABI info - done [2020-07-03T15:43:23.415Z] -- Detecting C compile features [2020-07-03T15:43:23.674Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-07-03T15:43:23.676Z] -- Detecting C compile features - done [2020-07-03T15:43:23.676Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-07-03T15:43:23.676Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-07-03T15:43:23.676Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-07-03T15:43:23.676Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-07-03T15:43:23.676Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-07-03T15:43:23.676Z] -- C SDK 1.2.2-dev.8 for Linux [2020-07-03T15:43:23.676Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-07-03T15:43:23.676Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-07-03T15:43:23.676Z] -- Found Curses: /usr/lib/libcurses.so [2020-07-03T15:43:23.676Z] -- Configuring done [2020-07-03T15:43:23.941Z] -- Generating done [2020-07-03T15:43:23.941Z] -- Build files have been written to: /tmp/sdk/build/release [2020-07-03T15:43:23.941Z] + make [2020-07-03T15:43:23.941Z] + tee release.log [2020-07-03T15:43:23.941Z] Scanning dependencies of target csdk [2020-07-03T15:43:23.941Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-07-03T15:43:23.941Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-07-03T15:43:24.202Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-07-03T15:43:24.463Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-07-03T15:43:24.724Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-07-03T15:43:24.724Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-07-03T15:43:24.985Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-07-03T15:43:25.557Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-07-03T15:43:25.557Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-07-03T15:43:25.639Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-07-03T15:43:25.819Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-07-03T15:43:25.819Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-07-03T15:43:25.911Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-07-03T15:43:26.125Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-07-03T15:43:26.125Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-07-03T15:43:26.125Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-07-03T15:43:26.184Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-07-03T15:43:26.776Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-07-03T15:43:27.047Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-07-03T15:43:27.076Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-07-03T15:43:27.076Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-07-03T15:43:27.076Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-07-03T15:43:27.318Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-07-03T15:43:27.336Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-07-03T15:43:27.909Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-07-03T15:43:27.909Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-07-03T15:43:27.909Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-07-03T15:43:28.187Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-07-03T15:43:28.187Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-07-03T15:43:28.187Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-07-03T15:43:28.317Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-07-03T15:43:28.317Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-07-03T15:43:28.447Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-07-03T15:43:28.447Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-07-03T15:43:28.707Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-07-03T15:43:28.707Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-07-03T15:43:28.910Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-07-03T15:43:28.968Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-07-03T15:43:29.181Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-07-03T15:43:29.228Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-07-03T15:43:29.228Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-07-03T15:43:29.771Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-07-03T15:43:30.168Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-07-03T15:43:30.428Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-07-03T15:43:30.428Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-07-03T15:43:30.689Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-07-03T15:43:30.742Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-07-03T15:43:30.742Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-07-03T15:43:30.950Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-07-03T15:43:31.522Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-07-03T15:43:32.466Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-07-03T15:43:32.466Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-07-03T15:43:32.725Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-07-03T15:43:32.725Z] [ 74%] Linking C shared library libcsdk.so [2020-07-03T15:43:32.986Z] [ 74%] Built target csdk [2020-07-03T15:43:32.986Z] Scanning dependencies of target template [2020-07-03T15:43:32.986Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-07-03T15:43:32.986Z] [ 78%] Linking C executable template [2020-07-03T15:43:33.247Z] [ 78%] Built target template [2020-07-03T15:43:33.247Z] Scanning dependencies of target device-counter [2020-07-03T15:43:33.247Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-07-03T15:43:33.247Z] [ 81%] Linking C executable device-counter [2020-07-03T15:43:33.247Z] [ 81%] Built target device-counter [2020-07-03T15:43:33.247Z] Scanning dependencies of target device-random [2020-07-03T15:43:33.247Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-07-03T15:43:33.507Z] [ 85%] Linking C executable device-random [2020-07-03T15:43:33.508Z] [ 85%] Built target device-random [2020-07-03T15:43:33.508Z] Scanning dependencies of target device-gyro [2020-07-03T15:43:33.508Z] [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-07-03T15:43:33.772Z] [ 89%] Linking C executable device-gyro [2020-07-03T15:43:33.772Z] [ 89%] Built target device-gyro [2020-07-03T15:43:33.772Z] Scanning dependencies of target template-discovery [2020-07-03T15:43:33.772Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-07-03T15:43:34.033Z] [ 92%] Linking C executable template-discovery [2020-07-03T15:43:34.033Z] [ 92%] Built target template-discovery [2020-07-03T15:43:34.033Z] Scanning dependencies of target device-terminal [2020-07-03T15:43:34.033Z] [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-07-03T15:43:34.033Z] [ 96%] Linking C executable device-terminal [2020-07-03T15:43:34.293Z] [ 96%] Built target device-terminal [2020-07-03T15:43:34.293Z] Scanning dependencies of target templatev1 [2020-07-03T15:43:34.293Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-07-03T15:43:34.293Z] [100%] Linking C executable templatev1 [2020-07-03T15:43:34.293Z] [100%] Built target templatev1 [2020-07-03T15:43:34.293Z] + make package [2020-07-03T15:43:34.293Z] + tee -a release.log [2020-07-03T15:43:34.554Z] [ 74%] Built target csdk [2020-07-03T15:43:34.554Z] [ 78%] Built target template [2020-07-03T15:43:34.554Z] [ 81%] Built target device-counter [2020-07-03T15:43:34.554Z] [ 85%] Built target device-random [2020-07-03T15:43:34.554Z] [ 89%] Built target device-gyro [2020-07-03T15:43:34.554Z] [ 92%] Built target template-discovery [2020-07-03T15:43:34.554Z] [ 96%] Built target device-terminal [2020-07-03T15:43:34.554Z] [100%] Built target templatev1 [2020-07-03T15:43:34.554Z] Run CPack packaging tool... [2020-07-03T15:43:34.554Z] CPack: Create package using TGZ [2020-07-03T15:43:34.554Z] CPack: Install projects [2020-07-03T15:43:34.554Z] CPack: - Run preinstall target for: Csdk [2020-07-03T15:43:34.814Z] CPack: - Install project: Csdk [2020-07-03T15:43:34.814Z] CPack: Create package [2020-07-03T15:43:34.814Z] CPack: - package: /tmp/sdk/build/release/csdk-1.2.2-dev.8.tar.gz generated. [2020-07-03T15:43:34.814Z] + '[' false '=' true ] [2020-07-03T15:43:34.814Z] + '[' false '=' true ] [2020-07-03T15:43:34.814Z] + mkdir -p /tmp/sdk/build/debug [2020-07-03T15:43:34.814Z] + cd /tmp/sdk/build/debug [2020-07-03T15:43:34.814Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-07-03T15:43:35.027Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-07-03T15:43:35.074Z] -- The C compiler identification is GNU 8.3.0 [2020-07-03T15:43:35.074Z] -- Check for working C compiler: /usr/bin/cc [2020-07-03T15:43:35.074Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-07-03T15:43:35.074Z] -- Detecting C compiler ABI info [2020-07-03T15:43:35.074Z] -- Detecting C compiler ABI info - done [2020-07-03T15:43:35.074Z] -- Detecting C compile features [2020-07-03T15:43:35.300Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-07-03T15:43:35.334Z] -- Detecting C compile features - done [2020-07-03T15:43:35.334Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-07-03T15:43:35.334Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-07-03T15:43:35.334Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-07-03T15:43:35.334Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-07-03T15:43:35.334Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-07-03T15:43:35.334Z] -- C SDK 1.2.2-dev.8 for Linux [2020-07-03T15:43:35.334Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-07-03T15:43:35.594Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-07-03T15:43:35.594Z] -- Found Curses: /usr/lib/libcurses.so [2020-07-03T15:43:35.594Z] -- Configuring done [2020-07-03T15:43:35.594Z] -- Generating done [2020-07-03T15:43:35.594Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-07-03T15:43:35.594Z] + make [2020-07-03T15:43:35.594Z] + tee debug.log [2020-07-03T15:43:35.594Z] Scanning dependencies of target csdk [2020-07-03T15:43:35.594Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-07-03T15:43:35.854Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-07-03T15:43:35.854Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-07-03T15:43:35.854Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-07-03T15:43:35.893Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-07-03T15:43:36.114Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-07-03T15:43:36.114Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-07-03T15:43:36.114Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-07-03T15:43:36.374Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-07-03T15:43:36.374Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-07-03T15:43:36.485Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-07-03T15:43:36.635Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-07-03T15:43:36.635Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-07-03T15:43:36.635Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-07-03T15:43:36.635Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-07-03T15:43:36.895Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-07-03T15:43:37.155Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-07-03T15:43:37.155Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-07-03T15:43:37.155Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-07-03T15:43:37.155Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-07-03T15:43:37.415Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-07-03T15:43:37.415Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-07-03T15:43:37.675Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-07-03T15:43:37.675Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-07-03T15:43:37.675Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-07-03T15:43:37.675Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-07-03T15:43:37.675Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-07-03T15:43:37.912Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-07-03T15:43:37.935Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-07-03T15:43:37.935Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-07-03T15:43:37.935Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-07-03T15:43:37.935Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-07-03T15:43:38.196Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-07-03T15:43:38.196Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-07-03T15:43:38.456Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-07-03T15:43:38.456Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-07-03T15:43:38.716Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-07-03T15:43:38.716Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-07-03T15:43:38.976Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-07-03T15:43:38.976Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-07-03T15:43:39.237Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-07-03T15:43:39.339Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-07-03T15:43:39.497Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-07-03T15:43:39.497Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-07-03T15:43:39.497Z] [ 74%] Linking C shared library libcsdk.so [2020-07-03T15:43:39.758Z] [ 74%] Built target csdk [2020-07-03T15:43:39.758Z] Scanning dependencies of target template [2020-07-03T15:43:39.758Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-07-03T15:43:39.758Z] [ 78%] Linking C executable template [2020-07-03T15:43:39.758Z] [ 78%] Built target template [2020-07-03T15:43:39.758Z] Scanning dependencies of target device-counter [2020-07-03T15:43:39.758Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-07-03T15:43:39.758Z] [ 81%] Linking C executable device-counter [2020-07-03T15:43:40.018Z] [ 81%] Built target device-counter [2020-07-03T15:43:40.018Z] Scanning dependencies of target device-random [2020-07-03T15:43:40.018Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-07-03T15:43:40.018Z] [ 85%] Linking C executable device-random [2020-07-03T15:43:40.018Z] [ 85%] Built target device-random [2020-07-03T15:43:40.018Z] Scanning dependencies of target device-gyro [2020-07-03T15:43:40.018Z] [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-07-03T15:43:40.279Z] [ 89%] Linking C executable device-gyro [2020-07-03T15:43:40.279Z] [ 89%] Built target device-gyro [2020-07-03T15:43:40.279Z] Scanning dependencies of target template-discovery [2020-07-03T15:43:40.279Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-07-03T15:43:40.279Z] [ 92%] Linking C executable template-discovery [2020-07-03T15:43:40.279Z] [ 92%] Built target template-discovery [2020-07-03T15:43:40.540Z] Scanning dependencies of target device-terminal [2020-07-03T15:43:40.540Z] [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-07-03T15:43:40.540Z] [ 96%] Linking C executable device-terminal [2020-07-03T15:43:40.540Z] [ 96%] Built target device-terminal [2020-07-03T15:43:40.540Z] Scanning dependencies of target templatev1 [2020-07-03T15:43:40.540Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-07-03T15:43:40.540Z] [100%] Linking C executable templatev1 [2020-07-03T15:43:40.801Z] [100%] Built target templatev1 [2020-07-03T15:43:40.801Z] make: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:43:40.801Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:43:40.801Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:43:40.801Z] Scanning dependencies of target csdk [2020-07-03T15:43:40.801Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:43:40.801Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:43:40.801Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-07-03T15:43:41.372Z] [ 3%] Linking C shared library libcsdk.so [2020-07-03T15:43:41.372Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:43:41.372Z] [ 74%] Built target csdk [2020-07-03T15:43:41.372Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:43:41.372Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:43:41.372Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:43:41.372Z] [ 76%] Linking C executable template [2020-07-03T15:43:41.372Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:43:41.372Z] [ 78%] Built target template [2020-07-03T15:43:41.372Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:43:41.372Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:43:41.372Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:43:41.372Z] [ 80%] Linking C executable device-counter [2020-07-03T15:43:41.372Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:43:41.372Z] [ 81%] Built target device-counter [2020-07-03T15:43:41.372Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:43:41.372Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:43:41.372Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:43:41.372Z] [ 83%] Linking C executable device-random [2020-07-03T15:43:41.632Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:43:41.632Z] [ 85%] Built target device-random [2020-07-03T15:43:41.632Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:43:41.632Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:43:41.632Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:43:41.632Z] [ 87%] Linking C executable device-gyro [2020-07-03T15:43:41.632Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:43:41.632Z] [ 89%] Built target device-gyro [2020-07-03T15:43:41.632Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:43:41.632Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:43:41.632Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:43:41.632Z] [ 90%] Linking C executable template-discovery [2020-07-03T15:43:41.632Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:43:41.632Z] [ 92%] Built target template-discovery [2020-07-03T15:43:41.632Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:43:41.632Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:43:41.632Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:43:41.632Z] [ 94%] Linking C executable device-terminal [2020-07-03T15:43:41.632Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:43:41.632Z] [ 96%] Built target device-terminal [2020-07-03T15:43:41.632Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:43:41.893Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:43:41.893Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:43:41.893Z] [ 98%] Linking C executable templatev1 [2020-07-03T15:43:41.893Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:43:41.893Z] [100%] Built target templatev1 [2020-07-03T15:43:41.893Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:43:41.893Z] Install the project... [2020-07-03T15:43:41.893Z] -- Install configuration: "Release" [2020-07-03T15:43:41.893Z] -- Installing: /usr/local/lib/libcsdk.so [2020-07-03T15:43:41.893Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-07-03T15:43:41.893Z] -- Up-to-date: /usr/local/include [2020-07-03T15:43:41.893Z] -- Installing: /usr/local/include/devsdk [2020-07-03T15:43:41.893Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-07-03T15:43:41.893Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-07-03T15:43:41.893Z] -- Installing: /usr/local/include/edgex [2020-07-03T15:43:41.893Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-07-03T15:43:41.893Z] -- Installing: /usr/local/include/edgex/devices.h [2020-07-03T15:43:41.893Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-07-03T15:43:41.893Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-07-03T15:43:41.894Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-07-03T15:43:41.894Z] -- Installing: /usr/local/include/edgex/error.h [2020-07-03T15:43:41.894Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-07-03T15:43:41.894Z] -- Installing: /usr/local/include/edgex/os.h [2020-07-03T15:43:41.894Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-07-03T15:43:41.894Z] -- Installing: /usr/local/include/edgex/registry.h [2020-07-03T15:43:41.894Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-07-03T15:43:41.894Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-07-03T15:43:41.894Z] -- Installing: /usr/local/include/iot [2020-07-03T15:43:41.894Z] -- Installing: /usr/local/include/iot/base64.h [2020-07-03T15:43:41.894Z] -- Installing: /usr/local/include/iot/component.h [2020-07-03T15:43:41.894Z] -- Installing: /usr/local/include/iot/container.h [2020-07-03T15:43:41.894Z] -- Installing: /usr/local/include/iot/data.h [2020-07-03T15:43:41.894Z] -- Installing: /usr/local/include/iot/hash.h [2020-07-03T15:43:41.894Z] -- Installing: /usr/local/include/iot/iot.h [2020-07-03T15:43:41.894Z] -- Installing: /usr/local/include/iot/json.h [2020-07-03T15:43:41.894Z] -- Installing: /usr/local/include/iot/logger.h [2020-07-03T15:43:41.894Z] -- Installing: /usr/local/include/iot/os.h [2020-07-03T15:43:41.894Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-07-03T15:43:41.894Z] -- Installing: /usr/local/include/iot/thread.h [2020-07-03T15:43:41.894Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-07-03T15:43:41.894Z] -- Installing: /usr/local/include/iot/time.h [2020-07-03T15:43:41.894Z] -- Installing: /usr/local/include/iot/typecode.h [2020-07-03T15:43:41.894Z] -- Installing: /usr/local/include/iot/os [2020-07-03T15:43:41.894Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-07-03T15:43:41.894Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-07-03T15:43:41.894Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-07-03T15:43:41.894Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-07-03T15:43:41.894Z] make: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:43:42.721Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-07-03T15:43:43.313Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-07-03T15:43:44.438Z] Removing intermediate container 066574d4566b [2020-07-03T15:43:44.438Z] ---> d8c3dd117c5a [2020-07-03T15:43:44.438Z] Step 14/21 : FROM ${BASE} [2020-07-03T15:43:44.438Z] ---> 5eabd8fd8ba2 [2020-07-03T15:43:44.438Z] Step 15/21 : MAINTAINER IOTech [2020-07-03T15:43:44.438Z] ---> Running in 95a9f69a5e9f [2020-07-03T15:43:44.438Z] Removing intermediate container 95a9f69a5e9f [2020-07-03T15:43:44.438Z] ---> 884cccec7f2e [2020-07-03T15:43:44.438Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-07-03T15:43:44.701Z] ---> Running in 13ad75dd5a94 [2020-07-03T15:43:44.741Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-07-03T15:43:45.011Z] [ 74%] Linking C shared library libcsdk.so [2020-07-03T15:43:45.011Z] [ 74%] Built target csdk [2020-07-03T15:43:45.011Z] Scanning dependencies of target template [2020-07-03T15:43:45.011Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-07-03T15:43:45.273Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-07-03T15:43:45.601Z] [ 78%] Linking C executable template [2020-07-03T15:43:45.872Z] [ 78%] Built target template [2020-07-03T15:43:45.872Z] Scanning dependencies of target device-counter [2020-07-03T15:43:45.872Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-07-03T15:43:46.214Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-07-03T15:43:46.214Z] (1/3) Installing curl (7.64.0-r3) [2020-07-03T15:43:46.214Z] (2/3) Installing libuuid (2.33-r0) [2020-07-03T15:43:46.464Z] [ 81%] Linking C executable device-counter [2020-07-03T15:43:46.464Z] [ 81%] Built target device-counter [2020-07-03T15:43:46.473Z] (3/3) Installing wget (1.20.3-r0) [2020-07-03T15:43:46.473Z] Executing busybox-1.29.3-r10.trigger [2020-07-03T15:43:46.473Z] OK: 268 MiB in 78 packages [2020-07-03T15:43:46.735Z] Scanning dependencies of target device-random [2020-07-03T15:43:46.735Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-07-03T15:43:47.005Z] [ 85%] Linking C executable device-random [2020-07-03T15:43:47.049Z] Removing intermediate container 13ad75dd5a94 [2020-07-03T15:43:47.049Z] ---> deb967794a73 [2020-07-03T15:43:47.049Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-07-03T15:43:47.049Z] ---> 5f2373292c28 [2020-07-03T15:43:47.049Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-07-03T15:43:47.276Z] [ 85%] Built target device-random [2020-07-03T15:43:47.276Z] Scanning dependencies of target device-gyro [2020-07-03T15:43:47.276Z] [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-07-03T15:43:47.309Z] ---> a3014cf59a49 [2020-07-03T15:43:47.309Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-07-03T15:43:47.569Z] ---> 6a1f75e1cd4d [2020-07-03T15:43:47.569Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-07-03T15:43:47.831Z] ---> 16735a8c788a [2020-07-03T15:43:47.832Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-07-03T15:43:47.871Z] [ 89%] Linking C executable device-gyro [2020-07-03T15:43:47.871Z] [ 89%] Built target device-gyro [2020-07-03T15:43:47.871Z] Scanning dependencies of target template-discovery [2020-07-03T15:43:47.871Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-07-03T15:43:48.093Z] ---> c99403c3731f [2020-07-03T15:43:48.093Z] Successfully built c99403c3731f [2020-07-03T15:43:48.093Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-07-03T15:43:48.569Z] + docker inspect -f . ci-base-image-x86_64 [2020-07-03T15:43:48.569Z] . [Pipeline] withDockerContainer [2020-07-03T15:43:48.668Z] prd-centos7-docker-4c-2g-5155 does not seem to be running inside a container [2020-07-03T15:43:48.716Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/32 -v /w/workspace/device-sdk-c/32:/w/workspace/device-sdk-c/32:rw,z -v /w/workspace/device-sdk-c/32@tmp:/w/workspace/device-sdk-c/32@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-07-03T15:43:48.847Z] [ 92%] Linking C executable template-discovery [2020-07-03T15:43:48.847Z] [ 92%] Built target template-discovery [2020-07-03T15:43:48.847Z] Scanning dependencies of target device-terminal [2020-07-03T15:43:48.847Z] [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-07-03T15:43:49.437Z] [ 96%] Linking C executable device-terminal [2020-07-03T15:43:49.557Z] $ docker top 339ae9f5624ef79cd58a74a6eba581f86eea4a5aa351ba99bf5fa75da32c1c4a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-07-03T15:43:49.708Z] [ 96%] Built target device-terminal [2020-07-03T15:43:49.708Z] Scanning dependencies of target templatev1 [2020-07-03T15:43:49.708Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-07-03T15:43:49.986Z] + make test [2020-07-03T15:43:49.986Z] echo "make test" [2020-07-03T15:43:49.986Z] make test [Pipeline] } [2020-07-03T15:43:49.999Z] $ docker stop --time=1 339ae9f5624ef79cd58a74a6eba581f86eea4a5aa351ba99bf5fa75da32c1c4a [2020-07-03T15:43:50.300Z] [100%] Linking C executable templatev1 [2020-07-03T15:43:50.300Z] [100%] Built target templatev1 [2020-07-03T15:43:50.300Z] + make package [2020-07-03T15:43:50.300Z] + tee -a release.log [2020-07-03T15:43:50.570Z] [ 74%] Built target csdk [2020-07-03T15:43:50.570Z] [ 78%] Built target template [2020-07-03T15:43:50.570Z] [ 81%] Built target device-counter [2020-07-03T15:43:50.570Z] [ 85%] Built target device-random [2020-07-03T15:43:50.840Z] [ 89%] Built target device-gyro [2020-07-03T15:43:50.840Z] [ 92%] Built target template-discovery [2020-07-03T15:43:50.840Z] [ 96%] Built target device-terminal [2020-07-03T15:43:50.840Z] [100%] Built target templatev1 [2020-07-03T15:43:50.840Z] Run CPack packaging tool... [2020-07-03T15:43:50.840Z] CPack: Create package using TGZ [2020-07-03T15:43:50.840Z] CPack: Install projects [2020-07-03T15:43:50.840Z] CPack: - Run preinstall target for: Csdk [2020-07-03T15:43:51.306Z] $ docker rm -f 339ae9f5624ef79cd58a74a6eba581f86eea4a5aa351ba99bf5fa75da32c1c4a [Pipeline] // withDockerContainer [Pipeline] } [2020-07-03T15:43:51.431Z] CPack: - Install project: Csdk [2020-07-03T15:43:51.431Z] CPack: Create package [2020-07-03T15:43:51.431Z] CPack: - package: /tmp/sdk/build/release/csdk-1.2.2-dev.8.tar.gz generated. [2020-07-03T15:43:51.431Z] + '[' false '=' true ] [2020-07-03T15:43:51.431Z] + '[' false '=' true ] [2020-07-03T15:43:51.431Z] + mkdir -p /tmp/sdk/build/debug [2020-07-03T15:43:51.431Z] + cd /tmp/sdk/build/debug [2020-07-03T15:43:51.431Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2020-07-03T15:43:51.703Z] -- The C compiler identification is GNU 8.3.0 [2020-07-03T15:43:51.974Z] -- Check for working C compiler: /usr/bin/cc [2020-07-03T15:43:52.245Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-07-03T15:43:52.245Z] -- Detecting C compiler ABI info [2020-07-03T15:43:52.245Z] -- Detecting C compiler ABI info - done [2020-07-03T15:43:52.515Z] -- Detecting C compile features [Pipeline] sh [2020-07-03T15:43:53.062Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-07-03T15:43:53.193Z] -- Detecting C compile features - done [2020-07-03T15:43:53.194Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-07-03T15:43:53.194Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-07-03T15:43:53.194Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-07-03T15:43:53.194Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-07-03T15:43:53.194Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-07-03T15:43:53.194Z] -- C SDK 1.2.2-dev.8 for Linux [2020-07-03T15:43:53.194Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-07-03T15:43:53.374Z] + ls -al . [2020-07-03T15:43:53.374Z] total 160 [2020-07-03T15:43:53.374Z] drwxrwxr-x. 9 jenkins jenkins 275 Jul 3 15:42 . [2020-07-03T15:43:53.374Z] drwxrwxr-x. 4 jenkins jenkins 30 Jul 3 15:42 .. [2020-07-03T15:43:53.374Z] -rw-rw-r--. 1 jenkins jenkins 3104 Jul 3 15:42 Attribution.txt [2020-07-03T15:43:53.374Z] -rw-rw-r--. 1 jenkins jenkins 5434 Jul 3 15:42 CHANGES [2020-07-03T15:43:53.374Z] drwxrwxr-x. 2 jenkins jenkins 144 Jul 3 15:42 docs [2020-07-03T15:43:53.374Z] -rw-rw-r--. 1 jenkins jenkins 108574 Jul 3 15:42 Doxyfile [2020-07-03T15:43:53.374Z] drwxrwxr-x. 8 jenkins jenkins 162 Jul 3 15:42 .git [2020-07-03T15:43:53.374Z] drwxrwxr-x. 2 jenkins jenkins 38 Jul 3 15:42 .github [2020-07-03T15:43:53.374Z] -rw-rw-r--. 1 jenkins jenkins 176 Jul 3 15:42 .gitignore [2020-07-03T15:43:53.374Z] drwxrwxr-x. 4 jenkins jenkins 33 Jul 3 15:42 include [2020-07-03T15:43:53.374Z] -rw-rw-r--. 1 jenkins jenkins 794 Jul 3 15:42 Jenkinsfile [2020-07-03T15:43:53.374Z] -rw-rw-r--. 1 jenkins jenkins 10174 Jul 3 15:42 LICENSE [2020-07-03T15:43:53.374Z] -rw-rw-r--. 1 jenkins jenkins 449 Jul 3 15:42 Makefile [2020-07-03T15:43:53.374Z] -rw-rw-r--. 1 jenkins jenkins 1849 Jul 3 15:42 README.md [2020-07-03T15:43:53.374Z] -rw-rw-r--. 1 jenkins jenkins 5229 Jul 3 15:42 README.v2.md [2020-07-03T15:43:53.374Z] drwxrwxr-x. 2 jenkins jenkins 108 Jul 3 15:42 scripts [2020-07-03T15:43:53.374Z] drwxrwxr-x. 3 jenkins jenkins 44 Jul 3 15:42 .semver [2020-07-03T15:43:53.374Z] drwxrwxr-x. 4 jenkins jenkins 50 Jul 3 15:42 src [2020-07-03T15:43:53.374Z] -rw-rw-r--. 1 jenkins jenkins 11 Jul 3 15:40 VERSION [Pipeline] isUnix [Pipeline] sh [2020-07-03T15:43:53.487Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-07-03T15:43:53.487Z] -- Found Curses: /usr/lib/libcurses.so [2020-07-03T15:43:53.678Z] + docker build -t docker-device-sdk-c -f scripts/Dockerfile.alpine-3.11 --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=9c55f022443565d876ce2e8ecf330b8742e19320 --label arch=amd64 --label version=1.2.2-dev.8 . [2020-07-03T15:43:53.678Z] Sending build context to Docker daemon 3.348MB [2020-07-03T15:43:53.678Z] Step 1/15 : ARG BASE=alpine:3.11 [2020-07-03T15:43:53.678Z] Step 2/15 : FROM ${BASE} [2020-07-03T15:43:53.678Z] ---> c99403c3731f [2020-07-03T15:43:53.678Z] Step 3/15 : MAINTAINER IOTech [2020-07-03T15:43:53.767Z] -- Configuring done [2020-07-03T15:43:53.767Z] -- Generating done [2020-07-03T15:43:54.057Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-07-03T15:43:54.057Z] + + make [2020-07-03T15:43:54.057Z] tee debug.log [2020-07-03T15:43:54.057Z] Scanning dependencies of target csdk [2020-07-03T15:43:54.057Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-07-03T15:43:54.252Z] ---> Running in 27d807b4a412 [2020-07-03T15:43:54.252Z] Removing intermediate container 27d807b4a412 [2020-07-03T15:43:54.252Z] ---> 37ed794d2175 [2020-07-03T15:43:54.252Z] Step 4/15 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev && mkdir -p /edgex-c-sdk/build [2020-07-03T15:43:54.514Z] ---> Running in 65362f9fee41 [2020-07-03T15:43:54.682Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-07-03T15:43:54.776Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-07-03T15:43:54.966Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-07-03T15:43:55.347Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-07-03T15:43:55.575Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-07-03T15:43:55.607Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2020-07-03T15:43:55.866Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-07-03T15:43:55.866Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-07-03T15:43:55.868Z] (2/6) Installing libblkid (2.33-r0) [2020-07-03T15:43:55.868Z] (3/6) Installing libfdisk (2.33-r0) [2020-07-03T15:43:55.868Z] (4/6) Installing libmount (2.33-r0) [2020-07-03T15:43:56.129Z] (5/6) Installing libsmartcols (2.33-r0) [2020-07-03T15:43:56.129Z] (6/6) Installing util-linux-dev (2.33-r0) [2020-07-03T15:43:56.390Z] Executing busybox-1.29.3-r10.trigger [2020-07-03T15:43:56.390Z] OK: 272 MiB in 84 packages [2020-07-03T15:43:56.464Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-07-03T15:43:56.964Z] Removing intermediate container 65362f9fee41 [2020-07-03T15:43:56.964Z] ---> 879813b38b3e [2020-07-03T15:43:56.964Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-07-03T15:43:57.051Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-07-03T15:43:57.225Z] ---> 3f62ca4e7192 [2020-07-03T15:43:57.225Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-07-03T15:43:57.320Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-07-03T15:43:57.592Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-07-03T15:43:57.797Z] ---> 90b2ef305dbf [2020-07-03T15:43:57.797Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-07-03T15:43:57.861Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-07-03T15:43:58.060Z] ---> b19c3787c0ad [2020-07-03T15:43:58.060Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-07-03T15:43:58.131Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-07-03T15:43:58.132Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-07-03T15:43:58.321Z] ---> bfb21bc69b3e [2020-07-03T15:43:58.321Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-07-03T15:43:58.402Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-07-03T15:43:58.583Z] ---> 5a55b736b62c [2020-07-03T15:43:58.583Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-07-03T15:43:58.583Z] ---> 12c6bb7ddd5c [2020-07-03T15:43:58.583Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-07-03T15:43:58.845Z] ---> Running in fcc9936e90ee [2020-07-03T15:43:58.845Z] Removing intermediate container fcc9936e90ee [2020-07-03T15:43:58.845Z] ---> 013fb94708b0 [2020-07-03T15:43:58.845Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-07-03T15:43:58.845Z] ---> Running in 055d344f671c [2020-07-03T15:43:59.106Z] Removing intermediate container 055d344f671c [2020-07-03T15:43:59.106Z] ---> bb564d2006a3 [2020-07-03T15:43:59.106Z] Step 13/15 : LABEL arch=amd64 [2020-07-03T15:43:59.106Z] ---> Running in 218cab85944a [2020-07-03T15:43:59.366Z] Removing intermediate container 218cab85944a [2020-07-03T15:43:59.366Z] ---> a63c79d3ccdd [2020-07-03T15:43:59.366Z] Step 14/15 : LABEL git_sha=9c55f022443565d876ce2e8ecf330b8742e19320 [2020-07-03T15:43:59.366Z] ---> Running in f5354a72ca99 [2020-07-03T15:43:59.373Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-07-03T15:43:59.373Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-07-03T15:43:59.627Z] Removing intermediate container f5354a72ca99 [2020-07-03T15:43:59.627Z] ---> d3704b9e15be [2020-07-03T15:43:59.627Z] Step 15/15 : LABEL version=1.2.2-dev.8 [2020-07-03T15:43:59.627Z] ---> Running in 4269cc77715b [2020-07-03T15:43:59.627Z] Removing intermediate container 4269cc77715b [2020-07-03T15:43:59.627Z] ---> e8d0b99bb374 [2020-07-03T15:43:59.627Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2020-07-03T15:43:59.627Z] Successfully built e8d0b99bb374 [2020-07-03T15:43:59.645Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-07-03T15:43:59.887Z] Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [2020-07-03T15:43:59.919Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-07-03T15:44:00.515Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-07-03T15:44:00.792Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-07-03T15:44:00.792Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-07-03T15:44:01.079Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-07-03T15:44:01.351Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-07-03T15:44:01.627Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-07-03T15:44:01.898Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-07-03T15:44:01.899Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-07-03T15:44:02.172Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-07-03T15:44:02.444Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-07-03T15:44:02.716Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-07-03T15:44:02.993Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-07-03T15:44:03.264Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-07-03T15:44:04.235Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-07-03T15:44:04.506Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-07-03T15:44:04.783Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-07-03T15:44:05.054Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-07-03T15:44:06.026Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-07-03T15:44:06.616Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-07-03T15:44:07.208Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-07-03T15:44:07.478Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-07-03T15:44:07.749Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-07-03T15:44:08.021Z] [ 74%] Linking C shared library libcsdk.so [2020-07-03T15:44:08.292Z] [ 74%] Built target csdk [2020-07-03T15:44:08.292Z] Scanning dependencies of target template [2020-07-03T15:44:08.292Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-07-03T15:44:08.562Z] [ 78%] Linking C executable template [2020-07-03T15:44:08.832Z] [ 78%] Built target template [2020-07-03T15:44:08.832Z] Scanning dependencies of target device-counter [2020-07-03T15:44:08.832Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-07-03T15:44:09.103Z] [ 81%] Linking C executable device-counter [2020-07-03T15:44:09.373Z] [ 81%] Built target device-counter [2020-07-03T15:44:09.373Z] Scanning dependencies of target device-random [2020-07-03T15:44:09.373Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-07-03T15:44:09.643Z] [ 85%] Linking C executable device-random [2020-07-03T15:44:09.913Z] [ 85%] Built target device-random [2020-07-03T15:44:09.913Z] Scanning dependencies of target device-gyro [2020-07-03T15:44:09.913Z] [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-07-03T15:44:10.184Z] [ 89%] Linking C executable device-gyro [2020-07-03T15:44:10.455Z] [ 89%] Built target device-gyro [2020-07-03T15:44:10.455Z] Scanning dependencies of target template-discovery [2020-07-03T15:44:10.455Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-07-03T15:44:10.726Z] [ 92%] Linking C executable template-discovery [2020-07-03T15:44:10.996Z] [ 92%] Built target template-discovery [2020-07-03T15:44:10.996Z] Scanning dependencies of target device-terminal [2020-07-03T15:44:10.996Z] [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-07-03T15:44:11.267Z] [ 96%] Linking C executable device-terminal [2020-07-03T15:44:11.537Z] [ 96%] Built target device-terminal [2020-07-03T15:44:11.537Z] Scanning dependencies of target templatev1 [2020-07-03T15:44:11.537Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-07-03T15:44:11.808Z] [100%] Linking C executable templatev1 [2020-07-03T15:44:12.079Z] [100%] Built target templatev1 [2020-07-03T15:44:12.079Z] make: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:44:12.079Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:44:12.079Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:44:12.079Z] Scanning dependencies of target csdk [2020-07-03T15:44:12.079Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:44:12.079Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:44:12.079Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-07-03T15:44:14.037Z] [ 3%] Linking C shared library libcsdk.so [2020-07-03T15:44:14.037Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:44:14.037Z] [ 74%] Built target csdk [2020-07-03T15:44:14.037Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:44:14.037Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:44:14.037Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:44:14.037Z] [ 76%] Linking C executable template [2020-07-03T15:44:14.307Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:44:14.307Z] [ 78%] Built target template [2020-07-03T15:44:14.307Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:44:14.307Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:44:14.307Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:44:14.307Z] [ 80%] Linking C executable device-counter [2020-07-03T15:44:14.578Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:44:14.578Z] [ 81%] Built target device-counter [2020-07-03T15:44:14.578Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:44:14.578Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:44:14.578Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:44:14.578Z] [ 83%] Linking C executable device-random [2020-07-03T15:44:14.848Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:44:14.848Z] [ 85%] Built target device-random [2020-07-03T15:44:14.848Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:44:14.848Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:44:14.848Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:44:14.848Z] [ 87%] Linking C executable device-gyro [2020-07-03T15:44:15.119Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:44:15.119Z] [ 89%] Built target device-gyro [2020-07-03T15:44:15.119Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:44:15.119Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:44:15.119Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:44:15.119Z] [ 90%] Linking C executable template-discovery [2020-07-03T15:44:15.119Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:44:15.390Z] [ 92%] Built target template-discovery [2020-07-03T15:44:15.390Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:44:15.390Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:44:15.390Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:44:15.390Z] [ 94%] Linking C executable device-terminal [2020-07-03T15:44:15.390Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:44:15.661Z] [ 96%] Built target device-terminal [2020-07-03T15:44:15.661Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:44:15.661Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:44:15.661Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-07-03T15:44:15.661Z] [ 98%] Linking C executable templatev1 [2020-07-03T15:44:15.661Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:44:15.933Z] [100%] Built target templatev1 [2020-07-03T15:44:15.933Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:44:15.933Z] Install the project... [2020-07-03T15:44:15.933Z] -- Install configuration: "Release" [2020-07-03T15:44:15.933Z] -- Installing: /usr/local/lib/libcsdk.so [2020-07-03T15:44:15.933Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-07-03T15:44:15.933Z] -- Up-to-date: /usr/local/include [2020-07-03T15:44:15.933Z] -- Installing: /usr/local/include/edgex [2020-07-03T15:44:15.933Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-07-03T15:44:15.933Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-07-03T15:44:15.933Z] -- Installing: /usr/local/include/edgex/error.h [2020-07-03T15:44:15.933Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-07-03T15:44:15.933Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-07-03T15:44:15.933Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-07-03T15:44:15.933Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-07-03T15:44:15.933Z] -- Installing: /usr/local/include/edgex/registry.h [2020-07-03T15:44:15.933Z] -- Installing: /usr/local/include/edgex/devices.h [2020-07-03T15:44:15.933Z] -- Installing: /usr/local/include/edgex/os.h [2020-07-03T15:44:15.933Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-07-03T15:44:15.933Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-07-03T15:44:15.933Z] -- Installing: /usr/local/include/devsdk [2020-07-03T15:44:15.933Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-07-03T15:44:15.933Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-07-03T15:44:15.933Z] -- Installing: /usr/local/include/iot [2020-07-03T15:44:15.933Z] -- Installing: /usr/local/include/iot/json.h [2020-07-03T15:44:15.933Z] -- Installing: /usr/local/include/iot/container.h [2020-07-03T15:44:15.933Z] -- Installing: /usr/local/include/iot/component.h [2020-07-03T15:44:15.933Z] -- Installing: /usr/local/include/iot/typecode.h [2020-07-03T15:44:15.933Z] -- Installing: /usr/local/include/iot/iot.h [2020-07-03T15:44:15.933Z] -- Installing: /usr/local/include/iot/time.h [2020-07-03T15:44:15.933Z] -- Installing: /usr/local/include/iot/hash.h [2020-07-03T15:44:15.933Z] -- Installing: /usr/local/include/iot/logger.h [2020-07-03T15:44:15.933Z] -- Installing: /usr/local/include/iot/os [2020-07-03T15:44:15.933Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-07-03T15:44:15.933Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-07-03T15:44:15.933Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-07-03T15:44:15.933Z] -- Installing: /usr/local/include/iot/data.h [2020-07-03T15:44:15.933Z] -- Installing: /usr/local/include/iot/thread.h [2020-07-03T15:44:15.933Z] -- Installing: /usr/local/include/iot/os.h [2020-07-03T15:44:15.933Z] -- Installing: /usr/local/include/iot/base64.h [2020-07-03T15:44:15.933Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-07-03T15:44:15.933Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-07-03T15:44:15.933Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-07-03T15:44:15.933Z] make: Leaving directory '/tmp/sdk/build/release' [2020-07-03T15:44:17.898Z] Removing intermediate container 902ac718b612 [2020-07-03T15:44:17.898Z] ---> 0e904284d05d [2020-07-03T15:44:17.898Z] Step 14/21 : FROM ${BASE} [2020-07-03T15:44:17.898Z] ---> b23d30803547 [2020-07-03T15:44:17.898Z] Step 15/21 : MAINTAINER IOTech [2020-07-03T15:44:18.168Z] ---> Running in a3df508484eb [2020-07-03T15:44:18.439Z] Removing intermediate container a3df508484eb [2020-07-03T15:44:18.439Z] ---> 4264635b93d5 [2020-07-03T15:44:18.439Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-07-03T15:44:18.710Z] ---> Running in e995695d7bff [2020-07-03T15:44:20.132Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-07-03T15:44:20.724Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-07-03T15:44:20.995Z] (1/3) Installing curl (7.64.0-r3) [2020-07-03T15:44:21.268Z] (2/3) Installing libuuid (2.33-r0) [2020-07-03T15:44:21.268Z] (3/3) Installing wget (1.20.3-r0) [2020-07-03T15:44:21.268Z] Executing busybox-1.29.3-r10.trigger [2020-07-03T15:44:21.537Z] OK: 281 MiB in 78 packages [2020-07-03T15:44:22.511Z] Removing intermediate container e995695d7bff [2020-07-03T15:44:22.511Z] ---> e2a065f0b403 [2020-07-03T15:44:22.511Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-07-03T15:44:23.483Z] ---> 2818ac902f3b [2020-07-03T15:44:23.483Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-07-03T15:44:24.076Z] ---> 21eb5ce7aa55 [2020-07-03T15:44:24.076Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-07-03T15:44:25.048Z] ---> 985cdca0d822 [2020-07-03T15:44:25.048Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-07-03T15:44:25.641Z] ---> c596eed9ea55 [2020-07-03T15:44:25.641Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-07-03T15:44:26.233Z] ---> 22901995ec59 [2020-07-03T15:44:26.233Z] Successfully built 22901995ec59 [2020-07-03T15:44:26.233Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-07-03T15:44:27.038Z] + docker inspect -f . ci-base-image-arm64 [2020-07-03T15:44:27.038Z] . [Pipeline] withDockerContainer [2020-07-03T15:44:27.307Z] prd-ubuntu18.04-docker-arm64-4c-16g-5154 does not seem to be running inside a container [2020-07-03T15:44:27.365Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/32 -v /w/workspace/device-sdk-c/32:/w/workspace/device-sdk-c/32:rw,z -v /w/workspace/device-sdk-c/32@tmp:/w/workspace/device-sdk-c/32@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-07-03T15:44:29.190Z] $ docker top 2cd60ed3d1d8b9b9cf6a7fe7926c5aee61c42f82f0625216bfe38d5265e148ea -eo pid,comm [Pipeline] { [Pipeline] sh [2020-07-03T15:44:30.548Z] + make test [2020-07-03T15:44:30.548Z] echo "make test" [2020-07-03T15:44:30.548Z] make test [Pipeline] } [2020-07-03T15:44:30.543Z] $ docker stop --time=1 2cd60ed3d1d8b9b9cf6a7fe7926c5aee61c42f82f0625216bfe38d5265e148ea [2020-07-03T15:44:32.487Z] $ docker rm -f 2cd60ed3d1d8b9b9cf6a7fe7926c5aee61c42f82f0625216bfe38d5265e148ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-07-03T15:44:33.267Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-07-03T15:44:33.621Z] + ls -al . [2020-07-03T15:44:33.621Z] total 196 [2020-07-03T15:44:33.621Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 3 15:42 . [2020-07-03T15:44:33.621Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 15:42 .. [2020-07-03T15:44:33.621Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 3 15:42 .git [2020-07-03T15:44:33.621Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 3 15:42 .github [2020-07-03T15:44:33.621Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 3 15:42 .gitignore [2020-07-03T15:44:33.621Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 15:42 .semver [2020-07-03T15:44:33.621Z] -rw-rw-r-- 1 jenkins jenkins 3104 Jul 3 15:42 Attribution.txt [2020-07-03T15:44:33.621Z] -rw-rw-r-- 1 jenkins jenkins 5434 Jul 3 15:42 CHANGES [2020-07-03T15:44:33.621Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 3 15:42 Doxyfile [2020-07-03T15:44:33.621Z] -rw-rw-r-- 1 jenkins jenkins 794 Jul 3 15:42 Jenkinsfile [2020-07-03T15:44:33.621Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 3 15:42 LICENSE [2020-07-03T15:44:33.621Z] -rw-rw-r-- 1 jenkins jenkins 449 Jul 3 15:42 Makefile [2020-07-03T15:44:33.621Z] -rw-rw-r-- 1 jenkins jenkins 1849 Jul 3 15:42 README.md [2020-07-03T15:44:33.621Z] -rw-rw-r-- 1 jenkins jenkins 5229 Jul 3 15:42 README.v2.md [2020-07-03T15:44:33.621Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 3 15:40 VERSION [2020-07-03T15:44:33.621Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 3 15:42 docs [2020-07-03T15:44:33.621Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 15:42 include [2020-07-03T15:44:33.621Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 3 15:42 scripts [2020-07-03T15:44:33.621Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 15:42 src [Pipeline] isUnix [Pipeline] sh [2020-07-03T15:44:34.005Z] + docker build -t docker-device-sdk-c-arm64 -f scripts/Dockerfile.alpine-3.11 --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=9c55f022443565d876ce2e8ecf330b8742e19320 --label arch=arm64 --label version=1.2.2-dev.8 . [2020-07-03T15:44:34.643Z] Sending build context to Docker daemon 3.348MB [2020-07-03T15:44:34.643Z] Step 1/15 : ARG BASE=alpine:3.11 [2020-07-03T15:44:34.643Z] Step 2/15 : FROM ${BASE} [2020-07-03T15:44:34.643Z] ---> 22901995ec59 [2020-07-03T15:44:34.643Z] Step 3/15 : MAINTAINER IOTech [2020-07-03T15:44:34.918Z] ---> Running in b3ab94970592 [2020-07-03T15:44:35.190Z] Removing intermediate container b3ab94970592 [2020-07-03T15:44:35.190Z] ---> cc0fcaa0f58d [2020-07-03T15:44:35.190Z] Step 4/15 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev && mkdir -p /edgex-c-sdk/build [2020-07-03T15:44:35.464Z] ---> Running in 112627b59c22 [2020-07-03T15:44:36.906Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-07-03T15:44:37.493Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-07-03T15:44:38.088Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2020-07-03T15:44:38.088Z] (2/6) Installing libblkid (2.33-r0) [2020-07-03T15:44:38.088Z] (3/6) Installing libfdisk (2.33-r0) [2020-07-03T15:44:38.088Z] (4/6) Installing libmount (2.33-r0) [2020-07-03T15:44:38.360Z] (5/6) Installing libsmartcols (2.33-r0) [2020-07-03T15:44:38.360Z] (6/6) Installing util-linux-dev (2.33-r0) [2020-07-03T15:44:38.631Z] Executing busybox-1.29.3-r10.trigger [2020-07-03T15:44:38.631Z] OK: 286 MiB in 84 packages [2020-07-03T15:44:40.057Z] Removing intermediate container 112627b59c22 [2020-07-03T15:44:40.057Z] ---> 7bb7f57d7ee1 [2020-07-03T15:44:40.057Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-07-03T15:44:40.649Z] ---> 71d768263d90 [2020-07-03T15:44:40.649Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-07-03T15:44:41.624Z] ---> d55421b79335 [2020-07-03T15:44:41.624Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-07-03T15:44:42.217Z] ---> 9656145b0669 [2020-07-03T15:44:42.217Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-07-03T15:44:43.193Z] ---> d8257a5fb328 [2020-07-03T15:44:43.193Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-07-03T15:44:43.789Z] ---> cc689c659059 [2020-07-03T15:44:43.789Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-07-03T15:44:44.379Z] ---> 8f34f69cf15d [2020-07-03T15:44:44.379Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-07-03T15:44:44.379Z] ---> Running in a7980ba05c15 [2020-07-03T15:44:44.973Z] Removing intermediate container a7980ba05c15 [2020-07-03T15:44:44.973Z] ---> f7bb83dac2d9 [2020-07-03T15:44:44.973Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-07-03T15:44:44.973Z] ---> Running in f5bdb9e0d21e [2020-07-03T15:44:45.564Z] Removing intermediate container f5bdb9e0d21e [2020-07-03T15:44:45.564Z] ---> 4622ffc99f02 [2020-07-03T15:44:45.564Z] Step 13/15 : LABEL arch=arm64 [2020-07-03T15:44:45.564Z] ---> Running in 0eabe70531bf [2020-07-03T15:44:46.155Z] Removing intermediate container 0eabe70531bf [2020-07-03T15:44:46.155Z] ---> 8e41064153bd [2020-07-03T15:44:46.155Z] Step 14/15 : LABEL git_sha=9c55f022443565d876ce2e8ecf330b8742e19320 [2020-07-03T15:44:46.155Z] ---> Running in d32e051daf50 [2020-07-03T15:44:46.747Z] Removing intermediate container d32e051daf50 [2020-07-03T15:44:46.747Z] ---> b7581ae0021f [2020-07-03T15:44:46.747Z] Step 15/15 : LABEL version=1.2.2-dev.8 [2020-07-03T15:44:46.747Z] ---> Running in 1fb2734cc274 [2020-07-03T15:44:47.017Z] Removing intermediate container 1fb2734cc274 [2020-07-03T15:44:47.017Z] ---> 371eb235842e [2020-07-03T15:44:47.017Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2020-07-03T15:44:47.286Z] Successfully built 371eb235842e [2020-07-03T15:44:47.286Z] Successfully tagged docker-device-sdk-c-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh [2020-07-03T15:44:48.426Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-03T15:44:48.426Z] . [Pipeline] withDockerContainer [2020-07-03T15:44:48.536Z] prd-centos7-docker-4c-2g-5153 does not seem to be running inside a container [2020-07-03T15:44:48.566Z] $ 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-07-03T15:44:49.292Z] $ docker top 2998ac926437714bb7c9022b247b7d67ad67d66f61da2405157a4a761a745edf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-07-03T15:44:49.478Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-03T15:44:49.478Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-03T15:44:49.674Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-03T15:44:49.670Z] $ docker exec 2998ac926437714bb7c9022b247b7d67ad67d66f61da2405157a4a761a745edf ssh-agent [2020-07-03T15:44:49.849Z] SSH_AUTH_SOCK=/tmp/ssh-SfeEuf5Lbctr/agent.13 [2020-07-03T15:44:49.849Z] SSH_AGENT_PID=18 [2020-07-03T15:44:49.855Z] Running ssh-add (command line suppressed) [2020-07-03T15:44:49.974Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_2067088581623276425.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_2067088581623276425.key) [2020-07-03T15:44:50.029Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-03T15:44:50.342Z] + git semver tag [2020-07-03T15:44:50.342Z] # -> Open(): unable to determine branch for HEAD [2020-07-03T15:44:50.342Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2020-07-03T15:44:50.342Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2020-07-03T15:44:50.342Z] # $SEMVER_REMOTE_NAME = origin [2020-07-03T15:44:50.342Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-07-03T15:44:50.342Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-07-03T15:44:50.342Z] # $SEMVER_BRANCH = master [2020-07-03T15:44:50.342Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [2020-07-03T15:44:50.342Z] # 9c55f022443565d876ce2e8ecf330b8742e19320 HEAD [2020-07-03T15:44:50.342Z] # -> Force: false [2020-07-03T15:44:50.342Z] # 271b8ef9d056cde66db417bac5e19c2fe4db9744 refs/tags/v1.2.2-dev.8 [Pipeline] } [2020-07-03T15:44:50.346Z] $ docker exec --env ******** --env ******** 2998ac926437714bb7c9022b247b7d67ad67d66f61da2405157a4a761a745edf ssh-agent -k [2020-07-03T15:44:50.477Z] unset SSH_AUTH_SOCK; [2020-07-03T15:44:50.477Z] unset SSH_AGENT_PID; [2020-07-03T15:44:50.477Z] echo Agent pid 18 killed; [2020-07-03T15:44:50.529Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-07-03T15:44:50.890Z] + git semver [Pipeline] } [2020-07-03T15:44:50.898Z] $ docker stop --time=1 2998ac926437714bb7c9022b247b7d67ad67d66f61da2405157a4a761a745edf [2020-07-03T15:44:52.273Z] $ docker rm -f 2998ac926437714bb7c9022b247b7d67ad67d66f61da2405157a4a761a745edf [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-07-03T15:44:52.817Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-07-03T15:44:52.817Z] [2020-07-03T15:44:52.817Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-07-03T15:44:53.143Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-07-03T15:44:53.143Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-07-03T15:44:53.143Z] ab5ef0e58194: Pulling fs layer [2020-07-03T15:44:53.143Z] 9712f1f96733: Pulling fs layer [2020-07-03T15:44:53.143Z] 63f879dbbcfc: Pulling fs layer [2020-07-03T15:44:53.143Z] 0d9ebad4ef96: Pulling fs layer [2020-07-03T15:44:53.143Z] e9a5061849ea: Pulling fs layer [2020-07-03T15:44:53.143Z] d747dcd14b5f: Pulling fs layer [2020-07-03T15:44:53.143Z] 2de7ff778b66: Pulling fs layer [2020-07-03T15:44:53.143Z] e9a5061849ea: Waiting [2020-07-03T15:44:53.143Z] d747dcd14b5f: Waiting [2020-07-03T15:44:53.143Z] 2de7ff778b66: Waiting [2020-07-03T15:44:53.143Z] 0d9ebad4ef96: Waiting [2020-07-03T15:44:53.143Z] 9712f1f96733: Verifying Checksum [2020-07-03T15:44:53.143Z] 9712f1f96733: Download complete [2020-07-03T15:44:53.745Z] 63f879dbbcfc: Verifying Checksum [2020-07-03T15:44:53.745Z] 63f879dbbcfc: Download complete [2020-07-03T15:44:53.745Z] e9a5061849ea: Verifying Checksum [2020-07-03T15:44:53.745Z] e9a5061849ea: Download complete [2020-07-03T15:44:53.745Z] d747dcd14b5f: Verifying Checksum [2020-07-03T15:44:53.745Z] d747dcd14b5f: Download complete [2020-07-03T15:44:54.020Z] 2de7ff778b66: Verifying Checksum [2020-07-03T15:44:54.020Z] 2de7ff778b66: Download complete [2020-07-03T15:44:54.283Z] 0d9ebad4ef96: Verifying Checksum [2020-07-03T15:44:54.283Z] 0d9ebad4ef96: Download complete [2020-07-03T15:44:54.283Z] ab5ef0e58194: Verifying Checksum [2020-07-03T15:44:54.283Z] ab5ef0e58194: Download complete [2020-07-03T15:44:59.588Z] ab5ef0e58194: Pull complete [2020-07-03T15:44:59.589Z] 9712f1f96733: Pull complete [2020-07-03T15:45:02.918Z] 63f879dbbcfc: Pull complete [2020-07-03T15:45:08.244Z] 0d9ebad4ef96: Pull complete [2020-07-03T15:45:09.187Z] e9a5061849ea: Pull complete [2020-07-03T15:45:09.450Z] d747dcd14b5f: Pull complete [2020-07-03T15:45:14.756Z] 2de7ff778b66: Pull complete [2020-07-03T15:45:14.756Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-07-03T15:45:14.756Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-07-03T15:45:14.756Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-07-03T15:45:14.894Z] prd-centos7-docker-4c-2g-5153 does not seem to be running inside a container [2020-07-03T15:45:14.928Z] $ 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-07-03T15:45:17.234Z] $ docker top bd3edad68820b994291f7f7b09d108c5934aeebb3a5c50ccb8ea6fde02ff7adc -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-07-03T15:45:17.437Z] provisioning config files... [2020-07-03T15:45:17.449Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config747704229794227814tmp [2020-07-03T15:45:17.468Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config211201506209967453tmp [2020-07-03T15:45:17.482Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config1458738724622601342tmp [Pipeline] { [Pipeline] echo [2020-07-03T15:45:17.512Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-03T15:45:17.805Z] ---> sigul-configuration.sh [2020-07-03T15:45:17.805Z] gpg: directory `/root/.gnupg' created [2020-07-03T15:45:17.805Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-07-03T15:45:17.805Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-07-03T15:45:17.805Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-07-03T15:45:17.805Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-07-03T15:45:17.805Z] gpg: CAST5 encrypted data [2020-07-03T15:45:18.067Z] gpg: encrypted with 1 passphrase [2020-07-03T15:45:18.067Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-07-03T15:45:18.359Z] + mkdir /home/jenkins [2020-07-03T15:45:18.359Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-07-03T15:45:18.652Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo [2020-07-03T15:45:18.661Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-03T15:45:18.951Z] ---> sigul-install.sh [2020-07-03T15:45:24.244Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-07-03T15:45:24.539Z] + git tag --list [2020-07-03T15:45:24.539Z] v1.2.2-dev.8 [Pipeline] sh [2020-07-03T15:45:24.833Z] + lftools sign git-tag v1.2.2-dev.8 [2020-07-03T15:45:26.221Z] Signing Git tag with Sigul... [2020-07-03T15:45:26.221Z] Signing v1.2.2-dev.8 [Pipeline] echo [2020-07-03T15:45:27.617Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-03T15:45:27.909Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-07-03T15:45:27.917Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-07-03T15:45:27.953Z] $ docker stop --time=1 bd3edad68820b994291f7f7b09d108c5934aeebb3a5c50ccb8ea6fde02ff7adc [2020-07-03T15:45:29.882Z] $ docker rm -f bd3edad68820b994291f7f7b09d108c5934aeebb3a5c50ccb8ea6fde02ff7adc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-07-03T15:45:30.487Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-03T15:45:30.487Z] . [Pipeline] withDockerContainer [2020-07-03T15:45:30.595Z] prd-centos7-docker-4c-2g-5153 does not seem to be running inside a container [2020-07-03T15:45:30.627Z] $ 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-07-03T15:45:31.411Z] $ docker top b1fa9502c7033f41dcae74f69cc3b0a06510c13e0d45b776c8551245f9cb8993 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-07-03T15:45:31.644Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-03T15:45:31.644Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-03T15:45:31.868Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-03T15:45:31.864Z] $ docker exec b1fa9502c7033f41dcae74f69cc3b0a06510c13e0d45b776c8551245f9cb8993 ssh-agent [2020-07-03T15:45:32.094Z] SSH_AUTH_SOCK=/tmp/ssh-uDadtX4my0wI/agent.13 [2020-07-03T15:45:32.094Z] SSH_AGENT_PID=19 [2020-07-03T15:45:32.100Z] Running ssh-add (command line suppressed) [2020-07-03T15:45:32.243Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_8343899504784646307.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_8343899504784646307.key) [2020-07-03T15:45:32.327Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-03T15:45:32.640Z] + git semver bump pre [2020-07-03T15:45:32.640Z] # -> Open(): unable to determine branch for HEAD [2020-07-03T15:45:32.640Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2020-07-03T15:45:32.640Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2020-07-03T15:45:32.640Z] # $SEMVER_REMOTE_NAME = origin [2020-07-03T15:45:32.640Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-07-03T15:45:32.640Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-07-03T15:45:32.640Z] # $SEMVER_BRANCH = master [2020-07-03T15:45:32.640Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [2020-07-03T15:45:32.640Z] 1.2.2-dev.9 [Pipeline] } [2020-07-03T15:45:32.643Z] $ docker exec --env ******** --env ******** b1fa9502c7033f41dcae74f69cc3b0a06510c13e0d45b776c8551245f9cb8993 ssh-agent -k [2020-07-03T15:45:32.768Z] unset SSH_AUTH_SOCK; [2020-07-03T15:45:32.770Z] unset SSH_AGENT_PID; [2020-07-03T15:45:32.770Z] echo Agent pid 19 killed; [2020-07-03T15:45:32.831Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-07-03T15:45:33.188Z] + git semver [Pipeline] } [2020-07-03T15:45:33.197Z] $ docker stop --time=1 b1fa9502c7033f41dcae74f69cc3b0a06510c13e0d45b776c8551245f9cb8993 [2020-07-03T15:45:34.565Z] $ docker rm -f b1fa9502c7033f41dcae74f69cc3b0a06510c13e0d45b776c8551245f9cb8993 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-07-03T15:45:34.998Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-03T15:45:34.999Z] . [Pipeline] withDockerContainer [2020-07-03T15:45:35.091Z] prd-centos7-docker-4c-2g-5153 does not seem to be running inside a container [2020-07-03T15:45:35.127Z] $ 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-07-03T15:45:36.113Z] $ docker top 795a1bfbc7a7decda41e81575cbe997b431d23555d9d0234ce9852e9c3f88da8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-07-03T15:45:36.290Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-03T15:45:36.290Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-03T15:45:36.468Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-03T15:45:36.464Z] $ docker exec 795a1bfbc7a7decda41e81575cbe997b431d23555d9d0234ce9852e9c3f88da8 ssh-agent [2020-07-03T15:45:36.644Z] SSH_AUTH_SOCK=/tmp/ssh-lG8iTMZPddtW/agent.11 [2020-07-03T15:45:36.644Z] SSH_AGENT_PID=17 [2020-07-03T15:45:36.651Z] Running ssh-add (command line suppressed) [2020-07-03T15:45:36.771Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_1180477004037515559.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_1180477004037515559.key) [2020-07-03T15:45:36.834Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-03T15:45:37.142Z] + git semver push [2020-07-03T15:45:37.142Z] # -> Open(): unable to determine branch for HEAD [2020-07-03T15:45:37.142Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2020-07-03T15:45:37.142Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2020-07-03T15:45:37.142Z] # $SEMVER_REMOTE_NAME = origin [2020-07-03T15:45:37.142Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-07-03T15:45:37.142Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-07-03T15:45:37.142Z] # $SEMVER_BRANCH = master [2020-07-03T15:45:37.142Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [Pipeline] } [2020-07-03T15:45:43.736Z] $ docker exec --env ******** --env ******** 795a1bfbc7a7decda41e81575cbe997b431d23555d9d0234ce9852e9c3f88da8 ssh-agent -k [2020-07-03T15:45:43.890Z] unset SSH_AUTH_SOCK; [2020-07-03T15:45:43.890Z] unset SSH_AGENT_PID; [2020-07-03T15:45:43.890Z] echo Agent pid 17 killed; [2020-07-03T15:45:43.951Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-07-03T15:45:44.328Z] + git semver [Pipeline] } [2020-07-03T15:45:44.336Z] $ docker stop --time=1 795a1bfbc7a7decda41e81575cbe997b431d23555d9d0234ce9852e9c3f88da8 [2020-07-03T15:45:45.689Z] $ docker rm -f 795a1bfbc7a7decda41e81575cbe997b431d23555d9d0234ce9852e9c3f88da8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-07-03T15:45:46.335Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-03T15:45:46.892Z] ---> package-listing.sh [2020-07-03T15:45:46.892Z] ++ facter osfamily [2020-07-03T15:45:46.892Z] ++ tr '[:upper:]' '[:lower:]' [2020-07-03T15:45:46.892Z] + OS_FAMILY=redhat [2020-07-03T15:45:46.892Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_master [2020-07-03T15:45:46.892Z] + START_PACKAGES=/tmp/packages_start.txt [2020-07-03T15:45:46.892Z] + END_PACKAGES=/tmp/packages_end.txt [2020-07-03T15:45:46.892Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-07-03T15:45:46.892Z] + PACKAGES=/tmp/packages_start.txt [2020-07-03T15:45:46.892Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_master ']' [2020-07-03T15:45:46.892Z] + PACKAGES=/tmp/packages_end.txt [2020-07-03T15:45:46.892Z] + case "${OS_FAMILY}" in [2020-07-03T15:45:46.892Z] + sort [2020-07-03T15:45:46.892Z] + rpm -qa [2020-07-03T15:45:51.101Z] + '[' -f /tmp/packages_start.txt ']' [2020-07-03T15:45:51.101Z] + '[' -f /tmp/packages_end.txt ']' [2020-07-03T15:45:51.101Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-07-03T15:45:51.101Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_master ']' [2020-07-03T15:45:51.101Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_master/archives/ [2020-07-03T15:45:51.101Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_master/archives/ [Pipeline] isUnix [Pipeline] sh [2020-07-03T15:45:51.726Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-03T15:45:51.727Z] [2020-07-03T15:45:51.727Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-07-03T15:45:52.047Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-03T15:45:52.047Z] alpine: Pulling from edgex-lftools-log-publisher [2020-07-03T15:45:52.047Z] c9b1b535fdd9: Pulling fs layer [2020-07-03T15:45:52.047Z] 2cc5ad85d9ab: Pulling fs layer [2020-07-03T15:45:52.047Z] 756a868c4378: Pulling fs layer [2020-07-03T15:45:52.047Z] 444b2fc9a129: Pulling fs layer [2020-07-03T15:45:52.047Z] ea15f1150254: Pulling fs layer [2020-07-03T15:45:52.047Z] 41b27a9f41bf: Pulling fs layer [2020-07-03T15:45:52.047Z] 28c525ee5125: Pulling fs layer [2020-07-03T15:45:52.047Z] 094b1ea09ed8: Pulling fs layer [2020-07-03T15:45:52.047Z] 138eaada9080: Pulling fs layer [2020-07-03T15:45:52.047Z] 0622d0fa9048: Pulling fs layer [2020-07-03T15:45:52.047Z] 444b2fc9a129: Waiting [2020-07-03T15:45:52.047Z] 28c525ee5125: Waiting [2020-07-03T15:45:52.047Z] 094b1ea09ed8: Waiting [2020-07-03T15:45:52.047Z] 138eaada9080: Waiting [2020-07-03T15:45:52.047Z] ea15f1150254: Waiting [2020-07-03T15:45:52.047Z] 41b27a9f41bf: Waiting [2020-07-03T15:45:52.047Z] 0622d0fa9048: Waiting [2020-07-03T15:45:52.047Z] 2cc5ad85d9ab: Download complete [2020-07-03T15:45:52.047Z] 444b2fc9a129: Verifying Checksum [2020-07-03T15:45:52.047Z] 444b2fc9a129: Download complete [2020-07-03T15:45:52.047Z] c9b1b535fdd9: Verifying Checksum [2020-07-03T15:45:52.047Z] c9b1b535fdd9: Download complete [2020-07-03T15:45:52.315Z] ea15f1150254: Verifying Checksum [2020-07-03T15:45:52.315Z] ea15f1150254: Download complete [2020-07-03T15:45:52.315Z] 28c525ee5125: Verifying Checksum [2020-07-03T15:45:52.315Z] 28c525ee5125: Download complete [2020-07-03T15:45:52.603Z] 756a868c4378: Verifying Checksum [2020-07-03T15:45:52.603Z] 756a868c4378: Download complete [2020-07-03T15:45:52.603Z] c9b1b535fdd9: Pull complete [2020-07-03T15:45:52.603Z] 138eaada9080: Verifying Checksum [2020-07-03T15:45:52.603Z] 138eaada9080: Download complete [2020-07-03T15:45:52.882Z] 0622d0fa9048: Verifying Checksum [2020-07-03T15:45:52.882Z] 0622d0fa9048: Download complete [2020-07-03T15:45:52.882Z] 094b1ea09ed8: Verifying Checksum [2020-07-03T15:45:52.882Z] 094b1ea09ed8: Download complete [2020-07-03T15:45:52.882Z] 2cc5ad85d9ab: Pull complete [2020-07-03T15:45:53.143Z] 41b27a9f41bf: Verifying Checksum [2020-07-03T15:45:53.143Z] 41b27a9f41bf: Download complete [2020-07-03T15:45:54.545Z] 756a868c4378: Pull complete [2020-07-03T15:45:54.545Z] 444b2fc9a129: Pull complete [2020-07-03T15:45:54.806Z] ea15f1150254: Pull complete [2020-07-03T15:45:59.027Z] 41b27a9f41bf: Pull complete [2020-07-03T15:45:59.027Z] 28c525ee5125: Pull complete [2020-07-03T15:46:00.967Z] 094b1ea09ed8: Pull complete [2020-07-03T15:46:01.229Z] 138eaada9080: Pull complete [2020-07-03T15:46:01.229Z] 0622d0fa9048: Pull complete [2020-07-03T15:46:01.490Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-07-03T15:46:01.490Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-03T15:46:01.490Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-07-03T15:46:01.634Z] prd-centos7-docker-4c-2g-5153 does not seem to be running inside a container [2020-07-03T15:46:01.670Z] $ 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-07-03T15:46:04.220Z] $ docker top ae01dec3ed186f780cc45b81abb06b35f3cb306a862ffb6f80d63e917c50d497 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-07-03T15:46:04.411Z] provisioning config files... [2020-07-03T15:46:04.427Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config8461082261335347354tmp [Pipeline] { [Pipeline] echo [2020-07-03T15:46:04.456Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-03T15:46:04.751Z] ---> create-netrc.sh [Pipeline] echo [2020-07-03T15:46:04.761Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-03T15:46:05.056Z] ---> logs-deploy.sh [2020-07-03T15:46:05.056Z] + ARCHIVE_ARTIFACTS= [2020-07-03T15:46:05.056Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-07-03T15:46:05.056Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-07-03T15:46:05.056Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-07-03T15:46:05.056Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/master/32 [2020-07-03T15:46:05.056Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/master/32/ [2020-07-03T15:46:05.056Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/master/32 /w/workspace/edgexfoundry_device-sdk-c_master [2020-07-03T15:46:06.441Z] Archives upload complete. [2020-07-03T15:46:06.441Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/master/32 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/master/32/