Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from fe664e697b23228791073c46494919a610be639c 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 on ‘prd-centos7-docker-4c-2g-3325’ Running on prd-centos7-docker-4c-2g-3327 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 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision fe664e697b23228791073c46494919a610be639c (master) > git config core.sparsecheckout # timeout=10 > git checkout -f fe664e697b23228791073c46494919a610be639c # timeout=10 Commit message: "Merge pull request #269 from iain-anderson/device-query-branch" > git rev-list --no-walk 5142e0cccf64cca4c4d94b6be2ac864e1bed3a5b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-06-17T09:43:12.049Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-06-17T09:43:12.167Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-06-17T09:43:12.209Z] ========================================================= [2020-06-17T09:43:12.209Z] EdgeX Global Pipelines Version Info [2020-06-17T09:43:12.209Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-06-17T09:43:13.600Z] ------------------- [2020-06-17T09:43:13.601Z] stable info: [2020-06-17T09:43:13.601Z] ------------------- [2020-06-17T09:43:13.601Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-06-17T09:43:13.601Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-17T09:43:13.601Z] Message: update stable to v1.0.89 [2020-06-17T09:43:14.542Z] ------------------- [2020-06-17T09:43:14.542Z] experimental info: [2020-06-17T09:43:14.542Z] ------------------- [2020-06-17T09:43:14.542Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-06-17T09:43:14.542Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-17T09:43:14.542Z] Message: update experimental to v1.0.89 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-06-17T09:43:16.337Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-17T09:43:17.734Z] [2020-06-17T09:43:17.734Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-06-17T09:43:18.086Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-17T09:43:18.086Z] latest: Pulling from edgex-devops/git-semver [2020-06-17T09:43:18.086Z] 9123ac7c32f7: Pulling fs layer [2020-06-17T09:43:18.086Z] b8cc5d1170e3: Pulling fs layer [2020-06-17T09:43:18.086Z] 2924cbbf6a41: Pulling fs layer [2020-06-17T09:43:18.086Z] 93b08a4f1073: Pulling fs layer [2020-06-17T09:43:18.086Z] 93b08a4f1073: Waiting [2020-06-17T09:43:18.086Z] b8cc5d1170e3: Verifying Checksum [2020-06-17T09:43:18.086Z] b8cc5d1170e3: Download complete [2020-06-17T09:43:18.086Z] 9123ac7c32f7: Verifying Checksum [2020-06-17T09:43:18.086Z] 9123ac7c32f7: Download complete [2020-06-17T09:43:18.349Z] 93b08a4f1073: Verifying Checksum [2020-06-17T09:43:18.349Z] 93b08a4f1073: Download complete [2020-06-17T09:43:18.349Z] 2924cbbf6a41: Download complete [2020-06-17T09:43:18.349Z] 9123ac7c32f7: Pull complete [2020-06-17T09:43:18.614Z] b8cc5d1170e3: Pull complete [2020-06-17T09:43:19.195Z] 2924cbbf6a41: Pull complete [2020-06-17T09:43:19.458Z] 93b08a4f1073: Pull complete [2020-06-17T09:43:19.458Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-06-17T09:43:19.458Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-17T09:43:19.458Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-06-17T09:43:19.567Z] prd-centos7-docker-4c-2g-3327 does not seem to be running inside a container [2020-06-17T09:43:19.616Z] $ 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-06-17T09:43:21.633Z] $ docker top a0009276bebe7f3ed0ab9f7074e498091c3b2650e8b69b8e3c7edaed82a06ce6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-06-17T09:43:21.801Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-17T09:43:21.801Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-17T09:43:21.997Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-17T09:43:22.003Z] $ docker exec a0009276bebe7f3ed0ab9f7074e498091c3b2650e8b69b8e3c7edaed82a06ce6 ssh-agent [2020-06-17T09:43:22.166Z] SSH_AUTH_SOCK=/tmp/ssh-smct5XkF3riG/agent.13 [2020-06-17T09:43:22.166Z] SSH_AGENT_PID=18 [2020-06-17T09:43:22.176Z] Running ssh-add (command line suppressed) [2020-06-17T09:43:22.300Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_9016269120826887793.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_9016269120826887793.key) [2020-06-17T09:43:22.345Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-17T09:43:22.651Z] + git describe --exact-match --tags HEAD [2020-06-17T09:43:22.651Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-06-17T09:43:22.763Z] $ docker exec --env ******** --env ******** a0009276bebe7f3ed0ab9f7074e498091c3b2650e8b69b8e3c7edaed82a06ce6 ssh-agent -k [2020-06-17T09:43:22.909Z] unset SSH_AUTH_SOCK; [2020-06-17T09:43:22.909Z] unset SSH_AGENT_PID; [2020-06-17T09:43:22.909Z] echo Agent pid 18 killed; [2020-06-17T09:43:22.955Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-06-17T09:43:22.993Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-06-17T09:43:22.993Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-06-17T09:43:23.043Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-17T09:43:23.044Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-17T09:43:23.202Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-17T09:43:23.209Z] $ docker exec a0009276bebe7f3ed0ab9f7074e498091c3b2650e8b69b8e3c7edaed82a06ce6 ssh-agent [2020-06-17T09:43:23.364Z] SSH_AUTH_SOCK=/tmp/ssh-txKjoA3dB2jo/agent.47 [2020-06-17T09:43:23.364Z] SSH_AGENT_PID=52 [2020-06-17T09:43:23.370Z] Running ssh-add (command line suppressed) [2020-06-17T09:43:23.490Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_8419993833088844174.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_8419993833088844174.key) [2020-06-17T09:43:23.537Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-17T09:43:23.853Z] + git semver init [2020-06-17T09:43:23.853Z] # -> Open(): unable to determine branch for HEAD [2020-06-17T09:43:23.853Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2020-06-17T09:43:23.853Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2020-06-17T09:43:23.853Z] # $SEMVER_REMOTE_NAME = origin [2020-06-17T09:43:23.853Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-06-17T09:43:23.853Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-06-17T09:43:23.853Z] # $SEMVER_BRANCH = master [2020-06-17T09:43:23.853Z] # $SEMVER_TEMP = /tmp/semver-343758725 [2020-06-17T09:43:23.853Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2020-06-17T09:43:24.424Z] # '/tmp/semver-343758725' -> '/w/workspace/edgexfoundry_device-sdk-c_master/.semver' [2020-06-17T09:43:24.424Z] # -> Force: false [2020-06-17T09:43:24.424Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [Pipeline] } [2020-06-17T09:43:24.438Z] $ docker exec --env ******** --env ******** a0009276bebe7f3ed0ab9f7074e498091c3b2650e8b69b8e3c7edaed82a06ce6 ssh-agent -k [2020-06-17T09:43:24.554Z] unset SSH_AUTH_SOCK; [2020-06-17T09:43:24.555Z] unset SSH_AGENT_PID; [2020-06-17T09:43:24.555Z] echo Agent pid 52 killed; [2020-06-17T09:43:24.593Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-06-17T09:43:25.082Z] + git semver [Pipeline] } [2020-06-17T09:43:25.101Z] $ docker stop --time=1 a0009276bebe7f3ed0ab9f7074e498091c3b2650e8b69b8e3c7edaed82a06ce6 [2020-06-17T09:43:26.475Z] $ docker rm -f a0009276bebe7f3ed0ab9f7074e498091c3b2650e8b69b8e3c7edaed82a06ce6 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-06-17T09:43:27.056Z] Stashed 45 file(s) [Pipeline] echo [2020-06-17T09:43:27.058Z] [edgeXSemver] initialized semver on version 1.2.2-dev.3 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-06-17T09:43:42.221Z] Still waiting to schedule task [2020-06-17T09:43:42.221Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-06-17T09:43:42.223Z] Still waiting to schedule task [2020-06-17T09:43:42.223Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-06-17T09:46:26.013Z] Running on prd-centos7-docker-4c-2g-3328 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] ws [2020-06-17T09:46:26.037Z] Running in /w/workspace/device-sdk-c/27 [Pipeline] { [Pipeline] checkout [2020-06-17T09:46:29.013Z] using credential edgex-jenkins-ssh [2020-06-17T09:46:29.040Z] Cloning the remote Git repository [2020-06-17T09:46:29.040Z] Cloning with configured refspecs honoured and without tags [2020-06-17T09:46:29.104Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-06-17T09:46:29.180Z] > git init /w/workspace/device-sdk-c/27 # timeout=10 [2020-06-17T09:46:29.243Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-06-17T09:46:29.243Z] > git --version # timeout=10 [2020-06-17T09:46:29.253Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-17T09:46:29.304Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-17T09:46:29.997Z] Fetching without tags [2020-06-17T09:46:30.396Z] Checking out Revision fe664e697b23228791073c46494919a610be639c (master) [2020-06-17T09:46:29.969Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-06-17T09:46:29.975Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-17T09:46:29.991Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-06-17T09:46:30.003Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-06-17T09:46:30.003Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-17T09:46:30.013Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-17T09:46:30.406Z] > git config core.sparsecheckout # timeout=10 [2020-06-17T09:46:30.411Z] > git checkout -f fe664e697b23228791073c46494919a610be639c # timeout=10 [2020-06-17T09:46:34.055Z] Commit message: "Merge pull request #269 from iain-anderson/device-query-branch" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-06-17T09:46:34.872Z] ========================================================= [2020-06-17T09:46:34.873Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2020-06-17T09:46:34.873Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-17T09:46:35.408Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-3.11-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2020-06-17T09:46:36.367Z] Sending build context to Docker daemon 3.263MB [2020-06-17T09:46:36.367Z] Step 1/21 : ARG BASE=alpine:3.11 [2020-06-17T09:46:36.367Z] Step 2/21 : FROM ${BASE} as builder [2020-06-17T09:46:36.367Z] latest: Pulling from edgex-devops/edgex-gcc-base [2020-06-17T09:46:36.367Z] e7c96db7181b: Pulling fs layer [2020-06-17T09:46:36.367Z] 4c13bbce0fe7: Pulling fs layer [2020-06-17T09:46:36.367Z] 6059c847ac2f: Pulling fs layer [2020-06-17T09:46:36.367Z] 4c13bbce0fe7: Verifying Checksum [2020-06-17T09:46:36.367Z] 4c13bbce0fe7: Download complete [2020-06-17T09:46:36.367Z] e7c96db7181b: Verifying Checksum [2020-06-17T09:46:36.367Z] e7c96db7181b: Download complete [2020-06-17T09:46:36.632Z] e7c96db7181b: Pull complete [2020-06-17T09:46:36.897Z] 4c13bbce0fe7: Pull complete [2020-06-17T09:46:37.476Z] 6059c847ac2f: Verifying Checksum [2020-06-17T09:46:37.476Z] 6059c847ac2f: Download complete [2020-06-17T09:46:42.795Z] 6059c847ac2f: Pull complete [2020-06-17T09:46:42.795Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2020-06-17T09:46:42.795Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2020-06-17T09:46:42.795Z] ---> 5eabd8fd8ba2 [2020-06-17T09:46:42.795Z] Step 3/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev [2020-06-17T09:46:43.745Z] ---> Running in 4d55256cce9c [2020-06-17T09:46:44.317Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-06-17T09:46:45.260Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-06-17T09:46:45.260Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-06-17T09:46:45.520Z] (2/8) Installing libuuid (2.33-r0) [2020-06-17T09:46:45.520Z] (3/8) Installing libblkid (2.33-r0) [2020-06-17T09:46:45.520Z] (4/8) Installing libfdisk (2.33-r0) [2020-06-17T09:46:45.781Z] (5/8) Installing libmount (2.33-r0) [2020-06-17T09:46:45.781Z] (6/8) Installing libsmartcols (2.33-r0) [2020-06-17T09:46:46.042Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-06-17T09:46:46.302Z] (8/8) Installing wget (1.20.3-r0) [2020-06-17T09:46:46.302Z] Executing busybox-1.29.3-r10.trigger [2020-06-17T09:46:46.303Z] OK: 272 MiB in 83 packages [2020-06-17T09:46:47.243Z] Removing intermediate container 4d55256cce9c [2020-06-17T09:46:47.243Z] ---> cfaebee9f246 [2020-06-17T09:46:47.243Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-06-17T09:46:47.243Z] ---> Running in 88292669cd6c [2020-06-17T09:46:47.505Z] Removing intermediate container 88292669cd6c [2020-06-17T09:46:47.505Z] ---> 74083913b52f [2020-06-17T09:46:47.505Z] Step 5/21 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2020-06-17T09:46:47.505Z] ---> Running in 7d08153bbc28 [2020-06-17T09:46:48.075Z] --2020-06-17 09:46:47-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-06-17T09:46:48.075Z] Resolving github.com... 140.82.113.4 [2020-06-17T09:46:48.075Z] Connecting to github.com|140.82.113.4|:443... connected. [2020-06-17T09:46:48.075Z] HTTP request sent, awaiting response... 302 Found [2020-06-17T09:46:48.075Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-06-17T09:46:48.075Z] --2020-06-17 09:46:48-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-06-17T09:46:48.340Z] Resolving codeload.github.com... 140.82.112.10 [2020-06-17T09:46:48.340Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2020-06-17T09:46:48.340Z] HTTP request sent, awaiting response... 200 OK [2020-06-17T09:46:48.340Z] Length: unspecified [application/x-gzip] [2020-06-17T09:46:48.340Z] Saving to: 'STDOUT' [2020-06-17T09:46:48.340Z]  [2020-06-17T09:46:48.340Z] 0K .......... .......... .......... .......... .......... 1.33M [2020-06-17T09:46:48.340Z] 50K .......... .......... .......... .......... .......... 2.74M [2020-06-17T09:46:48.340Z] 100K .......... .......... .......... .......... .......... 24.4M [2020-06-17T09:46:48.604Z] 150K .......... .......... .......... .......... .......... 50.9M [2020-06-17T09:46:48.604Z] 200K .......... .......... .......... .......... .......... 2.52M [2020-06-17T09:46:48.604Z] 250K .......... .......... .......... .......... .......... 10.6M [2020-06-17T09:46:48.604Z] 300K .......... .......... .......... .......... .......... 4.50M [2020-06-17T09:46:48.604Z] 350K .......... .......... .......... .......... .......... 21.1M [2020-06-17T09:46:48.604Z] 400K .......... .......... .......... .......... .......... 5.53M [2020-06-17T09:46:48.604Z] 450K .......... .......... .......... .......... .......... 7.41M [2020-06-17T09:46:48.604Z] 500K .......... .......... .......... .......... .......... 19.5M [2020-06-17T09:46:48.604Z] 550K .......... .......... .......... .......... .......... 5.31M [2020-06-17T09:46:48.604Z] 600K .......... .......... .......... .......... .......... 2.31M [2020-06-17T09:46:48.604Z] 650K .......... .......... .......... .......... .......... 4.45M [2020-06-17T09:46:48.604Z] 700K .. 46.4M=0.2s [2020-06-17T09:46:48.604Z] [2020-06-17T09:46:48.604Z] 2020-06-17 09:46:48 (4.46 MB/s) - written to stdout [719348] [2020-06-17T09:46:48.604Z] [2020-06-17T09:46:48.866Z] -- The C compiler identification is GNU 8.3.0 [2020-06-17T09:46:48.866Z] -- The CXX compiler identification is GNU 8.3.0 [2020-06-17T09:46:48.866Z] -- Check for working C compiler: /usr/bin/cc [2020-06-17T09:46:48.866Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-17T09:46:48.866Z] -- Detecting C compiler ABI info [2020-06-17T09:46:48.866Z] -- Detecting C compiler ABI info - done [2020-06-17T09:46:48.866Z] -- Detecting C compile features [2020-06-17T09:46:49.126Z] -- Detecting C compile features - done [2020-06-17T09:46:49.126Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-06-17T09:46:49.386Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-06-17T09:46:49.386Z] -- Detecting CXX compiler ABI info [2020-06-17T09:46:49.386Z] -- Detecting CXX compiler ABI info - done [2020-06-17T09:46:49.386Z] -- Detecting CXX compile features [2020-06-17T09:46:49.956Z] -- Detecting CXX compile features - done [2020-06-17T09:46:49.956Z] -- Looking for include file endian.h [2020-06-17T09:46:49.956Z] -- Looking for include file endian.h - found [2020-06-17T09:46:49.956Z] -- Check if the system is big endian [2020-06-17T09:46:49.956Z] -- Searching 16 bit integer [2020-06-17T09:46:49.956Z] -- Looking for sys/types.h [2020-06-17T09:46:49.956Z] -- Looking for sys/types.h - found [2020-06-17T09:46:49.956Z] -- Looking for stdint.h [2020-06-17T09:46:50.219Z] -- Looking for stdint.h - found [2020-06-17T09:46:50.219Z] -- Looking for stddef.h [2020-06-17T09:46:50.219Z] -- Looking for stddef.h - found [2020-06-17T09:46:50.219Z] -- Check size of unsigned short [2020-06-17T09:46:50.219Z] -- Check size of unsigned short - done [2020-06-17T09:46:50.219Z] -- Using unsigned short [2020-06-17T09:46:50.479Z] -- Check if the system is big endian - little endian [2020-06-17T09:46:50.479Z] -- Check size of size_t [2020-06-17T09:46:50.479Z] -- Check size of size_t - done [2020-06-17T09:46:50.479Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-06-17T09:46:50.479Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-06-17T09:46:50.479Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-06-17T09:46:50.479Z] CMake did not find one. [2020-06-17T09:46:50.479Z] [2020-06-17T09:46:50.479Z] Could not find a package configuration file provided by "cJSON" with any of [2020-06-17T09:46:50.479Z] the following names: [2020-06-17T09:46:50.479Z] [2020-06-17T09:46:50.479Z] cJSONConfig.cmake [2020-06-17T09:46:50.479Z] cjson-config.cmake [2020-06-17T09:46:50.479Z] [2020-06-17T09:46:50.479Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-06-17T09:46:50.479Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-06-17T09:46:50.479Z] provides a separate development package or SDK, be sure it has been [2020-06-17T09:46:50.479Z] installed. [2020-06-17T09:46:50.479Z] [2020-06-17T09:46:50.479Z] [2020-06-17T09:46:50.479Z] -- Configuring done [2020-06-17T09:46:50.479Z] -- Generating done [2020-06-17T09:46:50.479Z] -- Build files have been written to: /tmp/cbor [2020-06-17T09:46:50.739Z] Scanning dependencies of target cbor_shared [2020-06-17T09:46:50.739Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-06-17T09:46:50.739Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-06-17T09:46:51.001Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-06-17T09:46:51.001Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-06-17T09:46:51.261Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-06-17T09:46:51.261Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-06-17T09:46:51.522Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-06-17T09:46:51.522Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-06-17T09:46:51.522Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-06-17T09:46:51.522Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-06-17T09:46:51.783Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-06-17T09:46:51.783Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-06-17T09:46:52.056Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-06-17T09:46:52.056Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-06-17T09:46:52.056Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-06-17T09:46:52.316Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-06-17T09:46:52.316Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-06-17T09:46:52.316Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-06-17T09:46:52.316Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-06-17T09:46:52.577Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-06-17T09:46:52.577Z] [ 40%] Linking C shared library libcbor.so [2020-06-17T09:46:52.577Z] [ 40%] Built target cbor_shared [2020-06-17T09:46:52.577Z] Scanning dependencies of target cbor [2020-06-17T09:46:52.577Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-06-17T09:46:52.839Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-06-17T09:46:53.100Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-06-17T09:46:53.100Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-06-17T09:46:53.359Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-06-17T09:46:53.359Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-06-17T09:46:53.359Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-06-17T09:46:53.622Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-06-17T09:46:53.622Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-06-17T09:46:53.622Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-06-17T09:46:53.884Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-06-17T09:46:53.884Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-06-17T09:46:54.145Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-06-17T09:46:54.145Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-06-17T09:46:54.145Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-06-17T09:46:54.406Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-06-17T09:46:54.406Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-06-17T09:46:54.406Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-06-17T09:46:54.406Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-06-17T09:46:54.665Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-06-17T09:46:54.665Z] [ 80%] Linking C static library libcbor.a [2020-06-17T09:46:54.665Z] [ 80%] Built target cbor [2020-06-17T09:46:54.665Z] Scanning dependencies of target create_items [2020-06-17T09:46:54.665Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-06-17T09:46:54.665Z] [ 84%] Linking C executable create_items [2020-06-17T09:46:54.925Z] [ 84%] Built target create_items [2020-06-17T09:46:54.925Z] Scanning dependencies of target readfile [2020-06-17T09:46:54.925Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-06-17T09:46:54.925Z] [ 88%] Linking C executable readfile [2020-06-17T09:46:54.925Z] [ 88%] Built target readfile [2020-06-17T09:46:54.925Z] Scanning dependencies of target streaming_parser [2020-06-17T09:46:54.925Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-06-17T09:46:54.925Z] [ 92%] Linking C executable streaming_parser [2020-06-17T09:46:54.925Z] [ 92%] Built target streaming_parser [2020-06-17T09:46:55.185Z] Scanning dependencies of target sort [2020-06-17T09:46:55.185Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-06-17T09:46:55.185Z] [ 96%] Linking C executable sort [2020-06-17T09:46:55.185Z] [ 96%] Built target sort [2020-06-17T09:46:55.185Z] Scanning dependencies of target hello [2020-06-17T09:46:55.185Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-06-17T09:46:55.185Z] [100%] Linking C executable hello [2020-06-17T09:46:55.185Z] [100%] Built target hello [2020-06-17T09:46:55.185Z] Install the project... [2020-06-17T09:46:55.185Z] -- Install configuration: "Release" [2020-06-17T09:46:55.185Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-06-17T09:46:55.185Z] -- Installing: /usr/local/lib64/libcbor.a [2020-06-17T09:46:55.185Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-06-17T09:46:55.185Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-06-17T09:46:55.185Z] -- Installing: /usr/local/lib64/libcbor.so [2020-06-17T09:46:55.185Z] -- Up-to-date: /usr/local/include/cbor [2020-06-17T09:46:55.185Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-06-17T09:46:55.185Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-06-17T09:46:55.185Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-06-17T09:46:55.185Z] -- Installing: /usr/local/include/cbor/common.h [2020-06-17T09:46:55.185Z] -- Installing: /usr/local/include/cbor/data.h [2020-06-17T09:46:55.185Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-06-17T09:46:55.185Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-06-17T09:46:55.185Z] -- Installing: /usr/local/include/cbor/internal [2020-06-17T09:46:55.185Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-06-17T09:46:55.185Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-06-17T09:46:55.185Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-06-17T09:46:55.185Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-06-17T09:46:55.185Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-06-17T09:46:55.185Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-06-17T09:46:55.185Z] -- Installing: /usr/local/include/cbor/ints.h [2020-06-17T09:46:55.185Z] -- Installing: /usr/local/include/cbor/maps.h [2020-06-17T09:46:55.185Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-06-17T09:46:55.185Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-06-17T09:46:55.185Z] -- Installing: /usr/local/include/cbor/strings.h [2020-06-17T09:46:55.185Z] -- Installing: /usr/local/include/cbor/tags.h [2020-06-17T09:46:55.185Z] -- Installing: /usr/local/include/cbor.h [2020-06-17T09:46:55.185Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-06-17T09:46:57.106Z] Removing intermediate container 7d08153bbc28 [2020-06-17T09:46:57.106Z] ---> 5caa8c14b86c [2020-06-17T09:46:57.106Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-06-17T09:46:57.106Z] ---> Running in cfd0e69837ab [2020-06-17T09:46:58.064Z] Removing intermediate container cfd0e69837ab [2020-06-17T09:46:58.064Z] ---> ffe3094ca2e4 [2020-06-17T09:46:58.064Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-06-17T09:46:58.064Z] ---> bb2249323904 [2020-06-17T09:46:58.064Z] Step 8/21 : COPY src /tmp/sdk/src [2020-06-17T09:46:59.006Z] ---> 95c2755e9fc6 [2020-06-17T09:46:59.006Z] Step 9/21 : COPY include /tmp/sdk/include [2020-06-17T09:46:59.266Z] ---> 6c5a51a34555 [2020-06-17T09:46:59.266Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-06-17T09:46:59.266Z] ---> 6e1f9db15025 [2020-06-17T09:46:59.266Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-06-17T09:46:59.526Z] ---> 4a81a39b2eb7 [2020-06-17T09:46:59.526Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-06-17T09:46:59.787Z] ---> 355f0712b219 [2020-06-17T09:46:59.787Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-06-17T09:46:59.787Z] ---> Running in bff1c142b58a [2020-06-17T09:47:00.360Z] + CPPCHECK=false [2020-06-17T09:47:00.360Z] + DOCGEN=false [2020-06-17T09:47:00.360Z] + TOMLVER=SDK-0.2 [2020-06-17T09:47:00.360Z] + CUTILVER=1.0.4 [2020-06-17T09:47:00.360Z] + '[' 0 -gt 0 ] [2020-06-17T09:47:00.360Z] + readlink -f ./scripts/build.sh [2020-06-17T09:47:00.360Z] + dirname /tmp/sdk/scripts/build.sh [2020-06-17T09:47:00.360Z] + dirname /tmp/sdk/scripts [2020-06-17T09:47:00.360Z] + ROOT=/tmp/sdk [2020-06-17T09:47:00.360Z] + cd /tmp/sdk [2020-06-17T09:47:00.360Z] + '[' '!' -d deps ] [2020-06-17T09:47:00.360Z] + mkdir deps [2020-06-17T09:47:00.360Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-06-17T09:47:00.360Z] + tar -C deps -z -x -f - [2020-06-17T09:47:00.360Z] --2020-06-17 09:47:00-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-06-17T09:47:00.360Z] Resolving github.com... 140.82.113.4 [2020-06-17T09:47:00.360Z] Connecting to github.com|140.82.113.4|:443... connected. [2020-06-17T09:47:00.619Z] HTTP request sent, awaiting response... 302 Found [2020-06-17T09:47:00.619Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-06-17T09:47:00.619Z] --2020-06-17 09:47:00-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-06-17T09:47:00.619Z] Resolving codeload.github.com... 140.82.112.10 [2020-06-17T09:47:00.619Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2020-06-17T09:47:00.619Z] HTTP request sent, awaiting response... 200 OK [2020-06-17T09:47:00.619Z] Length: unspecified [application/x-gzip] [2020-06-17T09:47:00.619Z] Saving to: 'STDOUT' [2020-06-17T09:47:00.619Z]  [2020-06-17T09:47:00.880Z] 0K .......... ......  1.07M=0.01s [2020-06-17T09:47:00.880Z] [2020-06-17T09:47:00.880Z] 2020-06-17 09:47:00 (1.07 MB/s) - written to stdout [16451] [2020-06-17T09:47:00.880Z] [2020-06-17T09:47:00.880Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-06-17T09:47:00.880Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-06-17T09:47:00.880Z] + tar -C deps -z -x -f - [2020-06-17T09:47:00.880Z] --2020-06-17 09:47:00-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-06-17T09:47:00.880Z] Resolving github.com... 140.82.113.4 [2020-06-17T09:47:00.880Z] Connecting to github.com|140.82.113.4|:443... connected. [2020-06-17T09:47:00.880Z] HTTP request sent, awaiting response... 302 Found [2020-06-17T09:47:00.880Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] [2020-06-17T09:47:00.880Z] --2020-06-17 09:47:00-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [2020-06-17T09:47:00.880Z] Resolving codeload.github.com... 140.82.112.10 [2020-06-17T09:47:00.880Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2020-06-17T09:47:01.142Z] HTTP request sent, awaiting response... 200 OK [2020-06-17T09:47:01.142Z] Length: unspecified [application/x-gzip] [2020-06-17T09:47:01.142Z] Saving to: 'STDOUT' [2020-06-17T09:47:01.142Z]  [2020-06-17T09:47:01.142Z] 0K .......... .......... .......... .......... .......... 1.62M [2020-06-17T09:47:01.142Z] 50K .......... .......... .......... .......... .......... 3.36M [2020-06-17T09:47:01.142Z] 100K .......... .......... .......... .......... .......... 34.0M [2020-06-17T09:47:01.142Z] 150K ........ 52.7M=0.05s [2020-06-17T09:47:01.142Z] [2020-06-17T09:47:01.142Z] 2020-06-17 09:47:01 (3.34 MB/s) - written to stdout [162267] [2020-06-17T09:47:01.142Z] [2020-06-17T09:47:01.142Z] + mkdir -p src/c/iot [2020-06-17T09:47:01.142Z] + cp deps/iotech-c-utils-1.0.4/src/c/base64.c deps/iotech-c-utils-1.0.4/src/c/component.c deps/iotech-c-utils-1.0.4/src/c/container.c deps/iotech-c-utils-1.0.4/src/c/data.c deps/iotech-c-utils-1.0.4/src/c/hash.c deps/iotech-c-utils-1.0.4/src/c/iot.c deps/iotech-c-utils-1.0.4/src/c/json.c deps/iotech-c-utils-1.0.4/src/c/logger.c deps/iotech-c-utils-1.0.4/src/c/os.c deps/iotech-c-utils-1.0.4/src/c/scheduler.c deps/iotech-c-utils-1.0.4/src/c/thread.c deps/iotech-c-utils-1.0.4/src/c/threadpool.c deps/iotech-c-utils-1.0.4/src/c/time.c src/c/iot [2020-06-17T09:47:01.142Z] + mkdir -p include/iot [2020-06-17T09:47:01.142Z] + cp deps/iotech-c-utils-1.0.4/include/iot/base64.h deps/iotech-c-utils-1.0.4/include/iot/component.h deps/iotech-c-utils-1.0.4/include/iot/container.h deps/iotech-c-utils-1.0.4/include/iot/data.h deps/iotech-c-utils-1.0.4/include/iot/hash.h deps/iotech-c-utils-1.0.4/include/iot/iot.h deps/iotech-c-utils-1.0.4/include/iot/json.h deps/iotech-c-utils-1.0.4/include/iot/logger.h deps/iotech-c-utils-1.0.4/include/iot/os.h deps/iotech-c-utils-1.0.4/include/iot/scheduler.h deps/iotech-c-utils-1.0.4/include/iot/thread.h deps/iotech-c-utils-1.0.4/include/iot/threadpool.h deps/iotech-c-utils-1.0.4/include/iot/time.h deps/iotech-c-utils-1.0.4/include/iot/typecode.h include/iot [2020-06-17T09:47:01.142Z] + mkdir -p include/iot/os [2020-06-17T09:47:01.142Z] + cp deps/iotech-c-utils-1.0.4/include/iot/os/linux.h deps/iotech-c-utils-1.0.4/include/iot/os/zephyr.h include/iot/os [2020-06-17T09:47:01.142Z] + mkdir -p /tmp/sdk/build/release [2020-06-17T09:47:01.143Z] + cd /tmp/sdk/build/release [2020-06-17T09:47:01.143Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-06-17T09:47:01.409Z] -- The C compiler identification is GNU 8.3.0 [2020-06-17T09:47:01.409Z] -- Check for working C compiler: /usr/bin/cc [2020-06-17T09:47:01.409Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-17T09:47:01.409Z] -- Detecting C compiler ABI info [2020-06-17T09:47:01.409Z] -- Detecting C compiler ABI info - done [2020-06-17T09:47:01.409Z] -- Detecting C compile features [2020-06-17T09:47:01.675Z] -- Detecting C compile features - done [2020-06-17T09:47:01.675Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-06-17T09:47:01.938Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-06-17T09:47:01.938Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-06-17T09:47:01.938Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-06-17T09:47:01.938Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-06-17T09:47:01.938Z] -- C SDK 1.2.2-dev.3 for Linux [2020-06-17T09:47:01.938Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-06-17T09:47:01.938Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-06-17T09:47:01.938Z] -- Found Curses: /usr/lib/libcurses.so [2020-06-17T09:47:01.938Z] -- Configuring done [2020-06-17T09:47:01.938Z] -- Generating done [2020-06-17T09:47:01.938Z] -- Build files have been written to: /tmp/sdk/build/release [2020-06-17T09:47:01.938Z] + make [2020-06-17T09:47:01.938Z] + tee release.log [2020-06-17T09:47:01.938Z] Scanning dependencies of target csdk [2020-06-17T09:47:02.200Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-06-17T09:47:02.200Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-06-17T09:47:02.469Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-06-17T09:47:02.761Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-06-17T09:47:03.037Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-06-17T09:47:03.037Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-06-17T09:47:03.308Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-06-17T09:47:03.880Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-06-17T09:47:03.880Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-06-17T09:47:04.141Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-06-17T09:47:04.401Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-06-17T09:47:04.401Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-06-17T09:47:04.401Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-06-17T09:47:04.664Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-06-17T09:47:05.235Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-06-17T09:47:05.497Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-06-17T09:47:05.497Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-06-17T09:47:05.759Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-06-17T09:47:06.331Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-06-17T09:47:06.331Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-06-17T09:47:06.331Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-06-17T09:47:06.593Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-06-17T09:47:06.593Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-06-17T09:47:06.593Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-06-17T09:47:06.855Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-06-17T09:47:07.117Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-06-17T09:47:07.117Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-06-17T09:47:07.379Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-06-17T09:47:07.379Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-06-17T09:47:07.641Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-06-17T09:47:07.641Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-06-17T09:47:09.050Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-06-17T09:47:09.051Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-06-17T09:47:09.312Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-06-17T09:47:09.313Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-06-17T09:47:09.884Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-06-17T09:47:10.145Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-06-17T09:47:11.088Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-06-17T09:47:11.088Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-06-17T09:47:11.671Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-06-17T09:47:11.671Z] [ 74%] Linking C shared library libcsdk.so [2020-06-17T09:47:11.671Z] [ 74%] Built target csdk [2020-06-17T09:47:11.671Z] Scanning dependencies of target template [2020-06-17T09:47:11.671Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-06-17T09:47:11.931Z] [ 78%] Linking C executable template [2020-06-17T09:47:11.931Z] [ 78%] Built target template [2020-06-17T09:47:11.931Z] Scanning dependencies of target device-counter [2020-06-17T09:47:11.931Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-06-17T09:47:12.192Z] [ 81%] Linking C executable device-counter [2020-06-17T09:47:12.192Z] [ 81%] Built target device-counter [2020-06-17T09:47:12.192Z] Scanning dependencies of target device-random [2020-06-17T09:47:12.192Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-06-17T09:47:12.453Z] [ 85%] Linking C executable device-random [2020-06-17T09:47:12.453Z] [ 85%] Built target device-random [2020-06-17T09:47:12.453Z] Scanning dependencies of target device-gyro [2020-06-17T09:47:12.453Z] [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-06-17T09:47:12.453Z] [ 89%] Linking C executable device-gyro [2020-06-17T09:47:12.715Z] [ 89%] Built target device-gyro [2020-06-17T09:47:12.715Z] Scanning dependencies of target template-discovery [2020-06-17T09:47:12.715Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-06-17T09:47:12.715Z] [ 92%] Linking C executable template-discovery [2020-06-17T09:47:12.976Z] [ 92%] Built target template-discovery [2020-06-17T09:47:12.976Z] Scanning dependencies of target device-terminal [2020-06-17T09:47:12.976Z] [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-06-17T09:47:12.976Z] [ 96%] Linking C executable device-terminal [2020-06-17T09:47:13.241Z] [ 96%] Built target device-terminal [2020-06-17T09:47:13.241Z] Scanning dependencies of target templatev1 [2020-06-17T09:47:13.241Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-06-17T09:47:13.241Z] [100%] Linking C executable templatev1 [2020-06-17T09:47:13.510Z] [100%] Built target templatev1 [2020-06-17T09:47:13.510Z] + make package [2020-06-17T09:47:13.510Z] + tee -a release.log [2020-06-17T09:47:13.510Z] [ 74%] Built target csdk [2020-06-17T09:47:13.510Z] [ 78%] Built target template [2020-06-17T09:47:13.510Z] [ 81%] Built target device-counter [2020-06-17T09:47:13.510Z] [ 85%] Built target device-random [2020-06-17T09:47:13.510Z] [ 89%] Built target device-gyro [2020-06-17T09:47:13.510Z] [ 92%] Built target template-discovery [2020-06-17T09:47:13.510Z] [ 96%] Built target device-terminal [2020-06-17T09:47:13.510Z] [100%] Built target templatev1 [2020-06-17T09:47:13.510Z] Run CPack packaging tool... [2020-06-17T09:47:13.771Z] CPack: Create package using TGZ [2020-06-17T09:47:13.771Z] CPack: Install projects [2020-06-17T09:47:13.771Z] CPack: - Run preinstall target for: Csdk [2020-06-17T09:47:13.771Z] CPack: - Install project: Csdk [2020-06-17T09:47:13.771Z] CPack: Create package [2020-06-17T09:47:14.032Z] CPack: - package: /tmp/sdk/build/release/csdk-1.2.2-dev.3.tar.gz generated. [2020-06-17T09:47:14.032Z] + '[' false '=' true ] [2020-06-17T09:47:14.032Z] + '[' false '=' true ] [2020-06-17T09:47:14.032Z] + mkdir -p /tmp/sdk/build/debug [2020-06-17T09:47:14.032Z] + cd /tmp/sdk/build/debug [2020-06-17T09:47:14.032Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-06-17T09:47:14.032Z] -- The C compiler identification is GNU 8.3.0 [2020-06-17T09:47:14.032Z] -- Check for working C compiler: /usr/bin/cc [2020-06-17T09:47:14.032Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-17T09:47:14.032Z] -- Detecting C compiler ABI info [2020-06-17T09:47:14.294Z] -- Detecting C compiler ABI info - done [2020-06-17T09:47:14.294Z] -- Detecting C compile features [2020-06-17T09:47:14.294Z] -- Detecting C compile features - done [2020-06-17T09:47:14.294Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-06-17T09:47:14.555Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-06-17T09:47:14.555Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-06-17T09:47:14.555Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-06-17T09:47:14.555Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-06-17T09:47:14.555Z] -- C SDK 1.2.2-dev.3 for Linux [2020-06-17T09:47:14.555Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-06-17T09:47:14.555Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-06-17T09:47:14.555Z] -- Found Curses: /usr/lib/libcurses.so [2020-06-17T09:47:14.555Z] -- Configuring done [2020-06-17T09:47:14.555Z] -- Generating done [2020-06-17T09:47:14.555Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-06-17T09:47:14.555Z] + make [2020-06-17T09:47:14.555Z] + tee debug.log [2020-06-17T09:47:14.555Z] Scanning dependencies of target csdk [2020-06-17T09:47:14.816Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-06-17T09:47:14.816Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-06-17T09:47:14.816Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-06-17T09:47:15.082Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-06-17T09:47:15.082Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-06-17T09:47:15.082Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-06-17T09:47:15.343Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-06-17T09:47:15.604Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-06-17T09:47:15.604Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-06-17T09:47:15.604Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-06-17T09:47:15.865Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-06-17T09:47:15.865Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-06-17T09:47:15.865Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-06-17T09:47:15.865Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-06-17T09:47:16.126Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-06-17T09:47:16.126Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-06-17T09:47:16.386Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-06-17T09:47:16.386Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-06-17T09:47:16.648Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-06-17T09:47:16.648Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-06-17T09:47:16.648Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-06-17T09:47:16.908Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-06-17T09:47:16.908Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-06-17T09:47:16.908Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-06-17T09:47:16.908Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-06-17T09:47:17.171Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-06-17T09:47:17.171Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-06-17T09:47:17.171Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-06-17T09:47:17.171Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-06-17T09:47:17.432Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-06-17T09:47:17.432Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-06-17T09:47:17.692Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-06-17T09:47:17.953Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-06-17T09:47:17.953Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-06-17T09:47:17.953Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-06-17T09:47:18.215Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-06-17T09:47:18.476Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-06-17T09:47:18.737Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-06-17T09:47:18.737Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-06-17T09:47:18.737Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-06-17T09:47:19.000Z] [ 74%] Linking C shared library libcsdk.so [2020-06-17T09:47:19.000Z] [ 74%] Built target csdk [2020-06-17T09:47:19.000Z] Scanning dependencies of target template [2020-06-17T09:47:19.000Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-06-17T09:47:19.000Z] [ 78%] Linking C executable template [2020-06-17T09:47:19.261Z] [ 78%] Built target template [2020-06-17T09:47:19.261Z] Scanning dependencies of target device-counter [2020-06-17T09:47:19.261Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-06-17T09:47:19.261Z] [ 81%] Linking C executable device-counter [2020-06-17T09:47:19.261Z] [ 81%] Built target device-counter [2020-06-17T09:47:19.261Z] Scanning dependencies of target device-random [2020-06-17T09:47:19.261Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-06-17T09:47:19.429Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3329 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] ws [2020-06-17T09:47:19.452Z] Running in /w/workspace/device-sdk-c/27 [Pipeline] { [Pipeline] checkout [2020-06-17T09:47:19.522Z] [ 85%] Linking C executable device-random [2020-06-17T09:47:19.522Z] [ 85%] Built target device-random [2020-06-17T09:47:19.522Z] Scanning dependencies of target device-gyro [2020-06-17T09:47:19.522Z] [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-06-17T09:47:19.522Z] [ 89%] Linking C executable device-gyro [2020-06-17T09:47:19.782Z] [ 89%] Built target device-gyro [2020-06-17T09:47:19.782Z] Scanning dependencies of target template-discovery [2020-06-17T09:47:19.782Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-06-17T09:47:19.782Z] [ 92%] Linking C executable template-discovery [2020-06-17T09:47:19.783Z] [ 92%] Built target template-discovery [2020-06-17T09:47:19.783Z] Scanning dependencies of target device-terminal [2020-06-17T09:47:19.783Z] [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-06-17T09:47:20.043Z] [ 96%] Linking C executable device-terminal [2020-06-17T09:47:20.043Z] [ 96%] Built target device-terminal [2020-06-17T09:47:20.043Z] Scanning dependencies of target templatev1 [2020-06-17T09:47:20.043Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-06-17T09:47:20.043Z] [100%] Linking C executable templatev1 [2020-06-17T09:47:20.304Z] [100%] Built target templatev1 [2020-06-17T09:47:20.304Z] make: Entering directory '/tmp/sdk/build/release' [2020-06-17T09:47:20.304Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-06-17T09:47:20.304Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T09:47:20.304Z] Scanning dependencies of target csdk [2020-06-17T09:47:20.304Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T09:47:20.304Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T09:47:20.304Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-06-17T09:47:20.877Z] [ 3%] Linking C shared library libcsdk.so [2020-06-17T09:47:20.877Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T09:47:20.877Z] [ 74%] Built target csdk [2020-06-17T09:47:20.877Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T09:47:20.877Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T09:47:20.877Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T09:47:20.877Z] [ 76%] Linking C executable template [2020-06-17T09:47:20.877Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T09:47:20.877Z] [ 78%] Built target template [2020-06-17T09:47:20.877Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T09:47:20.877Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T09:47:20.877Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T09:47:20.877Z] [ 80%] Linking C executable device-counter [2020-06-17T09:47:20.877Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T09:47:20.877Z] [ 81%] Built target device-counter [2020-06-17T09:47:20.877Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T09:47:20.877Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T09:47:20.877Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T09:47:20.877Z] [ 83%] Linking C executable device-random [2020-06-17T09:47:21.139Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T09:47:21.139Z] [ 85%] Built target device-random [2020-06-17T09:47:21.139Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T09:47:21.139Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T09:47:21.139Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T09:47:21.139Z] [ 87%] Linking C executable device-gyro [2020-06-17T09:47:21.139Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T09:47:21.139Z] [ 89%] Built target device-gyro [2020-06-17T09:47:21.139Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T09:47:21.139Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T09:47:21.139Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T09:47:21.139Z] [ 90%] Linking C executable template-discovery [2020-06-17T09:47:21.139Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T09:47:21.139Z] [ 92%] Built target template-discovery [2020-06-17T09:47:21.139Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T09:47:21.139Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T09:47:21.139Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T09:47:21.139Z] [ 94%] Linking C executable device-terminal [2020-06-17T09:47:21.402Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T09:47:21.402Z] [ 96%] Built target device-terminal [2020-06-17T09:47:21.402Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T09:47:21.402Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T09:47:21.402Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T09:47:21.402Z] [ 98%] Linking C executable templatev1 [2020-06-17T09:47:21.402Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T09:47:21.402Z] [100%] Built target templatev1 [2020-06-17T09:47:21.402Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T09:47:21.402Z] Install the project... [2020-06-17T09:47:21.402Z] -- Install configuration: "Release" [2020-06-17T09:47:21.402Z] -- Installing: /usr/local/lib/libcsdk.so [2020-06-17T09:47:21.402Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-06-17T09:47:21.402Z] -- Up-to-date: /usr/local/include [2020-06-17T09:47:21.402Z] -- Installing: /usr/local/include/devsdk [2020-06-17T09:47:21.402Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-06-17T09:47:21.402Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-06-17T09:47:21.402Z] -- Installing: /usr/local/include/edgex [2020-06-17T09:47:21.402Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-06-17T09:47:21.402Z] -- Installing: /usr/local/include/edgex/devices.h [2020-06-17T09:47:21.402Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-06-17T09:47:21.402Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-06-17T09:47:21.402Z] -- Installing: /usr/local/include/edgex/edgex-logging.h [2020-06-17T09:47:21.402Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-06-17T09:47:21.402Z] -- Installing: /usr/local/include/edgex/error.h [2020-06-17T09:47:21.402Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-06-17T09:47:21.402Z] -- Installing: /usr/local/include/edgex/os.h [2020-06-17T09:47:21.402Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-06-17T09:47:21.402Z] -- Installing: /usr/local/include/edgex/registry.h [2020-06-17T09:47:21.402Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-06-17T09:47:21.402Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-06-17T09:47:21.402Z] -- Installing: /usr/local/include/iot [2020-06-17T09:47:21.402Z] -- Installing: /usr/local/include/iot/base64.h [2020-06-17T09:47:21.402Z] -- Installing: /usr/local/include/iot/component.h [2020-06-17T09:47:21.402Z] -- Installing: /usr/local/include/iot/container.h [2020-06-17T09:47:21.402Z] -- Installing: /usr/local/include/iot/data.h [2020-06-17T09:47:21.402Z] -- Installing: /usr/local/include/iot/hash.h [2020-06-17T09:47:21.402Z] -- Installing: /usr/local/include/iot/iot.h [2020-06-17T09:47:21.402Z] -- Installing: /usr/local/include/iot/json.h [2020-06-17T09:47:21.402Z] -- Installing: /usr/local/include/iot/logger.h [2020-06-17T09:47:21.402Z] -- Installing: /usr/local/include/iot/os.h [2020-06-17T09:47:21.402Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-06-17T09:47:21.402Z] -- Installing: /usr/local/include/iot/thread.h [2020-06-17T09:47:21.402Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-06-17T09:47:21.402Z] -- Installing: /usr/local/include/iot/time.h [2020-06-17T09:47:21.402Z] -- Installing: /usr/local/include/iot/typecode.h [2020-06-17T09:47:21.402Z] -- Installing: /usr/local/include/iot/os [2020-06-17T09:47:21.402Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-06-17T09:47:21.402Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-06-17T09:47:21.402Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-06-17T09:47:21.402Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-06-17T09:47:21.402Z] make: Leaving directory '/tmp/sdk/build/release' [2020-06-17T09:47:23.324Z] Removing intermediate container bff1c142b58a [2020-06-17T09:47:23.324Z] ---> 8d2db41f93cc [2020-06-17T09:47:23.324Z] Step 14/21 : FROM ${BASE} [2020-06-17T09:47:23.324Z] ---> 5eabd8fd8ba2 [2020-06-17T09:47:23.324Z] Step 15/21 : MAINTAINER IOTech [2020-06-17T09:47:23.324Z] ---> Running in d26237c2d72e [2020-06-17T09:47:23.324Z] Removing intermediate container d26237c2d72e [2020-06-17T09:47:23.324Z] ---> b9d010b3cc6b [2020-06-17T09:47:23.324Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-06-17T09:47:23.324Z] ---> Running in 9c544f88c385 [2020-06-17T09:47:24.268Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-06-17T09:47:24.561Z] using credential edgex-jenkins-ssh [2020-06-17T09:47:24.594Z] Cloning the remote Git repository [2020-06-17T09:47:24.594Z] Cloning with configured refspecs honoured and without tags [2020-06-17T09:47:24.839Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-06-17T09:47:24.839Z] (1/3) Installing curl (7.64.0-r3) [2020-06-17T09:47:25.100Z] (2/3) Installing libuuid (2.33-r0) [2020-06-17T09:47:25.100Z] (3/3) Installing wget (1.20.3-r0) [2020-06-17T09:47:25.100Z] Executing busybox-1.29.3-r10.trigger [2020-06-17T09:47:25.100Z] OK: 268 MiB in 78 packages [2020-06-17T09:47:25.672Z] Removing intermediate container 9c544f88c385 [2020-06-17T09:47:25.672Z] ---> 10246292de33 [2020-06-17T09:47:25.672Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-06-17T09:47:24.625Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-06-17T09:47:24.738Z] > git init /w/workspace/device-sdk-c/27 # timeout=10 [2020-06-17T09:47:24.812Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-06-17T09:47:24.813Z] > git --version # timeout=10 [2020-06-17T09:47:24.836Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-17T09:47:24.884Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-17T09:47:25.934Z] ---> 0ca0359c1be2 [2020-06-17T09:47:25.934Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-06-17T09:47:25.934Z] ---> 28909bc4e32f [2020-06-17T09:47:25.934Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-06-17T09:47:25.941Z] Fetching without tags [2020-06-17T09:47:26.196Z] ---> 629c25a9d24e [2020-06-17T09:47:26.196Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-06-17T09:47:26.428Z] Checking out Revision fe664e697b23228791073c46494919a610be639c (master) [2020-06-17T09:47:26.457Z] ---> 660c043b87a0 [2020-06-17T09:47:26.457Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-06-17T09:47:26.717Z] ---> 76b99a2ef2ad [2020-06-17T09:47:26.717Z] Successfully built 76b99a2ef2ad [2020-06-17T09:47:26.717Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-06-17T09:47:25.838Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-06-17T09:47:25.854Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-17T09:47:25.890Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-06-17T09:47:25.927Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-06-17T09:47:25.928Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-17T09:47:25.953Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-17T09:47:26.427Z] > git config core.sparsecheckout # timeout=10 [2020-06-17T09:47:26.453Z] > git checkout -f fe664e697b23228791073c46494919a610be639c # timeout=10 [2020-06-17T09:47:27.187Z] + docker inspect -f . ci-base-image-x86_64 [2020-06-17T09:47:27.187Z] . [Pipeline] withDockerContainer [2020-06-17T09:47:27.304Z] prd-centos7-docker-4c-2g-3328 does not seem to be running inside a container [2020-06-17T09:47:27.354Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/27 -v /w/workspace/device-sdk-c/27:/w/workspace/device-sdk-c/27:rw,z -v /w/workspace/device-sdk-c/27@tmp:/w/workspace/device-sdk-c/27@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-06-17T09:47:28.188Z] $ docker top c0b14b9be40b055437111bc40e9abbf2b458a3e71d3552f94b82381b4d2fedf3 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-17T09:47:28.610Z] + make test [2020-06-17T09:47:28.610Z] echo "make test" [2020-06-17T09:47:28.610Z] make test [Pipeline] } [2020-06-17T09:47:28.627Z] $ docker stop --time=1 c0b14b9be40b055437111bc40e9abbf2b458a3e71d3552f94b82381b4d2fedf3 [2020-06-17T09:47:29.946Z] $ docker rm -f c0b14b9be40b055437111bc40e9abbf2b458a3e71d3552f94b82381b4d2fedf3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2020-06-17T09:47:31.103Z] Commit message: "Merge pull request #269 from iain-anderson/device-query-branch" [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-06-17T09:47:31.670Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-17T09:47:31.979Z] + ls -al . [2020-06-17T09:47:31.979Z] total 160 [2020-06-17T09:47:31.979Z] drwxrwxr-x. 8 jenkins jenkins 260 Jun 17 09:46 . [2020-06-17T09:47:31.979Z] drwxrwxr-x. 4 jenkins jenkins 30 Jun 17 09:46 .. [2020-06-17T09:47:31.979Z] -rw-rw-r--. 1 jenkins jenkins 3104 Jun 17 09:46 Attribution.txt [2020-06-17T09:47:31.979Z] -rw-rw-r--. 1 jenkins jenkins 5323 Jun 17 09:46 CHANGES [2020-06-17T09:47:31.979Z] drwxrwxr-x. 2 jenkins jenkins 144 Jun 17 09:46 docs [2020-06-17T09:47:31.979Z] -rw-rw-r--. 1 jenkins jenkins 108574 Jun 17 09:46 Doxyfile [2020-06-17T09:47:31.979Z] drwxrwxr-x. 8 jenkins jenkins 162 Jun 17 09:46 .git [2020-06-17T09:47:31.979Z] -rw-rw-r--. 1 jenkins jenkins 176 Jun 17 09:46 .gitignore [2020-06-17T09:47:31.979Z] drwxrwxr-x. 4 jenkins jenkins 33 Jun 17 09:46 include [2020-06-17T09:47:31.979Z] -rw-rw-r--. 1 jenkins jenkins 794 Jun 17 09:46 Jenkinsfile [2020-06-17T09:47:31.979Z] -rw-rw-r--. 1 jenkins jenkins 10174 Jun 17 09:46 LICENSE [2020-06-17T09:47:31.979Z] -rw-rw-r--. 1 jenkins jenkins 449 Jun 17 09:46 Makefile [2020-06-17T09:47:31.979Z] -rw-rw-r--. 1 jenkins jenkins 1849 Jun 17 09:46 README.md [2020-06-17T09:47:31.979Z] -rw-rw-r--. 1 jenkins jenkins 5229 Jun 17 09:46 README.v2.md [2020-06-17T09:47:31.979Z] drwxrwxr-x. 2 jenkins jenkins 108 Jun 17 09:46 scripts [2020-06-17T09:47:31.979Z] drwxrwxr-x. 3 jenkins jenkins 44 Jun 17 09:46 .semver [2020-06-17T09:47:31.979Z] drwxrwxr-x. 4 jenkins jenkins 50 Jun 17 09:46 src [2020-06-17T09:47:31.979Z] -rw-rw-r--. 1 jenkins jenkins 11 Jun 17 09:43 VERSION [Pipeline] isUnix [Pipeline] sh [Pipeline] echo [2020-06-17T09:47:32.230Z] ========================================================= [2020-06-17T09:47:32.230Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2020-06-17T09:47:32.230Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-17T09:47:32.280Z] + 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=fe664e697b23228791073c46494919a610be639c --label arch=amd64 --label version=1.2.2-dev.3 . [2020-06-17T09:47:32.280Z] Sending build context to Docker daemon 3.263MB [2020-06-17T09:47:32.280Z] Step 1/15 : ARG BASE=alpine:3.11 [2020-06-17T09:47:32.280Z] Step 2/15 : FROM ${BASE} [2020-06-17T09:47:32.280Z] ---> 76b99a2ef2ad [2020-06-17T09:47:32.280Z] Step 3/15 : MAINTAINER IOTech [2020-06-17T09:47:32.852Z] ---> Running in 5f39ca4bc6ee [2020-06-17T09:47:32.852Z] Removing intermediate container 5f39ca4bc6ee [2020-06-17T09:47:32.852Z] ---> 6b6d7554af96 [2020-06-17T09:47:32.852Z] Step 4/15 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev && mkdir -p /edgex-c-sdk/build [2020-06-17T09:47:33.113Z] ---> Running in 83212e58b13d [2020-06-17T09:47:33.374Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-06-17T09:47:33.418Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-3.11-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2020-06-17T09:47:34.318Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-06-17T09:47:34.318Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2020-06-17T09:47:34.410Z] Sending build context to Docker daemon 3.263MB [2020-06-17T09:47:34.410Z] Step 1/21 : ARG BASE=alpine:3.11 [2020-06-17T09:47:34.410Z] Step 2/21 : FROM ${BASE} as builder [2020-06-17T09:47:34.579Z] (2/6) Installing libblkid (2.33-r0) [2020-06-17T09:47:34.579Z] (3/6) Installing libfdisk (2.33-r0) [2020-06-17T09:47:34.579Z] (4/6) Installing libmount (2.33-r0) [2020-06-17T09:47:34.687Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2020-06-17T09:47:34.687Z] 0362ad1dd800: Pulling fs layer [2020-06-17T09:47:34.687Z] f2cdb1532d8b: Pulling fs layer [2020-06-17T09:47:34.687Z] 37ed683be191: Pulling fs layer [2020-06-17T09:47:34.687Z] f2cdb1532d8b: Download complete [2020-06-17T09:47:34.967Z] 0362ad1dd800: Verifying Checksum [2020-06-17T09:47:34.967Z] 0362ad1dd800: Download complete [2020-06-17T09:47:35.151Z] (5/6) Installing libsmartcols (2.33-r0) [2020-06-17T09:47:35.151Z] (6/6) Installing util-linux-dev (2.33-r0) [2020-06-17T09:47:35.413Z] Executing busybox-1.29.3-r10.trigger [2020-06-17T09:47:35.413Z] OK: 272 MiB in 84 packages [2020-06-17T09:47:35.570Z] 0362ad1dd800: Pull complete [2020-06-17T09:47:35.844Z] f2cdb1532d8b: Pull complete [2020-06-17T09:47:36.358Z] Removing intermediate container 83212e58b13d [2020-06-17T09:47:36.358Z] ---> 9cfec077a15c [2020-06-17T09:47:36.358Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-06-17T09:47:36.358Z] ---> fc55cef1c57a [2020-06-17T09:47:36.358Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-06-17T09:47:36.934Z] ---> ef976949c9d3 [2020-06-17T09:47:36.934Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-06-17T09:47:37.197Z] ---> fd8984f55458 [2020-06-17T09:47:37.197Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-06-17T09:47:37.273Z] 37ed683be191: Verifying Checksum [2020-06-17T09:47:37.273Z] 37ed683be191: Download complete [2020-06-17T09:47:37.463Z] ---> 993804081e79 [2020-06-17T09:47:37.463Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-06-17T09:47:37.724Z] ---> 046f30930673 [2020-06-17T09:47:37.724Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-06-17T09:47:37.993Z] ---> 1ca47037ec16 [2020-06-17T09:47:37.993Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-06-17T09:47:37.993Z] ---> Running in 856d4464a4ad [2020-06-17T09:47:38.255Z] Removing intermediate container 856d4464a4ad [2020-06-17T09:47:38.255Z] ---> 596c58879377 [2020-06-17T09:47:38.255Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-06-17T09:47:38.255Z] ---> Running in 6c98b568ec84 [2020-06-17T09:47:38.255Z] Removing intermediate container 6c98b568ec84 [2020-06-17T09:47:38.255Z] ---> 4837ed0fce97 [2020-06-17T09:47:38.255Z] Step 13/15 : LABEL arch=amd64 [2020-06-17T09:47:38.515Z] ---> Running in 0d82290b6da6 [2020-06-17T09:47:38.516Z] Removing intermediate container 0d82290b6da6 [2020-06-17T09:47:38.516Z] ---> 4e6ae59d0ba9 [2020-06-17T09:47:38.516Z] Step 14/15 : LABEL git_sha=fe664e697b23228791073c46494919a610be639c [2020-06-17T09:47:38.516Z] ---> Running in a8f36cf9596d [2020-06-17T09:47:38.778Z] Removing intermediate container a8f36cf9596d [2020-06-17T09:47:38.778Z] ---> c268e93ad752 [2020-06-17T09:47:38.778Z] Step 15/15 : LABEL version=1.2.2-dev.3 [2020-06-17T09:47:38.778Z] ---> Running in 9029eae5cd79 [2020-06-17T09:47:39.040Z] Removing intermediate container 9029eae5cd79 [2020-06-17T09:47:39.040Z] ---> 6c27734a76ad [2020-06-17T09:47:39.040Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2020-06-17T09:47:39.040Z] Successfully built 6c27734a76ad [2020-06-17T09:47:39.040Z] Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-06-17T09:47:45.556Z] 37ed683be191: Pull complete [2020-06-17T09:47:45.556Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2020-06-17T09:47:45.556Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2020-06-17T09:47:45.556Z] ---> b23d30803547 [2020-06-17T09:47:45.556Z] Step 3/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev [2020-06-17T09:47:47.521Z] ---> Running in 4a2e106cc5f0 [2020-06-17T09:47:48.948Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-06-17T09:47:49.539Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-06-17T09:47:50.131Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-06-17T09:47:50.131Z] (2/8) Installing libuuid (2.33-r0) [2020-06-17T09:47:50.403Z] (3/8) Installing libblkid (2.33-r0) [2020-06-17T09:47:50.403Z] (4/8) Installing libfdisk (2.33-r0) [2020-06-17T09:47:50.403Z] (5/8) Installing libmount (2.33-r0) [2020-06-17T09:47:50.675Z] (6/8) Installing libsmartcols (2.33-r0) [2020-06-17T09:47:50.675Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-06-17T09:47:50.949Z] (8/8) Installing wget (1.20.3-r0) [2020-06-17T09:47:51.222Z] Executing busybox-1.29.3-r10.trigger [2020-06-17T09:47:51.222Z] OK: 285 MiB in 83 packages [2020-06-17T09:47:52.656Z] Removing intermediate container 4a2e106cc5f0 [2020-06-17T09:47:52.656Z] ---> 23366df7535a [2020-06-17T09:47:52.656Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-06-17T09:47:52.656Z] ---> Running in 002e2db16a7b [2020-06-17T09:47:52.926Z] Removing intermediate container 002e2db16a7b [2020-06-17T09:47:52.926Z] ---> e8880bbbcee5 [2020-06-17T09:47:52.926Z] Step 5/21 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2020-06-17T09:47:53.198Z] ---> Running in a422f03e9ca5 [2020-06-17T09:47:54.626Z] --2020-06-17 09:47:54-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-06-17T09:47:54.626Z] Resolving github.com... 140.82.114.4 [2020-06-17T09:47:54.626Z] Connecting to github.com|140.82.114.4|:443... connected. [2020-06-17T09:47:54.626Z] HTTP request sent, awaiting response... 302 Found [2020-06-17T09:47:54.626Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-06-17T09:47:54.626Z] --2020-06-17 09:47:54-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-06-17T09:47:54.626Z] Resolving codeload.github.com... 140.82.113.10 [2020-06-17T09:47:54.626Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2020-06-17T09:47:54.901Z] HTTP request sent, awaiting response... 200 OK [2020-06-17T09:47:54.901Z] Length: unspecified [application/x-gzip] [2020-06-17T09:47:54.901Z] Saving to: 'STDOUT' [2020-06-17T09:47:54.901Z]  [2020-06-17T09:47:54.901Z] 0K .......... .......... .......... .......... .......... 1.48M [2020-06-17T09:47:54.901Z] 50K .......... .......... .......... .......... .......... 2.90M [2020-06-17T09:47:54.901Z] 100K .......... .......... .......... .......... .......... 2.80M [2020-06-17T09:47:54.901Z] 150K .......... .......... .......... .......... .......... 15.1M [2020-06-17T09:47:54.901Z] 200K .......... .......... .......... .......... .......... 4.55M [2020-06-17T09:47:54.901Z] 250K .......... .......... .......... .......... .......... 6.51M [2020-06-17T09:47:54.901Z] 300K .......... .......... .......... .......... .......... 4.15M [2020-06-17T09:47:54.901Z] 350K .......... .......... .......... .......... .......... 5.19M [2020-06-17T09:47:54.901Z] 400K .......... .......... .......... .......... .......... 3.16M [2020-06-17T09:47:54.901Z] 450K .......... .......... .......... .......... .......... 3.59M [2020-06-17T09:47:54.901Z] 500K .......... .......... .......... .......... .......... 7.06M [2020-06-17T09:47:55.176Z] 550K .......... .......... .......... .......... .......... 2.41M [2020-06-17T09:47:55.176Z] 600K .......... .......... .......... .......... .......... 1.28M [2020-06-17T09:47:55.176Z] 650K .......... .......... .......... .......... .......... 1.18M [2020-06-17T09:47:55.176Z] 700K ..   12.0M=0.2s [2020-06-17T09:47:55.176Z] [2020-06-17T09:47:55.176Z] 2020-06-17 09:47:54 (2.79 MB/s) - written to stdout [719348] [2020-06-17T09:47:55.176Z] [2020-06-17T09:47:55.452Z] -- The C compiler identification is GNU 8.3.0 [2020-06-17T09:47:55.724Z] -- The CXX compiler identification is GNU 8.3.0 [2020-06-17T09:47:55.724Z] -- Check for working C compiler: /usr/bin/cc [2020-06-17T09:47:56.005Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-17T09:47:56.005Z] -- Detecting C compiler ABI info [2020-06-17T09:47:56.278Z] -- Detecting C compiler ABI info - done [2020-06-17T09:47:56.278Z] -- Detecting C compile features [2020-06-17T09:47:57.262Z] -- Detecting C compile features - done [2020-06-17T09:47:57.262Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-06-17T09:47:57.262Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-06-17T09:47:57.262Z] -- Detecting CXX compiler ABI info [2020-06-17T09:47:57.534Z] -- Detecting CXX compiler ABI info - done [2020-06-17T09:47:57.807Z] -- Detecting CXX compile features [2020-06-17T09:47:59.239Z] -- Detecting CXX compile features - done [2020-06-17T09:47:59.239Z] -- Looking for include file endian.h [2020-06-17T09:47:59.521Z] -- Looking for include file endian.h - found [2020-06-17T09:47:59.521Z] -- Check if the system is big endian [2020-06-17T09:47:59.521Z] -- Searching 16 bit integer [2020-06-17T09:47:59.521Z] -- Looking for sys/types.h [2020-06-17T09:47:59.794Z] -- Looking for sys/types.h - found [2020-06-17T09:47:59.794Z] -- Looking for stdint.h [2020-06-17T09:48:00.066Z] -- Looking for stdint.h - found [2020-06-17T09:48:00.066Z] -- Looking for stddef.h [2020-06-17T09:48:00.338Z] -- Looking for stddef.h - found [2020-06-17T09:48:00.338Z] -- Check size of unsigned short [2020-06-17T09:48:00.609Z] -- Check size of unsigned short - done [2020-06-17T09:48:00.609Z] -- Using unsigned short [2020-06-17T09:48:00.880Z] -- Check if the system is big endian - little endian [2020-06-17T09:48:00.880Z] -- Check size of size_t [2020-06-17T09:48:01.153Z] -- Check size of size_t - done [2020-06-17T09:48:01.153Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-06-17T09:48:01.153Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-06-17T09:48:01.153Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-06-17T09:48:01.153Z] CMake did not find one. [2020-06-17T09:48:01.153Z] [2020-06-17T09:48:01.153Z] Could not find a package configuration file provided by "cJSON" with any of [2020-06-17T09:48:01.153Z] the following names: [2020-06-17T09:48:01.153Z] [2020-06-17T09:48:01.153Z] cJSONConfig.cmake [2020-06-17T09:48:01.153Z] cjson-config.cmake [2020-06-17T09:48:01.153Z] [2020-06-17T09:48:01.153Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-06-17T09:48:01.153Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-06-17T09:48:01.153Z] provides a separate development package or SDK, be sure it has been [2020-06-17T09:48:01.153Z] installed. [2020-06-17T09:48:01.153Z] [2020-06-17T09:48:01.153Z] [2020-06-17T09:48:01.153Z] -- Configuring done [2020-06-17T09:48:01.430Z] -- Generating done [2020-06-17T09:48:01.430Z] -- Build files have been written to: /tmp/cbor [2020-06-17T09:48:01.430Z] Scanning dependencies of target cbor_shared [2020-06-17T09:48:01.430Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-06-17T09:48:02.406Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-06-17T09:48:02.998Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-06-17T09:48:03.279Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-06-17T09:48:03.873Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-06-17T09:48:04.155Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-06-17T09:48:04.155Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-06-17T09:48:04.427Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-06-17T09:48:04.698Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-06-17T09:48:04.974Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-06-17T09:48:05.572Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-06-17T09:48:05.842Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-06-17T09:48:06.432Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-06-17T09:48:06.704Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-06-17T09:48:06.976Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-06-17T09:48:07.249Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-06-17T09:48:07.522Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-06-17T09:48:07.794Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-06-17T09:48:08.064Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-06-17T09:48:08.335Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-06-17T09:48:08.606Z] [ 40%] Linking C shared library libcbor.so [2020-06-17T09:48:08.606Z] [ 40%] Built target cbor_shared [2020-06-17T09:48:08.606Z] Scanning dependencies of target cbor [2020-06-17T09:48:08.606Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-06-17T09:48:09.576Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-06-17T09:48:10.171Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-06-17T09:48:10.448Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-06-17T09:48:11.870Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-06-17T09:48:11.870Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-06-17T09:48:12.140Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-06-17T09:48:12.411Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-06-17T09:48:12.411Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-06-17T09:48:13.001Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-06-17T09:48:13.594Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-06-17T09:48:13.865Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-06-17T09:48:14.460Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-06-17T09:48:14.733Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-06-17T09:48:15.006Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-06-17T09:48:15.279Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-06-17T09:48:15.553Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-06-17T09:48:15.824Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-06-17T09:48:16.101Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-06-17T09:48:16.383Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-06-17T09:48:16.383Z] [ 80%] Linking C static library libcbor.a [2020-06-17T09:48:16.657Z] [ 80%] Built target cbor [2020-06-17T09:48:16.657Z] Scanning dependencies of target create_items [2020-06-17T09:48:16.657Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-06-17T09:48:16.927Z] [ 84%] Linking C executable create_items [2020-06-17T09:48:16.927Z] [ 84%] Built target create_items [2020-06-17T09:48:16.927Z] Scanning dependencies of target readfile [2020-06-17T09:48:16.927Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-06-17T09:48:17.200Z] [ 88%] Linking C executable readfile [2020-06-17T09:48:17.200Z] [ 88%] Built target readfile [2020-06-17T09:48:17.200Z] Scanning dependencies of target streaming_parser [2020-06-17T09:48:17.475Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-06-17T09:48:17.745Z] [ 92%] Linking C executable streaming_parser [2020-06-17T09:48:17.745Z] [ 92%] Built target streaming_parser [2020-06-17T09:48:17.745Z] Scanning dependencies of target sort [2020-06-17T09:48:17.745Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-06-17T09:48:18.019Z] [ 96%] Linking C executable sort [2020-06-17T09:48:18.019Z] [ 96%] Built target sort [2020-06-17T09:48:18.019Z] Scanning dependencies of target hello [2020-06-17T09:48:18.019Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-06-17T09:48:18.291Z] [100%] Linking C executable hello [2020-06-17T09:48:18.291Z] [100%] Built target hello [2020-06-17T09:48:18.291Z] Install the project... [2020-06-17T09:48:18.291Z] -- Install configuration: "Release" [2020-06-17T09:48:18.291Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-06-17T09:48:18.291Z] -- Installing: /usr/local/lib64/libcbor.a [2020-06-17T09:48:18.291Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-06-17T09:48:18.291Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-06-17T09:48:18.291Z] -- Installing: /usr/local/lib64/libcbor.so [2020-06-17T09:48:18.291Z] -- Up-to-date: /usr/local/include/cbor [2020-06-17T09:48:18.291Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-06-17T09:48:18.291Z] -- Installing: /usr/local/include/cbor/ints.h [2020-06-17T09:48:18.291Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-06-17T09:48:18.291Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-06-17T09:48:18.291Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-06-17T09:48:18.291Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-06-17T09:48:18.291Z] -- Installing: /usr/local/include/cbor/data.h [2020-06-17T09:48:18.565Z] -- Installing: /usr/local/include/cbor/common.h [2020-06-17T09:48:18.565Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-06-17T09:48:18.565Z] -- Installing: /usr/local/include/cbor/strings.h [2020-06-17T09:48:18.565Z] -- Installing: /usr/local/include/cbor/tags.h [2020-06-17T09:48:18.565Z] -- Installing: /usr/local/include/cbor/internal [2020-06-17T09:48:18.565Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-06-17T09:48:18.565Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-06-17T09:48:18.565Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-06-17T09:48:18.565Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-06-17T09:48:18.565Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-06-17T09:48:18.565Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-06-17T09:48:18.565Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-06-17T09:48:18.565Z] -- Installing: /usr/local/include/cbor/maps.h [2020-06-17T09:48:18.565Z] -- Installing: /usr/local/include/cbor.h [2020-06-17T09:48:18.565Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-06-17T09:48:20.549Z] Removing intermediate container a422f03e9ca5 [2020-06-17T09:48:20.549Z] ---> 377b0a50f371 [2020-06-17T09:48:20.549Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-06-17T09:48:20.822Z] ---> Running in 59f50dde135c [2020-06-17T09:48:23.440Z] Removing intermediate container 59f50dde135c [2020-06-17T09:48:23.440Z] ---> 75a47c25226a [2020-06-17T09:48:23.440Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-06-17T09:48:23.713Z] ---> b19e24a2bd0b [2020-06-17T09:48:23.713Z] Step 8/21 : COPY src /tmp/sdk/src [2020-06-17T09:48:24.693Z] ---> 8e0e96c18b90 [2020-06-17T09:48:24.693Z] Step 9/21 : COPY include /tmp/sdk/include [2020-06-17T09:48:25.291Z] ---> 1a9353057c79 [2020-06-17T09:48:25.291Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-06-17T09:48:26.267Z] ---> 72531211881a [2020-06-17T09:48:26.267Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-06-17T09:48:26.866Z] ---> f1f9acc5c622 [2020-06-17T09:48:26.867Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-06-17T09:48:27.467Z] ---> dcec51c59096 [2020-06-17T09:48:27.467Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-06-17T09:48:27.741Z] ---> Running in e5853bb8d746 [2020-06-17T09:48:29.177Z] + CPPCHECK=false [2020-06-17T09:48:29.177Z] + DOCGEN=false [2020-06-17T09:48:29.177Z] + TOMLVER=SDK-0.2 [2020-06-17T09:48:29.177Z] + CUTILVER=1.0.4 [2020-06-17T09:48:29.177Z] + '[' 0 -gt 0 ] [2020-06-17T09:48:29.177Z] + readlink -f ./scripts/build.sh [2020-06-17T09:48:29.177Z] + dirname /tmp/sdk/scripts/build.sh [2020-06-17T09:48:29.177Z] + dirname /tmp/sdk/scripts [2020-06-17T09:48:29.177Z] + ROOT=/tmp/sdk [2020-06-17T09:48:29.177Z] + cd /tmp/sdk [2020-06-17T09:48:29.177Z] + '[' '!' -d deps ] [2020-06-17T09:48:29.177Z] + mkdir deps [2020-06-17T09:48:29.177Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-06-17T09:48:29.177Z] + tar -C deps -z -x -f - [2020-06-17T09:48:29.177Z] --2020-06-17 09:48:28-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-06-17T09:48:29.177Z] Resolving github.com... 140.82.113.4 [2020-06-17T09:48:29.177Z] Connecting to github.com|140.82.113.4|:443... connected. [2020-06-17T09:48:29.177Z] HTTP request sent, awaiting response... 302 Found [2020-06-17T09:48:29.177Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-06-17T09:48:29.177Z] --2020-06-17 09:48:29-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-06-17T09:48:29.177Z] Resolving codeload.github.com... 140.82.113.10 [2020-06-17T09:48:29.177Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2020-06-17T09:48:29.449Z] HTTP request sent, awaiting response... 200 OK [2020-06-17T09:48:29.449Z] Length: unspecified [application/x-gzip] [2020-06-17T09:48:29.449Z] Saving to: 'STDOUT' [2020-06-17T09:48:29.449Z]  [2020-06-17T09:48:29.449Z] 0K .......... ......  895K=0.02s [2020-06-17T09:48:29.449Z] [2020-06-17T09:48:29.449Z] 2020-06-17 09:48:29 (895 KB/s) - written to stdout [16451] [2020-06-17T09:48:29.449Z] [2020-06-17T09:48:29.449Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-06-17T09:48:29.449Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-06-17T09:48:29.449Z] + tar -C deps -z -x -f - [2020-06-17T09:48:29.449Z] --2020-06-17 09:48:29-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-06-17T09:48:29.449Z] Resolving github.com... 140.82.113.4 [2020-06-17T09:48:29.449Z] Connecting to github.com|140.82.113.4|:443... connected. [2020-06-17T09:48:29.723Z] HTTP request sent, awaiting response... 302 Found [2020-06-17T09:48:29.723Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] [2020-06-17T09:48:29.723Z] --2020-06-17 09:48:29-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [2020-06-17T09:48:29.723Z] Resolving codeload.github.com... 140.82.113.10 [2020-06-17T09:48:29.723Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2020-06-17T09:48:29.723Z] HTTP request sent, awaiting response... 200 OK [2020-06-17T09:48:29.723Z] Length: unspecified [application/x-gzip] [2020-06-17T09:48:29.723Z] Saving to: 'STDOUT' [2020-06-17T09:48:29.723Z] [2020-06-17T09:48:29.723Z] 0K .......... .......... .......... .......... .......... 1.60M [2020-06-17T09:48:29.723Z] 50K .......... .......... .......... .......... .......... 3.10M [2020-06-17T09:48:29.723Z] 100K .......... .......... .......... .......... .......... 4.21M [2020-06-17T09:48:29.723Z] 150K ........  5.34M=0.06s [2020-06-17T09:48:29.723Z] [2020-06-17T09:48:29.723Z] 2020-06-17 09:48:29 (2.61 MB/s) - written to stdout [162267] [2020-06-17T09:48:29.723Z] [2020-06-17T09:48:29.998Z] + mkdir -p src/c/iot [2020-06-17T09:48:29.998Z] + cp deps/iotech-c-utils-1.0.4/src/c/base64.c deps/iotech-c-utils-1.0.4/src/c/component.c deps/iotech-c-utils-1.0.4/src/c/container.c deps/iotech-c-utils-1.0.4/src/c/data.c deps/iotech-c-utils-1.0.4/src/c/hash.c deps/iotech-c-utils-1.0.4/src/c/iot.c deps/iotech-c-utils-1.0.4/src/c/json.c deps/iotech-c-utils-1.0.4/src/c/logger.c deps/iotech-c-utils-1.0.4/src/c/os.c deps/iotech-c-utils-1.0.4/src/c/scheduler.c deps/iotech-c-utils-1.0.4/src/c/thread.c deps/iotech-c-utils-1.0.4/src/c/threadpool.c deps/iotech-c-utils-1.0.4/src/c/time.c src/c/iot [2020-06-17T09:48:29.998Z] + mkdir -p include/iot [2020-06-17T09:48:29.998Z] + cp deps/iotech-c-utils-1.0.4/include/iot/base64.h deps/iotech-c-utils-1.0.4/include/iot/component.h deps/iotech-c-utils-1.0.4/include/iot/container.h deps/iotech-c-utils-1.0.4/include/iot/data.h deps/iotech-c-utils-1.0.4/include/iot/hash.h deps/iotech-c-utils-1.0.4/include/iot/iot.h deps/iotech-c-utils-1.0.4/include/iot/json.h deps/iotech-c-utils-1.0.4/include/iot/logger.h deps/iotech-c-utils-1.0.4/include/iot/os.h deps/iotech-c-utils-1.0.4/include/iot/scheduler.h deps/iotech-c-utils-1.0.4/include/iot/thread.h deps/iotech-c-utils-1.0.4/include/iot/threadpool.h deps/iotech-c-utils-1.0.4/include/iot/time.h deps/iotech-c-utils-1.0.4/include/iot/typecode.h include/iot [2020-06-17T09:48:29.998Z] + mkdir -p include/iot/os [2020-06-17T09:48:29.998Z] + cp deps/iotech-c-utils-1.0.4/include/iot/os/linux.h deps/iotech-c-utils-1.0.4/include/iot/os/zephyr.h include/iot/os [2020-06-17T09:48:29.998Z] + mkdir -p /tmp/sdk/build/release [2020-06-17T09:48:29.998Z] + cd /tmp/sdk/build/release [2020-06-17T09:48:29.998Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-06-17T09:48:30.273Z] -- The C compiler identification is GNU 8.3.0 [2020-06-17T09:48:30.273Z] -- Check for working C compiler: /usr/bin/cc [2020-06-17T09:48:30.546Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-17T09:48:30.546Z] -- Detecting C compiler ABI info [2020-06-17T09:48:30.819Z] -- Detecting C compiler ABI info - done [2020-06-17T09:48:30.819Z] -- Detecting C compile features [2020-06-17T09:48:31.414Z] -- Detecting C compile features - done [2020-06-17T09:48:31.414Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-06-17T09:48:31.414Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-06-17T09:48:31.414Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-06-17T09:48:31.685Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-06-17T09:48:31.685Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-06-17T09:48:31.685Z] -- C SDK 1.2.2-dev.3 for Linux [2020-06-17T09:48:31.685Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-06-17T09:48:31.685Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-06-17T09:48:31.685Z] -- Found Curses: /usr/lib/libcurses.so [2020-06-17T09:48:31.959Z] -- Configuring done [2020-06-17T09:48:32.232Z] -- Generating done [2020-06-17T09:48:32.232Z] -- Build files have been written to: /tmp/sdk/build/release [2020-06-17T09:48:32.232Z] + make [2020-06-17T09:48:32.232Z] + tee release.log [2020-06-17T09:48:32.232Z] Scanning dependencies of target csdk [2020-06-17T09:48:32.506Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-06-17T09:48:33.122Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-06-17T09:48:33.398Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-06-17T09:48:35.363Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-06-17T09:48:36.338Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-06-17T09:48:36.338Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-06-17T09:48:37.767Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-06-17T09:48:39.740Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-06-17T09:48:40.016Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-06-17T09:48:40.625Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-06-17T09:48:41.219Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-06-17T09:48:41.491Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-06-17T09:48:41.765Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-06-17T09:48:42.038Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-06-17T09:48:46.342Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-06-17T09:48:46.342Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-06-17T09:48:46.612Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-06-17T09:48:47.204Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-06-17T09:48:49.815Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-06-17T09:48:49.815Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-06-17T09:48:50.087Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-06-17T09:48:50.682Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-06-17T09:48:51.276Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-06-17T09:48:51.547Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-06-17T09:48:52.522Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-06-17T09:48:52.795Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-06-17T09:48:53.769Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-06-17T09:48:53.769Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-06-17T09:48:54.362Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-06-17T09:48:55.336Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-06-17T09:48:55.609Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-06-17T09:49:00.998Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-06-17T09:49:01.269Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-06-17T09:49:01.544Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-06-17T09:49:02.523Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-06-17T09:49:03.957Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-06-17T09:49:05.925Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-06-17T09:49:10.214Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-06-17T09:49:10.214Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-06-17T09:49:11.643Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-06-17T09:49:12.235Z] [ 74%] Linking C shared library libcsdk.so [2020-06-17T09:49:12.235Z] [ 74%] Built target csdk [2020-06-17T09:49:12.509Z] Scanning dependencies of target template [2020-06-17T09:49:12.510Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-06-17T09:49:13.103Z] [ 78%] Linking C executable template [2020-06-17T09:49:13.375Z] [ 78%] Built target template [2020-06-17T09:49:13.375Z] Scanning dependencies of target device-counter [2020-06-17T09:49:13.375Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-06-17T09:49:13.969Z] [ 81%] Linking C executable device-counter [2020-06-17T09:49:13.969Z] [ 81%] Built target device-counter [2020-06-17T09:49:14.242Z] Scanning dependencies of target device-random [2020-06-17T09:49:14.242Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-06-17T09:49:14.515Z] [ 85%] Linking C executable device-random [2020-06-17T09:49:14.787Z] [ 85%] Built target device-random [2020-06-17T09:49:14.787Z] Scanning dependencies of target device-gyro [2020-06-17T09:49:15.135Z] [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-06-17T09:49:15.431Z] [ 89%] Linking C executable device-gyro [2020-06-17T09:49:15.738Z] [ 89%] Built target device-gyro [2020-06-17T09:49:15.738Z] Scanning dependencies of target template-discovery [2020-06-17T09:49:15.738Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-06-17T09:49:16.420Z] [ 92%] Linking C executable template-discovery [2020-06-17T09:49:16.719Z] [ 92%] Built target template-discovery [2020-06-17T09:49:17.003Z] Scanning dependencies of target device-terminal [2020-06-17T09:49:17.003Z] [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-06-17T09:49:17.621Z] [ 96%] Linking C executable device-terminal [2020-06-17T09:49:17.621Z] [ 96%] Built target device-terminal [2020-06-17T09:49:17.911Z] Scanning dependencies of target templatev1 [2020-06-17T09:49:17.911Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-06-17T09:49:18.523Z] [100%] Linking C executable templatev1 [2020-06-17T09:49:18.795Z] [100%] Built target templatev1 [2020-06-17T09:49:18.795Z] + make+ package [2020-06-17T09:49:18.795Z] tee -a release.log [2020-06-17T09:49:18.795Z] [ 74%] Built target csdk [2020-06-17T09:49:18.795Z] [ 78%] Built target template [2020-06-17T09:49:19.070Z] [ 81%] Built target device-counter [2020-06-17T09:49:19.070Z] [ 85%] Built target device-random [2020-06-17T09:49:19.070Z] [ 89%] Built target device-gyro [2020-06-17T09:49:19.070Z] [ 92%] Built target template-discovery [2020-06-17T09:49:19.070Z] [ 96%] Built target device-terminal [2020-06-17T09:49:19.070Z] [100%] Built target templatev1 [2020-06-17T09:49:19.343Z] Run CPack packaging tool... [2020-06-17T09:49:19.343Z] CPack: Create package using TGZ [2020-06-17T09:49:19.343Z] CPack: Install projects [2020-06-17T09:49:19.343Z] CPack: - Run preinstall target for: Csdk [2020-06-17T09:49:19.613Z] CPack: - Install project: Csdk [2020-06-17T09:49:19.884Z] CPack: Create package [2020-06-17T09:49:19.884Z] CPack: - package: /tmp/sdk/build/release/csdk-1.2.2-dev.3.tar.gz generated. [2020-06-17T09:49:19.884Z] + '[' false '=' true ] [2020-06-17T09:49:19.884Z] + '[' false '=' true ] [2020-06-17T09:49:19.884Z] + mkdir -p /tmp/sdk/build/debug [2020-06-17T09:49:19.885Z] + cd /tmp/sdk/build/debug [2020-06-17T09:49:19.885Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-06-17T09:49:20.155Z] -- The C compiler identification is GNU 8.3.0 [2020-06-17T09:49:20.155Z] -- Check for working C compiler: /usr/bin/cc [2020-06-17T09:49:20.426Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-06-17T09:49:20.426Z] -- Detecting C compiler ABI info [2020-06-17T09:49:20.698Z] -- Detecting C compiler ABI info - done [2020-06-17T09:49:20.698Z] -- Detecting C compile features [2020-06-17T09:49:21.678Z] -- Detecting C compile features - done [2020-06-17T09:49:21.678Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-06-17T09:49:21.678Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-06-17T09:49:21.678Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-06-17T09:49:21.678Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-06-17T09:49:21.678Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-06-17T09:49:21.678Z] -- C SDK 1.2.2-dev.3 for Linux [2020-06-17T09:49:21.678Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-06-17T09:49:21.678Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-06-17T09:49:21.678Z] -- Found Curses: /usr/lib/libcurses.so [2020-06-17T09:49:21.949Z] -- Configuring done [2020-06-17T09:49:22.221Z] -- Generating done [2020-06-17T09:49:22.221Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-06-17T09:49:22.221Z] + make [2020-06-17T09:49:22.221Z] + tee debug.log [2020-06-17T09:49:22.221Z] Scanning dependencies of target csdk [2020-06-17T09:49:22.493Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-06-17T09:49:22.768Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-06-17T09:49:23.041Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-06-17T09:49:23.636Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-06-17T09:49:23.907Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-06-17T09:49:23.907Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-06-17T09:49:24.527Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-06-17T09:49:24.802Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-06-17T09:49:25.399Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-06-17T09:49:25.672Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-06-17T09:49:25.944Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-06-17T09:49:26.216Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-06-17T09:49:26.487Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-06-17T09:49:26.487Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-06-17T09:49:27.454Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-06-17T09:49:27.725Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-06-17T09:49:27.997Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-06-17T09:49:28.269Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-06-17T09:49:29.236Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-06-17T09:49:29.236Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-06-17T09:49:29.236Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-06-17T09:49:29.506Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-06-17T09:49:29.777Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-06-17T09:49:30.048Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-06-17T09:49:30.321Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-06-17T09:49:30.321Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-06-17T09:49:30.591Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-06-17T09:49:30.860Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-06-17T09:49:31.129Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-06-17T09:49:31.402Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-06-17T09:49:31.674Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-06-17T09:49:33.109Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-06-17T09:49:33.109Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-06-17T09:49:33.381Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-06-17T09:49:33.970Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-06-17T09:49:34.939Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-06-17T09:49:35.208Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-06-17T09:49:36.176Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-06-17T09:49:36.445Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-06-17T09:49:36.718Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-06-17T09:49:36.988Z] [ 74%] Linking C shared library libcsdk.so [2020-06-17T09:49:37.261Z] [ 74%] Built target csdk [2020-06-17T09:49:37.261Z] Scanning dependencies of target template [2020-06-17T09:49:37.261Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-06-17T09:49:37.534Z] [ 78%] Linking C executable template [2020-06-17T09:49:37.803Z] [ 78%] Built target template [2020-06-17T09:49:37.803Z] Scanning dependencies of target device-counter [2020-06-17T09:49:37.803Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-06-17T09:49:38.075Z] [ 81%] Linking C executable device-counter [2020-06-17T09:49:38.348Z] [ 81%] Built target device-counter [2020-06-17T09:49:38.348Z] Scanning dependencies of target device-random [2020-06-17T09:49:38.348Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-06-17T09:49:39.110Z] [ 85%] Linking C executable device-random [2020-06-17T09:49:39.110Z] [ 85%] Built target device-random [2020-06-17T09:49:39.110Z] Scanning dependencies of target device-gyro [2020-06-17T09:49:39.110Z] [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-06-17T09:49:39.110Z] [ 89%] Linking C executable device-gyro [2020-06-17T09:49:39.384Z] [ 89%] Built target device-gyro [2020-06-17T09:49:39.384Z] Scanning dependencies of target template-discovery [2020-06-17T09:49:39.384Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-06-17T09:49:39.656Z] [ 92%] Linking C executable template-discovery [2020-06-17T09:49:39.928Z] [ 92%] Built target template-discovery [2020-06-17T09:49:39.928Z] Scanning dependencies of target device-terminal [2020-06-17T09:49:40.205Z] [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-06-17T09:49:40.481Z] [ 96%] Linking C executable device-terminal [2020-06-17T09:49:40.753Z] [ 96%] Built target device-terminal [2020-06-17T09:49:40.753Z] Scanning dependencies of target templatev1 [2020-06-17T09:49:40.753Z] [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o [2020-06-17T09:49:41.027Z] [100%] Linking C executable templatev1 [2020-06-17T09:49:41.300Z] [100%] Built target templatev1 [2020-06-17T09:49:41.300Z] make: Entering directory '/tmp/sdk/build/release' [2020-06-17T09:49:41.300Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-06-17T09:49:41.300Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T09:49:41.300Z] Scanning dependencies of target csdk [2020-06-17T09:49:41.300Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T09:49:41.573Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T09:49:41.573Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-06-17T09:49:43.539Z] [ 3%] Linking C shared library libcsdk.so [2020-06-17T09:49:43.539Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T09:49:43.539Z] [ 74%] Built target csdk [2020-06-17T09:49:43.539Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T09:49:43.539Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T09:49:43.539Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T09:49:43.539Z] [ 76%] Linking C executable template [2020-06-17T09:49:43.811Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T09:49:43.811Z] [ 78%] Built target template [2020-06-17T09:49:43.811Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T09:49:43.811Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T09:49:43.811Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T09:49:43.811Z] [ 80%] Linking C executable device-counter [2020-06-17T09:49:44.085Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T09:49:44.085Z] [ 81%] Built target device-counter [2020-06-17T09:49:44.085Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T09:49:44.085Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T09:49:44.085Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T09:49:44.085Z] [ 83%] Linking C executable device-random [2020-06-17T09:49:44.357Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T09:49:44.357Z] [ 85%] Built target device-random [2020-06-17T09:49:44.357Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T09:49:44.357Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T09:49:44.357Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T09:49:44.357Z] [ 87%] Linking C executable device-gyro [2020-06-17T09:49:44.632Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T09:49:44.632Z] [ 89%] Built target device-gyro [2020-06-17T09:49:44.632Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T09:49:44.632Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T09:49:44.632Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T09:49:44.906Z] [ 90%] Linking C executable template-discovery [2020-06-17T09:49:44.906Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T09:49:44.906Z] [ 92%] Built target template-discovery [2020-06-17T09:49:44.906Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T09:49:44.906Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T09:49:44.906Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T09:49:45.178Z] [ 94%] Linking C executable device-terminal [2020-06-17T09:49:45.178Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T09:49:45.178Z] [ 96%] Built target device-terminal [2020-06-17T09:49:45.178Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T09:49:45.178Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T09:49:45.450Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-06-17T09:49:45.450Z] [ 98%] Linking C executable templatev1 [2020-06-17T09:49:45.450Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T09:49:45.450Z] [100%] Built target templatev1 [2020-06-17T09:49:45.450Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-06-17T09:49:45.726Z] Install the project... [2020-06-17T09:49:45.726Z] -- Install configuration: "Release" [2020-06-17T09:49:45.726Z] -- Installing: /usr/local/lib/libcsdk.so [2020-06-17T09:49:45.726Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-06-17T09:49:45.726Z] -- Up-to-date: /usr/local/include [2020-06-17T09:49:45.726Z] -- Installing: /usr/local/include/edgex [2020-06-17T09:49:45.726Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-06-17T09:49:45.726Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-06-17T09:49:45.726Z] -- Installing: /usr/local/include/edgex/error.h [2020-06-17T09:49:45.726Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-06-17T09:49:45.726Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-06-17T09:49:45.726Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-06-17T09:49:45.726Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-06-17T09:49:45.726Z] -- Installing: /usr/local/include/edgex/registry.h [2020-06-17T09:49:45.726Z] -- Installing: /usr/local/include/edgex/edgex-logging.h [2020-06-17T09:49:45.726Z] -- Installing: /usr/local/include/edgex/devices.h [2020-06-17T09:49:45.726Z] -- Installing: /usr/local/include/edgex/os.h [2020-06-17T09:49:45.726Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-06-17T09:49:45.726Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-06-17T09:49:45.726Z] -- Installing: /usr/local/include/devsdk [2020-06-17T09:49:45.726Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-06-17T09:49:45.726Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-06-17T09:49:45.726Z] -- Installing: /usr/local/include/iot [2020-06-17T09:49:45.726Z] -- Installing: /usr/local/include/iot/json.h [2020-06-17T09:49:45.726Z] -- Installing: /usr/local/include/iot/container.h [2020-06-17T09:49:45.726Z] -- Installing: /usr/local/include/iot/component.h [2020-06-17T09:49:45.726Z] -- Installing: /usr/local/include/iot/typecode.h [2020-06-17T09:49:45.726Z] -- Installing: /usr/local/include/iot/iot.h [2020-06-17T09:49:45.726Z] -- Installing: /usr/local/include/iot/time.h [2020-06-17T09:49:45.726Z] -- Installing: /usr/local/include/iot/hash.h [2020-06-17T09:49:45.726Z] -- Installing: /usr/local/include/iot/logger.h [2020-06-17T09:49:45.726Z] -- Installing: /usr/local/include/iot/os [2020-06-17T09:49:45.726Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-06-17T09:49:45.726Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-06-17T09:49:45.726Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-06-17T09:49:45.726Z] -- Installing: /usr/local/include/iot/data.h [2020-06-17T09:49:45.726Z] -- Installing: /usr/local/include/iot/thread.h [2020-06-17T09:49:45.726Z] -- Installing: /usr/local/include/iot/os.h [2020-06-17T09:49:45.726Z] -- Installing: /usr/local/include/iot/base64.h [2020-06-17T09:49:45.726Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-06-17T09:49:45.726Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-06-17T09:49:45.726Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-06-17T09:49:45.726Z] make: Leaving directory '/tmp/sdk/build/release' [2020-06-17T09:49:47.693Z] Removing intermediate container e5853bb8d746 [2020-06-17T09:49:47.693Z] ---> 5a36b016311e [2020-06-17T09:49:47.693Z] Step 14/21 : FROM ${BASE} [2020-06-17T09:49:47.693Z] ---> b23d30803547 [2020-06-17T09:49:47.693Z] Step 15/21 : MAINTAINER IOTech [2020-06-17T09:49:47.964Z] ---> Running in d8e24865d49a [2020-06-17T09:49:48.556Z] Removing intermediate container d8e24865d49a [2020-06-17T09:49:48.556Z] ---> 7ab95642af2f [2020-06-17T09:49:48.556Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-06-17T09:49:48.556Z] ---> Running in bdacad4a7a73 [2020-06-17T09:49:49.980Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-06-17T09:49:50.952Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-06-17T09:49:51.225Z] (1/3) Installing curl (7.64.0-r3) [2020-06-17T09:49:51.225Z] (2/3) Installing libuuid (2.33-r0) [2020-06-17T09:49:51.225Z] (3/3) Installing wget (1.20.3-r0) [2020-06-17T09:49:51.496Z] Executing busybox-1.29.3-r10.trigger [2020-06-17T09:49:51.496Z] OK: 281 MiB in 78 packages [2020-06-17T09:49:52.925Z] Removing intermediate container bdacad4a7a73 [2020-06-17T09:49:52.925Z] ---> c01b4831a322 [2020-06-17T09:49:52.925Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-06-17T09:49:53.519Z] ---> 407a80d8259f [2020-06-17T09:49:53.519Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-06-17T09:49:54.494Z] ---> cc9a2a53eb63 [2020-06-17T09:49:54.494Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-06-17T09:49:55.086Z] ---> 9a99f0fc468d [2020-06-17T09:49:55.086Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-06-17T09:49:56.060Z] ---> 3e9245f7c8db [2020-06-17T09:49:56.060Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-06-17T09:49:56.652Z] ---> 41a8c6ad0fb0 [2020-06-17T09:49:56.652Z] Successfully built 41a8c6ad0fb0 [2020-06-17T09:49:56.652Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-06-17T09:49:57.200Z] + docker inspect -f . ci-base-image-arm64 [2020-06-17T09:49:57.200Z] . [Pipeline] withDockerContainer [2020-06-17T09:49:57.484Z] prd-ubuntu18.04-docker-arm64-4c-16g-3329 does not seem to be running inside a container [2020-06-17T09:49:57.584Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/27 -v /w/workspace/device-sdk-c/27:/w/workspace/device-sdk-c/27:rw,z -v /w/workspace/device-sdk-c/27@tmp:/w/workspace/device-sdk-c/27@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-06-17T09:49:59.544Z] $ docker top 6a6e82faa69545823f12695e64e8ab1517a4b0ec845036b01aeeb5b0a5efddc7 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-17T09:50:01.049Z] + make test [2020-06-17T09:50:01.049Z] echo "make test" [2020-06-17T09:50:01.049Z] make test [Pipeline] } [2020-06-17T09:50:01.043Z] $ docker stop --time=1 6a6e82faa69545823f12695e64e8ab1517a4b0ec845036b01aeeb5b0a5efddc7 [2020-06-17T09:50:03.037Z] $ docker rm -f 6a6e82faa69545823f12695e64e8ab1517a4b0ec845036b01aeeb5b0a5efddc7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-17T09:50:03.837Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-17T09:50:04.173Z] + ls -al . [2020-06-17T09:50:04.173Z] total 192 [2020-06-17T09:50:04.173Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 09:47 . [2020-06-17T09:50:04.173Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 09:47 .. [2020-06-17T09:50:04.173Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 09:47 .git [2020-06-17T09:50:04.173Z] -rw-rw-r-- 1 jenkins jenkins 176 Jun 17 09:47 .gitignore [2020-06-17T09:50:04.173Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 09:47 .semver [2020-06-17T09:50:04.173Z] -rw-rw-r-- 1 jenkins jenkins 3104 Jun 17 09:47 Attribution.txt [2020-06-17T09:50:04.173Z] -rw-rw-r-- 1 jenkins jenkins 5323 Jun 17 09:47 CHANGES [2020-06-17T09:50:04.173Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jun 17 09:47 Doxyfile [2020-06-17T09:50:04.173Z] -rw-rw-r-- 1 jenkins jenkins 794 Jun 17 09:47 Jenkinsfile [2020-06-17T09:50:04.173Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jun 17 09:47 LICENSE [2020-06-17T09:50:04.173Z] -rw-rw-r-- 1 jenkins jenkins 449 Jun 17 09:47 Makefile [2020-06-17T09:50:04.173Z] -rw-rw-r-- 1 jenkins jenkins 1849 Jun 17 09:47 README.md [2020-06-17T09:50:04.173Z] -rw-rw-r-- 1 jenkins jenkins 5229 Jun 17 09:47 README.v2.md [2020-06-17T09:50:04.173Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 17 09:43 VERSION [2020-06-17T09:50:04.173Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 09:47 docs [2020-06-17T09:50:04.173Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 09:47 include [2020-06-17T09:50:04.173Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 09:47 scripts [2020-06-17T09:50:04.173Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 09:47 src [Pipeline] isUnix [Pipeline] sh [2020-06-17T09:50:04.516Z] + 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=fe664e697b23228791073c46494919a610be639c --label arch=arm64 --label version=1.2.2-dev.3 . [2020-06-17T09:50:05.116Z] Sending build context to Docker daemon 3.263MB [2020-06-17T09:50:05.116Z] Step 1/15 : ARG BASE=alpine:3.11 [2020-06-17T09:50:05.116Z] Step 2/15 : FROM ${BASE} [2020-06-17T09:50:05.116Z] ---> 41a8c6ad0fb0 [2020-06-17T09:50:05.116Z] Step 3/15 : MAINTAINER IOTech [2020-06-17T09:50:05.389Z] ---> Running in 233095d36350 [2020-06-17T09:50:05.661Z] Removing intermediate container 233095d36350 [2020-06-17T09:50:05.661Z] ---> fbb4ff1207a4 [2020-06-17T09:50:05.661Z] Step 4/15 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev && mkdir -p /edgex-c-sdk/build [2020-06-17T09:50:05.932Z] ---> Running in c05de143c883 [2020-06-17T09:50:07.366Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-06-17T09:50:08.340Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-06-17T09:50:08.611Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2020-06-17T09:50:08.611Z] (2/6) Installing libblkid (2.33-r0) [2020-06-17T09:50:08.882Z] (3/6) Installing libfdisk (2.33-r0) [2020-06-17T09:50:08.882Z] (4/6) Installing libmount (2.33-r0) [2020-06-17T09:50:08.882Z] (5/6) Installing libsmartcols (2.33-r0) [2020-06-17T09:50:09.153Z] (6/6) Installing util-linux-dev (2.33-r0) [2020-06-17T09:50:09.424Z] Executing busybox-1.29.3-r10.trigger [2020-06-17T09:50:09.424Z] OK: 286 MiB in 84 packages [2020-06-17T09:50:10.861Z] Removing intermediate container c05de143c883 [2020-06-17T09:50:10.861Z] ---> 3069663eb8c6 [2020-06-17T09:50:10.861Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-06-17T09:50:11.455Z] ---> 7fe5624beb84 [2020-06-17T09:50:11.455Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-06-17T09:50:12.435Z] ---> da4345ed9b3f [2020-06-17T09:50:12.435Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-06-17T09:50:13.031Z] ---> ff8474b27372 [2020-06-17T09:50:13.031Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-06-17T09:50:13.626Z] ---> 359d2c59bc85 [2020-06-17T09:50:13.626Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-06-17T09:50:14.609Z] ---> 61cdb332cbce [2020-06-17T09:50:14.609Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-06-17T09:50:15.203Z] ---> e773e5f6e015 [2020-06-17T09:50:15.203Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-06-17T09:50:15.203Z] ---> Running in 3f99a993a890 [2020-06-17T09:50:15.798Z] Removing intermediate container 3f99a993a890 [2020-06-17T09:50:15.798Z] ---> 352da17c6f7a [2020-06-17T09:50:15.798Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-06-17T09:50:15.798Z] ---> Running in 6151af6de58e [2020-06-17T09:50:16.390Z] Removing intermediate container 6151af6de58e [2020-06-17T09:50:16.390Z] ---> 5983e741acb8 [2020-06-17T09:50:16.390Z] Step 13/15 : LABEL arch=arm64 [2020-06-17T09:50:16.390Z] ---> Running in 8a8b52a380db [2020-06-17T09:50:16.986Z] Removing intermediate container 8a8b52a380db [2020-06-17T09:50:16.986Z] ---> 856048114c37 [2020-06-17T09:50:16.986Z] Step 14/15 : LABEL git_sha=fe664e697b23228791073c46494919a610be639c [2020-06-17T09:50:16.986Z] ---> Running in 35881f6ffcc9 [2020-06-17T09:50:17.581Z] Removing intermediate container 35881f6ffcc9 [2020-06-17T09:50:17.581Z] ---> ba35e94eb12b [2020-06-17T09:50:17.581Z] Step 15/15 : LABEL version=1.2.2-dev.3 [2020-06-17T09:50:17.581Z] ---> Running in ddae109f33fa [2020-06-17T09:50:18.176Z] Removing intermediate container ddae109f33fa [2020-06-17T09:50:18.176Z] ---> 4e12d76d757c [2020-06-17T09:50:18.176Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2020-06-17T09:50:18.176Z] Successfully built 4e12d76d757c [2020-06-17T09:50:18.176Z] 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-06-17T09:50:19.371Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-17T09:50:19.371Z] . [Pipeline] withDockerContainer [2020-06-17T09:50:19.476Z] prd-centos7-docker-4c-2g-3327 does not seem to be running inside a container [2020-06-17T09:50:19.519Z] $ 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-06-17T09:50:20.359Z] $ docker top 265bb424e832fb8e131d7984072fa097d32cbfe3d11146c38db595386a038b20 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-06-17T09:50:20.545Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-17T09:50:20.545Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-17T09:50:20.774Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-17T09:50:20.780Z] $ docker exec 265bb424e832fb8e131d7984072fa097d32cbfe3d11146c38db595386a038b20 ssh-agent [2020-06-17T09:50:20.947Z] SSH_AUTH_SOCK=/tmp/ssh-cqhPAFfteEeZ/agent.11 [2020-06-17T09:50:20.947Z] SSH_AGENT_PID=16 [2020-06-17T09:50:20.954Z] Running ssh-add (command line suppressed) [2020-06-17T09:50:21.080Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_4313692026441172097.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_4313692026441172097.key) [2020-06-17T09:50:21.131Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-17T09:50:21.437Z] + git semver tag [2020-06-17T09:50:21.437Z] # -> Open(): unable to determine branch for HEAD [2020-06-17T09:50:21.437Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2020-06-17T09:50:21.437Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2020-06-17T09:50:21.437Z] # $SEMVER_REMOTE_NAME = origin [2020-06-17T09:50:21.437Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-06-17T09:50:21.437Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-06-17T09:50:21.437Z] # $SEMVER_BRANCH = master [2020-06-17T09:50:21.437Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [2020-06-17T09:50:21.437Z] # fe664e697b23228791073c46494919a610be639c HEAD [2020-06-17T09:50:21.437Z] # -> Force: false [2020-06-17T09:50:21.437Z] # 8bb7e9359db7fb8266663c86125646a4aebda045 refs/tags/v1.2.2-dev.3 [Pipeline] } [2020-06-17T09:50:21.450Z] $ docker exec --env ******** --env ******** 265bb424e832fb8e131d7984072fa097d32cbfe3d11146c38db595386a038b20 ssh-agent -k [2020-06-17T09:50:21.567Z] unset SSH_AUTH_SOCK; [2020-06-17T09:50:21.567Z] unset SSH_AGENT_PID; [2020-06-17T09:50:21.567Z] echo Agent pid 16 killed; [2020-06-17T09:50:21.612Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-06-17T09:50:21.977Z] + git semver [Pipeline] } [2020-06-17T09:50:21.994Z] $ docker stop --time=1 265bb424e832fb8e131d7984072fa097d32cbfe3d11146c38db595386a038b20 [2020-06-17T09:50:23.320Z] $ docker rm -f 265bb424e832fb8e131d7984072fa097d32cbfe3d11146c38db595386a038b20 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-06-17T09:50:23.873Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-06-17T09:50:23.873Z] [2020-06-17T09:50:23.873Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-06-17T09:50:24.188Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-06-17T09:50:24.188Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-06-17T09:50:24.188Z] ab5ef0e58194: Pulling fs layer [2020-06-17T09:50:24.188Z] 9712f1f96733: Pulling fs layer [2020-06-17T09:50:24.188Z] 63f879dbbcfc: Pulling fs layer [2020-06-17T09:50:24.188Z] 0d9ebad4ef96: Pulling fs layer [2020-06-17T09:50:24.188Z] e9a5061849ea: Pulling fs layer [2020-06-17T09:50:24.188Z] d747dcd14b5f: Pulling fs layer [2020-06-17T09:50:24.188Z] 2de7ff778b66: Pulling fs layer [2020-06-17T09:50:24.188Z] e9a5061849ea: Waiting [2020-06-17T09:50:24.188Z] d747dcd14b5f: Waiting [2020-06-17T09:50:24.188Z] 2de7ff778b66: Waiting [2020-06-17T09:50:24.188Z] 0d9ebad4ef96: Waiting [2020-06-17T09:50:24.188Z] 9712f1f96733: Verifying Checksum [2020-06-17T09:50:24.188Z] 9712f1f96733: Download complete [2020-06-17T09:50:25.155Z] 0d9ebad4ef96: Verifying Checksum [2020-06-17T09:50:25.155Z] 0d9ebad4ef96: Download complete [2020-06-17T09:50:25.155Z] ab5ef0e58194: Verifying Checksum [2020-06-17T09:50:25.155Z] ab5ef0e58194: Download complete [2020-06-17T09:50:25.155Z] 63f879dbbcfc: Verifying Checksum [2020-06-17T09:50:25.155Z] 63f879dbbcfc: Download complete [2020-06-17T09:50:25.728Z] d747dcd14b5f: Verifying Checksum [2020-06-17T09:50:25.728Z] d747dcd14b5f: Download complete [2020-06-17T09:50:25.728Z] e9a5061849ea: Verifying Checksum [2020-06-17T09:50:25.728Z] e9a5061849ea: Download complete [2020-06-17T09:50:25.990Z] 2de7ff778b66: Verifying Checksum [2020-06-17T09:50:25.990Z] 2de7ff778b66: Download complete [2020-06-17T09:50:30.218Z] ab5ef0e58194: Pull complete [2020-06-17T09:50:30.480Z] 9712f1f96733: Pull complete [2020-06-17T09:50:33.030Z] 63f879dbbcfc: Pull complete [2020-06-17T09:50:38.346Z] 0d9ebad4ef96: Pull complete [2020-06-17T09:50:39.753Z] e9a5061849ea: Pull complete [2020-06-17T09:50:40.015Z] d747dcd14b5f: Pull complete [2020-06-17T09:50:43.324Z] 2de7ff778b66: Pull complete [2020-06-17T09:50:43.324Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-06-17T09:50:43.324Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-06-17T09:50:43.324Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-06-17T09:50:43.481Z] prd-centos7-docker-4c-2g-3327 does not seem to be running inside a container [2020-06-17T09:50:43.523Z] $ 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-06-17T09:50:47.271Z] $ docker top 664ce129a66f287f7903d70e4b54959d51fef3a04f3e6ebbc474d51cf1157f3a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-06-17T09:50:47.399Z] provisioning config files... [2020-06-17T09:50:47.410Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config2335051639510087935tmp [2020-06-17T09:50:47.425Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config3297038353004104374tmp [2020-06-17T09:50:47.439Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config8843353781489784922tmp [Pipeline] { [Pipeline] echo [2020-06-17T09:50:47.465Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-17T09:50:47.754Z] ---> sigul-configuration.sh [2020-06-17T09:50:47.754Z] gpg: directory `/root/.gnupg' created [2020-06-17T09:50:47.754Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-06-17T09:50:47.754Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-06-17T09:50:47.754Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-06-17T09:50:47.754Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-06-17T09:50:47.754Z] gpg: CAST5 encrypted data [2020-06-17T09:50:48.014Z] gpg: encrypted with 1 passphrase [2020-06-17T09:50:48.014Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-06-17T09:50:48.307Z] + mkdir /home/jenkins [2020-06-17T09:50:48.307Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-06-17T09:50:48.599Z] + 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-06-17T09:50:48.609Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-17T09:50:48.898Z] ---> sigul-install.sh [2020-06-17T09:50:54.185Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-06-17T09:50:54.478Z] + git tag --list [2020-06-17T09:50:54.478Z] v1.2.2-dev.3 [Pipeline] sh [2020-06-17T09:50:54.770Z] + lftools sign git-tag v1.2.2-dev.3 [2020-06-17T09:50:56.155Z] Signing Git tag with Sigul... [2020-06-17T09:50:56.155Z] Signing v1.2.2-dev.3 [Pipeline] echo [2020-06-17T09:50:57.107Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-17T09:50:57.398Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-06-17T09:50:57.405Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-06-17T09:50:57.450Z] $ docker stop --time=1 664ce129a66f287f7903d70e4b54959d51fef3a04f3e6ebbc474d51cf1157f3a [2020-06-17T09:50:59.306Z] $ docker rm -f 664ce129a66f287f7903d70e4b54959d51fef3a04f3e6ebbc474d51cf1157f3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-06-17T09:50:59.871Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-17T09:50:59.871Z] . [Pipeline] withDockerContainer [2020-06-17T09:51:00.026Z] prd-centos7-docker-4c-2g-3327 does not seem to be running inside a container [2020-06-17T09:51:00.116Z] $ 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-06-17T09:51:00.789Z] $ docker top dfc7311c8148c60e172f5e59dc182dbeb1ffddee44e550b5ada70491dd05d9fb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-06-17T09:51:00.964Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-17T09:51:00.964Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-17T09:51:01.174Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-17T09:51:01.180Z] $ docker exec dfc7311c8148c60e172f5e59dc182dbeb1ffddee44e550b5ada70491dd05d9fb ssh-agent [2020-06-17T09:51:01.350Z] SSH_AUTH_SOCK=/tmp/ssh-2sEekPpJ4wld/agent.13 [2020-06-17T09:51:01.351Z] SSH_AGENT_PID=19 [2020-06-17T09:51:01.359Z] Running ssh-add (command line suppressed) [2020-06-17T09:51:01.494Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_2032604656455673825.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_2032604656455673825.key) [2020-06-17T09:51:01.544Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-17T09:51:01.856Z] + git semver bump pre [2020-06-17T09:51:01.856Z] # -> Open(): unable to determine branch for HEAD [2020-06-17T09:51:01.856Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2020-06-17T09:51:01.856Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2020-06-17T09:51:01.856Z] # $SEMVER_REMOTE_NAME = origin [2020-06-17T09:51:01.856Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-06-17T09:51:01.856Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-06-17T09:51:01.856Z] # $SEMVER_BRANCH = master [2020-06-17T09:51:01.856Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [2020-06-17T09:51:01.856Z] 1.2.2-dev.4 [Pipeline] } [2020-06-17T09:51:01.870Z] $ docker exec --env ******** --env ******** dfc7311c8148c60e172f5e59dc182dbeb1ffddee44e550b5ada70491dd05d9fb ssh-agent -k [2020-06-17T09:51:02.022Z] unset SSH_AUTH_SOCK; [2020-06-17T09:51:02.022Z] unset SSH_AGENT_PID; [2020-06-17T09:51:02.023Z] echo Agent pid 19 killed; [2020-06-17T09:51:02.075Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-06-17T09:51:02.434Z] + git semver [Pipeline] } [2020-06-17T09:51:02.453Z] $ docker stop --time=1 dfc7311c8148c60e172f5e59dc182dbeb1ffddee44e550b5ada70491dd05d9fb [2020-06-17T09:51:03.849Z] $ docker rm -f dfc7311c8148c60e172f5e59dc182dbeb1ffddee44e550b5ada70491dd05d9fb [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-06-17T09:51:04.311Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-17T09:51:04.311Z] . [Pipeline] withDockerContainer [2020-06-17T09:51:04.404Z] prd-centos7-docker-4c-2g-3327 does not seem to be running inside a container [2020-06-17T09:51:04.457Z] $ 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-06-17T09:51:05.170Z] $ docker top c7552a4ad5d29fc16bd268085f940d1dcece3b7ce9f40d735513bdc7b01d32f0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-06-17T09:51:05.375Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-17T09:51:05.375Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-17T09:51:05.576Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-17T09:51:05.581Z] $ docker exec c7552a4ad5d29fc16bd268085f940d1dcece3b7ce9f40d735513bdc7b01d32f0 ssh-agent [2020-06-17T09:51:05.811Z] SSH_AUTH_SOCK=/tmp/ssh-vvcbvltII6kP/agent.12 [2020-06-17T09:51:05.811Z] SSH_AGENT_PID=17 [2020-06-17T09:51:05.818Z] Running ssh-add (command line suppressed) [2020-06-17T09:51:05.949Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_4119319400932822559.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_4119319400932822559.key) [2020-06-17T09:51:06.002Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-17T09:51:06.306Z] + git semver push [2020-06-17T09:51:06.306Z] # -> Open(): unable to determine branch for HEAD [2020-06-17T09:51:06.306Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2020-06-17T09:51:06.306Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2020-06-17T09:51:06.306Z] # $SEMVER_REMOTE_NAME = origin [2020-06-17T09:51:06.306Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-06-17T09:51:06.306Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-06-17T09:51:06.306Z] # $SEMVER_BRANCH = master [2020-06-17T09:51:06.306Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [Pipeline] } [2020-06-17T09:51:14.453Z] $ docker exec --env ******** --env ******** c7552a4ad5d29fc16bd268085f940d1dcece3b7ce9f40d735513bdc7b01d32f0 ssh-agent -k [2020-06-17T09:51:14.578Z] unset SSH_AUTH_SOCK; [2020-06-17T09:51:14.578Z] unset SSH_AGENT_PID; [2020-06-17T09:51:14.578Z] echo Agent pid 17 killed; [2020-06-17T09:51:14.629Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-06-17T09:51:14.987Z] + git semver [Pipeline] } [2020-06-17T09:51:15.013Z] $ docker stop --time=1 c7552a4ad5d29fc16bd268085f940d1dcece3b7ce9f40d735513bdc7b01d32f0 [2020-06-17T09:51:16.426Z] $ docker rm -f c7552a4ad5d29fc16bd268085f940d1dcece3b7ce9f40d735513bdc7b01d32f0 [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-06-17T09:51:17.065Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-17T09:51:17.621Z] ---> package-listing.sh [2020-06-17T09:51:17.621Z] ++ facter osfamily [2020-06-17T09:51:17.621Z] ++ tr '[:upper:]' '[:lower:]' [2020-06-17T09:51:17.621Z] + OS_FAMILY=redhat [2020-06-17T09:51:17.621Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_master [2020-06-17T09:51:17.621Z] + START_PACKAGES=/tmp/packages_start.txt [2020-06-17T09:51:17.621Z] + END_PACKAGES=/tmp/packages_end.txt [2020-06-17T09:51:17.621Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-06-17T09:51:17.621Z] + PACKAGES=/tmp/packages_start.txt [2020-06-17T09:51:17.621Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_master ']' [2020-06-17T09:51:17.621Z] + PACKAGES=/tmp/packages_end.txt [2020-06-17T09:51:17.621Z] + case "${OS_FAMILY}" in [2020-06-17T09:51:17.621Z] + rpm -qa [2020-06-17T09:51:17.621Z] + sort [2020-06-17T09:51:21.827Z] + '[' -f /tmp/packages_start.txt ']' [2020-06-17T09:51:21.827Z] + '[' -f /tmp/packages_end.txt ']' [2020-06-17T09:51:21.827Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-06-17T09:51:21.827Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_master ']' [2020-06-17T09:51:21.827Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_master/archives/ [2020-06-17T09:51:21.827Z] + 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-06-17T09:51:22.439Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-17T09:51:22.439Z] [2020-06-17T09:51:22.439Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-06-17T09:51:22.772Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-17T09:51:22.773Z] alpine: Pulling from edgex-lftools-log-publisher [2020-06-17T09:51:22.773Z] c9b1b535fdd9: Pulling fs layer [2020-06-17T09:51:22.773Z] 2cc5ad85d9ab: Pulling fs layer [2020-06-17T09:51:22.773Z] 756a868c4378: Pulling fs layer [2020-06-17T09:51:22.773Z] 444b2fc9a129: Pulling fs layer [2020-06-17T09:51:22.773Z] ea15f1150254: Pulling fs layer [2020-06-17T09:51:22.773Z] 41b27a9f41bf: Pulling fs layer [2020-06-17T09:51:22.773Z] 28c525ee5125: Pulling fs layer [2020-06-17T09:51:22.773Z] 094b1ea09ed8: Pulling fs layer [2020-06-17T09:51:22.773Z] 138eaada9080: Pulling fs layer [2020-06-17T09:51:22.773Z] 0622d0fa9048: Pulling fs layer [2020-06-17T09:51:22.773Z] 444b2fc9a129: Waiting [2020-06-17T09:51:22.773Z] ea15f1150254: Waiting [2020-06-17T09:51:22.773Z] 41b27a9f41bf: Waiting [2020-06-17T09:51:22.773Z] 138eaada9080: Waiting [2020-06-17T09:51:22.773Z] 28c525ee5125: Waiting [2020-06-17T09:51:22.773Z] 094b1ea09ed8: Waiting [2020-06-17T09:51:22.773Z] 2cc5ad85d9ab: Verifying Checksum [2020-06-17T09:51:22.773Z] 2cc5ad85d9ab: Download complete [2020-06-17T09:51:22.773Z] 444b2fc9a129: Verifying Checksum [2020-06-17T09:51:22.773Z] 444b2fc9a129: Download complete [2020-06-17T09:51:22.773Z] c9b1b535fdd9: Verifying Checksum [2020-06-17T09:51:22.773Z] ea15f1150254: Download complete [2020-06-17T09:51:22.773Z] 28c525ee5125: Verifying Checksum [2020-06-17T09:51:22.773Z] 28c525ee5125: Download complete [2020-06-17T09:51:23.038Z] 756a868c4378: Verifying Checksum [2020-06-17T09:51:23.038Z] 756a868c4378: Download complete [2020-06-17T09:51:23.312Z] 138eaada9080: Verifying Checksum [2020-06-17T09:51:23.312Z] 138eaada9080: Download complete [2020-06-17T09:51:23.312Z] c9b1b535fdd9: Pull complete [2020-06-17T09:51:23.312Z] 0622d0fa9048: Verifying Checksum [2020-06-17T09:51:23.312Z] 0622d0fa9048: Download complete [2020-06-17T09:51:23.312Z] 094b1ea09ed8: Verifying Checksum [2020-06-17T09:51:23.312Z] 094b1ea09ed8: Download complete [2020-06-17T09:51:23.578Z] 2cc5ad85d9ab: Pull complete [2020-06-17T09:51:23.839Z] 41b27a9f41bf: Verifying Checksum [2020-06-17T09:51:23.839Z] 41b27a9f41bf: Download complete [2020-06-17T09:51:24.783Z] 756a868c4378: Pull complete [2020-06-17T09:51:25.046Z] 444b2fc9a129: Pull complete [2020-06-17T09:51:25.309Z] ea15f1150254: Pull complete [2020-06-17T09:51:28.652Z] 41b27a9f41bf: Pull complete [2020-06-17T09:51:28.652Z] 28c525ee5125: Pull complete [2020-06-17T09:51:30.587Z] 094b1ea09ed8: Pull complete [2020-06-17T09:51:30.849Z] 138eaada9080: Pull complete [2020-06-17T09:51:31.112Z] 0622d0fa9048: Pull complete [2020-06-17T09:51:31.112Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-06-17T09:51:31.112Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-17T09:51:31.112Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-06-17T09:51:31.237Z] prd-centos7-docker-4c-2g-3327 does not seem to be running inside a container [2020-06-17T09:51:31.281Z] $ 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-06-17T09:51:34.615Z] $ docker top facb4317dc40666e31933e3ac5db067ef5b5f6492aec0fe113b3c95d7cea1eeb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-06-17T09:51:34.823Z] provisioning config files... [2020-06-17T09:51:34.850Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config2429079160184120632tmp [Pipeline] { [Pipeline] echo [2020-06-17T09:51:34.879Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-17T09:51:35.174Z] ---> create-netrc.sh [Pipeline] echo [2020-06-17T09:51:35.183Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-17T09:51:35.475Z] ---> logs-deploy.sh [2020-06-17T09:51:35.475Z] + ARCHIVE_ARTIFACTS= [2020-06-17T09:51:35.475Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-06-17T09:51:35.475Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-06-17T09:51:35.475Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-06-17T09:51:35.475Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/master/27 [2020-06-17T09:51:35.475Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/master/27/ [2020-06-17T09:51:35.475Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/master/27 /w/workspace/edgexfoundry_device-sdk-c_master [2020-06-17T09:51:36.417Z] Archives upload complete. [2020-06-17T09:51:36.677Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/master/27 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/master/27/