Pull request #252 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from a7b016d1c56330e6e0f2e2285fd90b8ff330ffbd+4395a0c46de881c7ebece7f74c876ac1fb167946 (d073a17edec7e89780e7fcaca5aab4efbab4c6af) Running in Durability level: MAX_SURVIVABILITY 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 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 using credential edgex-jenkins-access-pat Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository https://github.com/edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-252/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/tags/stable:refs/tags/stable # timeout=10 > 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 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 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > 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 > git --version # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-3.9-base, dockerFilePath:scripts/Dockerfile.alpine-3.9, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine-3.9 DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-3.9-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-c DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-5569 in /w/workspace/edgexfoundry_device-sdk-c_PR-252 [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_PR-252 # 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/pull/252/head:refs/remotes/origin/PR-252 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 4395a0c46de881c7ebece7f74c876ac1fb167946 into PR head commit a7b016d1c56330e6e0f2e2285fd90b8ff330ffbd Merge succeeded, producing a7b016d1c56330e6e0f2e2285fd90b8ff330ffbd Checking out Revision a7b016d1c56330e6e0f2e2285fd90b8ff330ffbd (PR-252) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/252/head:refs/remotes/origin/PR-252 # 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/pull/252/head:refs/remotes/origin/PR-252 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a7b016d1c56330e6e0f2e2285fd90b8ff330ffbd # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 4395a0c46de881c7ebece7f74c876ac1fb167946 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a7b016d1c56330e6e0f2e2285fd90b8ff330ffbd # timeout=10 Commit message: "Initial checkin of issue 223 (config overwrite option)" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:35:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:35:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:35:30 ========================================================= 09:35:30 EdgeX Global Pipelines Version Info 09:35:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:35:31 ------------------- 09:35:31 stable info: 09:35:31 ------------------- 09:35:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:35:31 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 09:35:31 Message: update stable to v1.0.73 09:35:32 ------------------- 09:35:32 experimental info: 09:35:32 ------------------- 09:35:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:35:32 Commit SHA: 009f18ce5b4e192ba54fce1c3905cefe13074ee2 09:35:32 Message: update experimental to v1.0.75 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 09:35:34 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:35:34 09:35:34 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:35:34 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:35:34 latest: Pulling from edgex-devops/git-semver 09:35:34 9123ac7c32f7: Pulling fs layer 09:35:34 b8cc5d1170e3: Pulling fs layer 09:35:34 2924cbbf6a41: Pulling fs layer 09:35:34 93b08a4f1073: Pulling fs layer 09:35:34 93b08a4f1073: Waiting 09:35:35 b8cc5d1170e3: Verifying Checksum 09:35:35 b8cc5d1170e3: Download complete 09:35:35 9123ac7c32f7: Verifying Checksum 09:35:35 9123ac7c32f7: Download complete 09:35:35 93b08a4f1073: Verifying Checksum 09:35:35 93b08a4f1073: Download complete 09:35:35 2924cbbf6a41: Verifying Checksum 09:35:35 2924cbbf6a41: Download complete 09:35:35 9123ac7c32f7: Pull complete 09:35:35 b8cc5d1170e3: Pull complete 09:35:36 2924cbbf6a41: Pull complete 09:35:36 93b08a4f1073: Pull complete 09:35:36 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 09:35:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:35:36 prd-centos7-docker-4c-2g-5569 does not seem to be running inside a container 09:35:36 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-252 -v /w/workspace/edgexfoundry_device-sdk-c_PR-252:/w/workspace/edgexfoundry_device-sdk-c_PR-252:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-252@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-252@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:35:37 $ docker top 549f93a3dacc38231c009baa5c0d6bc8f1b22c62cae391e0a08fede1112af6f8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:35:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:35:38 [ssh-agent] Looking for ssh-agent implementation... 09:35:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:35:38 $ docker exec 549f93a3dacc38231c009baa5c0d6bc8f1b22c62cae391e0a08fede1112af6f8 ssh-agent 09:35:38 SSH_AUTH_SOCK=/tmp/ssh-Cs9mviU9O8Es/agent.15 09:35:38 SSH_AGENT_PID=22 09:35:38 Running ssh-add (command line suppressed) 09:35:38 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-252@tmp/private_key_4227192902461156858.key (/w/workspace/edgexfoundry_device-sdk-c_PR-252@tmp/private_key_4227192902461156858.key) 09:35:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:35:39 + git describe --exact-match --tags HEAD 09:35:39 fatal: No names found, cannot describe anything. [Pipeline] } 09:35:39 $ docker exec --env ******** --env ******** 549f93a3dacc38231c009baa5c0d6bc8f1b22c62cae391e0a08fede1112af6f8 ssh-agent -k 09:35:39 unset SSH_AUTH_SOCK; 09:35:39 unset SSH_AGENT_PID; 09:35:39 echo Agent pid 22 killed; 09:35:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 09:35:39 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 09:35:39 This usually means this commit has not been tagged. [Pipeline] sshagent 09:35:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:35:39 [ssh-agent] Looking for ssh-agent implementation... 09:35:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:35:39 $ docker exec 549f93a3dacc38231c009baa5c0d6bc8f1b22c62cae391e0a08fede1112af6f8 ssh-agent 09:35:39 SSH_AUTH_SOCK=/tmp/ssh-wxh1zQYILyls/agent.58 09:35:39 SSH_AGENT_PID=65 09:35:39 Running ssh-add (command line suppressed) 09:35:40 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-252@tmp/private_key_3121277478228286687.key (/w/workspace/edgexfoundry_device-sdk-c_PR-252@tmp/private_key_3121277478228286687.key) 09:35:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:35:40 + git semver init 09:35:40 # -> Open(): unable to determine branch for HEAD 09:35:40 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-252/.git 09:35:40 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-252 09:35:40 # $SEMVER_REMOTE_NAME = origin 09:35:40 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:35:40 # $SEMVER_USER_NAME = edgex-jenkins 09:35:40 # $SEMVER_BRANCH = PR-252 09:35:40 # $SEMVER_TEMP = /tmp/semver-209878032 09:35:40 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 09:35:41 # '/tmp/semver-209878032' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-252/.semver' 09:35:41 # -> Force: false 09:35:41 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-252/.semver [Pipeline] } 09:35:41 $ docker exec --env ******** --env ******** 549f93a3dacc38231c009baa5c0d6bc8f1b22c62cae391e0a08fede1112af6f8 ssh-agent -k 09:35:41 unset SSH_AUTH_SOCK; 09:35:41 unset SSH_AGENT_PID; 09:35:41 echo Agent pid 65 killed; 09:35:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:35:41 + git semver [Pipeline] } 09:35:41 $ docker stop --time=1 549f93a3dacc38231c009baa5c0d6bc8f1b22c62cae391e0a08fede1112af6f8 09:35:43 $ docker rm -f 549f93a3dacc38231c009baa5c0d6bc8f1b22c62cae391e0a08fede1112af6f8 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 09:35:44 Stashed 40 file(s) [Pipeline] echo 09:35:44 [edgeXSemver] initialized semver on version 0.0.0 [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 09:35:59 Still waiting to schedule task 09:35:59 Waiting for next available executor on ‘centos7-docker-4c-2g’ 09:35:59 Still waiting to schedule task 09:35:59 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 09:37:46 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5570 in /w/workspace/edgexfoundry_device-sdk-c_PR-252 [Pipeline] { [Pipeline] ws 09:37:46 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 09:37:51 using credential edgex-jenkins-ssh 09:37:51 Cloning the remote Git repository 09:37:51 Cloning with configured refspecs honoured and without tags 09:37:52 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 09:37:52 > git init /w/workspace/device-sdk-c/1 # timeout=10 09:37:52 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 09:37:52 > git --version # timeout=10 09:37:52 using GIT_SSH to set credentials SSH Credentials for GitHub 09:37:52 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/252/head:refs/remotes/origin/PR-252 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:37:53 Fetching without tags 09:37:53 Merging remotes/origin/master commit 4395a0c46de881c7ebece7f74c876ac1fb167946 into PR head commit a7b016d1c56330e6e0f2e2285fd90b8ff330ffbd 09:37:53 Merge succeeded, producing a7b016d1c56330e6e0f2e2285fd90b8ff330ffbd 09:37:53 Checking out Revision a7b016d1c56330e6e0f2e2285fd90b8ff330ffbd (PR-252) 09:37:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 09:37:53 > git config --add remote.origin.fetch +refs/pull/252/head:refs/remotes/origin/PR-252 # timeout=10 09:37:53 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 09:37:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 09:37:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 09:37:53 using GIT_SSH to set credentials SSH Credentials for GitHub 09:37:53 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/252/head:refs/remotes/origin/PR-252 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:37:53 > git config core.sparsecheckout # timeout=10 09:37:53 > git checkout -f a7b016d1c56330e6e0f2e2285fd90b8ff330ffbd # timeout=10 09:37:53 > git remote # timeout=10 09:37:53 > git config --get remote.origin.url # timeout=10 09:37:54 using GIT_SSH to set credentials SSH Credentials for GitHub 09:37:54 > git merge 4395a0c46de881c7ebece7f74c876ac1fb167946 # timeout=10 09:37:54 > git rev-parse HEAD^{commit} # timeout=10 09:37:54 > git config core.sparsecheckout # timeout=10 09:37:54 > git checkout -f a7b016d1c56330e6e0f2e2285fd90b8ff330ffbd # timeout=10 09:37:58 Commit message: "Initial checkin of issue 223 (config overwrite option)" 09:37:58 > git --version # timeout=10 09:37:59 fatal: bad object 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:38:00 ========================================================= 09:38:00 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 09:38:00 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:38:01 + 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 . 09:38:02 Sending build context to Docker daemon 3.061MB 09:38:02 Step 1/21 : ARG BASE=alpine:3.9 09:38:02 Step 2/21 : FROM ${BASE} as builder 09:38:02 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 09:38:02 0362ad1dd800: Pulling fs layer 09:38:02 f2cdb1532d8b: Pulling fs layer 09:38:02 37ed683be191: Pulling fs layer 09:38:02 f2cdb1532d8b: Verifying Checksum 09:38:02 f2cdb1532d8b: Download complete 09:38:03 0362ad1dd800: Verifying Checksum 09:38:03 0362ad1dd800: Download complete 09:38:03 0362ad1dd800: Pull complete 09:38:04 f2cdb1532d8b: Pull complete 09:38:10 37ed683be191: Verifying Checksum 09:38:10 37ed683be191: Download complete 09:38:20 37ed683be191: Pull complete 09:38:20 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 09:38:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 09:38:20 ---> b23d30803547 09:38:20 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 09:38:22 ---> Running in c8796396decf 09:38:23 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 09:38:24 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 09:38:24 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 09:38:24 (2/8) Installing libuuid (2.33-r0) 09:38:25 (3/8) Installing libblkid (2.33-r0) 09:38:25 (4/8) Installing libfdisk (2.33-r0) 09:38:25 (5/8) Installing libmount (2.33-r0) 09:38:25 (6/8) Installing libsmartcols (2.33-r0) 09:38:25 (7/8) Installing util-linux-dev (2.33-r0) 09:38:25 (8/8) Installing wget (1.20.3-r0) 09:38:25 Executing busybox-1.29.3-r10.trigger 09:38:25 OK: 285 MiB in 83 packages 09:38:27 Removing intermediate container c8796396decf 09:38:27 ---> 5bda210ae692 09:38:27 Step 4/21 : ENV CBOR_VERSION=0.5.0 09:38:27 ---> Running in dee9e70e0317 09:38:27 Removing intermediate container dee9e70e0317 09:38:27 ---> d4d211c26084 09:38:27 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 09:38:27 ---> Running in a74f9c714d14 09:38:28 --2020-04-22 09:38:28-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 09:38:28 Resolving github.com... 140.82.112.4 09:38:28 Connecting to github.com|140.82.112.4|:443... connected. 09:38:29 HTTP request sent, awaiting response... 302 Found 09:38:29 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 09:38:29 --2020-04-22 09:38:28-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 09:38:29 Resolving codeload.github.com... 140.82.112.10 09:38:29 Connecting to codeload.github.com|140.82.112.10|:443... connected. 09:38:29 HTTP request sent, awaiting response... 200 OK 09:38:29 Length: unspecified [application/x-gzip] 09:38:29 Saving to: 'STDOUT' 09:38:29  09:38:29 0K .......... .......... .......... .......... .......... 1.55M 09:38:29 50K .......... .......... .......... .......... .......... 3.25M 09:38:29 100K .......... .......... .......... .......... .......... 9.53M 09:38:29 150K .......... .......... .......... .......... .......... 12.9M 09:38:29 200K .......... .......... .......... .......... .......... 5.18M 09:38:29 250K .......... .......... .......... .......... .......... 4.93M 09:38:29 300K .......... .......... .......... .......... .......... 5.39M 09:38:29 350K .......... .......... .......... .......... .......... 5.54M 09:38:29 400K .......... .......... .......... .......... .......... 2.48M 09:38:29 450K .......... .......... .......... .......... .......... 3.45M 09:38:29 500K .......... .......... .......... .......... .......... 8.02M 09:38:29 550K .......... .......... .......... .......... .......... 1.77M 09:38:29 600K .......... .......... .......... .......... .......... 1.03M 09:38:29 650K .......... .......... .......... .......... .......... 1.90M 09:38:29 700K ..  2.88M=0.2s 09:38:29 09:38:29 2020-04-22 09:38:29 (2.93 MB/s) - written to stdout [719348] 09:38:29 09:38:29 -- The C compiler identification is GNU 8.3.0 09:38:29 -- The CXX compiler identification is GNU 8.3.0 09:38:29 -- Check for working C compiler: /usr/bin/cc 09:38:30 -- Check for working C compiler: /usr/bin/cc -- works 09:38:30 -- Detecting C compiler ABI info 09:38:30 -- Detecting C compiler ABI info - done 09:38:30 -- Detecting C compile features 09:38:31 -- Detecting C compile features - done 09:38:31 -- Check for working CXX compiler: /usr/bin/c++ 09:38:31 -- Check for working CXX compiler: /usr/bin/c++ -- works 09:38:31 -- Detecting CXX compiler ABI info 09:38:31 -- Detecting CXX compiler ABI info - done 09:38:31 -- Detecting CXX compile features 09:38:33 -- Detecting CXX compile features - done 09:38:33 -- Looking for include file endian.h 09:38:33 -- Looking for include file endian.h - found 09:38:33 -- Check if the system is big endian 09:38:33 -- Searching 16 bit integer 09:38:33 -- Looking for sys/types.h 09:38:33 -- Looking for sys/types.h - found 09:38:33 -- Looking for stdint.h 09:38:33 -- Looking for stdint.h - found 09:38:33 -- Looking for stddef.h 09:38:34 -- Looking for stddef.h - found 09:38:34 -- Check size of unsigned short 09:38:34 -- Check size of unsigned short - done 09:38:34 -- Using unsigned short 09:38:34 -- Check if the system is big endian - little endian 09:38:34 -- Check size of size_t 09:38:34 -- Check size of size_t - done 09:38:34 CMake Warning at examples/CMakeLists.txt:16 (find_package): 09:38:34 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 09:38:34 asked CMake to find a package configuration file provided by "cJSON", but 09:38:34 CMake did not find one. 09:38:34 09:38:34 Could not find a package configuration file provided by "cJSON" with any of 09:38:34 the following names: 09:38:34 09:38:34 cJSONConfig.cmake 09:38:34 cjson-config.cmake 09:38:34 09:38:34 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 09:38:34 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 09:38:34 provides a separate development package or SDK, be sure it has been 09:38:34 installed. 09:38:34 09:38:34 09:38:34 -- Configuring done 09:38:35 -- Generating done 09:38:35 -- Build files have been written to: /tmp/cbor 09:38:35 Scanning dependencies of target cbor_shared 09:38:35 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 09:38:35 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 09:38:36 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 09:38:36 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 09:38:37 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 09:38:37 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 09:38:37 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 09:38:37 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 09:38:38 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 09:38:38 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 09:38:39 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 09:38:39 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 09:38:39 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 09:38:40 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 09:38:40 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 09:38:40 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 09:38:40 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 09:38:41 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 09:38:41 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 09:38:41 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 09:38:41 [ 40%] Linking C shared library libcbor.so 09:38:41 [ 40%] Built target cbor_shared 09:38:41 Scanning dependencies of target cbor 09:38:41 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 09:38:41 Running on prd-centos7-docker-4c-2g-5571 in /w/workspace/edgexfoundry_device-sdk-c_PR-252 [Pipeline] { [Pipeline] ws 09:38:42 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 09:38:42 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 09:38:43 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 09:38:43 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 09:38:44 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 09:38:44 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 09:38:45 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 09:38:45 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 09:38:45 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 09:38:45 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 09:38:46 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 09:38:46 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 09:38:47 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 09:38:47 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 09:38:47 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 09:38:47 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 09:38:48 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 09:38:48 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 09:38:48 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 09:38:48 using credential edgex-jenkins-ssh 09:38:48 Cloning the remote Git repository 09:38:48 Cloning with configured refspecs honoured and without tags 09:38:48 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 09:38:49 [ 80%] Linking C static library libcbor.a 09:38:49 [ 80%] Built target cbor 09:38:49 Scanning dependencies of target create_items 09:38:49 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 09:38:49 [ 84%] Linking C executable create_items 09:38:49 [ 84%] Built target create_items 09:38:49 Scanning dependencies of target readfile 09:38:49 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 09:38:48 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 09:38:48 > git init /w/workspace/device-sdk-c/1 # timeout=10 09:38:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 09:38:49 > git --version # timeout=10 09:38:49 using GIT_SSH to set credentials SSH Credentials for GitHub 09:38:49 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/252/head:refs/remotes/origin/PR-252 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:38:49 [ 88%] Linking C executable readfile 09:38:49 [ 88%] Built target readfile 09:38:50 Scanning dependencies of target streaming_parser 09:38:50 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 09:38:50 [ 92%] Linking C executable streaming_parser 09:38:50 Fetching without tags 09:38:50 [ 92%] Built target streaming_parser 09:38:50 Scanning dependencies of target sort 09:38:50 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 09:38:50 [ 96%] Linking C executable sort 09:38:50 [ 96%] Built target sort 09:38:50 Scanning dependencies of target hello 09:38:50 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 09:38:50 Merging remotes/origin/master commit 4395a0c46de881c7ebece7f74c876ac1fb167946 into PR head commit a7b016d1c56330e6e0f2e2285fd90b8ff330ffbd 09:38:50 [100%] Linking C executable hello 09:38:50 [100%] Built target hello 09:38:50 Install the project... 09:38:50 -- Install configuration: "Release" 09:38:50 -- Installing: /usr/local/include/cbor/configuration.h 09:38:50 -- Installing: /usr/local/lib64/libcbor.a 09:38:50 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 09:38:50 -- Installing: /usr/local/lib64/libcbor.so.0 09:38:50 -- Installing: /usr/local/lib64/libcbor.so 09:38:50 -- Up-to-date: /usr/local/include/cbor 09:38:50 -- Installing: /usr/local/include/cbor/common.h 09:38:50 -- Installing: /usr/local/include/cbor/serialization.h 09:38:50 -- Installing: /usr/local/include/cbor/encoding.h 09:38:50 -- Installing: /usr/local/include/cbor/maps.h 09:38:50 -- Installing: /usr/local/include/cbor/strings.h 09:38:50 -- Installing: /usr/local/include/cbor/arrays.h 09:38:50 -- Installing: /usr/local/include/cbor/internal 09:38:50 -- Installing: /usr/local/include/cbor/internal/loaders.h 09:38:50 -- Installing: /usr/local/include/cbor/internal/stack.h 09:38:50 -- Installing: /usr/local/include/cbor/internal/unicode.h 09:38:50 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 09:38:50 -- Installing: /usr/local/include/cbor/internal/encoders.h 09:38:50 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 09:38:50 -- Installing: /usr/local/include/cbor/data.h 09:38:50 -- Installing: /usr/local/include/cbor/floats_ctrls.h 09:38:50 -- Installing: /usr/local/include/cbor/bytestrings.h 09:38:50 -- Installing: /usr/local/include/cbor/tags.h 09:38:50 -- Installing: /usr/local/include/cbor/streaming.h 09:38:50 -- Installing: /usr/local/include/cbor/ints.h 09:38:50 -- Installing: /usr/local/include/cbor/callbacks.h 09:38:50 -- Installing: /usr/local/include/cbor.h 09:38:50 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 09:38:49 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 09:38:49 > git config --add remote.origin.fetch +refs/pull/252/head:refs/remotes/origin/PR-252 # timeout=10 09:38:50 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 09:38:50 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 09:38:50 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 09:38:50 using GIT_SSH to set credentials SSH Credentials for GitHub 09:38:50 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/252/head:refs/remotes/origin/PR-252 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:38:50 > git config core.sparsecheckout # timeout=10 09:38:50 > git checkout -f a7b016d1c56330e6e0f2e2285fd90b8ff330ffbd # timeout=10 09:38:51 Merge succeeded, producing a7b016d1c56330e6e0f2e2285fd90b8ff330ffbd 09:38:51 Checking out Revision a7b016d1c56330e6e0f2e2285fd90b8ff330ffbd (PR-252) 09:38:51 > git remote # timeout=10 09:38:51 > git config --get remote.origin.url # timeout=10 09:38:51 using GIT_SSH to set credentials SSH Credentials for GitHub 09:38:51 > git merge 4395a0c46de881c7ebece7f74c876ac1fb167946 # timeout=10 09:38:51 > git rev-parse HEAD^{commit} # timeout=10 09:38:51 > git config core.sparsecheckout # timeout=10 09:38:51 > git checkout -f a7b016d1c56330e6e0f2e2285fd90b8ff330ffbd # timeout=10 09:38:53 Removing intermediate container a74f9c714d14 09:38:53 ---> a5f967f6357a 09:38:53 Step 6/21 : RUN mkdir /tmp/sdk 09:38:53 ---> Running in 193d2447c893 09:38:55 Removing intermediate container 193d2447c893 09:38:55 ---> 8b54a05ea904 09:38:55 Step 7/21 : COPY VERSION /tmp/sdk 09:38:55 ---> d361f063bf2c 09:38:55 Step 8/21 : COPY src /tmp/sdk/src 09:38:56 ---> 020e9b11eea3 09:38:56 Step 9/21 : COPY include /tmp/sdk/include 09:38:56 Commit message: "Initial checkin of issue 223 (config overwrite option)" 09:38:56 > git --version # timeout=10 09:38:56 fatal: bad object 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 [Pipeline] withEnv [Pipeline] { 09:38:56 ---> 38ab9314cd65 09:38:56 Step 10/21 : COPY scripts /tmp/sdk/scripts [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 09:38:57 ---> 7fba02faed91 09:38:57 Step 11/21 : COPY LICENSE /tmp/sdk [Pipeline] echo 09:38:57 ========================================================= 09:38:57 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 09:38:57 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:38:57 ---> 92c9b94e045b 09:38:57 Step 12/21 : COPY Attribution.txt /tmp/sdk 09:38:58 ---> a215a2f75292 09:38:58 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 09:38:58 ---> Running in e58303352da5 09:38:58 + 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 . 09:38:59 + CPPCHECK=false 09:38:59 + DOCGEN=false 09:38:59 + TOMLVER=SDK-0.2 09:38:59 + CUTILVER=1.0.4 09:38:59 + '[' 0 -gt 0 ] 09:38:59 + readlink -f ./scripts/build.sh 09:38:59 + dirname /tmp/sdk/scripts/build.sh 09:38:59 + dirname /tmp/sdk/scripts 09:38:59 + ROOT=/tmp/sdk 09:38:59 + cd /tmp/sdk 09:38:59 + '[' '!' -d deps ] 09:38:59 + mkdir deps 09:38:59 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 09:38:59 + tar -C deps -z -x -f - 09:38:59 --2020-04-22 09:38:59-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 09:38:59 Resolving github.com... 140.82.112.4 09:38:59 Connecting to github.com|140.82.112.4|:443... connected. 09:38:59 HTTP request sent, awaiting response... 302 Found 09:38:59 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 09:38:59 --2020-04-22 09:38:59-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 09:38:59 Resolving codeload.github.com... 140.82.113.10 09:38:59 Connecting to codeload.github.com|140.82.113.10|:443... connected. 09:38:59 Sending build context to Docker daemon 3.061MB 09:38:59 Step 1/21 : ARG BASE=alpine:3.9 09:38:59 Step 2/21 : FROM ${BASE} as builder 09:38:59 latest: Pulling from edgex-devops/edgex-gcc-base 09:38:59 e7c96db7181b: Pulling fs layer 09:38:59 4c13bbce0fe7: Pulling fs layer 09:38:59 6059c847ac2f: Pulling fs layer 09:38:59 4c13bbce0fe7: Verifying Checksum 09:38:59 4c13bbce0fe7: Download complete 09:39:00 HTTP request sent, awaiting response... 200 OK 09:39:00 Length: unspecified [application/x-gzip] 09:39:00 Saving to: 'STDOUT' 09:39:00  09:39:00 0K .......... ...... 1.08M=0.01s 09:39:00 09:39:00 2020-04-22 09:38:59 (1.08 MB/s) - written to stdout [16451] 09:39:00 09:39:00 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 09:39:00 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz 09:39:00 + tar -C deps -z -x -f - 09:39:00 --2020-04-22 09:38:59-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz 09:39:00 Resolving github.com... 140.82.114.4 09:39:00 Connecting to github.com|140.82.114.4|:443... connected. 09:39:00 e7c96db7181b: Verifying Checksum 09:39:00 e7c96db7181b: Download complete 09:39:00 HTTP request sent, awaiting response... 302 Found 09:39:00 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] 09:39:00 --2020-04-22 09:39:00-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 09:39:00 Resolving codeload.github.com... 140.82.113.10 09:39:00 Connecting to codeload.github.com|140.82.113.10|:443... connected. 09:39:00 HTTP request sent, awaiting response... 200 OK 09:39:00 Length: unspecified [application/x-gzip] 09:39:00 Saving to: 'STDOUT' 09:39:00  09:39:00 e7c96db7181b: Pull complete 09:39:00 0K .......... .......... .......... .......... .......... 1.58M 09:39:00 50K .......... .......... .......... .......... .......... 2.79M 09:39:00 100K .......... .......... .......... .......... .......... 4.46M 09:39:00 150K ........   3.76M=0.06s 09:39:00 09:39:00 2020-04-22 09:39:00 (2.52 MB/s) - written to stdout [162267] 09:39:00 09:39:00 + mkdir -p src/c/iot 09:39:00 + cp deps/iotech-c-utils-1.0.4/src/c/base64.c deps/iotech-c-utils-1.0.4/src/c/component.c deps/iotech-c-utils-1.0.4/src/c/container.c deps/iotech-c-utils-1.0.4/src/c/data.c deps/iotech-c-utils-1.0.4/src/c/hash.c deps/iotech-c-utils-1.0.4/src/c/iot.c deps/iotech-c-utils-1.0.4/src/c/json.c deps/iotech-c-utils-1.0.4/src/c/logger.c deps/iotech-c-utils-1.0.4/src/c/os.c deps/iotech-c-utils-1.0.4/src/c/scheduler.c deps/iotech-c-utils-1.0.4/src/c/thread.c deps/iotech-c-utils-1.0.4/src/c/threadpool.c deps/iotech-c-utils-1.0.4/src/c/time.c src/c/iot 09:39:00 + mkdir -p include/iot 09:39:00 + cp deps/iotech-c-utils-1.0.4/include/iot/base64.h deps/iotech-c-utils-1.0.4/include/iot/component.h deps/iotech-c-utils-1.0.4/include/iot/container.h deps/iotech-c-utils-1.0.4/include/iot/data.h deps/iotech-c-utils-1.0.4/include/iot/hash.h deps/iotech-c-utils-1.0.4/include/iot/iot.h deps/iotech-c-utils-1.0.4/include/iot/json.h deps/iotech-c-utils-1.0.4/include/iot/logger.h deps/iotech-c-utils-1.0.4/include/iot/os.h deps/iotech-c-utils-1.0.4/include/iot/scheduler.h deps/iotech-c-utils-1.0.4/include/iot/thread.h deps/iotech-c-utils-1.0.4/include/iot/threadpool.h deps/iotech-c-utils-1.0.4/include/iot/time.h deps/iotech-c-utils-1.0.4/include/iot/typecode.h include/iot 09:39:00 + mkdir -p include/iot/os 09:39:00 + cp deps/iotech-c-utils-1.0.4/include/iot/os/linux.h deps/iotech-c-utils-1.0.4/include/iot/os/zephyr.h include/iot/os 09:39:00 + mkdir -p /tmp/sdk/build/release 09:39:00 + cd /tmp/sdk/build/release 09:39:00 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 09:39:00 4c13bbce0fe7: Pull complete 09:39:00 -- The C compiler identification is GNU 8.3.0 09:39:00 -- Check for working C compiler: /usr/bin/cc 09:39:01 -- Check for working C compiler: /usr/bin/cc -- works 09:39:01 -- Detecting C compiler ABI info 09:39:01 -- Detecting C compiler ABI info - done 09:39:01 -- Detecting C compile features 09:39:02 6059c847ac2f: Verifying Checksum 09:39:02 6059c847ac2f: Download complete 09:39:02 -- Detecting C compile features - done 09:39:02 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 09:39:02 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 09:39:02 -- Found LIBYAML: /usr/lib/libyaml.so 09:39:02 -- Found LIBUUID: /usr/lib/libuuid.so 09:39:02 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 09:39:02 -- C SDK 0.0.0 for Linux 09:39:02 -- Performing Test CSDK_HAVE_ATOMIC 09:39:02 -- Performing Test CSDK_HAVE_ATOMIC - Success 09:39:02 -- Found Curses: /usr/lib/libcurses.so 09:39:02 -- Configuring done 09:39:02 -- Generating done 09:39:02 -- Build files have been written to: /tmp/sdk/build/release 09:39:02 + make 09:39:02 + tee release.log 09:39:02 Scanning dependencies of target csdk 09:39:03 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 09:39:03 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 09:39:04 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 09:39:05 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 09:39:06 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 09:39:06 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 09:39:07 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 09:39:08 6059c847ac2f: Pull complete 09:39:08 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 09:39:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 09:39:08 ---> 5eabd8fd8ba2 09:39:08 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 09:39:08 ---> Running in a85c34bb8919 09:39:08 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 09:39:09 [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 09:39:09 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 09:39:09 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 09:39:10 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 09:39:10 (2/8) Installing libuuid (2.33-r0) 09:39:10 (3/8) Installing libblkid (2.33-r0) 09:39:10 [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 09:39:10 (4/8) Installing libfdisk (2.33-r0) 09:39:10 (5/8) Installing libmount (2.33-r0) 09:39:10 [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 09:39:10 (6/8) Installing libsmartcols (2.33-r0) 09:39:10 (7/8) Installing util-linux-dev (2.33-r0) 09:39:11 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 09:39:11 (8/8) Installing wget (1.20.3-r0) 09:39:11 Executing busybox-1.29.3-r10.trigger 09:39:11 OK: 272 MiB in 83 packages 09:39:11 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 09:39:11 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 09:39:12 Removing intermediate container a85c34bb8919 09:39:12 ---> 0a841ab77b4d 09:39:12 Step 4/21 : ENV CBOR_VERSION=0.5.0 09:39:13 ---> Running in 7a6ced4bd696 09:39:13 Removing intermediate container 7a6ced4bd696 09:39:13 ---> 4fe4682f3945 09:39:13 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 09:39:13 ---> Running in 6361c5bbc67c 09:39:14 --2020-04-22 09:39:14-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 09:39:14 Resolving github.com... 140.82.112.3 09:39:14 Connecting to github.com|140.82.112.3|:443... connected. 09:39:14 HTTP request sent, awaiting response... 302 Found 09:39:14 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 09:39:14 --2020-04-22 09:39:14-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 09:39:14 Resolving codeload.github.com... 140.82.112.9 09:39:14 Connecting to codeload.github.com|140.82.112.9|:443... connected. 09:39:14 HTTP request sent, awaiting response... 200 OK 09:39:14 Length: unspecified [application/x-gzip] 09:39:14 Saving to: 'STDOUT' 09:39:14 09:39:14 0K .......... .......... .......... .......... .......... 1.71M 09:39:14 50K .......... .......... .......... .......... .......... 3.37M 09:39:14 100K .......... .......... .......... .......... .......... 28.5M 09:39:14 150K .......... .......... .......... .......... .......... 3.67M 09:39:14 200K .......... .......... .......... .......... .......... 29.0M 09:39:14 250K .......... .......... .......... .......... .......... 3.73M 09:39:14 300K .......... .......... .......... .......... .......... 4.13M 09:39:14 350K .......... .......... .......... .......... .......... 5.72M 09:39:14 400K .......... .......... .......... .......... .......... 4.74M 09:39:14 450K .......... .......... .......... .......... .......... 7.23M 09:39:14 500K .......... .......... .......... .......... .......... 16.0M 09:39:14 550K .......... .......... .......... .......... .......... 4.27M 09:39:14 600K .......... .......... .......... .......... .......... 1.85M 09:39:14 650K .......... .......... .......... .......... .......... 3.79M 09:39:14 700K .. 28.7M=0.2s 09:39:14 09:39:14 2020-04-22 09:39:14 (4.18 MB/s) - written to stdout [719348] 09:39:14 09:39:15 [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 09:39:15 -- The C compiler identification is GNU 8.3.0 09:39:15 -- The CXX compiler identification is GNU 8.3.0 09:39:15 -- Check for working C compiler: /usr/bin/cc 09:39:15 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 09:39:15 -- Check for working C compiler: /usr/bin/cc -- works 09:39:15 -- Detecting C compiler ABI info 09:39:15 -- Detecting C compiler ABI info - done 09:39:15 -- Detecting C compile features 09:39:15 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 09:39:15 -- Detecting C compile features - done 09:39:15 -- Check for working CXX compiler: /usr/bin/c++ 09:39:15 -- Check for working CXX compiler: /usr/bin/c++ -- works 09:39:15 -- Detecting CXX compiler ABI info 09:39:15 -- Detecting CXX compiler ABI info - done 09:39:15 -- Detecting CXX compile features 09:39:16 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 09:39:17 -- Detecting CXX compile features - done 09:39:17 -- Looking for include file endian.h 09:39:17 -- Looking for include file endian.h - found 09:39:17 -- Check if the system is big endian 09:39:17 -- Searching 16 bit integer 09:39:17 -- Looking for sys/types.h 09:39:17 -- Looking for sys/types.h - found 09:39:17 -- Looking for stdint.h 09:39:17 -- Looking for stdint.h - found 09:39:17 -- Looking for stddef.h 09:39:17 -- Looking for stddef.h - found 09:39:17 -- Check size of unsigned short 09:39:17 -- Check size of unsigned short - done 09:39:17 -- Using unsigned short 09:39:17 -- Check if the system is big endian - little endian 09:39:17 -- Check size of size_t 09:39:17 -- Check size of size_t - done 09:39:17 CMake Warning at examples/CMakeLists.txt:16 (find_package): 09:39:17 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 09:39:17 asked CMake to find a package configuration file provided by "cJSON", but 09:39:17 CMake did not find one. 09:39:17 09:39:17 Could not find a package configuration file provided by "cJSON" with any of 09:39:17 the following names: 09:39:17 09:39:17 cJSONConfig.cmake 09:39:17 cjson-config.cmake 09:39:17 09:39:17 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 09:39:17 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 09:39:17 provides a separate development package or SDK, be sure it has been 09:39:17 installed. 09:39:17 09:39:17 09:39:17 -- Configuring done 09:39:18 -- Generating done 09:39:18 -- Build files have been written to: /tmp/cbor 09:39:18 Scanning dependencies of target cbor_shared 09:39:18 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 09:39:18 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 09:39:18 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 09:39:18 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 09:39:18 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 09:39:18 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 09:39:18 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 09:39:19 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 09:39:19 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 09:39:19 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 09:39:19 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 09:39:19 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 09:39:19 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 09:39:19 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 09:39:19 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 09:39:19 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 09:39:19 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 09:39:19 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 09:39:19 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 09:39:20 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 09:39:20 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 09:39:20 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 09:39:20 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 09:39:20 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 09:39:20 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 09:39:20 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 09:39:20 [ 40%] Linking C shared library libcbor.so 09:39:20 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 09:39:21 [ 40%] Built target cbor_shared 09:39:21 Scanning dependencies of target cbor 09:39:21 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 09:39:21 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 09:39:21 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 09:39:21 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 09:39:21 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 09:39:21 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 09:39:21 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 09:39:22 [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o 09:39:22 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 09:39:22 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 09:39:22 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 09:39:22 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 09:39:22 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 09:39:22 [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 09:39:22 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 09:39:23 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 09:39:23 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 09:39:23 [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 09:39:23 [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 09:39:23 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 09:39:23 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 09:39:23 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 09:39:23 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 09:39:23 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 09:39:24 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 09:39:24 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 09:39:24 [ 80%] Linking C static library libcbor.a 09:39:24 [ 80%] Built target cbor 09:39:24 Scanning dependencies of target create_items 09:39:24 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 09:39:24 [ 84%] Linking C executable create_items 09:39:24 [ 84%] Built target create_items 09:39:24 Scanning dependencies of target readfile 09:39:24 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 09:39:24 [ 88%] Linking C executable readfile 09:39:24 [ 88%] Built target readfile 09:39:24 Scanning dependencies of target streaming_parser 09:39:24 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 09:39:25 [ 92%] Linking C executable streaming_parser 09:39:25 [ 92%] Built target streaming_parser 09:39:25 Scanning dependencies of target sort 09:39:25 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 09:39:25 [ 96%] Linking C executable sort 09:39:25 [ 96%] Built target sort 09:39:25 Scanning dependencies of target hello 09:39:25 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 09:39:25 [100%] Linking C executable hello 09:39:25 [100%] Built target hello 09:39:25 Install the project... 09:39:25 -- Install configuration: "Release" 09:39:25 -- Installing: /usr/local/include/cbor/configuration.h 09:39:25 -- Installing: /usr/local/lib64/libcbor.a 09:39:25 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 09:39:25 -- Installing: /usr/local/lib64/libcbor.so.0 09:39:25 -- Installing: /usr/local/lib64/libcbor.so 09:39:25 -- Up-to-date: /usr/local/include/cbor 09:39:25 -- Installing: /usr/local/include/cbor/arrays.h 09:39:25 -- Installing: /usr/local/include/cbor/bytestrings.h 09:39:25 -- Installing: /usr/local/include/cbor/callbacks.h 09:39:25 -- Installing: /usr/local/include/cbor/common.h 09:39:25 -- Installing: /usr/local/include/cbor/data.h 09:39:25 -- Installing: /usr/local/include/cbor/encoding.h 09:39:25 -- Installing: /usr/local/include/cbor/floats_ctrls.h 09:39:25 -- Installing: /usr/local/include/cbor/internal 09:39:25 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 09:39:25 -- Installing: /usr/local/include/cbor/internal/encoders.h 09:39:25 -- Installing: /usr/local/include/cbor/internal/loaders.h 09:39:25 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 09:39:25 -- Installing: /usr/local/include/cbor/internal/stack.h 09:39:25 -- Installing: /usr/local/include/cbor/internal/unicode.h 09:39:25 -- Installing: /usr/local/include/cbor/ints.h 09:39:25 -- Installing: /usr/local/include/cbor/maps.h 09:39:25 -- Installing: /usr/local/include/cbor/serialization.h 09:39:25 -- Installing: /usr/local/include/cbor/streaming.h 09:39:25 -- Installing: /usr/local/include/cbor/strings.h 09:39:25 -- Installing: /usr/local/include/cbor/tags.h 09:39:25 -- Installing: /usr/local/include/cbor.h 09:39:25 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 09:39:26 Removing intermediate container 6361c5bbc67c 09:39:26 ---> da2c21709ae4 09:39:26 Step 6/21 : RUN mkdir /tmp/sdk 09:39:26 ---> Running in 4014b4c22434 09:39:27 Removing intermediate container 4014b4c22434 09:39:27 ---> 3fe626c22554 09:39:27 Step 7/21 : COPY VERSION /tmp/sdk 09:39:27 [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 09:39:28 [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 09:39:28 ---> a828883404a2 09:39:28 Step 8/21 : COPY src /tmp/sdk/src 09:39:28 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 09:39:28 ---> 26f87e44d285 09:39:28 Step 9/21 : COPY include /tmp/sdk/include 09:39:29 ---> 039a0a1f751e 09:39:29 Step 10/21 : COPY scripts /tmp/sdk/scripts 09:39:29 [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 09:39:29 ---> 94456cdc5d1f 09:39:29 Step 11/21 : COPY LICENSE /tmp/sdk 09:39:29 ---> 6f2fe3b65069 09:39:29 Step 12/21 : COPY Attribution.txt /tmp/sdk 09:39:29 ---> 63268bdb06e6 09:39:29 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 09:39:29 ---> Running in be758f0b5dd4 09:39:30 + CPPCHECK=false 09:39:30 + DOCGEN=false 09:39:30 + TOMLVER=SDK-0.2 09:39:30 + CUTILVER=1.0.4 09:39:30 + '[' 0 -gt 0 ] 09:39:30 + readlink -f ./scripts/build.sh 09:39:30 + dirname /tmp/sdk/scripts/build.sh 09:39:30 + dirname /tmp/sdk/scripts 09:39:30 + ROOT=/tmp/sdk 09:39:30 + cd /tmp/sdk 09:39:30 + '[' '!' -d deps ] 09:39:30 + mkdir deps 09:39:30 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 09:39:30 + tar -C deps -z -x -f - 09:39:30 --2020-04-22 09:39:30-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 09:39:30 Resolving github.com... 140.82.112.3 09:39:30 Connecting to github.com|140.82.112.3|:443... connected. 09:39:30 HTTP request sent, awaiting response... 302 Found 09:39:30 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 09:39:30 --2020-04-22 09:39:30-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 09:39:30 Resolving codeload.github.com... 140.82.112.9 09:39:30 Connecting to codeload.github.com|140.82.112.9|:443... connected. 09:39:30 HTTP request sent, awaiting response... 200 OK 09:39:30 Length: unspecified [application/x-gzip] 09:39:30 Saving to: 'STDOUT' 09:39:30  09:39:30 0K .......... ...... 908K=0.02s 09:39:30 09:39:30 2020-04-22 09:39:30 (908 KB/s) - written to stdout [16451] 09:39:30 09:39:30 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 09:39:30 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz 09:39:30 + tar -C deps -z -x -f - 09:39:30 --2020-04-22 09:39:30-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz 09:39:30 Resolving github.com... 140.82.112.3 09:39:30 Connecting to github.com|140.82.112.3|:443... connected. 09:39:30 [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o 09:39:30 /tmp/sdk/src/c/service.c: In function 'processCmdLine': 09:39:30 /tmp/sdk/src/c/service.c:188:24: warning: passing argument 1 of 'testBool' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 09:39:30 else if (testBool (arg, val, "-o", "--overwrite", &svc->overwriteconfig, &result)) 09:39:30 ^~~ 09:39:30 /tmp/sdk/src/c/service.c:109:29: note: expected 'char *' but argument is of type 'const char *' 09:39:30 static bool testBool (char *arg, char *val, const char *pshort, const char *plong, bool *var, bool *result) 09:39:30 ~~~~~~^~~ 09:39:30 /tmp/sdk/src/c/service.c:188:29: warning: passing argument 2 of 'testBool' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 09:39:30 else if (testBool (arg, val, "-o", "--overwrite", &svc->overwriteconfig, &result)) 09:39:30 ^~~ 09:39:30 /tmp/sdk/src/c/service.c:109:40: note: expected 'char *' but argument is of type 'const char *' 09:39:30 static bool testBool (char *arg, char *val, const char *pshort, const char *plong, bool *var, bool *result) 09:39:30 ~~~~~~^~~ 09:39:30 HTTP request sent, awaiting response... 302 Found 09:39:30 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] 09:39:30 --2020-04-22 09:39:30-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 09:39:30 Resolving codeload.github.com... 140.82.112.9 09:39:30 Connecting to codeload.github.com|140.82.112.9|:443... connected. 09:39:31 HTTP request sent, awaiting response... 200 OK 09:39:31 Length: unspecified [application/x-gzip] 09:39:31 Saving to: 'STDOUT' 09:39:31 09:39:31 0K .......... .......... .......... .......... .......... 1.55M 09:39:31 50K .......... .......... .......... .......... .......... 3.26M 09:39:31 100K .......... .......... .......... .......... .......... 2.81M 09:39:31 150K ........ 27.2M=0.06s 09:39:31 09:39:31 2020-04-22 09:39:30 (2.41 MB/s) - written to stdout [162267] 09:39:31 09:39:31 + mkdir -p src/c/iot 09:39:31 + cp deps/iotech-c-utils-1.0.4/src/c/base64.c deps/iotech-c-utils-1.0.4/src/c/component.c deps/iotech-c-utils-1.0.4/src/c/container.c deps/iotech-c-utils-1.0.4/src/c/data.c deps/iotech-c-utils-1.0.4/src/c/hash.c deps/iotech-c-utils-1.0.4/src/c/iot.c deps/iotech-c-utils-1.0.4/src/c/json.c deps/iotech-c-utils-1.0.4/src/c/logger.c deps/iotech-c-utils-1.0.4/src/c/os.c deps/iotech-c-utils-1.0.4/src/c/scheduler.c deps/iotech-c-utils-1.0.4/src/c/thread.c deps/iotech-c-utils-1.0.4/src/c/threadpool.c deps/iotech-c-utils-1.0.4/src/c/time.c src/c/iot 09:39:31 + mkdir -p include/iot 09:39:31 + cp deps/iotech-c-utils-1.0.4/include/iot/base64.h deps/iotech-c-utils-1.0.4/include/iot/component.h deps/iotech-c-utils-1.0.4/include/iot/container.h deps/iotech-c-utils-1.0.4/include/iot/data.h deps/iotech-c-utils-1.0.4/include/iot/hash.h deps/iotech-c-utils-1.0.4/include/iot/iot.h deps/iotech-c-utils-1.0.4/include/iot/json.h deps/iotech-c-utils-1.0.4/include/iot/logger.h deps/iotech-c-utils-1.0.4/include/iot/os.h deps/iotech-c-utils-1.0.4/include/iot/scheduler.h deps/iotech-c-utils-1.0.4/include/iot/thread.h deps/iotech-c-utils-1.0.4/include/iot/threadpool.h deps/iotech-c-utils-1.0.4/include/iot/time.h deps/iotech-c-utils-1.0.4/include/iot/typecode.h include/iot 09:39:31 + mkdir -p include/iot/os 09:39:31 + cp deps/iotech-c-utils-1.0.4/include/iot/os/linux.h deps/iotech-c-utils-1.0.4/include/iot/os/zephyr.h include/iot/os 09:39:31 + mkdir -p /tmp/sdk/build/release 09:39:31 + cd /tmp/sdk/build/release 09:39:31 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 09:39:31 -- The C compiler identification is GNU 8.3.0 09:39:31 -- Check for working C compiler: /usr/bin/cc 09:39:31 -- Check for working C compiler: /usr/bin/cc -- works 09:39:31 -- Detecting C compiler ABI info 09:39:31 -- Detecting C compiler ABI info - done 09:39:31 -- Detecting C compile features 09:39:31 -- Detecting C compile features - done 09:39:31 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 09:39:31 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 09:39:31 -- Found LIBYAML: /usr/lib/libyaml.so 09:39:31 -- Found LIBUUID: /usr/lib/libuuid.so 09:39:31 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 09:39:31 -- C SDK 0.0.0 for Linux 09:39:31 -- Performing Test CSDK_HAVE_ATOMIC 09:39:32 -- Performing Test CSDK_HAVE_ATOMIC - Success 09:39:32 -- Found Curses: /usr/lib/libcurses.so 09:39:32 -- Configuring done 09:39:32 -- Generating done 09:39:32 -- Build files have been written to: /tmp/sdk/build/release 09:39:32 + tee release.log 09:39:32 + make 09:39:32 [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 09:39:33 Scanning dependencies of target csdk 09:39:33 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 09:39:33 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 09:39:33 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 09:39:34 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 09:39:34 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 09:39:34 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 09:39:34 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 09:39:35 [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 09:39:35 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 09:39:35 [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 09:39:35 [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 09:39:35 [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 09:39:35 [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 09:39:36 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 09:39:36 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 09:39:36 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 09:39:37 [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 09:39:37 [ 65%] Linking C shared library libcsdk.so 09:39:37 [ 65%] Built target csdk 09:39:37 Scanning dependencies of target template 09:39:37 [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 09:39:37 [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 09:39:37 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 09:39:38 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 09:39:38 [ 68%] Linking C executable template 09:39:38 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 09:39:38 [ 68%] Built target template 09:39:38 Scanning dependencies of target device-counter 09:39:38 [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 09:39:39 [ 71%] Linking C executable device-counter 09:39:39 [ 71%] Built target device-counter 09:39:39 Scanning dependencies of target device-random 09:39:39 [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 09:39:39 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 09:39:39 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 09:39:39 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 09:39:39 [ 74%] Linking C executable device-random 09:39:39 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 09:39:39 [ 74%] Built target device-random 09:39:39 Scanning dependencies of target device-gyro 09:39:39 [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 09:39:39 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 09:39:39 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 09:39:40 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 09:39:40 [ 77%] Linking C executable device-gyro 09:39:40 [ 77%] Built target device-gyro 09:39:40 Scanning dependencies of target template-discovery 09:39:40 [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 09:39:40 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 09:39:40 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 09:39:40 [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o 09:39:40 [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 09:39:41 [ 80%] Linking C executable template-discovery 09:39:41 [ 80%] Built target template-discovery 09:39:41 Scanning dependencies of target device-terminal 09:39:41 [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 09:39:41 [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 09:39:41 [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 09:39:41 [ 84%] Linking C executable device-terminal 09:39:42 [ 84%] Built target device-terminal 09:39:42 Scanning dependencies of target template2 09:39:42 [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o 09:39:42 [ 87%] Linking C executable template2 09:39:42 [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 09:39:42 [ 87%] Built target template2 09:39:42 Scanning dependencies of target device-counterv2 09:39:42 [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o 09:39:43 [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 09:39:43 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 09:39:43 [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 09:39:43 [ 90%] Linking C executable device-counterv2 09:39:43 [ 90%] Built target device-counterv2 09:39:43 Scanning dependencies of target device-gyrov2 09:39:43 [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o 09:39:44 [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o 09:39:44 /tmp/sdk/src/c/service.c: In function 'processCmdLine': 09:39:44 /tmp/sdk/src/c/service.c:188:24: warning: passing argument 1 of 'testBool' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 09:39:44 else if (testBool (arg, val, "-o", "--overwrite", &svc->overwriteconfig, &result)) 09:39:44 ^~~ 09:39:44 /tmp/sdk/src/c/service.c:109:29: note: expected 'char *' but argument is of type 'const char *' 09:39:44 static bool testBool (char *arg, char *val, const char *pshort, const char *plong, bool *var, bool *result) 09:39:44 ~~~~~~^~~ 09:39:44 /tmp/sdk/src/c/service.c:188:29: warning: passing argument 2 of 'testBool' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 09:39:44 else if (testBool (arg, val, "-o", "--overwrite", &svc->overwriteconfig, &result)) 09:39:44 ^~~ 09:39:44 /tmp/sdk/src/c/service.c:109:40: note: expected 'char *' but argument is of type 'const char *' 09:39:44 static bool testBool (char *arg, char *val, const char *pshort, const char *plong, bool *var, bool *result) 09:39:44 ~~~~~~^~~ 09:39:44 [ 93%] Linking C executable device-gyrov2 09:39:44 [ 93%] Built target device-gyrov2 09:39:44 Scanning dependencies of target device-randomv2 09:39:44 [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o 09:39:44 [ 96%] Linking C executable device-randomv2 09:39:44 [ 96%] Built target device-randomv2 09:39:44 Scanning dependencies of target device-terminalv2 09:39:44 [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o 09:39:45 [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 09:39:45 [100%] Linking C executable device-terminalv2 09:39:45 [100%] Built target device-terminalv2 09:39:45 + + maketee package -a 09:39:45 release.log 09:39:46 [ 65%] Built target csdk 09:39:46 [ 68%] Built target template 09:39:46 [ 71%] Built target device-counter 09:39:46 [ 74%] Built target device-random 09:39:46 [ 77%] Built target device-gyro 09:39:46 [ 80%] Built target template-discovery 09:39:46 [ 84%] Built target device-terminal 09:39:46 [ 87%] Built target template2 09:39:46 [ 90%] Built target device-counterv2 09:39:46 [ 93%] Built target device-gyrov2 09:39:46 [ 96%] Built target device-randomv2 09:39:46 [100%] Built target device-terminalv2 09:39:46 [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 09:39:46 [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 09:39:46 Run CPack packaging tool... 09:39:46 CPack: Create package using TGZ 09:39:46 CPack: Install projects 09:39:46 CPack: - Run preinstall target for: Csdk 09:39:46 [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 09:39:47 [ 65%] Linking C shared library libcsdk.so 09:39:47 [ 65%] Built target csdk 09:39:47 Scanning dependencies of target template 09:39:47 [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 09:39:47 CPack: - Install project: Csdk 09:39:47 CPack: Create package 09:39:47 [ 68%] Linking C executable template 09:39:47 [ 68%] Built target template 09:39:47 Scanning dependencies of target device-counter 09:39:47 [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 09:39:47 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 09:39:47 + '[' false '=' true ] 09:39:47 + '[' false '=' true ] 09:39:47 + mkdir -p /tmp/sdk/build/debug 09:39:47 + cd /tmp/sdk/build/debug 09:39:47 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 09:39:47 [ 71%] Linking C executable device-counter 09:39:47 -- The C compiler identification is GNU 8.3.0 09:39:47 -- Check for working C compiler: /usr/bin/cc 09:39:48 [ 71%] Built target device-counter 09:39:48 Scanning dependencies of target device-random 09:39:48 [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 09:39:48 [ 74%] Linking C executable device-random 09:39:48 -- Check for working C compiler: /usr/bin/cc -- works 09:39:48 -- Detecting C compiler ABI info 09:39:48 [ 74%] Built target device-random 09:39:48 Scanning dependencies of target device-gyro 09:39:48 [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 09:39:48 [ 77%] Linking C executable device-gyro 09:39:48 -- Detecting C compiler ABI info - done 09:39:48 -- Detecting C compile features 09:39:48 [ 77%] Built target device-gyro 09:39:48 Scanning dependencies of target template-discovery 09:39:48 [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 09:39:48 [ 80%] Linking C executable template-discovery 09:39:48 [ 80%] Built target template-discovery 09:39:48 Scanning dependencies of target device-terminal 09:39:48 [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 09:39:48 -- Detecting C compile features - done 09:39:49 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 09:39:49 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 09:39:49 -- Found LIBYAML: /usr/lib/libyaml.so 09:39:49 -- Found LIBUUID: /usr/lib/libuuid.so 09:39:49 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 09:39:49 -- C SDK 0.0.0 for Linux 09:39:49 -- Performing Test CSDK_HAVE_ATOMIC 09:39:49 [ 84%] Linking C executable device-terminal 09:39:49 [ 84%] Built target device-terminal 09:39:49 Scanning dependencies of target template2 09:39:49 [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o 09:39:49 -- Performing Test CSDK_HAVE_ATOMIC - Success 09:39:49 -- Found Curses: /usr/lib/libcurses.so 09:39:49 -- Configuring done 09:39:49 -- Generating done 09:39:49 -- Build files have been written to: /tmp/sdk/build/debug 09:39:49 + make 09:39:49 + tee debug.log 09:39:49 [ 87%] Linking C executable template2 09:39:49 [ 87%] Built target template2 09:39:49 Scanning dependencies of target device-counterv2 09:39:49 [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o 09:39:50 Scanning dependencies of target csdk 09:39:50 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 09:39:50 [ 90%] Linking C executable device-counterv2 09:39:50 [ 90%] Built target device-counterv2 09:39:50 Scanning dependencies of target device-gyrov2 09:39:50 [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o 09:39:50 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 09:39:50 [ 93%] Linking C executable device-gyrov2 09:39:50 [ 93%] Built target device-gyrov2 09:39:50 Scanning dependencies of target device-randomv2 09:39:50 [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o 09:39:50 [ 96%] Linking C executable device-randomv2 09:39:50 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 09:39:50 [ 96%] Built target device-randomv2 09:39:50 Scanning dependencies of target device-terminalv2 09:39:50 [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o 09:39:51 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 09:39:51 [100%] Linking C executable device-terminalv2 09:39:51 [100%] Built target device-terminalv2 09:39:51 + make package 09:39:51 + tee -a release.log 09:39:51 [ 65%] Built target csdk 09:39:51 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 09:39:51 [ 68%] Built target template 09:39:51 [ 71%] Built target device-counter 09:39:51 [ 74%] Built target device-random 09:39:51 [ 77%] Built target device-gyro 09:39:51 [ 80%] Built target template-discovery 09:39:51 [ 84%] Built target device-terminal 09:39:51 [ 87%] Built target template2 09:39:51 [ 90%] Built target device-counterv2 09:39:51 [ 93%] Built target device-gyrov2 09:39:51 [ 96%] Built target device-randomv2 09:39:51 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 09:39:51 [100%] Built target device-terminalv2 09:39:51 Run CPack packaging tool... 09:39:51 CPack: Create package using TGZ 09:39:51 CPack: Install projects 09:39:51 CPack: - Run preinstall target for: Csdk 09:39:51 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 09:39:52 CPack: - Install project: Csdk 09:39:52 CPack: Create package 09:39:52 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 09:39:52 + '[' false '=' true ] 09:39:52 + '[' false '=' true ] 09:39:52 + mkdir -p /tmp/sdk/build/debug 09:39:52 + cd /tmp/sdk/build/debug 09:39:52 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 09:39:52 -- The C compiler identification is GNU 8.3.0 09:39:52 -- Check for working C compiler: /usr/bin/cc 09:39:52 [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 09:39:52 -- Check for working C compiler: /usr/bin/cc -- works 09:39:52 -- Detecting C compiler ABI info 09:39:52 -- Detecting C compiler ABI info - done 09:39:52 -- Detecting C compile features 09:39:52 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 09:39:52 -- Detecting C compile features - done 09:39:52 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 09:39:52 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 09:39:52 -- Found LIBYAML: /usr/lib/libyaml.so 09:39:52 -- Found LIBUUID: /usr/lib/libuuid.so 09:39:52 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 09:39:52 -- C SDK 0.0.0 for Linux 09:39:52 -- Performing Test CSDK_HAVE_ATOMIC 09:39:53 [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 09:39:53 -- Performing Test CSDK_HAVE_ATOMIC - Success 09:39:53 -- Found Curses: /usr/lib/libcurses.so 09:39:53 -- Configuring done 09:39:53 -- Generating done 09:39:53 -- Build files have been written to: /tmp/sdk/build/debug 09:39:53 + make 09:39:53 + tee debug.log 09:39:53 [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 09:39:53 Scanning dependencies of target csdk 09:39:53 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 09:39:53 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 09:39:53 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 09:39:53 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 09:39:53 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 09:39:53 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 09:39:53 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 09:39:53 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 09:39:53 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 09:39:54 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 09:39:54 [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 09:39:54 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 09:39:54 [ 15%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 09:39:54 [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 09:39:54 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 09:39:54 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 09:39:54 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 09:39:55 [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 09:39:55 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 09:39:55 [ 23%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 09:39:55 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 09:39:55 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 09:39:55 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 09:39:55 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 09:39:55 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 09:39:55 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 09:39:55 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 09:39:55 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 09:39:55 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 09:39:55 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 09:39:55 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 09:39:56 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 09:39:56 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 09:39:56 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 09:39:56 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 09:39:56 [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o 09:39:56 [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 09:39:56 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 09:39:56 [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 09:39:56 [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 09:39:56 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 09:39:56 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 09:39:57 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 09:39:57 [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 09:39:57 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 09:39:57 [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 09:39:57 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 09:39:57 [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 09:39:57 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 09:39:57 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 09:39:58 [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o 09:39:58 /tmp/sdk/src/c/service.c: In function 'processCmdLine': 09:39:58 /tmp/sdk/src/c/service.c:188:24: warning: passing argument 1 of 'testBool' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 09:39:58 else if (testBool (arg, val, "-o", "--overwrite", &svc->overwriteconfig, &result)) 09:39:58 ^~~ 09:39:58 /tmp/sdk/src/c/service.c:109:29: note: expected 'char *' but argument is of type 'const char *' 09:39:58 static bool testBool (char *arg, char *val, const char *pshort, const char *plong, bool *var, bool *result) 09:39:58 ~~~~~~^~~ 09:39:58 /tmp/sdk/src/c/service.c:188:29: warning: passing argument 2 of 'testBool' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 09:39:58 else if (testBool (arg, val, "-o", "--overwrite", &svc->overwriteconfig, &result)) 09:39:58 ^~~ 09:39:58 /tmp/sdk/src/c/service.c:109:40: note: expected 'char *' but argument is of type 'const char *' 09:39:58 static bool testBool (char *arg, char *val, const char *pshort, const char *plong, bool *var, bool *result) 09:39:58 ~~~~~~^~~ 09:39:58 [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 09:39:58 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 09:39:58 [ 44%] Building C object c/CMakeFiles/csdk.dir/map.c.o 09:39:58 [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 09:39:58 [ 46%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 09:39:58 [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 09:39:58 [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 09:39:58 [ 65%] Linking C shared library libcsdk.so 09:39:58 [ 65%] Built target csdk 09:39:58 Scanning dependencies of target template 09:39:58 [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 09:39:58 [ 68%] Linking C executable template 09:39:58 [ 47%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 09:39:58 [ 49%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 09:39:59 [ 68%] Built target template 09:39:59 Scanning dependencies of target device-counter 09:39:59 [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 09:39:59 [ 71%] Linking C executable device-counter 09:39:59 [ 71%] Built target device-counter 09:39:59 Scanning dependencies of target device-random 09:39:59 [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 09:39:59 [ 74%] Linking C executable device-random 09:39:59 [ 74%] Built target device-random 09:39:59 Scanning dependencies of target device-gyro 09:39:59 [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 09:39:59 [ 77%] Linking C executable device-gyro 09:39:59 [ 50%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 09:40:00 [ 77%] Built target device-gyro 09:40:00 Scanning dependencies of target template-discovery 09:40:00 [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 09:40:00 [ 80%] Linking C executable template-discovery 09:40:00 [ 80%] Built target template-discovery 09:40:00 [ 52%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 09:40:00 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 09:40:00 Scanning dependencies of target device-terminal 09:40:00 [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 09:40:00 [ 84%] Linking C executable device-terminal 09:40:00 [ 55%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 09:40:00 [ 84%] Built target device-terminal 09:40:00 Scanning dependencies of target template2 09:40:00 [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o 09:40:00 [ 87%] Linking C executable template2 09:40:01 [ 87%] Built target template2 09:40:01 Scanning dependencies of target device-counterv2 09:40:01 [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o 09:40:01 [ 90%] Linking C executable device-counterv2 09:40:01 [ 90%] Built target device-counterv2 09:40:01 Scanning dependencies of target device-gyrov2 09:40:01 [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o 09:40:01 [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o 09:40:02 /tmp/sdk/src/c/service.c: In function 'processCmdLine': 09:40:02 /tmp/sdk/src/c/service.c:188:24: warning: passing argument 1 of 'testBool' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 09:40:02 else if (testBool (arg, val, "-o", "--overwrite", &svc->overwriteconfig, &result)) 09:40:02 ^~~ 09:40:02 /tmp/sdk/src/c/service.c:109:29: note: expected 'char *' but argument is of type 'const char *' 09:40:02 static bool testBool (char *arg, char *val, const char *pshort, const char *plong, bool *var, bool *result) 09:40:02 ~~~~~~^~~ 09:40:02 /tmp/sdk/src/c/service.c:188:29: warning: passing argument 2 of 'testBool' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 09:40:02 else if (testBool (arg, val, "-o", "--overwrite", &svc->overwriteconfig, &result)) 09:40:02 ^~~ 09:40:02 /tmp/sdk/src/c/service.c:109:40: note: expected 'char *' but argument is of type 'const char *' 09:40:02 static bool testBool (char *arg, char *val, const char *pshort, const char *plong, bool *var, bool *result) 09:40:02 ~~~~~~^~~ 09:40:02 [ 93%] Linking C executable device-gyrov2 09:40:02 [ 93%] Built target device-gyrov2 09:40:02 Scanning dependencies of target device-randomv2 09:40:02 [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o 09:40:02 [ 58%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 09:40:02 [ 96%] Linking C executable device-randomv2 09:40:02 [ 96%] Built target device-randomv2 09:40:02 Scanning dependencies of target device-terminalv2 09:40:02 [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o 09:40:02 [100%] Linking C executable device-terminalv2 09:40:02 [100%] Built target device-terminalv2 09:40:02 make: Entering directory '/tmp/sdk/build/release' 09:40:02 make[1]: Entering directory '/tmp/sdk/build/release' 09:40:02 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:02 Scanning dependencies of target csdk 09:40:02 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:02 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:02 [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o 09:40:03 /tmp/sdk/src/c/service.c: In function 'processCmdLine': 09:40:03 /tmp/sdk/src/c/service.c:188:24: warning: passing argument 1 of 'testBool' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 09:40:03 else if (testBool (arg, val, "-o", "--overwrite", &svc->overwriteconfig, &result)) 09:40:03 ^~~ 09:40:03 /tmp/sdk/src/c/service.c:109:29: note: expected 'char *' but argument is of type 'const char *' 09:40:03 static bool testBool (char *arg, char *val, const char *pshort, const char *plong, bool *var, bool *result) 09:40:03 ~~~~~~^~~ 09:40:03 /tmp/sdk/src/c/service.c:188:29: warning: passing argument 2 of 'testBool' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 09:40:03 else if (testBool (arg, val, "-o", "--overwrite", &svc->overwriteconfig, &result)) 09:40:03 ^~~ 09:40:03 /tmp/sdk/src/c/service.c:109:40: note: expected 'char *' but argument is of type 'const char *' 09:40:03 static bool testBool (char *arg, char *val, const char *pshort, const char *plong, bool *var, bool *result) 09:40:03 ~~~~~~^~~ 09:40:03 [ 60%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 09:40:03 [ 3%] Linking C shared library libcsdk.so 09:40:03 [ 61%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 09:40:03 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:03 [ 65%] Built target csdk 09:40:03 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:03 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:03 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:03 [ 66%] Linking C executable template 09:40:03 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:03 [ 68%] Built target template 09:40:03 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:03 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:03 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:03 [ 69%] Linking C executable device-counter 09:40:03 [ 63%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 09:40:03 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:03 [ 71%] Built target device-counter 09:40:03 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:03 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:03 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:03 [ 73%] Linking C executable device-random 09:40:03 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:03 [ 74%] Built target device-random 09:40:03 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:03 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:03 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:03 [ 76%] Linking C executable device-gyro 09:40:04 [ 65%] Linking C shared library libcsdk.so 09:40:04 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:04 [ 77%] Built target device-gyro 09:40:04 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:04 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:04 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:04 [ 79%] Linking C executable template-discovery 09:40:04 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:04 [ 80%] Built target template-discovery 09:40:04 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:04 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:04 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:04 [ 82%] Linking C executable device-terminal 09:40:04 [ 65%] Built target csdk 09:40:04 Scanning dependencies of target template 09:40:04 [ 66%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 09:40:04 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:04 [ 84%] Built target device-terminal 09:40:04 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:04 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:04 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:04 [ 85%] Linking C executable template2 09:40:04 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:04 [ 87%] Built target template2 09:40:04 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:04 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:04 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:04 [ 88%] Linking C executable device-counterv2 09:40:04 [ 68%] Linking C executable template 09:40:04 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:04 [ 90%] Built target device-counterv2 09:40:04 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:04 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:04 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:04 [ 92%] Linking C executable device-gyrov2 09:40:04 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:04 [ 93%] Built target device-gyrov2 09:40:04 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:04 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:04 [ 68%] Built target template 09:40:04 Scanning dependencies of target device-counter 09:40:04 [ 69%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 09:40:05 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:05 [ 95%] Linking C executable device-randomv2 09:40:05 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:05 [ 96%] Built target device-randomv2 09:40:05 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:05 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:05 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:05 [ 98%] Linking C executable device-terminalv2 09:40:05 [ 71%] Linking C executable device-counter 09:40:05 [ 71%] Built target device-counter 09:40:05 Scanning dependencies of target device-random 09:40:05 [ 73%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 09:40:05 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:05 [100%] Built target device-terminalv2 09:40:05 make[1]: Leaving directory '/tmp/sdk/build/release' 09:40:05 Install the project... 09:40:05 -- Install configuration: "Release" 09:40:05 -- Installing: /usr/local/lib/libcsdk.so 09:40:05 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 09:40:05 -- Up-to-date: /usr/local/include 09:40:05 -- Installing: /usr/local/include/devsdk 09:40:05 -- Installing: /usr/local/include/devsdk/devsdk-base.h 09:40:05 -- Installing: /usr/local/include/devsdk/devsdk.h 09:40:05 -- Installing: /usr/local/include/edgex 09:40:05 -- Installing: /usr/local/include/edgex/device-mgmt.h 09:40:05 -- Installing: /usr/local/include/edgex/devices.h 09:40:05 -- Installing: /usr/local/include/edgex/devsdk.h 09:40:05 -- Installing: /usr/local/include/edgex/edgex-base.h 09:40:05 -- Installing: /usr/local/include/edgex/edgex-logging.h 09:40:05 -- Installing: /usr/local/include/edgex/edgex.h 09:40:05 -- Installing: /usr/local/include/edgex/error.h 09:40:05 -- Installing: /usr/local/include/edgex/eventgen.h 09:40:05 -- Installing: /usr/local/include/edgex/os.h 09:40:05 -- Installing: /usr/local/include/edgex/profiles.h 09:40:05 -- Installing: /usr/local/include/edgex/registry.h 09:40:05 -- Installing: /usr/local/include/edgex/rest-server.h 09:40:05 -- Installing: /usr/local/include/edgex/csdk-defs.h 09:40:05 -- Installing: /usr/local/include/iot 09:40:05 -- Installing: /usr/local/include/iot/base64.h 09:40:05 -- Installing: /usr/local/include/iot/component.h 09:40:05 -- Installing: /usr/local/include/iot/container.h 09:40:05 -- Installing: /usr/local/include/iot/data.h 09:40:05 -- Installing: /usr/local/include/iot/hash.h 09:40:05 -- Installing: /usr/local/include/iot/iot.h 09:40:05 -- Installing: /usr/local/include/iot/json.h 09:40:05 -- Installing: /usr/local/include/iot/logger.h 09:40:05 -- Installing: /usr/local/include/iot/os.h 09:40:05 -- Installing: /usr/local/include/iot/scheduler.h 09:40:05 -- Installing: /usr/local/include/iot/thread.h 09:40:05 -- Installing: /usr/local/include/iot/threadpool.h 09:40:05 -- Installing: /usr/local/include/iot/time.h 09:40:05 -- Installing: /usr/local/include/iot/typecode.h 09:40:05 -- Installing: /usr/local/include/iot/os 09:40:05 -- Installing: /usr/local/include/iot/os/linux.h 09:40:05 -- Installing: /usr/local/include/iot/os/zephyr.h 09:40:05 -- Installing: /usr/local/share/device-sdk-c/LICENSE 09:40:05 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 09:40:05 make: Leaving directory '/tmp/sdk/build/release' 09:40:05 [ 74%] Linking C executable device-random 09:40:05 [ 74%] Built target device-random 09:40:05 Scanning dependencies of target device-gyro 09:40:05 [ 76%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 09:40:06 [ 77%] Linking C executable device-gyro 09:40:06 Removing intermediate container be758f0b5dd4 09:40:06 ---> 00c34bfe82b7 09:40:06 Step 14/21 : FROM alpine:3.9 09:40:06 [ 77%] Built target device-gyro 09:40:06 Scanning dependencies of target template-discovery 09:40:06 [ 79%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 09:40:06 3.9: Pulling from library/alpine 09:40:06 9123ac7c32f7: Pulling fs layer 09:40:06 [ 80%] Linking C executable template-discovery 09:40:06 9123ac7c32f7: Download complete 09:40:07 [ 80%] Built target template-discovery 09:40:07 Scanning dependencies of target device-terminal 09:40:07 [ 82%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 09:40:07 [ 84%] Linking C executable device-terminal 09:40:07 [ 84%] Built target device-terminal 09:40:07 Scanning dependencies of target template2 09:40:07 [ 85%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o 09:40:07 9123ac7c32f7: Pull complete 09:40:07 Digest: sha256:115731bab0862031b44766733890091c17924f9b7781b79997f5f163be262178 09:40:07 Status: Downloaded newer image for alpine:3.9 09:40:07 ---> 82f67be598eb 09:40:07 Step 15/21 : MAINTAINER IOTech 09:40:07 ---> Running in b2080f147ff0 09:40:07 Removing intermediate container b2080f147ff0 09:40:07 ---> ee209ec3d2fd 09:40:07 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 09:40:07 ---> Running in 110ba42e21ca 09:40:07 [ 87%] Linking C executable template2 09:40:08 [ 87%] Built target template2 09:40:08 Scanning dependencies of target device-counterv2 09:40:08 [ 88%] Building C object c/examples/v2/counters/CMakeFiles/device-counterv2.dir/device-counter.c.o 09:40:08 [ 90%] Linking C executable device-counterv2 09:40:08 [ 90%] Built target device-counterv2 09:40:08 Scanning dependencies of target device-gyrov2 09:40:08 [ 92%] Building C object c/examples/v2/gyro/CMakeFiles/device-gyrov2.dir/device-gyro.c.o 09:40:08 [ 93%] Linking C executable device-gyrov2 09:40:09 [ 93%] Built target device-gyrov2 09:40:09 Scanning dependencies of target device-randomv2 09:40:09 [ 95%] Building C object c/examples/v2/random/CMakeFiles/device-randomv2.dir/device-random.c.o 09:40:09 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 09:40:09 [ 96%] Linking C executable device-randomv2 09:40:09 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 09:40:09 (1/48) Installing binutils (2.31.1-r2) 09:40:09 [ 96%] Built target device-randomv2 09:40:09 Scanning dependencies of target device-terminalv2 09:40:09 [ 98%] Building C object c/examples/v2/terminal/CMakeFiles/device-terminalv2.dir/device-terminal.c.o 09:40:09 [100%] Linking C executable device-terminalv2 09:40:10 [100%] Built target device-terminalv2 09:40:10 make: Entering directory '/tmp/sdk/build/release' 09:40:10 make[1]: Entering directory '/tmp/sdk/build/release' 09:40:10 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:10 Scanning dependencies of target csdk 09:40:10 (2/48) Installing libmagic (5.36-r1) 09:40:10 (3/48) Installing file (5.36-r1) 09:40:10 (4/48) Installing gmp (6.1.2-r1) 09:40:10 (5/48) Installing isl (0.18-r0) 09:40:10 (6/48) Installing libgomp (8.3.0-r0) 09:40:10 (7/48) Installing libatomic (8.3.0-r0) 09:40:10 (8/48) Installing libgcc (8.3.0-r0) 09:40:10 (9/48) Installing mpfr3 (3.1.5-r1) 09:40:10 (10/48) Installing mpc1 (1.0.3-r1) 09:40:10 (11/48) Installing libstdc++ (8.3.0-r0) 09:40:10 (12/48) Installing gcc (8.3.0-r0) 09:40:10 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:10 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:10 [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o 09:40:10 /tmp/sdk/src/c/service.c: In function 'processCmdLine': 09:40:10 /tmp/sdk/src/c/service.c:188:24: warning: passing argument 1 of 'testBool' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 09:40:10 else if (testBool (arg, val, "-o", "--overwrite", &svc->overwriteconfig, &result)) 09:40:10 ^~~ 09:40:10 /tmp/sdk/src/c/service.c:109:29: note: expected 'char *' but argument is of type 'const char *' 09:40:10 static bool testBool (char *arg, char *val, const char *pshort, const char *plong, bool *var, bool *result) 09:40:10 ~~~~~~^~~ 09:40:10 /tmp/sdk/src/c/service.c:188:29: warning: passing argument 2 of 'testBool' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 09:40:10 else if (testBool (arg, val, "-o", "--overwrite", &svc->overwriteconfig, &result)) 09:40:10 ^~~ 09:40:10 /tmp/sdk/src/c/service.c:109:40: note: expected 'char *' but argument is of type 'const char *' 09:40:10 static bool testBool (char *arg, char *val, const char *pshort, const char *plong, bool *var, bool *result) 09:40:10 ~~~~~~^~~ 09:40:12 [ 3%] Linking C shared library libcsdk.so 09:40:12 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:12 [ 65%] Built target csdk 09:40:12 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:12 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:12 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:12 [ 66%] Linking C executable template 09:40:12 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:12 [ 68%] Built target template 09:40:12 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:12 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:12 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:12 [ 69%] Linking C executable device-counter 09:40:12 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:12 [ 71%] Built target device-counter 09:40:12 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:12 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:12 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:12 [ 73%] Linking C executable device-random 09:40:12 (13/48) Installing musl-dev (1.1.20-r5) 09:40:12 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:12 [ 74%] Built target device-random 09:40:12 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:12 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:12 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:12 [ 76%] Linking C executable device-gyro 09:40:13 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:13 [ 77%] Built target device-gyro 09:40:13 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:13 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:13 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:13 [ 79%] Linking C executable template-discovery 09:40:13 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:13 [ 80%] Built target template-discovery 09:40:13 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:13 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:13 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:13 [ 82%] Linking C executable device-terminal 09:40:13 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:13 [ 84%] Built target device-terminal 09:40:13 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:13 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:13 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:13 [ 85%] Linking C executable template2 09:40:14 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:14 [ 87%] Built target template2 09:40:14 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:14 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:14 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:14 [ 88%] Linking C executable device-counterv2 09:40:14 (14/48) Installing libc-dev (0.7.1-r0) 09:40:14 (15/48) Installing g++ (8.3.0-r0) 09:40:14 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:14 [ 90%] Built target device-counterv2 09:40:14 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:14 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:14 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:14 [ 92%] Linking C executable device-gyrov2 09:40:14 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:14 [ 93%] Built target device-gyrov2 09:40:14 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:14 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:14 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:14 [ 95%] Linking C executable device-randomv2 09:40:14 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:14 [ 96%] Built target device-randomv2 09:40:14 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:14 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:14 make[2]: Entering directory '/tmp/sdk/build/release' 09:40:14 [ 98%] Linking C executable device-terminalv2 09:40:15 make[2]: Leaving directory '/tmp/sdk/build/release' 09:40:15 [100%] Built target device-terminalv2 09:40:15 make[1]: Leaving directory '/tmp/sdk/build/release' 09:40:15 Install the project... 09:40:15 -- Install configuration: "Release" 09:40:15 -- Installing: /usr/local/lib/libcsdk.so 09:40:15 (16/48) Installing make (4.2.1-r2) 09:40:15 (17/48) Installing fortify-headers (1.0-r0) 09:40:15 (18/48) Installing build-base (0.5-r1) 09:40:15 (19/48) Installing libattr (2.4.47-r7) 09:40:15 (20/48) Installing libacl (2.2.52-r5) 09:40:15 (21/48) Installing libbz2 (1.0.6-r7) 09:40:15 (22/48) Installing expat (2.2.8-r0) 09:40:15 (23/48) Installing lz4-libs (1.8.3-r2) 09:40:15 (24/48) Installing xz-libs (5.2.4-r0) 09:40:15 (25/48) Installing libarchive (3.3.3-r2) 09:40:15 (26/48) Installing ca-certificates (20191127-r0) 09:40:15 (27/48) Installing nghttp2-libs (1.35.1-r1) 09:40:15 (28/48) Installing libssh2 (1.9.0-r1) 09:40:15 (29/48) Installing libcurl (7.64.0-r3) 09:40:15 (30/48) Installing ncurses-terminfo-base (6.1_p20190105-r0) 09:40:15 (31/48) Installing ncurses-terminfo (6.1_p20190105-r0) 09:40:15 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 09:40:15 -- Up-to-date: /usr/local/include 09:40:15 -- Installing: /usr/local/include/devsdk 09:40:15 -- Installing: /usr/local/include/devsdk/devsdk-base.h 09:40:15 -- Installing: /usr/local/include/devsdk/devsdk.h 09:40:15 -- Installing: /usr/local/include/edgex 09:40:15 -- Installing: /usr/local/include/edgex/devices.h 09:40:15 -- Installing: /usr/local/include/edgex/edgex.h 09:40:15 -- Installing: /usr/local/include/edgex/device-mgmt.h 09:40:15 -- Installing: /usr/local/include/edgex/profiles.h 09:40:15 -- Installing: /usr/local/include/edgex/edgex-base.h 09:40:15 -- Installing: /usr/local/include/edgex/error.h 09:40:15 -- Installing: /usr/local/include/edgex/registry.h 09:40:15 -- Installing: /usr/local/include/edgex/rest-server.h 09:40:15 -- Installing: /usr/local/include/edgex/os.h 09:40:15 -- Installing: /usr/local/include/edgex/devsdk.h 09:40:15 -- Installing: /usr/local/include/edgex/eventgen.h 09:40:15 -- Installing: /usr/local/include/edgex/edgex-logging.h 09:40:15 -- Installing: /usr/local/include/edgex/csdk-defs.h 09:40:15 -- Installing: /usr/local/include/iot 09:40:15 -- Installing: /usr/local/include/iot/hash.h 09:40:15 -- Installing: /usr/local/include/iot/thread.h 09:40:15 -- Installing: /usr/local/include/iot/json.h 09:40:15 -- Installing: /usr/local/include/iot/os 09:40:15 -- Installing: /usr/local/include/iot/os/zephyr.h 09:40:15 -- Installing: /usr/local/include/iot/os/linux.h 09:40:15 -- Installing: /usr/local/include/iot/typecode.h 09:40:15 -- Installing: /usr/local/include/iot/base64.h 09:40:15 -- Installing: /usr/local/include/iot/container.h 09:40:15 -- Installing: /usr/local/include/iot/data.h 09:40:15 -- Installing: /usr/local/include/iot/threadpool.h 09:40:15 -- Installing: /usr/local/include/iot/scheduler.h 09:40:15 -- Installing: /usr/local/include/iot/component.h 09:40:15 -- Installing: /usr/local/include/iot/os.h 09:40:15 -- Installing: /usr/local/include/iot/logger.h 09:40:15 -- Installing: /usr/local/include/iot/time.h 09:40:15 -- Installing: /usr/local/include/iot/iot.h 09:40:15 -- Installing: /usr/local/share/device-sdk-c/LICENSE 09:40:15 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 09:40:15 make: Leaving directory '/tmp/sdk/build/release' 09:40:15 (32/48) Installing ncurses-libs (6.1_p20190105-r0) 09:40:15 (33/48) Installing rhash-libs (1.3.6-r2) 09:40:15 (34/48) Installing libuv (1.23.2-r0) 09:40:15 (35/48) Installing cmake (3.13.0-r0) 09:40:17 (36/48) Installing curl (7.64.0-r3) 09:40:17 (37/48) Installing pcre2 (10.32-r1) 09:40:17 (38/48) Installing git (2.20.4-r0) 09:40:17 Removing intermediate container e58303352da5 09:40:17 ---> 1686fade1fe8 09:40:17 Step 14/21 : FROM alpine:3.9 09:40:17 (39/48) Installing nettle (3.4.1-r0) 09:40:17 (40/48) Installing libffi (3.2.1-r6) 09:40:17 (41/48) Installing p11-kit (0.23.14-r0) 09:40:17 (42/48) Installing libtasn1 (4.14-r0) 09:40:17 (43/48) Installing libunistring (0.9.10-r0) 09:40:17 (44/48) Installing gnutls (3.6.7-r1) 09:40:17 3.9: Pulling from library/alpine 09:40:17 (45/48) Installing libmicrohttpd (0.9.62-r0) 09:40:17 (46/48) Installing libuuid (2.33-r0) 09:40:17 (47/48) Installing wget (1.20.3-r0) 09:40:17 (48/48) Installing yaml (0.2.1-r0) 09:40:17 Executing busybox-1.29.3-r10.trigger 09:40:17 Executing ca-certificates-20191127-r0.trigger 09:40:17 OK: 222 MiB in 62 packages 09:40:17 eb93038481dd: Pulling fs layer 09:40:18 eb93038481dd: Verifying Checksum 09:40:18 eb93038481dd: Download complete 09:40:18 eb93038481dd: Pull complete 09:40:18 Digest: sha256:115731bab0862031b44766733890091c17924f9b7781b79997f5f163be262178 09:40:18 Status: Downloaded newer image for alpine:3.9 09:40:18 ---> 355993758880 09:40:18 Step 15/21 : MAINTAINER IOTech 09:40:18 ---> Running in 61cdc2f4cfbc 09:40:19 Removing intermediate container 61cdc2f4cfbc 09:40:19 ---> 11f5e1ffb6ad 09:40:19 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 09:40:19 ---> Running in c46966d87058 09:40:20 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 09:40:20 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 09:40:20 (1/48) Installing binutils (2.31.1-r2) 09:40:20 (2/48) Installing libmagic (5.36-r1) 09:40:20 (3/48) Installing file (5.36-r1) 09:40:20 (4/48) Installing gmp (6.1.2-r1) 09:40:20 (5/48) Installing isl (0.18-r0) 09:40:20 (6/48) Installing libgomp (8.3.0-r0) 09:40:20 (7/48) Installing libatomic (8.3.0-r0) 09:40:20 (8/48) Installing libgcc (8.3.0-r0) 09:40:20 (9/48) Installing mpfr3 (3.1.5-r1) 09:40:21 (10/48) Installing mpc1 (1.0.3-r1) 09:40:21 (11/48) Installing libstdc++ (8.3.0-r0) 09:40:21 (12/48) Installing gcc (8.3.0-r0) 09:40:22 (13/48) Installing musl-dev (1.1.20-r5) 09:40:22 (14/48) Installing libc-dev (0.7.1-r0) 09:40:22 (15/48) Installing g++ (8.3.0-r0) 09:40:24 (16/48) Installing make (4.2.1-r2) 09:40:24 (17/48) Installing fortify-headers (1.0-r0) 09:40:24 (18/48) Installing build-base (0.5-r1) 09:40:24 (19/48) Installing libattr (2.4.47-r7) 09:40:24 (20/48) Installing libacl (2.2.52-r5) 09:40:24 (21/48) Installing libbz2 (1.0.6-r7) 09:40:24 (22/48) Installing expat (2.2.8-r0) 09:40:24 (23/48) Installing lz4-libs (1.8.3-r2) 09:40:24 (24/48) Installing xz-libs (5.2.4-r0) 09:40:24 (25/48) Installing libarchive (3.3.3-r2) 09:40:24 (26/48) Installing ca-certificates (20191127-r0) 09:40:24 (27/48) Installing nghttp2-libs (1.35.1-r1) 09:40:24 (28/48) Installing libssh2 (1.9.0-r1) 09:40:24 (29/48) Installing libcurl (7.64.0-r3) 09:40:24 (30/48) Installing ncurses-terminfo-base (6.1_p20190105-r0) 09:40:24 (31/48) Installing ncurses-terminfo (6.1_p20190105-r0) 09:40:25 (32/48) Installing ncurses-libs (6.1_p20190105-r0) 09:40:25 (33/48) Installing rhash-libs (1.3.6-r2) 09:40:25 (34/48) Installing libuv (1.23.2-r0) 09:40:25 (35/48) Installing cmake (3.13.0-r0) 09:40:26 Removing intermediate container 110ba42e21ca 09:40:26 ---> 50dacbe9aa37 09:40:26 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 09:40:26 ---> 2cb3705911f1 09:40:26 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 09:40:26 ---> d5d8d00d702f 09:40:26 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 09:40:26 ---> c644c8da4ddc 09:40:26 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 09:40:26 (36/48) Installing curl (7.64.0-r3) 09:40:26 (37/48) Installing pcre2 (10.32-r1) 09:40:26 (38/48) Installing git (2.20.4-r0) 09:40:26 ---> 76246e267add 09:40:26 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 09:40:26 (39/48) Installing nettle (3.4.1-r0) 09:40:26 (40/48) Installing libffi (3.2.1-r6) 09:40:26 (41/48) Installing p11-kit (0.23.14-r0) 09:40:26 (42/48) Installing libtasn1 (4.14-r0) 09:40:26 (43/48) Installing libunistring (0.9.10-r0) 09:40:26 (44/48) Installing gnutls (3.6.7-r1) 09:40:26 (45/48) Installing libmicrohttpd (0.9.62-r0) 09:40:26 (46/48) Installing libuuid (2.33-r0) 09:40:26 (47/48) Installing wget (1.20.3-r0) 09:40:26 (48/48) Installing yaml (0.2.1-r0) 09:40:26 Executing busybox-1.29.3-r10.trigger 09:40:26 Executing ca-certificates-20191127-r0.trigger 09:40:27 ---> 130e88c7940b 09:40:27 Successfully built 130e88c7940b 09:40:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } 09:40:27 OK: 219 MiB in 62 packages [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:40:28 + docker inspect -f . ci-base-image-x86_64 09:40:28 . [Pipeline] withDockerContainer 09:40:28 prd-centos7-docker-4c-2g-5571 does not seem to be running inside a container 09:40:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:40:30 $ docker top 48d9aabd7dc1960821d12de944132536b944dedb813dc88afccc78b1dc558689 -eo pid,comm [Pipeline] { [Pipeline] sh 09:40:32 + make test 09:40:32 echo "make test" 09:40:32 make test [Pipeline] } 09:40:32 $ docker stop --time=1 48d9aabd7dc1960821d12de944132536b944dedb813dc88afccc78b1dc558689 09:40:33 $ docker rm -f 48d9aabd7dc1960821d12de944132536b944dedb813dc88afccc78b1dc558689 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:40:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:40:35 + ls -al . 09:40:35 total 160 09:40:35 drwxrwxr-x. 8 jenkins jenkins 260 Apr 22 09:38 . 09:40:35 drwxrwxr-x. 4 jenkins jenkins 28 Apr 22 09:38 .. 09:40:35 -rw-rw-r--. 1 jenkins jenkins 3104 Apr 22 09:38 Attribution.txt 09:40:35 -rw-rw-r--. 1 jenkins jenkins 5325 Apr 22 09:38 CHANGES 09:40:35 drwxrwxr-x. 2 jenkins jenkins 144 Apr 22 09:38 docs 09:40:35 -rw-rw-r--. 1 jenkins jenkins 108574 Apr 22 09:38 Doxyfile 09:40:35 drwxrwxr-x. 8 jenkins jenkins 179 Apr 22 09:38 .git 09:40:35 -rw-rw-r--. 1 jenkins jenkins 176 Apr 22 09:38 .gitignore 09:40:35 drwxrwxr-x. 4 jenkins jenkins 33 Apr 22 09:38 include 09:40:35 -rw-rw-r--. 1 jenkins jenkins 792 Apr 22 09:38 Jenkinsfile 09:40:35 -rw-rw-r--. 1 jenkins jenkins 10174 Apr 22 09:38 LICENSE 09:40:35 -rw-rw-r--. 1 jenkins jenkins 448 Apr 22 09:38 Makefile 09:40:35 -rw-rw-r--. 1 jenkins jenkins 1849 Apr 22 09:38 README.md 09:40:35 -rw-rw-r--. 1 jenkins jenkins 5287 Apr 22 09:38 README.v2.md 09:40:35 drwxrwxr-x. 2 jenkins jenkins 106 Apr 22 09:38 scripts 09:40:35 drwxrwxr-x. 3 jenkins jenkins 58 Apr 22 09:38 .semver 09:40:35 drwxrwxr-x. 4 jenkins jenkins 50 Apr 22 09:38 src 09:40:35 -rw-rw-r--. 1 jenkins jenkins 5 Apr 22 09:35 VERSION [Pipeline] isUnix [Pipeline] sh 09:40:36 + 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=a7b016d1c56330e6e0f2e2285fd90b8ff330ffbd --label arch=amd64 --label version=0.0.0 . 09:40:36 Sending build context to Docker daemon 3.061MB 09:40:36 Step 1/15 : ARG BASE=alpine:3.9 09:40:36 Step 2/15 : FROM ${BASE} 09:40:36 ---> 130e88c7940b 09:40:36 Step 3/15 : MAINTAINER IOTech 09:40:36 ---> Running in ed7fb0dd4205 09:40:36 Removing intermediate container ed7fb0dd4205 09:40:36 ---> dcf769163695 09:40:36 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 09:40:36 ---> Running in 9562fb8c1034 09:40:37 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 09:40:37 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 09:40:37 (1/23) Upgrading libcrypto1.1 (1.1.1d-r2 -> 1.1.1g-r0) 09:40:37 (2/23) Upgrading libssl1.1 (1.1.1d-r2 -> 1.1.1g-r0) 09:40:37 (3/23) Installing pkgconf (1.6.0-r0) 09:40:37 (4/23) Installing openssl-dev (1.1.1g-r0) 09:40:38 (5/23) Installing zlib-dev (1.2.11-r1) 09:40:38 (6/23) Installing libssh2-dev (1.9.0-r1) 09:40:38 (7/23) Installing nghttp2-dev (1.35.1-r1) 09:40:38 (8/23) Installing curl-dev (7.64.0-r3) 09:40:38 (9/23) Installing gnutls-c++ (3.6.7-r1) 09:40:38 (10/23) Installing libgmpxx (6.1.2-r1) 09:40:38 (11/23) Installing gmp-dev (6.1.2-r1) 09:40:38 (12/23) Installing nettle-dev (3.4.1-r0) 09:40:39 (13/23) Installing libtasn1-dev (4.14-r0) 09:40:39 (14/23) Installing p11-kit-dev (0.23.14-r0) 09:40:39 (15/23) Installing gnutls-dev (3.6.7-r1) 09:40:39 (16/23) Installing libmicrohttpd-dev (0.9.62-r0) 09:40:39 (17/23) Installing ncurses-dev (6.1_p20190105-r0) 09:40:39 (18/23) Installing libblkid (2.33-r0) 09:40:39 (19/23) Installing libfdisk (2.33-r0) 09:40:39 (20/23) Installing libmount (2.33-r0) 09:40:39 (21/23) Installing libsmartcols (2.33-r0) 09:40:39 (22/23) Installing util-linux-dev (2.33-r0) 09:40:39 (23/23) Installing yaml-dev (0.2.1-r0) 09:40:39 Executing busybox-1.29.3-r10.trigger 09:40:39 Executing ca-certificates-20191127-r0.trigger 09:40:39 OK: 266 MiB in 83 packages 09:40:42 Removing intermediate container 9562fb8c1034 09:40:42 ---> ee048b978a2c 09:40:42 Step 5/15 : COPY VERSION /edgex-c-sdk/ 09:40:42 Removing intermediate container c46966d87058 09:40:42 ---> d0f250ed023c 09:40:42 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 09:40:42 ---> 37f538808546 09:40:42 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 09:40:42 ---> c40d6fed48a6 09:40:42 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 09:40:42 ---> bfc24781d929 09:40:42 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 09:40:42 ---> b9325f0bddf7 09:40:42 Step 6/15 : COPY src /edgex-c-sdk/src/ 09:40:42 ---> 4d4b954df5f2 09:40:42 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 09:40:42 ---> 16e9daf640f0 09:40:42 Step 7/15 : COPY include /edgex-c-sdk/include/ 09:40:42 ---> b5a666262223 09:40:42 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 09:40:42 ---> b670d00ac8ea 09:40:42 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 09:40:43 ---> 20324b7642b0 09:40:43 Successfully built 20324b7642b0 09:40:43 Successfully tagged ci-base-image-arm64:latest 09:40:43 ---> 6c4913c5ee08 09:40:43 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script 09:40:43 ---> cdc254cf5418 09:40:43 Step 11/15 : WORKDIR /edgex-c-sdk 09:40:43 ---> Running in 3e52d105a546 [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:40:43 Removing intermediate container 3e52d105a546 09:40:43 ---> ed90e5fd6095 09:40:43 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 09:40:43 ---> Running in e1a918eac2e0 09:40:43 + docker inspect -f . ci-base-image-arm64 09:40:44 Removing intermediate container e1a918eac2e0 09:40:44 ---> 9617b7eb3554 09:40:44 Step 13/15 : LABEL arch=amd64 09:40:44 ---> Running in 52e3db3c0a87 09:40:44 . [Pipeline] withDockerContainer 09:40:44 Removing intermediate container 52e3db3c0a87 09:40:44 ---> 3cca676b3660 09:40:44 Step 14/15 : LABEL git_sha=a7b016d1c56330e6e0f2e2285fd90b8ff330ffbd 09:40:44 ---> Running in 905629f7900d 09:40:44 prd-ubuntu18.04-docker-arm64-4c-16g-5570 does not seem to be running inside a container 09:40:44 Removing intermediate container 905629f7900d 09:40:44 ---> 8b4a1003c043 09:40:44 Step 15/15 : LABEL version=0.0.0 09:40:44 ---> Running in fbdd453be466 09:40:44 Removing intermediate container fbdd453be466 09:40:44 ---> 73636513daa7 09:40:44 [Warning] One or more build-args [ARCH MAKE] were not consumed 09:40:44 Successfully built 73636513daa7 09:40:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:40:44 Successfully tagged docker-device-sdk-c:latest 09:40:46 $ docker top 9306ace8a49ed4aab93e06eee5ce12f27d7cfb0f2846d7478ab253caba2ce2df -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage 09:40:47 + make test 09:40:47 echo "make test" 09:40:47 make test [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] } 09:40:47 $ docker stop --time=1 9306ace8a49ed4aab93e06eee5ce12f27d7cfb0f2846d7478ab253caba2ce2df 09:40:49 $ docker rm -f 9306ace8a49ed4aab93e06eee5ce12f27d7cfb0f2846d7478ab253caba2ce2df [Pipeline] // withEnv [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // ws [Pipeline] // script [Pipeline] } [Pipeline] } [Pipeline] // node [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:40:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:40:51 + ls -al . 09:40:51 total 192 09:40:51 drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 09:38 . 09:40:51 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 09:37 .. 09:40:51 drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 09:37 .git 09:40:51 -rw-rw-r-- 1 jenkins jenkins 176 Apr 22 09:37 .gitignore 09:40:51 drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 09:38 .semver 09:40:51 -rw-rw-r-- 1 jenkins jenkins 3104 Apr 22 09:37 Attribution.txt 09:40:51 -rw-rw-r-- 1 jenkins jenkins 5325 Apr 22 09:37 CHANGES 09:40:51 -rw-rw-r-- 1 jenkins jenkins 108574 Apr 22 09:37 Doxyfile 09:40:51 -rw-rw-r-- 1 jenkins jenkins 792 Apr 22 09:37 Jenkinsfile 09:40:51 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 22 09:37 LICENSE 09:40:51 -rw-rw-r-- 1 jenkins jenkins 448 Apr 22 09:37 Makefile 09:40:51 -rw-rw-r-- 1 jenkins jenkins 1849 Apr 22 09:37 README.md 09:40:51 -rw-rw-r-- 1 jenkins jenkins 5287 Apr 22 09:37 README.v2.md 09:40:51 -rw-rw-r-- 1 jenkins jenkins 5 Apr 22 09:35 VERSION 09:40:51 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 09:37 docs 09:40:51 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 09:37 include 09:40:51 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 09:37 scripts 09:40:51 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 09:37 src [Pipeline] isUnix [Pipeline] sh 09:40:51 + 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=a7b016d1c56330e6e0f2e2285fd90b8ff330ffbd --label arch=arm64 --label version=0.0.0 . 09:40:52 Sending build context to Docker daemon 3.061MB 09:40:52 Step 1/15 : ARG BASE=alpine:3.9 09:40:52 Step 2/15 : FROM ${BASE} 09:40:52 ---> 20324b7642b0 09:40:52 Step 3/15 : MAINTAINER IOTech 09:40:52 ---> Running in b5984a3a2670 09:40:52 Removing intermediate container b5984a3a2670 09:40:52 ---> a0427f97013e 09:40:52 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 09:40:52 ---> Running in 82ffcaa11ef7 09:40:53 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 09:40:53 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 09:40:54 (1/23) Upgrading libcrypto1.1 (1.1.1d-r2 -> 1.1.1g-r0) 09:40:54 (2/23) Upgrading libssl1.1 (1.1.1d-r2 -> 1.1.1g-r0) 09:40:54 (3/23) Installing pkgconf (1.6.0-r0) 09:40:54 (4/23) Installing openssl-dev (1.1.1g-r0) 09:40:54 (5/23) Installing zlib-dev (1.2.11-r1) 09:40:54 (6/23) Installing libssh2-dev (1.9.0-r1) 09:40:54 (7/23) Installing nghttp2-dev (1.35.1-r1) 09:40:54 (8/23) Installing curl-dev (7.64.0-r3) 09:40:54 (9/23) Installing gnutls-c++ (3.6.7-r1) 09:40:54 (10/23) Installing libgmpxx (6.1.2-r1) 09:40:54 (11/23) Installing gmp-dev (6.1.2-r1) 09:40:54 (12/23) Installing nettle-dev (3.4.1-r0) 09:40:55 (13/23) Installing libtasn1-dev (4.14-r0) 09:40:55 (14/23) Installing p11-kit-dev (0.23.14-r0) 09:40:55 (15/23) Installing gnutls-dev (3.6.7-r1) 09:40:55 (16/23) Installing libmicrohttpd-dev (0.9.62-r0) 09:40:55 (17/23) Installing ncurses-dev (6.1_p20190105-r0) 09:40:55 (18/23) Installing libblkid (2.33-r0) 09:40:55 (19/23) Installing libfdisk (2.33-r0) 09:40:55 (20/23) Installing libmount (2.33-r0) 09:40:55 (21/23) Installing libsmartcols (2.33-r0) 09:40:55 (22/23) Installing util-linux-dev (2.33-r0) 09:40:55 (23/23) Installing yaml-dev (0.2.1-r0) 09:40:55 Executing busybox-1.29.3-r10.trigger 09:40:55 Executing ca-certificates-20191127-r0.trigger 09:40:55 OK: 279 MiB in 83 packages 09:40:59 Removing intermediate container 82ffcaa11ef7 09:40:59 ---> 0cf7fecce436 09:40:59 Step 5/15 : COPY VERSION /edgex-c-sdk/ 09:40:59 ---> 0ad31753e4be 09:40:59 Step 6/15 : COPY src /edgex-c-sdk/src/ 09:41:00 ---> 17aec1d2860b 09:41:00 Step 7/15 : COPY include /edgex-c-sdk/include/ 09:41:00 ---> 54c43fbd8a11 09:41:00 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 09:41:01 ---> 5484f7bed23c 09:41:01 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 09:41:01 ---> 9139717b7292 09:41:01 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 09:41:02 ---> 5d8c8a7e45a8 09:41:02 Step 11/15 : WORKDIR /edgex-c-sdk 09:41:02 ---> Running in 0f1d8f20391e 09:41:02 Removing intermediate container 0f1d8f20391e 09:41:02 ---> 4745d052fef8 09:41:02 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 09:41:02 ---> Running in 2b30aa707892 09:41:03 Removing intermediate container 2b30aa707892 09:41:03 ---> a60c25acd257 09:41:03 Step 13/15 : LABEL arch=arm64 09:41:03 ---> Running in b7a70e0ca7ba 09:41:03 Removing intermediate container b7a70e0ca7ba 09:41:03 ---> 0c7abd92eb9d 09:41:03 Step 14/15 : LABEL git_sha=a7b016d1c56330e6e0f2e2285fd90b8ff330ffbd 09:41:03 ---> Running in 043c6a26ae26 09:41:04 Removing intermediate container 043c6a26ae26 09:41:04 ---> 0b852cfd68b6 09:41:04 Step 15/15 : LABEL version=0.0.0 09:41:04 ---> Running in 80ef6047f9a2 09:41:04 Removing intermediate container 80ef6047f9a2 09:41:04 ---> 4e61b12f2d24 09:41:04 [Warning] One or more build-args [ARCH MAKE] were not consumed 09:41:04 Successfully built 4e61b12f2d24 09:41:04 Successfully tagged docker-device-sdk-c-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 09:41:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:41:07 ---> package-listing.sh 09:41:07 ++ facter osfamily 09:41:07 ++ tr '[:upper:]' '[:lower:]' 09:41:07 + OS_FAMILY=redhat 09:41:07 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-252 09:41:07 + START_PACKAGES=/tmp/packages_start.txt 09:41:07 + END_PACKAGES=/tmp/packages_end.txt 09:41:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:41:07 + PACKAGES=/tmp/packages_start.txt 09:41:07 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-252 ']' 09:41:07 + PACKAGES=/tmp/packages_end.txt 09:41:07 + case "${OS_FAMILY}" in 09:41:07 + rpm -qa 09:41:07 + sort 09:41:11 + '[' -f /tmp/packages_start.txt ']' 09:41:11 + '[' -f /tmp/packages_end.txt ']' 09:41:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:41:11 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-252 ']' 09:41:11 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-252/archives/ 09:41:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-252/archives/ [Pipeline] isUnix [Pipeline] sh 09:41:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:41:12 09:41:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:41:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:41:12 alpine: Pulling from edgex-lftools-log-publisher 09:41:12 c9b1b535fdd9: Pulling fs layer 09:41:12 2cc5ad85d9ab: Pulling fs layer 09:41:12 756a868c4378: Pulling fs layer 09:41:12 444b2fc9a129: Pulling fs layer 09:41:12 ea15f1150254: Pulling fs layer 09:41:12 444b2fc9a129: Waiting 09:41:12 41b27a9f41bf: Pulling fs layer 09:41:12 28c525ee5125: Pulling fs layer 09:41:12 094b1ea09ed8: Pulling fs layer 09:41:12 41b27a9f41bf: Waiting 09:41:12 138eaada9080: Pulling fs layer 09:41:12 28c525ee5125: Waiting 09:41:12 0622d0fa9048: Pulling fs layer 09:41:12 138eaada9080: Waiting 09:41:12 0622d0fa9048: Waiting 09:41:12 094b1ea09ed8: Waiting 09:41:12 2cc5ad85d9ab: Download complete 09:41:12 444b2fc9a129: Download complete 09:41:12 c9b1b535fdd9: Verifying Checksum 09:41:12 c9b1b535fdd9: Download complete 09:41:12 ea15f1150254: Download complete 09:41:12 28c525ee5125: Verifying Checksum 09:41:12 28c525ee5125: Download complete 09:41:13 c9b1b535fdd9: Pull complete 09:41:13 756a868c4378: Verifying Checksum 09:41:13 756a868c4378: Download complete 09:41:13 094b1ea09ed8: Verifying Checksum 09:41:13 094b1ea09ed8: Download complete 09:41:13 0622d0fa9048: Verifying Checksum 09:41:13 0622d0fa9048: Download complete 09:41:13 2cc5ad85d9ab: Pull complete 09:41:13 138eaada9080: Verifying Checksum 09:41:13 138eaada9080: Download complete 09:41:13 41b27a9f41bf: Verifying Checksum 09:41:13 41b27a9f41bf: Download complete 09:41:14 756a868c4378: Pull complete 09:41:14 444b2fc9a129: Pull complete 09:41:15 ea15f1150254: Pull complete 09:41:18 41b27a9f41bf: Pull complete 09:41:18 28c525ee5125: Pull complete 09:41:20 094b1ea09ed8: Pull complete 09:41:20 138eaada9080: Pull complete 09:41:20 0622d0fa9048: Pull complete 09:41:20 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 09:41:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:41:21 prd-centos7-docker-4c-2g-5569 does not seem to be running inside a container 09:41:21 $ 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_PR-252 -v /w/workspace/edgexfoundry_device-sdk-c_PR-252:/w/workspace/edgexfoundry_device-sdk-c_PR-252:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-252@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-252@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 09:41:22 $ docker top 7be0eef5080883e291def1d25c4f1ccd594be8e1e5966c395a365216a75434aa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:41:22 provisioning config files... 09:41:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-252@tmp/config6003224136573419838tmp [Pipeline] { [Pipeline] echo 09:41:22 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:41:23 ---> create-netrc.sh [Pipeline] echo 09:41:23 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:41:23 ---> logs-deploy.sh 09:41:23 + ARCHIVE_ARTIFACTS= 09:41:23 + LOGS_SERVER=https://logs.edgexfoundry.org 09:41:23 + '[' https://logs.edgexfoundry.org == None ']' 09:41:23 + NEXUS_URL=https://nexus.edgexfoundry.org 09:41:23 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-252/1 09:41:23 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-252/1/ 09:41:23 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-252/1 /w/workspace/edgexfoundry_device-sdk-c_PR-252 09:41:24 Archives upload complete. 09:41:24 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-252/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-252/1/ 09:41:25 ---> uname -a: 09:41:25 Linux 7be0eef50808 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux 09:41:25 09:41:25 09:41:25 ---> lscpu: 09:41:25 Architecture: x86_64 09:41:25 CPU op-mode(s): 32-bit, 64-bit 09:41:25 Byte Order: Little Endian 09:41:25 Address sizes: 40 bits physical, 48 bits virtual 09:41:25 CPU(s): 4 09:41:25 On-line CPU(s) list: 0-3 09:41:25 Thread(s) per core: 1 09:41:25 Core(s) per socket: 1 09:41:25 Socket(s): 4 09:41:25 NUMA node(s): 1 09:41:25 Vendor ID: GenuineIntel 09:41:25 CPU family: 6 09:41:25 Model: 44 09:41:25 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 09:41:25 Stepping: 1 09:41:25 CPU MHz: 2933.438 09:41:25 BogoMIPS: 5866.87 09:41:25 Virtualization: VT-x 09:41:25 Hypervisor vendor: KVM 09:41:25 Virtualization type: full 09:41:25 L1d cache: 128 KiB 09:41:25 L1i cache: 128 KiB 09:41:25 L2 cache: 16 MiB 09:41:25 L3 cache: 64 MiB 09:41:25 NUMA node0 CPU(s): 0-3 09:41:25 Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes 09:41:25 Vulnerability Meltdown: Mitigation; PTI 09:41:25 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 09:41:25 Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization 09:41:25 Vulnerability Spectre v2: Mitigation; Full retpoline 09:41:25 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 09:41:25 09:41:25 09:41:25 ---> nproc: 09:41:25 4 09:41:25 09:41:25 09:41:25 ---> df -h: 09:41:25 Filesystem Size Used Available Use% Mounted on 09:41:25 overlay 50.0G 6.4G 43.6G 13% / 09:41:25 tmpfs 64.0M 0 64.0M 0% /dev 09:41:25 tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup 09:41:25 shm 64.0M 0 64.0M 0% /dev/shm 09:41:25 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/resolv.conf 09:41:25 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hostname 09:41:25 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hosts 09:41:25 /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/edgexfoundry_device-sdk-c_PR-252@tmp 09:41:25 /dev/vda1 50.0G 6.4G 43.6G 13% /var/log/sa 09:41:25 /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/edgexfoundry_device-sdk-c_PR-252 09:41:25 09:41:25 09:41:25 ---> free -m: 09:41:25 total used free shared buff/cache available 09:41:25 Mem: 1838 602 75 0 1160 1131 09:41:25 Swap: 1023 1 1022 09:41:25 09:41:25 09:41:25 ---> ip addr: 09:41:25 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 09:41:25 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 09:41:25 inet 127.0.0.1/8 scope host lo 09:41:25 valid_lft forever preferred_lft forever 09:41:25 6: eth0@if7: mtu 1458 qdisc noqueue state UP 09:41:25 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 09:41:25 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 09:41:25 valid_lft forever preferred_lft forever 09:41:25 09:41:25 09:41:25 ---> sar -b -r -n DEV: 09:41:25 Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 04/22/20 _x86_64_ (4 CPU) 09:41:25 09:41:25 09:34:53 LINUX RESTART 09:41:25 09:41:25 09:36:01 tps rtps wtps bread/s bwrtn/s 09:41:25 09:37:01 9.66 0.00 9.66 0.00 1792.77 09:41:25 09:38:01 0.23 0.00 0.23 0.00 2.76 09:41:25 09:39:01 0.42 0.00 0.42 0.00 6.23 09:41:25 09:40:01 0.23 0.00 0.23 0.00 3.18 09:41:25 09:41:01 0.30 0.00 0.30 0.00 4.91 09:41:25 Average: 2.17 0.00 2.17 0.00 362.00 09:41:25 09:41:25 09:36:01 kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 09:41:25 09:37:01 118796 1763508 93.69 2620 1229852 917248 31.30 424148 1177100 8 09:41:25 09:38:01 119380 1762924 93.66 2620 1229856 900968 30.74 423668 1176676 16 09:41:25 09:39:01 118484 1763820 93.71 2620 1229868 901052 30.74 424256 1176624 20 09:41:25 09:40:01 120508 1761796 93.60 2620 1229868 900800 30.73 422776 1176624 12 09:41:25 09:41:01 120164 1762140 93.62 2620 1229876 900872 30.74 423288 1176624 8 09:41:25 Average: 119466 1762838 93.65 2620 1229864 904188 30.85 423627 1176730 13 09:41:25 09:41:25 09:36:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 09:41:25 09:37:01 eth0 4.01 0.88 3.93 0.08 0.00 0.00 0.00 09:41:25 09:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:41:25 09:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:41:25 09:38:01 eth0 1.53 0.33 0.35 0.17 0.00 0.00 0.00 09:41:25 09:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:41:25 09:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:41:25 09:39:01 eth0 2.10 0.52 0.66 0.42 0.00 0.00 0.00 09:41:25 09:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:41:25 09:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:41:25 09:40:01 eth0 0.15 0.10 0.01 0.01 0.00 0.00 0.00 09:41:25 09:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:41:25 09:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:41:25 09:41:01 eth0 0.30 0.23 0.14 0.07 0.00 0.00 0.00 09:41:25 09:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:41:25 09:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:41:25 Average: eth0 1.62 0.41 1.02 0.15 0.00 0.00 0.00 09:41:25 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:41:25 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:41:25 09:41:25 09:41:25 ---> sar -P ALL: 09:41:25 Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 04/22/20 _x86_64_ (4 CPU) 09:41:25 09:41:25 09:34:53 LINUX RESTART 09:41:25 09:41:25 09:36:01 CPU %user %nice %system %iowait %steal %idle 09:41:25 09:37:01 all 0.27 0.00 0.08 0.00 0.00 99.65 09:41:25 09:37:01 0 0.13 0.00 0.07 0.00 0.00 99.80 09:41:25 09:37:01 1 0.15 0.00 0.10 0.00 0.00 99.75 09:41:25 09:37:01 2 0.58 0.00 0.07 0.00 0.00 99.35 09:41:25 09:37:01 3 0.18 0.00 0.10 0.00 0.00 99.72 09:41:25 09:38:01 all 0.20 0.00 0.03 0.00 0.00 99.77 09:41:25 09:38:01 0 0.05 0.00 0.03 0.00 0.00 99.92 09:41:25 09:38:01 1 0.10 0.00 0.03 0.00 0.02 99.85 09:41:25 09:38:01 2 0.57 0.00 0.03 0.00 0.00 99.40 09:41:25 09:38:01 3 0.08 0.00 0.03 0.00 0.00 99.88 09:41:25 09:39:01 all 0.19 0.00 0.05 0.00 0.00 99.76 09:41:25 09:39:01 0 0.03 0.00 0.02 0.00 0.00 99.95 09:41:25 09:39:01 1 0.08 0.00 0.05 0.00 0.00 99.87 09:41:25 09:39:01 2 0.55 0.00 0.10 0.00 0.00 99.35 09:41:25 09:39:01 3 0.07 0.00 0.03 0.00 0.00 99.90 09:41:25 09:40:01 all 0.18 0.00 0.03 0.00 0.00 99.78 09:41:25 09:40:01 0 0.07 0.00 0.03 0.00 0.00 99.90 09:41:25 09:40:01 1 0.08 0.00 0.03 0.00 0.00 99.88 09:41:25 09:40:01 2 0.57 0.00 0.05 0.00 0.02 99.37 09:41:25 09:40:01 3 0.02 0.00 0.03 0.00 0.00 99.95 09:41:25 09:41:01 all 0.18 0.00 0.03 0.00 0.00 99.79 09:41:25 09:41:01 0 0.03 0.00 0.02 0.00 0.00 99.95 09:41:25 09:41:01 1 0.07 0.00 0.03 0.00 0.00 99.90 09:41:25 09:41:01 2 0.25 0.00 0.03 0.00 0.00 99.72 09:41:25 09:41:01 3 0.37 0.00 0.02 0.00 0.00 99.62 09:41:25 Average: all 0.20 0.00 0.05 0.00 0.00 99.75 09:41:25 Average: 0 0.06 0.00 0.03 0.00 0.00 99.90 09:41:25 Average: 1 0.10 0.00 0.05 0.00 0.00 99.85 09:41:25 Average: 2 0.50 0.00 0.06 0.00 0.00 99.44 09:41:25 Average: 3 0.14 0.00 0.04 0.00 0.00 99.81 09:41:25 09:41:25 09:41:25