Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 784285b3e5560c6aed2cdbdbbb8eed209f7721e1 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision a8d5489117fb74ecf2babedeac9793ec80335c77 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision a8d5489117fb74ecf2babedeac9793ec80335c77 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a8d5489117fb74ecf2babedeac9793ec80335c77 # timeout=10 Commit message: "Merge pull request #176 from soda480/US6232f" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-3.9-base, dockerFilePath:scripts/Dockerfile.alpine-3.9, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine-3.9 DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-3.9-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-c DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-7860 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 784285b3e5560c6aed2cdbdbbb8eed209f7721e1 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 784285b3e5560c6aed2cdbdbbb8eed209f7721e1 # timeout=10 Commit message: "Merge pull request #255 from iain-anderson/cmdline-update" > git rev-list --no-walk 716d0d1fd62b2b124fc0e75af12a8b27a6999d72 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-05-11T14:12:28.765Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-05-11T14:12:28.990Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-05-11T14:12:29.072Z] ========================================================= [2020-05-11T14:12:29.072Z] EdgeX Global Pipelines Version Info [2020-05-11T14:12:29.072Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-05-11T14:12:30.537Z] ------------------- [2020-05-11T14:12:30.537Z] stable info: [2020-05-11T14:12:30.537Z] ------------------- [2020-05-11T14:12:30.537Z] Commited By: Emilio Reyes emilio.reyes@intel.com [2020-05-11T14:12:30.537Z] Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d [2020-05-11T14:12:30.537Z] Message: update stable to v1.0.87 [2020-05-11T14:12:31.112Z] ------------------- [2020-05-11T14:12:31.112Z] experimental info: [2020-05-11T14:12:31.112Z] ------------------- [2020-05-11T14:12:31.112Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-05-11T14:12:31.112Z] Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d [2020-05-11T14:12:31.112Z] Message: update experimental to v1.0.87 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-05-11T14:12:33.168Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-05-11T14:12:33.168Z] [2020-05-11T14:12:33.168Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-05-11T14:12:33.514Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-05-11T14:12:33.514Z] latest: Pulling from edgex-devops/git-semver [2020-05-11T14:12:33.515Z] 9123ac7c32f7: Pulling fs layer [2020-05-11T14:12:33.515Z] b8cc5d1170e3: Pulling fs layer [2020-05-11T14:12:33.515Z] 2924cbbf6a41: Pulling fs layer [2020-05-11T14:12:33.515Z] 93b08a4f1073: Pulling fs layer [2020-05-11T14:12:33.515Z] 93b08a4f1073: Waiting [2020-05-11T14:12:33.515Z] b8cc5d1170e3: Verifying Checksum [2020-05-11T14:12:33.515Z] b8cc5d1170e3: Download complete [2020-05-11T14:12:33.778Z] 9123ac7c32f7: Verifying Checksum [2020-05-11T14:12:33.778Z] 9123ac7c32f7: Download complete [2020-05-11T14:12:33.778Z] 93b08a4f1073: Verifying Checksum [2020-05-11T14:12:33.778Z] 93b08a4f1073: Download complete [2020-05-11T14:12:33.778Z] 2924cbbf6a41: Verifying Checksum [2020-05-11T14:12:33.778Z] 2924cbbf6a41: Download complete [2020-05-11T14:12:34.038Z] 9123ac7c32f7: Pull complete [2020-05-11T14:12:34.038Z] b8cc5d1170e3: Pull complete [2020-05-11T14:12:34.992Z] 2924cbbf6a41: Pull complete [2020-05-11T14:12:35.251Z] 93b08a4f1073: Pull complete [2020-05-11T14:12:35.251Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-05-11T14:12:35.251Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-05-11T14:12:35.380Z] prd-centos7-docker-4c-2g-7860 does not seem to be running inside a container [2020-05-11T14:12:35.446Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-05-11T14:12:36.157Z] $ docker top 14fdc0a0c41433768b5357de6daf31859728ea87bdbfddc720873eeebe030fb4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-05-11T14:12:36.562Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-05-11T14:12:36.562Z] [ssh-agent] Looking for ssh-agent implementation... [2020-05-11T14:12:36.850Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-05-11T14:12:36.852Z] $ docker exec 14fdc0a0c41433768b5357de6daf31859728ea87bdbfddc720873eeebe030fb4 ssh-agent [2020-05-11T14:12:37.082Z] SSH_AUTH_SOCK=/tmp/ssh-3mTXxvutQjnn/agent.15 [2020-05-11T14:12:37.082Z] SSH_AGENT_PID=21 [2020-05-11T14:12:37.093Z] Running ssh-add (command line suppressed) [2020-05-11T14:12:37.260Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_1312967098949106823.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_1312967098949106823.key) [2020-05-11T14:12:37.319Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-05-11T14:12:37.719Z] + git describe --exact-match --tags HEAD [2020-05-11T14:12:37.719Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-05-11T14:12:37.784Z] $ docker exec --env ******** --env ******** 14fdc0a0c41433768b5357de6daf31859728ea87bdbfddc720873eeebe030fb4 ssh-agent -k [2020-05-11T14:12:37.936Z] unset SSH_AUTH_SOCK; [2020-05-11T14:12:37.937Z] unset SSH_AGENT_PID; [2020-05-11T14:12:37.937Z] echo Agent pid 21 killed; [2020-05-11T14:12:37.994Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-05-11T14:12:38.060Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-05-11T14:12:38.060Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-05-11T14:12:38.152Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-05-11T14:12:38.152Z] [ssh-agent] Looking for ssh-agent implementation... [2020-05-11T14:12:38.415Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-05-11T14:12:38.418Z] $ docker exec 14fdc0a0c41433768b5357de6daf31859728ea87bdbfddc720873eeebe030fb4 ssh-agent [2020-05-11T14:12:38.702Z] SSH_AUTH_SOCK=/tmp/ssh-pYIQfQVFCmTg/agent.57 [2020-05-11T14:12:38.702Z] SSH_AGENT_PID=64 [2020-05-11T14:12:38.712Z] Running ssh-add (command line suppressed) [2020-05-11T14:12:38.879Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_4059952361823355540.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_4059952361823355540.key) [2020-05-11T14:12:38.948Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-05-11T14:12:39.312Z] + git semver init [2020-05-11T14:12:39.312Z] # -> Open(): unable to determine branch for HEAD [2020-05-11T14:12:39.312Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2020-05-11T14:12:39.312Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2020-05-11T14:12:39.312Z] # $SEMVER_REMOTE_NAME = origin [2020-05-11T14:12:39.312Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-05-11T14:12:39.312Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-05-11T14:12:39.312Z] # $SEMVER_BRANCH = master [2020-05-11T14:12:39.312Z] # $SEMVER_TEMP = /tmp/semver-359513542 [2020-05-11T14:12:39.312Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2020-05-11T14:12:39.882Z] # '/tmp/semver-359513542' -> '/w/workspace/edgexfoundry_device-sdk-c_master/.semver' [2020-05-11T14:12:39.882Z] # -> Force: false [2020-05-11T14:12:39.882Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [Pipeline] } [2020-05-11T14:12:39.890Z] $ docker exec --env ******** --env ******** 14fdc0a0c41433768b5357de6daf31859728ea87bdbfddc720873eeebe030fb4 ssh-agent -k [2020-05-11T14:12:40.055Z] unset SSH_AUTH_SOCK; [2020-05-11T14:12:40.055Z] unset SSH_AGENT_PID; [2020-05-11T14:12:40.055Z] echo Agent pid 64 killed; [2020-05-11T14:12:40.117Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-05-11T14:12:40.559Z] + git semver [Pipeline] } [2020-05-11T14:12:40.573Z] $ docker stop --time=1 14fdc0a0c41433768b5357de6daf31859728ea87bdbfddc720873eeebe030fb4 [2020-05-11T14:12:41.990Z] $ docker rm -f 14fdc0a0c41433768b5357de6daf31859728ea87bdbfddc720873eeebe030fb4 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-05-11T14:12:42.899Z] Stashed 39 file(s) [Pipeline] echo [2020-05-11T14:12:42.901Z] [edgeXSemver] initialized semver on version 1.2.1-dev.1 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-05-11T14:12:58.150Z] Still waiting to schedule task [2020-05-11T14:12:58.150Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-05-11T14:12:58.151Z] Still waiting to schedule task [2020-05-11T14:12:58.151Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-7858’ is offline [2020-05-11T14:14:25.847Z] Running on prd-centos7-docker-4c-2g-7862 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] ws [2020-05-11T14:14:25.904Z] Running in /w/workspace/device-sdk-c/19 [Pipeline] { [Pipeline] checkout [2020-05-11T14:14:28.132Z] using credential edgex-jenkins-ssh [2020-05-11T14:14:28.177Z] Cloning the remote Git repository [2020-05-11T14:14:28.178Z] Cloning with configured refspecs honoured and without tags [2020-05-11T14:14:28.285Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-05-11T14:14:28.325Z] > git init /w/workspace/device-sdk-c/19 # timeout=10 [2020-05-11T14:14:28.361Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-05-11T14:14:28.361Z] > git --version # timeout=10 [2020-05-11T14:14:28.369Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-11T14:14:28.392Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-11T14:14:28.943Z] Fetching without tags [2020-05-11T14:14:29.345Z] Checking out Revision 784285b3e5560c6aed2cdbdbbb8eed209f7721e1 (master) [2020-05-11T14:14:28.927Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-05-11T14:14:28.933Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-11T14:14:28.951Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-05-11T14:14:28.961Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-05-11T14:14:28.961Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-11T14:14:28.966Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-11T14:14:29.352Z] > git config core.sparsecheckout # timeout=10 [2020-05-11T14:14:29.357Z] > git checkout -f 784285b3e5560c6aed2cdbdbbb8eed209f7721e1 # timeout=10 [2020-05-11T14:14:33.952Z] Commit message: "Merge pull request #255 from iain-anderson/cmdline-update" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-05-11T14:14:34.903Z] ========================================================= [2020-05-11T14:14:34.903Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2020-05-11T14:14:34.903Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-05-11T14:14:35.548Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-3.9-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2020-05-11T14:14:35.814Z] Sending build context to Docker daemon 3.088MB [2020-05-11T14:14:35.814Z] Step 1/21 : ARG BASE=alpine:3.9 [2020-05-11T14:14:35.814Z] Step 2/21 : FROM ${BASE} as builder [2020-05-11T14:14:35.814Z] latest: Pulling from edgex-devops/edgex-gcc-base [2020-05-11T14:14:35.814Z] e7c96db7181b: Pulling fs layer [2020-05-11T14:14:35.814Z] 4c13bbce0fe7: Pulling fs layer [2020-05-11T14:14:35.814Z] 6059c847ac2f: Pulling fs layer [2020-05-11T14:14:35.814Z] 4c13bbce0fe7: Verifying Checksum [2020-05-11T14:14:35.814Z] 4c13bbce0fe7: Download complete [2020-05-11T14:14:36.075Z] e7c96db7181b: Verifying Checksum [2020-05-11T14:14:36.075Z] e7c96db7181b: Download complete [2020-05-11T14:14:36.335Z] e7c96db7181b: Pull complete [2020-05-11T14:14:36.335Z] 4c13bbce0fe7: Pull complete [2020-05-11T14:14:37.274Z] 6059c847ac2f: Download complete [2020-05-11T14:14:41.484Z] 6059c847ac2f: Pull complete [2020-05-11T14:14:41.484Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2020-05-11T14:14:41.484Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2020-05-11T14:14:41.484Z] ---> 5eabd8fd8ba2 [2020-05-11T14:14:41.484Z] Step 3/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev [2020-05-11T14:14:41.484Z] ---> Running in 5468932c76f1 [2020-05-11T14:14:41.484Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-05-11T14:14:46.501Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-7861 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] ws [2020-05-11T14:14:46.570Z] Running in /w/workspace/device-sdk-c/19 [Pipeline] { [Pipeline] checkout [2020-05-11T14:14:46.757Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-05-11T14:14:50.043Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-05-11T14:14:50.043Z] (2/8) Installing libuuid (2.33-r0) [2020-05-11T14:14:50.043Z] (3/8) Installing libblkid (2.33-r0) [2020-05-11T14:14:50.611Z] (4/8) Installing libfdisk (2.33-r0) [2020-05-11T14:14:51.546Z] (5/8) Installing libmount (2.33-r0) [2020-05-11T14:14:51.673Z] using credential edgex-jenkins-ssh [2020-05-11T14:14:51.732Z] Cloning the remote Git repository [2020-05-11T14:14:51.732Z] Cloning with configured refspecs honoured and without tags [2020-05-11T14:14:52.483Z] (6/8) Installing libsmartcols (2.33-r0) [2020-05-11T14:14:51.768Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-05-11T14:14:51.839Z] > git init /w/workspace/device-sdk-c/19 # timeout=10 [2020-05-11T14:14:51.901Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-05-11T14:14:51.902Z] > git --version # timeout=10 [2020-05-11T14:14:51.929Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-11T14:14:52.026Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-11T14:14:53.043Z] Fetching without tags [2020-05-11T14:14:53.051Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-05-11T14:14:53.500Z] Checking out Revision 784285b3e5560c6aed2cdbdbbb8eed209f7721e1 (master) [2020-05-11T14:14:52.915Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-05-11T14:14:52.975Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-11T14:14:53.002Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-05-11T14:14:53.043Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-05-11T14:14:53.043Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-11T14:14:53.063Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-11T14:14:53.510Z] > git config core.sparsecheckout # timeout=10 [2020-05-11T14:14:53.543Z] > git checkout -f 784285b3e5560c6aed2cdbdbbb8eed209f7721e1 # timeout=10 [2020-05-11T14:14:56.342Z] (8/8) Installing wget (1.20.3-r0) [2020-05-11T14:14:57.719Z] Executing busybox-1.29.3-r10.trigger [2020-05-11T14:14:57.719Z] OK: 272 MiB in 83 packages [2020-05-11T14:14:57.978Z] Removing intermediate container 5468932c76f1 [2020-05-11T14:14:57.978Z] ---> 1584c6f05491 [2020-05-11T14:14:57.978Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-05-11T14:14:57.978Z] ---> Running in 338c6423e3e2 [2020-05-11T14:14:57.978Z] Removing intermediate container 338c6423e3e2 [2020-05-11T14:14:57.978Z] ---> 797b7829195e [2020-05-11T14:14:57.978Z] Step 5/21 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2020-05-11T14:14:58.107Z] Commit message: "Merge pull request #255 from iain-anderson/cmdline-update" [2020-05-11T14:14:58.241Z] ---> Running in 7dbb8f0bb7ea [Pipeline] withEnv [Pipeline] { [2020-05-11T14:14:58.500Z] --2020-05-11 14:14:58-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-05-11T14:14:58.500Z] Resolving github.com... 140.82.114.4 [2020-05-11T14:14:58.500Z] Connecting to github.com|140.82.114.4|:443... connected. [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-05-11T14:14:58.759Z] HTTP request sent, awaiting response... 302 Found [2020-05-11T14:14:58.759Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-05-11T14:14:58.759Z] --2020-05-11 14:14:58-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-05-11T14:14:58.759Z] Resolving codeload.github.com... 140.82.114.9 [2020-05-11T14:14:58.759Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2020-05-11T14:14:58.759Z] HTTP request sent, awaiting response... 200 OK [2020-05-11T14:14:58.759Z] Length: unspecified [application/x-gzip] [2020-05-11T14:14:58.759Z] Saving to: 'STDOUT' [2020-05-11T14:14:58.759Z] [2020-05-11T14:14:58.759Z] 0K .......... .......... .......... .......... .......... 1.33M [2020-05-11T14:14:59.019Z] 50K .......... .......... .......... .......... .......... 2.68M [2020-05-11T14:14:59.019Z] 100K .......... .......... .......... .......... .......... 38.2M [2020-05-11T14:14:59.019Z] 150K .......... .......... .......... .......... .......... 2.90M [2020-05-11T14:14:59.019Z] 200K .......... .......... .......... .......... .......... 34.8M [2020-05-11T14:14:59.019Z] 250K .......... .......... .......... .......... .......... 10.0M [2020-05-11T14:14:59.019Z] 300K .......... .......... .......... .......... .......... 9.95M [2020-05-11T14:14:59.019Z] 350K .......... .......... .......... .......... .......... 6.26M [2020-05-11T14:14:59.019Z] 400K .......... .......... .......... .......... .......... 33.4M [2020-05-11T14:14:59.019Z] 450K .......... .......... .......... .......... .......... 8.65M [2020-05-11T14:14:59.019Z] 500K .......... .......... .......... .......... .......... 2.84M [2020-05-11T14:14:59.019Z] 550K .......... .......... .......... .......... .......... 131M [2020-05-11T14:14:59.019Z] 600K .......... .......... .......... .......... .......... 1.81M [2020-05-11T14:14:59.019Z] 650K .......... .......... .......... .......... .......... 6.48M [2020-05-11T14:14:59.019Z] 700K .. 4746G=0.2s [2020-05-11T14:14:59.019Z] [2020-05-11T14:14:59.019Z] 2020-05-11 14:14:58 (4.53 MB/s) - written to stdout [719348] [2020-05-11T14:14:59.019Z] [2020-05-11T14:14:59.019Z] -- The C compiler identification is GNU 8.3.0 [Pipeline] echo [2020-05-11T14:14:59.132Z] ========================================================= [2020-05-11T14:14:59.132Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2020-05-11T14:14:59.132Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-05-11T14:14:59.279Z] -- The CXX compiler identification is GNU 8.3.0 [2020-05-11T14:14:59.279Z] -- Check for working C compiler: /usr/bin/cc [2020-05-11T14:14:59.279Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-05-11T14:14:59.279Z] -- Detecting C compiler ABI info [2020-05-11T14:14:59.280Z] -- Detecting C compiler ABI info - done [2020-05-11T14:14:59.280Z] -- Detecting C compile features [2020-05-11T14:14:59.540Z] -- Detecting C compile features - done [2020-05-11T14:14:59.540Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-05-11T14:14:59.540Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-05-11T14:14:59.540Z] -- Detecting CXX compiler ABI info [2020-05-11T14:14:59.800Z] -- Detecting CXX compiler ABI info - done [2020-05-11T14:14:59.800Z] -- Detecting CXX compile features [2020-05-11T14:15:00.060Z] -- Detecting CXX compile features - done [2020-05-11T14:15:00.153Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-3.9-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2020-05-11T14:15:00.319Z] -- Looking for include file endian.h [2020-05-11T14:15:00.319Z] -- Looking for include file endian.h - found [2020-05-11T14:15:00.319Z] -- Check if the system is big endian [2020-05-11T14:15:00.319Z] -- Searching 16 bit integer [2020-05-11T14:15:00.319Z] -- Looking for sys/types.h [2020-05-11T14:15:00.319Z] -- Looking for sys/types.h - found [2020-05-11T14:15:00.319Z] -- Looking for stdint.h [2020-05-11T14:15:00.319Z] -- Looking for stdint.h - found [2020-05-11T14:15:00.319Z] -- Looking for stddef.h [2020-05-11T14:15:00.579Z] -- Looking for stddef.h - found [2020-05-11T14:15:00.579Z] -- Check size of unsigned short [2020-05-11T14:15:00.579Z] -- Check size of unsigned short - done [2020-05-11T14:15:00.579Z] -- Using unsigned short [2020-05-11T14:15:00.579Z] -- Check if the system is big endian - little endian [2020-05-11T14:15:00.579Z] -- Check size of size_t [2020-05-11T14:15:00.838Z] -- Check size of size_t - done [2020-05-11T14:15:00.838Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-05-11T14:15:00.838Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-05-11T14:15:00.838Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-05-11T14:15:00.838Z] CMake did not find one. [2020-05-11T14:15:00.838Z] [2020-05-11T14:15:00.838Z] Could not find a package configuration file provided by "cJSON" with any of [2020-05-11T14:15:00.838Z] the following names: [2020-05-11T14:15:00.838Z] [2020-05-11T14:15:00.838Z] cJSONConfig.cmake [2020-05-11T14:15:00.838Z] cjson-config.cmake [2020-05-11T14:15:00.838Z] [2020-05-11T14:15:00.838Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-05-11T14:15:00.838Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-05-11T14:15:00.838Z] provides a separate development package or SDK, be sure it has been [2020-05-11T14:15:00.838Z] installed. [2020-05-11T14:15:00.838Z] [2020-05-11T14:15:00.838Z] [2020-05-11T14:15:00.838Z] -- Configuring done [2020-05-11T14:15:00.838Z] -- Generating done [2020-05-11T14:15:00.838Z] -- Build files have been written to: /tmp/cbor [2020-05-11T14:15:00.838Z] Scanning dependencies of target cbor_shared [2020-05-11T14:15:00.838Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-05-11T14:15:01.098Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-05-11T14:15:01.098Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-05-11T14:15:01.133Z] Sending build context to Docker daemon 3.087MB [2020-05-11T14:15:01.133Z] Step 1/21 : ARG BASE=alpine:3.9 [2020-05-11T14:15:01.133Z] Step 2/21 : FROM ${BASE} as builder [2020-05-11T14:15:01.356Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-05-11T14:15:01.357Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-05-11T14:15:01.407Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2020-05-11T14:15:01.407Z] 0362ad1dd800: Pulling fs layer [2020-05-11T14:15:01.407Z] f2cdb1532d8b: Pulling fs layer [2020-05-11T14:15:01.407Z] 37ed683be191: Pulling fs layer [2020-05-11T14:15:01.407Z] f2cdb1532d8b: Download complete [2020-05-11T14:15:01.620Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-05-11T14:15:01.620Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-05-11T14:15:01.620Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-05-11T14:15:01.620Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-05-11T14:15:01.678Z] 0362ad1dd800: Verifying Checksum [2020-05-11T14:15:01.678Z] 0362ad1dd800: Download complete [2020-05-11T14:15:01.880Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-05-11T14:15:01.880Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-05-11T14:15:01.880Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-05-11T14:15:02.139Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-05-11T14:15:02.139Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-05-11T14:15:02.139Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-05-11T14:15:02.399Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-05-11T14:15:02.399Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-05-11T14:15:02.399Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-05-11T14:15:02.399Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-05-11T14:15:02.648Z] 0362ad1dd800: Pull complete [2020-05-11T14:15:02.660Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-05-11T14:15:02.660Z] [ 40%] Linking C shared library libcbor.so [2020-05-11T14:15:02.660Z] [ 40%] Built target cbor_shared [2020-05-11T14:15:02.660Z] Scanning dependencies of target cbor [2020-05-11T14:15:02.660Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-05-11T14:15:02.914Z] f2cdb1532d8b: Pull complete [2020-05-11T14:15:02.919Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-05-11T14:15:02.919Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-05-11T14:15:03.179Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-05-11T14:15:03.439Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-05-11T14:15:03.439Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-05-11T14:15:03.439Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-05-11T14:15:03.439Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-05-11T14:15:03.698Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-05-11T14:15:03.698Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-05-11T14:15:03.958Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-05-11T14:15:03.958Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-05-11T14:15:03.958Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-05-11T14:15:04.218Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-05-11T14:15:04.218Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-05-11T14:15:04.218Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-05-11T14:15:04.478Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-05-11T14:15:04.478Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-05-11T14:15:04.478Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-05-11T14:15:04.478Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-05-11T14:15:04.737Z] [ 80%] Linking C static library libcbor.a [2020-05-11T14:15:04.737Z] [ 80%] Built target cbor [2020-05-11T14:15:04.737Z] Scanning dependencies of target create_items [2020-05-11T14:15:04.737Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-05-11T14:15:04.737Z] [ 84%] Linking C executable create_items [2020-05-11T14:15:04.737Z] [ 84%] Built target create_items [2020-05-11T14:15:04.737Z] Scanning dependencies of target readfile [2020-05-11T14:15:04.737Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-05-11T14:15:04.737Z] [ 88%] Linking C executable readfile [2020-05-11T14:15:04.737Z] [ 88%] Built target readfile [2020-05-11T14:15:04.999Z] Scanning dependencies of target streaming_parser [2020-05-11T14:15:04.999Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-05-11T14:15:04.999Z] [ 92%] Linking C executable streaming_parser [2020-05-11T14:15:04.999Z] [ 92%] Built target streaming_parser [2020-05-11T14:15:04.999Z] Scanning dependencies of target sort [2020-05-11T14:15:04.999Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-05-11T14:15:04.999Z] [ 96%] Linking C executable sort [2020-05-11T14:15:04.999Z] [ 96%] Built target sort [2020-05-11T14:15:04.999Z] Scanning dependencies of target hello [2020-05-11T14:15:04.999Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-05-11T14:15:05.258Z] [100%] Linking C executable hello [2020-05-11T14:15:05.258Z] [100%] Built target hello [2020-05-11T14:15:05.258Z] Install the project... [2020-05-11T14:15:05.258Z] -- Install configuration: "Release" [2020-05-11T14:15:05.258Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-05-11T14:15:05.258Z] -- Installing: /usr/local/lib64/libcbor.a [2020-05-11T14:15:05.258Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-05-11T14:15:05.258Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-05-11T14:15:05.258Z] -- Installing: /usr/local/lib64/libcbor.so [2020-05-11T14:15:05.258Z] -- Up-to-date: /usr/local/include/cbor [2020-05-11T14:15:05.258Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-05-11T14:15:05.258Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-05-11T14:15:05.258Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-05-11T14:15:05.258Z] -- Installing: /usr/local/include/cbor/common.h [2020-05-11T14:15:05.258Z] -- Installing: /usr/local/include/cbor/data.h [2020-05-11T14:15:05.258Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-05-11T14:15:05.258Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-05-11T14:15:05.258Z] -- Installing: /usr/local/include/cbor/internal [2020-05-11T14:15:05.258Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-05-11T14:15:05.258Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-05-11T14:15:05.258Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-05-11T14:15:05.258Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-05-11T14:15:05.258Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-05-11T14:15:05.258Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-05-11T14:15:05.258Z] -- Installing: /usr/local/include/cbor/ints.h [2020-05-11T14:15:05.258Z] -- Installing: /usr/local/include/cbor/maps.h [2020-05-11T14:15:05.258Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-05-11T14:15:05.258Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-05-11T14:15:05.258Z] -- Installing: /usr/local/include/cbor/strings.h [2020-05-11T14:15:05.258Z] -- Installing: /usr/local/include/cbor/tags.h [2020-05-11T14:15:05.258Z] -- Installing: /usr/local/include/cbor.h [2020-05-11T14:15:05.258Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-05-11T14:15:05.827Z] Removing intermediate container 7dbb8f0bb7ea [2020-05-11T14:15:05.827Z] ---> 83646b2bec61 [2020-05-11T14:15:05.827Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-05-11T14:15:05.827Z] ---> Running in 26fe7e03c56d [2020-05-11T14:15:06.405Z] Removing intermediate container 26fe7e03c56d [2020-05-11T14:15:06.405Z] ---> 7b3fca19baa6 [2020-05-11T14:15:06.405Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-05-11T14:15:06.664Z] ---> 2ba431705524 [2020-05-11T14:15:06.664Z] Step 8/21 : COPY src /tmp/sdk/src [2020-05-11T14:15:06.923Z] ---> 70c94c99f4a2 [2020-05-11T14:15:06.923Z] Step 9/21 : COPY include /tmp/sdk/include [2020-05-11T14:15:07.182Z] ---> bf001ed5bcdf [2020-05-11T14:15:07.182Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-05-11T14:15:07.182Z] ---> f5a1c2774822 [2020-05-11T14:15:07.182Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-05-11T14:15:07.442Z] ---> 027b77bfc99a [2020-05-11T14:15:07.442Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-05-11T14:15:07.703Z] ---> e7be9b38d2cb [2020-05-11T14:15:07.703Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-05-11T14:15:07.703Z] ---> Running in 5a36f2254a5e [2020-05-11T14:15:07.967Z] + CPPCHECK=false [2020-05-11T14:15:07.967Z] + DOCGEN=false [2020-05-11T14:15:07.967Z] + TOMLVER=SDK-0.2 [2020-05-11T14:15:07.967Z] + CUTILVER=1.0.4 [2020-05-11T14:15:07.967Z] + '[' 0 -gt 0 ] [2020-05-11T14:15:07.967Z] + readlink -f ./scripts/build.sh [2020-05-11T14:15:07.967Z] + dirname /tmp/sdk/scripts/build.sh [2020-05-11T14:15:07.967Z] + dirname /tmp/sdk/scripts [2020-05-11T14:15:07.967Z] + ROOT=/tmp/sdk [2020-05-11T14:15:07.967Z] + cd /tmp/sdk [2020-05-11T14:15:07.967Z] + '[' '!' -d deps ] [2020-05-11T14:15:07.967Z] + mkdir deps [2020-05-11T14:15:07.967Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-05-11T14:15:07.967Z] + tar -C deps -z -x -f - [2020-05-11T14:15:07.967Z] --2020-05-11 14:15:07-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-05-11T14:15:07.967Z] Resolving github.com... 140.82.114.4 [2020-05-11T14:15:08.226Z] Connecting to github.com|140.82.114.4|:443... connected. [2020-05-11T14:15:08.226Z] HTTP request sent, awaiting response... 302 Found [2020-05-11T14:15:08.226Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-05-11T14:15:08.226Z] --2020-05-11 14:15:08-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-05-11T14:15:08.226Z] Resolving codeload.github.com... 140.82.114.9 [2020-05-11T14:15:08.226Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2020-05-11T14:15:08.485Z] HTTP request sent, awaiting response... 200 OK [2020-05-11T14:15:08.485Z] Length: unspecified [application/x-gzip] [2020-05-11T14:15:08.485Z] Saving to: 'STDOUT' [2020-05-11T14:15:08.485Z] [2020-05-11T14:15:08.485Z] 0K .......... ......  1020K=0.02s [2020-05-11T14:15:08.485Z] [2020-05-11T14:15:08.485Z] 2020-05-11 14:15:08 (1020 KB/s) - written to stdout [16451] [2020-05-11T14:15:08.485Z] [2020-05-11T14:15:08.485Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-05-11T14:15:08.485Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-05-11T14:15:08.485Z] + tar -C deps -z -x -f - [2020-05-11T14:15:08.485Z] --2020-05-11 14:15:08-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-05-11T14:15:08.485Z] Resolving github.com... 140.82.114.4 [2020-05-11T14:15:08.485Z] Connecting to github.com|140.82.114.4|:443... connected. [2020-05-11T14:15:08.745Z] HTTP request sent, awaiting response... 302 Found [2020-05-11T14:15:08.745Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] [2020-05-11T14:15:08.745Z] --2020-05-11 14:15:08-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [2020-05-11T14:15:08.745Z] Resolving codeload.github.com... 140.82.114.9 [2020-05-11T14:15:08.745Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2020-05-11T14:15:09.004Z] HTTP request sent, awaiting response... 200 OK [2020-05-11T14:15:09.004Z] Length: unspecified [application/x-gzip] [2020-05-11T14:15:09.004Z] Saving to: 'STDOUT' [2020-05-11T14:15:09.004Z]  [2020-05-11T14:15:09.004Z] 0K .......... .......... .......... .......... .......... 1.61M [2020-05-11T14:15:09.004Z] 50K .......... .......... .......... .......... .......... 3.18M [2020-05-11T14:15:09.004Z] 100K .......... .......... .......... .......... .......... 15.9M [2020-05-11T14:15:09.004Z] 150K ........ 26.1M=0.05s [2020-05-11T14:15:09.004Z] [2020-05-11T14:15:09.004Z] 2020-05-11 14:15:08 (3.15 MB/s) - written to stdout [162267] [2020-05-11T14:15:09.004Z] [2020-05-11T14:15:09.004Z] + mkdir -p src/c/iot [2020-05-11T14:15:09.004Z] + cp deps/iotech-c-utils-1.0.4/src/c/base64.c deps/iotech-c-utils-1.0.4/src/c/component.c deps/iotech-c-utils-1.0.4/src/c/container.c deps/iotech-c-utils-1.0.4/src/c/data.c deps/iotech-c-utils-1.0.4/src/c/hash.c deps/iotech-c-utils-1.0.4/src/c/iot.c deps/iotech-c-utils-1.0.4/src/c/json.c deps/iotech-c-utils-1.0.4/src/c/logger.c deps/iotech-c-utils-1.0.4/src/c/os.c deps/iotech-c-utils-1.0.4/src/c/scheduler.c deps/iotech-c-utils-1.0.4/src/c/thread.c deps/iotech-c-utils-1.0.4/src/c/threadpool.c deps/iotech-c-utils-1.0.4/src/c/time.c src/c/iot [2020-05-11T14:15:09.004Z] + mkdir -p include/iot [2020-05-11T14:15:09.004Z] + cp deps/iotech-c-utils-1.0.4/include/iot/base64.h deps/iotech-c-utils-1.0.4/include/iot/component.h deps/iotech-c-utils-1.0.4/include/iot/container.h deps/iotech-c-utils-1.0.4/include/iot/data.h deps/iotech-c-utils-1.0.4/include/iot/hash.h deps/iotech-c-utils-1.0.4/include/iot/iot.h deps/iotech-c-utils-1.0.4/include/iot/json.h deps/iotech-c-utils-1.0.4/include/iot/logger.h deps/iotech-c-utils-1.0.4/include/iot/os.h deps/iotech-c-utils-1.0.4/include/iot/scheduler.h deps/iotech-c-utils-1.0.4/include/iot/thread.h deps/iotech-c-utils-1.0.4/include/iot/threadpool.h deps/iotech-c-utils-1.0.4/include/iot/time.h deps/iotech-c-utils-1.0.4/include/iot/typecode.h include/iot [2020-05-11T14:15:09.004Z] + mkdir -p include/iot/os [2020-05-11T14:15:09.004Z] + cp deps/iotech-c-utils-1.0.4/include/iot/os/linux.h deps/iotech-c-utils-1.0.4/include/iot/os/zephyr.h include/iot/os [2020-05-11T14:15:09.004Z] + mkdir -p /tmp/sdk/build/release [2020-05-11T14:15:09.004Z] + cd /tmp/sdk/build/release [2020-05-11T14:15:09.004Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-05-11T14:15:09.004Z] -- The C compiler identification is GNU 8.3.0 [2020-05-11T14:15:09.004Z] -- Check for working C compiler: /usr/bin/cc [2020-05-11T14:15:09.263Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-05-11T14:15:09.263Z] -- Detecting C compiler ABI info [2020-05-11T14:15:09.263Z] -- Detecting C compiler ABI info - done [2020-05-11T14:15:09.263Z] -- Detecting C compile features [2020-05-11T14:15:09.522Z] -- Detecting C compile features - done [2020-05-11T14:15:09.522Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-05-11T14:15:09.522Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-05-11T14:15:09.522Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-05-11T14:15:09.522Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-05-11T14:15:09.522Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-05-11T14:15:09.522Z] -- C SDK 1.2.1-dev.1 for Linux [2020-05-11T14:15:09.522Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-05-11T14:15:09.522Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-05-11T14:15:09.522Z] -- Found Curses: /usr/lib/libcurses.so [2020-05-11T14:15:09.522Z] -- Configuring done [2020-05-11T14:15:09.585Z] 37ed683be191: Verifying Checksum [2020-05-11T14:15:09.585Z] 37ed683be191: Download complete [2020-05-11T14:15:09.781Z] -- Generating done [2020-05-11T14:15:09.781Z] -- Build files have been written to: /tmp/sdk/build/release [2020-05-11T14:15:09.781Z] + make [2020-05-11T14:15:09.781Z] + tee release.log [2020-05-11T14:15:09.781Z] Scanning dependencies of target csdk [2020-05-11T14:15:09.781Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-05-11T14:15:10.040Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-05-11T14:15:10.040Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-05-11T14:15:10.610Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-05-11T14:15:10.610Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-05-11T14:15:10.610Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-05-11T14:15:10.870Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-05-11T14:15:11.439Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-05-11T14:15:11.439Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-05-11T14:15:11.699Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-05-11T14:15:11.699Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-05-11T14:15:11.958Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-05-11T14:15:11.959Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-05-11T14:15:11.959Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-05-11T14:15:12.915Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-05-11T14:15:12.915Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-05-11T14:15:12.915Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-05-11T14:15:13.175Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-05-11T14:15:13.743Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-05-11T14:15:13.743Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-05-11T14:15:13.743Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-05-11T14:15:14.002Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-05-11T14:15:14.002Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-05-11T14:15:14.002Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-05-11T14:15:14.263Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-05-11T14:15:14.522Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-05-11T14:15:14.522Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-05-11T14:15:14.522Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-05-11T14:15:14.781Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-05-11T14:15:15.040Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-05-11T14:15:15.040Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-05-11T14:15:16.419Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-05-11T14:15:16.419Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-05-11T14:15:16.419Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-05-11T14:15:16.419Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-05-11T14:15:17.027Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-05-11T14:15:17.293Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-05-11T14:15:18.237Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-05-11T14:15:18.237Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-05-11T14:15:18.807Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-05-11T14:15:18.807Z] [ 65%] Linking C shared library libcsdk.so [2020-05-11T14:15:18.807Z] [ 65%] Built target csdk [2020-05-11T14:15:18.807Z] Scanning dependencies of target template [2020-05-11T14:15:18.807Z] [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-05-11T14:15:19.071Z] [ 68%] Linking C executable template [2020-05-11T14:15:19.071Z] [ 68%] Built target template [2020-05-11T14:15:19.071Z] Scanning dependencies of target device-counter [2020-05-11T14:15:19.071Z] [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-05-11T14:15:19.071Z] [ 71%] Linking C executable device-counter [2020-05-11T14:15:19.331Z] [ 71%] Built target device-counter [2020-05-11T14:15:19.331Z] Scanning dependencies of target device-random [2020-05-11T14:15:19.331Z] [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-05-11T14:15:19.331Z] [ 74%] Linking C executable device-random [2020-05-11T14:15:19.331Z] [ 74%] Built target device-random [2020-05-11T14:15:19.331Z] Scanning dependencies of target device-gyro [2020-05-11T14:15:19.331Z] [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-05-11T14:15:19.590Z] [ 77%] Linking C executable device-gyro [2020-05-11T14:15:19.590Z] [ 77%] Built target device-gyro [2020-05-11T14:15:19.590Z] Scanning dependencies of target template-discovery [2020-05-11T14:15:19.590Z] [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-05-11T14:15:19.684Z] 37ed683be191: Pull complete [2020-05-11T14:15:19.684Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2020-05-11T14:15:19.684Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2020-05-11T14:15:19.684Z] ---> b23d30803547 [2020-05-11T14:15:19.684Z] Step 3/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev [2020-05-11T14:15:19.849Z] [ 80%] Linking C executable template-discovery [2020-05-11T14:15:19.849Z] [ 80%] Built target template-discovery [2020-05-11T14:15:19.849Z] Scanning dependencies of target device-terminal [2020-05-11T14:15:19.849Z] [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-05-11T14:15:20.108Z] [ 84%] Linking C executable device-terminal [2020-05-11T14:15:20.108Z] [ 84%] Built target device-terminal [2020-05-11T14:15:20.108Z] Scanning dependencies of target template2 [2020-05-11T14:15:20.108Z] [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-05-11T14:15:20.368Z] [ 87%] Linking C executable template2 [2020-05-11T14:15:20.368Z] [ 87%] Built target template2 [2020-05-11T14:15:20.368Z] Scanning dependencies of target device-counterv2 [2020-05-11T14:15:20.368Z] [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-05-11T14:15:20.368Z] [ 90%] Linking C executable device-counterv2 [2020-05-11T14:15:20.630Z] [ 90%] Built target device-counterv2 [2020-05-11T14:15:20.630Z] Scanning dependencies of target device-gyrov2 [2020-05-11T14:15:20.630Z] [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o [2020-05-11T14:15:20.630Z] [ 93%] Linking C executable device-gyrov2 [2020-05-11T14:15:20.630Z] [ 93%] Built target device-gyrov2 [2020-05-11T14:15:20.630Z] Scanning dependencies of target device-randomv2 [2020-05-11T14:15:20.892Z] [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-05-11T14:15:20.892Z] [ 96%] Linking C executable device-randomv2 [2020-05-11T14:15:20.892Z] [ 96%] Built target device-randomv2 [2020-05-11T14:15:20.892Z] Scanning dependencies of target device-terminalv2 [2020-05-11T14:15:20.892Z] [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o [2020-05-11T14:15:21.092Z] ---> Running in e3361e42930d [2020-05-11T14:15:21.153Z] [100%] Linking C executable device-terminalv2 [2020-05-11T14:15:21.154Z] [100%] Built target device-terminalv2 [2020-05-11T14:15:21.154Z] + + tee -amake release.log [2020-05-11T14:15:21.154Z] package [2020-05-11T14:15:21.154Z] [ 65%] Built target csdk [2020-05-11T14:15:21.154Z] [ 68%] Built target template [2020-05-11T14:15:21.415Z] [ 71%] Built target device-counter [2020-05-11T14:15:21.415Z] [ 74%] Built target device-random [2020-05-11T14:15:21.415Z] [ 77%] Built target device-gyro [2020-05-11T14:15:21.415Z] [ 80%] Built target template-discovery [2020-05-11T14:15:21.415Z] [ 84%] Built target device-terminal [2020-05-11T14:15:21.415Z] [ 87%] Built target template2 [2020-05-11T14:15:21.415Z] [ 90%] Built target device-counterv2 [2020-05-11T14:15:21.415Z] [ 93%] Built target device-gyrov2 [2020-05-11T14:15:21.415Z] [ 96%] Built target device-randomv2 [2020-05-11T14:15:21.415Z] [100%] Built target device-terminalv2 [2020-05-11T14:15:21.415Z] Run CPack packaging tool... [2020-05-11T14:15:21.415Z] CPack: Create package using TGZ [2020-05-11T14:15:21.415Z] CPack: Install projects [2020-05-11T14:15:21.415Z] CPack: - Run preinstall target for: Csdk [2020-05-11T14:15:21.675Z] CPack: - Install project: Csdk [2020-05-11T14:15:21.675Z] CPack: Create package [2020-05-11T14:15:21.675Z] CPack: - package: /tmp/sdk/build/release/csdk-1.2.1-dev.1.tar.gz generated. [2020-05-11T14:15:21.675Z] + '[' false '=' true ] [2020-05-11T14:15:21.675Z] + '[' false '=' true ] [2020-05-11T14:15:21.675Z] + mkdir -p /tmp/sdk/build/debug [2020-05-11T14:15:21.675Z] + cd /tmp/sdk/build/debug [2020-05-11T14:15:21.675Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-05-11T14:15:21.935Z] -- The C compiler identification is GNU 8.3.0 [2020-05-11T14:15:21.935Z] -- Check for working C compiler: /usr/bin/cc [2020-05-11T14:15:21.935Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-05-11T14:15:21.935Z] -- Detecting C compiler ABI info [2020-05-11T14:15:21.935Z] -- Detecting C compiler ABI info - done [2020-05-11T14:15:21.935Z] -- Detecting C compile features [2020-05-11T14:15:22.061Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-05-11T14:15:22.195Z] -- Detecting C compile features - done [2020-05-11T14:15:22.195Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-05-11T14:15:22.195Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-05-11T14:15:22.195Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-05-11T14:15:22.195Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-05-11T14:15:22.195Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-05-11T14:15:22.195Z] -- C SDK 1.2.1-dev.1 for Linux [2020-05-11T14:15:22.195Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-05-11T14:15:22.195Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-05-11T14:15:22.457Z] -- Found Curses: /usr/lib/libcurses.so [2020-05-11T14:15:22.457Z] -- Configuring done [2020-05-11T14:15:22.457Z] -- Generating done [2020-05-11T14:15:22.457Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-05-11T14:15:22.457Z] + make [2020-05-11T14:15:22.457Z] + tee debug.log [2020-05-11T14:15:22.457Z] Scanning dependencies of target csdk [2020-05-11T14:15:22.457Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-05-11T14:15:22.715Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-05-11T14:15:22.715Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-05-11T14:15:22.974Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-05-11T14:15:22.974Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-05-11T14:15:22.974Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-05-11T14:15:23.233Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-05-11T14:15:23.233Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-05-11T14:15:23.233Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-05-11T14:15:23.492Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-05-11T14:15:23.492Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-05-11T14:15:23.492Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-05-11T14:15:23.751Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-05-11T14:15:23.751Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-05-11T14:15:24.009Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-05-11T14:15:24.009Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-05-11T14:15:24.009Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-05-11T14:15:24.009Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-05-11T14:15:24.269Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-05-11T14:15:24.269Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-05-11T14:15:24.529Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-05-11T14:15:24.529Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-05-11T14:15:24.529Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-05-11T14:15:24.529Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-05-11T14:15:24.635Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-05-11T14:15:24.788Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-05-11T14:15:24.788Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-05-11T14:15:24.788Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-05-11T14:15:24.788Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-05-11T14:15:24.788Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-05-11T14:15:25.047Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-05-11T14:15:25.047Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-05-11T14:15:25.306Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-05-11T14:15:25.566Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-05-11T14:15:25.566Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-05-11T14:15:25.566Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-05-11T14:15:25.592Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-05-11T14:15:25.592Z] (2/8) Installing libuuid (2.33-r0) [2020-05-11T14:15:25.592Z] (3/8) Installing libblkid (2.33-r0) [2020-05-11T14:15:25.827Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-05-11T14:15:25.859Z] (4/8) Installing libfdisk (2.33-r0) [2020-05-11T14:15:26.086Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-05-11T14:15:26.086Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-05-11T14:15:26.125Z] (5/8) Installing libmount (2.33-r0) [2020-05-11T14:15:26.125Z] (6/8) Installing libsmartcols (2.33-r0) [2020-05-11T14:15:26.349Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-05-11T14:15:26.349Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-05-11T14:15:26.349Z] [ 65%] Linking C shared library libcsdk.so [2020-05-11T14:15:26.392Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-05-11T14:15:26.610Z] [ 65%] Built target csdk [2020-05-11T14:15:26.610Z] Scanning dependencies of target template [2020-05-11T14:15:26.610Z] [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-05-11T14:15:26.610Z] [ 68%] Linking C executable template [2020-05-11T14:15:26.610Z] [ 68%] Built target template [2020-05-11T14:15:26.610Z] Scanning dependencies of target device-counter [2020-05-11T14:15:26.611Z] [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-05-11T14:15:26.870Z] [ 71%] Linking C executable device-counter [2020-05-11T14:15:26.870Z] [ 71%] Built target device-counter [2020-05-11T14:15:26.870Z] Scanning dependencies of target device-random [2020-05-11T14:15:26.870Z] [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-05-11T14:15:26.870Z] [ 74%] Linking C executable device-random [2020-05-11T14:15:26.978Z] (8/8) Installing wget (1.20.3-r0) [2020-05-11T14:15:27.129Z] [ 74%] Built target device-random [2020-05-11T14:15:27.129Z] Scanning dependencies of target device-gyro [2020-05-11T14:15:27.129Z] [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-05-11T14:15:27.129Z] [ 77%] Linking C executable device-gyro [2020-05-11T14:15:27.129Z] [ 77%] Built target device-gyro [2020-05-11T14:15:27.129Z] Scanning dependencies of target template-discovery [2020-05-11T14:15:27.129Z] [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-05-11T14:15:27.129Z] [ 80%] Linking C executable template-discovery [2020-05-11T14:15:27.243Z] Executing busybox-1.29.3-r10.trigger [2020-05-11T14:15:27.243Z] OK: 285 MiB in 83 packages [2020-05-11T14:15:27.391Z] [ 80%] Built target template-discovery [2020-05-11T14:15:27.391Z] Scanning dependencies of target device-terminal [2020-05-11T14:15:27.391Z] [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-05-11T14:15:27.391Z] [ 84%] Linking C executable device-terminal [2020-05-11T14:15:27.391Z] [ 84%] Built target device-terminal [2020-05-11T14:15:27.391Z] Scanning dependencies of target template2 [2020-05-11T14:15:27.391Z] [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-05-11T14:15:27.650Z] [ 87%] Linking C executable template2 [2020-05-11T14:15:27.650Z] [ 87%] Built target template2 [2020-05-11T14:15:27.650Z] Scanning dependencies of target device-counterv2 [2020-05-11T14:15:27.650Z] [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-05-11T14:15:27.650Z] [ 90%] Linking C executable device-counterv2 [2020-05-11T14:15:27.910Z] [ 90%] Built target device-counterv2 [2020-05-11T14:15:27.910Z] Scanning dependencies of target device-gyrov2 [2020-05-11T14:15:27.910Z] [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o [2020-05-11T14:15:27.910Z] [ 93%] Linking C executable device-gyrov2 [2020-05-11T14:15:27.910Z] [ 93%] Built target device-gyrov2 [2020-05-11T14:15:27.910Z] Scanning dependencies of target device-randomv2 [2020-05-11T14:15:27.910Z] [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-05-11T14:15:28.171Z] [ 96%] Linking C executable device-randomv2 [2020-05-11T14:15:28.171Z] [ 96%] Built target device-randomv2 [2020-05-11T14:15:28.171Z] Scanning dependencies of target device-terminalv2 [2020-05-11T14:15:28.171Z] [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o [2020-05-11T14:15:28.171Z] [100%] Linking C executable device-terminalv2 [2020-05-11T14:15:28.171Z] [100%] Built target device-terminalv2 [2020-05-11T14:15:28.171Z] make: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:15:28.431Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:15:28.431Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:15:28.431Z] Scanning dependencies of target csdk [2020-05-11T14:15:28.431Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:15:28.431Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:15:28.431Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-05-11T14:15:28.663Z] Removing intermediate container e3361e42930d [2020-05-11T14:15:28.663Z] ---> 5d919429de7c [2020-05-11T14:15:28.663Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-05-11T14:15:28.691Z] [ 3%] Linking C shared library libcsdk.so [2020-05-11T14:15:28.931Z] ---> Running in c2f4836b6125 [2020-05-11T14:15:28.951Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:15:28.951Z] [ 65%] Built target csdk [2020-05-11T14:15:28.951Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:15:28.951Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:15:28.951Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:15:28.951Z] [ 66%] Linking C executable template [2020-05-11T14:15:28.951Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:15:28.951Z] [ 68%] Built target template [2020-05-11T14:15:28.951Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:15:28.951Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:15:28.951Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:15:28.951Z] [ 69%] Linking C executable device-counter [2020-05-11T14:15:28.951Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:15:28.951Z] [ 71%] Built target device-counter [2020-05-11T14:15:28.951Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:15:28.951Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:15:28.951Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:15:28.951Z] [ 73%] Linking C executable device-random [2020-05-11T14:15:29.198Z] Removing intermediate container c2f4836b6125 [2020-05-11T14:15:29.198Z] ---> afd4dd4bb003 [2020-05-11T14:15:29.198Z] Step 5/21 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2020-05-11T14:15:29.198Z] ---> Running in e9472a936a5a [2020-05-11T14:15:29.209Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:15:29.209Z] [ 74%] Built target device-random [2020-05-11T14:15:29.209Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:15:29.209Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:15:29.209Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:15:29.209Z] [ 76%] Linking C executable device-gyro [2020-05-11T14:15:29.209Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:15:29.209Z] [ 77%] Built target device-gyro [2020-05-11T14:15:29.209Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:15:29.209Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:15:29.209Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:15:29.209Z] [ 79%] Linking C executable template-discovery [2020-05-11T14:15:29.209Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:15:29.209Z] [ 80%] Built target template-discovery [2020-05-11T14:15:29.209Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:15:29.209Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:15:29.209Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:15:29.209Z] [ 82%] Linking C executable device-terminal [2020-05-11T14:15:29.467Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:15:29.467Z] [ 84%] Built target device-terminal [2020-05-11T14:15:29.467Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:15:29.467Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:15:29.467Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:15:29.467Z] [ 85%] Linking C executable template2 [2020-05-11T14:15:29.467Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:15:29.467Z] [ 87%] Built target template2 [2020-05-11T14:15:29.467Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:15:29.467Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:15:29.467Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:15:29.467Z] [ 88%] Linking C executable device-counterv2 [2020-05-11T14:15:29.467Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:15:29.467Z] [ 90%] Built target device-counterv2 [2020-05-11T14:15:29.467Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:15:29.467Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:15:29.467Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:15:29.467Z] [ 92%] Linking C executable device-gyrov2 [2020-05-11T14:15:29.467Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:15:29.728Z] [ 93%] Built target device-gyrov2 [2020-05-11T14:15:29.728Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:15:29.728Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:15:29.728Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:15:29.728Z] [ 95%] Linking C executable device-randomv2 [2020-05-11T14:15:29.728Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:15:29.728Z] [ 96%] Built target device-randomv2 [2020-05-11T14:15:29.728Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:15:29.728Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:15:29.728Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:15:29.728Z] [ 98%] Linking C executable device-terminalv2 [2020-05-11T14:15:29.728Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:15:29.728Z] [100%] Built target device-terminalv2 [2020-05-11T14:15:29.728Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:15:29.728Z] Install the project... [2020-05-11T14:15:29.728Z] -- Install configuration: "Release" [2020-05-11T14:15:29.728Z] -- Installing: /usr/local/lib/libcsdk.so [2020-05-11T14:15:29.728Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-05-11T14:15:29.728Z] -- Up-to-date: /usr/local/include [2020-05-11T14:15:29.728Z] -- Installing: /usr/local/include/devsdk [2020-05-11T14:15:29.728Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-05-11T14:15:29.728Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-05-11T14:15:29.728Z] -- Installing: /usr/local/include/edgex [2020-05-11T14:15:29.728Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-05-11T14:15:29.728Z] -- Installing: /usr/local/include/edgex/devices.h [2020-05-11T14:15:29.728Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-05-11T14:15:29.728Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-05-11T14:15:29.728Z] -- Installing: /usr/local/include/edgex/edgex-logging.h [2020-05-11T14:15:29.728Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-05-11T14:15:29.728Z] -- Installing: /usr/local/include/edgex/error.h [2020-05-11T14:15:29.728Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-05-11T14:15:29.728Z] -- Installing: /usr/local/include/edgex/os.h [2020-05-11T14:15:29.728Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-05-11T14:15:29.728Z] -- Installing: /usr/local/include/edgex/registry.h [2020-05-11T14:15:29.728Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-05-11T14:15:29.728Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-05-11T14:15:29.729Z] -- Installing: /usr/local/include/iot [2020-05-11T14:15:29.729Z] -- Installing: /usr/local/include/iot/base64.h [2020-05-11T14:15:29.729Z] -- Installing: /usr/local/include/iot/component.h [2020-05-11T14:15:29.729Z] -- Installing: /usr/local/include/iot/container.h [2020-05-11T14:15:29.729Z] -- Installing: /usr/local/include/iot/data.h [2020-05-11T14:15:29.729Z] -- Installing: /usr/local/include/iot/hash.h [2020-05-11T14:15:29.729Z] -- Installing: /usr/local/include/iot/iot.h [2020-05-11T14:15:29.729Z] -- Installing: /usr/local/include/iot/json.h [2020-05-11T14:15:29.729Z] -- Installing: /usr/local/include/iot/logger.h [2020-05-11T14:15:29.729Z] -- Installing: /usr/local/include/iot/os.h [2020-05-11T14:15:29.729Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-05-11T14:15:29.729Z] -- Installing: /usr/local/include/iot/thread.h [2020-05-11T14:15:29.729Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-05-11T14:15:29.729Z] -- Installing: /usr/local/include/iot/time.h [2020-05-11T14:15:29.729Z] -- Installing: /usr/local/include/iot/typecode.h [2020-05-11T14:15:29.729Z] -- Installing: /usr/local/include/iot/os [2020-05-11T14:15:29.729Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-05-11T14:15:29.729Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-05-11T14:15:29.729Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-05-11T14:15:29.729Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-05-11T14:15:29.729Z] make: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:15:30.158Z] --2020-05-11 14:15:29-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-05-11T14:15:30.158Z] Resolving github.com... 140.82.112.3 [2020-05-11T14:15:30.158Z] Connecting to github.com|140.82.112.3|:443... connected. [2020-05-11T14:15:30.158Z] HTTP request sent, awaiting response... 302 Found [2020-05-11T14:15:30.158Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-05-11T14:15:30.158Z] --2020-05-11 14:15:30-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-05-11T14:15:30.158Z] Resolving codeload.github.com... 140.82.113.10 [2020-05-11T14:15:30.426Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2020-05-11T14:15:30.426Z] HTTP request sent, awaiting response... 200 OK [2020-05-11T14:15:30.426Z] Length: unspecified [application/x-gzip] [2020-05-11T14:15:30.426Z] Saving to: 'STDOUT' [2020-05-11T14:15:30.426Z]  [2020-05-11T14:15:30.426Z] 0K .......... .......... .......... .......... .......... 1.54M [2020-05-11T14:15:30.426Z] 50K .......... .......... .......... .......... .......... 3.28M [2020-05-11T14:15:30.426Z] 100K .......... .......... .......... .......... .......... 10.5M [2020-05-11T14:15:30.426Z] 150K .......... .......... .......... .......... .......... 10.5M [2020-05-11T14:15:30.426Z] 200K .......... .......... .......... .......... .......... 4.59M [2020-05-11T14:15:30.426Z] 250K .......... .......... .......... .......... .......... 4.44M [2020-05-11T14:15:30.426Z] 300K .......... .......... .......... .......... .......... 4.51M [2020-05-11T14:15:30.426Z] 350K .......... .......... .......... .......... .......... 5.10M [2020-05-11T14:15:30.666Z] Removing intermediate container 5a36f2254a5e [2020-05-11T14:15:30.666Z] ---> c7b77b0b36c7 [2020-05-11T14:15:30.666Z] Step 14/21 : FROM alpine:3.9 [2020-05-11T14:15:30.695Z] 400K .......... .......... .......... .......... .......... 3.81M [2020-05-11T14:15:30.695Z] 450K .......... .......... .......... .......... .......... 3.81M [2020-05-11T14:15:30.695Z] 500K .......... .......... .......... .......... .......... 6.51M [2020-05-11T14:15:30.695Z] 550K .......... .......... .......... .......... .......... 2.95M [2020-05-11T14:15:30.695Z] 600K .......... .......... .......... .......... .......... 879K [2020-05-11T14:15:30.695Z] 650K .......... .......... .......... .......... .......... 2.12M [2020-05-11T14:15:30.695Z] 700K ..  656K=0.2s [2020-05-11T14:15:30.695Z] [2020-05-11T14:15:30.695Z] 2020-05-11 14:15:30 (2.97 MB/s) - written to stdout [719348] [2020-05-11T14:15:30.695Z] [2020-05-11T14:15:30.925Z] 3.9: Pulling from library/alpine [2020-05-11T14:15:30.926Z] 31603596830f: Pulling fs layer [2020-05-11T14:15:30.963Z] -- The C compiler identification is GNU 8.3.0 [2020-05-11T14:15:31.185Z] 31603596830f: Download complete [2020-05-11T14:15:31.185Z] 31603596830f: Pull complete [2020-05-11T14:15:31.185Z] Digest: sha256:414e0518bb9228d35e4cd5165567fb91d26c6a214e9c95899e1e056fcd349011 [2020-05-11T14:15:31.232Z] -- The CXX compiler identification is GNU 8.3.0 [2020-05-11T14:15:31.232Z] -- Check for working C compiler: /usr/bin/cc [2020-05-11T14:15:31.445Z] Status: Downloaded newer image for alpine:3.9 [2020-05-11T14:15:31.445Z] ---> 78a2ce922f86 [2020-05-11T14:15:31.445Z] Step 15/21 : MAINTAINER IOTech [2020-05-11T14:15:31.445Z] ---> Running in d2ebc9280d53 [2020-05-11T14:15:31.445Z] Removing intermediate container d2ebc9280d53 [2020-05-11T14:15:31.445Z] ---> c4c6699d46e8 [2020-05-11T14:15:31.445Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-05-11T14:15:31.445Z] ---> Running in 603377e5b9c3 [2020-05-11T14:15:31.498Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-05-11T14:15:31.498Z] -- Detecting C compiler ABI info [2020-05-11T14:15:31.767Z] -- Detecting C compiler ABI info - done [2020-05-11T14:15:31.767Z] -- Detecting C compile features [2020-05-11T14:15:32.357Z] -- Detecting C compile features - done [2020-05-11T14:15:32.357Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-05-11T14:15:32.384Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-05-11T14:15:32.384Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-05-11T14:15:32.384Z] (1/48) Installing binutils (2.31.1-r2) [2020-05-11T14:15:32.384Z] (2/48) Installing libmagic (5.36-r1) [2020-05-11T14:15:32.626Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-05-11T14:15:32.626Z] -- Detecting CXX compiler ABI info [2020-05-11T14:15:32.642Z] (3/48) Installing file (5.36-r1) [2020-05-11T14:15:32.642Z] (4/48) Installing gmp (6.1.2-r1) [2020-05-11T14:15:32.642Z] (5/48) Installing isl (0.18-r0) [2020-05-11T14:15:32.642Z] (6/48) Installing libgomp (8.3.0-r0) [2020-05-11T14:15:32.642Z] (7/48) Installing libatomic (8.3.0-r0) [2020-05-11T14:15:32.642Z] (8/48) Installing libgcc (8.3.0-r0) [2020-05-11T14:15:32.642Z] (9/48) Installing mpfr3 (3.1.5-r1) [2020-05-11T14:15:32.642Z] (10/48) Installing mpc1 (1.0.3-r1) [2020-05-11T14:15:32.642Z] (11/48) Installing libstdc++ (8.3.0-r0) [2020-05-11T14:15:32.642Z] (12/48) Installing gcc (8.3.0-r0) [2020-05-11T14:15:32.896Z] -- Detecting CXX compiler ABI info - done [2020-05-11T14:15:32.896Z] -- Detecting CXX compile features [2020-05-11T14:15:34.313Z] -- Detecting CXX compile features - done [2020-05-11T14:15:34.313Z] -- Looking for include file endian.h [2020-05-11T14:15:34.580Z] -- Looking for include file endian.h - found [2020-05-11T14:15:34.580Z] -- Check if the system is big endian [2020-05-11T14:15:34.580Z] -- Searching 16 bit integer [2020-05-11T14:15:34.580Z] -- Looking for sys/types.h [2020-05-11T14:15:34.848Z] -- Looking for sys/types.h - found [2020-05-11T14:15:34.848Z] -- Looking for stdint.h [2020-05-11T14:15:35.118Z] -- Looking for stdint.h - found [2020-05-11T14:15:35.118Z] -- Looking for stddef.h [2020-05-11T14:15:35.178Z] (13/48) Installing musl-dev (1.1.20-r5) [2020-05-11T14:15:35.386Z] -- Looking for stddef.h - found [2020-05-11T14:15:35.386Z] -- Check size of unsigned short [2020-05-11T14:15:35.657Z] -- Check size of unsigned short - done [2020-05-11T14:15:35.657Z] -- Using unsigned short [2020-05-11T14:15:35.925Z] -- Check if the system is big endian - little endian [2020-05-11T14:15:35.925Z] -- Check size of size_t [2020-05-11T14:15:36.194Z] -- Check size of size_t - done [2020-05-11T14:15:36.194Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-05-11T14:15:36.194Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-05-11T14:15:36.194Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-05-11T14:15:36.194Z] CMake did not find one. [2020-05-11T14:15:36.194Z] [2020-05-11T14:15:36.194Z] Could not find a package configuration file provided by "cJSON" with any of [2020-05-11T14:15:36.194Z] the following names: [2020-05-11T14:15:36.194Z] [2020-05-11T14:15:36.194Z] cJSONConfig.cmake [2020-05-11T14:15:36.194Z] cjson-config.cmake [2020-05-11T14:15:36.194Z] [2020-05-11T14:15:36.194Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-05-11T14:15:36.194Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-05-11T14:15:36.194Z] provides a separate development package or SDK, be sure it has been [2020-05-11T14:15:36.194Z] installed. [2020-05-11T14:15:36.194Z] [2020-05-11T14:15:36.194Z] [2020-05-11T14:15:36.194Z] -- Configuring done [2020-05-11T14:15:36.461Z] -- Generating done [2020-05-11T14:15:36.461Z] -- Build files have been written to: /tmp/cbor [2020-05-11T14:15:36.461Z] Scanning dependencies of target cbor_shared [2020-05-11T14:15:36.461Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-05-11T14:15:36.556Z] (14/48) Installing libc-dev (0.7.1-r0) [2020-05-11T14:15:36.556Z] (15/48) Installing g++ (8.3.0-r0) [2020-05-11T14:15:37.127Z] (16/48) Installing make (4.2.1-r2) [2020-05-11T14:15:37.127Z] (17/48) Installing fortify-headers (1.0-r0) [2020-05-11T14:15:37.127Z] (18/48) Installing build-base (0.5-r1) [2020-05-11T14:15:37.127Z] (19/48) Installing libattr (2.4.47-r7) [2020-05-11T14:15:37.127Z] (20/48) Installing libacl (2.2.52-r5) [2020-05-11T14:15:37.127Z] (21/48) Installing libbz2 (1.0.6-r7) [2020-05-11T14:15:37.127Z] (22/48) Installing expat (2.2.8-r0) [2020-05-11T14:15:37.127Z] (23/48) Installing lz4-libs (1.8.3-r2) [2020-05-11T14:15:37.127Z] (24/48) Installing xz-libs (5.2.4-r0) [2020-05-11T14:15:37.127Z] (25/48) Installing libarchive (3.3.3-r2) [2020-05-11T14:15:37.127Z] (26/48) Installing ca-certificates (20191127-r0) [2020-05-11T14:15:37.127Z] (27/48) Installing nghttp2-libs (1.35.1-r1) [2020-05-11T14:15:37.127Z] (28/48) Installing libssh2 (1.9.0-r1) [2020-05-11T14:15:37.127Z] (29/48) Installing libcurl (7.64.0-r3) [2020-05-11T14:15:37.127Z] (30/48) Installing ncurses-terminfo-base (6.1_p20190105-r0) [2020-05-11T14:15:37.127Z] (31/48) Installing ncurses-terminfo (6.1_p20190105-r0) [2020-05-11T14:15:37.421Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-05-11T14:15:38.005Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-05-11T14:15:38.005Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-05-11T14:15:38.063Z] (32/48) Installing ncurses-libs (6.1_p20190105-r0) [2020-05-11T14:15:38.063Z] (33/48) Installing rhash-libs (1.3.6-r2) [2020-05-11T14:15:38.063Z] (34/48) Installing libuv (1.23.2-r0) [2020-05-11T14:15:38.063Z] (35/48) Installing cmake (3.13.0-r0) [2020-05-11T14:15:38.590Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-05-11T14:15:38.856Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-05-11T14:15:38.998Z] (36/48) Installing curl (7.64.0-r3) [2020-05-11T14:15:38.998Z] (37/48) Installing pcre2 (10.32-r1) [2020-05-11T14:15:38.998Z] (38/48) Installing git (2.20.4-r0) [2020-05-11T14:15:38.998Z] (39/48) Installing nettle (3.4.1-r0) [2020-05-11T14:15:38.998Z] (40/48) Installing libffi (3.2.1-r6) [2020-05-11T14:15:38.998Z] (41/48) Installing p11-kit (0.23.14-r0) [2020-05-11T14:15:38.998Z] (42/48) Installing libtasn1 (4.14-r0) [2020-05-11T14:15:38.998Z] (43/48) Installing libunistring (0.9.10-r0) [2020-05-11T14:15:38.998Z] (44/48) Installing gnutls (3.6.7-r1) [2020-05-11T14:15:38.998Z] (45/48) Installing libmicrohttpd (0.9.62-r0) [2020-05-11T14:15:38.998Z] (46/48) Installing libuuid (2.33-r0) [2020-05-11T14:15:38.998Z] (47/48) Installing wget (1.20.3-r0) [2020-05-11T14:15:38.998Z] (48/48) Installing yaml (0.2.1-r0) [2020-05-11T14:15:38.998Z] Executing busybox-1.29.3-r10.trigger [2020-05-11T14:15:38.998Z] Executing ca-certificates-20191127-r0.trigger [2020-05-11T14:15:39.122Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-05-11T14:15:39.257Z] OK: 222 MiB in 62 packages [2020-05-11T14:15:39.389Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-05-11T14:15:39.390Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-05-11T14:15:39.655Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-05-11T14:15:40.238Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-05-11T14:15:40.505Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-05-11T14:15:41.091Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-05-11T14:15:41.091Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-05-11T14:15:41.359Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-05-11T14:15:41.625Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-05-11T14:15:41.892Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-05-11T14:15:42.158Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-05-11T14:15:42.425Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-05-11T14:15:42.693Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-05-11T14:15:42.961Z] [ 40%] Linking C shared library libcbor.so [2020-05-11T14:15:42.961Z] [ 40%] Built target cbor_shared [2020-05-11T14:15:42.961Z] Scanning dependencies of target cbor [2020-05-11T14:15:42.961Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-05-11T14:15:43.918Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-05-11T14:15:44.507Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-05-11T14:15:44.507Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-05-11T14:15:45.834Z] Removing intermediate container 603377e5b9c3 [2020-05-11T14:15:45.834Z] ---> 4fad640a173f [2020-05-11T14:15:45.834Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-05-11T14:15:45.834Z] ---> ad2a09efd857 [2020-05-11T14:15:45.834Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-05-11T14:15:45.834Z] ---> 647848098a0b [2020-05-11T14:15:45.834Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-05-11T14:15:45.834Z] ---> d5a6ce941798 [2020-05-11T14:15:45.834Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-05-11T14:15:45.920Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-05-11T14:15:45.920Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-05-11T14:15:46.094Z] ---> 17dff37f6bee [2020-05-11T14:15:46.095Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-05-11T14:15:46.189Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-05-11T14:15:46.189Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-05-11T14:15:46.361Z] ---> 3f37b8f40ede [2020-05-11T14:15:46.361Z] Successfully built 3f37b8f40ede [2020-05-11T14:15:46.361Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [2020-05-11T14:15:46.457Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-05-11T14:15:46.725Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-05-11T14:15:46.998Z] + docker inspect -f . ci-base-image-x86_64 [2020-05-11T14:15:46.998Z] . [Pipeline] withDockerContainer [2020-05-11T14:15:47.128Z] prd-centos7-docker-4c-2g-7862 does not seem to be running inside a container [2020-05-11T14:15:47.175Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/19 -v /w/workspace/device-sdk-c/19:/w/workspace/device-sdk-c/19:rw,z -v /w/workspace/device-sdk-c/19@tmp:/w/workspace/device-sdk-c/19@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-05-11T14:15:47.689Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-05-11T14:15:47.689Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-05-11T14:15:47.759Z] $ docker top d5d92f893e62dda8a344171c52605a9649147472d60d584dc9c70f631083db2f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-05-11T14:15:48.248Z] + make test [2020-05-11T14:15:48.248Z] echo "make test" [2020-05-11T14:15:48.248Z] make test [Pipeline] } [2020-05-11T14:15:48.258Z] $ docker stop --time=1 d5d92f893e62dda8a344171c52605a9649147472d60d584dc9c70f631083db2f [2020-05-11T14:15:48.344Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-05-11T14:15:48.621Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-05-11T14:15:48.893Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-05-11T14:15:49.159Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-05-11T14:15:49.427Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-05-11T14:15:49.614Z] $ docker rm -f d5d92f893e62dda8a344171c52605a9649147472d60d584dc9c70f631083db2f [2020-05-11T14:15:49.694Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2020-05-11T14:15:49.962Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2020-05-11T14:15:50.229Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-05-11T14:15:50.496Z] [ 80%] Linking C static library libcbor.a [2020-05-11T14:15:50.497Z] [ 80%] Built target cbor [2020-05-11T14:15:50.497Z] Scanning dependencies of target create_items [2020-05-11T14:15:50.497Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [Pipeline] sh [2020-05-11T14:15:50.764Z] [ 84%] Linking C executable create_items [2020-05-11T14:15:50.764Z] [ 84%] Built target create_items [2020-05-11T14:15:50.764Z] Scanning dependencies of target readfile [2020-05-11T14:15:50.764Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-05-11T14:15:50.956Z] + sudo chown -R jenkins:jenkins . [2020-05-11T14:15:51.031Z] [ 88%] Linking C executable readfile [2020-05-11T14:15:51.031Z] [ 88%] Built target readfile [2020-05-11T14:15:51.031Z] Scanning dependencies of target streaming_parser [2020-05-11T14:15:51.031Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [Pipeline] sh [2020-05-11T14:15:51.298Z] [ 92%] Linking C executable streaming_parser [2020-05-11T14:15:51.387Z] + ls -al . [2020-05-11T14:15:51.387Z] total 160 [2020-05-11T14:15:51.387Z] drwxrwxr-x. 8 jenkins jenkins 260 May 11 14:14 . [2020-05-11T14:15:51.387Z] drwxrwxr-x. 4 jenkins jenkins 30 May 11 14:14 .. [2020-05-11T14:15:51.387Z] -rw-rw-r--. 1 jenkins jenkins 3104 May 11 14:14 Attribution.txt [2020-05-11T14:15:51.387Z] -rw-rw-r--. 1 jenkins jenkins 5325 May 11 14:14 CHANGES [2020-05-11T14:15:51.387Z] drwxrwxr-x. 2 jenkins jenkins 144 May 11 14:14 docs [2020-05-11T14:15:51.387Z] -rw-rw-r--. 1 jenkins jenkins 108574 May 11 14:14 Doxyfile [2020-05-11T14:15:51.387Z] drwxrwxr-x. 8 jenkins jenkins 162 May 11 14:14 .git [2020-05-11T14:15:51.387Z] -rw-rw-r--. 1 jenkins jenkins 176 May 11 14:14 .gitignore [2020-05-11T14:15:51.387Z] drwxrwxr-x. 4 jenkins jenkins 33 May 11 14:14 include [2020-05-11T14:15:51.387Z] -rw-rw-r--. 1 jenkins jenkins 792 May 11 14:14 Jenkinsfile [2020-05-11T14:15:51.387Z] -rw-rw-r--. 1 jenkins jenkins 10174 May 11 14:14 LICENSE [2020-05-11T14:15:51.387Z] -rw-rw-r--. 1 jenkins jenkins 448 May 11 14:14 Makefile [2020-05-11T14:15:51.387Z] -rw-rw-r--. 1 jenkins jenkins 1849 May 11 14:14 README.md [2020-05-11T14:15:51.387Z] -rw-rw-r--. 1 jenkins jenkins 5287 May 11 14:14 README.v2.md [2020-05-11T14:15:51.387Z] drwxrwxr-x. 2 jenkins jenkins 106 May 11 14:14 scripts [2020-05-11T14:15:51.387Z] drwxrwxr-x. 3 jenkins jenkins 44 May 11 14:14 .semver [2020-05-11T14:15:51.387Z] drwxrwxr-x. 4 jenkins jenkins 50 May 11 14:14 src [2020-05-11T14:15:51.387Z] -rw-rw-r--. 1 jenkins jenkins 11 May 11 14:12 VERSION [Pipeline] isUnix [Pipeline] sh [2020-05-11T14:15:51.565Z] [ 92%] Built target streaming_parser [2020-05-11T14:15:51.566Z] Scanning dependencies of target sort [2020-05-11T14:15:51.566Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-05-11T14:15:51.566Z] [ 96%] Linking C executable sort [2020-05-11T14:15:51.686Z] + docker build -t docker-device-sdk-c -f scripts/Dockerfile.alpine-3.9 --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=784285b3e5560c6aed2cdbdbbb8eed209f7721e1 --label arch=amd64 --label version=1.2.1-dev.1 . [2020-05-11T14:15:51.686Z] Sending build context to Docker daemon 3.088MB [2020-05-11T14:15:51.686Z] Step 1/15 : ARG BASE=alpine:3.9 [2020-05-11T14:15:51.686Z] Step 2/15 : FROM ${BASE} [2020-05-11T14:15:51.686Z] ---> 3f37b8f40ede [2020-05-11T14:15:51.686Z] Step 3/15 : MAINTAINER IOTech [2020-05-11T14:15:51.833Z] [ 96%] Built target sort [2020-05-11T14:15:51.833Z] Scanning dependencies of target hello [2020-05-11T14:15:51.833Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-05-11T14:15:51.833Z] [100%] Linking C executable hello [2020-05-11T14:15:51.946Z] ---> Running in f5f5964a6ccd [2020-05-11T14:15:51.946Z] Removing intermediate container f5f5964a6ccd [2020-05-11T14:15:51.946Z] ---> fe9049bae367 [2020-05-11T14:15:51.946Z] Step 4/15 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev && mkdir -p /edgex-c-sdk/build [2020-05-11T14:15:51.946Z] ---> Running in e3622e853c60 [2020-05-11T14:15:52.102Z] [100%] Built target hello [2020-05-11T14:15:52.102Z] Install the project... [2020-05-11T14:15:52.102Z] -- Install configuration: "Release" [2020-05-11T14:15:52.102Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-05-11T14:15:52.102Z] -- Installing: /usr/local/lib64/libcbor.a [2020-05-11T14:15:52.102Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-05-11T14:15:52.102Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-05-11T14:15:52.102Z] -- Installing: /usr/local/lib64/libcbor.so [2020-05-11T14:15:52.102Z] -- Up-to-date: /usr/local/include/cbor [2020-05-11T14:15:52.102Z] -- Installing: /usr/local/include/cbor/common.h [2020-05-11T14:15:52.102Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-05-11T14:15:52.102Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-05-11T14:15:52.102Z] -- Installing: /usr/local/include/cbor/maps.h [2020-05-11T14:15:52.102Z] -- Installing: /usr/local/include/cbor/strings.h [2020-05-11T14:15:52.102Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-05-11T14:15:52.102Z] -- Installing: /usr/local/include/cbor/internal [2020-05-11T14:15:52.102Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-05-11T14:15:52.102Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-05-11T14:15:52.102Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-05-11T14:15:52.102Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-05-11T14:15:52.102Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-05-11T14:15:52.102Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-05-11T14:15:52.102Z] -- Installing: /usr/local/include/cbor/data.h [2020-05-11T14:15:52.102Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-05-11T14:15:52.102Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-05-11T14:15:52.103Z] -- Installing: /usr/local/include/cbor/tags.h [2020-05-11T14:15:52.103Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-05-11T14:15:52.103Z] -- Installing: /usr/local/include/cbor/ints.h [2020-05-11T14:15:52.103Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-05-11T14:15:52.103Z] -- Installing: /usr/local/include/cbor.h [2020-05-11T14:15:52.103Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-05-11T14:15:52.515Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-05-11T14:15:52.515Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-05-11T14:15:52.515Z] (1/21) Installing pkgconf (1.6.0-r0) [2020-05-11T14:15:52.515Z] (2/21) Installing openssl-dev (1.1.1g-r0) [2020-05-11T14:15:52.774Z] (3/21) Installing zlib-dev (1.2.11-r1) [2020-05-11T14:15:52.774Z] (4/21) Installing libssh2-dev (1.9.0-r1) [2020-05-11T14:15:53.342Z] (5/21) Installing nghttp2-dev (1.35.1-r1) [2020-05-11T14:15:53.342Z] (6/21) Installing curl-dev (7.64.0-r3) [2020-05-11T14:15:53.342Z] (7/21) Installing gnutls-c++ (3.6.7-r1) [2020-05-11T14:15:53.342Z] (8/21) Installing libgmpxx (6.1.2-r1) [2020-05-11T14:15:53.342Z] (9/21) Installing gmp-dev (6.1.2-r1) [2020-05-11T14:15:53.342Z] (10/21) Installing nettle-dev (3.4.1-r0) [2020-05-11T14:15:53.342Z] (11/21) Installing libtasn1-dev (4.14-r0) [2020-05-11T14:15:53.910Z] (12/21) Installing p11-kit-dev (0.23.14-r0) [2020-05-11T14:15:53.910Z] (13/21) Installing gnutls-dev (3.6.7-r1) [2020-05-11T14:15:53.910Z] (14/21) Installing libmicrohttpd-dev (0.9.62-r0) [2020-05-11T14:15:53.910Z] (15/21) Installing ncurses-dev (6.1_p20190105-r0) [2020-05-11T14:15:53.910Z] (16/21) Installing libblkid (2.33-r0) [2020-05-11T14:15:53.910Z] (17/21) Installing libfdisk (2.33-r0) [2020-05-11T14:15:53.910Z] (18/21) Installing libmount (2.33-r0) [2020-05-11T14:15:53.910Z] (19/21) Installing libsmartcols (2.33-r0) [2020-05-11T14:15:53.910Z] (20/21) Installing util-linux-dev (2.33-r0) [2020-05-11T14:15:53.910Z] (21/21) Installing yaml-dev (0.2.1-r0) [2020-05-11T14:15:53.910Z] Executing busybox-1.29.3-r10.trigger [2020-05-11T14:15:53.910Z] OK: 266 MiB in 83 packages [2020-05-11T14:15:54.044Z] Removing intermediate container e9472a936a5a [2020-05-11T14:15:54.044Z] ---> 494ba4accea2 [2020-05-11T14:15:54.044Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-05-11T14:15:54.312Z] ---> Running in 65ea315522e7 [2020-05-11T14:15:55.827Z] Removing intermediate container e3622e853c60 [2020-05-11T14:15:55.827Z] ---> 96c4a484f32f [2020-05-11T14:15:55.827Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-05-11T14:15:55.827Z] ---> 96ffd6198e91 [2020-05-11T14:15:55.827Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-05-11T14:15:56.089Z] ---> d9afadce79d3 [2020-05-11T14:15:56.089Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-05-11T14:15:56.089Z] ---> 8ff032a891b4 [2020-05-11T14:15:56.089Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-05-11T14:15:56.256Z] Removing intermediate container 65ea315522e7 [2020-05-11T14:15:56.256Z] ---> 7b3c2afeebdc [2020-05-11T14:15:56.256Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-05-11T14:15:56.349Z] ---> 30a792d53c04 [2020-05-11T14:15:56.349Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-05-11T14:15:56.526Z] ---> d17df1020dfa [2020-05-11T14:15:56.526Z] Step 8/21 : COPY src /tmp/sdk/src [2020-05-11T14:15:56.607Z] ---> 56cf45ab524a [2020-05-11T14:15:56.607Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-05-11T14:15:56.607Z] ---> 9b4f76585a0c [2020-05-11T14:15:56.607Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-05-11T14:15:56.867Z] ---> Running in 6de6802e7f96 [2020-05-11T14:15:56.867Z] Removing intermediate container 6de6802e7f96 [2020-05-11T14:15:56.867Z] ---> 70d8aabe6622 [2020-05-11T14:15:56.867Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-05-11T14:15:56.867Z] ---> Running in c30c626bcf1c [2020-05-11T14:15:57.116Z] ---> d6412496ca47 [2020-05-11T14:15:57.116Z] Step 9/21 : COPY include /tmp/sdk/include [2020-05-11T14:15:57.125Z] Removing intermediate container c30c626bcf1c [2020-05-11T14:15:57.125Z] ---> ebb4bab152af [2020-05-11T14:15:57.125Z] Step 13/15 : LABEL arch=amd64 [2020-05-11T14:15:57.125Z] ---> Running in 7af47d62eb96 [2020-05-11T14:15:57.384Z] Removing intermediate container 7af47d62eb96 [2020-05-11T14:15:57.384Z] ---> 83e605e6dad8 [2020-05-11T14:15:57.384Z] Step 14/15 : LABEL git_sha=784285b3e5560c6aed2cdbdbbb8eed209f7721e1 [2020-05-11T14:15:57.384Z] ---> Running in 5fc1083a3d4b [2020-05-11T14:15:57.384Z] Removing intermediate container 5fc1083a3d4b [2020-05-11T14:15:57.384Z] ---> 764cd4fd18ee [2020-05-11T14:15:57.384Z] Step 15/15 : LABEL version=1.2.1-dev.1 [2020-05-11T14:15:57.384Z] ---> Running in 6a303c0c8c66 [2020-05-11T14:15:57.643Z] Removing intermediate container 6a303c0c8c66 [2020-05-11T14:15:57.643Z] ---> 801d54cd3a6e [2020-05-11T14:15:57.643Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2020-05-11T14:15:57.643Z] Successfully built 801d54cd3a6e [2020-05-11T14:15:57.643Z] Successfully tagged docker-device-sdk-c:latest [Pipeline] } [2020-05-11T14:15:57.702Z] ---> 30e1d13a4a14 [2020-05-11T14:15:57.702Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [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] } [2020-05-11T14:15:58.292Z] ---> 1a9a3af5dc1b [2020-05-11T14:15:58.292Z] Step 11/21 : COPY LICENSE /tmp/sdk [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [2020-05-11T14:15:58.878Z] ---> b1b8a99ee6f8 [2020-05-11T14:15:58.878Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [Pipeline] // stage [Pipeline] } [2020-05-11T14:15:59.147Z] ---> 42f9ea609622 [2020-05-11T14:15:59.147Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-05-11T14:15:59.414Z] ---> Running in 8c8842c5db45 [2020-05-11T14:16:00.384Z] + CPPCHECK=false [2020-05-11T14:16:00.384Z] + DOCGEN=false [2020-05-11T14:16:00.384Z] + TOMLVER=SDK-0.2 [2020-05-11T14:16:00.384Z] + CUTILVER=1.0.4 [2020-05-11T14:16:00.384Z] + '[' 0 -gt 0 ] [2020-05-11T14:16:00.384Z] + readlink -f ./scripts/build.sh [2020-05-11T14:16:00.384Z] + dirname /tmp/sdk/scripts/build.sh [2020-05-11T14:16:00.384Z] + dirname /tmp/sdk/scripts [2020-05-11T14:16:00.384Z] + ROOT=/tmp/sdk [2020-05-11T14:16:00.384Z] + cd /tmp/sdk [2020-05-11T14:16:00.384Z] + '[' '!' -d deps ] [2020-05-11T14:16:00.384Z] + mkdir deps [2020-05-11T14:16:00.384Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-05-11T14:16:00.384Z] --2020-05-11 14:16:00-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-05-11T14:16:00.384Z] + tar -C deps -z -x -f - [2020-05-11T14:16:00.384Z] Resolving github.com... 140.82.112.3 [2020-05-11T14:16:00.384Z] Connecting to github.com|140.82.112.3|:443... connected. [2020-05-11T14:16:00.384Z] HTTP request sent, awaiting response... 302 Found [2020-05-11T14:16:00.384Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-05-11T14:16:00.384Z] --2020-05-11 14:16:00-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-05-11T14:16:00.384Z] Resolving codeload.github.com... 140.82.114.9 [2020-05-11T14:16:00.384Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2020-05-11T14:16:00.652Z] HTTP request sent, awaiting response... 200 OK [2020-05-11T14:16:00.652Z] Length: unspecified [application/x-gzip] [2020-05-11T14:16:00.652Z] Saving to: 'STDOUT' [2020-05-11T14:16:00.652Z]  [2020-05-11T14:16:00.652Z] 0K .......... ...... 1.01M=0.02s [2020-05-11T14:16:00.652Z] [2020-05-11T14:16:00.652Z] 2020-05-11 14:16:00 (1.01 MB/s) - written to stdout [16451] [2020-05-11T14:16:00.653Z] [2020-05-11T14:16:00.653Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-05-11T14:16:00.653Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-05-11T14:16:00.653Z] + tar -C deps -z -x -f - [2020-05-11T14:16:00.653Z] --2020-05-11 14:16:00-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz [2020-05-11T14:16:00.653Z] Resolving github.com... 140.82.112.3 [2020-05-11T14:16:00.653Z] Connecting to github.com|140.82.112.3|:443... connected. [2020-05-11T14:16:00.923Z] HTTP request sent, awaiting response... 302 Found [2020-05-11T14:16:00.923Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] [2020-05-11T14:16:00.923Z] --2020-05-11 14:16:00-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [2020-05-11T14:16:00.923Z] Resolving codeload.github.com... 140.82.114.9 [2020-05-11T14:16:00.923Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2020-05-11T14:16:00.923Z] HTTP request sent, awaiting response... 200 OK [2020-05-11T14:16:00.923Z] Length: unspecified [application/x-gzip] [2020-05-11T14:16:00.923Z] Saving to: 'STDOUT' [2020-05-11T14:16:00.923Z] [2020-05-11T14:16:00.923Z] 0K .......... .......... .......... .......... .......... 1.59M [2020-05-11T14:16:00.923Z] 50K .......... .......... .......... .......... .......... 3.38M [2020-05-11T14:16:00.923Z] 100K .......... .......... .......... .......... .......... 3.90M [2020-05-11T14:16:00.923Z] 150K ........ 3.91M=0.06s [2020-05-11T14:16:00.923Z] [2020-05-11T14:16:00.923Z] 2020-05-11 14:16:00 (2.59 MB/s) - written to stdout [162267] [2020-05-11T14:16:00.923Z] [2020-05-11T14:16:00.923Z] + mkdir -p src/c/iot [2020-05-11T14:16:00.923Z] + cp deps/iotech-c-utils-1.0.4/src/c/base64.c deps/iotech-c-utils-1.0.4/src/c/component.c deps/iotech-c-utils-1.0.4/src/c/container.c deps/iotech-c-utils-1.0.4/src/c/data.c deps/iotech-c-utils-1.0.4/src/c/hash.c deps/iotech-c-utils-1.0.4/src/c/iot.c deps/iotech-c-utils-1.0.4/src/c/json.c deps/iotech-c-utils-1.0.4/src/c/logger.c deps/iotech-c-utils-1.0.4/src/c/os.c deps/iotech-c-utils-1.0.4/src/c/scheduler.c deps/iotech-c-utils-1.0.4/src/c/thread.c deps/iotech-c-utils-1.0.4/src/c/threadpool.c deps/iotech-c-utils-1.0.4/src/c/time.c src/c/iot [2020-05-11T14:16:00.923Z] + mkdir -p include/iot [2020-05-11T14:16:00.923Z] + cp deps/iotech-c-utils-1.0.4/include/iot/base64.h deps/iotech-c-utils-1.0.4/include/iot/component.h deps/iotech-c-utils-1.0.4/include/iot/container.h deps/iotech-c-utils-1.0.4/include/iot/data.h deps/iotech-c-utils-1.0.4/include/iot/hash.h deps/iotech-c-utils-1.0.4/include/iot/iot.h deps/iotech-c-utils-1.0.4/include/iot/json.h deps/iotech-c-utils-1.0.4/include/iot/logger.h deps/iotech-c-utils-1.0.4/include/iot/os.h deps/iotech-c-utils-1.0.4/include/iot/scheduler.h deps/iotech-c-utils-1.0.4/include/iot/thread.h deps/iotech-c-utils-1.0.4/include/iot/threadpool.h deps/iotech-c-utils-1.0.4/include/iot/time.h deps/iotech-c-utils-1.0.4/include/iot/typecode.h include/iot [2020-05-11T14:16:00.923Z] + mkdir -p include/iot/os [2020-05-11T14:16:00.923Z] + cp deps/iotech-c-utils-1.0.4/include/iot/os/linux.h deps/iotech-c-utils-1.0.4/include/iot/os/zephyr.h include/iot/os [2020-05-11T14:16:00.923Z] + mkdir -p /tmp/sdk/build/release [2020-05-11T14:16:00.923Z] + cd /tmp/sdk/build/release [2020-05-11T14:16:00.923Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-05-11T14:16:01.521Z] -- The C compiler identification is GNU 8.3.0 [2020-05-11T14:16:01.521Z] -- Check for working C compiler: /usr/bin/cc [2020-05-11T14:16:01.521Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-05-11T14:16:01.521Z] -- Detecting C compiler ABI info [2020-05-11T14:16:01.800Z] -- Detecting C compiler ABI info - done [2020-05-11T14:16:01.800Z] -- Detecting C compile features [2020-05-11T14:16:02.774Z] -- Detecting C compile features - done [2020-05-11T14:16:02.774Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-05-11T14:16:02.774Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-05-11T14:16:02.774Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-05-11T14:16:02.774Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-05-11T14:16:02.774Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-05-11T14:16:02.774Z] -- C SDK 1.2.1-dev.1 for Linux [2020-05-11T14:16:02.774Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-05-11T14:16:02.774Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-05-11T14:16:02.774Z] -- Found Curses: /usr/lib/libcurses.so [2020-05-11T14:16:03.040Z] -- Configuring done [2020-05-11T14:16:03.305Z] -- Generating done [2020-05-11T14:16:03.305Z] -- Build files have been written to: /tmp/sdk/build/release [2020-05-11T14:16:03.305Z] + make [2020-05-11T14:16:03.305Z] + tee release.log [2020-05-11T14:16:03.305Z] Scanning dependencies of target csdk [2020-05-11T14:16:03.571Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-05-11T14:16:04.153Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-05-11T14:16:04.420Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-05-11T14:16:06.360Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-05-11T14:16:06.942Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-05-11T14:16:06.942Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-05-11T14:16:07.898Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-05-11T14:16:09.835Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-05-11T14:16:10.104Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-05-11T14:16:10.687Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-05-11T14:16:11.267Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-05-11T14:16:11.534Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-05-11T14:16:11.806Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-05-11T14:16:12.073Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-05-11T14:16:15.404Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-05-11T14:16:15.404Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-05-11T14:16:15.671Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-05-11T14:16:16.252Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-05-11T14:16:18.827Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-05-11T14:16:18.827Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-05-11T14:16:18.827Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-05-11T14:16:19.410Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-05-11T14:16:19.677Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-05-11T14:16:19.945Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-05-11T14:16:20.904Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-05-11T14:16:21.170Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-05-11T14:16:21.756Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-05-11T14:16:21.756Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-05-11T14:16:22.338Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-05-11T14:16:23.297Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-05-11T14:16:23.297Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-05-11T14:16:27.551Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-05-11T14:16:27.818Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-05-11T14:16:28.403Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-05-11T14:16:28.989Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-05-11T14:16:30.396Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-05-11T14:16:31.803Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-05-11T14:16:35.152Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-05-11T14:16:35.419Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-05-11T14:16:36.385Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-05-11T14:16:36.968Z] [ 65%] Linking C shared library libcsdk.so [2020-05-11T14:16:36.969Z] [ 65%] Built target csdk [2020-05-11T14:16:36.969Z] Scanning dependencies of target template [2020-05-11T14:16:36.969Z] [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-05-11T14:16:37.552Z] [ 68%] Linking C executable template [2020-05-11T14:16:37.818Z] [ 68%] Built target template [2020-05-11T14:16:37.818Z] Scanning dependencies of target device-counter [2020-05-11T14:16:37.818Z] [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-05-11T14:16:38.401Z] [ 71%] Linking C executable device-counter [2020-05-11T14:16:38.401Z] [ 71%] Built target device-counter [2020-05-11T14:16:38.667Z] Scanning dependencies of target device-random [2020-05-11T14:16:38.667Z] [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-05-11T14:16:38.933Z] [ 74%] Linking C executable device-random [2020-05-11T14:16:39.199Z] [ 74%] Built target device-random [2020-05-11T14:16:39.199Z] Scanning dependencies of target device-gyro [2020-05-11T14:16:39.199Z] [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-05-11T14:16:39.784Z] [ 77%] Linking C executable device-gyro [2020-05-11T14:16:39.784Z] [ 77%] Built target device-gyro [2020-05-11T14:16:39.784Z] Scanning dependencies of target template-discovery [2020-05-11T14:16:39.784Z] [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-05-11T14:16:40.367Z] [ 80%] Linking C executable template-discovery [2020-05-11T14:16:40.633Z] [ 80%] Built target template-discovery [2020-05-11T14:16:40.633Z] Scanning dependencies of target device-terminal [2020-05-11T14:16:40.633Z] [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-05-11T14:16:41.216Z] [ 84%] Linking C executable device-terminal [2020-05-11T14:16:41.483Z] [ 84%] Built target device-terminal [2020-05-11T14:16:41.483Z] Scanning dependencies of target template2 [2020-05-11T14:16:41.483Z] [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-05-11T14:16:42.064Z] [ 87%] Linking C executable template2 [2020-05-11T14:16:42.332Z] [ 87%] Built target template2 [2020-05-11T14:16:42.332Z] Scanning dependencies of target device-counterv2 [2020-05-11T14:16:42.332Z] [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-05-11T14:16:42.915Z] [ 90%] Linking C executable device-counterv2 [2020-05-11T14:16:42.915Z] [ 90%] Built target device-counterv2 [2020-05-11T14:16:42.915Z] Scanning dependencies of target device-gyrov2 [2020-05-11T14:16:42.915Z] [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o [2020-05-11T14:16:43.498Z] [ 93%] Linking C executable device-gyrov2 [2020-05-11T14:16:43.498Z] [ 93%] Built target device-gyrov2 [2020-05-11T14:16:43.498Z] Scanning dependencies of target device-randomv2 [2020-05-11T14:16:43.766Z] [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-05-11T14:16:44.033Z] [ 96%] Linking C executable device-randomv2 [2020-05-11T14:16:44.301Z] [ 96%] Built target device-randomv2 [2020-05-11T14:16:44.301Z] Scanning dependencies of target device-terminalv2 [2020-05-11T14:16:44.301Z] [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o [2020-05-11T14:16:44.884Z] [100%] Linking C executable device-terminalv2 [2020-05-11T14:16:45.152Z] [100%] Built target device-terminalv2 [2020-05-11T14:16:45.152Z] + make package [2020-05-11T14:16:45.152Z] + tee -a release.log [2020-05-11T14:16:45.152Z] [ 65%] Built target csdk [2020-05-11T14:16:45.152Z] [ 68%] Built target template [2020-05-11T14:16:45.420Z] [ 71%] Built target device-counter [2020-05-11T14:16:45.420Z] [ 74%] Built target device-random [2020-05-11T14:16:45.420Z] [ 77%] Built target device-gyro [2020-05-11T14:16:45.420Z] [ 80%] Built target template-discovery [2020-05-11T14:16:45.420Z] [ 84%] Built target device-terminal [2020-05-11T14:16:45.420Z] [ 87%] Built target template2 [2020-05-11T14:16:45.687Z] [ 90%] Built target device-counterv2 [2020-05-11T14:16:45.687Z] [ 93%] Built target device-gyrov2 [2020-05-11T14:16:45.687Z] [ 96%] Built target device-randomv2 [2020-05-11T14:16:45.687Z] [100%] Built target device-terminalv2 [2020-05-11T14:16:45.687Z] Run CPack packaging tool... [2020-05-11T14:16:45.687Z] CPack: Create package using TGZ [2020-05-11T14:16:45.687Z] CPack: Install projects [2020-05-11T14:16:45.687Z] CPack: - Run preinstall target for: Csdk [2020-05-11T14:16:46.273Z] CPack: - Install project: Csdk [2020-05-11T14:16:46.541Z] CPack: Create package [2020-05-11T14:16:46.541Z] CPack: - package: /tmp/sdk/build/release/csdk-1.2.1-dev.1.tar.gz generated. [2020-05-11T14:16:46.541Z] + '[' false '=' true ] [2020-05-11T14:16:46.541Z] + '[' false '=' true ] [2020-05-11T14:16:46.541Z] + mkdir -p /tmp/sdk/build/debug [2020-05-11T14:16:46.541Z] + cd /tmp/sdk/build/debug [2020-05-11T14:16:46.541Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-05-11T14:16:46.808Z] -- The C compiler identification is GNU 8.3.0 [2020-05-11T14:16:46.808Z] -- Check for working C compiler: /usr/bin/cc [2020-05-11T14:16:47.076Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-05-11T14:16:47.076Z] -- Detecting C compiler ABI info [2020-05-11T14:16:47.343Z] -- Detecting C compiler ABI info - done [2020-05-11T14:16:47.343Z] -- Detecting C compile features [2020-05-11T14:16:48.303Z] -- Detecting C compile features - done [2020-05-11T14:16:48.303Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-05-11T14:16:48.303Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-05-11T14:16:48.303Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-05-11T14:16:48.303Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-05-11T14:16:48.303Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-05-11T14:16:48.303Z] -- C SDK 1.2.1-dev.1 for Linux [2020-05-11T14:16:48.303Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-05-11T14:16:48.303Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-05-11T14:16:48.303Z] -- Found Curses: /usr/lib/libcurses.so [2020-05-11T14:16:48.570Z] -- Configuring done [2020-05-11T14:16:48.838Z] -- Generating done [2020-05-11T14:16:48.838Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-05-11T14:16:48.838Z] + make+ [2020-05-11T14:16:48.838Z] tee debug.log [2020-05-11T14:16:48.838Z] Scanning dependencies of target csdk [2020-05-11T14:16:49.106Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-05-11T14:16:49.373Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-05-11T14:16:49.641Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-05-11T14:16:50.223Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-05-11T14:16:50.489Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-05-11T14:16:50.757Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-05-11T14:16:51.024Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-05-11T14:16:51.609Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-05-11T14:16:51.876Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-05-11T14:16:52.144Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-05-11T14:16:52.411Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-05-11T14:16:52.679Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-05-11T14:16:52.679Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-05-11T14:16:52.947Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-05-11T14:16:53.906Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-05-11T14:16:53.906Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-05-11T14:16:54.173Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-05-11T14:16:54.438Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-05-11T14:16:55.022Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-05-11T14:16:55.289Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-05-11T14:16:55.289Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-05-11T14:16:55.557Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-05-11T14:16:55.824Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-05-11T14:16:56.092Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-05-11T14:16:56.358Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-05-11T14:16:56.358Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-05-11T14:16:56.623Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-05-11T14:16:56.889Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-05-11T14:16:57.155Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-05-11T14:16:57.420Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-05-11T14:16:57.687Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-05-11T14:16:58.649Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-05-11T14:16:58.915Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-05-11T14:16:59.184Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-05-11T14:16:59.451Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-05-11T14:17:00.411Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-05-11T14:17:00.677Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-05-11T14:17:01.660Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-05-11T14:17:01.660Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-05-11T14:17:02.244Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-05-11T14:17:02.512Z] [ 65%] Linking C shared library libcsdk.so [2020-05-11T14:17:02.512Z] [ 65%] Built target csdk [2020-05-11T14:17:02.512Z] Scanning dependencies of target template [2020-05-11T14:17:02.512Z] [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-05-11T14:17:02.781Z] [ 68%] Linking C executable template [2020-05-11T14:17:03.049Z] [ 68%] Built target template [2020-05-11T14:17:03.049Z] Scanning dependencies of target device-counter [2020-05-11T14:17:03.049Z] [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-05-11T14:17:03.317Z] [ 71%] Linking C executable device-counter [2020-05-11T14:17:03.584Z] [ 71%] Built target device-counter [2020-05-11T14:17:03.584Z] Scanning dependencies of target device-random [2020-05-11T14:17:03.584Z] [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-05-11T14:17:03.851Z] [ 74%] Linking C executable device-random [2020-05-11T14:17:04.147Z] [ 74%] Built target device-random [2020-05-11T14:17:04.147Z] Scanning dependencies of target device-gyro [2020-05-11T14:17:04.147Z] [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-05-11T14:17:04.417Z] [ 77%] Linking C executable device-gyro [2020-05-11T14:17:04.688Z] [ 77%] Built target device-gyro [2020-05-11T14:17:04.688Z] Scanning dependencies of target template-discovery [2020-05-11T14:17:04.688Z] [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-05-11T14:17:04.955Z] [ 80%] Linking C executable template-discovery [2020-05-11T14:17:05.222Z] [ 80%] Built target template-discovery [2020-05-11T14:17:05.222Z] Scanning dependencies of target device-terminal [2020-05-11T14:17:05.222Z] [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-05-11T14:17:05.488Z] [ 84%] Linking C executable device-terminal [2020-05-11T14:17:05.758Z] [ 84%] Built target device-terminal [2020-05-11T14:17:05.758Z] Scanning dependencies of target template2 [2020-05-11T14:17:05.758Z] [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-05-11T14:17:06.025Z] [ 87%] Linking C executable template2 [2020-05-11T14:17:06.293Z] [ 87%] Built target template2 [2020-05-11T14:17:06.293Z] Scanning dependencies of target device-counterv2 [2020-05-11T14:17:06.293Z] [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-05-11T14:17:06.560Z] [ 90%] Linking C executable device-counterv2 [2020-05-11T14:17:06.828Z] [ 90%] Built target device-counterv2 [2020-05-11T14:17:06.828Z] Scanning dependencies of target device-gyrov2 [2020-05-11T14:17:06.828Z] [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o [2020-05-11T14:17:07.095Z] [ 93%] Linking C executable device-gyrov2 [2020-05-11T14:17:07.360Z] [ 93%] Built target device-gyrov2 [2020-05-11T14:17:07.360Z] Scanning dependencies of target device-randomv2 [2020-05-11T14:17:07.360Z] [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-05-11T14:17:07.628Z] [ 96%] Linking C executable device-randomv2 [2020-05-11T14:17:07.896Z] [ 96%] Built target device-randomv2 [2020-05-11T14:17:07.896Z] Scanning dependencies of target device-terminalv2 [2020-05-11T14:17:07.896Z] [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o [2020-05-11T14:17:08.162Z] [100%] Linking C executable device-terminalv2 [2020-05-11T14:17:08.429Z] [100%] Built target device-terminalv2 [2020-05-11T14:17:08.429Z] make: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:17:08.429Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:17:08.429Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:17:08.429Z] Scanning dependencies of target csdk [2020-05-11T14:17:08.429Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:17:08.429Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:17:08.696Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-05-11T14:17:10.105Z] [ 3%] Linking C shared library libcsdk.so [2020-05-11T14:17:10.373Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:17:10.373Z] [ 65%] Built target csdk [2020-05-11T14:17:10.373Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:17:10.373Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:17:10.373Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:17:10.373Z] [ 66%] Linking C executable template [2020-05-11T14:17:10.640Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:17:10.640Z] [ 68%] Built target template [2020-05-11T14:17:10.640Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:17:10.640Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:17:10.640Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:17:10.640Z] [ 69%] Linking C executable device-counter [2020-05-11T14:17:10.907Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:17:10.907Z] [ 71%] Built target device-counter [2020-05-11T14:17:10.907Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:17:10.907Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:17:10.907Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:17:10.907Z] [ 73%] Linking C executable device-random [2020-05-11T14:17:11.174Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:17:11.174Z] [ 74%] Built target device-random [2020-05-11T14:17:11.174Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:17:11.174Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:17:11.174Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:17:11.174Z] [ 76%] Linking C executable device-gyro [2020-05-11T14:17:11.441Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:17:11.441Z] [ 77%] Built target device-gyro [2020-05-11T14:17:11.441Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:17:11.441Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:17:11.441Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:17:11.441Z] [ 79%] Linking C executable template-discovery [2020-05-11T14:17:11.708Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:17:11.708Z] [ 80%] Built target template-discovery [2020-05-11T14:17:11.708Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:17:11.708Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:17:11.708Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:17:11.708Z] [ 82%] Linking C executable device-terminal [2020-05-11T14:17:11.974Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:17:11.974Z] [ 84%] Built target device-terminal [2020-05-11T14:17:11.974Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:17:11.974Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:17:11.974Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:17:11.974Z] [ 85%] Linking C executable template2 [2020-05-11T14:17:12.242Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:17:12.242Z] [ 87%] Built target template2 [2020-05-11T14:17:12.242Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:17:12.242Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:17:12.242Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:17:12.242Z] [ 88%] Linking C executable device-counterv2 [2020-05-11T14:17:12.510Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:17:12.510Z] [ 90%] Built target device-counterv2 [2020-05-11T14:17:12.510Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:17:12.510Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:17:12.510Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:17:12.510Z] [ 92%] Linking C executable device-gyrov2 [2020-05-11T14:17:12.779Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:17:12.779Z] [ 93%] Built target device-gyrov2 [2020-05-11T14:17:12.779Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:17:12.779Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:17:12.779Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:17:12.779Z] [ 95%] Linking C executable device-randomv2 [2020-05-11T14:17:13.046Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:17:13.046Z] [ 96%] Built target device-randomv2 [2020-05-11T14:17:13.046Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:17:13.046Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:17:13.046Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-05-11T14:17:13.046Z] [ 98%] Linking C executable device-terminalv2 [2020-05-11T14:17:13.312Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:17:13.312Z] [100%] Built target device-terminalv2 [2020-05-11T14:17:13.312Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:17:13.312Z] Install the project... [2020-05-11T14:17:13.312Z] -- Install configuration: "Release" [2020-05-11T14:17:13.312Z] -- Installing: /usr/local/lib/libcsdk.so [2020-05-11T14:17:13.312Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-05-11T14:17:13.312Z] -- Up-to-date: /usr/local/include [2020-05-11T14:17:13.312Z] -- Installing: /usr/local/include/devsdk [2020-05-11T14:17:13.312Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-05-11T14:17:13.312Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-05-11T14:17:13.312Z] -- Installing: /usr/local/include/edgex [2020-05-11T14:17:13.312Z] -- Installing: /usr/local/include/edgex/devices.h [2020-05-11T14:17:13.312Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-05-11T14:17:13.312Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-05-11T14:17:13.312Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-05-11T14:17:13.312Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-05-11T14:17:13.312Z] -- Installing: /usr/local/include/edgex/error.h [2020-05-11T14:17:13.312Z] -- Installing: /usr/local/include/edgex/registry.h [2020-05-11T14:17:13.312Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-05-11T14:17:13.312Z] -- Installing: /usr/local/include/edgex/os.h [2020-05-11T14:17:13.312Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-05-11T14:17:13.312Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-05-11T14:17:13.312Z] -- Installing: /usr/local/include/edgex/edgex-logging.h [2020-05-11T14:17:13.312Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-05-11T14:17:13.312Z] -- Installing: /usr/local/include/iot [2020-05-11T14:17:13.312Z] -- Installing: /usr/local/include/iot/hash.h [2020-05-11T14:17:13.312Z] -- Installing: /usr/local/include/iot/thread.h [2020-05-11T14:17:13.312Z] -- Installing: /usr/local/include/iot/json.h [2020-05-11T14:17:13.312Z] -- Installing: /usr/local/include/iot/os [2020-05-11T14:17:13.312Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-05-11T14:17:13.312Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-05-11T14:17:13.312Z] -- Installing: /usr/local/include/iot/typecode.h [2020-05-11T14:17:13.312Z] -- Installing: /usr/local/include/iot/base64.h [2020-05-11T14:17:13.312Z] -- Installing: /usr/local/include/iot/container.h [2020-05-11T14:17:13.312Z] -- Installing: /usr/local/include/iot/data.h [2020-05-11T14:17:13.312Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-05-11T14:17:13.312Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-05-11T14:17:13.312Z] -- Installing: /usr/local/include/iot/component.h [2020-05-11T14:17:13.312Z] -- Installing: /usr/local/include/iot/os.h [2020-05-11T14:17:13.312Z] -- Installing: /usr/local/include/iot/logger.h [2020-05-11T14:17:13.312Z] -- Installing: /usr/local/include/iot/time.h [2020-05-11T14:17:13.312Z] -- Installing: /usr/local/include/iot/iot.h [2020-05-11T14:17:13.312Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-05-11T14:17:13.312Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-05-11T14:17:13.312Z] make: Leaving directory '/tmp/sdk/build/release' [2020-05-11T14:17:16.002Z] Removing intermediate container 8c8842c5db45 [2020-05-11T14:17:16.002Z] ---> c21706e94b1e [2020-05-11T14:17:16.002Z] Step 14/21 : FROM alpine:3.9 [2020-05-11T14:17:16.002Z] 3.9: Pulling from library/alpine [2020-05-11T14:17:16.002Z] 941f399634ec: Pulling fs layer [2020-05-11T14:17:16.667Z] 941f399634ec: Verifying Checksum [2020-05-11T14:17:16.667Z] 941f399634ec: Download complete [2020-05-11T14:17:16.936Z] 941f399634ec: Pull complete [2020-05-11T14:17:16.936Z] Digest: sha256:414e0518bb9228d35e4cd5165567fb91d26c6a214e9c95899e1e056fcd349011 [2020-05-11T14:17:16.936Z] Status: Downloaded newer image for alpine:3.9 [2020-05-11T14:17:16.936Z] ---> 9afdd4a290bf [2020-05-11T14:17:16.936Z] Step 15/21 : MAINTAINER IOTech [2020-05-11T14:17:17.203Z] ---> Running in 8929094ba6de [2020-05-11T14:17:17.471Z] Removing intermediate container 8929094ba6de [2020-05-11T14:17:17.471Z] ---> fc64f88aea6e [2020-05-11T14:17:17.471Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-05-11T14:17:17.738Z] ---> Running in 76c9030f6fd9 [2020-05-11T14:17:18.700Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-05-11T14:17:18.701Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-05-11T14:17:19.285Z] (1/48) Installing binutils (2.31.1-r2) [2020-05-11T14:17:19.553Z] (2/48) Installing libmagic (5.36-r1) [2020-05-11T14:17:19.553Z] (3/48) Installing file (5.36-r1) [2020-05-11T14:17:19.553Z] (4/48) Installing gmp (6.1.2-r1) [2020-05-11T14:17:19.553Z] (5/48) Installing isl (0.18-r0) [2020-05-11T14:17:19.553Z] (6/48) Installing libgomp (8.3.0-r0) [2020-05-11T14:17:19.553Z] (7/48) Installing libatomic (8.3.0-r0) [2020-05-11T14:17:19.553Z] (8/48) Installing libgcc (8.3.0-r0) [2020-05-11T14:17:19.553Z] (9/48) Installing mpfr3 (3.1.5-r1) [2020-05-11T14:17:19.553Z] (10/48) Installing mpc1 (1.0.3-r1) [2020-05-11T14:17:19.553Z] (11/48) Installing libstdc++ (8.3.0-r0) [2020-05-11T14:17:19.553Z] (12/48) Installing gcc (8.3.0-r0) [2020-05-11T14:17:20.967Z] (13/48) Installing musl-dev (1.1.20-r5) [2020-05-11T14:17:21.233Z] (14/48) Installing libc-dev (0.7.1-r0) [2020-05-11T14:17:21.233Z] (15/48) Installing g++ (8.3.0-r0) [2020-05-11T14:17:22.640Z] (16/48) Installing make (4.2.1-r2) [2020-05-11T14:17:22.640Z] (17/48) Installing fortify-headers (1.0-r0) [2020-05-11T14:17:22.640Z] (18/48) Installing build-base (0.5-r1) [2020-05-11T14:17:22.640Z] (19/48) Installing libattr (2.4.47-r7) [2020-05-11T14:17:22.640Z] (20/48) Installing libacl (2.2.52-r5) [2020-05-11T14:17:22.640Z] (21/48) Installing libbz2 (1.0.6-r7) [2020-05-11T14:17:22.640Z] (22/48) Installing expat (2.2.8-r0) [2020-05-11T14:17:22.640Z] (23/48) Installing lz4-libs (1.8.3-r2) [2020-05-11T14:17:22.640Z] (24/48) Installing xz-libs (5.2.4-r0) [2020-05-11T14:17:22.640Z] (25/48) Installing libarchive (3.3.3-r2) [2020-05-11T14:17:22.640Z] (26/48) Installing ca-certificates (20191127-r0) [2020-05-11T14:17:22.640Z] (27/48) Installing nghttp2-libs (1.35.1-r1) [2020-05-11T14:17:22.640Z] (28/48) Installing libssh2 (1.9.0-r1) [2020-05-11T14:17:22.640Z] (29/48) Installing libcurl (7.64.0-r3) [2020-05-11T14:17:22.640Z] (30/48) Installing ncurses-terminfo-base (6.1_p20190105-r0) [2020-05-11T14:17:22.640Z] (31/48) Installing ncurses-terminfo (6.1_p20190105-r0) [2020-05-11T14:17:23.598Z] (32/48) Installing ncurses-libs (6.1_p20190105-r0) [2020-05-11T14:17:23.598Z] (33/48) Installing rhash-libs (1.3.6-r2) [2020-05-11T14:17:23.598Z] (34/48) Installing libuv (1.23.2-r0) [2020-05-11T14:17:23.598Z] (35/48) Installing cmake (3.13.0-r0) [2020-05-11T14:17:25.003Z] (36/48) Installing curl (7.64.0-r3) [2020-05-11T14:17:25.269Z] (37/48) Installing pcre2 (10.32-r1) [2020-05-11T14:17:25.269Z] (38/48) Installing git (2.20.4-r0) [2020-05-11T14:17:25.853Z] (39/48) Installing nettle (3.4.1-r0) [2020-05-11T14:17:25.853Z] (40/48) Installing libffi (3.2.1-r6) [2020-05-11T14:17:25.853Z] (41/48) Installing p11-kit (0.23.14-r0) [2020-05-11T14:17:26.120Z] (42/48) Installing libtasn1 (4.14-r0) [2020-05-11T14:17:26.120Z] (43/48) Installing libunistring (0.9.10-r0) [2020-05-11T14:17:26.120Z] (44/48) Installing gnutls (3.6.7-r1) [2020-05-11T14:17:26.120Z] (45/48) Installing libmicrohttpd (0.9.62-r0) [2020-05-11T14:17:26.120Z] (46/48) Installing libuuid (2.33-r0) [2020-05-11T14:17:26.120Z] (47/48) Installing wget (1.20.3-r0) [2020-05-11T14:17:26.120Z] (48/48) Installing yaml (0.2.1-r0) [2020-05-11T14:17:26.120Z] Executing busybox-1.29.3-r10.trigger [2020-05-11T14:17:26.120Z] Executing ca-certificates-20191127-r0.trigger [2020-05-11T14:17:26.387Z] OK: 219 MiB in 62 packages [2020-05-11T14:17:41.392Z] Removing intermediate container 76c9030f6fd9 [2020-05-11T14:17:41.392Z] ---> a1415ee28f81 [2020-05-11T14:17:41.392Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-05-11T14:17:41.392Z] ---> 1c07f1a34b60 [2020-05-11T14:17:41.392Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-05-11T14:17:41.392Z] ---> 3c1cefc151a5 [2020-05-11T14:17:41.392Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-05-11T14:17:41.392Z] ---> f9a114d2fe92 [2020-05-11T14:17:41.392Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-05-11T14:17:41.976Z] ---> 55d3cb706f91 [2020-05-11T14:17:41.976Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-05-11T14:17:42.246Z] ---> c4f8305adf8f [2020-05-11T14:17:42.513Z] Successfully built c4f8305adf8f [2020-05-11T14:17:42.513Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-05-11T14:17:43.195Z] + docker inspect -f . ci-base-image-arm64 [2020-05-11T14:17:43.195Z] . [Pipeline] withDockerContainer [2020-05-11T14:17:43.794Z] prd-ubuntu18.04-docker-arm64-4c-16g-7861 does not seem to be running inside a container [2020-05-11T14:17:43.869Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/19 -v /w/workspace/device-sdk-c/19:/w/workspace/device-sdk-c/19:rw,z -v /w/workspace/device-sdk-c/19@tmp:/w/workspace/device-sdk-c/19@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-05-11T14:17:45.244Z] $ docker top ab8cfb9a1a6800199e2aef469c85f38b9dcdd5248c7cceb2cb693e61ac01e389 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-05-11T14:17:46.308Z] + make test [2020-05-11T14:17:46.308Z] echo "make test" [2020-05-11T14:17:46.308Z] make test [Pipeline] } [2020-05-11T14:17:46.326Z] $ docker stop --time=1 ab8cfb9a1a6800199e2aef469c85f38b9dcdd5248c7cceb2cb693e61ac01e389 [2020-05-11T14:17:48.302Z] $ docker rm -f ab8cfb9a1a6800199e2aef469c85f38b9dcdd5248c7cceb2cb693e61ac01e389 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-05-11T14:17:49.328Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-05-11T14:17:49.650Z] + ls -al . [2020-05-11T14:17:49.651Z] total 192 [2020-05-11T14:17:49.651Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 14:14 . [2020-05-11T14:17:49.651Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 14:14 .. [2020-05-11T14:17:49.651Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 14:14 .git [2020-05-11T14:17:49.651Z] -rw-rw-r-- 1 jenkins jenkins 176 May 11 14:14 .gitignore [2020-05-11T14:17:49.651Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 14:14 .semver [2020-05-11T14:17:49.651Z] -rw-rw-r-- 1 jenkins jenkins 3104 May 11 14:14 Attribution.txt [2020-05-11T14:17:49.651Z] -rw-rw-r-- 1 jenkins jenkins 5325 May 11 14:14 CHANGES [2020-05-11T14:17:49.651Z] -rw-rw-r-- 1 jenkins jenkins 108574 May 11 14:14 Doxyfile [2020-05-11T14:17:49.651Z] -rw-rw-r-- 1 jenkins jenkins 792 May 11 14:14 Jenkinsfile [2020-05-11T14:17:49.651Z] -rw-rw-r-- 1 jenkins jenkins 10174 May 11 14:14 LICENSE [2020-05-11T14:17:49.651Z] -rw-rw-r-- 1 jenkins jenkins 448 May 11 14:14 Makefile [2020-05-11T14:17:49.651Z] -rw-rw-r-- 1 jenkins jenkins 1849 May 11 14:14 README.md [2020-05-11T14:17:49.651Z] -rw-rw-r-- 1 jenkins jenkins 5287 May 11 14:14 README.v2.md [2020-05-11T14:17:49.651Z] -rw-rw-r-- 1 jenkins jenkins 11 May 11 14:12 VERSION [2020-05-11T14:17:49.651Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 14:14 docs [2020-05-11T14:17:49.651Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 14:14 include [2020-05-11T14:17:49.651Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 14:14 scripts [2020-05-11T14:17:49.651Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 14:14 src [Pipeline] isUnix [Pipeline] sh [2020-05-11T14:17:49.985Z] + docker build -t docker-device-sdk-c-arm64 -f scripts/Dockerfile.alpine-3.9 --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=784285b3e5560c6aed2cdbdbbb8eed209f7721e1 --label arch=arm64 --label version=1.2.1-dev.1 . [2020-05-11T14:17:50.570Z] Sending build context to Docker daemon 3.087MB [2020-05-11T14:17:50.570Z] Step 1/15 : ARG BASE=alpine:3.9 [2020-05-11T14:17:50.570Z] Step 2/15 : FROM ${BASE} [2020-05-11T14:17:50.570Z] ---> c4f8305adf8f [2020-05-11T14:17:50.570Z] Step 3/15 : MAINTAINER IOTech [2020-05-11T14:17:50.570Z] ---> Running in 6b570b923872 [2020-05-11T14:17:51.153Z] Removing intermediate container 6b570b923872 [2020-05-11T14:17:51.153Z] ---> e72dc054690b [2020-05-11T14:17:51.153Z] Step 4/15 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev && mkdir -p /edgex-c-sdk/build [2020-05-11T14:17:51.153Z] ---> Running in 121dcbd16dc0 [2020-05-11T14:17:52.114Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-05-11T14:17:52.114Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-05-11T14:17:52.696Z] (1/21) Installing pkgconf (1.6.0-r0) [2020-05-11T14:17:52.696Z] (2/21) Installing openssl-dev (1.1.1g-r0) [2020-05-11T14:17:52.965Z] (3/21) Installing zlib-dev (1.2.11-r1) [2020-05-11T14:17:52.965Z] (4/21) Installing libssh2-dev (1.9.0-r1) [2020-05-11T14:17:53.232Z] (5/21) Installing nghttp2-dev (1.35.1-r1) [2020-05-11T14:17:53.232Z] (6/21) Installing curl-dev (7.64.0-r3) [2020-05-11T14:17:53.232Z] (7/21) Installing gnutls-c++ (3.6.7-r1) [2020-05-11T14:17:53.232Z] (8/21) Installing libgmpxx (6.1.2-r1) [2020-05-11T14:17:53.232Z] (9/21) Installing gmp-dev (6.1.2-r1) [2020-05-11T14:17:53.232Z] (10/21) Installing nettle-dev (3.4.1-r0) [2020-05-11T14:17:53.498Z] (11/21) Installing libtasn1-dev (4.14-r0) [2020-05-11T14:17:53.498Z] (12/21) Installing p11-kit-dev (0.23.14-r0) [2020-05-11T14:17:53.498Z] (13/21) Installing gnutls-dev (3.6.7-r1) [2020-05-11T14:17:53.766Z] (14/21) Installing libmicrohttpd-dev (0.9.62-r0) [2020-05-11T14:17:53.766Z] (15/21) Installing ncurses-dev (6.1_p20190105-r0) [2020-05-11T14:17:53.766Z] (16/21) Installing libblkid (2.33-r0) [2020-05-11T14:17:53.766Z] (17/21) Installing libfdisk (2.33-r0) [2020-05-11T14:17:53.766Z] (18/21) Installing libmount (2.33-r0) [2020-05-11T14:17:53.766Z] (19/21) Installing libsmartcols (2.33-r0) [2020-05-11T14:17:53.766Z] (20/21) Installing util-linux-dev (2.33-r0) [2020-05-11T14:17:53.766Z] (21/21) Installing yaml-dev (0.2.1-r0) [2020-05-11T14:17:53.766Z] Executing busybox-1.29.3-r10.trigger [2020-05-11T14:17:53.766Z] OK: 279 MiB in 83 packages [2020-05-11T14:17:57.132Z] Removing intermediate container 121dcbd16dc0 [2020-05-11T14:17:57.132Z] ---> 88445a3ecc5a [2020-05-11T14:17:57.132Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-05-11T14:17:57.714Z] ---> f9ac767e094b [2020-05-11T14:17:57.714Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-05-11T14:17:58.301Z] ---> 3af33787067a [2020-05-11T14:17:58.301Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-05-11T14:17:58.885Z] ---> 73f9cfd34f25 [2020-05-11T14:17:58.885Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-05-11T14:17:59.468Z] ---> ff4356ea16e2 [2020-05-11T14:17:59.468Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-05-11T14:17:59.737Z] ---> 44182cbc3dae [2020-05-11T14:17:59.737Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-05-11T14:18:00.321Z] ---> 001c94c3fe7c [2020-05-11T14:18:00.321Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-05-11T14:18:00.589Z] ---> Running in 5a4e4bae6290 [2020-05-11T14:18:00.856Z] Removing intermediate container 5a4e4bae6290 [2020-05-11T14:18:00.856Z] ---> d26853c0b996 [2020-05-11T14:18:00.856Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-05-11T14:18:01.123Z] ---> Running in 574386495d64 [2020-05-11T14:18:01.391Z] Removing intermediate container 574386495d64 [2020-05-11T14:18:01.391Z] ---> 0c7c266060a4 [2020-05-11T14:18:01.391Z] Step 13/15 : LABEL arch=arm64 [2020-05-11T14:18:01.391Z] ---> Running in 07cabc0b64e1 [2020-05-11T14:18:01.976Z] Removing intermediate container 07cabc0b64e1 [2020-05-11T14:18:01.976Z] ---> 0ebffbd6109c [2020-05-11T14:18:01.976Z] Step 14/15 : LABEL git_sha=784285b3e5560c6aed2cdbdbbb8eed209f7721e1 [2020-05-11T14:18:01.976Z] ---> Running in a948b946c735 [2020-05-11T14:18:02.243Z] Removing intermediate container a948b946c735 [2020-05-11T14:18:02.243Z] ---> 4e9bf8b6ba3f [2020-05-11T14:18:02.243Z] Step 15/15 : LABEL version=1.2.1-dev.1 [2020-05-11T14:18:02.510Z] ---> Running in e2c2db1cb561 [2020-05-11T14:18:02.776Z] Removing intermediate container e2c2db1cb561 [2020-05-11T14:18:02.776Z] ---> 28fa1f1bc7e6 [2020-05-11T14:18:02.776Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2020-05-11T14:18:02.776Z] Successfully built 28fa1f1bc7e6 [2020-05-11T14:18:02.776Z] Successfully tagged docker-device-sdk-c-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh [2020-05-11T14:18:04.561Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-05-11T14:18:04.561Z] . [Pipeline] withDockerContainer [2020-05-11T14:18:04.705Z] prd-centos7-docker-4c-2g-7860 does not seem to be running inside a container [2020-05-11T14:18:04.752Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-05-11T14:18:05.500Z] $ docker top 1b139ee9b37d3d5c1e9b4ecdc28f45b0122f065cc0dd9a4a859521188f9f6665 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-05-11T14:18:05.757Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-05-11T14:18:05.757Z] [ssh-agent] Looking for ssh-agent implementation... [2020-05-11T14:18:06.009Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-05-11T14:18:06.012Z] $ docker exec 1b139ee9b37d3d5c1e9b4ecdc28f45b0122f065cc0dd9a4a859521188f9f6665 ssh-agent [2020-05-11T14:18:06.218Z] SSH_AUTH_SOCK=/tmp/ssh-DfENyT6H4ebn/agent.15 [2020-05-11T14:18:06.218Z] SSH_AGENT_PID=22 [2020-05-11T14:18:06.225Z] Running ssh-add (command line suppressed) [2020-05-11T14:18:06.381Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_237300352107572027.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_237300352107572027.key) [2020-05-11T14:18:06.433Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-05-11T14:18:06.754Z] + git semver tag [2020-05-11T14:18:06.754Z] # -> Open(): unable to determine branch for HEAD [2020-05-11T14:18:06.754Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2020-05-11T14:18:06.754Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2020-05-11T14:18:06.754Z] # $SEMVER_REMOTE_NAME = origin [2020-05-11T14:18:06.754Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-05-11T14:18:06.754Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-05-11T14:18:06.754Z] # $SEMVER_BRANCH = master [2020-05-11T14:18:06.754Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [2020-05-11T14:18:06.754Z] # 784285b3e5560c6aed2cdbdbbb8eed209f7721e1 HEAD [2020-05-11T14:18:06.754Z] # -> Force: false [2020-05-11T14:18:06.754Z] # 696ed8eff444dc1a32ad692985056a8fa1a141be refs/tags/v1.2.1-dev.1 [Pipeline] } [2020-05-11T14:18:06.763Z] $ docker exec --env ******** --env ******** 1b139ee9b37d3d5c1e9b4ecdc28f45b0122f065cc0dd9a4a859521188f9f6665 ssh-agent -k [2020-05-11T14:18:06.926Z] unset SSH_AUTH_SOCK; [2020-05-11T14:18:06.927Z] unset SSH_AGENT_PID; [2020-05-11T14:18:06.927Z] echo Agent pid 22 killed; [2020-05-11T14:18:06.965Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-05-11T14:18:07.375Z] + git semver [Pipeline] } [2020-05-11T14:18:07.390Z] $ docker stop --time=1 1b139ee9b37d3d5c1e9b4ecdc28f45b0122f065cc0dd9a4a859521188f9f6665 [2020-05-11T14:18:08.737Z] $ docker rm -f 1b139ee9b37d3d5c1e9b4ecdc28f45b0122f065cc0dd9a4a859521188f9f6665 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-05-11T14:18:09.312Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-05-11T14:18:09.312Z] [2020-05-11T14:18:09.312Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-05-11T14:18:09.651Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-05-11T14:18:09.651Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-05-11T14:18:09.651Z] ab5ef0e58194: Pulling fs layer [2020-05-11T14:18:09.651Z] 9712f1f96733: Pulling fs layer [2020-05-11T14:18:09.651Z] 63f879dbbcfc: Pulling fs layer [2020-05-11T14:18:09.651Z] 0d9ebad4ef96: Pulling fs layer [2020-05-11T14:18:09.651Z] e9a5061849ea: Pulling fs layer [2020-05-11T14:18:09.651Z] d747dcd14b5f: Pulling fs layer [2020-05-11T14:18:09.651Z] 2de7ff778b66: Pulling fs layer [2020-05-11T14:18:09.651Z] e9a5061849ea: Waiting [2020-05-11T14:18:09.651Z] d747dcd14b5f: Waiting [2020-05-11T14:18:09.651Z] 2de7ff778b66: Waiting [2020-05-11T14:18:09.651Z] 0d9ebad4ef96: Waiting [2020-05-11T14:18:09.651Z] 9712f1f96733: Verifying Checksum [2020-05-11T14:18:09.651Z] 9712f1f96733: Download complete [2020-05-11T14:18:10.243Z] 63f879dbbcfc: Download complete [2020-05-11T14:18:10.511Z] e9a5061849ea: Verifying Checksum [2020-05-11T14:18:10.511Z] e9a5061849ea: Download complete [2020-05-11T14:18:10.511Z] d747dcd14b5f: Verifying Checksum [2020-05-11T14:18:10.511Z] d747dcd14b5f: Download complete [2020-05-11T14:18:10.778Z] 0d9ebad4ef96: Verifying Checksum [2020-05-11T14:18:10.778Z] 0d9ebad4ef96: Download complete [2020-05-11T14:18:10.778Z] ab5ef0e58194: Verifying Checksum [2020-05-11T14:18:10.778Z] ab5ef0e58194: Download complete [2020-05-11T14:18:10.778Z] 2de7ff778b66: Verifying Checksum [2020-05-11T14:18:10.778Z] 2de7ff778b66: Download complete [2020-05-11T14:18:14.986Z] ab5ef0e58194: Pull complete [2020-05-11T14:18:15.246Z] 9712f1f96733: Pull complete [2020-05-11T14:18:17.790Z] 63f879dbbcfc: Pull complete [2020-05-11T14:18:24.379Z] 0d9ebad4ef96: Pull complete [2020-05-11T14:18:24.379Z] e9a5061849ea: Pull complete [2020-05-11T14:18:24.379Z] d747dcd14b5f: Pull complete [2020-05-11T14:18:28.581Z] 2de7ff778b66: Pull complete [2020-05-11T14:18:28.581Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-05-11T14:18:28.840Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-05-11T14:18:28.987Z] prd-centos7-docker-4c-2g-7860 does not seem to be running inside a container [2020-05-11T14:18:29.029Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-05-11T14:18:29.763Z] $ docker top 9ee3d985a09ba7ae9096da27a799879c79bde7f439e2305a878789911073ea91 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-05-11T14:18:29.986Z] provisioning config files... [2020-05-11T14:18:30.001Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config3105995378499928825tmp [2020-05-11T14:18:30.019Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config3917256526796855333tmp [2020-05-11T14:18:30.035Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config8445517540785663894tmp [Pipeline] { [Pipeline] echo [2020-05-11T14:18:30.076Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-11T14:18:30.375Z] ---> sigul-configuration.sh [2020-05-11T14:18:30.636Z] gpg: directory `/root/.gnupg' created [2020-05-11T14:18:30.637Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-05-11T14:18:30.637Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-05-11T14:18:30.637Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-05-11T14:18:30.637Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-05-11T14:18:30.637Z] gpg: CAST5 encrypted data [2020-05-11T14:18:30.637Z] gpg: encrypted with 1 passphrase [2020-05-11T14:18:30.637Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-05-11T14:18:30.929Z] + mkdir /home/jenkins [2020-05-11T14:18:30.929Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-05-11T14:18:31.220Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo [2020-05-11T14:18:31.227Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-11T14:18:31.517Z] ---> sigul-install.sh [2020-05-11T14:18:36.813Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-05-11T14:18:37.212Z] + git tag --list [2020-05-11T14:18:37.213Z] v1.2.1-dev.1 [Pipeline] sh [2020-05-11T14:18:37.505Z] + lftools sign git-tag v1.2.1-dev.1 [2020-05-11T14:18:38.892Z] Signing Git tag with Sigul... [2020-05-11T14:18:38.892Z] Signing v1.2.1-dev.1 [Pipeline] echo [2020-05-11T14:18:39.842Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-11T14:18:40.139Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-05-11T14:18:40.146Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-05-11T14:18:40.286Z] $ docker stop --time=1 9ee3d985a09ba7ae9096da27a799879c79bde7f439e2305a878789911073ea91 [2020-05-11T14:18:42.540Z] $ docker rm -f 9ee3d985a09ba7ae9096da27a799879c79bde7f439e2305a878789911073ea91 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-05-11T14:18:43.298Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-05-11T14:18:43.298Z] . [Pipeline] withDockerContainer [2020-05-11T14:18:43.422Z] prd-centos7-docker-4c-2g-7860 does not seem to be running inside a container [2020-05-11T14:18:43.464Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-05-11T14:18:44.105Z] $ docker top ddd530c380b8673bf78aa4635c0c320d5362e569a2e0943469d12f363b2d5435 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-05-11T14:18:44.376Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-05-11T14:18:44.376Z] [ssh-agent] Looking for ssh-agent implementation... [2020-05-11T14:18:44.610Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-05-11T14:18:44.614Z] $ docker exec ddd530c380b8673bf78aa4635c0c320d5362e569a2e0943469d12f363b2d5435 ssh-agent [2020-05-11T14:18:44.822Z] SSH_AUTH_SOCK=/tmp/ssh-IhbxbQQ9F7ZG/agent.15 [2020-05-11T14:18:44.822Z] SSH_AGENT_PID=22 [2020-05-11T14:18:44.831Z] Running ssh-add (command line suppressed) [2020-05-11T14:18:44.985Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_7595674681094285022.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_7595674681094285022.key) [2020-05-11T14:18:45.037Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-05-11T14:18:45.362Z] + git semver bump pre [2020-05-11T14:18:45.362Z] # -> Open(): unable to determine branch for HEAD [2020-05-11T14:18:45.362Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2020-05-11T14:18:45.362Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2020-05-11T14:18:45.362Z] # $SEMVER_REMOTE_NAME = origin [2020-05-11T14:18:45.362Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-05-11T14:18:45.362Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-05-11T14:18:45.362Z] # $SEMVER_BRANCH = master [2020-05-11T14:18:45.362Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [2020-05-11T14:18:45.362Z] 1.2.1-dev.2 [Pipeline] } [2020-05-11T14:18:45.372Z] $ docker exec --env ******** --env ******** ddd530c380b8673bf78aa4635c0c320d5362e569a2e0943469d12f363b2d5435 ssh-agent -k [2020-05-11T14:18:45.515Z] unset SSH_AUTH_SOCK; [2020-05-11T14:18:45.515Z] unset SSH_AGENT_PID; [2020-05-11T14:18:45.517Z] echo Agent pid 22 killed; [2020-05-11T14:18:45.555Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-05-11T14:18:46.079Z] + git semver [Pipeline] } [2020-05-11T14:18:46.094Z] $ docker stop --time=1 ddd530c380b8673bf78aa4635c0c320d5362e569a2e0943469d12f363b2d5435 [2020-05-11T14:18:47.428Z] $ docker rm -f ddd530c380b8673bf78aa4635c0c320d5362e569a2e0943469d12f363b2d5435 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-05-11T14:18:47.983Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-05-11T14:18:47.983Z] . [Pipeline] withDockerContainer [2020-05-11T14:18:48.182Z] prd-centos7-docker-4c-2g-7860 does not seem to be running inside a container [2020-05-11T14:18:48.262Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-05-11T14:18:48.834Z] $ docker top b8ed770fad4454b28ddfb03e359b7484ed61f241a7a7e873809f74dd64a4c041 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-05-11T14:18:49.110Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-05-11T14:18:49.110Z] [ssh-agent] Looking for ssh-agent implementation... [2020-05-11T14:18:49.331Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-05-11T14:18:49.334Z] $ docker exec b8ed770fad4454b28ddfb03e359b7484ed61f241a7a7e873809f74dd64a4c041 ssh-agent [2020-05-11T14:18:49.539Z] SSH_AUTH_SOCK=/tmp/ssh-OJ3jVXoiDg4r/agent.15 [2020-05-11T14:18:49.539Z] SSH_AGENT_PID=22 [2020-05-11T14:18:49.546Z] Running ssh-add (command line suppressed) [2020-05-11T14:18:49.697Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_7377185948345058560.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_7377185948345058560.key) [2020-05-11T14:18:49.745Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-05-11T14:18:50.064Z] + git semver push [2020-05-11T14:18:50.065Z] # -> Open(): unable to determine branch for HEAD [2020-05-11T14:18:50.065Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2020-05-11T14:18:50.065Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2020-05-11T14:18:50.065Z] # $SEMVER_REMOTE_NAME = origin [2020-05-11T14:18:50.065Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-05-11T14:18:50.065Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-05-11T14:18:50.065Z] # $SEMVER_BRANCH = master [2020-05-11T14:18:50.065Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [Pipeline] } [2020-05-11T14:18:58.191Z] $ docker exec --env ******** --env ******** b8ed770fad4454b28ddfb03e359b7484ed61f241a7a7e873809f74dd64a4c041 ssh-agent -k [2020-05-11T14:18:58.331Z] unset SSH_AUTH_SOCK; [2020-05-11T14:18:58.331Z] unset SSH_AGENT_PID; [2020-05-11T14:18:58.331Z] echo Agent pid 22 killed; [2020-05-11T14:18:58.369Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-05-11T14:18:58.829Z] + git semver [Pipeline] } [2020-05-11T14:18:58.843Z] $ docker stop --time=1 b8ed770fad4454b28ddfb03e359b7484ed61f241a7a7e873809f74dd64a4c041 [2020-05-11T14:19:00.213Z] $ docker rm -f b8ed770fad4454b28ddfb03e359b7484ed61f241a7a7e873809f74dd64a4c041 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-05-11T14:19:00.991Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-11T14:19:01.287Z] ---> package-listing.sh [2020-05-11T14:19:01.287Z] ++ facter osfamily [2020-05-11T14:19:01.287Z] ++ tr '[:upper:]' '[:lower:]' [2020-05-11T14:19:01.287Z] + OS_FAMILY=redhat [2020-05-11T14:19:01.287Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_master [2020-05-11T14:19:01.287Z] + START_PACKAGES=/tmp/packages_start.txt [2020-05-11T14:19:01.287Z] + END_PACKAGES=/tmp/packages_end.txt [2020-05-11T14:19:01.287Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-05-11T14:19:01.287Z] + PACKAGES=/tmp/packages_start.txt [2020-05-11T14:19:01.287Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_master ']' [2020-05-11T14:19:01.287Z] + PACKAGES=/tmp/packages_end.txt [2020-05-11T14:19:01.287Z] + case "${OS_FAMILY}" in [2020-05-11T14:19:01.287Z] + rpm -qa [2020-05-11T14:19:01.287Z] + sort [2020-05-11T14:19:04.579Z] + '[' -f /tmp/packages_start.txt ']' [2020-05-11T14:19:04.579Z] + '[' -f /tmp/packages_end.txt ']' [2020-05-11T14:19:04.579Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-05-11T14:19:04.579Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_master ']' [2020-05-11T14:19:04.579Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_master/archives/ [2020-05-11T14:19:04.579Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_master/archives/ [Pipeline] isUnix [Pipeline] sh [2020-05-11T14:19:04.947Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-05-11T14:19:04.947Z] [2020-05-11T14:19:04.947Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-05-11T14:19:05.317Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-05-11T14:19:05.317Z] alpine: Pulling from edgex-lftools-log-publisher [2020-05-11T14:19:05.317Z] c9b1b535fdd9: Pulling fs layer [2020-05-11T14:19:05.317Z] 2cc5ad85d9ab: Pulling fs layer [2020-05-11T14:19:05.317Z] 756a868c4378: Pulling fs layer [2020-05-11T14:19:05.317Z] 444b2fc9a129: Pulling fs layer [2020-05-11T14:19:05.317Z] ea15f1150254: Pulling fs layer [2020-05-11T14:19:05.317Z] 41b27a9f41bf: Pulling fs layer [2020-05-11T14:19:05.317Z] 28c525ee5125: Pulling fs layer [2020-05-11T14:19:05.317Z] 094b1ea09ed8: Pulling fs layer [2020-05-11T14:19:05.317Z] 138eaada9080: Pulling fs layer [2020-05-11T14:19:05.317Z] 0622d0fa9048: Pulling fs layer [2020-05-11T14:19:05.317Z] ea15f1150254: Waiting [2020-05-11T14:19:05.317Z] 41b27a9f41bf: Waiting [2020-05-11T14:19:05.317Z] 28c525ee5125: Waiting [2020-05-11T14:19:05.317Z] 094b1ea09ed8: Waiting [2020-05-11T14:19:05.317Z] 0622d0fa9048: Waiting [2020-05-11T14:19:05.317Z] 138eaada9080: Waiting [2020-05-11T14:19:05.317Z] 444b2fc9a129: Waiting [2020-05-11T14:19:05.317Z] 2cc5ad85d9ab: Verifying Checksum [2020-05-11T14:19:05.317Z] 2cc5ad85d9ab: Download complete [2020-05-11T14:19:05.317Z] 444b2fc9a129: Verifying Checksum [2020-05-11T14:19:05.317Z] 444b2fc9a129: Download complete [2020-05-11T14:19:05.317Z] c9b1b535fdd9: Download complete [2020-05-11T14:19:05.317Z] ea15f1150254: Verifying Checksum [2020-05-11T14:19:05.317Z] ea15f1150254: Download complete [2020-05-11T14:19:05.586Z] 28c525ee5125: Verifying Checksum [2020-05-11T14:19:05.586Z] 28c525ee5125: Download complete [2020-05-11T14:19:05.854Z] 756a868c4378: Verifying Checksum [2020-05-11T14:19:05.854Z] 756a868c4378: Download complete [2020-05-11T14:19:06.126Z] 138eaada9080: Verifying Checksum [2020-05-11T14:19:06.126Z] 138eaada9080: Download complete [2020-05-11T14:19:06.126Z] 094b1ea09ed8: Verifying Checksum [2020-05-11T14:19:06.126Z] 094b1ea09ed8: Download complete [2020-05-11T14:19:06.126Z] 0622d0fa9048: Verifying Checksum [2020-05-11T14:19:06.127Z] 0622d0fa9048: Download complete [2020-05-11T14:19:06.127Z] c9b1b535fdd9: Pull complete [2020-05-11T14:19:06.715Z] 2cc5ad85d9ab: Pull complete [2020-05-11T14:19:06.715Z] 41b27a9f41bf: Verifying Checksum [2020-05-11T14:19:06.715Z] 41b27a9f41bf: Download complete [2020-05-11T14:19:08.092Z] 756a868c4378: Pull complete [2020-05-11T14:19:08.351Z] 444b2fc9a129: Pull complete [2020-05-11T14:19:08.351Z] ea15f1150254: Pull complete [2020-05-11T14:19:11.644Z] 41b27a9f41bf: Pull complete [2020-05-11T14:19:11.904Z] 28c525ee5125: Pull complete [2020-05-11T14:19:16.115Z] 094b1ea09ed8: Pull complete [2020-05-11T14:19:16.115Z] 138eaada9080: Pull complete [2020-05-11T14:19:16.115Z] 0622d0fa9048: Pull complete [2020-05-11T14:19:16.115Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-05-11T14:19:16.115Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-05-11T14:19:16.239Z] prd-centos7-docker-4c-2g-7860 does not seem to be running inside a container [2020-05-11T14:19:16.291Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-05-11T14:19:16.861Z] $ docker top c99bcdd09be0797824d318b23c5b3f875fdaf1d02a55fa9c396116c5f548e331 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-05-11T14:19:17.146Z] provisioning config files... [2020-05-11T14:19:17.163Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config1102857552478535078tmp [Pipeline] { [Pipeline] echo [2020-05-11T14:19:17.210Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-11T14:19:17.502Z] ---> create-netrc.sh [Pipeline] echo [2020-05-11T14:19:17.510Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-11T14:19:17.802Z] ---> logs-deploy.sh [2020-05-11T14:19:17.802Z] + ARCHIVE_ARTIFACTS= [2020-05-11T14:19:17.802Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-05-11T14:19:17.802Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-05-11T14:19:17.802Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-05-11T14:19:17.802Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/master/19 [2020-05-11T14:19:17.802Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/master/19/ [2020-05-11T14:19:17.802Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/master/19 /w/workspace/edgexfoundry_device-sdk-c_master [2020-05-11T14:19:19.187Z] Archives upload complete. [2020-05-11T14:19:19.187Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/master/19 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/master/19/ [2020-05-11T14:19:19.754Z] ---> uname -a: [2020-05-11T14:19:19.754Z] Linux c99bcdd09be0 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux [2020-05-11T14:19:19.754Z] [2020-05-11T14:19:19.754Z]