Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a76fee4735da9c07c26f8252a21595d1aad09861 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 c26106ffa7303c9cfaed1787c18b3b6a39928acb 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 c26106ffa7303c9cfaed1787c18b3b6a39928acb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c26106ffa7303c9cfaed1787c18b3b6a39928acb # timeout=10 Commit message: "Merge pull request #139 from ernestojeda/use-cache-image" > 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 [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-2896 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Checking out Revision a76fee4735da9c07c26f8252a21595d1aad09861 (master) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a76fee4735da9c07c26f8252a21595d1aad09861 # timeout=10 Commit message: "Merge pull request #247 from iain-anderson/issue-220" > git rev-list --no-walk 2dbf24a1b53c33901c5f522cb6a5de4931bffa5e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-08T17:02:23.080Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-04-08T17:02:24.858Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-08T17:02:24.858Z] [2020-04-08T17:02:24.858Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-08T17:02:25.220Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-08T17:02:25.220Z] latest: Pulling from edgex-devops/git-semver [2020-04-08T17:02:25.220Z] 9123ac7c32f7: Pulling fs layer [2020-04-08T17:02:25.220Z] b8cc5d1170e3: Pulling fs layer [2020-04-08T17:02:25.220Z] 2924cbbf6a41: Pulling fs layer [2020-04-08T17:02:25.220Z] 93b08a4f1073: Pulling fs layer [2020-04-08T17:02:25.220Z] 93b08a4f1073: Waiting [2020-04-08T17:02:25.220Z] b8cc5d1170e3: Verifying Checksum [2020-04-08T17:02:25.220Z] b8cc5d1170e3: Download complete [2020-04-08T17:02:25.480Z] 9123ac7c32f7: Verifying Checksum [2020-04-08T17:02:25.480Z] 9123ac7c32f7: Download complete [2020-04-08T17:02:25.480Z] 93b08a4f1073: Verifying Checksum [2020-04-08T17:02:25.480Z] 93b08a4f1073: Download complete [2020-04-08T17:02:25.480Z] 2924cbbf6a41: Verifying Checksum [2020-04-08T17:02:25.480Z] 2924cbbf6a41: Download complete [2020-04-08T17:02:25.738Z] 9123ac7c32f7: Pull complete [2020-04-08T17:02:25.738Z] b8cc5d1170e3: Pull complete [2020-04-08T17:02:26.675Z] 2924cbbf6a41: Pull complete [2020-04-08T17:02:26.675Z] 93b08a4f1073: Pull complete [2020-04-08T17:02:26.675Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-08T17:02:26.675Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-08T17:02:26.804Z] prd-centos7-docker-4c-2g-2896 does not seem to be running inside a container [2020-04-08T17:02:26.846Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-08T17:02:27.466Z] $ docker top e9084dae846aa5bfb0de50699eca4a53ad98a8c4ffe370c2034bab2a482ad4c5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-08T17:02:27.735Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-08T17:02:27.735Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-08T17:02:27.954Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-08T17:02:27.955Z] $ docker exec e9084dae846aa5bfb0de50699eca4a53ad98a8c4ffe370c2034bab2a482ad4c5 ssh-agent [2020-04-08T17:02:28.151Z] SSH_AUTH_SOCK=/tmp/ssh-XPMK4mOHBYAJ/agent.14 [2020-04-08T17:02:28.151Z] SSH_AGENT_PID=21 [2020-04-08T17:02:28.161Z] Running ssh-add (command line suppressed) [2020-04-08T17:02:28.312Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_5693213220301484412.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_5693213220301484412.key) [2020-04-08T17:02:28.376Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-08T17:02:28.699Z] + git describe --exact-match --tags HEAD [2020-04-08T17:02:28.699Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-08T17:02:28.757Z] $ docker exec --env ******** --env ******** e9084dae846aa5bfb0de50699eca4a53ad98a8c4ffe370c2034bab2a482ad4c5 ssh-agent -k [2020-04-08T17:02:28.914Z] unset SSH_AUTH_SOCK; [2020-04-08T17:02:28.914Z] unset SSH_AGENT_PID; [2020-04-08T17:02:28.915Z] echo Agent pid 21 killed; [2020-04-08T17:02:28.963Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-08T17:02:29.035Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-08T17:02:29.035Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-08T17:02:29.107Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-08T17:02:29.107Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-08T17:02:29.298Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-08T17:02:29.299Z] $ docker exec e9084dae846aa5bfb0de50699eca4a53ad98a8c4ffe370c2034bab2a482ad4c5 ssh-agent [2020-04-08T17:02:29.481Z] SSH_AUTH_SOCK=/tmp/ssh-aMTCu7TCtZ9e/agent.56 [2020-04-08T17:02:29.481Z] SSH_AGENT_PID=63 [2020-04-08T17:02:29.487Z] Running ssh-add (command line suppressed) [2020-04-08T17:02:29.633Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_190462735997998990.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_190462735997998990.key) [2020-04-08T17:02:29.680Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-08T17:02:30.055Z] + git semver init [2020-04-08T17:02:30.055Z] # -> Open(): unable to determine branch for HEAD [2020-04-08T17:02:30.055Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2020-04-08T17:02:30.055Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2020-04-08T17:02:30.055Z] # $SEMVER_REMOTE_NAME = origin [2020-04-08T17:02:30.055Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-04-08T17:02:30.055Z] # $SEMVER_USER_NAME = jenkins [2020-04-08T17:02:30.055Z] # $SEMVER_BRANCH = master [2020-04-08T17:02:30.055Z] # $SEMVER_TEMP = /tmp/semver-539972760 [2020-04-08T17:02:30.055Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2020-04-08T17:02:30.624Z] # '/tmp/semver-539972760' -> '/w/workspace/edgexfoundry_device-sdk-c_master/.semver' [2020-04-08T17:02:30.624Z] # -> Force: false [2020-04-08T17:02:30.624Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [Pipeline] } [2020-04-08T17:02:30.631Z] $ docker exec --env ******** --env ******** e9084dae846aa5bfb0de50699eca4a53ad98a8c4ffe370c2034bab2a482ad4c5 ssh-agent -k [2020-04-08T17:02:30.775Z] unset SSH_AUTH_SOCK; [2020-04-08T17:02:30.775Z] unset SSH_AGENT_PID; [2020-04-08T17:02:30.776Z] echo Agent pid 63 killed; [2020-04-08T17:02:30.823Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-08T17:02:31.265Z] + git semver [Pipeline] } [2020-04-08T17:02:31.276Z] $ docker stop --time=1 e9084dae846aa5bfb0de50699eca4a53ad98a8c4ffe370c2034bab2a482ad4c5 [2020-04-08T17:02:32.601Z] $ docker rm -f e9084dae846aa5bfb0de50699eca4a53ad98a8c4ffe370c2034bab2a482ad4c5 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-08T17:02:33.434Z] Stashed 32 file(s) [Pipeline] echo [2020-04-08T17:02:33.436Z] [edgeXSemver] initialized semver on version 1.2.0-dev.13 [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-04-08T17:02:48.651Z] Still waiting to schedule task [2020-04-08T17:02:48.652Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2896’ [2020-04-08T17:02:48.653Z] Still waiting to schedule task [2020-04-08T17:02:48.653Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-2736’ is offline [2020-04-08T17:04:29.906Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2897 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] ws [2020-04-08T17:04:29.975Z] Running in /w/workspace/device-sdk-c/13 [Pipeline] { [Pipeline] checkout [2020-04-08T17:04:36.055Z] using credential edgex-jenkins-ssh [2020-04-08T17:04:36.140Z] Cloning the remote Git repository [2020-04-08T17:04:36.140Z] Cloning with configured refspecs honoured and without tags [2020-04-08T17:04:36.197Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-04-08T17:04:36.279Z] > git init /w/workspace/device-sdk-c/13 # timeout=10 [2020-04-08T17:04:36.362Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-04-08T17:04:36.363Z] > git --version # timeout=10 [2020-04-08T17:04:37.515Z] Fetching without tags [2020-04-08T17:04:36.398Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-08T17:04:36.464Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-08T17:04:37.414Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-04-08T17:04:37.457Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-08T17:04:37.489Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-04-08T17:04:37.521Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-04-08T17:04:37.521Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-08T17:04:37.547Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-08T17:04:38.015Z] Checking out Revision a76fee4735da9c07c26f8252a21595d1aad09861 (master) [2020-04-08T17:04:38.031Z] > git config core.sparsecheckout # timeout=10 [2020-04-08T17:04:38.080Z] > git checkout -f a76fee4735da9c07c26f8252a21595d1aad09861 # timeout=10 [2020-04-08T17:04:42.588Z] Commit message: "Merge pull request #247 from iain-anderson/issue-220" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-08T17:04:44.024Z] ========================================================= [2020-04-08T17:04:44.025Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2020-04-08T17:04:44.025Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-08T17:04:45.038Z] + 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-04-08T17:04:46.006Z] Sending build context to Docker daemon 2.967MB [2020-04-08T17:04:46.006Z] Step 1/21 : ARG BASE=alpine:3.9 [2020-04-08T17:04:46.006Z] Step 2/21 : FROM ${BASE} as builder [2020-04-08T17:04:46.593Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2020-04-08T17:04:46.593Z] 0362ad1dd800: Pulling fs layer [2020-04-08T17:04:46.593Z] f2cdb1532d8b: Pulling fs layer [2020-04-08T17:04:46.593Z] 37ed683be191: Pulling fs layer [2020-04-08T17:04:46.593Z] f2cdb1532d8b: Verifying Checksum [2020-04-08T17:04:46.593Z] f2cdb1532d8b: Download complete [2020-04-08T17:04:46.593Z] 0362ad1dd800: Verifying Checksum [2020-04-08T17:04:46.924Z] 0362ad1dd800: Download complete [2020-04-08T17:04:47.507Z] 0362ad1dd800: Pull complete [2020-04-08T17:04:47.775Z] f2cdb1532d8b: Pull complete [2020-04-08T17:04:54.415Z] 37ed683be191: Download complete [2020-04-08T17:05:04.499Z] 37ed683be191: Pull complete [2020-04-08T17:05:04.499Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2020-04-08T17:05:04.499Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2020-04-08T17:05:04.499Z] ---> b23d30803547 [2020-04-08T17:05:04.499Z] 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-04-08T17:05:05.907Z] ---> Running in e6ad96995c6e [2020-04-08T17:05:06.884Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-04-08T17:05:07.468Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-04-08T17:05:08.052Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-04-08T17:05:08.052Z] (2/8) Installing libuuid (2.33-r0) [2020-04-08T17:05:08.318Z] (3/8) Installing libblkid (2.33-r0) [2020-04-08T17:05:08.318Z] (4/8) Installing libfdisk (2.33-r0) [2020-04-08T17:05:08.318Z] (5/8) Installing libmount (2.33-r0) [2020-04-08T17:05:08.585Z] (6/8) Installing libsmartcols (2.33-r0) [2020-04-08T17:05:08.585Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-04-08T17:05:09.166Z] (8/8) Installing wget (1.20.3-r0) [2020-04-08T17:05:09.166Z] Executing busybox-1.29.3-r10.trigger [2020-04-08T17:05:09.166Z] OK: 285 MiB in 83 packages [2020-04-08T17:05:10.579Z] Removing intermediate container e6ad96995c6e [2020-04-08T17:05:10.579Z] ---> 5dbe525f52c5 [2020-04-08T17:05:10.579Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-04-08T17:05:10.579Z] ---> Running in eca71de66f4c [2020-04-08T17:05:10.853Z] Removing intermediate container eca71de66f4c [2020-04-08T17:05:10.853Z] ---> 05b892f837b4 [2020-04-08T17:05:10.853Z] 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-04-08T17:05:11.121Z] ---> Running in 47dc45cbe0b2 [2020-04-08T17:05:12.090Z] --2020-04-08 17:05:11-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-04-08T17:05:12.090Z] Resolving github.com... 140.82.114.3 [2020-04-08T17:05:12.090Z] Connecting to github.com|140.82.114.3|:443... connected. [2020-04-08T17:05:12.355Z] HTTP request sent, awaiting response... 302 Found [2020-04-08T17:05:12.355Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-04-08T17:05:12.355Z] --2020-04-08 17:05:12-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-04-08T17:05:12.355Z] Resolving codeload.github.com... 140.82.113.9 [2020-04-08T17:05:12.355Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2020-04-08T17:05:12.355Z] HTTP request sent, awaiting response... 200 OK [2020-04-08T17:05:12.355Z] Length: unspecified [application/x-gzip] [2020-04-08T17:05:12.355Z] Saving to: 'STDOUT' [2020-04-08T17:05:12.355Z]  [2020-04-08T17:05:12.355Z] 0K .......... .......... .......... .......... .......... 1.54M [2020-04-08T17:05:12.355Z] 50K .......... .......... .......... .......... .......... 3.61M [2020-04-08T17:05:12.355Z] 100K .......... .......... .......... .......... .......... 12.7M [2020-04-08T17:05:12.355Z] 150K .......... .......... .......... .......... .......... 14.9M [2020-04-08T17:05:12.355Z] 200K .......... .......... .......... .......... .......... 3.67M [2020-04-08T17:05:12.628Z] 250K .......... .......... .......... .......... .......... 4.48M [2020-04-08T17:05:12.628Z] 300K .......... .......... .......... .......... .......... 4.65M [2020-04-08T17:05:12.628Z] 350K .......... .......... .......... .......... .......... 4.67M [2020-04-08T17:05:12.628Z] 400K .......... .......... .......... .......... .......... 4.48M [2020-04-08T17:05:12.628Z] 450K .......... .......... .......... .......... .......... 3.01M [2020-04-08T17:05:12.628Z] 500K .......... .......... .......... .......... .......... 9.76M [2020-04-08T17:05:12.628Z] 550K .......... .......... .......... .......... .......... 1.34M [2020-04-08T17:05:12.628Z] 600K .......... .......... .......... .......... .......... 1.23M [2020-04-08T17:05:12.628Z] 650K .......... .......... .......... .......... .......... 2.06M [2020-04-08T17:05:12.628Z] 700K .. 5.16M=0.2s [2020-04-08T17:05:12.628Z] [2020-04-08T17:05:12.628Z] 2020-04-08 17:05:12 (2.98 MB/s) - written to stdout [719348] [2020-04-08T17:05:12.628Z] [2020-04-08T17:05:12.894Z] -- The C compiler identification is GNU 8.3.0 [2020-04-08T17:05:13.160Z] -- The CXX compiler identification is GNU 8.3.0 [2020-04-08T17:05:13.160Z] -- Check for working C compiler: /usr/bin/cc [2020-04-08T17:05:13.428Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-04-08T17:05:13.428Z] -- Detecting C compiler ABI info [2020-04-08T17:05:13.696Z] -- Detecting C compiler ABI info - done [2020-04-08T17:05:13.696Z] -- Detecting C compile features [2020-04-08T17:05:14.279Z] -- Detecting C compile features - done [2020-04-08T17:05:14.279Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-04-08T17:05:14.546Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-04-08T17:05:14.546Z] -- Detecting CXX compiler ABI info [2020-04-08T17:05:14.815Z] -- Detecting CXX compiler ABI info - done [2020-04-08T17:05:14.815Z] -- Detecting CXX compile features [2020-04-08T17:05:16.234Z] -- Detecting CXX compile features - done [2020-04-08T17:05:16.507Z] -- Looking for include file endian.h [2020-04-08T17:05:16.507Z] -- Looking for include file endian.h - found [2020-04-08T17:05:16.507Z] -- Check if the system is big endian [2020-04-08T17:05:16.507Z] -- Searching 16 bit integer [2020-04-08T17:05:16.507Z] -- Looking for sys/types.h [2020-04-08T17:05:16.776Z] -- Looking for sys/types.h - found [2020-04-08T17:05:16.776Z] -- Looking for stdint.h [2020-04-08T17:05:17.044Z] -- Looking for stdint.h - found [2020-04-08T17:05:17.044Z] -- Looking for stddef.h [2020-04-08T17:05:17.335Z] -- Looking for stddef.h - found [2020-04-08T17:05:17.335Z] -- Check size of unsigned short [2020-04-08T17:05:17.620Z] -- Check size of unsigned short - done [2020-04-08T17:05:17.620Z] -- Using unsigned short [2020-04-08T17:05:17.889Z] -- Check if the system is big endian - little endian [2020-04-08T17:05:17.889Z] -- Check size of size_t [2020-04-08T17:05:18.159Z] -- Check size of size_t - done [2020-04-08T17:05:18.159Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-04-08T17:05:18.159Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-04-08T17:05:18.159Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-04-08T17:05:18.159Z] CMake did not find one. [2020-04-08T17:05:18.159Z] [2020-04-08T17:05:18.159Z] Could not find a package configuration file provided by "cJSON" with any of [2020-04-08T17:05:18.159Z] the following names: [2020-04-08T17:05:18.159Z] [2020-04-08T17:05:18.159Z] cJSONConfig.cmake [2020-04-08T17:05:18.159Z] cjson-config.cmake [2020-04-08T17:05:18.159Z] [2020-04-08T17:05:18.159Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-04-08T17:05:18.159Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-04-08T17:05:18.159Z] provides a separate development package or SDK, be sure it has been [2020-04-08T17:05:18.159Z] installed. [2020-04-08T17:05:18.159Z] [2020-04-08T17:05:18.159Z] [2020-04-08T17:05:18.159Z] -- Configuring done [2020-04-08T17:05:18.428Z] -- Generating done [2020-04-08T17:05:18.428Z] -- Build files have been written to: /tmp/cbor [2020-04-08T17:05:18.428Z] Scanning dependencies of target cbor_shared [2020-04-08T17:05:18.428Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-04-08T17:05:19.391Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-04-08T17:05:19.978Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-04-08T17:05:19.978Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-04-08T17:05:20.939Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-04-08T17:05:20.939Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-04-08T17:05:21.208Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-04-08T17:05:21.208Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-04-08T17:05:21.475Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-04-08T17:05:21.742Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-04-08T17:05:22.330Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-04-08T17:05:22.598Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-04-08T17:05:22.865Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-04-08T17:05:23.452Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-04-08T17:05:23.452Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-04-08T17:05:23.719Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-04-08T17:05:23.985Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-04-08T17:05:24.251Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-04-08T17:05:24.518Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-04-08T17:05:24.784Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-04-08T17:05:25.053Z] [ 40%] Linking C shared library libcbor.so [2020-04-08T17:05:25.053Z] [ 40%] Built target cbor_shared [2020-04-08T17:05:25.053Z] Scanning dependencies of target cbor [2020-04-08T17:05:25.053Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-04-08T17:05:26.015Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-04-08T17:05:26.597Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-04-08T17:05:26.864Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-04-08T17:05:27.822Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-04-08T17:05:28.088Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-04-08T17:05:28.353Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-04-08T17:05:28.353Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-04-08T17:05:28.619Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-04-08T17:05:28.888Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-04-08T17:05:29.849Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-04-08T17:05:29.849Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-04-08T17:05:30.433Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-04-08T17:05:30.700Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-04-08T17:05:30.965Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-04-08T17:05:31.233Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-04-08T17:05:31.501Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-04-08T17:05:31.769Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-04-08T17:05:32.037Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-04-08T17:05:32.304Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-04-08T17:05:32.304Z] [ 80%] Linking C static library libcbor.a [2020-04-08T17:05:32.572Z] [ 80%] Built target cbor [2020-04-08T17:05:32.572Z] Scanning dependencies of target create_items [2020-04-08T17:05:32.572Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-04-08T17:05:32.840Z] [ 84%] Linking C executable create_items [2020-04-08T17:05:32.840Z] [ 84%] Built target create_items [2020-04-08T17:05:32.840Z] Scanning dependencies of target readfile [2020-04-08T17:05:32.840Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-04-08T17:05:33.108Z] [ 88%] Linking C executable readfile [2020-04-08T17:05:33.108Z] [ 88%] Built target readfile [2020-04-08T17:05:33.108Z] Scanning dependencies of target streaming_parser [2020-04-08T17:05:33.108Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-04-08T17:05:33.377Z] [ 92%] Linking C executable streaming_parser [2020-04-08T17:05:33.377Z] [ 92%] Built target streaming_parser [2020-04-08T17:05:33.647Z] Scanning dependencies of target sort [2020-04-08T17:05:33.647Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-04-08T17:05:33.647Z] [ 96%] Linking C executable sort [2020-04-08T17:05:33.913Z] [ 96%] Built target sort [2020-04-08T17:05:33.913Z] Scanning dependencies of target hello [2020-04-08T17:05:33.913Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-04-08T17:05:33.913Z] [100%] Linking C executable hello [2020-04-08T17:05:34.180Z] [100%] Built target hello [2020-04-08T17:05:34.180Z] Install the project... [2020-04-08T17:05:34.180Z] -- Install configuration: "Release" [2020-04-08T17:05:34.180Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-04-08T17:05:34.180Z] -- Installing: /usr/local/lib64/libcbor.a [2020-04-08T17:05:34.180Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-04-08T17:05:34.180Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-04-08T17:05:34.180Z] -- Installing: /usr/local/lib64/libcbor.so [2020-04-08T17:05:34.180Z] -- Up-to-date: /usr/local/include/cbor [2020-04-08T17:05:34.180Z] -- Installing: /usr/local/include/cbor/common.h [2020-04-08T17:05:34.180Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-04-08T17:05:34.180Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-04-08T17:05:34.180Z] -- Installing: /usr/local/include/cbor/maps.h [2020-04-08T17:05:34.180Z] -- Installing: /usr/local/include/cbor/strings.h [2020-04-08T17:05:34.180Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-04-08T17:05:34.180Z] -- Installing: /usr/local/include/cbor/internal [2020-04-08T17:05:34.180Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-04-08T17:05:34.180Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-04-08T17:05:34.180Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-04-08T17:05:34.180Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-04-08T17:05:34.180Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-04-08T17:05:34.180Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-04-08T17:05:34.180Z] -- Installing: /usr/local/include/cbor/data.h [2020-04-08T17:05:34.180Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-04-08T17:05:34.180Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-04-08T17:05:34.180Z] -- Installing: /usr/local/include/cbor/tags.h [2020-04-08T17:05:34.180Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-04-08T17:05:34.180Z] -- Installing: /usr/local/include/cbor/ints.h [2020-04-08T17:05:34.180Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-04-08T17:05:34.180Z] -- Installing: /usr/local/include/cbor.h [2020-04-08T17:05:34.180Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-04-08T17:05:36.134Z] Removing intermediate container 47dc45cbe0b2 [2020-04-08T17:05:36.134Z] ---> a71c788dc7c9 [2020-04-08T17:05:36.134Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-04-08T17:05:36.400Z] ---> Running in 60ad81347ad0 [2020-04-08T17:05:37.810Z] Removing intermediate container 60ad81347ad0 [2020-04-08T17:05:37.810Z] ---> 53dfbb5f3dfc [2020-04-08T17:05:37.810Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-04-08T17:05:38.398Z] ---> a46e7d581fdd [2020-04-08T17:05:38.398Z] Step 8/21 : COPY src /tmp/sdk/src [2020-04-08T17:05:39.360Z] ---> c4770fc5932e [2020-04-08T17:05:39.360Z] Step 9/21 : COPY include /tmp/sdk/include [2020-04-08T17:05:39.628Z] ---> fe7e6a56fb11 [2020-04-08T17:05:39.628Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-04-08T17:05:40.212Z] ---> 8b6c9b6bc27f [2020-04-08T17:05:40.212Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-04-08T17:05:40.478Z] ---> 03ea6dcf1f31 [2020-04-08T17:05:40.478Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-04-08T17:05:41.057Z] ---> c4f117537328 [2020-04-08T17:05:41.057Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-04-08T17:05:41.057Z] ---> Running in 7e7175b0d223 [2020-04-08T17:05:42.021Z] + CPPCHECK=false [2020-04-08T17:05:42.021Z] + DOCGEN=false [2020-04-08T17:05:42.021Z] + TOMLVER=SDK-0.2 [2020-04-08T17:05:42.021Z] + CUTILVER=1.0.0 [2020-04-08T17:05:42.021Z] + '[' 0 -gt 0 ] [2020-04-08T17:05:42.021Z] + readlink -f ./scripts/build.sh [2020-04-08T17:05:42.021Z] + dirname /tmp/sdk/scripts/build.sh [2020-04-08T17:05:42.021Z] + dirname /tmp/sdk/scripts [2020-04-08T17:05:42.021Z] + ROOT=/tmp/sdk [2020-04-08T17:05:42.021Z] + cd /tmp/sdk [2020-04-08T17:05:42.021Z] + '[' '!' -d deps ] [2020-04-08T17:05:42.021Z] + mkdir deps [2020-04-08T17:05:42.021Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-04-08T17:05:42.021Z] --2020-04-08 17:05:41-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-04-08T17:05:42.021Z] + tar -C deps -z -x -f - [2020-04-08T17:05:42.021Z] Resolving github.com... 140.82.112.3 [2020-04-08T17:05:42.021Z] Connecting to github.com|140.82.112.3|:443... connected. [2020-04-08T17:05:42.021Z] HTTP request sent, awaiting response... 302 Found [2020-04-08T17:05:42.021Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-04-08T17:05:42.021Z] --2020-04-08 17:05:41-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-04-08T17:05:42.021Z] Resolving codeload.github.com... 140.82.113.10 [2020-04-08T17:05:42.021Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2020-04-08T17:05:42.288Z] HTTP request sent, awaiting response... 200 OK [2020-04-08T17:05:42.288Z] Length: unspecified [application/x-gzip] [2020-04-08T17:05:42.288Z] Saving to: 'STDOUT' [2020-04-08T17:05:42.288Z] [2020-04-08T17:05:42.288Z] 0K .......... ...... 1.06M=0.01s [2020-04-08T17:05:42.288Z] [2020-04-08T17:05:42.288Z] 2020-04-08 17:05:42 (1.06 MB/s) - written to stdout [16451] [2020-04-08T17:05:42.289Z] [2020-04-08T17:05:42.289Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-04-08T17:05:42.289Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.0.tar.gz [2020-04-08T17:05:42.289Z] + tar -C deps -z -x -f - [2020-04-08T17:05:42.289Z] --2020-04-08 17:05:42-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.0.tar.gz [2020-04-08T17:05:42.289Z] Resolving github.com... 140.82.112.3 [2020-04-08T17:05:42.289Z] Connecting to github.com|140.82.112.3|:443... connected. [2020-04-08T17:05:42.557Z] HTTP request sent, awaiting response... 302 Found [2020-04-08T17:05:42.557Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.0 [following] [2020-04-08T17:05:42.557Z] --2020-04-08 17:05:42-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.0 [2020-04-08T17:05:42.557Z] Resolving codeload.github.com... 140.82.113.10 [2020-04-08T17:05:42.557Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2020-04-08T17:05:42.557Z] HTTP request sent, awaiting response... 200 OK [2020-04-08T17:05:42.557Z] Length: unspecified [application/x-gzip] [2020-04-08T17:05:42.557Z] Saving to: 'STDOUT' [2020-04-08T17:05:42.557Z]  [2020-04-08T17:05:42.823Z] 0K .......... .......... .......... .......... .......... 1.62M [2020-04-08T17:05:42.823Z] 50K .......... .......... .......... .......... .......... 3.09M [2020-04-08T17:05:42.823Z] 100K .......... .......... .......... .......... ........ 4.82M=0.06s [2020-04-08T17:05:42.823Z] [2020-04-08T17:05:42.823Z] 2020-04-08 17:05:42 (2.60 MB/s) - written to stdout [151809] [2020-04-08T17:05:42.823Z] [2020-04-08T17:05:42.823Z] + mkdir -p src/c/iot [2020-04-08T17:05:42.823Z] + cp deps/iotech-c-utils-1.0.0/src/c/base64.c deps/iotech-c-utils-1.0.0/src/c/component.c deps/iotech-c-utils-1.0.0/src/c/container.c deps/iotech-c-utils-1.0.0/src/c/data.c deps/iotech-c-utils-1.0.0/src/c/hash.c deps/iotech-c-utils-1.0.0/src/c/iot.c deps/iotech-c-utils-1.0.0/src/c/json.c deps/iotech-c-utils-1.0.0/src/c/logger.c deps/iotech-c-utils-1.0.0/src/c/os.c deps/iotech-c-utils-1.0.0/src/c/scheduler.c deps/iotech-c-utils-1.0.0/src/c/thread.c deps/iotech-c-utils-1.0.0/src/c/threadpool.c deps/iotech-c-utils-1.0.0/src/c/time.c src/c/iot [2020-04-08T17:05:42.823Z] + mkdir -p include/iot [2020-04-08T17:05:42.823Z] + cp deps/iotech-c-utils-1.0.0/include/iot/base64.h deps/iotech-c-utils-1.0.0/include/iot/component.h deps/iotech-c-utils-1.0.0/include/iot/container.h deps/iotech-c-utils-1.0.0/include/iot/data.h deps/iotech-c-utils-1.0.0/include/iot/hash.h deps/iotech-c-utils-1.0.0/include/iot/iot.h deps/iotech-c-utils-1.0.0/include/iot/json.h deps/iotech-c-utils-1.0.0/include/iot/logger.h deps/iotech-c-utils-1.0.0/include/iot/os.h deps/iotech-c-utils-1.0.0/include/iot/scheduler.h deps/iotech-c-utils-1.0.0/include/iot/thread.h deps/iotech-c-utils-1.0.0/include/iot/threadpool.h deps/iotech-c-utils-1.0.0/include/iot/time.h include/iot [2020-04-08T17:05:42.823Z] + mkdir -p include/iot/os [2020-04-08T17:05:42.823Z] + cp deps/iotech-c-utils-1.0.0/include/iot/os/linux.h deps/iotech-c-utils-1.0.0/include/iot/os/zephyr.h include/iot/os [2020-04-08T17:05:42.823Z] + mkdir -p /tmp/sdk/build/release [2020-04-08T17:05:42.823Z] + cd /tmp/sdk/build/release [2020-04-08T17:05:42.823Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-04-08T17:05:43.091Z] -- The C compiler identification is GNU 8.3.0 [2020-04-08T17:05:43.091Z] -- Check for working C compiler: /usr/bin/cc [2020-04-08T17:05:43.359Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-04-08T17:05:43.359Z] -- Detecting C compiler ABI info [2020-04-08T17:05:43.627Z] -- Detecting C compiler ABI info - done [2020-04-08T17:05:43.627Z] -- Detecting C compile features [2020-04-08T17:05:44.588Z] -- Detecting C compile features - done [2020-04-08T17:05:44.588Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-04-08T17:05:44.588Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-04-08T17:05:44.588Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-04-08T17:05:44.588Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-04-08T17:05:44.588Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-04-08T17:05:44.588Z] -- C SDK 1.2.0-dev.13 for Linux [2020-04-08T17:05:44.588Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-04-08T17:05:44.588Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-04-08T17:05:44.588Z] -- Found Curses: /usr/lib/libcurses.so [2020-04-08T17:05:44.855Z] -- Configuring done [2020-04-08T17:05:45.123Z] -- Generating done [2020-04-08T17:05:45.123Z] -- Build files have been written to: /tmp/sdk/build/release [2020-04-08T17:05:45.123Z] + + teemake release.log [2020-04-08T17:05:45.123Z] [2020-04-08T17:05:45.123Z] Scanning dependencies of target csdk [2020-04-08T17:05:45.390Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-04-08T17:05:45.983Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-04-08T17:05:46.250Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-04-08T17:05:48.196Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-04-08T17:05:48.464Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-04-08T17:05:48.732Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-04-08T17:05:49.693Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-04-08T17:05:51.636Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-04-08T17:05:51.636Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-04-08T17:05:52.222Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-04-08T17:05:52.804Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-04-08T17:05:53.071Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-04-08T17:05:53.339Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-04-08T17:05:53.614Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-04-08T17:05:55.176Z] Running on prd-centos7-docker-4c-2g-2899 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] ws [2020-04-08T17:05:55.213Z] Running in /w/workspace/device-sdk-c/13 [Pipeline] { [Pipeline] checkout [2020-04-08T17:05:56.961Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-04-08T17:05:57.230Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-04-08T17:05:57.496Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-04-08T17:05:58.091Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-04-08T17:06:00.044Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-04-08T17:06:00.044Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-04-08T17:06:00.311Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-04-08T17:06:00.894Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-04-08T17:06:01.167Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-04-08T17:06:01.434Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-04-08T17:06:02.394Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-04-08T17:06:02.660Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-04-08T17:06:03.243Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-04-08T17:06:03.243Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-04-08T17:06:03.331Z] using credential edgex-jenkins-ssh [2020-04-08T17:06:03.420Z] Cloning the remote Git repository [2020-04-08T17:06:03.420Z] Cloning with configured refspecs honoured and without tags [2020-04-08T17:06:03.827Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-04-08T17:06:03.470Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2020-04-08T17:06:03.548Z] > git init /w/workspace/device-sdk-c/13 # timeout=10 [2020-04-08T17:06:03.649Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-04-08T17:06:03.649Z] > git --version # timeout=10 [2020-04-08T17:06:03.672Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-08T17:06:03.745Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-08T17:06:04.580Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-04-08T17:06:04.647Z] Fetching without tags [2020-04-08T17:06:04.788Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-04-08T17:06:05.052Z] Checking out Revision a76fee4735da9c07c26f8252a21595d1aad09861 (master) [2020-04-08T17:06:05.055Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-04-08T17:06:04.616Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-08T17:06:04.632Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2020-04-08T17:06:04.653Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2020-04-08T17:06:04.654Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-08T17:06:04.661Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-08T17:06:05.069Z] > git config core.sparsecheckout # timeout=10 [2020-04-08T17:06:05.119Z] > git checkout -f a76fee4735da9c07c26f8252a21595d1aad09861 # timeout=10 [2020-04-08T17:06:09.304Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-04-08T17:06:09.571Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-04-08T17:06:09.837Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-04-08T17:06:10.207Z] Commit message: "Merge pull request #247 from iain-anderson/issue-220" [2020-04-08T17:06:10.421Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-04-08T17:06:11.834Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [Pipeline] echo [2020-04-08T17:06:12.138Z] ========================================================= [2020-04-08T17:06:12.138Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2020-04-08T17:06:12.138Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-08T17:06:13.244Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-04-08T17:06:13.538Z] + 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-04-08T17:06:14.543Z] Sending build context to Docker daemon 2.967MB [2020-04-08T17:06:14.543Z] Step 1/21 : ARG BASE=alpine:3.9 [2020-04-08T17:06:14.543Z] Step 2/21 : FROM ${BASE} as builder [2020-04-08T17:06:14.543Z] latest: Pulling from edgex-devops/edgex-gcc-base [2020-04-08T17:06:14.543Z] e7c96db7181b: Pulling fs layer [2020-04-08T17:06:14.543Z] 4c13bbce0fe7: Pulling fs layer [2020-04-08T17:06:14.543Z] 6059c847ac2f: Pulling fs layer [2020-04-08T17:06:14.543Z] 4c13bbce0fe7: Verifying Checksum [2020-04-08T17:06:14.543Z] 4c13bbce0fe7: Download complete [2020-04-08T17:06:14.822Z] e7c96db7181b: Verifying Checksum [2020-04-08T17:06:14.822Z] e7c96db7181b: Download complete [2020-04-08T17:06:15.563Z] e7c96db7181b: Pull complete [2020-04-08T17:06:15.563Z] 4c13bbce0fe7: Pull complete [2020-04-08T17:06:16.586Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-04-08T17:06:17.172Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-04-08T17:06:18.133Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-04-08T17:06:18.719Z] [ 65%] Linking C shared library libcsdk.so [2020-04-08T17:06:18.719Z] [ 65%] Built target csdk [2020-04-08T17:06:18.719Z] Scanning dependencies of target template [2020-04-08T17:06:18.719Z] [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-04-08T17:06:19.303Z] [ 68%] Linking C executable template [2020-04-08T17:06:19.457Z] 6059c847ac2f: Verifying Checksum [2020-04-08T17:06:19.457Z] 6059c847ac2f: Download complete [2020-04-08T17:06:19.569Z] [ 68%] Built target template [2020-04-08T17:06:19.570Z] Scanning dependencies of target device-counter [2020-04-08T17:06:19.570Z] [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-04-08T17:06:20.152Z] [ 71%] Linking C executable device-counter [2020-04-08T17:06:20.419Z] [ 71%] Built target device-counter [2020-04-08T17:06:20.419Z] Scanning dependencies of target device-random [2020-04-08T17:06:20.419Z] [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-04-08T17:06:20.686Z] [ 74%] Linking C executable device-random [2020-04-08T17:06:20.955Z] [ 74%] Built target device-random [2020-04-08T17:06:20.955Z] Scanning dependencies of target device-gyro [2020-04-08T17:06:20.955Z] [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-04-08T17:06:21.538Z] [ 77%] Linking C executable device-gyro [2020-04-08T17:06:21.805Z] [ 77%] Built target device-gyro [2020-04-08T17:06:21.805Z] Scanning dependencies of target template-discovery [2020-04-08T17:06:21.805Z] [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-04-08T17:06:22.387Z] [ 80%] Linking C executable template-discovery [2020-04-08T17:06:22.654Z] [ 80%] Built target template-discovery [2020-04-08T17:06:22.654Z] Scanning dependencies of target device-terminal [2020-04-08T17:06:22.654Z] [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-04-08T17:06:23.235Z] [ 84%] Linking C executable device-terminal [2020-04-08T17:06:23.235Z] [ 84%] Built target device-terminal [2020-04-08T17:06:23.504Z] Scanning dependencies of target template2 [2020-04-08T17:06:23.504Z] [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-04-08T17:06:24.087Z] [ 87%] Linking C executable template2 [2020-04-08T17:06:24.087Z] [ 87%] Built target template2 [2020-04-08T17:06:24.087Z] Scanning dependencies of target device-counterv2 [2020-04-08T17:06:24.087Z] [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-04-08T17:06:24.675Z] [ 90%] Linking C executable device-counterv2 [2020-04-08T17:06:24.943Z] [ 90%] Built target device-counterv2 [2020-04-08T17:06:24.943Z] Scanning dependencies of target device-gyrov2 [2020-04-08T17:06:24.943Z] [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o [2020-04-08T17:06:25.211Z] [ 93%] Linking C executable device-gyrov2 [2020-04-08T17:06:25.478Z] [ 93%] Built target device-gyrov2 [2020-04-08T17:06:25.478Z] Scanning dependencies of target device-randomv2 [2020-04-08T17:06:25.478Z] [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-04-08T17:06:26.063Z] [ 96%] Linking C executable device-randomv2 [2020-04-08T17:06:26.331Z] [ 96%] Built target device-randomv2 [2020-04-08T17:06:26.331Z] Scanning dependencies of target device-terminalv2 [2020-04-08T17:06:26.331Z] [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o [2020-04-08T17:06:26.916Z] [100%] Linking C executable device-terminalv2 [2020-04-08T17:06:26.916Z] [100%] Built target device-terminalv2 [2020-04-08T17:06:26.916Z] + + maketee -a package release.log [2020-04-08T17:06:26.916Z] [2020-04-08T17:06:27.183Z] [ 65%] Built target csdk [2020-04-08T17:06:27.183Z] [ 68%] Built target template [2020-04-08T17:06:27.183Z] [ 71%] Built target device-counter [2020-04-08T17:06:27.183Z] [ 74%] Built target device-random [2020-04-08T17:06:27.449Z] [ 77%] Built target device-gyro [2020-04-08T17:06:27.449Z] [ 80%] Built target template-discovery [2020-04-08T17:06:27.449Z] [ 84%] Built target device-terminal [2020-04-08T17:06:27.449Z] [ 87%] Built target template2 [2020-04-08T17:06:27.449Z] [ 90%] Built target device-counterv2 [2020-04-08T17:06:27.449Z] [ 93%] Built target device-gyrov2 [2020-04-08T17:06:27.719Z] [ 96%] Built target device-randomv2 [2020-04-08T17:06:27.719Z] [100%] Built target device-terminalv2 [2020-04-08T17:06:27.719Z] Run CPack packaging tool... [2020-04-08T17:06:27.719Z] CPack: Create package using TGZ [2020-04-08T17:06:27.719Z] CPack: Install projects [2020-04-08T17:06:27.719Z] CPack: - Run preinstall target for: Csdk [2020-04-08T17:06:27.806Z] 6059c847ac2f: Pull complete [2020-04-08T17:06:27.806Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2020-04-08T17:06:27.806Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2020-04-08T17:06:27.806Z] ---> 5eabd8fd8ba2 [2020-04-08T17:06:27.806Z] 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-04-08T17:06:27.806Z] ---> Running in 0497a6986a2c [2020-04-08T17:06:28.304Z] CPack: - Install project: Csdk [2020-04-08T17:06:28.304Z] CPack: Create package [2020-04-08T17:06:28.399Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-04-08T17:06:28.571Z] CPack: - package: /tmp/sdk/build/release/csdk-1.2.0-dev.13.tar.gz generated. [2020-04-08T17:06:28.571Z] + '[' false '=' true ] [2020-04-08T17:06:28.571Z] + '[' false '=' true ] [2020-04-08T17:06:28.571Z] + mkdir -p /tmp/sdk/build/debug [2020-04-08T17:06:28.571Z] + cd /tmp/sdk/build/debug [2020-04-08T17:06:28.571Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-04-08T17:06:28.838Z] -- The C compiler identification is GNU 8.3.0 [2020-04-08T17:06:28.838Z] -- Check for working C compiler: /usr/bin/cc [2020-04-08T17:06:28.999Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-04-08T17:06:29.107Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-04-08T17:06:29.107Z] -- Detecting C compiler ABI info [2020-04-08T17:06:29.374Z] -- Detecting C compiler ABI info - done [2020-04-08T17:06:29.374Z] -- Detecting C compile features [2020-04-08T17:06:29.672Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2020-04-08T17:06:29.672Z] (2/8) Installing libuuid (2.33-r0) [2020-04-08T17:06:29.672Z] (3/8) Installing libblkid (2.33-r0) [2020-04-08T17:06:29.991Z] (4/8) Installing libfdisk (2.33-r0) [2020-04-08T17:06:29.991Z] (5/8) Installing libmount (2.33-r0) [2020-04-08T17:06:29.991Z] (6/8) Installing libsmartcols (2.33-r0) [2020-04-08T17:06:30.293Z] (7/8) Installing util-linux-dev (2.33-r0) [2020-04-08T17:06:30.336Z] -- Detecting C compile features - done [2020-04-08T17:06:30.336Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-04-08T17:06:30.336Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-04-08T17:06:30.336Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-04-08T17:06:30.336Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-04-08T17:06:30.336Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-04-08T17:06:30.336Z] -- C SDK 1.2.0-dev.13 for Linux [2020-04-08T17:06:30.336Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-04-08T17:06:30.336Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-04-08T17:06:30.336Z] -- Found Curses: /usr/lib/libcurses.so [2020-04-08T17:06:30.602Z] -- Configuring done [2020-04-08T17:06:30.740Z] (8/8) Installing wget (1.20.3-r0) [2020-04-08T17:06:30.869Z] -- Generating done [2020-04-08T17:06:30.869Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-04-08T17:06:30.869Z] + + maketee [2020-04-08T17:06:30.869Z] debug.log [2020-04-08T17:06:31.136Z] Scanning dependencies of target csdk [2020-04-08T17:06:31.136Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-04-08T17:06:31.284Z] Executing busybox-1.29.3-r10.trigger [2020-04-08T17:06:31.284Z] OK: 272 MiB in 83 packages [2020-04-08T17:06:31.404Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-04-08T17:06:31.989Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-04-08T17:06:32.257Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-04-08T17:06:32.329Z] Removing intermediate container 0497a6986a2c [2020-04-08T17:06:32.330Z] ---> 433670056af1 [2020-04-08T17:06:32.330Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2020-04-08T17:06:32.330Z] ---> Running in deda408058ab [2020-04-08T17:06:32.330Z] Removing intermediate container deda408058ab [2020-04-08T17:06:32.330Z] ---> d42608aee56b [2020-04-08T17:06:32.330Z] 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-04-08T17:06:32.330Z] ---> Running in 8b45d98fc823 [2020-04-08T17:06:32.842Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-04-08T17:06:32.842Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-04-08T17:06:33.110Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-04-08T17:06:33.570Z] --2020-04-08 17:06:33-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2020-04-08T17:06:33.571Z] Resolving github.com... 140.82.112.3 [2020-04-08T17:06:33.571Z] Connecting to github.com|140.82.112.3|:443... connected. [2020-04-08T17:06:33.571Z] HTTP request sent, awaiting response... 302 Found [2020-04-08T17:06:33.571Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2020-04-08T17:06:33.571Z] --2020-04-08 17:06:33-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2020-04-08T17:06:33.571Z] Resolving codeload.github.com... 140.82.114.9 [2020-04-08T17:06:33.692Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-04-08T17:06:33.959Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-04-08T17:06:34.108Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2020-04-08T17:06:34.108Z] HTTP request sent, awaiting response... 200 OK [2020-04-08T17:06:34.108Z] Length: unspecified [application/x-gzip] [2020-04-08T17:06:34.108Z] Saving to: 'STDOUT' [2020-04-08T17:06:34.108Z]  [2020-04-08T17:06:34.108Z] 0K .......... .......... .......... .......... .......... 1.19M [2020-04-08T17:06:34.108Z] 50K .......... .......... .......... .......... .......... 1.29M [2020-04-08T17:06:34.108Z] 100K .......... .......... .......... .......... .......... 5.90M [2020-04-08T17:06:34.108Z] 150K .......... .......... .......... .......... .......... 2.45M [2020-04-08T17:06:34.108Z] 200K .......... .......... .......... .......... .......... 1.82M [2020-04-08T17:06:34.108Z] 250K .......... .......... .......... .......... .......... 22.4M [2020-04-08T17:06:34.108Z] 300K .......... .......... .......... .......... .......... 2.85M [2020-04-08T17:06:34.108Z] 350K .......... .......... .......... .......... .......... 13.8M [2020-04-08T17:06:34.108Z] 400K .......... .......... .......... .......... .......... 2.91M [2020-04-08T17:06:34.108Z] 450K .......... .......... .......... .......... .......... 1.68M [2020-04-08T17:06:34.108Z] 500K .......... .......... .......... .......... .......... 30.9M [2020-04-08T17:06:34.108Z] 550K .......... .......... .......... .......... .......... 1.01M [2020-04-08T17:06:34.108Z] 600K .......... .......... .......... .......... .......... 2.02M [2020-04-08T17:06:34.108Z] 650K .......... .......... .......... .......... .......... 3.79M [2020-04-08T17:06:34.108Z] 700K .. 37.8M=0.3s [2020-04-08T17:06:34.108Z] [2020-04-08T17:06:34.108Z] 2020-04-08 17:06:33 (2.37 MB/s) - written to stdout [719348] [2020-04-08T17:06:34.108Z] [2020-04-08T17:06:34.226Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-04-08T17:06:34.447Z] -- The C compiler identification is GNU 8.3.0 [2020-04-08T17:06:34.447Z] -- The CXX compiler identification is GNU 8.3.0 [2020-04-08T17:06:34.447Z] -- Check for working C compiler: /usr/bin/cc [2020-04-08T17:06:34.494Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-04-08T17:06:34.761Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-04-08T17:06:34.773Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-04-08T17:06:34.773Z] -- Detecting C compiler ABI info [2020-04-08T17:06:34.773Z] -- Detecting C compiler ABI info - done [2020-04-08T17:06:34.773Z] -- Detecting C compile features [2020-04-08T17:06:35.027Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-04-08T17:06:35.081Z] -- Detecting C compile features - done [2020-04-08T17:06:35.294Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-04-08T17:06:35.378Z] -- Check for working CXX compiler: /usr/bin/c++ [2020-04-08T17:06:35.378Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2020-04-08T17:06:35.378Z] -- Detecting CXX compiler ABI info [2020-04-08T17:06:35.378Z] -- Detecting CXX compiler ABI info - done [2020-04-08T17:06:35.378Z] -- Detecting CXX compile features [2020-04-08T17:06:36.255Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-04-08T17:06:36.256Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-04-08T17:06:36.330Z] -- Detecting CXX compile features - done [2020-04-08T17:06:36.330Z] -- Looking for include file endian.h [2020-04-08T17:06:36.330Z] -- Looking for include file endian.h - found [2020-04-08T17:06:36.330Z] -- Check if the system is big endian [2020-04-08T17:06:36.330Z] -- Searching 16 bit integer [2020-04-08T17:06:36.330Z] -- Looking for sys/types.h [2020-04-08T17:06:36.330Z] -- Looking for sys/types.h - found [2020-04-08T17:06:36.330Z] -- Looking for stdint.h [2020-04-08T17:06:36.330Z] -- Looking for stdint.h - found [2020-04-08T17:06:36.330Z] -- Looking for stddef.h [2020-04-08T17:06:36.522Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-04-08T17:06:36.593Z] -- Looking for stddef.h - found [2020-04-08T17:06:36.593Z] -- Check size of unsigned short [2020-04-08T17:06:36.593Z] -- Check size of unsigned short - done [2020-04-08T17:06:36.593Z] -- Using unsigned short [2020-04-08T17:06:36.593Z] -- Check if the system is big endian - little endian [2020-04-08T17:06:36.788Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-04-08T17:06:36.873Z] -- Check size of size_t [2020-04-08T17:06:36.873Z] -- Check size of size_t - done [2020-04-08T17:06:36.873Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2020-04-08T17:06:36.873Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2020-04-08T17:06:36.873Z] asked CMake to find a package configuration file provided by "cJSON", but [2020-04-08T17:06:36.873Z] CMake did not find one. [2020-04-08T17:06:36.873Z] [2020-04-08T17:06:36.873Z] Could not find a package configuration file provided by "cJSON" with any of [2020-04-08T17:06:36.873Z] the following names: [2020-04-08T17:06:36.873Z] [2020-04-08T17:06:36.873Z] cJSONConfig.cmake [2020-04-08T17:06:36.873Z] cjson-config.cmake [2020-04-08T17:06:36.873Z] [2020-04-08T17:06:36.873Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2020-04-08T17:06:36.873Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2020-04-08T17:06:36.873Z] provides a separate development package or SDK, be sure it has been [2020-04-08T17:06:36.873Z] installed. [2020-04-08T17:06:36.873Z] [2020-04-08T17:06:36.873Z] [2020-04-08T17:06:36.873Z] -- Configuring done [2020-04-08T17:06:36.873Z] -- Generating done [2020-04-08T17:06:36.873Z] -- Build files have been written to: /tmp/cbor [2020-04-08T17:06:36.873Z] Scanning dependencies of target cbor_shared [2020-04-08T17:06:37.139Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2020-04-08T17:06:37.139Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2020-04-08T17:06:37.371Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-04-08T17:06:37.371Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-04-08T17:06:37.430Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2020-04-08T17:06:37.638Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-04-08T17:06:37.710Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2020-04-08T17:06:37.906Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-04-08T17:06:37.989Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2020-04-08T17:06:37.989Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2020-04-08T17:06:37.989Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2020-04-08T17:06:37.989Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2020-04-08T17:06:38.171Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-04-08T17:06:38.171Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-04-08T17:06:38.257Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2020-04-08T17:06:38.257Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2020-04-08T17:06:38.439Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-04-08T17:06:38.521Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2020-04-08T17:06:38.704Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-04-08T17:06:38.817Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2020-04-08T17:06:38.971Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-04-08T17:06:38.971Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-04-08T17:06:39.084Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2020-04-08T17:06:39.085Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2020-04-08T17:06:39.238Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-04-08T17:06:39.355Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2020-04-08T17:06:39.355Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2020-04-08T17:06:39.648Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2020-04-08T17:06:39.821Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-04-08T17:06:39.821Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-04-08T17:06:39.944Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2020-04-08T17:06:39.944Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2020-04-08T17:06:40.297Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2020-04-08T17:06:40.297Z] [ 40%] Linking C shared library libcbor.so [2020-04-08T17:06:40.823Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-04-08T17:06:40.959Z] [ 40%] Built target cbor_shared [2020-04-08T17:06:40.959Z] Scanning dependencies of target cbor [2020-04-08T17:06:40.959Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2020-04-08T17:06:40.959Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2020-04-08T17:06:41.245Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2020-04-08T17:06:41.432Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-04-08T17:06:41.432Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-04-08T17:06:41.510Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2020-04-08T17:06:41.713Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-04-08T17:06:41.776Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2020-04-08T17:06:42.052Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2020-04-08T17:06:42.052Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2020-04-08T17:06:42.052Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2020-04-08T17:06:42.335Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2020-04-08T17:06:42.335Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2020-04-08T17:06:42.686Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-04-08T17:06:42.941Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2020-04-08T17:06:42.941Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2020-04-08T17:06:42.941Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2020-04-08T17:06:43.225Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2020-04-08T17:06:43.270Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-04-08T17:06:43.494Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2020-04-08T17:06:43.790Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2020-04-08T17:06:43.790Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2020-04-08T17:06:43.790Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2020-04-08T17:06:43.791Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2020-04-08T17:06:43.849Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-04-08T17:06:44.065Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2020-04-08T17:06:44.065Z] [ 80%] Linking C static library libcbor.a [2020-04-08T17:06:44.065Z] [ 80%] Built target cbor [2020-04-08T17:06:44.065Z] Scanning dependencies of target create_items [2020-04-08T17:06:44.065Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2020-04-08T17:06:44.114Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-04-08T17:06:44.326Z] [ 84%] Linking C executable create_items [2020-04-08T17:06:44.326Z] [ 84%] Built target create_items [2020-04-08T17:06:44.326Z] Scanning dependencies of target readfile [2020-04-08T17:06:44.326Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2020-04-08T17:06:44.326Z] [ 88%] Linking C executable readfile [2020-04-08T17:06:44.326Z] [ 88%] Built target readfile [2020-04-08T17:06:44.326Z] Scanning dependencies of target streaming_parser [2020-04-08T17:06:44.326Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2020-04-08T17:06:44.597Z] [ 92%] Linking C executable streaming_parser [2020-04-08T17:06:44.597Z] [ 92%] Built target streaming_parser [2020-04-08T17:06:44.597Z] Scanning dependencies of target sort [2020-04-08T17:06:44.597Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2020-04-08T17:06:44.597Z] [ 96%] Linking C executable sort [2020-04-08T17:06:44.597Z] [ 96%] Built target sort [2020-04-08T17:06:44.701Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-04-08T17:06:44.701Z] [ 65%] Linking C shared library libcsdk.so [2020-04-08T17:06:44.861Z] Scanning dependencies of target hello [2020-04-08T17:06:44.861Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2020-04-08T17:06:44.861Z] [100%] Linking C executable hello [2020-04-08T17:06:44.861Z] [100%] Built target hello [2020-04-08T17:06:44.861Z] Install the project... [2020-04-08T17:06:44.861Z] -- Install configuration: "Release" [2020-04-08T17:06:44.861Z] -- Installing: /usr/local/include/cbor/configuration.h [2020-04-08T17:06:44.861Z] -- Installing: /usr/local/lib64/libcbor.a [2020-04-08T17:06:44.861Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2020-04-08T17:06:44.861Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2020-04-08T17:06:44.861Z] -- Installing: /usr/local/lib64/libcbor.so [2020-04-08T17:06:44.861Z] -- Up-to-date: /usr/local/include/cbor [2020-04-08T17:06:44.861Z] -- Installing: /usr/local/include/cbor/arrays.h [2020-04-08T17:06:44.861Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2020-04-08T17:06:44.861Z] -- Installing: /usr/local/include/cbor/callbacks.h [2020-04-08T17:06:44.861Z] -- Installing: /usr/local/include/cbor/common.h [2020-04-08T17:06:44.861Z] -- Installing: /usr/local/include/cbor/data.h [2020-04-08T17:06:44.861Z] -- Installing: /usr/local/include/cbor/encoding.h [2020-04-08T17:06:44.861Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2020-04-08T17:06:44.861Z] -- Installing: /usr/local/include/cbor/internal [2020-04-08T17:06:44.861Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2020-04-08T17:06:44.861Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2020-04-08T17:06:44.861Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2020-04-08T17:06:44.861Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2020-04-08T17:06:44.861Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2020-04-08T17:06:44.861Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2020-04-08T17:06:44.861Z] -- Installing: /usr/local/include/cbor/ints.h [2020-04-08T17:06:44.861Z] -- Installing: /usr/local/include/cbor/maps.h [2020-04-08T17:06:44.861Z] -- Installing: /usr/local/include/cbor/serialization.h [2020-04-08T17:06:44.861Z] -- Installing: /usr/local/include/cbor/streaming.h [2020-04-08T17:06:44.861Z] -- Installing: /usr/local/include/cbor/strings.h [2020-04-08T17:06:44.861Z] -- Installing: /usr/local/include/cbor/tags.h [2020-04-08T17:06:44.861Z] -- Installing: /usr/local/include/cbor.h [2020-04-08T17:06:44.861Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2020-04-08T17:06:44.968Z] [ 65%] Built target csdk [2020-04-08T17:06:44.968Z] Scanning dependencies of target template [2020-04-08T17:06:44.968Z] [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-04-08T17:06:45.236Z] [ 68%] Linking C executable template [2020-04-08T17:06:45.504Z] [ 68%] Built target template [2020-04-08T17:06:45.504Z] Scanning dependencies of target device-counter [2020-04-08T17:06:45.504Z] [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-04-08T17:06:45.771Z] [ 71%] Linking C executable device-counter [2020-04-08T17:06:46.039Z] [ 71%] Built target device-counter [2020-04-08T17:06:46.039Z] Scanning dependencies of target device-random [2020-04-08T17:06:46.039Z] [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-04-08T17:06:46.308Z] [ 74%] Linking C executable device-random [2020-04-08T17:06:46.383Z] Removing intermediate container 8b45d98fc823 [2020-04-08T17:06:46.383Z] ---> 02cff97d15dc [2020-04-08T17:06:46.383Z] Step 6/21 : RUN mkdir /tmp/sdk [2020-04-08T17:06:46.383Z] ---> Running in f04035ab3b54 [2020-04-08T17:06:46.577Z] [ 74%] Built target device-random [2020-04-08T17:06:46.577Z] Scanning dependencies of target device-gyro [2020-04-08T17:06:46.577Z] [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-04-08T17:06:46.844Z] [ 77%] Linking C executable device-gyro [2020-04-08T17:06:47.114Z] [ 77%] Built target device-gyro [2020-04-08T17:06:47.114Z] Scanning dependencies of target template-discovery [2020-04-08T17:06:47.114Z] [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-04-08T17:06:47.382Z] [ 80%] Linking C executable template-discovery [2020-04-08T17:06:47.650Z] [ 80%] Built target template-discovery [2020-04-08T17:06:47.650Z] Scanning dependencies of target device-terminal [2020-04-08T17:06:47.650Z] [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-04-08T17:06:47.794Z] Removing intermediate container f04035ab3b54 [2020-04-08T17:06:47.794Z] ---> 7c4b0dcbac3f [2020-04-08T17:06:47.794Z] Step 7/21 : COPY VERSION /tmp/sdk [2020-04-08T17:06:47.794Z] ---> d4cbb3ca2431 [2020-04-08T17:06:47.794Z] Step 8/21 : COPY src /tmp/sdk/src [2020-04-08T17:06:47.917Z] [ 84%] Linking C executable device-terminal [2020-04-08T17:06:48.182Z] [ 84%] Built target device-terminal [2020-04-08T17:06:48.182Z] Scanning dependencies of target template2 [2020-04-08T17:06:48.182Z] [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-04-08T17:06:48.404Z] ---> 282d6d78c2a1 [2020-04-08T17:06:48.404Z] Step 9/21 : COPY include /tmp/sdk/include [2020-04-08T17:06:48.449Z] [ 87%] Linking C executable template2 [2020-04-08T17:06:48.683Z] ---> 3f9b612e5695 [2020-04-08T17:06:48.683Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2020-04-08T17:06:48.713Z] [ 87%] Built target template2 [2020-04-08T17:06:48.714Z] Scanning dependencies of target device-counterv2 [2020-04-08T17:06:48.714Z] [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-04-08T17:06:48.945Z] ---> aaded04751ea [2020-04-08T17:06:48.945Z] Step 11/21 : COPY LICENSE /tmp/sdk [2020-04-08T17:06:48.979Z] [ 90%] Linking C executable device-counterv2 [2020-04-08T17:06:49.208Z] ---> 17432129938e [2020-04-08T17:06:49.208Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2020-04-08T17:06:49.244Z] [ 90%] Built target device-counterv2 [2020-04-08T17:06:49.244Z] Scanning dependencies of target device-gyrov2 [2020-04-08T17:06:49.244Z] [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o [2020-04-08T17:06:49.244Z] [ 93%] Linking C executable device-gyrov2 [2020-04-08T17:06:49.473Z] ---> 8b4d71f007d0 [2020-04-08T17:06:49.473Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2020-04-08T17:06:49.473Z] ---> Running in 7024649cd6c0 [2020-04-08T17:06:49.513Z] [ 93%] Built target device-gyrov2 [2020-04-08T17:06:49.513Z] Scanning dependencies of target device-randomv2 [2020-04-08T17:06:49.513Z] [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-04-08T17:06:49.780Z] [ 96%] Linking C executable device-randomv2 [2020-04-08T17:06:50.046Z] + CPPCHECK=false [2020-04-08T17:06:50.046Z] + DOCGEN=false [2020-04-08T17:06:50.046Z] + TOMLVER=SDK-0.2 [2020-04-08T17:06:50.046Z] + CUTILVER=1.0.0 [2020-04-08T17:06:50.046Z] + '[' 0 -gt 0 ] [2020-04-08T17:06:50.046Z] + readlink -f ./scripts/build.sh [2020-04-08T17:06:50.046Z] + dirname /tmp/sdk/scripts/build.sh [2020-04-08T17:06:50.046Z] + dirname /tmp/sdk/scripts [2020-04-08T17:06:50.046Z] + ROOT=/tmp/sdk [2020-04-08T17:06:50.046Z] + cd /tmp/sdk [2020-04-08T17:06:50.046Z] + '[' '!' -d deps ] [2020-04-08T17:06:50.046Z] + mkdir deps [2020-04-08T17:06:50.046Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-04-08T17:06:50.046Z] + tar -C deps -z -x -f - [2020-04-08T17:06:50.046Z] --2020-04-08 17:06:49-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2020-04-08T17:06:50.046Z] Resolving github.com... 140.82.112.3 [2020-04-08T17:06:50.046Z] Connecting to github.com|140.82.112.3|:443... connected. [2020-04-08T17:06:50.046Z] HTTP request sent, awaiting response... 302 Found [2020-04-08T17:06:50.046Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2020-04-08T17:06:50.046Z] --2020-04-08 17:06:49-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2020-04-08T17:06:50.046Z] Resolving codeload.github.com... 140.82.114.9 [2020-04-08T17:06:50.046Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2020-04-08T17:06:50.047Z] [ 96%] Built target device-randomv2 [2020-04-08T17:06:50.047Z] Scanning dependencies of target device-terminalv2 [2020-04-08T17:06:50.047Z] [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o [2020-04-08T17:06:50.309Z] HTTP request sent, awaiting response... 200 OK [2020-04-08T17:06:50.309Z] Length: unspecified [application/x-gzip] [2020-04-08T17:06:50.309Z] Saving to: 'STDOUT' [2020-04-08T17:06:50.309Z] [2020-04-08T17:06:50.309Z] 0K .......... ...... 1.06M=0.01s [2020-04-08T17:06:50.309Z] [2020-04-08T17:06:50.309Z] 2020-04-08 17:06:50 (1.06 MB/s) - written to stdout [16451] [2020-04-08T17:06:50.309Z] [2020-04-08T17:06:50.309Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2020-04-08T17:06:50.309Z] + wget -O -+ tar -C deps -z -x -f - [2020-04-08T17:06:50.309Z] https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.0.tar.gz [2020-04-08T17:06:50.309Z] --2020-04-08 17:06:50-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.0.tar.gz [2020-04-08T17:06:50.309Z] Resolving github.com... 140.82.112.3 [2020-04-08T17:06:50.309Z] Connecting to github.com|140.82.112.3|:443... connected. [2020-04-08T17:06:50.309Z] HTTP request sent, awaiting response... 302 Found [2020-04-08T17:06:50.309Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.0 [following] [2020-04-08T17:06:50.309Z] --2020-04-08 17:06:50-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.0 [2020-04-08T17:06:50.309Z] Resolving codeload.github.com... 140.82.114.9 [2020-04-08T17:06:50.309Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2020-04-08T17:06:50.312Z] [100%] Linking C executable device-terminalv2 [2020-04-08T17:06:50.577Z] HTTP request sent, awaiting response... 200 OK [2020-04-08T17:06:50.577Z] Length: unspecified [application/x-gzip] [2020-04-08T17:06:50.577Z] Saving to: 'STDOUT' [2020-04-08T17:06:50.577Z]  [2020-04-08T17:06:50.577Z] 0K .......... .......... .......... .......... .......... 1.35M [2020-04-08T17:06:50.577Z] 50K .......... .......... .......... .......... .......... 1.59M [2020-04-08T17:06:50.577Z] 100K .......... .......... .......... .......... ........ 31.7M=0.07s [2020-04-08T17:06:50.577Z] [2020-04-08T17:06:50.577Z] 2020-04-08 17:06:50 (2.11 MB/s) - written to stdout [151809] [2020-04-08T17:06:50.577Z] [2020-04-08T17:06:50.577Z] + mkdir -p src/c/iot [2020-04-08T17:06:50.577Z] + cp deps/iotech-c-utils-1.0.0/src/c/base64.c deps/iotech-c-utils-1.0.0/src/c/component.c deps/iotech-c-utils-1.0.0/src/c/container.c deps/iotech-c-utils-1.0.0/src/c/data.c deps/iotech-c-utils-1.0.0/src/c/hash.c deps/iotech-c-utils-1.0.0/src/c/iot.c deps/iotech-c-utils-1.0.0/src/c/json.c deps/iotech-c-utils-1.0.0/src/c/logger.c deps/iotech-c-utils-1.0.0/src/c/os.c deps/iotech-c-utils-1.0.0/src/c/scheduler.c deps/iotech-c-utils-1.0.0/src/c/thread.c deps/iotech-c-utils-1.0.0/src/c/threadpool.c deps/iotech-c-utils-1.0.0/src/c/time.c src/c/iot [2020-04-08T17:06:50.577Z] + mkdir -p include/iot [2020-04-08T17:06:50.577Z] + cp deps/iotech-c-utils-1.0.0/include/iot/base64.h deps/iotech-c-utils-1.0.0/include/iot/component.h deps/iotech-c-utils-1.0.0/include/iot/container.h deps/iotech-c-utils-1.0.0/include/iot/data.h deps/iotech-c-utils-1.0.0/include/iot/hash.h deps/iotech-c-utils-1.0.0/include/iot/iot.h deps/iotech-c-utils-1.0.0/include/iot/json.h deps/iotech-c-utils-1.0.0/include/iot/logger.h deps/iotech-c-utils-1.0.0/include/iot/os.h deps/iotech-c-utils-1.0.0/include/iot/scheduler.h deps/iotech-c-utils-1.0.0/include/iot/thread.h deps/iotech-c-utils-1.0.0/include/iot/threadpool.h deps/iotech-c-utils-1.0.0/include/iot/time.h include/iot [2020-04-08T17:06:50.577Z] + mkdir -p include/iot/os [2020-04-08T17:06:50.577Z] + cp deps/iotech-c-utils-1.0.0/include/iot/os/linux.h deps/iotech-c-utils-1.0.0/include/iot/os/zephyr.h include/iot/os [2020-04-08T17:06:50.577Z] + mkdir -p /tmp/sdk/build/release [2020-04-08T17:06:50.577Z] + cd /tmp/sdk/build/release [2020-04-08T17:06:50.577Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2020-04-08T17:06:50.578Z] [100%] Built target device-terminalv2 [2020-04-08T17:06:50.578Z] make: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:06:50.578Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:06:50.578Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:06:50.840Z] -- The C compiler identification is GNU 8.3.0 [2020-04-08T17:06:50.840Z] -- Check for working C compiler: /usr/bin/cc [2020-04-08T17:06:50.840Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-04-08T17:06:50.840Z] -- Detecting C compiler ABI info [2020-04-08T17:06:50.840Z] -- Detecting C compiler ABI info - done [2020-04-08T17:06:50.843Z] Scanning dependencies of target csdk [2020-04-08T17:06:50.843Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:06:50.843Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:06:50.843Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-04-08T17:06:51.140Z] -- Detecting C compile features [2020-04-08T17:06:51.421Z] -- Detecting C compile features - done [2020-04-08T17:06:51.421Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-04-08T17:06:51.421Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-04-08T17:06:51.421Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-04-08T17:06:51.421Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-04-08T17:06:51.421Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-04-08T17:06:51.421Z] -- C SDK 1.2.0-dev.13 for Linux [2020-04-08T17:06:51.421Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-04-08T17:06:51.421Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-04-08T17:06:51.421Z] -- Found Curses: /usr/lib/libcurses.so [2020-04-08T17:06:51.697Z] -- Configuring done [2020-04-08T17:06:51.697Z] -- Generating done [2020-04-08T17:06:51.697Z] -- Build files have been written to: /tmp/sdk/build/release [2020-04-08T17:06:51.697Z] + make [2020-04-08T17:06:51.697Z] + tee release.log [2020-04-08T17:06:51.968Z] Scanning dependencies of target csdk [2020-04-08T17:06:51.968Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-04-08T17:06:52.233Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-04-08T17:06:52.244Z] [ 3%] Linking C shared library libcsdk.so [2020-04-08T17:06:52.244Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:06:52.244Z] [ 65%] Built target csdk [2020-04-08T17:06:52.510Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:06:52.510Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:06:52.510Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:06:52.510Z] [ 66%] Linking C executable template [2020-04-08T17:06:52.510Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:06:52.510Z] [ 68%] Built target template [2020-04-08T17:06:52.510Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:06:52.510Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:06:52.542Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-04-08T17:06:52.778Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:06:52.778Z] [ 69%] Linking C executable device-counter [2020-04-08T17:06:52.778Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:06:52.778Z] [ 71%] Built target device-counter [2020-04-08T17:06:52.778Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:06:52.778Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:06:52.778Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:06:53.046Z] [ 73%] Linking C executable device-random [2020-04-08T17:06:53.046Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:06:53.046Z] [ 74%] Built target device-random [2020-04-08T17:06:53.046Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:06:53.046Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:06:53.046Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:06:53.046Z] [ 76%] Linking C executable device-gyro [2020-04-08T17:06:53.120Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-04-08T17:06:53.311Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:06:53.311Z] [ 77%] Built target device-gyro [2020-04-08T17:06:53.311Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:06:53.311Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:06:53.311Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:06:53.311Z] [ 79%] Linking C executable template-discovery [2020-04-08T17:06:53.384Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-04-08T17:06:53.576Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:06:53.577Z] [ 80%] Built target template-discovery [2020-04-08T17:06:53.577Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:06:53.577Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:06:53.577Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:06:53.577Z] [ 82%] Linking C executable device-terminal [2020-04-08T17:06:53.668Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-04-08T17:06:53.845Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:06:53.845Z] [ 84%] Built target device-terminal [2020-04-08T17:06:53.845Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:06:53.845Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:06:53.845Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:06:53.845Z] [ 85%] Linking C executable template2 [2020-04-08T17:06:53.946Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-04-08T17:06:54.111Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:06:54.111Z] [ 87%] Built target template2 [2020-04-08T17:06:54.111Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:06:54.111Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:06:54.111Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:06:54.111Z] [ 88%] Linking C executable device-counterv2 [2020-04-08T17:06:54.376Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:06:54.376Z] [ 90%] Built target device-counterv2 [2020-04-08T17:06:54.376Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:06:54.376Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:06:54.376Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:06:54.376Z] [ 92%] Linking C executable device-gyrov2 [2020-04-08T17:06:54.552Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-04-08T17:06:54.641Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:06:54.642Z] [ 93%] Built target device-gyrov2 [2020-04-08T17:06:54.642Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:06:54.642Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:06:54.642Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:06:54.642Z] [ 95%] Linking C executable device-randomv2 [2020-04-08T17:06:54.825Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-04-08T17:06:54.825Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-04-08T17:06:54.925Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:06:54.925Z] [ 96%] Built target device-randomv2 [2020-04-08T17:06:54.925Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:06:54.925Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:06:54.925Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:06:54.925Z] [ 98%] Linking C executable device-terminalv2 [2020-04-08T17:06:55.193Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:06:55.193Z] [100%] Built target device-terminalv2 [2020-04-08T17:06:55.193Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:06:55.193Z] Install the project... [2020-04-08T17:06:55.193Z] -- Install configuration: "Release" [2020-04-08T17:06:55.193Z] -- Installing: /usr/local/lib/libcsdk.so [2020-04-08T17:06:55.193Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-04-08T17:06:55.193Z] -- Up-to-date: /usr/local/include [2020-04-08T17:06:55.193Z] -- Installing: /usr/local/include/devsdk [2020-04-08T17:06:55.193Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-04-08T17:06:55.193Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-04-08T17:06:55.193Z] -- Installing: /usr/local/include/edgex [2020-04-08T17:06:55.193Z] -- Installing: /usr/local/include/edgex/devices.h [2020-04-08T17:06:55.193Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-04-08T17:06:55.193Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-04-08T17:06:55.193Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-04-08T17:06:55.193Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-04-08T17:06:55.193Z] -- Installing: /usr/local/include/edgex/error.h [2020-04-08T17:06:55.193Z] -- Installing: /usr/local/include/edgex/registry.h [2020-04-08T17:06:55.193Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-04-08T17:06:55.193Z] -- Installing: /usr/local/include/edgex/os.h [2020-04-08T17:06:55.193Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-04-08T17:06:55.193Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-04-08T17:06:55.193Z] -- Installing: /usr/local/include/edgex/edgex-logging.h [2020-04-08T17:06:55.193Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-04-08T17:06:55.193Z] -- Installing: /usr/local/include/iot [2020-04-08T17:06:55.193Z] -- Installing: /usr/local/include/iot/hash.h [2020-04-08T17:06:55.193Z] -- Installing: /usr/local/include/iot/thread.h [2020-04-08T17:06:55.193Z] -- Installing: /usr/local/include/iot/json.h [2020-04-08T17:06:55.193Z] -- Installing: /usr/local/include/iot/os [2020-04-08T17:06:55.193Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-04-08T17:06:55.193Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-04-08T17:06:55.193Z] -- Installing: /usr/local/include/iot/base64.h [2020-04-08T17:06:55.193Z] -- Installing: /usr/local/include/iot/container.h [2020-04-08T17:06:55.193Z] -- Installing: /usr/local/include/iot/data.h [2020-04-08T17:06:55.193Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-04-08T17:06:55.193Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-04-08T17:06:55.193Z] -- Installing: /usr/local/include/iot/component.h [2020-04-08T17:06:55.193Z] -- Installing: /usr/local/include/iot/os.h [2020-04-08T17:06:55.193Z] -- Installing: /usr/local/include/iot/logger.h [2020-04-08T17:06:55.193Z] -- Installing: /usr/local/include/iot/time.h [2020-04-08T17:06:55.193Z] -- Installing: /usr/local/include/iot/iot.h [2020-04-08T17:06:55.193Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-04-08T17:06:55.193Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-04-08T17:06:55.193Z] make: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:06:55.412Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-04-08T17:06:55.685Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-04-08T17:06:55.952Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-04-08T17:06:55.952Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-04-08T17:06:56.911Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-04-08T17:06:57.131Z] Removing intermediate container 7e7175b0d223 [2020-04-08T17:06:57.131Z] ---> 3996272b61e3 [2020-04-08T17:06:57.131Z] Step 14/21 : FROM alpine:3.9 [2020-04-08T17:06:57.178Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-04-08T17:06:57.395Z] 3.9: Pulling from library/alpine [2020-04-08T17:06:57.448Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-04-08T17:06:57.448Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-04-08T17:06:57.659Z] eb93038481dd: Pulling fs layer [2020-04-08T17:06:57.926Z] eb93038481dd: Verifying Checksum [2020-04-08T17:06:57.926Z] eb93038481dd: Download complete [2020-04-08T17:06:58.433Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-04-08T17:06:58.433Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-04-08T17:06:58.433Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-04-08T17:06:58.508Z] eb93038481dd: Pull complete [2020-04-08T17:06:58.508Z] Digest: sha256:115731bab0862031b44766733890091c17924f9b7781b79997f5f163be262178 [2020-04-08T17:06:58.508Z] Status: Downloaded newer image for alpine:3.9 [2020-04-08T17:06:58.508Z] ---> 355993758880 [2020-04-08T17:06:58.508Z] Step 15/21 : MAINTAINER IOTech [2020-04-08T17:06:58.508Z] ---> Running in f836e7422154 [2020-04-08T17:06:58.736Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-04-08T17:06:59.029Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-04-08T17:06:59.029Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-04-08T17:06:59.092Z] Removing intermediate container f836e7422154 [2020-04-08T17:06:59.092Z] ---> 89d74c322b57 [2020-04-08T17:06:59.092Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-04-08T17:06:59.092Z] ---> Running in cbcf9424ecee [2020-04-08T17:06:59.298Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-04-08T17:06:59.639Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-04-08T17:06:59.677Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-04-08T17:06:59.922Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-04-08T17:06:59.922Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-04-08T17:07:00.254Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-04-08T17:07:00.594Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-04-08T17:07:00.833Z] (1/48) Installing binutils (2.31.1-r2) [2020-04-08T17:07:00.833Z] (2/48) Installing libmagic (5.36-r1) [2020-04-08T17:07:01.097Z] (3/48) Installing file (5.36-r1) [2020-04-08T17:07:01.097Z] (4/48) Installing gmp (6.1.2-r1) [2020-04-08T17:07:01.097Z] (5/48) Installing isl (0.18-r0) [2020-04-08T17:07:01.097Z] (6/48) Installing libgomp (8.3.0-r0) [2020-04-08T17:07:01.097Z] (7/48) Installing libatomic (8.3.0-r0) [2020-04-08T17:07:01.097Z] (8/48) Installing libgcc (8.3.0-r0) [2020-04-08T17:07:01.097Z] (9/48) Installing mpfr3 (3.1.5-r1) [2020-04-08T17:07:01.097Z] (10/48) Installing mpc1 (1.0.3-r1) [2020-04-08T17:07:01.097Z] (11/48) Installing libstdc++ (8.3.0-r0) [2020-04-08T17:07:01.097Z] (12/48) Installing gcc (8.3.0-r0) [2020-04-08T17:07:01.379Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-04-08T17:07:01.379Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-04-08T17:07:02.497Z] (13/48) Installing musl-dev (1.1.20-r5) [2020-04-08T17:07:02.761Z] (14/48) Installing libc-dev (0.7.1-r0) [2020-04-08T17:07:02.761Z] (15/48) Installing g++ (8.3.0-r0) [2020-04-08T17:07:03.220Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-04-08T17:07:03.593Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-04-08T17:07:03.593Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-04-08T17:07:03.869Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-04-08T17:07:04.163Z] (16/48) Installing make (4.2.1-r2) [2020-04-08T17:07:04.163Z] (17/48) Installing fortify-headers (1.0-r0) [2020-04-08T17:07:04.163Z] (18/48) Installing build-base (0.5-r1) [2020-04-08T17:07:04.163Z] (19/48) Installing libattr (2.4.47-r7) [2020-04-08T17:07:04.163Z] (20/48) Installing libacl (2.2.52-r5) [2020-04-08T17:07:04.163Z] (21/48) Installing libbz2 (1.0.6-r7) [2020-04-08T17:07:04.163Z] (22/48) Installing expat (2.2.8-r0) [2020-04-08T17:07:04.163Z] (23/48) Installing lz4-libs (1.8.3-r2) [2020-04-08T17:07:04.163Z] (24/48) Installing xz-libs (5.2.4-r0) [2020-04-08T17:07:04.163Z] (25/48) Installing libarchive (3.3.3-r2) [2020-04-08T17:07:04.163Z] (26/48) Installing ca-certificates (20190108-r0) [2020-04-08T17:07:04.163Z] (27/48) Installing nghttp2-libs (1.35.1-r1) [2020-04-08T17:07:04.163Z] (28/48) Installing libssh2 (1.9.0-r1) [2020-04-08T17:07:04.163Z] (29/48) Installing libcurl (7.64.0-r3) [2020-04-08T17:07:04.163Z] (30/48) Installing ncurses-terminfo-base (6.1_p20190105-r0) [2020-04-08T17:07:04.163Z] (31/48) Installing ncurses-terminfo (6.1_p20190105-r0) [2020-04-08T17:07:04.649Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-04-08T17:07:05.116Z] (32/48) Installing ncurses-libs (6.1_p20190105-r0) [2020-04-08T17:07:05.116Z] (33/48) Installing rhash-libs (1.3.6-r2) [2020-04-08T17:07:05.116Z] (34/48) Installing libuv (1.23.2-r0) [2020-04-08T17:07:05.322Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-04-08T17:07:05.382Z] (35/48) Installing cmake (3.13.0-r0) [2020-04-08T17:07:06.772Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-04-08T17:07:06.772Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-04-08T17:07:06.783Z] (36/48) Installing curl (7.64.0-r3) [2020-04-08T17:07:06.783Z] (37/48) Installing pcre2 (10.32-r1) [2020-04-08T17:07:06.783Z] (38/48) Installing git (2.20.2-r0) [2020-04-08T17:07:07.047Z] (39/48) Installing nettle (3.4.1-r0) [2020-04-08T17:07:07.047Z] (40/48) Installing libffi (3.2.1-r6) [2020-04-08T17:07:07.047Z] (41/48) Installing p11-kit (0.23.14-r0) [2020-04-08T17:07:07.047Z] (42/48) Installing libtasn1 (4.14-r0) [2020-04-08T17:07:07.047Z] (43/48) Installing libunistring (0.9.10-r0) [2020-04-08T17:07:07.047Z] (44/48) Installing gnutls (3.6.7-r1) [2020-04-08T17:07:07.047Z] (45/48) Installing libmicrohttpd (0.9.62-r0) [2020-04-08T17:07:07.047Z] (46/48) Installing libuuid (2.33-r0) [2020-04-08T17:07:07.047Z] (47/48) Installing wget (1.20.3-r0) [2020-04-08T17:07:07.047Z] (48/48) Installing yaml (0.2.1-r0) [2020-04-08T17:07:07.047Z] Executing busybox-1.29.3-r10.trigger [2020-04-08T17:07:07.047Z] Executing ca-certificates-20190108-r0.trigger [2020-04-08T17:07:07.315Z] OK: 219 MiB in 62 packages [2020-04-08T17:07:07.361Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-04-08T17:07:07.659Z] [ 65%] Linking C shared library libcsdk.so [2020-04-08T17:07:07.659Z] [ 65%] Built target csdk [2020-04-08T17:07:07.659Z] Scanning dependencies of target template [2020-04-08T17:07:07.659Z] [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-04-08T17:07:07.957Z] [ 68%] Linking C executable template [2020-04-08T17:07:07.957Z] [ 68%] Built target template [2020-04-08T17:07:07.957Z] Scanning dependencies of target device-counter [2020-04-08T17:07:07.957Z] [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-04-08T17:07:08.218Z] [ 71%] Linking C executable device-counter [2020-04-08T17:07:08.218Z] [ 71%] Built target device-counter [2020-04-08T17:07:08.218Z] Scanning dependencies of target device-random [2020-04-08T17:07:08.218Z] [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-04-08T17:07:08.499Z] [ 74%] Linking C executable device-random [2020-04-08T17:07:08.499Z] [ 74%] Built target device-random [2020-04-08T17:07:08.499Z] Scanning dependencies of target device-gyro [2020-04-08T17:07:08.499Z] [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-04-08T17:07:08.834Z] [ 77%] Linking C executable device-gyro [2020-04-08T17:07:08.834Z] [ 77%] Built target device-gyro [2020-04-08T17:07:08.834Z] Scanning dependencies of target template-discovery [2020-04-08T17:07:08.834Z] [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-04-08T17:07:09.119Z] [ 80%] Linking C executable template-discovery [2020-04-08T17:07:09.392Z] [ 80%] Built target template-discovery [2020-04-08T17:07:09.392Z] Scanning dependencies of target device-terminal [2020-04-08T17:07:09.392Z] [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-04-08T17:07:09.667Z] [ 84%] Linking C executable device-terminal [2020-04-08T17:07:09.667Z] [ 84%] Built target device-terminal [2020-04-08T17:07:09.939Z] Scanning dependencies of target template2 [2020-04-08T17:07:09.939Z] [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-04-08T17:07:09.939Z] [ 87%] Linking C executable template2 [2020-04-08T17:07:10.557Z] [ 87%] Built target template2 [2020-04-08T17:07:10.557Z] Scanning dependencies of target device-counterv2 [2020-04-08T17:07:10.557Z] [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-04-08T17:07:10.557Z] [ 90%] Linking C executable device-counterv2 [2020-04-08T17:07:10.820Z] [ 90%] Built target device-counterv2 [2020-04-08T17:07:10.820Z] Scanning dependencies of target device-gyrov2 [2020-04-08T17:07:10.820Z] [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o [2020-04-08T17:07:10.820Z] [ 93%] Linking C executable device-gyrov2 [2020-04-08T17:07:11.087Z] [ 93%] Built target device-gyrov2 [2020-04-08T17:07:11.087Z] Scanning dependencies of target device-randomv2 [2020-04-08T17:07:11.087Z] [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-04-08T17:07:11.357Z] [ 96%] Linking C executable device-randomv2 [2020-04-08T17:07:11.357Z] [ 96%] Built target device-randomv2 [2020-04-08T17:07:11.357Z] Scanning dependencies of target device-terminalv2 [2020-04-08T17:07:11.357Z] [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o [2020-04-08T17:07:11.626Z] [100%] Linking C executable device-terminalv2 [2020-04-08T17:07:11.626Z] [100%] Built target device-terminalv2 [2020-04-08T17:07:11.893Z] + make package [2020-04-08T17:07:11.893Z] + tee -a release.log [2020-04-08T17:07:11.893Z] [ 65%] Built target csdk [2020-04-08T17:07:11.893Z] [ 68%] Built target template [2020-04-08T17:07:11.893Z] [ 71%] Built target device-counter [2020-04-08T17:07:11.893Z] [ 74%] Built target device-random [2020-04-08T17:07:11.893Z] [ 77%] Built target device-gyro [2020-04-08T17:07:12.158Z] [ 80%] Built target template-discovery [2020-04-08T17:07:12.158Z] [ 84%] Built target device-terminal [2020-04-08T17:07:12.158Z] [ 87%] Built target template2 [2020-04-08T17:07:12.158Z] [ 90%] Built target device-counterv2 [2020-04-08T17:07:12.158Z] [ 93%] Built target device-gyrov2 [2020-04-08T17:07:12.158Z] [ 96%] Built target device-randomv2 [2020-04-08T17:07:12.158Z] [100%] Built target device-terminalv2 [2020-04-08T17:07:12.158Z] Run CPack packaging tool... [2020-04-08T17:07:12.158Z] CPack: Create package using TGZ [2020-04-08T17:07:12.158Z] CPack: Install projects [2020-04-08T17:07:12.158Z] CPack: - Run preinstall target for: Csdk [2020-04-08T17:07:12.778Z] CPack: - Install project: Csdk [2020-04-08T17:07:12.778Z] CPack: Create package [2020-04-08T17:07:12.778Z] CPack: - package: /tmp/sdk/build/release/csdk-1.2.0-dev.13.tar.gz generated. [2020-04-08T17:07:12.778Z] + '[' false '=' true ] [2020-04-08T17:07:12.778Z] + '[' false '=' true ] [2020-04-08T17:07:12.778Z] + mkdir -p /tmp/sdk/build/debug [2020-04-08T17:07:12.778Z] + cd /tmp/sdk/build/debug [2020-04-08T17:07:12.778Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2020-04-08T17:07:13.064Z] -- The C compiler identification is GNU 8.3.0 [2020-04-08T17:07:13.064Z] -- Check for working C compiler: /usr/bin/cc [2020-04-08T17:07:13.064Z] -- Check for working C compiler: /usr/bin/cc -- works [2020-04-08T17:07:13.064Z] -- Detecting C compiler ABI info [2020-04-08T17:07:13.332Z] -- Detecting C compiler ABI info - done [2020-04-08T17:07:13.332Z] -- Detecting C compile features [2020-04-08T17:07:13.945Z] -- Detecting C compile features - done [2020-04-08T17:07:13.945Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2020-04-08T17:07:13.945Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2020-04-08T17:07:13.945Z] -- Found LIBYAML: /usr/lib/libyaml.so [2020-04-08T17:07:13.945Z] -- Found LIBUUID: /usr/lib/libuuid.so [2020-04-08T17:07:13.945Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2020-04-08T17:07:13.945Z] -- C SDK 1.2.0-dev.13 for Linux [2020-04-08T17:07:13.945Z] -- Performing Test CSDK_HAVE_ATOMIC [2020-04-08T17:07:13.945Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2020-04-08T17:07:13.945Z] -- Found Curses: /usr/lib/libcurses.so [2020-04-08T17:07:13.945Z] -- Configuring done [2020-04-08T17:07:14.218Z] -- Generating done [2020-04-08T17:07:14.218Z] -- Build files have been written to: /tmp/sdk/build/debug [2020-04-08T17:07:14.218Z] + make [2020-04-08T17:07:14.218Z] + tee debug.log [2020-04-08T17:07:14.218Z] Scanning dependencies of target csdk [2020-04-08T17:07:14.218Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2020-04-08T17:07:14.523Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o [2020-04-08T17:07:14.523Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2020-04-08T17:07:14.831Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2020-04-08T17:07:14.831Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2020-04-08T17:07:15.103Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2020-04-08T17:07:15.103Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2020-04-08T17:07:15.391Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2020-04-08T17:07:15.661Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2020-04-08T17:07:15.661Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2020-04-08T17:07:15.953Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2020-04-08T17:07:15.953Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2020-04-08T17:07:15.953Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2020-04-08T17:07:16.218Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2020-04-08T17:07:16.480Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2020-04-08T17:07:16.480Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2020-04-08T17:07:16.807Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2020-04-08T17:07:16.807Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2020-04-08T17:07:17.191Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2020-04-08T17:07:17.191Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2020-04-08T17:07:17.476Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2020-04-08T17:07:17.476Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2020-04-08T17:07:17.820Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2020-04-08T17:07:17.820Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2020-04-08T17:07:17.820Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2020-04-08T17:07:17.820Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2020-04-08T17:07:18.113Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2020-04-08T17:07:18.114Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2020-04-08T17:07:18.114Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2020-04-08T17:07:18.440Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2020-04-08T17:07:18.726Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2020-04-08T17:07:19.005Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2020-04-08T17:07:19.315Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2020-04-08T17:07:19.315Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2020-04-08T17:07:19.315Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2020-04-08T17:07:20.003Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-04-08T17:07:20.314Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2020-04-08T17:07:20.589Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2020-04-08T17:07:20.589Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o [2020-04-08T17:07:20.858Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2020-04-08T17:07:20.858Z] [ 65%] Linking C shared library libcsdk.so [2020-04-08T17:07:21.131Z] [ 65%] Built target csdk [2020-04-08T17:07:21.132Z] Scanning dependencies of target template [2020-04-08T17:07:21.132Z] [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2020-04-08T17:07:21.132Z] [ 68%] Linking C executable template [2020-04-08T17:07:21.395Z] [ 68%] Built target template [2020-04-08T17:07:21.395Z] Scanning dependencies of target device-counter [2020-04-08T17:07:21.395Z] [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2020-04-08T17:07:21.395Z] [ 71%] Linking C executable device-counter [2020-04-08T17:07:21.671Z] [ 71%] Built target device-counter [2020-04-08T17:07:21.671Z] Scanning dependencies of target device-random [2020-04-08T17:07:21.671Z] [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2020-04-08T17:07:21.671Z] [ 74%] Linking C executable device-random [2020-04-08T17:07:21.986Z] [ 74%] Built target device-random [2020-04-08T17:07:21.986Z] Scanning dependencies of target device-gyro [2020-04-08T17:07:21.986Z] [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2020-04-08T17:07:22.310Z] Removing intermediate container cbcf9424ecee [2020-04-08T17:07:22.310Z] ---> c3da0e34f238 [2020-04-08T17:07:22.310Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-04-08T17:07:22.310Z] ---> 762c59cc4009 [2020-04-08T17:07:22.310Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-04-08T17:07:22.310Z] ---> 0b1aa3bed27b [2020-04-08T17:07:22.310Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-04-08T17:07:22.310Z] ---> 7650c789d8a9 [2020-04-08T17:07:22.310Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-04-08T17:07:22.310Z] ---> a68ea5e0138a [2020-04-08T17:07:22.310Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-04-08T17:07:22.312Z] [ 77%] Linking C executable device-gyro [2020-04-08T17:07:22.312Z] [ 77%] Built target device-gyro [2020-04-08T17:07:22.312Z] Scanning dependencies of target template-discovery [2020-04-08T17:07:22.312Z] [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2020-04-08T17:07:22.312Z] [ 80%] Linking C executable template-discovery [2020-04-08T17:07:22.576Z] ---> 7c41442ac94d [2020-04-08T17:07:22.577Z] Successfully built 7c41442ac94d [2020-04-08T17:07:22.606Z] [ 80%] Built target template-discovery [2020-04-08T17:07:22.606Z] Scanning dependencies of target device-terminal [2020-04-08T17:07:22.606Z] [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2020-04-08T17:07:22.606Z] [ 84%] Linking C executable device-terminal [2020-04-08T17:07:22.844Z] Successfully tagged ci-base-image-arm64:latest [2020-04-08T17:07:22.878Z] [ 84%] Built target device-terminal [2020-04-08T17:07:22.878Z] Scanning dependencies of target template2 [2020-04-08T17:07:22.878Z] [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o [2020-04-08T17:07:22.878Z] [ 87%] Linking C executable template2 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-08T17:07:23.161Z] [ 87%] Built target template2 [2020-04-08T17:07:23.161Z] Scanning dependencies of target device-counterv2 [2020-04-08T17:07:23.161Z] [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o [2020-04-08T17:07:23.161Z] [ 90%] Linking C executable device-counterv2 [2020-04-08T17:07:23.161Z] [ 90%] Built target device-counterv2 [2020-04-08T17:07:23.442Z] + docker inspect -f . ci-base-image-arm64 [2020-04-08T17:07:23.442Z] . [Pipeline] withDockerContainer [2020-04-08T17:07:23.491Z] Scanning dependencies of target device-gyrov2 [2020-04-08T17:07:23.491Z] [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o [2020-04-08T17:07:23.491Z] [ 93%] Linking C executable device-gyrov2 [2020-04-08T17:07:23.491Z] [ 93%] Built target device-gyrov2 [2020-04-08T17:07:23.491Z] Scanning dependencies of target device-randomv2 [2020-04-08T17:07:23.491Z] [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o [2020-04-08T17:07:23.784Z] prd-ubuntu18.04-docker-arm64-4c-16g-2897 does not seem to be running inside a container [2020-04-08T17:07:23.786Z] [ 96%] Linking C executable device-randomv2 [2020-04-08T17:07:23.786Z] [ 96%] Built target device-randomv2 [2020-04-08T17:07:23.786Z] Scanning dependencies of target device-terminalv2 [2020-04-08T17:07:23.786Z] [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o [2020-04-08T17:07:23.855Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/13 -v /w/workspace/device-sdk-c/13:/w/workspace/device-sdk-c/13:rw,z -v /w/workspace/device-sdk-c/13@tmp:/w/workspace/device-sdk-c/13@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 ******** ci-base-image-arm64 cat [2020-04-08T17:07:24.050Z] [100%] Linking C executable device-terminalv2 [2020-04-08T17:07:24.321Z] [100%] Built target device-terminalv2 [2020-04-08T17:07:24.321Z] make: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:07:24.321Z] make[1]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:07:24.321Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:07:24.321Z] Scanning dependencies of target csdk [2020-04-08T17:07:24.321Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:07:24.321Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:07:24.321Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2020-04-08T17:07:25.047Z] $ docker top cac692cc66dc27a5cf52a41b0f2387cedeef494ee11018233b8afe41a4d8ab9f -eo pid,comm [2020-04-08T17:07:25.297Z] [ 3%] Linking C shared library libcsdk.so [2020-04-08T17:07:25.297Z] make[2]: Leaving directory '/tmp/sdk/build/release' [Pipeline] { [Pipeline] sh [2020-04-08T17:07:25.609Z] [ 65%] Built target csdk [2020-04-08T17:07:25.609Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:07:25.609Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:07:25.609Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:07:25.609Z] [ 66%] Linking C executable template [2020-04-08T17:07:25.609Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:07:25.609Z] [ 68%] Built target template [2020-04-08T17:07:25.609Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:07:25.609Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:07:25.609Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:07:25.610Z] [ 69%] Linking C executable device-counter [2020-04-08T17:07:25.959Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:07:25.959Z] [ 71%] Built target device-counter [2020-04-08T17:07:25.959Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:07:25.959Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:07:25.959Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:07:25.959Z] [ 73%] Linking C executable device-random [2020-04-08T17:07:25.959Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:07:25.959Z] [ 74%] Built target device-random [2020-04-08T17:07:25.959Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:07:25.959Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:07:25.959Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:07:25.959Z] [ 76%] Linking C executable device-gyro [2020-04-08T17:07:26.132Z] + make test [2020-04-08T17:07:26.132Z] echo "make test" [2020-04-08T17:07:26.132Z] make test [Pipeline] } [2020-04-08T17:07:26.147Z] $ docker stop --time=1 cac692cc66dc27a5cf52a41b0f2387cedeef494ee11018233b8afe41a4d8ab9f [2020-04-08T17:07:26.242Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:07:26.242Z] [ 77%] Built target device-gyro [2020-04-08T17:07:26.242Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:07:26.242Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:07:26.242Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:07:26.242Z] [ 79%] Linking C executable template-discovery [2020-04-08T17:07:26.242Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:07:26.242Z] [ 80%] Built target template-discovery [2020-04-08T17:07:26.242Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:07:26.242Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:07:26.242Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:07:26.534Z] [ 82%] Linking C executable device-terminal [2020-04-08T17:07:26.534Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:07:26.534Z] [ 84%] Built target device-terminal [2020-04-08T17:07:26.534Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:07:26.534Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:07:26.534Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:07:26.534Z] [ 85%] Linking C executable template2 [2020-04-08T17:07:26.820Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:07:26.820Z] [ 87%] Built target template2 [2020-04-08T17:07:26.820Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:07:26.820Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:07:26.820Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:07:26.820Z] [ 88%] Linking C executable device-counterv2 [2020-04-08T17:07:26.820Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:07:26.820Z] [ 90%] Built target device-counterv2 [2020-04-08T17:07:26.820Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:07:26.820Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:07:26.820Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:07:26.820Z] [ 92%] Linking C executable device-gyrov2 [2020-04-08T17:07:27.117Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:07:27.117Z] [ 93%] Built target device-gyrov2 [2020-04-08T17:07:27.117Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:07:27.117Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:07:27.117Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:07:27.117Z] [ 95%] Linking C executable device-randomv2 [2020-04-08T17:07:27.439Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:07:27.439Z] [ 96%] Built target device-randomv2 [2020-04-08T17:07:27.439Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:07:27.439Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:07:27.439Z] make[2]: Entering directory '/tmp/sdk/build/release' [2020-04-08T17:07:27.439Z] [ 98%] Linking C executable device-terminalv2 [2020-04-08T17:07:27.439Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:07:27.439Z] [100%] Built target device-terminalv2 [2020-04-08T17:07:27.439Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:07:27.439Z] Install the project... [2020-04-08T17:07:27.796Z] -- Install configuration: "Release" [2020-04-08T17:07:27.796Z] -- Installing: /usr/local/lib/libcsdk.so [2020-04-08T17:07:27.796Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2020-04-08T17:07:27.796Z] -- Up-to-date: /usr/local/include [2020-04-08T17:07:27.796Z] -- Installing: /usr/local/include/devsdk [2020-04-08T17:07:27.796Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2020-04-08T17:07:27.796Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2020-04-08T17:07:27.796Z] -- Installing: /usr/local/include/edgex [2020-04-08T17:07:27.796Z] -- Installing: /usr/local/include/edgex/device-mgmt.h [2020-04-08T17:07:27.796Z] -- Installing: /usr/local/include/edgex/devices.h [2020-04-08T17:07:27.796Z] -- Installing: /usr/local/include/edgex/devsdk.h [2020-04-08T17:07:27.796Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2020-04-08T17:07:27.796Z] -- Installing: /usr/local/include/edgex/edgex-logging.h [2020-04-08T17:07:27.796Z] -- Installing: /usr/local/include/edgex/edgex.h [2020-04-08T17:07:27.796Z] -- Installing: /usr/local/include/edgex/error.h [2020-04-08T17:07:27.796Z] -- Installing: /usr/local/include/edgex/eventgen.h [2020-04-08T17:07:27.796Z] -- Installing: /usr/local/include/edgex/os.h [2020-04-08T17:07:27.796Z] -- Installing: /usr/local/include/edgex/profiles.h [2020-04-08T17:07:27.796Z] -- Installing: /usr/local/include/edgex/registry.h [2020-04-08T17:07:27.796Z] -- Installing: /usr/local/include/edgex/rest-server.h [2020-04-08T17:07:27.796Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2020-04-08T17:07:27.796Z] -- Installing: /usr/local/include/iot [2020-04-08T17:07:27.796Z] -- Installing: /usr/local/include/iot/base64.h [2020-04-08T17:07:27.796Z] -- Installing: /usr/local/include/iot/component.h [2020-04-08T17:07:27.796Z] -- Installing: /usr/local/include/iot/container.h [2020-04-08T17:07:27.796Z] -- Installing: /usr/local/include/iot/data.h [2020-04-08T17:07:27.796Z] -- Installing: /usr/local/include/iot/hash.h [2020-04-08T17:07:27.796Z] -- Installing: /usr/local/include/iot/iot.h [2020-04-08T17:07:27.796Z] -- Installing: /usr/local/include/iot/json.h [2020-04-08T17:07:27.796Z] -- Installing: /usr/local/include/iot/logger.h [2020-04-08T17:07:27.796Z] -- Installing: /usr/local/include/iot/os.h [2020-04-08T17:07:27.797Z] -- Installing: /usr/local/include/iot/scheduler.h [2020-04-08T17:07:27.797Z] -- Installing: /usr/local/include/iot/thread.h [2020-04-08T17:07:27.797Z] -- Installing: /usr/local/include/iot/threadpool.h [2020-04-08T17:07:27.797Z] -- Installing: /usr/local/include/iot/time.h [2020-04-08T17:07:27.797Z] -- Installing: /usr/local/include/iot/os [2020-04-08T17:07:27.797Z] -- Installing: /usr/local/include/iot/os/linux.h [2020-04-08T17:07:27.797Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2020-04-08T17:07:27.797Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2020-04-08T17:07:27.797Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2020-04-08T17:07:27.797Z] make: Leaving directory '/tmp/sdk/build/release' [2020-04-08T17:07:28.202Z] $ docker rm -f cac692cc66dc27a5cf52a41b0f2387cedeef494ee11018233b8afe41a4d8ab9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-08T17:07:29.353Z] Removing intermediate container 7024649cd6c0 [2020-04-08T17:07:29.353Z] ---> 841aa84f9a62 [2020-04-08T17:07:29.353Z] Step 14/21 : FROM alpine:3.9 [2020-04-08T17:07:29.353Z] 3.9: Pulling from library/alpine [2020-04-08T17:07:29.626Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-08T17:07:29.652Z] 9123ac7c32f7: Pulling fs layer [2020-04-08T17:07:29.652Z] 9123ac7c32f7: Download complete [2020-04-08T17:07:29.964Z] + ls -al . [2020-04-08T17:07:29.965Z] total 192 [2020-04-08T17:07:29.965Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 8 17:04 . [2020-04-08T17:07:29.965Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 17:04 .. [2020-04-08T17:07:29.965Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 8 17:04 .git [2020-04-08T17:07:29.965Z] -rw-rw-r-- 1 jenkins jenkins 176 Apr 8 17:04 .gitignore [2020-04-08T17:07:29.965Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 17:04 .semver [2020-04-08T17:07:29.965Z] -rw-rw-r-- 1 jenkins jenkins 3104 Apr 8 17:04 Attribution.txt [2020-04-08T17:07:29.965Z] -rw-rw-r-- 1 jenkins jenkins 5040 Apr 8 17:04 CHANGES [2020-04-08T17:07:29.965Z] -rw-rw-r-- 1 jenkins jenkins 108574 Apr 8 17:04 Doxyfile [2020-04-08T17:07:29.965Z] -rw-rw-r-- 1 jenkins jenkins 792 Apr 8 17:04 Jenkinsfile [2020-04-08T17:07:29.965Z] -rw-rw-r-- 1 jenkins jenkins 10174 Apr 8 17:04 LICENSE [2020-04-08T17:07:29.965Z] -rw-rw-r-- 1 jenkins jenkins 448 Apr 8 17:04 Makefile [2020-04-08T17:07:29.965Z] -rw-rw-r-- 1 jenkins jenkins 1849 Apr 8 17:04 README.md [2020-04-08T17:07:29.965Z] -rw-rw-r-- 1 jenkins jenkins 5050 Apr 8 17:04 README.v2.md [2020-04-08T17:07:29.965Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 8 17:02 VERSION [2020-04-08T17:07:29.965Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 17:04 docs [2020-04-08T17:07:29.965Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 17:04 include [2020-04-08T17:07:29.965Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 17:04 scripts [2020-04-08T17:07:29.965Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 17:04 src [Pipeline] isUnix [Pipeline] sh [2020-04-08T17:07:30.249Z] 9123ac7c32f7: Pull complete [2020-04-08T17:07:30.249Z] Digest: sha256:115731bab0862031b44766733890091c17924f9b7781b79997f5f163be262178 [2020-04-08T17:07:30.249Z] Status: Downloaded newer image for alpine:3.9 [2020-04-08T17:07:30.249Z] ---> 82f67be598eb [2020-04-08T17:07:30.249Z] Step 15/21 : MAINTAINER IOTech [2020-04-08T17:07:30.249Z] ---> Running in a1680de320d4 [2020-04-08T17:07:30.298Z] + 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=a76fee4735da9c07c26f8252a21595d1aad09861 --label arch=arm64 --label version=1.2.0-dev.13 . [2020-04-08T17:07:30.519Z] Removing intermediate container a1680de320d4 [2020-04-08T17:07:30.519Z] ---> 30dd52051895 [2020-04-08T17:07:30.519Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2020-04-08T17:07:30.519Z] ---> Running in 5726a1a84c99 [2020-04-08T17:07:30.884Z] Sending build context to Docker daemon 2.967MB [2020-04-08T17:07:30.884Z] Step 1/15 : ARG BASE=alpine:3.9 [2020-04-08T17:07:30.884Z] Step 2/15 : FROM ${BASE} [2020-04-08T17:07:30.884Z] ---> 7c41442ac94d [2020-04-08T17:07:30.884Z] Step 3/15 : MAINTAINER IOTech [2020-04-08T17:07:30.884Z] ---> Running in 66931247a41b [2020-04-08T17:07:31.151Z] Removing intermediate container 66931247a41b [2020-04-08T17:07:31.151Z] ---> 976033183e08 [2020-04-08T17:07:31.151Z] 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-04-08T17:07:31.161Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-04-08T17:07:31.419Z] ---> Running in f7f4f20db3ed [2020-04-08T17:07:31.981Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-04-08T17:07:31.982Z] (1/48) Installing binutils (2.31.1-r2) [2020-04-08T17:07:32.379Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2020-04-08T17:07:32.379Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2020-04-08T17:07:32.387Z] (2/48) Installing libmagic (5.36-r1) [2020-04-08T17:07:32.388Z] (3/48) Installing file (5.36-r1) [2020-04-08T17:07:32.388Z] (4/48) Installing gmp (6.1.2-r1) [2020-04-08T17:07:32.388Z] (5/48) Installing isl (0.18-r0) [2020-04-08T17:07:32.662Z] (6/48) Installing libgomp (8.3.0-r0) [2020-04-08T17:07:32.662Z] (7/48) Installing libatomic (8.3.0-r0) [2020-04-08T17:07:32.662Z] (8/48) Installing libgcc (8.3.0-r0) [2020-04-08T17:07:32.662Z] (9/48) Installing mpfr3 (3.1.5-r1) [2020-04-08T17:07:32.662Z] (10/48) Installing mpc1 (1.0.3-r1) [2020-04-08T17:07:32.662Z] (11/48) Installing libstdc++ (8.3.0-r0) [2020-04-08T17:07:32.662Z] (12/48) Installing gcc (8.3.0-r0) [2020-04-08T17:07:32.963Z] (1/21) Installing pkgconf (1.6.0-r0) [2020-04-08T17:07:32.963Z] (2/21) Installing openssl-dev (1.1.1d-r2) [2020-04-08T17:07:33.546Z] (3/21) Installing zlib-dev (1.2.11-r1) [2020-04-08T17:07:33.546Z] (4/21) Installing libssh2-dev (1.9.0-r1) [2020-04-08T17:07:33.546Z] (5/21) Installing nghttp2-dev (1.35.1-r1) [2020-04-08T17:07:33.546Z] (6/21) Installing curl-dev (7.64.0-r3) [2020-04-08T17:07:33.546Z] (7/21) Installing gnutls-c++ (3.6.7-r1) [2020-04-08T17:07:33.546Z] (8/21) Installing libgmpxx (6.1.2-r1) [2020-04-08T17:07:33.546Z] (9/21) Installing gmp-dev (6.1.2-r1) [2020-04-08T17:07:33.546Z] (10/21) Installing nettle-dev (3.4.1-r0) [2020-04-08T17:07:33.812Z] (11/21) Installing libtasn1-dev (4.14-r0) [2020-04-08T17:07:33.812Z] (12/21) Installing p11-kit-dev (0.23.14-r0) [2020-04-08T17:07:33.812Z] (13/21) Installing gnutls-dev (3.6.7-r1) [2020-04-08T17:07:34.079Z] (14/21) Installing libmicrohttpd-dev (0.9.62-r0) [2020-04-08T17:07:34.079Z] (15/21) Installing ncurses-dev (6.1_p20190105-r0) [2020-04-08T17:07:34.079Z] (16/21) Installing libblkid (2.33-r0) [2020-04-08T17:07:34.079Z] (17/21) Installing libfdisk (2.33-r0) [2020-04-08T17:07:34.079Z] (18/21) Installing libmount (2.33-r0) [2020-04-08T17:07:34.080Z] (19/21) Installing libsmartcols (2.33-r0) [2020-04-08T17:07:34.080Z] (20/21) Installing util-linux-dev (2.33-r0) [2020-04-08T17:07:34.080Z] (21/21) Installing yaml-dev (0.2.1-r0) [2020-04-08T17:07:34.080Z] Executing busybox-1.29.3-r10.trigger [2020-04-08T17:07:34.080Z] OK: 279 MiB in 83 packages [2020-04-08T17:07:37.438Z] Removing intermediate container f7f4f20db3ed [2020-04-08T17:07:37.438Z] ---> db06ee2c2263 [2020-04-08T17:07:37.438Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-04-08T17:07:37.489Z] (13/48) Installing musl-dev (1.1.20-r5) [2020-04-08T17:07:38.021Z] ---> 6f7d6601b492 [2020-04-08T17:07:38.021Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-04-08T17:07:38.436Z] (14/48) Installing libc-dev (0.7.1-r0) [2020-04-08T17:07:38.436Z] (15/48) Installing g++ (8.3.0-r0) [2020-04-08T17:07:38.604Z] ---> a01641623b51 [2020-04-08T17:07:38.604Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-04-08T17:07:39.188Z] ---> 7c355db78ba3 [2020-04-08T17:07:39.188Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-04-08T17:07:39.459Z] ---> 11591945aca7 [2020-04-08T17:07:39.459Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-04-08T17:07:39.894Z] (16/48) Installing make (4.2.1-r2) [2020-04-08T17:07:39.894Z] (17/48) Installing fortify-headers (1.0-r0) [2020-04-08T17:07:39.894Z] (18/48) Installing build-base (0.5-r1) [2020-04-08T17:07:39.894Z] (19/48) Installing libattr (2.4.47-r7) [2020-04-08T17:07:39.894Z] (20/48) Installing libacl (2.2.52-r5) [2020-04-08T17:07:39.894Z] (21/48) Installing libbz2 (1.0.6-r7) [2020-04-08T17:07:39.894Z] (22/48) Installing expat (2.2.8-r0) [2020-04-08T17:07:39.894Z] (23/48) Installing lz4-libs (1.8.3-r2) [2020-04-08T17:07:39.894Z] (24/48) Installing xz-libs (5.2.4-r0) [2020-04-08T17:07:39.894Z] (25/48) Installing libarchive (3.3.3-r2) [2020-04-08T17:07:39.894Z] (26/48) Installing ca-certificates (20190108-r0) [2020-04-08T17:07:39.894Z] (27/48) Installing nghttp2-libs (1.35.1-r1) [2020-04-08T17:07:39.894Z] (28/48) Installing libssh2 (1.9.0-r1) [2020-04-08T17:07:39.894Z] (29/48) Installing libcurl (7.64.0-r3) [2020-04-08T17:07:39.894Z] (30/48) Installing ncurses-terminfo-base (6.1_p20190105-r0) [2020-04-08T17:07:39.894Z] (31/48) Installing ncurses-terminfo (6.1_p20190105-r0) [2020-04-08T17:07:40.063Z] ---> 7dee24b983bf [2020-04-08T17:07:40.063Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-04-08T17:07:40.671Z] ---> 3ecb305e5178 [2020-04-08T17:07:40.671Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-04-08T17:07:40.671Z] ---> Running in 0b09435d521a [2020-04-08T17:07:40.726Z] (32/48) Installing ncurses-libs (6.1_p20190105-r0) [2020-04-08T17:07:40.726Z] (33/48) Installing rhash-libs (1.3.6-r2) [2020-04-08T17:07:40.726Z] (34/48) Installing libuv (1.23.2-r0) [2020-04-08T17:07:40.726Z] (35/48) Installing cmake (3.13.0-r0) [2020-04-08T17:07:41.266Z] Removing intermediate container 0b09435d521a [2020-04-08T17:07:41.266Z] ---> 304a3d90eb09 [2020-04-08T17:07:41.266Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-04-08T17:07:41.266Z] ---> Running in f096ab25fcb3 [2020-04-08T17:07:41.536Z] Removing intermediate container f096ab25fcb3 [2020-04-08T17:07:41.536Z] ---> ae6a564bdf3f [2020-04-08T17:07:41.536Z] Step 13/15 : LABEL arch=arm64 [2020-04-08T17:07:41.802Z] ---> Running in 899ffc18cca8 [2020-04-08T17:07:42.070Z] Removing intermediate container 899ffc18cca8 [2020-04-08T17:07:42.070Z] ---> f464abb5b9e1 [2020-04-08T17:07:42.070Z] Step 14/15 : LABEL git_sha=a76fee4735da9c07c26f8252a21595d1aad09861 [2020-04-08T17:07:42.070Z] ---> Running in 087595e04131 [2020-04-08T17:07:42.337Z] Removing intermediate container 087595e04131 [2020-04-08T17:07:42.337Z] ---> e9f93145328a [2020-04-08T17:07:42.337Z] Step 15/15 : LABEL version=1.2.0-dev.13 [2020-04-08T17:07:42.607Z] ---> Running in 263c55bdbd1a [2020-04-08T17:07:42.874Z] Removing intermediate container 263c55bdbd1a [2020-04-08T17:07:42.874Z] ---> a102870d9a72 [2020-04-08T17:07:42.874Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2020-04-08T17:07:42.874Z] Successfully built a102870d9a72 [2020-04-08T17:07:42.874Z] Successfully tagged docker-device-sdk-c-arm64:latest [2020-04-08T17:07:42.887Z] (36/48) Installing curl (7.64.0-r3) [2020-04-08T17:07:42.888Z] (37/48) Installing pcre2 (10.32-r1) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-04-08T17:07:43.731Z] (38/48) Installing git (2.20.2-r0) [2020-04-08T17:07:44.764Z] (39/48) Installing nettle (3.4.1-r0) [2020-04-08T17:07:44.764Z] (40/48) Installing libffi (3.2.1-r6) [2020-04-08T17:07:44.764Z] (41/48) Installing p11-kit (0.23.14-r0) [2020-04-08T17:07:44.764Z] (42/48) Installing libtasn1 (4.14-r0) [2020-04-08T17:07:44.764Z] (43/48) Installing libunistring (0.9.10-r0) [2020-04-08T17:07:44.764Z] (44/48) Installing gnutls (3.6.7-r1) [2020-04-08T17:07:45.059Z] (45/48) Installing libmicrohttpd (0.9.62-r0) [2020-04-08T17:07:45.059Z] (46/48) Installing libuuid (2.33-r0) [2020-04-08T17:07:45.059Z] (47/48) Installing wget (1.20.3-r0) [2020-04-08T17:07:45.457Z] (48/48) Installing yaml (0.2.1-r0) [2020-04-08T17:07:45.457Z] Executing busybox-1.29.3-r10.trigger [2020-04-08T17:07:45.457Z] Executing ca-certificates-20190108-r0.trigger [2020-04-08T17:07:45.457Z] OK: 222 MiB in 62 packages [2020-04-08T17:07:54.221Z] Removing intermediate container 5726a1a84c99 [2020-04-08T17:07:54.221Z] ---> b51217ff7644 [2020-04-08T17:07:54.221Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2020-04-08T17:07:54.221Z] ---> 9db7dc4c0261 [2020-04-08T17:07:54.221Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2020-04-08T17:07:54.221Z] ---> a83cb35a9474 [2020-04-08T17:07:54.221Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2020-04-08T17:07:54.490Z] ---> 6e6836d24ff9 [2020-04-08T17:07:54.490Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2020-04-08T17:07:55.130Z] ---> 187e27f64d6d [2020-04-08T17:07:55.130Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2020-04-08T17:07:55.130Z] ---> c8f805d77166 [2020-04-08T17:07:55.734Z] Successfully built c8f805d77166 [2020-04-08T17:07:55.734Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-08T17:07:56.468Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-08T17:07:56.468Z] . [Pipeline] withDockerContainer [2020-04-08T17:07:56.714Z] prd-centos7-docker-4c-2g-2899 does not seem to be running inside a container [2020-04-08T17:07:56.895Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/13 -v /w/workspace/device-sdk-c/13:/w/workspace/device-sdk-c/13:rw,z -v /w/workspace/device-sdk-c/13@tmp:/w/workspace/device-sdk-c/13@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 ******** ci-base-image-x86_64 cat [2020-04-08T17:07:57.802Z] $ docker top b62196096f1dc9fdc64ab9d1120d9ac4c7d40c889ce424dc5f362a2c4825406e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-08T17:07:58.800Z] + make test [2020-04-08T17:07:58.800Z] echo "make test" [2020-04-08T17:07:58.800Z] make test [Pipeline] } [2020-04-08T17:07:58.810Z] $ docker stop --time=1 b62196096f1dc9fdc64ab9d1120d9ac4c7d40c889ce424dc5f362a2c4825406e [2020-04-08T17:08:00.364Z] $ docker rm -f b62196096f1dc9fdc64ab9d1120d9ac4c7d40c889ce424dc5f362a2c4825406e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-08T17:08:01.116Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-08T17:08:01.430Z] + ls -al . [2020-04-08T17:08:01.431Z] total 160 [2020-04-08T17:08:01.431Z] drwxrwxr-x. 8 jenkins jenkins 260 Apr 8 17:06 . [2020-04-08T17:08:01.431Z] drwxrwxr-x. 4 jenkins jenkins 30 Apr 8 17:06 .. [2020-04-08T17:08:01.431Z] -rw-rw-r--. 1 jenkins jenkins 3104 Apr 8 17:06 Attribution.txt [2020-04-08T17:08:01.431Z] -rw-rw-r--. 1 jenkins jenkins 5040 Apr 8 17:06 CHANGES [2020-04-08T17:08:01.431Z] drwxrwxr-x. 2 jenkins jenkins 144 Apr 8 17:06 docs [2020-04-08T17:08:01.431Z] -rw-rw-r--. 1 jenkins jenkins 108574 Apr 8 17:06 Doxyfile [2020-04-08T17:08:01.431Z] drwxrwxr-x. 8 jenkins jenkins 162 Apr 8 17:06 .git [2020-04-08T17:08:01.431Z] -rw-rw-r--. 1 jenkins jenkins 176 Apr 8 17:06 .gitignore [2020-04-08T17:08:01.431Z] drwxrwxr-x. 4 jenkins jenkins 33 Apr 8 17:06 include [2020-04-08T17:08:01.431Z] -rw-rw-r--. 1 jenkins jenkins 792 Apr 8 17:06 Jenkinsfile [2020-04-08T17:08:01.431Z] -rw-rw-r--. 1 jenkins jenkins 10174 Apr 8 17:06 LICENSE [2020-04-08T17:08:01.431Z] -rw-rw-r--. 1 jenkins jenkins 448 Apr 8 17:06 Makefile [2020-04-08T17:08:01.431Z] -rw-rw-r--. 1 jenkins jenkins 1849 Apr 8 17:06 README.md [2020-04-08T17:08:01.431Z] -rw-rw-r--. 1 jenkins jenkins 5050 Apr 8 17:06 README.v2.md [2020-04-08T17:08:01.431Z] drwxrwxr-x. 2 jenkins jenkins 106 Apr 8 17:06 scripts [2020-04-08T17:08:01.431Z] drwxrwxr-x. 3 jenkins jenkins 44 Apr 8 17:06 .semver [2020-04-08T17:08:01.431Z] drwxrwxr-x. 4 jenkins jenkins 50 Apr 8 17:06 src [2020-04-08T17:08:01.431Z] -rw-rw-r--. 1 jenkins jenkins 12 Apr 8 17:02 VERSION [Pipeline] isUnix [Pipeline] sh [2020-04-08T17:08:01.845Z] + 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=a76fee4735da9c07c26f8252a21595d1aad09861 --label arch=amd64 --label version=1.2.0-dev.13 . [2020-04-08T17:08:02.931Z] Sending build context to Docker daemon 2.967MB [2020-04-08T17:08:02.931Z] Step 1/15 : ARG BASE=alpine:3.9 [2020-04-08T17:08:02.931Z] Step 2/15 : FROM ${BASE} [2020-04-08T17:08:02.931Z] ---> c8f805d77166 [2020-04-08T17:08:02.931Z] Step 3/15 : MAINTAINER IOTech [2020-04-08T17:08:02.931Z] ---> Running in 920a95a91485 [2020-04-08T17:08:03.260Z] Removing intermediate container 920a95a91485 [2020-04-08T17:08:03.260Z] ---> b648211f9f1a [2020-04-08T17:08:03.260Z] 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-04-08T17:08:03.260Z] ---> Running in 63598b4b3413 [2020-04-08T17:08:03.872Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2020-04-08T17:08:04.197Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2020-04-08T17:08:04.478Z] (1/21) Installing pkgconf (1.6.0-r0) [2020-04-08T17:08:04.478Z] (2/21) Installing openssl-dev (1.1.1d-r2) [2020-04-08T17:08:05.109Z] (3/21) Installing zlib-dev (1.2.11-r1) [2020-04-08T17:08:05.109Z] (4/21) Installing libssh2-dev (1.9.0-r1) [2020-04-08T17:08:05.685Z] (5/21) Installing nghttp2-dev (1.35.1-r1) [2020-04-08T17:08:05.685Z] (6/21) Installing curl-dev (7.64.0-r3) [2020-04-08T17:08:05.685Z] (7/21) Installing gnutls-c++ (3.6.7-r1) [2020-04-08T17:08:05.685Z] (8/21) Installing libgmpxx (6.1.2-r1) [2020-04-08T17:08:05.685Z] (9/21) Installing gmp-dev (6.1.2-r1) [2020-04-08T17:08:05.685Z] (10/21) Installing nettle-dev (3.4.1-r0) [2020-04-08T17:08:05.957Z] (11/21) Installing libtasn1-dev (4.14-r0) [2020-04-08T17:08:05.957Z] (12/21) Installing p11-kit-dev (0.23.14-r0) [2020-04-08T17:08:05.957Z] (13/21) Installing gnutls-dev (3.6.7-r1) [2020-04-08T17:08:05.957Z] (14/21) Installing libmicrohttpd-dev (0.9.62-r0) [2020-04-08T17:08:05.957Z] (15/21) Installing ncurses-dev (6.1_p20190105-r0) [2020-04-08T17:08:05.957Z] (16/21) Installing libblkid (2.33-r0) [2020-04-08T17:08:05.957Z] (17/21) Installing libfdisk (2.33-r0) [2020-04-08T17:08:05.957Z] (18/21) Installing libmount (2.33-r0) [2020-04-08T17:08:05.957Z] (19/21) Installing libsmartcols (2.33-r0) [2020-04-08T17:08:05.957Z] (20/21) Installing util-linux-dev (2.33-r0) [2020-04-08T17:08:05.957Z] (21/21) Installing yaml-dev (0.2.1-r0) [2020-04-08T17:08:05.957Z] Executing busybox-1.29.3-r10.trigger [2020-04-08T17:08:05.957Z] OK: 265 MiB in 83 packages [2020-04-08T17:08:07.431Z] Removing intermediate container 63598b4b3413 [2020-04-08T17:08:07.431Z] ---> fd85fc054f16 [2020-04-08T17:08:07.431Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2020-04-08T17:08:07.760Z] ---> 16b70c9a542e [2020-04-08T17:08:07.760Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2020-04-08T17:08:08.114Z] ---> 9879685e2bfb [2020-04-08T17:08:08.114Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2020-04-08T17:08:08.392Z] ---> 31a958aaf5ad [2020-04-08T17:08:08.392Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2020-04-08T17:08:08.392Z] ---> 9b408e75e91a [2020-04-08T17:08:08.392Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2020-04-08T17:08:08.687Z] ---> af4d5dfb03fc [2020-04-08T17:08:08.687Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2020-04-08T17:08:08.971Z] ---> 980be8bf3840 [2020-04-08T17:08:08.971Z] Step 11/15 : WORKDIR /edgex-c-sdk [2020-04-08T17:08:08.971Z] ---> Running in 7b80d33976bd [2020-04-08T17:08:09.373Z] Removing intermediate container 7b80d33976bd [2020-04-08T17:08:09.373Z] ---> 4d91fb455784 [2020-04-08T17:08:09.373Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2020-04-08T17:08:09.373Z] ---> Running in 1fa16e72fe97 [2020-04-08T17:08:09.804Z] Removing intermediate container 1fa16e72fe97 [2020-04-08T17:08:09.804Z] ---> c7099cd8093c [2020-04-08T17:08:09.804Z] Step 13/15 : LABEL arch=amd64 [2020-04-08T17:08:09.804Z] ---> Running in 5458d0413f71 [2020-04-08T17:08:09.804Z] Removing intermediate container 5458d0413f71 [2020-04-08T17:08:09.804Z] ---> f531dd3c0135 [2020-04-08T17:08:09.804Z] Step 14/15 : LABEL git_sha=a76fee4735da9c07c26f8252a21595d1aad09861 [2020-04-08T17:08:11.185Z] ---> Running in 9946894b66d1 [2020-04-08T17:08:11.501Z] Removing intermediate container 9946894b66d1 [2020-04-08T17:08:11.501Z] ---> 32c4c4a38214 [2020-04-08T17:08:11.501Z] Step 15/15 : LABEL version=1.2.0-dev.13 [2020-04-08T17:08:11.783Z] ---> Running in c42880d35fd3 [2020-04-08T17:08:11.783Z] Removing intermediate container c42880d35fd3 [2020-04-08T17:08:11.783Z] ---> 618a14bf9d79 [2020-04-08T17:08:11.783Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2020-04-08T17:08:11.783Z] Successfully built 618a14bf9d79 [2020-04-08T17:08:12.045Z] Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [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-04-08T17:08:13.586Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-08T17:08:13.586Z] . [Pipeline] withDockerContainer [2020-04-08T17:08:13.727Z] prd-centos7-docker-4c-2g-2896 does not seem to be running inside a container [2020-04-08T17:08:13.771Z] $ 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-04-08T17:08:14.503Z] $ docker top 6b469adc8d1f508b0570e7cb32551cb0bdcdba43955d90d4512171bff749b47b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-08T17:08:14.792Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-08T17:08:14.792Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-08T17:08:15.008Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-08T17:08:15.008Z] $ docker exec 6b469adc8d1f508b0570e7cb32551cb0bdcdba43955d90d4512171bff749b47b ssh-agent [2020-04-08T17:08:15.211Z] SSH_AUTH_SOCK=/tmp/ssh-5cBdKlIdqR2L/agent.14 [2020-04-08T17:08:15.211Z] SSH_AGENT_PID=21 [2020-04-08T17:08:15.220Z] Running ssh-add (command line suppressed) [2020-04-08T17:08:15.383Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_920913242940527586.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_920913242940527586.key) [2020-04-08T17:08:15.442Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-08T17:08:15.768Z] + git semver tag [2020-04-08T17:08:15.768Z] # -> Open(): unable to determine branch for HEAD [2020-04-08T17:08:15.768Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2020-04-08T17:08:15.768Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2020-04-08T17:08:15.768Z] # $SEMVER_REMOTE_NAME = origin [2020-04-08T17:08:15.768Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-04-08T17:08:15.768Z] # $SEMVER_USER_NAME = jenkins [2020-04-08T17:08:15.768Z] # $SEMVER_BRANCH = master [2020-04-08T17:08:15.768Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [2020-04-08T17:08:15.768Z] # a76fee4735da9c07c26f8252a21595d1aad09861 HEAD [2020-04-08T17:08:15.768Z] # -> Force: false [2020-04-08T17:08:15.768Z] # 4a95edeec7bca85b6fdf7b7ce501ab5b0289348b refs/tags/v1.2.0-dev.13 [Pipeline] } [2020-04-08T17:08:15.776Z] $ docker exec --env ******** --env ******** 6b469adc8d1f508b0570e7cb32551cb0bdcdba43955d90d4512171bff749b47b ssh-agent -k [2020-04-08T17:08:15.923Z] unset SSH_AUTH_SOCK; [2020-04-08T17:08:15.923Z] unset SSH_AGENT_PID; [2020-04-08T17:08:15.923Z] echo Agent pid 21 killed; [2020-04-08T17:08:15.978Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-08T17:08:16.426Z] + git semver [Pipeline] } [2020-04-08T17:08:16.437Z] $ docker stop --time=1 6b469adc8d1f508b0570e7cb32551cb0bdcdba43955d90d4512171bff749b47b [2020-04-08T17:08:17.783Z] $ docker rm -f 6b469adc8d1f508b0570e7cb32551cb0bdcdba43955d90d4512171bff749b47b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-04-08T17:08:18.364Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-04-08T17:08:18.364Z] [2020-04-08T17:08:18.365Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-04-08T17:08:18.707Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-04-08T17:08:18.707Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-04-08T17:08:18.707Z] ab5ef0e58194: Pulling fs layer [2020-04-08T17:08:18.707Z] 9712f1f96733: Pulling fs layer [2020-04-08T17:08:18.707Z] 63f879dbbcfc: Pulling fs layer [2020-04-08T17:08:18.707Z] 0d9ebad4ef96: Pulling fs layer [2020-04-08T17:08:18.707Z] e9a5061849ea: Pulling fs layer [2020-04-08T17:08:18.707Z] d747dcd14b5f: Pulling fs layer [2020-04-08T17:08:18.707Z] 2de7ff778b66: Pulling fs layer [2020-04-08T17:08:18.707Z] e9a5061849ea: Waiting [2020-04-08T17:08:18.707Z] d747dcd14b5f: Waiting [2020-04-08T17:08:18.707Z] 2de7ff778b66: Waiting [2020-04-08T17:08:18.707Z] 0d9ebad4ef96: Waiting [2020-04-08T17:08:18.707Z] 9712f1f96733: Download complete [2020-04-08T17:08:19.297Z] 63f879dbbcfc: Verifying Checksum [2020-04-08T17:08:19.297Z] 63f879dbbcfc: Download complete [2020-04-08T17:08:19.297Z] e9a5061849ea: Verifying Checksum [2020-04-08T17:08:19.297Z] e9a5061849ea: Download complete [2020-04-08T17:08:19.297Z] d747dcd14b5f: Verifying Checksum [2020-04-08T17:08:19.297Z] d747dcd14b5f: Download complete [2020-04-08T17:08:19.560Z] 2de7ff778b66: Verifying Checksum [2020-04-08T17:08:19.560Z] 2de7ff778b66: Download complete [2020-04-08T17:08:19.820Z] 0d9ebad4ef96: Verifying Checksum [2020-04-08T17:08:19.820Z] 0d9ebad4ef96: Download complete [2020-04-08T17:08:19.820Z] ab5ef0e58194: Verifying Checksum [2020-04-08T17:08:19.820Z] ab5ef0e58194: Download complete [2020-04-08T17:08:25.136Z] ab5ef0e58194: Pull complete [2020-04-08T17:08:25.136Z] 9712f1f96733: Pull complete [2020-04-08T17:08:27.048Z] 63f879dbbcfc: Pull complete [2020-04-08T17:08:33.638Z] 0d9ebad4ef96: Pull complete [2020-04-08T17:08:34.592Z] e9a5061849ea: Pull complete [2020-04-08T17:08:34.592Z] d747dcd14b5f: Pull complete [2020-04-08T17:08:37.890Z] 2de7ff778b66: Pull complete [2020-04-08T17:08:37.890Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-04-08T17:08:37.890Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-04-08T17:08:38.039Z] prd-centos7-docker-4c-2g-2896 does not seem to be running inside a container [2020-04-08T17:08:38.078Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-04-08T17:08:39.436Z] $ docker top 1f8381363c0e172cbf122b2fcb4e40cc6ec9a0e06c99388ee4a0f8c01c680a57 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-04-08T17:08:39.623Z] provisioning config files... [2020-04-08T17:08:39.636Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config1000608483277222828tmp [2020-04-08T17:08:39.654Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config5421394354935724367tmp [2020-04-08T17:08:39.667Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config2924514272816040725tmp [Pipeline] { [Pipeline] echo [2020-04-08T17:08:39.706Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-08T17:08:39.997Z] ---> sigul-configuration.sh [2020-04-08T17:08:39.997Z] gpg: directory `/root/.gnupg' created [2020-04-08T17:08:39.997Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-04-08T17:08:39.997Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-04-08T17:08:39.997Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-04-08T17:08:39.997Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-04-08T17:08:39.997Z] gpg: CAST5 encrypted data [2020-04-08T17:08:40.257Z] gpg: encrypted with 1 passphrase [2020-04-08T17:08:40.257Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-04-08T17:08:40.549Z] + mkdir /home/jenkins [2020-04-08T17:08:40.549Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-04-08T17:08:40.841Z] + 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-04-08T17:08:40.849Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-08T17:08:41.156Z] ---> sigul-install.sh [2020-04-08T17:08:49.281Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-04-08T17:08:49.582Z] + git tag --list [2020-04-08T17:08:49.582Z] v1.2.0-dev.13 [Pipeline] sh [2020-04-08T17:08:49.878Z] + lftools sign git-tag v1.2.0-dev.13 [2020-04-08T17:08:51.260Z] Signing Git tag with Sigul... [2020-04-08T17:08:51.260Z] Signing v1.2.0-dev.13 [Pipeline] echo [2020-04-08T17:08:52.206Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-08T17:08:52.501Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-04-08T17:08:52.509Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-04-08T17:08:52.574Z] $ docker stop --time=1 1f8381363c0e172cbf122b2fcb4e40cc6ec9a0e06c99388ee4a0f8c01c680a57 [2020-04-08T17:08:53.975Z] $ docker rm -f 1f8381363c0e172cbf122b2fcb4e40cc6ec9a0e06c99388ee4a0f8c01c680a57 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-04-08T17:08:54.659Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-08T17:08:54.659Z] . [Pipeline] withDockerContainer [2020-04-08T17:08:54.775Z] prd-centos7-docker-4c-2g-2896 does not seem to be running inside a container [2020-04-08T17:08:54.812Z] $ 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-04-08T17:08:55.418Z] $ docker top a1bbe85e14ea212a2182a5e91564be6a3a59fd2a5bc453b6bbdb2ccda17f5e44 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-08T17:08:55.743Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-08T17:08:55.743Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-08T17:08:55.973Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-08T17:08:55.973Z] $ docker exec a1bbe85e14ea212a2182a5e91564be6a3a59fd2a5bc453b6bbdb2ccda17f5e44 ssh-agent [2020-04-08T17:08:56.172Z] SSH_AUTH_SOCK=/tmp/ssh-BinVDUCRQhbY/agent.14 [2020-04-08T17:08:56.173Z] SSH_AGENT_PID=21 [2020-04-08T17:08:56.179Z] Running ssh-add (command line suppressed) [2020-04-08T17:08:56.348Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_2100303902112003007.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_2100303902112003007.key) [2020-04-08T17:08:56.408Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-08T17:08:56.728Z] + git semver bump pre [2020-04-08T17:08:56.728Z] # -> Open(): unable to determine branch for HEAD [2020-04-08T17:08:56.728Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2020-04-08T17:08:56.728Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2020-04-08T17:08:56.728Z] # $SEMVER_REMOTE_NAME = origin [2020-04-08T17:08:56.728Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-04-08T17:08:56.728Z] # $SEMVER_USER_NAME = jenkins [2020-04-08T17:08:56.728Z] # $SEMVER_BRANCH = master [2020-04-08T17:08:56.728Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [2020-04-08T17:08:56.728Z] 1.2.0-dev.14 [Pipeline] } [2020-04-08T17:08:56.733Z] $ docker exec --env ******** --env ******** a1bbe85e14ea212a2182a5e91564be6a3a59fd2a5bc453b6bbdb2ccda17f5e44 ssh-agent -k [2020-04-08T17:08:56.886Z] unset SSH_AUTH_SOCK; [2020-04-08T17:08:56.887Z] unset SSH_AGENT_PID; [2020-04-08T17:08:56.887Z] echo Agent pid 21 killed; [2020-04-08T17:08:56.943Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-08T17:08:57.349Z] + git semver [Pipeline] } [2020-04-08T17:08:57.359Z] $ docker stop --time=1 a1bbe85e14ea212a2182a5e91564be6a3a59fd2a5bc453b6bbdb2ccda17f5e44 [2020-04-08T17:08:58.794Z] $ docker rm -f a1bbe85e14ea212a2182a5e91564be6a3a59fd2a5bc453b6bbdb2ccda17f5e44 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-04-08T17:08:59.364Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-08T17:08:59.364Z] . [Pipeline] withDockerContainer [2020-04-08T17:08:59.502Z] prd-centos7-docker-4c-2g-2896 does not seem to be running inside a container [2020-04-08T17:08:59.548Z] $ 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-04-08T17:09:00.147Z] $ docker top 394a11343ae8d57fa81504d3517e6f6b2808eae32e365291ce4aacd43dcbaf03 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-08T17:09:00.475Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-08T17:09:00.475Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-08T17:09:00.735Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-08T17:09:00.735Z] $ docker exec 394a11343ae8d57fa81504d3517e6f6b2808eae32e365291ce4aacd43dcbaf03 ssh-agent [2020-04-08T17:09:00.935Z] SSH_AUTH_SOCK=/tmp/ssh-gROttDrDVZPO/agent.16 [2020-04-08T17:09:00.935Z] SSH_AGENT_PID=23 [2020-04-08T17:09:00.941Z] Running ssh-add (command line suppressed) [2020-04-08T17:09:01.086Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_5564955075516445834.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_5564955075516445834.key) [2020-04-08T17:09:01.136Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-08T17:09:01.471Z] + git semver push [2020-04-08T17:09:01.471Z] # -> Open(): unable to determine branch for HEAD [2020-04-08T17:09:01.471Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git [2020-04-08T17:09:01.471Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master [2020-04-08T17:09:01.471Z] # $SEMVER_REMOTE_NAME = origin [2020-04-08T17:09:01.471Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-04-08T17:09:01.471Z] # $SEMVER_USER_NAME = jenkins [2020-04-08T17:09:01.471Z] # $SEMVER_BRANCH = master [2020-04-08T17:09:01.471Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [Pipeline] } [2020-04-08T17:09:08.053Z] $ docker exec --env ******** --env ******** 394a11343ae8d57fa81504d3517e6f6b2808eae32e365291ce4aacd43dcbaf03 ssh-agent -k [2020-04-08T17:09:08.219Z] unset SSH_AUTH_SOCK; [2020-04-08T17:09:08.219Z] unset SSH_AGENT_PID; [2020-04-08T17:09:08.219Z] echo Agent pid 23 killed; [2020-04-08T17:09:08.264Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-08T17:09:08.672Z] + git semver [Pipeline] } [2020-04-08T17:09:08.682Z] $ docker stop --time=1 394a11343ae8d57fa81504d3517e6f6b2808eae32e365291ce4aacd43dcbaf03 [2020-04-08T17:09:10.026Z] $ docker rm -f 394a11343ae8d57fa81504d3517e6f6b2808eae32e365291ce4aacd43dcbaf03 [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-04-08T17:09:10.738Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-08T17:09:11.034Z] ---> package-listing.sh [2020-04-08T17:09:11.034Z] ++ facter osfamily [2020-04-08T17:09:11.034Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-08T17:09:11.034Z] + OS_FAMILY=redhat [2020-04-08T17:09:11.034Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_master [2020-04-08T17:09:11.034Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-08T17:09:11.034Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-08T17:09:11.034Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-08T17:09:11.034Z] + PACKAGES=/tmp/packages_start.txt [2020-04-08T17:09:11.034Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_master ']' [2020-04-08T17:09:11.034Z] + PACKAGES=/tmp/packages_end.txt [2020-04-08T17:09:11.034Z] + case "${OS_FAMILY}" in [2020-04-08T17:09:11.034Z] + rpm -qa [2020-04-08T17:09:11.034Z] + sort [2020-04-08T17:09:15.231Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-08T17:09:15.231Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-08T17:09:15.231Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-08T17:09:15.231Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_master ']' [2020-04-08T17:09:15.231Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_master/archives/ [2020-04-08T17:09:15.231Z] + 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-04-08T17:09:15.725Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-08T17:09:15.725Z] [2020-04-08T17:09:15.725Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-08T17:09:16.056Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-08T17:09:16.056Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-08T17:09:16.056Z] c9b1b535fdd9: Pulling fs layer [2020-04-08T17:09:16.056Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-08T17:09:16.056Z] 756a868c4378: Pulling fs layer [2020-04-08T17:09:16.056Z] 444b2fc9a129: Pulling fs layer [2020-04-08T17:09:16.056Z] ea15f1150254: Pulling fs layer [2020-04-08T17:09:16.056Z] 41b27a9f41bf: Pulling fs layer [2020-04-08T17:09:16.056Z] 28c525ee5125: Pulling fs layer [2020-04-08T17:09:16.056Z] 094b1ea09ed8: Pulling fs layer [2020-04-08T17:09:16.056Z] 138eaada9080: Pulling fs layer [2020-04-08T17:09:16.056Z] 0622d0fa9048: Pulling fs layer [2020-04-08T17:09:16.056Z] 28c525ee5125: Waiting [2020-04-08T17:09:16.056Z] 094b1ea09ed8: Waiting [2020-04-08T17:09:16.056Z] 138eaada9080: Waiting [2020-04-08T17:09:16.056Z] 444b2fc9a129: Waiting [2020-04-08T17:09:16.056Z] ea15f1150254: Waiting [2020-04-08T17:09:16.056Z] 41b27a9f41bf: Waiting [2020-04-08T17:09:16.329Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-08T17:09:16.329Z] 2cc5ad85d9ab: Download complete [2020-04-08T17:09:16.329Z] 444b2fc9a129: Verifying Checksum [2020-04-08T17:09:16.329Z] 444b2fc9a129: Download complete [2020-04-08T17:09:16.329Z] c9b1b535fdd9: Verifying Checksum [2020-04-08T17:09:16.329Z] c9b1b535fdd9: Download complete [2020-04-08T17:09:16.329Z] ea15f1150254: Verifying Checksum [2020-04-08T17:09:16.329Z] ea15f1150254: Download complete [2020-04-08T17:09:16.329Z] 28c525ee5125: Download complete [2020-04-08T17:09:16.591Z] 756a868c4378: Verifying Checksum [2020-04-08T17:09:16.591Z] 756a868c4378: Download complete [2020-04-08T17:09:16.591Z] c9b1b535fdd9: Pull complete [2020-04-08T17:09:16.855Z] 2cc5ad85d9ab: Pull complete [2020-04-08T17:09:16.855Z] 138eaada9080: Verifying Checksum [2020-04-08T17:09:16.855Z] 138eaada9080: Download complete [2020-04-08T17:09:16.855Z] 094b1ea09ed8: Verifying Checksum [2020-04-08T17:09:16.855Z] 094b1ea09ed8: Download complete [2020-04-08T17:09:16.855Z] 0622d0fa9048: Verifying Checksum [2020-04-08T17:09:16.855Z] 0622d0fa9048: Download complete [2020-04-08T17:09:17.425Z] 41b27a9f41bf: Verifying Checksum [2020-04-08T17:09:17.425Z] 41b27a9f41bf: Download complete [2020-04-08T17:09:19.965Z] 756a868c4378: Pull complete [2020-04-08T17:09:19.965Z] 444b2fc9a129: Pull complete [2020-04-08T17:09:19.965Z] ea15f1150254: Pull complete [2020-04-08T17:09:24.184Z] 41b27a9f41bf: Pull complete [2020-04-08T17:09:24.184Z] 28c525ee5125: Pull complete [2020-04-08T17:09:26.089Z] 094b1ea09ed8: Pull complete [2020-04-08T17:09:26.089Z] 138eaada9080: Pull complete [2020-04-08T17:09:26.089Z] 0622d0fa9048: Pull complete [2020-04-08T17:09:26.089Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-08T17:09:26.089Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-08T17:09:26.208Z] prd-centos7-docker-4c-2g-2896 does not seem to be running inside a container [2020-04-08T17:09:26.247Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-08T17:09:26.755Z] $ docker top 2305aad6b1375fe1748c266df55974ec99b4a9b5ecd8cfea716adc78f043f1ed -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-04-08T17:09:26.979Z] provisioning config files... [2020-04-08T17:09:26.992Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config5657437267680932728tmp [Pipeline] { [Pipeline] echo [2020-04-08T17:09:27.038Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-08T17:09:27.329Z] ---> create-netrc.sh [Pipeline] echo [2020-04-08T17:09:27.336Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-08T17:09:27.628Z] ---> logs-deploy.sh [2020-04-08T17:09:27.628Z] + ARCHIVE_ARTIFACTS= [2020-04-08T17:09:27.628Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-08T17:09:27.628Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-08T17:09:27.628Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-08T17:09:27.628Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/master/13 [2020-04-08T17:09:27.628Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/master/13/ [2020-04-08T17:09:27.628Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/master/13 /w/workspace/edgexfoundry_device-sdk-c_master [2020-04-08T17:09:29.013Z] Archives upload complete. [2020-04-08T17:09:29.013Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/master/13 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/master/13/