Pull request #240 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 51fe3d26556ffd77bace90303943eea4122a1afc+dcd9256e269c454e38d097f4b29f898febd9660d (b8763f98740aeb038e408ee4dc636a36ec40024a) 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 b810438aec07f555226556e3b59abf2bab733840 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-240/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 b810438aec07f555226556e3b59abf2bab733840 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b810438aec07f555226556e3b59abf2bab733840 # timeout=10 Commit message: "Merge pull request #114 from lranjbar/release-kraken" > 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 [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-563’ is offline Running on prd-centos7-docker-4c-2g-472 in /w/workspace/edgexfoundry_device-sdk-c_PR-240 [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-240 # 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/240/head:refs/remotes/origin/PR-240 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit dcd9256e269c454e38d097f4b29f898febd9660d into PR head commit 51fe3d26556ffd77bace90303943eea4122a1afc Merge succeeded, producing 51fe3d26556ffd77bace90303943eea4122a1afc Checking out Revision 51fe3d26556ffd77bace90303943eea4122a1afc (PR-240) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/240/head:refs/remotes/origin/PR-240 # 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/240/head:refs/remotes/origin/PR-240 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 51fe3d26556ffd77bace90303943eea4122a1afc # 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 dcd9256e269c454e38d097f4b29f898febd9660d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 51fe3d26556ffd77bace90303943eea4122a1afc # timeout=10 Commit message: "Fix adminstate/opstate handling" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object b810438aec07f555226556e3b59abf2bab733840 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:13:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 14:13:20 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:13:20 14:13:20 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:13:20 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:13:20 latest: Pulling from edgex-devops/git-semver 14:13:20 9123ac7c32f7: Pulling fs layer 14:13:20 b8cc5d1170e3: Pulling fs layer 14:13:20 2924cbbf6a41: Pulling fs layer 14:13:20 93b08a4f1073: Pulling fs layer 14:13:20 93b08a4f1073: Waiting 14:13:20 b8cc5d1170e3: Verifying Checksum 14:13:20 b8cc5d1170e3: Download complete 14:13:21 9123ac7c32f7: Verifying Checksum 14:13:21 9123ac7c32f7: Download complete 14:13:21 93b08a4f1073: Verifying Checksum 14:13:21 93b08a4f1073: Download complete 14:13:21 2924cbbf6a41: Verifying Checksum 14:13:21 2924cbbf6a41: Download complete 14:13:21 9123ac7c32f7: Pull complete 14:13:21 b8cc5d1170e3: Pull complete 14:13:21 2924cbbf6a41: Pull complete 14:13:22 93b08a4f1073: Pull complete 14:13:22 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 14:13:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:13:22 prd-centos7-docker-4c-2g-472 does not seem to be running inside a container 14:13:22 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-240 -v /w/workspace/edgexfoundry_device-sdk-c_PR-240:/w/workspace/edgexfoundry_device-sdk-c_PR-240:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-240@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-240@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:13:23 $ docker top e94083beb7db44988bcef33e3a7977ba16ba29207c41b45b2ef6883af4e5b5b3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:13:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:13:23 [ssh-agent] Looking for ssh-agent implementation... 14:13:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:13:23 $ docker exec e94083beb7db44988bcef33e3a7977ba16ba29207c41b45b2ef6883af4e5b5b3 ssh-agent 14:13:23 SSH_AUTH_SOCK=/tmp/ssh-HYH19Rcw3A83/agent.15 14:13:23 SSH_AGENT_PID=22 14:13:23 Running ssh-add (command line suppressed) 14:13:24 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-240@tmp/private_key_4037822769805542614.key (/w/workspace/edgexfoundry_device-sdk-c_PR-240@tmp/private_key_4037822769805542614.key) 14:13:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:13:24 + git describe --exact-match --tags HEAD 14:13:24 fatal: No names found, cannot describe anything. [Pipeline] } 14:13:24 $ docker exec --env ******** --env ******** e94083beb7db44988bcef33e3a7977ba16ba29207c41b45b2ef6883af4e5b5b3 ssh-agent -k 14:13:24 unset SSH_AUTH_SOCK; 14:13:24 unset SSH_AGENT_PID; 14:13:24 echo Agent pid 22 killed; 14:13:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 14:13:24 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 14:13:24 This usually means this commit has not been tagged. [Pipeline] sshagent 14:13:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:13:24 [ssh-agent] Looking for ssh-agent implementation... 14:13:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:13:25 $ docker exec e94083beb7db44988bcef33e3a7977ba16ba29207c41b45b2ef6883af4e5b5b3 ssh-agent 14:13:25 SSH_AUTH_SOCK=/tmp/ssh-bnn8hzaaVh4y/agent.58 14:13:25 SSH_AGENT_PID=65 14:13:25 Running ssh-add (command line suppressed) 14:13:25 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-240@tmp/private_key_3760101279381711938.key (/w/workspace/edgexfoundry_device-sdk-c_PR-240@tmp/private_key_3760101279381711938.key) 14:13:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:13:25 + git semver init 14:13:25 # -> Open(): unable to determine branch for HEAD 14:13:25 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-240/.git 14:13:25 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-240 14:13:25 # $SEMVER_REMOTE_NAME = origin 14:13:25 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 14:13:25 # $SEMVER_USER_NAME = jenkins 14:13:25 # $SEMVER_BRANCH = PR-240 14:13:25 # $SEMVER_TEMP = /tmp/semver-466111637 14:13:25 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 14:13:26 # '/tmp/semver-466111637' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-240/.semver' 14:13:26 # -> Force: false 14:13:26 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-240/.semver [Pipeline] } 14:13:26 $ docker exec --env ******** --env ******** e94083beb7db44988bcef33e3a7977ba16ba29207c41b45b2ef6883af4e5b5b3 ssh-agent -k 14:13:26 unset SSH_AUTH_SOCK; 14:13:26 unset SSH_AGENT_PID; 14:13:26 echo Agent pid 65 killed; 14:13:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:13:27 + git semver [Pipeline] } 14:13:27 $ docker stop --time=1 e94083beb7db44988bcef33e3a7977ba16ba29207c41b45b2ef6883af4e5b5b3 14:13:28 $ docker rm -f e94083beb7db44988bcef33e3a7977ba16ba29207c41b45b2ef6883af4e5b5b3 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 14:13:29 Stashed 32 file(s) [Pipeline] echo 14:13:29 [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 14:13:44 Still waiting to schedule task 14:13:44 Waiting for next available executor on ‘centos7-docker-4c-2g’ 14:13:44 Still waiting to schedule task 14:13:44 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 14:15:30 Running on prd-ubuntu18.04-docker-arm64-4c-16g-473 in /w/workspace/edgexfoundry_device-sdk-c_PR-240 [Pipeline] { [Pipeline] ws 14:15:30 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 14:15:36 using credential edgex-jenkins-ssh 14:15:36 Cloning the remote Git repository 14:15:36 Cloning with configured refspecs honoured and without tags 14:15:36 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 14:15:36 > git init /w/workspace/device-sdk-c/1 # timeout=10 14:15:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:15:36 > git --version # timeout=10 14:15:36 using GIT_SSH to set credentials SSH Credentials for GitHub 14:15:36 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/240/head:refs/remotes/origin/PR-240 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:15:37 Fetching without tags 14:15:38 Merging remotes/origin/master commit dcd9256e269c454e38d097f4b29f898febd9660d into PR head commit 51fe3d26556ffd77bace90303943eea4122a1afc 14:15:38 Merge succeeded, producing 51fe3d26556ffd77bace90303943eea4122a1afc 14:15:38 Checking out Revision 51fe3d26556ffd77bace90303943eea4122a1afc (PR-240) 14:15:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:15:37 > git config --add remote.origin.fetch +refs/pull/240/head:refs/remotes/origin/PR-240 # timeout=10 14:15:37 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 14:15:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:15:37 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:15:37 using GIT_SSH to set credentials SSH Credentials for GitHub 14:15:37 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/240/head:refs/remotes/origin/PR-240 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:15:38 > git config core.sparsecheckout # timeout=10 14:15:38 > git checkout -f 51fe3d26556ffd77bace90303943eea4122a1afc # timeout=10 14:15:38 > git remote # timeout=10 14:15:38 > git config --get remote.origin.url # timeout=10 14:15:38 using GIT_SSH to set credentials SSH Credentials for GitHub 14:15:38 > git merge dcd9256e269c454e38d097f4b29f898febd9660d # timeout=10 14:15:38 > git rev-parse HEAD^{commit} # timeout=10 14:15:38 > git config core.sparsecheckout # timeout=10 14:15:38 > git checkout -f 51fe3d26556ffd77bace90303943eea4122a1afc # timeout=10 14:15:42 Commit message: "Fix adminstate/opstate handling" 14:15:42 > git --version # timeout=10 14:15:42 fatal: bad object b810438aec07f555226556e3b59abf2bab733840 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:15:44 ========================================================= 14:15:44 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 14:15:44 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:15:45 + 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 . 14:15:46 Sending build context to Docker daemon 2.844MB 14:15:46 Step 1/21 : ARG BASE=alpine:3.9 14:15:46 Step 2/21 : FROM ${BASE} as builder 14:15:46 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 14:15:46 0362ad1dd800: Pulling fs layer 14:15:46 f2cdb1532d8b: Pulling fs layer 14:15:46 37ed683be191: Pulling fs layer 14:15:46 f2cdb1532d8b: Download complete 14:15:46 0362ad1dd800: Verifying Checksum 14:15:46 0362ad1dd800: Download complete 14:15:47 0362ad1dd800: Pull complete 14:15:47 f2cdb1532d8b: Pull complete 14:15:54 37ed683be191: Verifying Checksum 14:15:54 37ed683be191: Download complete 14:16:03 Running on prd-centos7-docker-4c-2g-474 in /w/workspace/edgexfoundry_device-sdk-c_PR-240 [Pipeline] { [Pipeline] ws 14:16:03 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 14:16:04 37ed683be191: Pull complete 14:16:04 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 14:16:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 14:16:04 ---> b23d30803547 14:16:04 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 14:16:05 using credential edgex-jenkins-ssh 14:16:05 Cloning the remote Git repository 14:16:05 Cloning with configured refspecs honoured and without tags 14:16:04 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 14:16:04 > git init /w/workspace/device-sdk-c/1 # timeout=10 14:16:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:16:04 > git --version # timeout=10 14:16:04 using GIT_SSH to set credentials SSH Credentials for GitHub 14:16:04 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/240/head:refs/remotes/origin/PR-240 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:16:05 ---> Running in 6684de3f6bf5 14:16:06 Fetching without tags 14:16:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:16:05 > git config --add remote.origin.fetch +refs/pull/240/head:refs/remotes/origin/PR-240 # timeout=10 14:16:05 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 14:16:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:16:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:16:05 using GIT_SSH to set credentials SSH Credentials for GitHub 14:16:05 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/240/head:refs/remotes/origin/PR-240 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:16:06 Merging remotes/origin/master commit dcd9256e269c454e38d097f4b29f898febd9660d into PR head commit 51fe3d26556ffd77bace90303943eea4122a1afc 14:16:06 Merge succeeded, producing 51fe3d26556ffd77bace90303943eea4122a1afc 14:16:06 Checking out Revision 51fe3d26556ffd77bace90303943eea4122a1afc (PR-240) 14:16:07 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 14:16:06 > git config core.sparsecheckout # timeout=10 14:16:06 > git checkout -f 51fe3d26556ffd77bace90303943eea4122a1afc # timeout=10 14:16:06 > git remote # timeout=10 14:16:06 > git config --get remote.origin.url # timeout=10 14:16:06 using GIT_SSH to set credentials SSH Credentials for GitHub 14:16:06 > git merge dcd9256e269c454e38d097f4b29f898febd9660d # timeout=10 14:16:06 > git rev-parse HEAD^{commit} # timeout=10 14:16:06 > git config core.sparsecheckout # timeout=10 14:16:06 > git checkout -f 51fe3d26556ffd77bace90303943eea4122a1afc # timeout=10 14:16:07 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 14:16:08 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 14:16:08 (2/8) Installing libuuid (2.33-r0) 14:16:08 (3/8) Installing libblkid (2.33-r0) 14:16:08 (4/8) Installing libfdisk (2.33-r0) 14:16:08 (5/8) Installing libmount (2.33-r0) 14:16:08 (6/8) Installing libsmartcols (2.33-r0) 14:16:08 (7/8) Installing util-linux-dev (2.33-r0) 14:16:08 (8/8) Installing wget (1.20.3-r0) 14:16:08 Executing busybox-1.29.3-r10.trigger 14:16:09 OK: 285 MiB in 83 packages 14:16:10 Commit message: "Fix adminstate/opstate handling" 14:16:10 > git --version # timeout=10 14:16:10 fatal: bad object b810438aec07f555226556e3b59abf2bab733840 14:16:10 Removing intermediate container 6684de3f6bf5 14:16:10 ---> c4e08e656ec9 14:16:10 Step 4/21 : ENV CBOR_VERSION=0.5.0 14:16:10 ---> Running in 1217400f1d53 14:16:10 Removing intermediate container 1217400f1d53 14:16:10 ---> 36756fb33101 14:16:10 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 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 14:16:11 ---> Running in bb8ec524abea [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:16:11 ========================================================= 14:16:11 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 14:16:11 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:16:12 --2020-03-13 14:16:11-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 14:16:12 Resolving github.com... 140.82.114.4 14:16:12 Connecting to github.com|140.82.114.4|:443... connected. 14:16:12 HTTP request sent, awaiting response... 302 Found 14:16:12 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 14:16:12 --2020-03-13 14:16:12-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 14:16:12 Resolving codeload.github.com... 140.82.112.10 14:16:12 Connecting to codeload.github.com|140.82.112.10|:443... connected. 14:16:12 + 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 . 14:16:12 HTTP request sent, awaiting response... 200 OK 14:16:12 Length: unspecified [application/x-gzip] 14:16:12 Saving to: 'STDOUT' 14:16:12 14:16:12 0K .......... .......... .......... .......... .......... 1.31M 14:16:12 50K .......... .......... .......... .......... .......... 2.68M 14:16:12 100K .......... .......... .......... .......... .......... 13.8M 14:16:12 150K .......... .......... .......... .......... .......... 3.55M 14:16:12 200K .......... .......... .......... .......... .......... 12.6M 14:16:12 250K .......... .......... .......... .......... .......... 3.86M 14:16:12 300K .......... .......... .......... .......... .......... 4.98M 14:16:12 350K .......... .......... .......... .......... .......... 8.64M 14:16:12 400K .......... .......... .......... .......... .......... 4.14M 14:16:12 450K .......... .......... .......... .......... .......... 4.08M 14:16:12 500K .......... .......... .......... .......... .......... 7.64M 14:16:12 550K .......... .......... .......... .......... .......... 3.19M 14:16:12 Sending build context to Docker daemon 2.844MB 14:16:12 Step 1/21 : ARG BASE=alpine:3.9 14:16:12 Step 2/21 : FROM ${BASE} as builder 14:16:12 latest: Pulling from edgex-devops/edgex-gcc-base 14:16:12 e7c96db7181b: Pulling fs layer 14:16:12 4c13bbce0fe7: Pulling fs layer 14:16:12 6059c847ac2f: Pulling fs layer 14:16:12 4c13bbce0fe7: Download complete 14:16:12 600K .......... .......... .......... .......... .......... 1.40M 14:16:12 650K .......... .......... .......... .......... .......... 1.25M 14:16:12 700K ..    4746G=0.2s 14:16:12 14:16:12 2020-03-13 14:16:12 (3.06 MB/s) - written to stdout [719348] 14:16:12 14:16:12 e7c96db7181b: Verifying Checksum 14:16:12 e7c96db7181b: Download complete 14:16:12 -- The C compiler identification is GNU 8.3.0 14:16:13 e7c96db7181b: Pull complete 14:16:13 4c13bbce0fe7: Pull complete 14:16:13 -- The CXX compiler identification is GNU 8.3.0 14:16:13 -- Check for working C compiler: /usr/bin/cc 14:16:13 -- Check for working C compiler: /usr/bin/cc -- works 14:16:13 -- Detecting C compiler ABI info 14:16:13 -- Detecting C compiler ABI info - done 14:16:13 6059c847ac2f: Verifying Checksum 14:16:13 6059c847ac2f: Download complete 14:16:13 -- Detecting C compile features 14:16:14 -- Detecting C compile features - done 14:16:14 -- Check for working CXX compiler: /usr/bin/c++ 14:16:14 -- Check for working CXX compiler: /usr/bin/c++ -- works 14:16:14 -- Detecting CXX compiler ABI info 14:16:14 -- Detecting CXX compiler ABI info - done 14:16:14 -- Detecting CXX compile features 14:16:16 -- Detecting CXX compile features - done 14:16:16 -- Looking for include file endian.h 14:16:16 -- Looking for include file endian.h - found 14:16:16 -- Check if the system is big endian 14:16:16 -- Searching 16 bit integer 14:16:16 -- Looking for sys/types.h 14:16:16 -- Looking for sys/types.h - found 14:16:16 -- Looking for stdint.h 14:16:17 -- Looking for stdint.h - found 14:16:17 -- Looking for stddef.h 14:16:17 -- Looking for stddef.h - found 14:16:17 -- Check size of unsigned short 14:16:17 -- Check size of unsigned short - done 14:16:17 -- Using unsigned short 14:16:17 6059c847ac2f: Pull complete 14:16:17 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 14:16:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 14:16:17 ---> 5eabd8fd8ba2 14:16:17 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 14:16:17 ---> Running in 34b203c8c3ad 14:16:17 -- Check if the system is big endian - little endian 14:16:17 -- Check size of size_t 14:16:18 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 14:16:18 -- Check size of size_t - done 14:16:18 CMake Warning at examples/CMakeLists.txt:16 (find_package): 14:16:18 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 14:16:18 asked CMake to find a package configuration file provided by "cJSON", but 14:16:18 CMake did not find one. 14:16:18 14:16:18 Could not find a package configuration file provided by "cJSON" with any of 14:16:18 the following names: 14:16:18 14:16:18 cJSONConfig.cmake 14:16:18 cjson-config.cmake 14:16:18 14:16:18 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 14:16:18 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 14:16:18 provides a separate development package or SDK, be sure it has been 14:16:18 installed. 14:16:18 14:16:18 14:16:18 -- Configuring done 14:16:18 -- Generating done 14:16:18 -- Build files have been written to: /tmp/cbor 14:16:18 Scanning dependencies of target cbor_shared 14:16:18 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 14:16:18 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 14:16:19 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 14:16:19 (2/8) Installing libuuid (2.33-r0) 14:16:19 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 14:16:19 (3/8) Installing libblkid (2.33-r0) 14:16:19 (4/8) Installing libfdisk (2.33-r0) 14:16:19 (5/8) Installing libmount (2.33-r0) 14:16:19 (6/8) Installing libsmartcols (2.33-r0) 14:16:19 (7/8) Installing util-linux-dev (2.33-r0) 14:16:19 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 14:16:20 (8/8) Installing wget (1.20.3-r0) 14:16:20 Executing busybox-1.29.3-r10.trigger 14:16:20 OK: 272 MiB in 83 packages 14:16:20 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 14:16:20 Removing intermediate container 34b203c8c3ad 14:16:20 ---> af1e61283a8f 14:16:20 Step 4/21 : ENV CBOR_VERSION=0.5.0 14:16:20 ---> Running in b69c22f6d22f 14:16:20 Removing intermediate container b69c22f6d22f 14:16:20 ---> 146493aafff2 14:16:20 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 14:16:20 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 14:16:20 ---> Running in ae8e5bb67655 14:16:21 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 14:16:21 --2020-03-13 14:16:20-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 14:16:21 Resolving github.com... 140.82.114.3 14:16:21 Connecting to github.com|140.82.114.3|:443... connected. 14:16:21 HTTP request sent, awaiting response... 302 Found 14:16:21 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 14:16:21 --2020-03-13 14:16:21-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 14:16:21 Resolving codeload.github.com... 140.82.112.10 14:16:21 Connecting to codeload.github.com|140.82.112.10|:443... connected. 14:16:21 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 14:16:21 HTTP request sent, awaiting response... 200 OK 14:16:21 Length: unspecified [application/x-gzip] 14:16:21 Saving to: 'STDOUT' 14:16:21 14:16:21 0K .......... .......... .......... .......... .......... 1.58M 14:16:21 50K .......... .......... .......... .......... .......... 7.70M 14:16:21 100K .......... .......... .......... .......... .......... 5.04M 14:16:21 150K .......... .......... .......... .......... .......... 8.00M 14:16:21 200K .......... .......... .......... .......... .......... 5.52M 14:16:21 250K .......... .......... .......... .......... .......... 16.2M 14:16:21 300K .......... .......... .......... .......... .......... 10.3M 14:16:21 350K .......... .......... .......... .......... .......... 8.90M 14:16:21 400K .......... .......... .......... .......... .......... 8.09M 14:16:21 450K .......... .......... .......... .......... .......... 7.63M 14:16:21 500K .......... .......... .......... .......... .......... 21.7M 14:16:21 550K .......... .......... .......... .......... .......... 3.04M 14:16:21 600K .......... .......... .......... .......... .......... 3.31M 14:16:21 650K .......... .......... .......... .......... .......... 4.87M 14:16:21 700K .. 55.5M=0.1s 14:16:21 14:16:21 2020-03-13 14:16:21 (5.25 MB/s) - written to stdout [719348] 14:16:21 14:16:21 -- The C compiler identification is GNU 8.3.0 14:16:21 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 14:16:21 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 14:16:21 -- The CXX compiler identification is GNU 8.3.0 14:16:21 -- Check for working C compiler: /usr/bin/cc 14:16:21 -- Check for working C compiler: /usr/bin/cc -- works 14:16:21 -- Detecting C compiler ABI info 14:16:21 -- Detecting C compiler ABI info - done 14:16:21 -- Detecting C compile features 14:16:21 -- Detecting C compile features - done 14:16:21 -- Check for working CXX compiler: /usr/bin/c++ 14:16:21 -- Check for working CXX compiler: /usr/bin/c++ -- works 14:16:21 -- Detecting CXX compiler ABI info 14:16:22 -- Detecting CXX compiler ABI info - done 14:16:22 -- Detecting CXX compile features 14:16:22 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 14:16:22 -- Detecting CXX compile features - done 14:16:22 -- Looking for include file endian.h 14:16:22 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 14:16:22 -- Looking for include file endian.h - found 14:16:22 -- Check if the system is big endian 14:16:22 -- Searching 16 bit integer 14:16:22 -- Looking for sys/types.h 14:16:22 -- Looking for sys/types.h - found 14:16:22 -- Looking for stdint.h 14:16:22 -- Looking for stdint.h - found 14:16:22 -- Looking for stddef.h 14:16:22 -- Looking for stddef.h - found 14:16:22 -- Check size of unsigned short 14:16:22 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 14:16:22 -- Check size of unsigned short - done 14:16:22 -- Using unsigned short 14:16:22 -- Check if the system is big endian - little endian 14:16:22 -- Check size of size_t 14:16:22 -- Check size of size_t - done 14:16:22 CMake Warning at examples/CMakeLists.txt:16 (find_package): 14:16:22 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 14:16:22 asked CMake to find a package configuration file provided by "cJSON", but 14:16:22 CMake did not find one. 14:16:22 14:16:22 Could not find a package configuration file provided by "cJSON" with any of 14:16:22 the following names: 14:16:22 14:16:22 cJSONConfig.cmake 14:16:22 cjson-config.cmake 14:16:22 14:16:22 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 14:16:22 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 14:16:22 provides a separate development package or SDK, be sure it has been 14:16:22 installed. 14:16:22 14:16:22 14:16:22 -- Configuring done 14:16:23 -- Generating done 14:16:23 -- Build files have been written to: /tmp/cbor 14:16:23 Scanning dependencies of target cbor_shared 14:16:23 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 14:16:23 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 14:16:23 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 14:16:23 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 14:16:23 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 14:16:23 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 14:16:23 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 14:16:23 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 14:16:23 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 14:16:23 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 14:16:23 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 14:16:23 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 14:16:23 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 14:16:24 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 14:16:24 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 14:16:24 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 14:16:24 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 14:16:24 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 14:16:24 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 14:16:24 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 14:16:24 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 14:16:24 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 14:16:24 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 14:16:24 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 14:16:24 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 14:16:24 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 14:16:24 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 14:16:24 [ 40%] Linking C shared library libcbor.so 14:16:24 [ 40%] Built target cbor_shared 14:16:24 Scanning dependencies of target cbor 14:16:24 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 14:16:24 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 14:16:25 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 14:16:25 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 14:16:25 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 14:16:25 [ 40%] Linking C shared library libcbor.so 14:16:25 [ 40%] Built target cbor_shared 14:16:25 Scanning dependencies of target cbor 14:16:25 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 14:16:25 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 14:16:25 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 14:16:25 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 14:16:25 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 14:16:25 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 14:16:25 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 14:16:26 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 14:16:26 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 14:16:26 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 14:16:26 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 14:16:26 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 14:16:26 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 14:16:26 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 14:16:26 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 14:16:26 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 14:16:26 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 14:16:26 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 14:16:26 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 14:16:26 [ 80%] Linking C static library libcbor.a 14:16:26 [ 80%] Built target cbor 14:16:26 Scanning dependencies of target create_items 14:16:26 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 14:16:26 [ 84%] Linking C executable create_items 14:16:26 [ 84%] Built target create_items 14:16:26 Scanning dependencies of target readfile 14:16:26 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 14:16:26 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 14:16:27 [ 88%] Linking C executable readfile 14:16:27 [ 88%] Built target readfile 14:16:27 Scanning dependencies of target streaming_parser 14:16:27 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 14:16:27 [ 92%] Linking C executable streaming_parser 14:16:27 [ 92%] Built target streaming_parser 14:16:27 Scanning dependencies of target sort 14:16:27 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 14:16:27 [ 96%] Linking C executable sort 14:16:27 [ 96%] Built target sort 14:16:27 Scanning dependencies of target hello 14:16:27 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 14:16:27 [100%] Linking C executable hello 14:16:27 [100%] Built target hello 14:16:27 Install the project... 14:16:27 -- Install configuration: "Release" 14:16:27 -- Installing: /usr/local/include/cbor/configuration.h 14:16:27 -- Installing: /usr/local/lib64/libcbor.a 14:16:27 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 14:16:27 -- Installing: /usr/local/lib64/libcbor.so.0 14:16:27 -- Installing: /usr/local/lib64/libcbor.so 14:16:27 -- Up-to-date: /usr/local/include/cbor 14:16:27 -- Installing: /usr/local/include/cbor/arrays.h 14:16:27 -- Installing: /usr/local/include/cbor/bytestrings.h 14:16:27 -- Installing: /usr/local/include/cbor/callbacks.h 14:16:27 -- Installing: /usr/local/include/cbor/common.h 14:16:27 -- Installing: /usr/local/include/cbor/data.h 14:16:27 -- Installing: /usr/local/include/cbor/encoding.h 14:16:27 -- Installing: /usr/local/include/cbor/floats_ctrls.h 14:16:27 -- Installing: /usr/local/include/cbor/internal 14:16:27 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 14:16:27 -- Installing: /usr/local/include/cbor/internal/encoders.h 14:16:27 -- Installing: /usr/local/include/cbor/internal/loaders.h 14:16:27 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 14:16:27 -- Installing: /usr/local/include/cbor/internal/stack.h 14:16:27 -- Installing: /usr/local/include/cbor/internal/unicode.h 14:16:27 -- Installing: /usr/local/include/cbor/ints.h 14:16:27 -- Installing: /usr/local/include/cbor/maps.h 14:16:27 -- Installing: /usr/local/include/cbor/serialization.h 14:16:27 -- Installing: /usr/local/include/cbor/streaming.h 14:16:27 -- Installing: /usr/local/include/cbor/strings.h 14:16:27 -- Installing: /usr/local/include/cbor/tags.h 14:16:27 -- Installing: /usr/local/include/cbor.h 14:16:27 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 14:16:27 Removing intermediate container ae8e5bb67655 14:16:27 ---> 206b625d0d91 14:16:27 Step 6/21 : RUN mkdir /tmp/sdk 14:16:27 ---> Running in 5dffe070723d 14:16:28 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 14:16:28 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 14:16:28 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 14:16:28 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 14:16:28 Removing intermediate container 5dffe070723d 14:16:28 ---> fb133707aa7b 14:16:28 Step 7/21 : COPY VERSION /tmp/sdk 14:16:28 ---> bd124e7bb8c9 14:16:28 Step 8/21 : COPY src /tmp/sdk/src 14:16:28 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 14:16:29 ---> 62394ae31c32 14:16:29 Step 9/21 : COPY include /tmp/sdk/include 14:16:29 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 14:16:29 ---> 17dd69a2fcb5 14:16:29 Step 10/21 : COPY scripts /tmp/sdk/scripts 14:16:29 ---> 7fa29bee8ec5 14:16:29 Step 11/21 : COPY LICENSE /tmp/sdk 14:16:29 ---> fea2dac4d863 14:16:29 Step 12/21 : COPY Attribution.txt /tmp/sdk 14:16:29 ---> 69b693989e8e 14:16:29 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 14:16:29 ---> Running in 1683243edd18 14:16:30 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 14:16:30 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 14:16:30 + CPPCHECK=false 14:16:30 + DOCGEN=false 14:16:30 + TOMLVER=SDK-0.2 14:16:30 + CUTILVER=1.0.0 14:16:30 + '[' 0 -gt 0 ] 14:16:30 + readlink -f ./scripts/build.sh 14:16:30 + dirname /tmp/sdk/scripts/build.sh 14:16:30 + dirname /tmp/sdk/scripts 14:16:30 + ROOT=/tmp/sdk 14:16:30 + cd /tmp/sdk 14:16:30 + '[' '!' -d deps ] 14:16:30 + mkdir deps 14:16:30 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:16:30 + tar -C deps -z -x -f - 14:16:30 --2020-03-13 14:16:29-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:16:30 Resolving github.com... 140.82.114.3 14:16:30 Connecting to github.com|140.82.114.3|:443... connected. 14:16:30 HTTP request sent, awaiting response... 302 Found 14:16:30 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 14:16:30 --2020-03-13 14:16:30-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 14:16:30 Resolving codeload.github.com... 140.82.112.10 14:16:30 Connecting to codeload.github.com|140.82.112.10|:443... connected. 14:16:30 HTTP request sent, awaiting response... 200 OK 14:16:30 Length: unspecified [application/x-gzip] 14:16:30 Saving to: 'STDOUT' 14:16:30  14:16:30 0K .......... ...... 1.07M=0.01s 14:16:30 14:16:30 2020-03-13 14:16:30 (1.07 MB/s) - written to stdout [16451] 14:16:30 14:16:30 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 14:16:30 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.0.tar.gz 14:16:30 + tar -C deps -z -x -f - 14:16:30 --2020-03-13 14:16:30-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.0.tar.gz 14:16:30 Resolving github.com... 140.82.114.3 14:16:30 Connecting to github.com|140.82.114.3|:443... connected. 14:16:30 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 14:16:30 HTTP request sent, awaiting response... 302 Found 14:16:30 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.0 [following] 14:16:30 --2020-03-13 14:16:30-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.0 14:16:30 Resolving codeload.github.com... 140.82.112.10 14:16:30 Connecting to codeload.github.com|140.82.112.10|:443... connected. 14:16:30 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 14:16:31 HTTP request sent, awaiting response... 200 OK 14:16:31 Length: unspecified [application/x-gzip] 14:16:31 Saving to: 'STDOUT' 14:16:31 14:16:31 0K .......... .......... .......... .......... .......... 1.32M 14:16:31 50K .......... .......... .......... .......... .......... 2.79M 14:16:31 100K .......... .......... .......... .......... ........ 26.0M=0.06s 14:16:31 14:16:31 2020-03-13 14:16:31 (2.58 MB/s) - written to stdout [151809] 14:16:31 14:16:31 + mkdir -p src/c/iot 14:16:31 + cp deps/iotech-c-utils-1.0.0/src/c/base64.c deps/iotech-c-utils-1.0.0/src/c/component.c deps/iotech-c-utils-1.0.0/src/c/container.c deps/iotech-c-utils-1.0.0/src/c/data.c deps/iotech-c-utils-1.0.0/src/c/hash.c deps/iotech-c-utils-1.0.0/src/c/iot.c deps/iotech-c-utils-1.0.0/src/c/json.c deps/iotech-c-utils-1.0.0/src/c/logger.c deps/iotech-c-utils-1.0.0/src/c/os.c deps/iotech-c-utils-1.0.0/src/c/scheduler.c deps/iotech-c-utils-1.0.0/src/c/thread.c deps/iotech-c-utils-1.0.0/src/c/threadpool.c deps/iotech-c-utils-1.0.0/src/c/time.c src/c/iot 14:16:31 + mkdir -p include/iot 14:16:31 + cp deps/iotech-c-utils-1.0.0/include/iot/base64.h deps/iotech-c-utils-1.0.0/include/iot/component.h deps/iotech-c-utils-1.0.0/include/iot/container.h deps/iotech-c-utils-1.0.0/include/iot/data.h deps/iotech-c-utils-1.0.0/include/iot/hash.h deps/iotech-c-utils-1.0.0/include/iot/iot.h deps/iotech-c-utils-1.0.0/include/iot/json.h deps/iotech-c-utils-1.0.0/include/iot/logger.h deps/iotech-c-utils-1.0.0/include/iot/os.h deps/iotech-c-utils-1.0.0/include/iot/scheduler.h deps/iotech-c-utils-1.0.0/include/iot/thread.h deps/iotech-c-utils-1.0.0/include/iot/threadpool.h deps/iotech-c-utils-1.0.0/include/iot/time.h include/iot 14:16:31 + mkdir -p include/iot/os 14:16:31 + cp deps/iotech-c-utils-1.0.0/include/iot/os/linux.h deps/iotech-c-utils-1.0.0/include/iot/os/zephyr.h include/iot/os 14:16:31 + mkdir -p /tmp/sdk/build/release 14:16:31 + cd /tmp/sdk/build/release 14:16:31 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 14:16:31 -- The C compiler identification is GNU 8.3.0 14:16:31 -- Check for working C compiler: /usr/bin/cc 14:16:31 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 14:16:31 -- Check for working C compiler: /usr/bin/cc -- works 14:16:31 -- Detecting C compiler ABI info 14:16:31 -- Detecting C compiler ABI info - done 14:16:31 -- Detecting C compile features 14:16:31 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 14:16:31 -- Detecting C compile features - done 14:16:31 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:16:31 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 14:16:31 -- Found LIBYAML: /usr/lib/libyaml.so 14:16:31 -- Found LIBUUID: /usr/lib/libuuid.so 14:16:31 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 14:16:31 -- C SDK 0.0.0 for Linux 14:16:31 -- Performing Test CSDK_HAVE_ATOMIC 14:16:31 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:16:31 -- Found Curses: /usr/lib/libcurses.so 14:16:31 -- Configuring done 14:16:31 -- Generating done 14:16:31 -- Build files have been written to: /tmp/sdk/build/release 14:16:31 + make 14:16:31 + tee release.log 14:16:31 Scanning dependencies of target csdk 14:16:31 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 14:16:31 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:16:31 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 14:16:32 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 14:16:32 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:16:32 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 14:16:32 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:16:32 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 14:16:32 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:16:32 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:16:32 [ 80%] Linking C static library libcbor.a 14:16:32 [ 80%] Built target cbor 14:16:32 Scanning dependencies of target create_items 14:16:32 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 14:16:33 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:16:33 [ 84%] Linking C executable create_items 14:16:33 [ 84%] Built target create_items 14:16:33 Scanning dependencies of target readfile 14:16:33 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 14:16:33 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:16:33 [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:16:33 [ 88%] Linking C executable readfile 14:16:33 [ 88%] Built target readfile 14:16:33 Scanning dependencies of target streaming_parser 14:16:33 [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:16:33 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:16:33 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 14:16:33 [ 92%] Linking C executable streaming_parser 14:16:33 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:16:33 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:16:33 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:16:34 [ 92%] Built target streaming_parser 14:16:34 Scanning dependencies of target sort 14:16:34 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 14:16:34 [ 96%] Linking C executable sort 14:16:34 [ 96%] Built target sort 14:16:34 Scanning dependencies of target hello 14:16:34 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 14:16:34 [100%] Linking C executable hello 14:16:34 [100%] Built target hello 14:16:34 Install the project... 14:16:34 -- Install configuration: "Release" 14:16:34 -- Installing: /usr/local/include/cbor/configuration.h 14:16:34 -- Installing: /usr/local/lib64/libcbor.a 14:16:34 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 14:16:34 -- Installing: /usr/local/lib64/libcbor.so.0 14:16:34 -- Installing: /usr/local/lib64/libcbor.so 14:16:34 -- Up-to-date: /usr/local/include/cbor 14:16:34 -- Installing: /usr/local/include/cbor/common.h 14:16:34 -- Installing: /usr/local/include/cbor/serialization.h 14:16:34 -- Installing: /usr/local/include/cbor/encoding.h 14:16:34 -- Installing: /usr/local/include/cbor/maps.h 14:16:34 -- Installing: /usr/local/include/cbor/strings.h 14:16:34 -- Installing: /usr/local/include/cbor/arrays.h 14:16:34 -- Installing: /usr/local/include/cbor/internal 14:16:34 -- Installing: /usr/local/include/cbor/internal/loaders.h 14:16:34 -- Installing: /usr/local/include/cbor/internal/stack.h 14:16:34 -- Installing: /usr/local/include/cbor/internal/unicode.h 14:16:34 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 14:16:34 -- Installing: /usr/local/include/cbor/internal/encoders.h 14:16:34 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 14:16:34 -- Installing: /usr/local/include/cbor/data.h 14:16:34 -- Installing: /usr/local/include/cbor/floats_ctrls.h 14:16:34 -- Installing: /usr/local/include/cbor/bytestrings.h 14:16:34 -- Installing: /usr/local/include/cbor/tags.h 14:16:34 -- Installing: /usr/local/include/cbor/streaming.h 14:16:34 -- Installing: /usr/local/include/cbor/ints.h 14:16:34 -- Installing: /usr/local/include/cbor/callbacks.h 14:16:34 -- Installing: /usr/local/include/cbor.h 14:16:34 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 14:16:34 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:16:34 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:16:34 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:16:35 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:16:35 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:16:35 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:16:35 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:16:35 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:16:35 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:16:35 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:16:36 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:16:36 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:16:36 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:16:36 [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:16:36 [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:16:36 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:16:36 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:16:37 Removing intermediate container bb8ec524abea 14:16:37 ---> b14d7da9688f 14:16:37 Step 6/21 : RUN mkdir /tmp/sdk 14:16:37 ---> Running in bfd750a2017f 14:16:37 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:16:38 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:16:38 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:16:38 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:16:38 [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:16:38 [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:16:39 Removing intermediate container bfd750a2017f 14:16:39 ---> e171f69a146c 14:16:39 Step 7/21 : COPY VERSION /tmp/sdk 14:16:39 ---> 51b997877368 14:16:39 Step 8/21 : COPY src /tmp/sdk/src 14:16:39 [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:16:39 [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 14:16:40 [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:16:40 [ 74%] Linking C shared library libcsdk.so 14:16:40 [ 74%] Built target csdk 14:16:40 Scanning dependencies of target template 14:16:40 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:16:40 ---> eb74d413e3b3 14:16:40 Step 9/21 : COPY include /tmp/sdk/include 14:16:40 [ 78%] Linking C executable template 14:16:40 [ 78%] Built target template 14:16:40 Scanning dependencies of target device-counter 14:16:40 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:16:40 [ 81%] Linking C executable device-counter 14:16:40 ---> 27e8eac2bb7b 14:16:40 Step 10/21 : COPY scripts /tmp/sdk/scripts 14:16:40 [ 81%] Built target device-counter 14:16:40 Scanning dependencies of target device-random 14:16:40 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:16:40 [ 85%] Linking C executable device-random 14:16:40 [ 85%] Built target device-random 14:16:40 Scanning dependencies of target device-gyro 14:16:41 [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:16:41 [ 89%] Linking C executable device-gyro 14:16:41 [ 89%] Built target device-gyro 14:16:41 Scanning dependencies of target template-discovery 14:16:41 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:16:41 ---> 90a17ba1baa5 14:16:41 Step 11/21 : COPY LICENSE /tmp/sdk 14:16:41 [ 92%] Linking C executable template-discovery 14:16:41 [ 92%] Built target template-discovery 14:16:41 Scanning dependencies of target device-terminal 14:16:41 [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:16:41 [ 96%] Linking C executable device-terminal 14:16:41 [ 96%] Built target device-terminal 14:16:41 Scanning dependencies of target template2 14:16:41 [ 98%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o 14:16:41 ---> 2622df4b2c90 14:16:41 Step 12/21 : COPY Attribution.txt /tmp/sdk 14:16:41 [100%] Linking C executable template2 14:16:41 [100%] Built target template2 14:16:41 + make package 14:16:41 + tee -a release.log 14:16:41 [ 74%] Built target csdk 14:16:41 [ 78%] Built target template 14:16:41 [ 81%] Built target device-counter 14:16:41 [ 85%] Built target device-random 14:16:41 [ 89%] Built target device-gyro 14:16:41 [ 92%] Built target template-discovery 14:16:41 [ 96%] Built target device-terminal 14:16:41 [100%] Built target template2 14:16:41 Run CPack packaging tool... 14:16:41 CPack: Create package using TGZ 14:16:41 CPack: Install projects 14:16:42 CPack: - Run preinstall target for: Csdk 14:16:42 CPack: - Install project: Csdk 14:16:42 CPack: Create package 14:16:42 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 14:16:42 + '[' false '=' true ] 14:16:42 + '[' false '=' true ] 14:16:42 + mkdir -p /tmp/sdk/build/debug 14:16:42 + cd /tmp/sdk/build/debug 14:16:42 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 14:16:42 -- The C compiler identification is GNU 8.3.0 14:16:42 -- Check for working C compiler: /usr/bin/cc 14:16:42 -- Check for working C compiler: /usr/bin/cc -- works 14:16:42 -- Detecting C compiler ABI info 14:16:42 -- Detecting C compiler ABI info - done 14:16:42 -- Detecting C compile features 14:16:42 ---> b2a130ac10f5 14:16:42 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 14:16:42 -- Detecting C compile features - done 14:16:42 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:16:42 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 14:16:42 -- Found LIBYAML: /usr/lib/libyaml.so 14:16:42 -- Found LIBUUID: /usr/lib/libuuid.so 14:16:42 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 14:16:42 -- C SDK 0.0.0 for Linux 14:16:42 -- Performing Test CSDK_HAVE_ATOMIC 14:16:42 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:16:42 -- Found Curses: /usr/lib/libcurses.so 14:16:42 -- Configuring done 14:16:42 ---> Running in 834d5ea31f33 14:16:42 -- Generating done 14:16:42 -- Build files have been written to: /tmp/sdk/build/debug 14:16:42 + make 14:16:42 + tee debug.log 14:16:42 Scanning dependencies of target csdk 14:16:42 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:16:42 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 14:16:43 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:16:43 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:16:43 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:16:43 + CPPCHECK=false 14:16:43 + DOCGEN=false 14:16:43 + TOMLVER=SDK-0.2 14:16:43 + CUTILVER=1.0.0 14:16:43 + '[' 0 -gt 0 ] 14:16:43 + readlink -f ./scripts/build.sh 14:16:43 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:16:43 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:16:43 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:16:43 + dirname /tmp/sdk/scripts/build.sh 14:16:43 + dirname /tmp/sdk/scripts 14:16:43 + ROOT=/tmp/sdk 14:16:43 + cd /tmp/sdk 14:16:43 + '[' '!' -d deps ] 14:16:43 + mkdir deps 14:16:43 + tar+ -C depswget -z -O -x - -f https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz - 14:16:43 14:16:43 --2020-03-13 14:16:43-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:16:43 Resolving github.com... 192.30.253.112 14:16:43 Connecting to github.com|192.30.253.112|:443... connected. 14:16:43 HTTP request sent, awaiting response... 302 Found 14:16:43 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 14:16:43 --2020-03-13 14:16:43-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 14:16:43 Resolving codeload.github.com... 140.82.112.10 14:16:43 Connecting to codeload.github.com|140.82.112.10|:443... connected. 14:16:43 [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:16:43 [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:16:43 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:16:43 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:16:43 HTTP request sent, awaiting response... 200 OK 14:16:43 Length: 16451 (16K) [application/x-gzip] 14:16:43 Saving to: 'STDOUT' 14:16:43 14:16:43 0K .......... ......  100% 1024K=0.02s 14:16:43 14:16:43 2020-03-13 14:16:43 (1024 KB/s) - written to stdout [16451/16451] 14:16:43 14:16:43 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 14:16:43 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.0.tar.gz 14:16:43 + tar -C deps -z -x -f - 14:16:43 --2020-03-13 14:16:43-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.0.tar.gz 14:16:43 Resolving github.com... 140.82.113.3 14:16:43 Connecting to github.com|140.82.113.3|:443... connected. 14:16:43 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:16:43 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:16:44 HTTP request sent, awaiting response... 302 Found 14:16:44 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.0 [following] 14:16:44 --2020-03-13 14:16:43-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.0 14:16:44 Resolving codeload.github.com... 140.82.112.10 14:16:44 Connecting to codeload.github.com|140.82.112.10|:443... connected. 14:16:44 HTTP request sent, awaiting response... 200 OK 14:16:44 Length: 151809 (148K) [application/x-gzip] 14:16:44 Saving to: 'STDOUT' 14:16:44  14:16:44 0K .......... .......... .......... .......... .......... 33% 1.30M 0s 14:16:44 50K .......... .......... .......... .......... .......... 67% 2.74M 0s 14:16:44 100K .......... .......... .......... .......... ........ 100% 12.3M=0.06s 14:16:44 14:16:44 2020-03-13 14:16:44 (2.44 MB/s) - written to stdout [151809/151809] 14:16:44 14:16:44 + mkdir -p src/c/iot 14:16:44 + cp deps/iotech-c-utils-1.0.0/src/c/base64.c deps/iotech-c-utils-1.0.0/src/c/component.c deps/iotech-c-utils-1.0.0/src/c/container.c deps/iotech-c-utils-1.0.0/src/c/data.c deps/iotech-c-utils-1.0.0/src/c/hash.c deps/iotech-c-utils-1.0.0/src/c/iot.c deps/iotech-c-utils-1.0.0/src/c/json.c deps/iotech-c-utils-1.0.0/src/c/logger.c deps/iotech-c-utils-1.0.0/src/c/os.c deps/iotech-c-utils-1.0.0/src/c/scheduler.c deps/iotech-c-utils-1.0.0/src/c/thread.c deps/iotech-c-utils-1.0.0/src/c/threadpool.c deps/iotech-c-utils-1.0.0/src/c/time.c src/c/iot 14:16:44 + mkdir -p include/iot 14:16:44 + cp deps/iotech-c-utils-1.0.0/include/iot/base64.h deps/iotech-c-utils-1.0.0/include/iot/component.h deps/iotech-c-utils-1.0.0/include/iot/container.h deps/iotech-c-utils-1.0.0/include/iot/data.h deps/iotech-c-utils-1.0.0/include/iot/hash.h deps/iotech-c-utils-1.0.0/include/iot/iot.h deps/iotech-c-utils-1.0.0/include/iot/json.h deps/iotech-c-utils-1.0.0/include/iot/logger.h deps/iotech-c-utils-1.0.0/include/iot/os.h deps/iotech-c-utils-1.0.0/include/iot/scheduler.h deps/iotech-c-utils-1.0.0/include/iot/thread.h deps/iotech-c-utils-1.0.0/include/iot/threadpool.h deps/iotech-c-utils-1.0.0/include/iot/time.h include/iot 14:16:44 + mkdir -p include/iot/os 14:16:44 + cp deps/iotech-c-utils-1.0.0/include/iot/os/linux.h deps/iotech-c-utils-1.0.0/include/iot/os/zephyr.h include/iot/os 14:16:44 + mkdir -p /tmp/sdk/build/release 14:16:44 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:16:44 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:16:44 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:16:44 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:16:44 + cd /tmp/sdk/build/release 14:16:44 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 14:16:44 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:16:44 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:16:44 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:16:44 -- The C compiler identification is GNU 8.3.0 14:16:44 -- Check for working C compiler: /usr/bin/cc 14:16:44 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:16:44 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:16:44 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:16:44 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:16:44 -- Check for working C compiler: /usr/bin/cc -- works 14:16:44 -- Detecting C compiler ABI info 14:16:44 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:16:44 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:16:44 [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:16:44 [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:16:45 -- Detecting C compiler ABI info - done 14:16:45 -- Detecting C compile features 14:16:45 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:16:45 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:16:45 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:16:45 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:16:45 -- Detecting C compile features - done 14:16:45 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:16:45 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 14:16:45 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:16:45 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:16:45 -- Found LIBYAML: /usr/lib/libyaml.so 14:16:45 -- Found LIBUUID: /usr/lib/libuuid.so 14:16:45 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 14:16:45 -- C SDK 0.0.0 for Linux 14:16:45 -- Performing Test CSDK_HAVE_ATOMIC 14:16:45 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:16:46 [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:16:46 [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:16:46 -- Found Curses: /usr/lib/libcurses.so 14:16:46 -- Configuring done 14:16:46 [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:16:46 [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 14:16:46 -- Generating done 14:16:46 -- Build files have been written to: /tmp/sdk/build/release 14:16:46 + make 14:16:46 + tee release.log 14:16:46 Scanning dependencies of target csdk 14:16:46 [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:16:46 [ 74%] Linking C shared library libcsdk.so 14:16:46 [ 74%] Built target csdk 14:16:46 Scanning dependencies of target template 14:16:46 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:16:46 [ 78%] Linking C executable template 14:16:46 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:16:46 [ 78%] Built target template 14:16:46 Scanning dependencies of target device-counter 14:16:46 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:16:46 [ 81%] Linking C executable device-counter 14:16:46 [ 81%] Built target device-counter 14:16:46 Scanning dependencies of target device-random 14:16:46 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:16:47 [ 85%] Linking C executable device-random 14:16:47 [ 85%] Built target device-random 14:16:47 Scanning dependencies of target device-gyro 14:16:47 [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:16:47 [ 89%] Linking C executable device-gyro 14:16:47 [ 89%] Built target device-gyro 14:16:47 Scanning dependencies of target template-discovery 14:16:47 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:16:47 [ 92%] Linking C executable template-discovery 14:16:47 [ 92%] Built target template-discovery 14:16:47 Scanning dependencies of target device-terminal 14:16:47 [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:16:47 [ 96%] Linking C executable device-terminal 14:16:47 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 14:16:47 [ 96%] Built target device-terminal 14:16:47 Scanning dependencies of target template2 14:16:47 [ 98%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o 14:16:47 [100%] Linking C executable template2 14:16:47 [100%] Built target template2 14:16:47 make: Entering directory '/tmp/sdk/build/release' 14:16:47 make[1]: Entering directory '/tmp/sdk/build/release' 14:16:47 make[2]: Entering directory '/tmp/sdk/build/release' 14:16:47 Scanning dependencies of target csdk 14:16:47 make[2]: Leaving directory '/tmp/sdk/build/release' 14:16:47 make[2]: Entering directory '/tmp/sdk/build/release' 14:16:47 [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:16:47 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:16:48 [ 3%] Linking C shared library libcsdk.so 14:16:48 make[2]: Leaving directory '/tmp/sdk/build/release' 14:16:48 [ 74%] Built target csdk 14:16:48 make[2]: Entering directory '/tmp/sdk/build/release' 14:16:48 make[2]: Leaving directory '/tmp/sdk/build/release' 14:16:48 make[2]: Entering directory '/tmp/sdk/build/release' 14:16:48 [ 76%] Linking C executable template 14:16:48 make[2]: Leaving directory '/tmp/sdk/build/release' 14:16:48 [ 78%] Built target template 14:16:48 make[2]: Entering directory '/tmp/sdk/build/release' 14:16:48 make[2]: Leaving directory '/tmp/sdk/build/release' 14:16:48 make[2]: Entering directory '/tmp/sdk/build/release' 14:16:48 [ 80%] Linking C executable device-counter 14:16:48 make[2]: Leaving directory '/tmp/sdk/build/release' 14:16:48 [ 81%] Built target device-counter 14:16:48 make[2]: Entering directory '/tmp/sdk/build/release' 14:16:48 make[2]: Leaving directory '/tmp/sdk/build/release' 14:16:48 make[2]: Entering directory '/tmp/sdk/build/release' 14:16:48 [ 83%] Linking C executable device-random 14:16:48 make[2]: Leaving directory '/tmp/sdk/build/release' 14:16:48 [ 85%] Built target device-random 14:16:48 make[2]: Entering directory '/tmp/sdk/build/release' 14:16:48 make[2]: Leaving directory '/tmp/sdk/build/release' 14:16:48 make[2]: Entering directory '/tmp/sdk/build/release' 14:16:48 [ 87%] Linking C executable device-gyro 14:16:48 make[2]: Leaving directory '/tmp/sdk/build/release' 14:16:48 [ 89%] Built target device-gyro 14:16:48 make[2]: Entering directory '/tmp/sdk/build/release' 14:16:48 make[2]: Leaving directory '/tmp/sdk/build/release' 14:16:48 make[2]: Entering directory '/tmp/sdk/build/release' 14:16:48 [ 90%] Linking C executable template-discovery 14:16:48 make[2]: Leaving directory '/tmp/sdk/build/release' 14:16:48 [ 92%] Built target template-discovery 14:16:48 make[2]: Entering directory '/tmp/sdk/build/release' 14:16:48 make[2]: Leaving directory '/tmp/sdk/build/release' 14:16:48 make[2]: Entering directory '/tmp/sdk/build/release' 14:16:48 [ 94%] Linking C executable device-terminal 14:16:48 make[2]: Leaving directory '/tmp/sdk/build/release' 14:16:48 [ 96%] Built target device-terminal 14:16:48 make[2]: Entering directory '/tmp/sdk/build/release' 14:16:48 make[2]: Leaving directory '/tmp/sdk/build/release' 14:16:48 make[2]: Entering directory '/tmp/sdk/build/release' 14:16:48 [ 98%] Linking C executable template2 14:16:48 make[2]: Leaving directory '/tmp/sdk/build/release' 14:16:48 [100%] Built target template2 14:16:48 make[1]: Leaving directory '/tmp/sdk/build/release' 14:16:48 Install the project... 14:16:48 -- Install configuration: "Release" 14:16:48 -- Installing: /usr/local/lib/libcsdk.so 14:16:48 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 14:16:48 -- Up-to-date: /usr/local/include 14:16:48 -- Installing: /usr/local/include/devsdk 14:16:48 -- Installing: /usr/local/include/devsdk/devsdk-base.h 14:16:48 -- Installing: /usr/local/include/devsdk/devsdk.h 14:16:48 -- Installing: /usr/local/include/edgex 14:16:48 -- Installing: /usr/local/include/edgex/device-mgmt.h 14:16:48 -- Installing: /usr/local/include/edgex/devices.h 14:16:48 -- Installing: /usr/local/include/edgex/devsdk.h 14:16:48 -- Installing: /usr/local/include/edgex/edgex-base.h 14:16:48 -- Installing: /usr/local/include/edgex/edgex-logging.h 14:16:48 -- Installing: /usr/local/include/edgex/edgex.h 14:16:48 -- Installing: /usr/local/include/edgex/error.h 14:16:48 -- Installing: /usr/local/include/edgex/eventgen.h 14:16:48 -- Installing: /usr/local/include/edgex/os.h 14:16:48 -- Installing: /usr/local/include/edgex/profiles.h 14:16:48 -- Installing: /usr/local/include/edgex/registry.h 14:16:48 -- Installing: /usr/local/include/edgex/rest-server.h 14:16:48 -- Installing: /usr/local/include/edgex/csdk-defs.h 14:16:48 -- Installing: /usr/local/include/iot 14:16:48 -- Installing: /usr/local/include/iot/base64.h 14:16:48 -- Installing: /usr/local/include/iot/component.h 14:16:48 -- Installing: /usr/local/include/iot/container.h 14:16:48 -- Installing: /usr/local/include/iot/data.h 14:16:48 -- Installing: /usr/local/include/iot/hash.h 14:16:48 -- Installing: /usr/local/include/iot/iot.h 14:16:48 -- Installing: /usr/local/include/iot/json.h 14:16:48 -- Installing: /usr/local/include/iot/logger.h 14:16:48 -- Installing: /usr/local/include/iot/os.h 14:16:48 -- Installing: /usr/local/include/iot/scheduler.h 14:16:48 -- Installing: /usr/local/include/iot/thread.h 14:16:48 -- Installing: /usr/local/include/iot/threadpool.h 14:16:48 -- Installing: /usr/local/include/iot/time.h 14:16:48 -- Installing: /usr/local/include/iot/os 14:16:48 -- Installing: /usr/local/include/iot/os/linux.h 14:16:48 -- Installing: /usr/local/include/iot/os/zephyr.h 14:16:48 -- Installing: /usr/local/share/device-sdk-c/LICENSE 14:16:48 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 14:16:48 make: Leaving directory '/tmp/sdk/build/release' 14:16:49 Removing intermediate container 1683243edd18 14:16:49 ---> bfcaf2ee2b88 14:16:49 Step 14/21 : FROM alpine:3.9 14:16:49 3.9: Pulling from library/alpine 14:16:49 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:16:49 9123ac7c32f7: Pulling fs layer 14:16:49 9123ac7c32f7: Verifying Checksum 14:16:49 9123ac7c32f7: Download complete 14:16:49 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:16:50 9123ac7c32f7: Pull complete 14:16:50 Digest: sha256:115731bab0862031b44766733890091c17924f9b7781b79997f5f163be262178 14:16:50 Status: Downloaded newer image for alpine:3.9 14:16:50 ---> 82f67be598eb 14:16:50 Step 15/21 : MAINTAINER IOTech 14:16:50 ---> Running in 1618150bae92 14:16:50 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:16:50 Removing intermediate container 1618150bae92 14:16:50 ---> 2915f86ba16c 14:16:50 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 14:16:50 ---> Running in 41c18a3d52c8 14:16:50 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:16:50 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 14:16:51 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 14:16:51 (1/48) Installing binutils (2.31.1-r2) 14:16:51 (2/48) Installing libmagic (5.36-r1) 14:16:51 (3/48) Installing file (5.36-r1) 14:16:51 (4/48) Installing gmp (6.1.2-r1) 14:16:51 (5/48) Installing isl (0.18-r0) 14:16:51 (6/48) Installing libgomp (8.3.0-r0) 14:16:51 (7/48) Installing libatomic (8.3.0-r0) 14:16:51 (8/48) Installing libgcc (8.3.0-r0) 14:16:51 (9/48) Installing mpfr3 (3.1.5-r1) 14:16:51 (10/48) Installing mpc1 (1.0.3-r1) 14:16:51 (11/48) Installing libstdc++ (8.3.0-r0) 14:16:51 (12/48) Installing gcc (8.3.0-r0) 14:16:52 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:16:52 [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:16:52 [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:16:53 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:16:53 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:16:54 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:16:54 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:16:55 (13/48) Installing musl-dev (1.1.20-r5) 14:16:55 (14/48) Installing libc-dev (0.7.1-r0) 14:16:55 (15/48) Installing g++ (8.3.0-r0) 14:16:56 (16/48) Installing make (4.2.1-r2) 14:16:56 (17/48) Installing fortify-headers (1.0-r0) 14:16:56 (18/48) Installing build-base (0.5-r1) 14:16:56 (19/48) Installing libattr (2.4.47-r7) 14:16:56 (20/48) Installing libacl (2.2.52-r5) 14:16:56 (21/48) Installing libbz2 (1.0.6-r7) 14:16:56 (22/48) Installing expat (2.2.8-r0) 14:16:56 (23/48) Installing lz4-libs (1.8.3-r2) 14:16:56 (24/48) Installing xz-libs (5.2.4-r0) 14:16:56 (25/48) Installing libarchive (3.3.3-r2) 14:16:56 (26/48) Installing ca-certificates (20190108-r0) 14:16:56 (27/48) Installing nghttp2-libs (1.35.1-r1) 14:16:56 (28/48) Installing libssh2 (1.9.0-r1) 14:16:56 (29/48) Installing libcurl (7.64.0-r3) 14:16:56 (30/48) Installing ncurses-terminfo-base (6.1_p20190105-r0) 14:16:56 (31/48) Installing ncurses-terminfo (6.1_p20190105-r0) 14:16:56 (32/48) Installing ncurses-libs (6.1_p20190105-r0) 14:16:56 (33/48) Installing rhash-libs (1.3.6-r2) 14:16:56 (34/48) Installing libuv (1.23.2-r0) 14:16:56 (35/48) Installing cmake (3.13.0-r0) 14:16:57 (36/48) Installing curl (7.64.0-r3) 14:16:57 (37/48) Installing pcre2 (10.32-r1) 14:16:57 (38/48) Installing git (2.20.2-r0) 14:16:57 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:16:57 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:16:58 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:16:58 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:16:59 (39/48) Installing nettle (3.4.1-r0) 14:16:59 (40/48) Installing libffi (3.2.1-r6) 14:16:59 (41/48) Installing p11-kit (0.23.14-r0) 14:16:59 (42/48) Installing libtasn1 (4.14-r0) 14:16:59 (43/48) Installing libunistring (0.9.10-r0) 14:16:59 (44/48) Installing gnutls (3.6.7-r0) 14:16:59 (45/48) Installing libmicrohttpd (0.9.62-r0) 14:16:59 (46/48) Installing libuuid (2.33-r0) 14:16:59 (47/48) Installing wget (1.20.3-r0) 14:16:59 (48/48) Installing yaml (0.2.1-r0) 14:16:59 Executing busybox-1.29.3-r10.trigger 14:16:59 Executing ca-certificates-20190108-r0.trigger 14:16:59 OK: 222 MiB in 62 packages 14:17:00 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:17:00 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:17:00 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:17:01 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:17:01 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:17:02 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:17:03 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:17:03 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:17:03 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:17:03 [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:17:04 [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:17:05 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:17:05 Removing intermediate container 41c18a3d52c8 14:17:05 ---> 18d15d7ae13d 14:17:05 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 14:17:05 ---> 905380f6844e 14:17:05 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 14:17:05 ---> 5598475719dd 14:17:05 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 14:17:05 ---> 0105ad3294db 14:17:05 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 14:17:05 ---> 2a67876d6d35 14:17:05 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 14:17:05 ---> 668458eff485 14:17:05 Successfully built 668458eff485 14:17:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script 14:17:05 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:17:06 + docker inspect -f . ci-base-image-x86_64 14:17:06 . [Pipeline] withDockerContainer 14:17:06 prd-centos7-docker-4c-2g-474 does not seem to be running inside a container 14:17:06 $ 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 ******** ci-base-image-x86_64 cat 14:17:07 $ docker top 75a7a392d2c43deabcc8cf17778a49a7bddc78cc21f85d2edbec8d6d1a1a1e59 -eo pid,comm [Pipeline] { [Pipeline] sh 14:17:07 + make test 14:17:07 echo "make test" 14:17:07 make test [Pipeline] } 14:17:07 $ docker stop --time=1 75a7a392d2c43deabcc8cf17778a49a7bddc78cc21f85d2edbec8d6d1a1a1e59 14:17:09 $ docker rm -f 75a7a392d2c43deabcc8cf17778a49a7bddc78cc21f85d2edbec8d6d1a1a1e59 14:17:09 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 14:17:10 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 14:17:10 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [Pipeline] sh 14:17:11 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:17:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:17:11 + ls -al . 14:17:11 total 160 14:17:11 drwxrwxr-x. 8 jenkins jenkins 260 Mar 13 14:16 . 14:17:11 drwxrwxr-x. 4 jenkins jenkins 28 Mar 13 14:16 .. 14:17:11 -rw-rw-r--. 1 jenkins jenkins 3104 Mar 13 14:16 Attribution.txt 14:17:11 -rw-rw-r--. 1 jenkins jenkins 4882 Mar 13 14:16 CHANGES 14:17:11 drwxrwxr-x. 2 jenkins jenkins 144 Mar 13 14:16 docs 14:17:11 -rw-rw-r--. 1 jenkins jenkins 108574 Mar 13 14:16 Doxyfile 14:17:11 drwxrwxr-x. 8 jenkins jenkins 179 Mar 13 14:16 .git 14:17:11 -rw-rw-r--. 1 jenkins jenkins 176 Mar 13 14:16 .gitignore 14:17:11 drwxrwxr-x. 4 jenkins jenkins 33 Mar 13 14:16 include 14:17:11 -rw-rw-r--. 1 jenkins jenkins 792 Mar 13 14:16 Jenkinsfile 14:17:11 -rw-rw-r--. 1 jenkins jenkins 10174 Mar 13 14:16 LICENSE 14:17:11 -rw-rw-r--. 1 jenkins jenkins 448 Mar 13 14:16 Makefile 14:17:11 -rw-rw-r--. 1 jenkins jenkins 1849 Mar 13 14:16 README.md 14:17:11 -rw-rw-r--. 1 jenkins jenkins 5031 Mar 13 14:16 README.v2.md 14:17:11 drwxrwxr-x. 2 jenkins jenkins 106 Mar 13 14:16 scripts 14:17:11 drwxrwxr-x. 3 jenkins jenkins 58 Mar 13 14:16 .semver 14:17:11 drwxrwxr-x. 4 jenkins jenkins 50 Mar 13 14:16 src 14:17:11 -rw-rw-r--. 1 jenkins jenkins 5 Mar 13 14:13 VERSION [Pipeline] isUnix [Pipeline] sh 14:17:11 + 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=51fe3d26556ffd77bace90303943eea4122a1afc --label arch=amd64 --label version=0.0.0 . 14:17:11 Sending build context to Docker daemon 2.844MB 14:17:11 Step 1/15 : ARG BASE=alpine:3.9 14:17:11 Step 2/15 : FROM ${BASE} 14:17:11 ---> 668458eff485 14:17:11 Step 3/15 : MAINTAINER IOTech 14:17:11 ---> Running in 208fecca38b3 14:17:12 Removing intermediate container 208fecca38b3 14:17:12 ---> 2008a2da157d 14:17:12 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 14:17:12 ---> Running in f67d0a0228b9 14:17:12 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 14:17:12 [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:17:12 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 14:17:12 (1/21) Installing pkgconf (1.6.0-r0) 14:17:12 (2/21) Installing openssl-dev (1.1.1d-r2) 14:17:13 (3/21) Installing zlib-dev (1.2.11-r1) 14:17:13 (4/21) Installing libssh2-dev (1.9.0-r1) 14:17:13 (5/21) Installing nghttp2-dev (1.35.1-r1) 14:17:13 (6/21) Installing curl-dev (7.64.0-r3) 14:17:13 (7/21) Installing gnutls-c++ (3.6.7-r0) 14:17:13 (8/21) Installing libgmpxx (6.1.2-r1) 14:17:13 (9/21) Installing gmp-dev (6.1.2-r1) 14:17:13 (10/21) Installing nettle-dev (3.4.1-r0) 14:17:13 (11/21) Installing libtasn1-dev (4.14-r0) 14:17:13 (12/21) Installing p11-kit-dev (0.23.14-r0) 14:17:13 (13/21) Installing gnutls-dev (3.6.7-r0) 14:17:13 (14/21) Installing libmicrohttpd-dev (0.9.62-r0) 14:17:13 (15/21) Installing ncurses-dev (6.1_p20190105-r0) 14:17:13 (16/21) Installing libblkid (2.33-r0) 14:17:13 (17/21) Installing libfdisk (2.33-r0) 14:17:13 (18/21) Installing libmount (2.33-r0) 14:17:13 (19/21) Installing libsmartcols (2.33-r0) 14:17:13 (20/21) Installing util-linux-dev (2.33-r0) 14:17:13 (21/21) Installing yaml-dev (0.2.1-r0) 14:17:13 Executing busybox-1.29.3-r10.trigger 14:17:13 OK: 265 MiB in 83 packages 14:17:13 [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:17:14 Removing intermediate container f67d0a0228b9 14:17:14 ---> 0282758eec10 14:17:14 Step 5/15 : COPY VERSION /edgex-c-sdk/ 14:17:14 ---> 1d49653ea8f1 14:17:14 Step 6/15 : COPY src /edgex-c-sdk/src/ 14:17:14 ---> dfa28ee8dd07 14:17:14 Step 7/15 : COPY include /edgex-c-sdk/include/ 14:17:14 ---> 09db19f21d4a 14:17:14 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 14:17:14 ---> 420ee52cd8e7 14:17:14 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 14:17:14 ---> b4889c0a018d 14:17:14 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 14:17:15 ---> fb622860a3ef 14:17:15 Step 11/15 : WORKDIR /edgex-c-sdk 14:17:15 ---> Running in 8d918b7bbc45 14:17:15 Removing intermediate container 8d918b7bbc45 14:17:15 ---> fc02486173f3 14:17:15 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 14:17:15 ---> Running in 9541a02f04b5 14:17:15 Removing intermediate container 9541a02f04b5 14:17:15 ---> 02167ff68938 14:17:15 Step 13/15 : LABEL arch=amd64 14:17:15 ---> Running in 980d6fdc9e53 14:17:15 Removing intermediate container 980d6fdc9e53 14:17:15 ---> 7f4ad1daae13 14:17:15 Step 14/15 : LABEL git_sha=51fe3d26556ffd77bace90303943eea4122a1afc 14:17:15 ---> Running in ffbcdc94eb7d 14:17:15 Removing intermediate container ffbcdc94eb7d 14:17:15 ---> 385bcb024d7d 14:17:15 Step 15/15 : LABEL version=0.0.0 14:17:16 ---> Running in 99b47de09b13 14:17:16 Removing intermediate container 99b47de09b13 14:17:16 ---> 5d7fc959924d 14:17:16 [Warning] One or more build-args [MAKE ARCH] were not consumed 14:17:16 Successfully built 5d7fc959924d 14:17:16 Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 14:17:17 [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:17:17 [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 14:17:18 [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:17:19 [ 74%] Linking C shared library libcsdk.so 14:17:19 [ 74%] Built target csdk 14:17:19 Scanning dependencies of target template 14:17:19 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:17:19 [ 78%] Linking C executable template 14:17:20 [ 78%] Built target template 14:17:20 Scanning dependencies of target device-counter 14:17:20 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:17:20 [ 81%] Linking C executable device-counter 14:17:20 [ 81%] Built target device-counter 14:17:20 Scanning dependencies of target device-random 14:17:20 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:17:21 [ 85%] Linking C executable device-random 14:17:21 [ 85%] Built target device-random 14:17:21 Scanning dependencies of target device-gyro 14:17:21 [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:17:21 [ 89%] Linking C executable device-gyro 14:17:22 [ 89%] Built target device-gyro 14:17:22 Scanning dependencies of target template-discovery 14:17:22 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:17:22 [ 92%] Linking C executable template-discovery 14:17:23 [ 92%] Built target template-discovery 14:17:23 Scanning dependencies of target device-terminal 14:17:23 [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:17:23 [ 96%] Linking C executable device-terminal 14:17:23 [ 96%] Built target device-terminal 14:17:23 Scanning dependencies of target template2 14:17:23 [ 98%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o 14:17:24 [100%] Linking C executable template2 14:17:24 [100%] Built target template2 14:17:24 + + maketee package -a 14:17:24 release.log 14:17:24 [ 74%] Built target csdk 14:17:24 [ 78%] Built target template 14:17:24 [ 81%] Built target device-counter 14:17:25 [ 85%] Built target device-random 14:17:25 [ 89%] Built target device-gyro 14:17:25 [ 92%] Built target template-discovery 14:17:25 [ 96%] Built target device-terminal 14:17:25 [100%] Built target template2 14:17:25 Run CPack packaging tool... 14:17:25 CPack: Create package using TGZ 14:17:25 CPack: Install projects 14:17:25 CPack: - Run preinstall target for: Csdk 14:17:25 CPack: - Install project: Csdk 14:17:25 CPack: Create package 14:17:25 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 14:17:25 + '[' false '=' true ] 14:17:25 + '[' false '=' true ] 14:17:25 + mkdir -p /tmp/sdk/build/debug 14:17:25 + cd /tmp/sdk/build/debug 14:17:25 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 14:17:26 -- The C compiler identification is GNU 8.3.0 14:17:26 -- Check for working C compiler: /usr/bin/cc 14:17:26 -- Check for working C compiler: /usr/bin/cc -- works 14:17:26 -- Detecting C compiler ABI info 14:17:26 -- Detecting C compiler ABI info - done 14:17:26 -- Detecting C compile features 14:17:27 -- Detecting C compile features - done 14:17:27 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:17:27 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 14:17:27 -- Found LIBYAML: /usr/lib/libyaml.so 14:17:27 -- Found LIBUUID: /usr/lib/libuuid.so 14:17:27 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 14:17:27 -- C SDK 0.0.0 for Linux 14:17:27 -- Performing Test CSDK_HAVE_ATOMIC 14:17:27 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:17:27 -- Found Curses: /usr/lib/libcurses.so 14:17:27 -- Configuring done 14:17:28 -- Generating done 14:17:28 -- Build files have been written to: /tmp/sdk/build/debug 14:17:28 + make 14:17:28 + tee debug.log 14:17:28 Scanning dependencies of target csdk 14:17:28 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:17:28 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 14:17:28 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:17:29 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:17:29 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:17:29 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:17:30 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:17:30 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:17:30 [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:17:31 [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:17:31 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:17:31 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:17:31 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:17:31 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:17:32 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:17:32 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:17:33 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:17:33 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:17:34 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:17:34 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:17:34 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:17:34 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:17:34 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:17:35 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:17:35 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:17:35 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:17:35 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:17:35 [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:17:36 [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:17:36 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:17:36 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:17:37 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:17:37 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:17:38 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:17:38 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:17:39 [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:17:40 [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:17:40 [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:17:40 [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 14:17:41 [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:17:41 [ 74%] Linking C shared library libcsdk.so 14:17:41 [ 74%] Built target csdk 14:17:41 Scanning dependencies of target template 14:17:41 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:17:41 [ 78%] Linking C executable template 14:17:42 [ 78%] Built target template 14:17:42 Scanning dependencies of target device-counter 14:17:42 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:17:42 [ 81%] Linking C executable device-counter 14:17:42 [ 81%] Built target device-counter 14:17:42 Scanning dependencies of target device-random 14:17:42 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:17:43 [ 85%] Linking C executable device-random 14:17:43 [ 85%] Built target device-random 14:17:43 Scanning dependencies of target device-gyro 14:17:43 [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:17:43 [ 89%] Linking C executable device-gyro 14:17:43 [ 89%] Built target device-gyro 14:17:43 Scanning dependencies of target template-discovery 14:17:43 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:17:44 [ 92%] Linking C executable template-discovery 14:17:44 [ 92%] Built target template-discovery 14:17:44 Scanning dependencies of target device-terminal 14:17:44 [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:17:44 [ 96%] Linking C executable device-terminal 14:17:44 [ 96%] Built target device-terminal 14:17:44 Scanning dependencies of target template2 14:17:44 [ 98%] Building C object c/examples/v2/CMakeFiles/template2.dir/template.c.o 14:17:45 [100%] Linking C executable template2 14:17:45 [100%] Built target template2 14:17:45 make: Entering directory '/tmp/sdk/build/release' 14:17:45 make[1]: Entering directory '/tmp/sdk/build/release' 14:17:45 make[2]: Entering directory '/tmp/sdk/build/release' 14:17:45 Scanning dependencies of target csdk 14:17:45 make[2]: Leaving directory '/tmp/sdk/build/release' 14:17:45 make[2]: Entering directory '/tmp/sdk/build/release' 14:17:45 [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:17:47 [ 3%] Linking C shared library libcsdk.so 14:17:47 make[2]: Leaving directory '/tmp/sdk/build/release' 14:17:47 [ 74%] Built target csdk 14:17:47 make[2]: Entering directory '/tmp/sdk/build/release' 14:17:47 make[2]: Leaving directory '/tmp/sdk/build/release' 14:17:47 make[2]: Entering directory '/tmp/sdk/build/release' 14:17:47 [ 76%] Linking C executable template 14:17:47 make[2]: Leaving directory '/tmp/sdk/build/release' 14:17:47 [ 78%] Built target template 14:17:47 make[2]: Entering directory '/tmp/sdk/build/release' 14:17:47 make[2]: Leaving directory '/tmp/sdk/build/release' 14:17:47 make[2]: Entering directory '/tmp/sdk/build/release' 14:17:47 [ 80%] Linking C executable device-counter 14:17:47 make[2]: Leaving directory '/tmp/sdk/build/release' 14:17:47 [ 81%] Built target device-counter 14:17:47 make[2]: Entering directory '/tmp/sdk/build/release' 14:17:47 make[2]: Leaving directory '/tmp/sdk/build/release' 14:17:47 make[2]: Entering directory '/tmp/sdk/build/release' 14:17:47 [ 83%] Linking C executable device-random 14:17:47 make[2]: Leaving directory '/tmp/sdk/build/release' 14:17:47 [ 85%] Built target device-random 14:17:47 make[2]: Entering directory '/tmp/sdk/build/release' 14:17:47 make[2]: Leaving directory '/tmp/sdk/build/release' 14:17:47 make[2]: Entering directory '/tmp/sdk/build/release' 14:17:47 [ 87%] Linking C executable device-gyro 14:17:48 make[2]: Leaving directory '/tmp/sdk/build/release' 14:17:48 [ 89%] Built target device-gyro 14:17:48 make[2]: Entering directory '/tmp/sdk/build/release' 14:17:48 make[2]: Leaving directory '/tmp/sdk/build/release' 14:17:48 make[2]: Entering directory '/tmp/sdk/build/release' 14:17:48 [ 90%] Linking C executable template-discovery 14:17:48 make[2]: Leaving directory '/tmp/sdk/build/release' 14:17:48 [ 92%] Built target template-discovery 14:17:48 make[2]: Entering directory '/tmp/sdk/build/release' 14:17:48 make[2]: Leaving directory '/tmp/sdk/build/release' 14:17:48 make[2]: Entering directory '/tmp/sdk/build/release' 14:17:48 [ 94%] Linking C executable device-terminal 14:17:48 make[2]: Leaving directory '/tmp/sdk/build/release' 14:17:48 [ 96%] Built target device-terminal 14:17:48 make[2]: Entering directory '/tmp/sdk/build/release' 14:17:48 make[2]: Leaving directory '/tmp/sdk/build/release' 14:17:48 make[2]: Entering directory '/tmp/sdk/build/release' 14:17:48 [ 98%] Linking C executable template2 14:17:49 make[2]: Leaving directory '/tmp/sdk/build/release' 14:17:49 [100%] Built target template2 14:17:49 make[1]: Leaving directory '/tmp/sdk/build/release' 14:17:49 Install the project... 14:17:49 -- Install configuration: "Release" 14:17:49 -- Installing: /usr/local/lib/libcsdk.so 14:17:49 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 14:17:49 -- Up-to-date: /usr/local/include 14:17:49 -- Installing: /usr/local/include/devsdk 14:17:49 -- Installing: /usr/local/include/devsdk/devsdk-base.h 14:17:49 -- Installing: /usr/local/include/devsdk/devsdk.h 14:17:49 -- Installing: /usr/local/include/edgex 14:17:49 -- Installing: /usr/local/include/edgex/devices.h 14:17:49 -- Installing: /usr/local/include/edgex/edgex.h 14:17:49 -- Installing: /usr/local/include/edgex/device-mgmt.h 14:17:49 -- Installing: /usr/local/include/edgex/profiles.h 14:17:49 -- Installing: /usr/local/include/edgex/edgex-base.h 14:17:49 -- Installing: /usr/local/include/edgex/error.h 14:17:49 -- Installing: /usr/local/include/edgex/registry.h 14:17:49 -- Installing: /usr/local/include/edgex/rest-server.h 14:17:49 -- Installing: /usr/local/include/edgex/os.h 14:17:49 -- Installing: /usr/local/include/edgex/devsdk.h 14:17:49 -- Installing: /usr/local/include/edgex/eventgen.h 14:17:49 -- Installing: /usr/local/include/edgex/edgex-logging.h 14:17:49 -- Installing: /usr/local/include/edgex/csdk-defs.h 14:17:49 -- Installing: /usr/local/include/iot 14:17:49 -- Installing: /usr/local/include/iot/hash.h 14:17:49 -- Installing: /usr/local/include/iot/thread.h 14:17:49 -- Installing: /usr/local/include/iot/json.h 14:17:49 -- Installing: /usr/local/include/iot/os 14:17:49 -- Installing: /usr/local/include/iot/os/zephyr.h 14:17:49 -- Installing: /usr/local/include/iot/os/linux.h 14:17:49 -- Installing: /usr/local/include/iot/base64.h 14:17:49 -- Installing: /usr/local/include/iot/container.h 14:17:49 -- Installing: /usr/local/include/iot/data.h 14:17:49 -- Installing: /usr/local/include/iot/threadpool.h 14:17:49 -- Installing: /usr/local/include/iot/scheduler.h 14:17:49 -- Installing: /usr/local/include/iot/component.h 14:17:49 -- Installing: /usr/local/include/iot/os.h 14:17:49 -- Installing: /usr/local/include/iot/logger.h 14:17:49 -- Installing: /usr/local/include/iot/time.h 14:17:49 -- Installing: /usr/local/include/iot/iot.h 14:17:49 -- Installing: /usr/local/share/device-sdk-c/LICENSE 14:17:49 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 14:17:49 make: Leaving directory '/tmp/sdk/build/release' 14:17:50 Removing intermediate container 834d5ea31f33 14:17:50 ---> 1d09d1e9cb85 14:17:50 Step 14/21 : FROM alpine:3.9 14:17:51 3.9: Pulling from library/alpine 14:17:51 eb93038481dd: Pulling fs layer 14:17:52 eb93038481dd: Verifying Checksum 14:17:52 eb93038481dd: Download complete 14:17:52 eb93038481dd: Pull complete 14:17:52 Digest: sha256:115731bab0862031b44766733890091c17924f9b7781b79997f5f163be262178 14:17:52 Status: Downloaded newer image for alpine:3.9 14:17:52 ---> 355993758880 14:17:52 Step 15/21 : MAINTAINER IOTech 14:17:52 ---> Running in 5ea2e82a6a72 14:17:52 Removing intermediate container 5ea2e82a6a72 14:17:52 ---> f7f17a2c6e77 14:17:52 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 14:17:53 ---> Running in 3fc3057a893a 14:17:54 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 14:17:54 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 14:17:54 (1/48) Installing binutils (2.31.1-r2) 14:17:54 (2/48) Installing libmagic (5.36-r1) 14:17:54 (3/48) Installing file (5.36-r1) 14:17:54 (4/48) Installing gmp (6.1.2-r1) 14:17:54 (5/48) Installing isl (0.18-r0) 14:17:54 (6/48) Installing libgomp (8.3.0-r0) 14:17:54 (7/48) Installing libatomic (8.3.0-r0) 14:17:54 (8/48) Installing libgcc (8.3.0-r0) 14:17:54 (9/48) Installing mpfr3 (3.1.5-r1) 14:17:54 (10/48) Installing mpc1 (1.0.3-r1) 14:17:54 (11/48) Installing libstdc++ (8.3.0-r0) 14:17:54 (12/48) Installing gcc (8.3.0-r0) 14:17:56 (13/48) Installing musl-dev (1.1.20-r5) 14:17:56 (14/48) Installing libc-dev (0.7.1-r0) 14:17:56 (15/48) Installing g++ (8.3.0-r0) 14:17:58 (16/48) Installing make (4.2.1-r2) 14:17:58 (17/48) Installing fortify-headers (1.0-r0) 14:17:58 (18/48) Installing build-base (0.5-r1) 14:17:58 (19/48) Installing libattr (2.4.47-r7) 14:17:58 (20/48) Installing libacl (2.2.52-r5) 14:17:58 (21/48) Installing libbz2 (1.0.6-r7) 14:17:58 (22/48) Installing expat (2.2.8-r0) 14:17:58 (23/48) Installing lz4-libs (1.8.3-r2) 14:17:58 (24/48) Installing xz-libs (5.2.4-r0) 14:17:58 (25/48) Installing libarchive (3.3.3-r2) 14:17:58 (26/48) Installing ca-certificates (20190108-r0) 14:17:58 (27/48) Installing nghttp2-libs (1.35.1-r1) 14:17:58 (28/48) Installing libssh2 (1.9.0-r1) 14:17:58 (29/48) Installing libcurl (7.64.0-r3) 14:17:58 (30/48) Installing ncurses-terminfo-base (6.1_p20190105-r0) 14:17:58 (31/48) Installing ncurses-terminfo (6.1_p20190105-r0) 14:17:58 (32/48) Installing ncurses-libs (6.1_p20190105-r0) 14:17:58 (33/48) Installing rhash-libs (1.3.6-r2) 14:17:59 (34/48) Installing libuv (1.23.2-r0) 14:17:59 (35/48) Installing cmake (3.13.0-r0) 14:18:00 (36/48) Installing curl (7.64.0-r3) 14:18:00 (37/48) Installing pcre2 (10.32-r1) 14:18:00 (38/48) Installing git (2.20.2-r0) 14:18:01 (39/48) Installing nettle (3.4.1-r0) 14:18:01 (40/48) Installing libffi (3.2.1-r6) 14:18:01 (41/48) Installing p11-kit (0.23.14-r0) 14:18:01 (42/48) Installing libtasn1 (4.14-r0) 14:18:01 (43/48) Installing libunistring (0.9.10-r0) 14:18:01 (44/48) Installing gnutls (3.6.7-r0) 14:18:01 (45/48) Installing libmicrohttpd (0.9.62-r0) 14:18:01 (46/48) Installing libuuid (2.33-r0) 14:18:01 (47/48) Installing wget (1.20.3-r0) 14:18:01 (48/48) Installing yaml (0.2.1-r0) 14:18:01 Executing busybox-1.29.3-r10.trigger 14:18:01 Executing ca-certificates-20190108-r0.trigger 14:18:01 OK: 219 MiB in 62 packages 14:18:16 Removing intermediate container 3fc3057a893a 14:18:16 ---> ab32e98f2440 14:18:16 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 14:18:16 ---> 6ded74a273dd 14:18:16 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 14:18:16 ---> f290376715e2 14:18:16 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 14:18:16 ---> 0e3e870b5ee7 14:18:16 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 14:18:16 ---> c42e024e2310 14:18:16 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 14:18:17 ---> 38d2944b6754 14:18:17 Successfully built 38d2944b6754 14:18:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:18:18 + docker inspect -f . ci-base-image-arm64 14:18:18 . [Pipeline] withDockerContainer 14:18:19 prd-ubuntu18.04-docker-arm64-4c-16g-473 does not seem to be running inside a container 14:18:19 $ 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 ******** ci-base-image-arm64 cat 14:18:20 $ docker top cbbb7c81844b69b17ff6500c4561f57c158f3571a1d3143ff9a3acd6cbe2eb21 -eo pid,comm [Pipeline] { [Pipeline] sh 14:18:21 + make test 14:18:21 echo "make test" 14:18:21 make test [Pipeline] } 14:18:21 $ docker stop --time=1 cbbb7c81844b69b17ff6500c4561f57c158f3571a1d3143ff9a3acd6cbe2eb21 14:18:23 $ docker rm -f cbbb7c81844b69b17ff6500c4561f57c158f3571a1d3143ff9a3acd6cbe2eb21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:18:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:18:25 + ls -al . 14:18:25 total 192 14:18:25 drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 14:15 . 14:18:25 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 14:15 .. 14:18:25 drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 14:15 .git 14:18:25 -rw-rw-r-- 1 jenkins jenkins 176 Mar 13 14:15 .gitignore 14:18:25 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 14:15 .semver 14:18:25 -rw-rw-r-- 1 jenkins jenkins 3104 Mar 13 14:15 Attribution.txt 14:18:25 -rw-rw-r-- 1 jenkins jenkins 4882 Mar 13 14:15 CHANGES 14:18:25 -rw-rw-r-- 1 jenkins jenkins 108574 Mar 13 14:15 Doxyfile 14:18:25 -rw-rw-r-- 1 jenkins jenkins 792 Mar 13 14:15 Jenkinsfile 14:18:25 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 13 14:15 LICENSE 14:18:25 -rw-rw-r-- 1 jenkins jenkins 448 Mar 13 14:15 Makefile 14:18:25 -rw-rw-r-- 1 jenkins jenkins 1849 Mar 13 14:15 README.md 14:18:25 -rw-rw-r-- 1 jenkins jenkins 5031 Mar 13 14:15 README.v2.md 14:18:25 -rw-rw-r-- 1 jenkins jenkins 5 Mar 13 14:13 VERSION 14:18:25 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 14:15 docs 14:18:25 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 14:15 include 14:18:25 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 14:15 scripts 14:18:25 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 14:15 src [Pipeline] isUnix [Pipeline] sh 14:18:25 + 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=51fe3d26556ffd77bace90303943eea4122a1afc --label arch=arm64 --label version=0.0.0 . 14:18:26 Sending build context to Docker daemon 2.844MB 14:18:26 Step 1/15 : ARG BASE=alpine:3.9 14:18:26 Step 2/15 : FROM ${BASE} 14:18:26 ---> 38d2944b6754 14:18:26 Step 3/15 : MAINTAINER IOTech 14:18:26 ---> Running in 75f5ad4c0f7b 14:18:26 Removing intermediate container 75f5ad4c0f7b 14:18:26 ---> db4855f3d448 14:18:26 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 14:18:26 ---> Running in 0b10a43e637e 14:18:27 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 14:18:28 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 14:18:28 (1/21) Installing pkgconf (1.6.0-r0) 14:18:28 (2/21) Installing openssl-dev (1.1.1d-r2) 14:18:28 (3/21) Installing zlib-dev (1.2.11-r1) 14:18:28 (4/21) Installing libssh2-dev (1.9.0-r1) 14:18:28 (5/21) Installing nghttp2-dev (1.35.1-r1) 14:18:28 (6/21) Installing curl-dev (7.64.0-r3) 14:18:28 (7/21) Installing gnutls-c++ (3.6.7-r0) 14:18:28 (8/21) Installing libgmpxx (6.1.2-r1) 14:18:28 (9/21) Installing gmp-dev (6.1.2-r1) 14:18:28 (10/21) Installing nettle-dev (3.4.1-r0) 14:18:29 (11/21) Installing libtasn1-dev (4.14-r0) 14:18:29 (12/21) Installing p11-kit-dev (0.23.14-r0) 14:18:29 (13/21) Installing gnutls-dev (3.6.7-r0) 14:18:29 (14/21) Installing libmicrohttpd-dev (0.9.62-r0) 14:18:29 (15/21) Installing ncurses-dev (6.1_p20190105-r0) 14:18:29 (16/21) Installing libblkid (2.33-r0) 14:18:29 (17/21) Installing libfdisk (2.33-r0) 14:18:29 (18/21) Installing libmount (2.33-r0) 14:18:29 (19/21) Installing libsmartcols (2.33-r0) 14:18:29 (20/21) Installing util-linux-dev (2.33-r0) 14:18:29 (21/21) Installing yaml-dev (0.2.1-r0) 14:18:29 Executing busybox-1.29.3-r10.trigger 14:18:29 OK: 279 MiB in 83 packages 14:18:32 Removing intermediate container 0b10a43e637e 14:18:32 ---> ca9a9f2badb7 14:18:32 Step 5/15 : COPY VERSION /edgex-c-sdk/ 14:18:33 ---> 7c8965fa3153 14:18:33 Step 6/15 : COPY src /edgex-c-sdk/src/ 14:18:34 ---> e3aba749a901 14:18:34 Step 7/15 : COPY include /edgex-c-sdk/include/ 14:18:34 ---> 62544f6dc4cb 14:18:34 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 14:18:35 ---> f16d65ecc485 14:18:35 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 14:18:35 ---> ac10227eeb4d 14:18:35 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 14:18:36 ---> e5ee8a5d9c31 14:18:36 Step 11/15 : WORKDIR /edgex-c-sdk 14:18:36 ---> Running in 710a49bc8044 14:18:36 Removing intermediate container 710a49bc8044 14:18:36 ---> eab7cf4aa96b 14:18:36 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 14:18:36 ---> Running in ace07ec83bd9 14:18:37 Removing intermediate container ace07ec83bd9 14:18:37 ---> da2e8287cda8 14:18:37 Step 13/15 : LABEL arch=arm64 14:18:37 ---> Running in bd7d98e5434d 14:18:37 Removing intermediate container bd7d98e5434d 14:18:37 ---> 5d41a78b9f3d 14:18:37 Step 14/15 : LABEL git_sha=51fe3d26556ffd77bace90303943eea4122a1afc 14:18:37 ---> Running in 833bb5c423e6 14:18:37 Removing intermediate container 833bb5c423e6 14:18:37 ---> 79d9caa44c09 14:18:37 Step 15/15 : LABEL version=0.0.0 14:18:38 ---> Running in 624c2cea04ef 14:18:38 Removing intermediate container 624c2cea04ef 14:18:38 ---> e7e7287bed47 14:18:38 [Warning] One or more build-args [ARCH MAKE] were not consumed 14:18:38 Successfully built e7e7287bed47 14:18:38 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] } [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 14:18:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:18:41 ---> package-listing.sh 14:18:41 ++ facter osfamily 14:18:41 ++ tr '[:upper:]' '[:lower:]' 14:18:41 + OS_FAMILY=redhat 14:18:41 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-240 14:18:41 + START_PACKAGES=/tmp/packages_start.txt 14:18:41 + END_PACKAGES=/tmp/packages_end.txt 14:18:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:18:41 + PACKAGES=/tmp/packages_start.txt 14:18:41 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-240 ']' 14:18:41 + PACKAGES=/tmp/packages_end.txt 14:18:41 + case "${OS_FAMILY}" in 14:18:41 + rpm -qa 14:18:41 + sort 14:18:46 + '[' -f /tmp/packages_start.txt ']' 14:18:46 + '[' -f /tmp/packages_end.txt ']' 14:18:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:18:46 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-240 ']' 14:18:46 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-240/archives/ 14:18:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-240/archives/ [Pipeline] isUnix [Pipeline] sh 14:18:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:18:46 14:18:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 14:18:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:18:46 alpine: Pulling from edgex-lftools-log-publisher 14:18:46 c9b1b535fdd9: Pulling fs layer 14:18:46 2cc5ad85d9ab: Pulling fs layer 14:18:46 756a868c4378: Pulling fs layer 14:18:46 444b2fc9a129: Pulling fs layer 14:18:46 ea15f1150254: Pulling fs layer 14:18:46 41b27a9f41bf: Pulling fs layer 14:18:46 28c525ee5125: Pulling fs layer 14:18:46 094b1ea09ed8: Pulling fs layer 14:18:46 138eaada9080: Pulling fs layer 14:18:46 0622d0fa9048: Pulling fs layer 14:18:46 41b27a9f41bf: Waiting 14:18:46 28c525ee5125: Waiting 14:18:46 094b1ea09ed8: Waiting 14:18:46 138eaada9080: Waiting 14:18:46 0622d0fa9048: Waiting 14:18:46 444b2fc9a129: Waiting 14:18:46 ea15f1150254: Waiting 14:18:46 2cc5ad85d9ab: Verifying Checksum 14:18:46 2cc5ad85d9ab: Download complete 14:18:46 444b2fc9a129: Verifying Checksum 14:18:46 444b2fc9a129: Download complete 14:18:46 c9b1b535fdd9: Download complete 14:18:46 ea15f1150254: Verifying Checksum 14:18:46 ea15f1150254: Download complete 14:18:47 28c525ee5125: Verifying Checksum 14:18:47 28c525ee5125: Download complete 14:18:47 756a868c4378: Download complete 14:18:47 c9b1b535fdd9: Pull complete 14:18:47 138eaada9080: Verifying Checksum 14:18:47 138eaada9080: Download complete 14:18:47 0622d0fa9048: Verifying Checksum 14:18:47 0622d0fa9048: Download complete 14:18:47 094b1ea09ed8: Verifying Checksum 14:18:47 094b1ea09ed8: Download complete 14:18:47 2cc5ad85d9ab: Pull complete 14:18:48 41b27a9f41bf: Verifying Checksum 14:18:48 41b27a9f41bf: Download complete 14:18:49 756a868c4378: Pull complete 14:18:49 444b2fc9a129: Pull complete 14:18:49 ea15f1150254: Pull complete 14:18:52 41b27a9f41bf: Pull complete 14:18:52 28c525ee5125: Pull complete 14:18:54 094b1ea09ed8: Pull complete 14:18:54 138eaada9080: Pull complete 14:18:54 0622d0fa9048: Pull complete 14:18:54 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 14:18:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 14:18:55 prd-centos7-docker-4c-2g-472 does not seem to be running inside a container 14:18:55 $ 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-240 -v /w/workspace/edgexfoundry_device-sdk-c_PR-240:/w/workspace/edgexfoundry_device-sdk-c_PR-240:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-240@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-240@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 14:18:56 $ docker top 8e37150af47e6be957f1e2939bccd45933e76bb6fff6c2be7d68c9c1dcecd3ec -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 14:18:56 provisioning config files... 14:18:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-240@tmp/config6779806724171577560tmp [Pipeline] { [Pipeline] echo 14:18:56 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:18:56 ---> create-netrc.sh [Pipeline] echo 14:18:56 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:18:57 ---> logs-deploy.sh 14:18:57 + ARCHIVE_ARTIFACTS= 14:18:57 + LOGS_SERVER=https://logs.edgexfoundry.org 14:18:57 + '[' https://logs.edgexfoundry.org == None ']' 14:18:57 + NEXUS_URL=https://nexus.edgexfoundry.org 14:18:57 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-240/1 14:18:57 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-240/1/ 14:18:57 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-240/1 /w/workspace/edgexfoundry_device-sdk-c_PR-240 14:18:58 Archives upload complete. 14:18:58 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-240/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-240/1/ 14:18:59 ---> uname -a: 14:18:59 Linux 8e37150af47e 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux 14:18:59 14:18:59 14:18:59 ---> lscpu: 14:18:59 Architecture: x86_64 14:18:59 CPU op-mode(s): 32-bit, 64-bit 14:18:59 Byte Order: Little Endian 14:18:59 Address sizes: 40 bits physical, 48 bits virtual 14:18:59 CPU(s): 4 14:18:59 On-line CPU(s) list: 0-3 14:18:59 Thread(s) per core: 1 14:18:59 Core(s) per socket: 1 14:18:59 Socket(s): 4 14:18:59 NUMA node(s): 1 14:18:59 Vendor ID: GenuineIntel 14:18:59 CPU family: 6 14:18:59 Model: 44 14:18:59 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 14:18:59 Stepping: 1 14:18:59 CPU MHz: 2933.438 14:18:59 BogoMIPS: 5866.87 14:18:59 Virtualization: VT-x 14:18:59 Hypervisor vendor: KVM 14:18:59 Virtualization type: full 14:18:59 L1d cache: 128 KiB 14:18:59 L1i cache: 128 KiB 14:18:59 L2 cache: 16 MiB 14:18:59 L3 cache: 64 MiB 14:18:59 NUMA node0 CPU(s): 0-3 14:18:59 Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes 14:18:59 Vulnerability Meltdown: Mitigation; PTI 14:18:59 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 14:18:59 Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization 14:18:59 Vulnerability Spectre v2: Mitigation; Full retpoline 14:18:59 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 14:18:59 14:18:59 14:18:59 ---> nproc: 14:18:59 4 14:18:59 14:18:59 14:18:59 ---> df -h: 14:18:59 Filesystem Size Used Available Use% Mounted on 14:18:59 overlay 50.0G 6.4G 43.6G 13% / 14:18:59 tmpfs 64.0M 0 64.0M 0% /dev 14:18:59 tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup 14:18:59 shm 64.0M 0 64.0M 0% /dev/shm 14:18:59 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/resolv.conf 14:18:59 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hostname 14:18:59 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hosts 14:18:59 /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/edgexfoundry_device-sdk-c_PR-240 14:18:59 /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/edgexfoundry_device-sdk-c_PR-240@tmp 14:18:59 /dev/vda1 50.0G 6.4G 43.6G 13% /var/log/sa 14:18:59 14:18:59 14:18:59 ---> free -m: 14:18:59 total used free shared buff/cache available 14:18:59 Mem: 1838 605 75 0 1157 1127 14:18:59 Swap: 1023 1 1022 14:18:59 14:18:59 14:18:59 ---> ip addr: 14:18:59 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 14:18:59 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 14:18:59 inet 127.0.0.1/8 scope host lo 14:18:59 valid_lft forever preferred_lft forever 14:18:59 6: eth0@if7: mtu 1458 qdisc noqueue state UP 14:18:59 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 14:18:59 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 14:18:59 valid_lft forever preferred_lft forever 14:18:59 14:18:59 14:18:59 ---> sar -b -r -n DEV: 14:18:59 Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 03/13/20 _x86_64_ (4 CPU) 14:18:59 14:18:59 14:12:29 LINUX RESTART 14:18:59 14:18:59 14:13:01 tps rtps wtps bread/s bwrtn/s 14:18:59 14:14:03 54.19 18.48 35.72 3295.07 3091.29 14:18:59 14:15:01 2.41 0.00 2.41 0.00 83.91 14:18:59 14:16:01 0.23 0.00 0.23 0.00 3.61 14:18:59 14:17:01 0.35 0.00 0.35 0.00 3.78 14:18:59 14:18:01 0.25 0.00 0.25 0.00 2.76 14:18:59 Average: 11.55 3.72 7.83 663.79 641.11 14:18:59 14:18:59 14:13:01 kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 14:18:59 14:14:03 117776 1764528 93.74 2620 1224676 921640 31.45 430300 1175192 16 14:18:59 14:15:01 121956 1760348 93.52 2620 1224792 896868 30.60 427964 1174504 8 14:18:59 14:16:01 120852 1761452 93.58 2620 1224800 897100 30.61 428880 1174492 8 14:18:59 14:17:01 120624 1761680 93.59 2620 1224804 897136 30.61 429948 1173728 12 14:18:59 14:18:01 122104 1760200 93.51 2620 1224812 896932 30.60 428824 1173728 8 14:18:59 Average: 120662 1761642 93.59 2620 1224777 901935 30.77 429183 1174329 10 14:18:59 14:18:59 14:13:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 14:18:59 14:14:03 eth0 487.58 351.75 1030.12 106.58 0.00 0.00 0.00 14:18:59 14:14:03 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:18:59 14:14:03 docker0 5.38 3.99 0.72 16.05 0.00 0.00 0.00 14:18:59 14:15:01 eth0 0.86 0.14 0.07 0.04 0.00 0.00 0.00 14:18:59 14:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:18:59 14:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:18:59 14:16:01 eth0 4.45 3.15 3.48 0.39 0.00 0.00 0.00 14:18:59 14:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:18:59 14:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:18:59 14:17:01 eth0 0.53 0.48 0.27 0.21 0.00 0.00 0.00 14:18:59 14:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:18:59 14:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:18:59 14:18:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 14:18:59 14:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:18:59 14:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:18:59 Average: eth0 99.41 71.63 208.29 21.60 0.00 0.00 0.00 14:18:59 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:18:59 Average: docker0 1.08 0.80 0.14 3.23 0.00 0.00 0.00 14:18:59 14:18:59 14:18:59 ---> sar -P ALL: 14:18:59 Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 03/13/20 _x86_64_ (4 CPU) 14:18:59 14:18:59 14:12:29 LINUX RESTART 14:18:59 14:18:59 14:13:01 CPU %user %nice %system %iowait %steal %idle 14:18:59 14:14:03 all 10.35 0.00 2.46 1.40 0.02 85.77 14:18:59 14:14:03 0 8.43 0.00 2.90 1.01 0.03 87.63 14:18:59 14:14:03 1 13.23 0.00 2.24 0.40 0.00 84.12 14:18:59 14:14:03 2 8.14 0.00 2.36 0.92 0.02 88.56 14:18:59 14:14:03 3 11.59 0.00 2.35 3.25 0.03 82.78 14:18:59 14:15:01 all 0.19 0.00 0.05 0.00 0.00 99.76 14:18:59 14:15:01 0 0.31 0.00 0.02 0.00 0.00 99.67 14:18:59 14:15:01 1 0.07 0.00 0.05 0.00 0.00 99.88 14:18:59 14:15:01 2 0.31 0.00 0.09 0.00 0.00 99.60 14:18:59 14:15:01 3 0.07 0.00 0.05 0.00 0.00 99.88 14:18:59 14:16:01 all 0.20 0.00 0.05 0.00 0.00 99.75 14:18:59 14:16:01 0 0.10 0.00 0.07 0.00 0.00 99.83 14:18:59 14:16:01 1 0.05 0.00 0.02 0.00 0.00 99.93 14:18:59 14:16:01 2 0.58 0.00 0.03 0.00 0.00 99.38 14:18:59 14:16:01 3 0.08 0.00 0.08 0.00 0.00 99.83 14:18:59 14:17:01 all 0.18 0.00 0.05 0.00 0.00 99.77 14:18:59 14:17:01 0 0.02 0.00 0.02 0.00 0.00 99.97 14:18:59 14:17:01 1 0.07 0.00 0.05 0.00 0.00 99.88 14:18:59 14:17:01 2 0.55 0.00 0.03 0.00 0.00 99.42 14:18:59 14:17:01 3 0.07 0.00 0.08 0.00 0.00 99.85 14:18:59 14:18:01 all 0.18 0.00 0.04 0.00 0.00 99.78 14:18:59 14:18:01 0 0.03 0.00 0.02 0.00 0.00 99.95 14:18:59 14:18:01 1 0.05 0.00 0.05 0.00 0.00 99.90 14:18:59 14:18:01 2 0.58 0.00 0.05 0.00 0.00 99.37 14:18:59 14:18:01 3 0.05 0.00 0.03 0.00 0.00 99.92 14:18:59 Average: all 2.22 0.00 0.53 0.28 0.01 96.96 14:18:59 Average: 0 1.78 0.00 0.60 0.20 0.01 97.41 14:18:59 Average: 1 2.70 0.00 0.48 0.08 0.00 96.73 14:18:59 Average: 2 2.04 0.00 0.51 0.18 0.00 97.26 14:18:59 Average: 3 2.38 0.00 0.52 0.65 0.01 96.44 14:18:59 14:18:59 14:18:59