Pull request #288 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 db1d01ed50fede27c73a10e9088d1d8d82358a17+c2304b16a4a77b3b71c89fce4fac471bd722c945 (0c1c9ae752e5891ea74044de3d5b8d6137065069) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-288/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 # timeout=10 Commit message: "Merge pull request #220 from ernestojeda/fix-arm64-semver" > 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 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-3.11-base, dockerFilePath:scripts/Dockerfile.alpine-3.11, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine-3.11 DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-3.11-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-c DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1682’ Running on prd-centos7-docker-4c-2g-1685 in /w/workspace/edgexfoundry_device-sdk-c_PR-288 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-288 # 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/288/head:refs/remotes/origin/PR-288 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/288/head:refs/remotes/origin/PR-288 # 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/288/head:refs/remotes/origin/PR-288 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit c2304b16a4a77b3b71c89fce4fac471bd722c945 into PR head commit db1d01ed50fede27c73a10e9088d1d8d82358a17 Merge succeeded, producing db1d01ed50fede27c73a10e9088d1d8d82358a17 Checking out Revision db1d01ed50fede27c73a10e9088d1d8d82358a17 (PR-288) > git config core.sparsecheckout # timeout=10 > git checkout -f db1d01ed50fede27c73a10e9088d1d8d82358a17 # 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 c2304b16a4a77b3b71c89fce4fac471bd722c945 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f db1d01ed50fede27c73a10e9088d1d8d82358a17 # timeout=10 Commit message: "doc: add example showing devsdk_post_readings use (#279)" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:12:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:12:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:12:21 ========================================================= 09:12:21 EdgeX Global Pipelines Version Info 09:12:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:12:23 ------------------- 09:12:23 stable info: 09:12:23 ------------------- 09:12:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:12:23 Commit SHA: aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 09:12:23 Message: update stable to v1.0.106 09:12:24 ------------------- 09:12:24 experimental info: 09:12:24 ------------------- 09:12:24 Commited By: **** collab-it+edgex@linuxfoundation.org 09:12:24 Commit SHA: 69b11ffe9275ab8e68c4cba724b6d595bdc2db9b 09:12:24 Message: update experimental to v1.0.111 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 09:12:27 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:12:27 09:12:27 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:12:27 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:12:27 latest: Pulling from edgex-devops/git-semver 09:12:27 31603596830f: Pulling fs layer 09:12:27 2a8b12db71e7: Pulling fs layer 09:12:27 6ca5941a6612: Pulling fs layer 09:12:27 ecc8261a40a4: Pulling fs layer 09:12:27 ecc8261a40a4: Waiting 09:12:27 2a8b12db71e7: Download complete 09:12:27 31603596830f: Verifying Checksum 09:12:27 31603596830f: Download complete 09:12:27 ecc8261a40a4: Verifying Checksum 09:12:27 ecc8261a40a4: Download complete 09:12:27 6ca5941a6612: Verifying Checksum 09:12:27 6ca5941a6612: Download complete 09:12:27 31603596830f: Pull complete 09:12:28 2a8b12db71e7: Pull complete 09:12:28 6ca5941a6612: Pull complete 09:12:28 ecc8261a40a4: Pull complete 09:12:28 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 09:12:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:12:28 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:12:29 prd-centos7-docker-4c-2g-1685 does not seem to be running inside a container 09:12:29 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-288 -v /w/workspace/edgexfoundry_device-sdk-c_PR-288:/w/workspace/edgexfoundry_device-sdk-c_PR-288:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-288@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-288@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:12:31 $ docker top 99cb82b3c79df6c2000ba1601e1cc1ab1e519469cad3a5a09093863d65eff6c2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:12:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:12:31 [ssh-agent] Looking for ssh-agent implementation... 09:12:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:12:31 $ docker exec 99cb82b3c79df6c2000ba1601e1cc1ab1e519469cad3a5a09093863d65eff6c2 ssh-agent 09:12:31 SSH_AUTH_SOCK=/tmp/ssh-85Js6FDnY85E/agent.12 09:12:31 SSH_AGENT_PID=18 09:12:31 Running ssh-add (command line suppressed) 09:12:32 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-288@tmp/private_key_919508110044190257.key (/w/workspace/edgexfoundry_device-sdk-c_PR-288@tmp/private_key_919508110044190257.key) 09:12:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:12:32 + git describe --exact-match --tags HEAD 09:12:32 fatal: No names found, cannot describe anything. [Pipeline] } 09:12:32 $ docker exec --env ******** --env ******** 99cb82b3c79df6c2000ba1601e1cc1ab1e519469cad3a5a09093863d65eff6c2 ssh-agent -k 09:12:32 unset SSH_AUTH_SOCK; 09:12:32 unset SSH_AGENT_PID; 09:12:32 echo Agent pid 18 killed; 09:12:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 09:12:32 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 09:12:32 This usually means this commit has not been tagged. [Pipeline] sshagent 09:12:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:12:33 [ssh-agent] Looking for ssh-agent implementation... 09:12:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:12:33 $ docker exec 99cb82b3c79df6c2000ba1601e1cc1ab1e519469cad3a5a09093863d65eff6c2 ssh-agent 09:12:33 SSH_AUTH_SOCK=/tmp/ssh-uPCv3U82vPdq/agent.48 09:12:33 SSH_AGENT_PID=53 09:12:33 Running ssh-add (command line suppressed) 09:12:33 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-288@tmp/private_key_8084765266504920326.key (/w/workspace/edgexfoundry_device-sdk-c_PR-288@tmp/private_key_8084765266504920326.key) 09:12:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:12:33 + git semver init 09:12:33 # -> Open(): unable to determine branch for HEAD 09:12:33 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-288/.git 09:12:33 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-288 09:12:33 # $SEMVER_REMOTE_NAME = origin 09:12:33 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:12:33 # $SEMVER_USER_NAME = edgex-jenkins 09:12:33 # $SEMVER_BRANCH = PR-288 09:12:33 # $SEMVER_TEMP = /tmp/semver-102427723 09:12:33 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 09:12:34 # '/tmp/semver-102427723' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-288/.semver' 09:12:34 # -> Force: false 09:12:34 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-288/.semver [Pipeline] } 09:12:34 $ docker exec --env ******** --env ******** 99cb82b3c79df6c2000ba1601e1cc1ab1e519469cad3a5a09093863d65eff6c2 ssh-agent -k 09:12:34 unset SSH_AUTH_SOCK; 09:12:34 unset SSH_AGENT_PID; 09:12:34 echo Agent pid 53 killed; 09:12:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:12:35 + git semver [Pipeline] } 09:12:35 $ docker stop --time=1 99cb82b3c79df6c2000ba1601e1cc1ab1e519469cad3a5a09093863d65eff6c2 09:12:36 $ docker rm -f 99cb82b3c79df6c2000ba1601e1cc1ab1e519469cad3a5a09093863d65eff6c2 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 09:12:37 Stashed 28 file(s) [Pipeline] echo 09:12:37 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 09:12:53 Still waiting to schedule task 09:12:53 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1685’ 09:12:53 Still waiting to schedule task 09:12:53 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 09:14:32 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1686 in /w/workspace/edgexfoundry_device-sdk-c_PR-288 [Pipeline] { [Pipeline] ws 09:14:33 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 09:14:37 using credential edgex-jenkins-ssh 09:14:38 Cloning the remote Git repository 09:14:38 Cloning with configured refspecs honoured and without tags 09:14:38 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 09:14:38 > git init /w/workspace/device-sdk-c/1 # timeout=10 09:14:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 09:14:38 > git --version # timeout=10 09:14:38 using GIT_SSH to set credentials SSH Credentials for GitHub 09:14:38 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/288/head:refs/remotes/origin/PR-288 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:14:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 09:14:39 > git config --add remote.origin.fetch +refs/pull/288/head:refs/remotes/origin/PR-288 # timeout=10 09:14:39 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 09:14:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 09:14:39 Fetching without tags 09:14:39 Merging remotes/origin/master commit c2304b16a4a77b3b71c89fce4fac471bd722c945 into PR head commit db1d01ed50fede27c73a10e9088d1d8d82358a17 09:14:40 Merge succeeded, producing db1d01ed50fede27c73a10e9088d1d8d82358a17 09:14:40 Checking out Revision db1d01ed50fede27c73a10e9088d1d8d82358a17 (PR-288) 09:14:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 09:14:39 using GIT_SSH to set credentials SSH Credentials for GitHub 09:14:39 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/288/head:refs/remotes/origin/PR-288 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:14:39 > git config core.sparsecheckout # timeout=10 09:14:39 > git checkout -f db1d01ed50fede27c73a10e9088d1d8d82358a17 # timeout=10 09:14:40 > git remote # timeout=10 09:14:40 > git config --get remote.origin.url # timeout=10 09:14:40 using GIT_SSH to set credentials SSH Credentials for GitHub 09:14:40 > git merge c2304b16a4a77b3b71c89fce4fac471bd722c945 # timeout=10 09:14:40 > git rev-parse HEAD^{commit} # timeout=10 09:14:40 > git config core.sparsecheckout # timeout=10 09:14:40 > git checkout -f db1d01ed50fede27c73a10e9088d1d8d82358a17 # timeout=10 09:14:44 Commit message: "doc: add example showing devsdk_post_readings use (#279)" 09:14:44 > git --version # timeout=10 09:14:44 fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:14:46 ========================================================= 09:14:46 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 09:14:46 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:14:47 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-3.11-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 09:14:48 Sending build context to Docker daemon 3.479MB 09:14:48 Step 1/21 : ARG BASE=alpine:3.11 09:14:48 Step 2/21 : FROM ${BASE} as builder 09:14:48 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 09:14:48 0362ad1dd800: Pulling fs layer 09:14:48 f2cdb1532d8b: Pulling fs layer 09:14:48 37ed683be191: Pulling fs layer 09:14:48 f2cdb1532d8b: Verifying Checksum 09:14:48 f2cdb1532d8b: Download complete 09:14:48 0362ad1dd800: Verifying Checksum 09:14:48 0362ad1dd800: Download complete 09:14:50 0362ad1dd800: Pull complete 09:14:50 f2cdb1532d8b: Pull complete 09:14:51 37ed683be191: Verifying Checksum 09:14:51 37ed683be191: Download complete 09:15:01 Running on prd-centos7-docker-4c-2g-1687 in /w/workspace/edgexfoundry_device-sdk-c_PR-288 [Pipeline] { [Pipeline] ws 09:15:01 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 09:15:01 37ed683be191: Pull complete 09:15:01 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 09:15:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 09:15:01 ---> b23d30803547 09:15:01 Step 3/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev 09:15:02 ---> Running in cf7eb1634b8e 09:15:03 using credential edgex-jenkins-ssh 09:15:03 Cloning the remote Git repository 09:15:03 Cloning with configured refspecs honoured and without tags 09:15:04 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 09:15:03 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 09:15:03 > git init /w/workspace/device-sdk-c/1 # timeout=10 09:15:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 09:15:03 > git --version # timeout=10 09:15:03 using GIT_SSH to set credentials SSH Credentials for GitHub 09:15:03 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/288/head:refs/remotes/origin/PR-288 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:15:05 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 09:15:05 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 09:15:05 (2/8) Installing libuuid (2.33-r0) 09:15:05 (3/8) Installing libblkid (2.33-r0) 09:15:05 (4/8) Installing libfdisk (2.33-r0) 09:15:05 (5/8) Installing libmount (2.33-r0) 09:15:05 (6/8) Installing libsmartcols (2.33-r0) 09:15:05 (7/8) Installing util-linux-dev (2.33-r0) 09:15:05 Fetching without tags 09:15:06 (8/8) Installing wget (1.20.3-r0) 09:15:06 Executing busybox-1.29.3-r10.trigger 09:15:06 OK: 285 MiB in 83 packages 09:15:06 Merging remotes/origin/master commit c2304b16a4a77b3b71c89fce4fac471bd722c945 into PR head commit db1d01ed50fede27c73a10e9088d1d8d82358a17 09:15:06 Merge succeeded, producing db1d01ed50fede27c73a10e9088d1d8d82358a17 09:15:06 Checking out Revision db1d01ed50fede27c73a10e9088d1d8d82358a17 (PR-288) 09:15:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 09:15:05 > git config --add remote.origin.fetch +refs/pull/288/head:refs/remotes/origin/PR-288 # timeout=10 09:15:05 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 09:15:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 09:15:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 09:15:05 using GIT_SSH to set credentials SSH Credentials for GitHub 09:15:05 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/288/head:refs/remotes/origin/PR-288 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:15:06 > git config core.sparsecheckout # timeout=10 09:15:06 > git checkout -f db1d01ed50fede27c73a10e9088d1d8d82358a17 # timeout=10 09:15:06 > git remote # timeout=10 09:15:06 > git config --get remote.origin.url # timeout=10 09:15:06 using GIT_SSH to set credentials SSH Credentials for GitHub 09:15:06 > git merge c2304b16a4a77b3b71c89fce4fac471bd722c945 # timeout=10 09:15:06 > git rev-parse HEAD^{commit} # timeout=10 09:15:06 > git config core.sparsecheckout # timeout=10 09:15:06 > git checkout -f db1d01ed50fede27c73a10e9088d1d8d82358a17 # timeout=10 09:15:07 Removing intermediate container cf7eb1634b8e 09:15:07 ---> 179faaa7f545 09:15:07 Step 4/21 : ENV CBOR_VERSION=0.5.0 09:15:08 ---> Running in 8fec327503eb 09:15:08 Removing intermediate container 8fec327503eb 09:15:08 ---> 3c63d8e024b3 09:15:08 Step 5/21 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 09:15:08 ---> Running in 835ddb8e9167 09:15:10 Commit message: "doc: add example showing devsdk_post_readings use (#279)" 09:15:10 --2020-07-31 09:15:09-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 09:15:10 Resolving github.com... 140.82.114.3 09:15:10 Connecting to github.com|140.82.114.3|:443... connected. 09:15:10 HTTP request sent, awaiting response... 302 Found 09:15:10 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 09:15:10 --2020-07-31 09:15:10-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 09:15:10 Resolving codeload.github.com... 140.82.114.9 09:15:10 Connecting to codeload.github.com|140.82.114.9|:443... connected. 09:15:10 > git --version # timeout=10 09:15:10 fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 09:15:10 HTTP request sent, awaiting response... 200 OK 09:15:10 Length: unspecified [application/x-gzip] 09:15:10 Saving to: 'STDOUT' 09:15:10  09:15:10 0K .......... .......... .......... .......... .......... 1.49M 09:15:10 50K .......... .......... .......... .......... .......... 2.88M 09:15:10 100K .......... .......... .......... .......... .......... 3.16M 09:15:10 150K .......... .......... .......... .......... .......... 13.7M 09:15:10 200K .......... .......... .......... .......... .......... 13.2M 09:15:10 250K .......... .......... .......... .......... .......... 4.10M 09:15:10 300K .......... .......... .......... .......... .......... 4.23M 09:15:10 350K .......... .......... .......... .......... .......... 3.99M 09:15:10 400K .......... .......... .......... .......... .......... 4.23M [Pipeline] withEnv [Pipeline] { 09:15:10 450K .......... .......... .......... .......... .......... 3.16M 09:15:10 500K .......... .......... .......... .......... .......... 4.94M 09:15:10 550K .......... .......... .......... .......... .......... 2.90M 09:15:10 600K .......... .......... .......... .......... .......... 900K 09:15:10 650K .......... .......... .......... .......... .......... 2.68M 09:15:10 700K .. 305K=0.2s 09:15:10 09:15:10 2020-07-31 09:15:10 (2.82 MB/s) - written to stdout [719348] 09:15:10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 09:15:10 -- The C compiler identification is GNU 8.3.0 [Pipeline] unstash [Pipeline] echo 09:15:11 ========================================================= 09:15:11 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 09:15:11 ========================================================= 09:15:11 -- The CXX compiler identification is GNU 8.3.0 09:15:11 -- Check for working C compiler: /usr/bin/cc [Pipeline] isUnix [Pipeline] sh 09:15:11 -- Check for working C compiler: /usr/bin/cc -- works 09:15:11 -- Detecting C compiler ABI info 09:15:11 -- Detecting C compiler ABI info - done 09:15:11 -- Detecting C compile features 09:15:11 + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-3.11-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . 09:15:12 Sending build context to Docker daemon 3.479MB 09:15:12 Step 1/21 : ARG BASE=alpine:3.11 09:15:12 Step 2/21 : FROM ${BASE} as builder 09:15:12 -- Detecting C compile features - done 09:15:12 -- Check for working CXX compiler: /usr/bin/c++ 09:15:12 latest: Pulling from edgex-devops/edgex-gcc-base 09:15:12 e7c96db7181b: Pulling fs layer 09:15:12 4c13bbce0fe7: Pulling fs layer 09:15:12 6059c847ac2f: Pulling fs layer 09:15:12 4c13bbce0fe7: Download complete 09:15:12 e7c96db7181b: Verifying Checksum 09:15:12 e7c96db7181b: Download complete 09:15:12 -- Check for working CXX compiler: /usr/bin/c++ -- works 09:15:12 -- Detecting CXX compiler ABI info 09:15:12 e7c96db7181b: Pull complete 09:15:12 -- Detecting CXX compiler ABI info - done 09:15:12 -- Detecting CXX compile features 09:15:12 4c13bbce0fe7: Pull complete 09:15:13 6059c847ac2f: Verifying Checksum 09:15:13 6059c847ac2f: Download complete 09:15:14 -- Detecting CXX compile features - done 09:15:14 -- Looking for include file endian.h 09:15:14 -- Looking for include file endian.h - found 09:15:14 -- Check if the system is big endian 09:15:14 -- Searching 16 bit integer 09:15:14 -- Looking for sys/types.h 09:15:14 -- Looking for sys/types.h - found 09:15:14 -- Looking for stdint.h 09:15:15 -- Looking for stdint.h - found 09:15:15 -- Looking for stddef.h 09:15:15 -- Looking for stddef.h - found 09:15:15 -- Check size of unsigned short 09:15:15 -- Check size of unsigned short - done 09:15:15 -- Using unsigned short 09:15:16 -- Check if the system is big endian - little endian 09:15:16 -- Check size of size_t 09:15:16 -- Check size of size_t - done 09:15:16 CMake Warning at examples/CMakeLists.txt:16 (find_package): 09:15:16 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 09:15:16 asked CMake to find a package configuration file provided by "cJSON", but 09:15:16 CMake did not find one. 09:15:16 09:15:16 Could not find a package configuration file provided by "cJSON" with any of 09:15:16 the following names: 09:15:16 09:15:16 cJSONConfig.cmake 09:15:16 cjson-config.cmake 09:15:16 09:15:16 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 09:15:16 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 09:15:16 provides a separate development package or SDK, be sure it has been 09:15:16 installed. 09:15:16 09:15:16 09:15:16 -- Configuring done 09:15:16 -- Generating done 09:15:16 -- Build files have been written to: /tmp/cbor 09:15:16 Scanning dependencies of target cbor_shared 09:15:16 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 09:15:17 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 09:15:17 6059c847ac2f: Pull complete 09:15:17 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 09:15:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 09:15:17 ---> 5eabd8fd8ba2 09:15: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 09:15:18 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 09:15:18 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 09:15:18 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 09:15:19 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 09:15:19 ---> Running in 77282c8a7ea4 09:15:19 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 09:15:19 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 09:15:19 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 09:15:19 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 09:15:19 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 09:15:20 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 09:15:20 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 09:15:20 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 09:15:20 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 09:15:20 (2/8) Installing libuuid (2.33-r0) 09:15:21 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 09:15:21 (3/8) Installing libblkid (2.33-r0) 09:15:21 (4/8) Installing libfdisk (2.33-r0) 09:15:21 (5/8) Installing libmount (2.33-r0) 09:15:21 (6/8) Installing libsmartcols (2.33-r0) 09:15:21 (7/8) Installing util-linux-dev (2.33-r0) 09:15:21 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 09:15:21 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 09:15:21 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 09:15:22 (8/8) Installing wget (1.20.3-r0) 09:15:22 Executing busybox-1.29.3-r10.trigger 09:15:22 OK: 272 MiB in 83 packages 09:15:22 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 09:15:22 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 09:15:22 Removing intermediate container 77282c8a7ea4 09:15:22 ---> b2ff01f675b0 09:15:22 Step 4/21 : ENV CBOR_VERSION=0.5.0 09:15:22 ---> Running in 674fea0cdb44 09:15:22 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 09:15:22 Removing intermediate container 674fea0cdb44 09:15:22 ---> caee1fc7c3dd 09:15:22 Step 5/21 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 09:15:22 ---> Running in 17ce85dba51a 09:15:23 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 09:15:23 [ 40%] Linking C shared library libcbor.so 09:15:23 [ 40%] Built target cbor_shared 09:15:23 Scanning dependencies of target cbor 09:15:23 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 09:15:23 --2020-07-31 09:15:23-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 09:15:23 Resolving github.com... 140.82.114.3 09:15:23 Connecting to github.com|140.82.114.3|:443... connected. 09:15:23 HTTP request sent, awaiting response... 302 Found 09:15:23 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 09:15:23 --2020-07-31 09:15:23-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 09:15:23 Resolving codeload.github.com... 140.82.114.9 09:15:23 Connecting to codeload.github.com|140.82.114.9|:443... connected. 09:15:23 HTTP request sent, awaiting response... 200 OK 09:15:23 Length: unspecified [application/x-gzip] 09:15:23 Saving to: 'STDOUT' 09:15:23  09:15:23 0K .......... .......... .......... .......... .......... 1.65M 09:15:23 50K .......... .......... .......... .......... .......... 6.08M 09:15:23 100K .......... .......... .......... .......... .......... 6.08M 09:15:23 150K .......... .......... .......... .......... .......... 7.36M 09:15:23 200K .......... .......... .......... .......... .......... 6.23M 09:15:23 250K .......... .......... .......... .......... .......... 12.5M 09:15:23 300K .......... .......... .......... .......... .......... 13.8M 09:15:23 350K .......... .......... .......... .......... .......... 16.7M 09:15:23 400K .......... .......... .......... .......... .......... 4.94M 09:15:23 450K .......... .......... .......... .......... .......... 9.29M 09:15:23 500K .......... .......... .......... .......... .......... 14.2M 09:15:23 550K .......... .......... .......... .......... .......... 6.36M 09:15:23 600K .......... .......... .......... .......... .......... 2.27M 09:15:23 650K .......... .......... .......... .......... .......... 5.42M 09:15:23 700K .. 980K=0.1s 09:15:23 09:15:23 2020-07-31 09:15:23 (5.28 MB/s) - written to stdout [719348] 09:15:23 09:15:23 -- The C compiler identification is GNU 8.3.0 09:15:23 -- The CXX compiler identification is GNU 8.3.0 09:15:23 -- Check for working C compiler: /usr/bin/cc 09:15:23 -- Check for working C compiler: /usr/bin/cc -- works 09:15:23 -- Detecting C compiler ABI info 09:15:23 -- Detecting C compiler ABI info - done 09:15:24 -- Detecting C compile features 09:15:24 -- Detecting C compile features - done 09:15:24 -- Check for working CXX compiler: /usr/bin/c++ 09:15:24 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 09:15:24 -- Check for working CXX compiler: /usr/bin/c++ -- works 09:15:24 -- Detecting CXX compiler ABI info 09:15:24 -- Detecting CXX compiler ABI info - done 09:15:24 -- Detecting CXX compile features 09:15:24 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 09:15:24 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 09:15:25 -- Detecting CXX compile features - done 09:15:25 -- Looking for include file endian.h 09:15:25 -- Looking for include file endian.h - found 09:15:25 -- Check if the system is big endian 09:15:25 -- Searching 16 bit integer 09:15:25 -- Looking for sys/types.h 09:15:25 -- Looking for sys/types.h - found 09:15:25 -- Looking for stdint.h 09:15:25 -- Looking for stdint.h - found 09:15:25 -- Looking for stddef.h 09:15:25 -- Looking for stddef.h - found 09:15:25 -- Check size of unsigned short 09:15:25 -- Check size of unsigned short - done 09:15:25 -- Using unsigned short 09:15:25 -- Check if the system is big endian - little endian 09:15:25 -- Check size of size_t 09:15:25 -- Check size of size_t - done 09:15:25 CMake Warning at examples/CMakeLists.txt:16 (find_package): 09:15:25 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 09:15:25 asked CMake to find a package configuration file provided by "cJSON", but 09:15:25 CMake did not find one. 09:15:25 09:15:25 Could not find a package configuration file provided by "cJSON" with any of 09:15:25 the following names: 09:15:25 09:15:25 cJSONConfig.cmake 09:15:25 cjson-config.cmake 09:15:25 09:15:25 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 09:15:25 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 09:15:25 provides a separate development package or SDK, be sure it has been 09:15:25 installed. 09:15:25 09:15:25 09:15:25 -- Configuring done 09:15:25 -- Generating done 09:15:25 -- Build files have been written to: /tmp/cbor 09:15:25 Scanning dependencies of target cbor_shared 09:15:25 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 09:15:25 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 09:15:25 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 09:15:26 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 09:15:26 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 09:15:26 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 09:15:26 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 09:15:26 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 09:15:26 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 09:15:26 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 09:15:26 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 09:15:26 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 09:15:26 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 09:15:26 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 09:15:26 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 09:15:26 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 09:15:26 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 09:15:26 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 09:15:26 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 09:15:26 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 09:15:26 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 09:15:27 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 09:15:27 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 09:15:27 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 09:15:27 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 09:15:27 [ 40%] Linking C shared library libcbor.so 09:15:27 [ 40%] Built target cbor_shared 09:15:27 Scanning dependencies of target cbor 09:15:27 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 09:15:27 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 09:15:27 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 09:15:27 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 09:15:27 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 09:15:27 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 09:15:28 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 09:15:28 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 09:15:28 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 09:15:28 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 09:15:28 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 09:15:28 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 09:15:28 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 09:15:28 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 09:15:28 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 09:15:28 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 09:15:28 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 09:15:28 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 09:15:28 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 09:15:29 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 09:15:29 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 09:15:29 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 09:15:29 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 09:15:29 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 09:15:29 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 09:15:29 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 09:15:29 [ 80%] Linking C static library libcbor.a 09:15:29 [ 80%] Built target cbor 09:15:29 Scanning dependencies of target create_items 09:15:29 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 09:15:29 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 09:15:29 [ 84%] Linking C executable create_items 09:15:29 [ 84%] Built target create_items 09:15:29 Scanning dependencies of target readfile 09:15:29 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 09:15:29 [ 88%] Linking C executable readfile 09:15:29 [ 88%] Built target readfile 09:15:29 Scanning dependencies of target streaming_parser 09:15:29 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 09:15:29 [ 92%] Linking C executable streaming_parser 09:15:29 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 09:15:29 [ 92%] Built target streaming_parser 09:15:29 Scanning dependencies of target sort 09:15:29 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 09:15:29 [ 96%] Linking C executable sort 09:15:29 [ 96%] Built target sort 09:15:29 Scanning dependencies of target hello 09:15:29 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 09:15:29 [100%] Linking C executable hello 09:15:29 [100%] Built target hello 09:15:29 Install the project... 09:15:29 -- Install configuration: "Release" 09:15:29 -- Installing: /usr/local/include/cbor/configuration.h 09:15:29 -- Installing: /usr/local/lib64/libcbor.a 09:15:29 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 09:15:29 -- Installing: /usr/local/lib64/libcbor.so.0 09:15:29 -- Installing: /usr/local/lib64/libcbor.so 09:15:29 -- Up-to-date: /usr/local/include/cbor 09:15:29 -- Installing: /usr/local/include/cbor/arrays.h 09:15:29 -- Installing: /usr/local/include/cbor/bytestrings.h 09:15:29 -- Installing: /usr/local/include/cbor/callbacks.h 09:15:29 -- Installing: /usr/local/include/cbor/common.h 09:15:29 -- Installing: /usr/local/include/cbor/data.h 09:15:29 -- Installing: /usr/local/include/cbor/encoding.h 09:15:29 -- Installing: /usr/local/include/cbor/floats_ctrls.h 09:15:29 -- Installing: /usr/local/include/cbor/internal 09:15:29 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 09:15:29 -- Installing: /usr/local/include/cbor/internal/encoders.h 09:15:29 -- Installing: /usr/local/include/cbor/internal/loaders.h 09:15:29 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 09:15:29 -- Installing: /usr/local/include/cbor/internal/stack.h 09:15:29 -- Installing: /usr/local/include/cbor/internal/unicode.h 09:15:29 -- Installing: /usr/local/include/cbor/ints.h 09:15:29 -- Installing: /usr/local/include/cbor/maps.h 09:15:29 -- Installing: /usr/local/include/cbor/serialization.h 09:15:29 -- Installing: /usr/local/include/cbor/streaming.h 09:15:29 -- Installing: /usr/local/include/cbor/strings.h 09:15:29 -- Installing: /usr/local/include/cbor/tags.h 09:15:29 -- Installing: /usr/local/include/cbor.h 09:15:29 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 09:15:30 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 09:15:30 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 09:15:30 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 09:15:30 [ 80%] Linking C static library libcbor.a 09:15:30 [ 80%] Built target cbor 09:15:30 Scanning dependencies of target create_items 09:15:30 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 09:15:31 [ 84%] Linking C executable create_items 09:15:31 [ 84%] Built target create_items 09:15:31 Scanning dependencies of target readfile 09:15:31 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 09:15:31 [ 88%] Linking C executable readfile 09:15:31 [ 88%] Built target readfile 09:15:31 Scanning dependencies of target streaming_parser 09:15:31 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 09:15:31 [ 92%] Linking C executable streaming_parser 09:15:31 [ 92%] Built target streaming_parser 09:15:31 Scanning dependencies of target sort 09:15:31 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 09:15:32 [ 96%] Linking C executable sort 09:15:32 [ 96%] Built target sort 09:15:32 Scanning dependencies of target hello 09:15:32 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 09:15:32 Removing intermediate container 17ce85dba51a 09:15:32 ---> 8a28b5f5f3a6 09:15:32 Step 6/21 : RUN mkdir /tmp/sdk 09:15:32 ---> Running in d09f15b21ee0 09:15:32 [100%] Linking C executable hello 09:15:32 [100%] Built target hello 09:15:32 Install the project... 09:15:32 -- Install configuration: "Release" 09:15:32 -- Installing: /usr/local/include/cbor/configuration.h 09:15:32 -- Installing: /usr/local/lib64/libcbor.a 09:15:32 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 09:15:32 -- Installing: /usr/local/lib64/libcbor.so.0 09:15:32 -- Installing: /usr/local/lib64/libcbor.so 09:15:32 -- Up-to-date: /usr/local/include/cbor 09:15:32 -- Installing: /usr/local/include/cbor/streaming.h 09:15:32 -- Installing: /usr/local/include/cbor/ints.h 09:15:32 -- Installing: /usr/local/include/cbor/floats_ctrls.h 09:15:32 -- Installing: /usr/local/include/cbor/bytestrings.h 09:15:32 -- Installing: /usr/local/include/cbor/encoding.h 09:15:32 -- Installing: /usr/local/include/cbor/serialization.h 09:15:32 -- Installing: /usr/local/include/cbor/data.h 09:15:32 -- Installing: /usr/local/include/cbor/common.h 09:15:32 -- Installing: /usr/local/include/cbor/callbacks.h 09:15:32 -- Installing: /usr/local/include/cbor/strings.h 09:15:32 -- Installing: /usr/local/include/cbor/tags.h 09:15:32 -- Installing: /usr/local/include/cbor/internal 09:15:32 -- Installing: /usr/local/include/cbor/internal/encoders.h 09:15:32 -- Installing: /usr/local/include/cbor/internal/loaders.h 09:15:32 -- Installing: /usr/local/include/cbor/internal/stack.h 09:15:32 -- Installing: /usr/local/include/cbor/internal/unicode.h 09:15:32 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 09:15:32 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 09:15:32 -- Installing: /usr/local/include/cbor/arrays.h 09:15:32 -- Installing: /usr/local/include/cbor/maps.h 09:15:32 -- Installing: /usr/local/include/cbor.h 09:15:32 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 09:15:32 Removing intermediate container d09f15b21ee0 09:15:32 ---> 75977c2d93b7 09:15:32 Step 7/21 : COPY VERSION /tmp/sdk 09:15:32 ---> 66e0fd5f6456 09:15:32 Step 8/21 : COPY src /tmp/sdk/src 09:15:33 ---> 438ed254a9e6 09:15:33 Step 9/21 : COPY include /tmp/sdk/include 09:15:34 ---> 7b237b5c3470 09:15:34 Step 10/21 : COPY scripts /tmp/sdk/scripts 09:15:34 ---> a875bef89b6d 09:15:34 Step 11/21 : COPY LICENSE /tmp/sdk 09:15:34 ---> 336002b5b7ee 09:15:34 Step 12/21 : COPY Attribution.txt /tmp/sdk 09:15:34 ---> 352df24f94a1 09:15:34 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 09:15:34 ---> Running in af8da4270735 09:15:35 Removing intermediate container 835ddb8e9167 09:15:35 ---> 364d3c6017b7 09:15:35 Step 6/21 : RUN mkdir /tmp/sdk 09:15:35 ---> Running in 3e0f882014c0 09:15:35 + CPPCHECK=false 09:15:35 + DOCGEN=false 09:15:35 + TOMLVER=SDK-0.2 09:15:35 + CUTILVER=1.1-branch 09:15:35 + '[' 0 -gt 0 ] 09:15:35 + readlink -f ./scripts/build.sh 09:15:35 + dirname /tmp/sdk/scripts/build.sh 09:15:35 + dirname /tmp/sdk/scripts 09:15:35 + ROOT=/tmp/sdk 09:15:35 + cd /tmp/sdk 09:15:35 + '[' '!' -d deps ] 09:15:35 + mkdir deps 09:15:35 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 09:15:35 + tar -C deps -z -x -f - 09:15:35 --2020-07-31 09:15:35-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 09:15:35 Resolving github.com... 140.82.114.3 09:15:35 Connecting to github.com|140.82.114.3|:443... connected. 09:15:35 HTTP request sent, awaiting response... 302 Found 09:15:35 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 09:15:35 --2020-07-31 09:15:35-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 09:15:35 Resolving codeload.github.com... 140.82.114.9 09:15:35 Connecting to codeload.github.com|140.82.114.9|:443... connected. 09:15:35 HTTP request sent, awaiting response... 200 OK 09:15:35 Length: unspecified [application/x-gzip] 09:15:35 Saving to: 'STDOUT' 09:15:35  09:15:35 0K .......... ...... 883K=0.02s 09:15:35 09:15:35 2020-07-31 09:15:35 (883 KB/s) - written to stdout [16451] 09:15:35 09:15:35 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 09:15:35 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1-branch.tar.gz 09:15:35 + tar -C deps -z -x -f - 09:15:35 --2020-07-31 09:15:35-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1-branch.tar.gz 09:15:35 Resolving github.com... 140.82.114.3 09:15:35 Connecting to github.com|140.82.114.3|:443... connected. 09:15:35 HTTP request sent, awaiting response... 302 Found 09:15:35 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1-branch [following] 09:15:35 --2020-07-31 09:15:35-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1-branch 09:15:35 Resolving codeload.github.com... 140.82.114.9 09:15:35 Connecting to codeload.github.com|140.82.114.9|:443... connected. 09:15:36 HTTP request sent, awaiting response... 200 OK 09:15:36 Length: unspecified [application/x-gzip] 09:15:36 Saving to: 'STDOUT' 09:15:36  09:15:36 0K .......... .......... .......... .......... .......... 1.34M 09:15:36 50K .......... .......... .......... .......... .......... 2.62M 09:15:36 100K .......... .......... .......... .......... .......... 52.3M 09:15:36 150K .......... ..... 17.0M=0.06s 09:15:36 09:15:36 2020-07-31 09:15:35 (2.83 MB/s) - written to stdout [169364] 09:15:36 09:15:36 + mkdir -p src/c/iot 09:15:36 + cp deps/iotech-c-utils-1.1-branch/src/c/base64.c deps/iotech-c-utils-1.1-branch/src/c/component.c deps/iotech-c-utils-1.1-branch/src/c/config.c deps/iotech-c-utils-1.1-branch/src/c/container.c deps/iotech-c-utils-1.1-branch/src/c/data.c deps/iotech-c-utils-1.1-branch/src/c/hash.c deps/iotech-c-utils-1.1-branch/src/c/iot.c deps/iotech-c-utils-1.1-branch/src/c/json.c deps/iotech-c-utils-1.1-branch/src/c/logger.c deps/iotech-c-utils-1.1-branch/src/c/os.c deps/iotech-c-utils-1.1-branch/src/c/scheduler.c deps/iotech-c-utils-1.1-branch/src/c/thread.c deps/iotech-c-utils-1.1-branch/src/c/threadpool.c deps/iotech-c-utils-1.1-branch/src/c/time.c src/c/iot 09:15:36 + mkdir -p include/iot 09:15:36 + cp deps/iotech-c-utils-1.1-branch/include/iot/base64.h deps/iotech-c-utils-1.1-branch/include/iot/component.h deps/iotech-c-utils-1.1-branch/include/iot/config.h deps/iotech-c-utils-1.1-branch/include/iot/container.h deps/iotech-c-utils-1.1-branch/include/iot/data.h deps/iotech-c-utils-1.1-branch/include/iot/hash.h deps/iotech-c-utils-1.1-branch/include/iot/iot.h deps/iotech-c-utils-1.1-branch/include/iot/json.h deps/iotech-c-utils-1.1-branch/include/iot/logger.h deps/iotech-c-utils-1.1-branch/include/iot/os.h deps/iotech-c-utils-1.1-branch/include/iot/scheduler.h deps/iotech-c-utils-1.1-branch/include/iot/thread.h deps/iotech-c-utils-1.1-branch/include/iot/threadpool.h deps/iotech-c-utils-1.1-branch/include/iot/time.h deps/iotech-c-utils-1.1-branch/include/iot/typecode.h include/iot 09:15:36 + mkdir -p include/iot/os 09:15:36 + cp deps/iotech-c-utils-1.1-branch/include/iot/os/linux.h deps/iotech-c-utils-1.1-branch/include/iot/os/macos.h deps/iotech-c-utils-1.1-branch/include/iot/os/zephyr.h include/iot/os 09:15:36 + mkdir -p /tmp/sdk/build/release 09:15:36 + cd /tmp/sdk/build/release 09:15:36 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 09:15:36 -- The C compiler identification is GNU 8.3.0 09:15:36 -- Check for working C compiler: /usr/bin/cc 09:15:36 -- Check for working C compiler: /usr/bin/cc -- works 09:15:36 -- Detecting C compiler ABI info 09:15:36 -- Detecting C compiler ABI info - done 09:15:36 -- Detecting C compile features 09:15:36 -- Detecting C compile features - done 09:15:36 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 09:15:36 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 09:15:36 -- Found LIBYAML: /usr/lib/libyaml.so 09:15:36 -- Found LIBUUID: /usr/lib/libuuid.so 09:15:36 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 09:15:36 -- C SDK 0.0.0 for Linux 09:15:36 -- Performing Test CSDK_HAVE_ATOMIC 09:15:36 -- Performing Test CSDK_HAVE_ATOMIC - Success 09:15:36 -- Found Curses: /usr/lib/libcurses.so 09:15:36 -- Configuring done 09:15:36 -- Generating done 09:15:36 -- Build files have been written to: /tmp/sdk/build/release 09:15:36 + make 09:15:36 + tee release.log 09:15:36 Scanning dependencies of target csdk 09:15:36 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 09:15:37 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 09:15:37 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 09:15:37 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 09:15:37 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 09:15:37 Removing intermediate container 3e0f882014c0 09:15:37 ---> e7c1f9114a4a 09:15:37 Step 7/21 : COPY VERSION /tmp/sdk 09:15:37 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 09:15:37 ---> 00d7fd476aea 09:15:37 Step 8/21 : COPY src /tmp/sdk/src 09:15:38 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 09:15:38 [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 09:15:38 [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 09:15:38 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 09:15:38 ---> 56275992603b 09:15:38 Step 9/21 : COPY include /tmp/sdk/include 09:15:39 [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 09:15:39 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 09:15:39 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 09:15:39 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 09:15:39 ---> c88433a5b7e5 09:15:39 Step 10/21 : COPY scripts /tmp/sdk/scripts 09:15:40 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 09:15:40 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 09:15:40 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 09:15:40 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 09:15:40 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 09:15:40 ---> 611388c31add 09:15:40 Step 11/21 : COPY LICENSE /tmp/sdk 09:15:41 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 09:15:41 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 09:15:41 ---> 1983c80c72f3 09:15:41 Step 12/21 : COPY Attribution.txt /tmp/sdk 09:15:41 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 09:15:41 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 09:15:41 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 09:15:41 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 09:15:41 ---> 4fe583d88160 09:15:41 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 09:15:41 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 09:15:41 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 09:15:42 ---> Running in ea2a9bd9c934 09:15:42 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 09:15:42 [ 48%] Building C object c/CMakeFiles/csdk.dir/map.c.o 09:15:42 [ 50%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 09:15:42 [ 51%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 09:15:42 [ 53%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 09:15:43 + CPPCHECK=false 09:15:43 + DOCGEN=false 09:15:43 + TOMLVER=SDK-0.2 09:15:43 + CUTILVER=1.1-branch 09:15:43 + '[' 0 -gt 0 ] 09:15:43 + readlink -f ./scripts/build.sh 09:15:43 + dirname /tmp/sdk/scripts/build.sh 09:15:43 + dirname /tmp/sdk/scripts 09:15:43 + ROOT=/tmp/sdk 09:15:43 + cd /tmp/sdk 09:15:43 + '[' '!' -d deps ] 09:15:43 + mkdir deps 09:15:43 + + tarwget -C -O deps - -z https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 09:15:43 -x -f - 09:15:43 --2020-07-31 09:15:43-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 09:15:43 Resolving github.com... 140.82.114.3 09:15:43 Connecting to github.com|140.82.114.3|:443... connected. 09:15:43 HTTP request sent, awaiting response... 302 Found 09:15:43 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 09:15:43 --2020-07-31 09:15:43-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 09:15:43 Resolving codeload.github.com... 140.82.114.9 09:15:43 Connecting to codeload.github.com|140.82.114.9|:443... connected. 09:15:43 HTTP request sent, awaiting response... 200 OK 09:15:43 Length: unspecified [application/x-gzip] 09:15:43 Saving to: 'STDOUT' 09:15:43 09:15:43 0K .......... ......   1.01M=0.02s 09:15:43 09:15:43 2020-07-31 09:15:43 (1.01 MB/s) - written to stdout [16451] 09:15:43 09:15:43 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 09:15:43 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1-branch.tar.gz 09:15:43 + tar -C deps -z -x -f - 09:15:43 --2020-07-31 09:15:43-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1-branch.tar.gz 09:15:43 Resolving github.com... 140.82.114.3 09:15:43 Connecting to github.com|140.82.114.3|:443... connected. 09:15:43 HTTP request sent, awaiting response... 302 Found 09:15:43 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1-branch [following] 09:15:43 --2020-07-31 09:15:43-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1-branch 09:15:43 Resolving codeload.github.com... 140.82.114.9 09:15:43 Connecting to codeload.github.com|140.82.114.9|:443... connected. 09:15:43 HTTP request sent, awaiting response... 200 OK 09:15:43 Length: unspecified [application/x-gzip] 09:15:43 Saving to: 'STDOUT' 09:15:43  09:15:43 [ 55%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 09:15:43 [ 56%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 09:15:43 [ 58%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 09:15:43 0K .......... .......... .......... .......... .......... 1.62M 09:15:43 50K .......... .......... .......... .......... .......... 3.40M 09:15:43 100K .......... .......... .......... .......... .......... 3.88M 09:15:43 150K .......... ..... 3.44M=0.06s 09:15:43 09:15:43 2020-07-31 09:15:43 (2.63 MB/s) - written to stdout [169364] 09:15:43 09:15:43 + mkdir -p src/c/iot 09:15:43 + cp deps/iotech-c-utils-1.1-branch/src/c/base64.c deps/iotech-c-utils-1.1-branch/src/c/component.c deps/iotech-c-utils-1.1-branch/src/c/config.c deps/iotech-c-utils-1.1-branch/src/c/container.c deps/iotech-c-utils-1.1-branch/src/c/data.c deps/iotech-c-utils-1.1-branch/src/c/hash.c deps/iotech-c-utils-1.1-branch/src/c/iot.c deps/iotech-c-utils-1.1-branch/src/c/json.c deps/iotech-c-utils-1.1-branch/src/c/logger.c deps/iotech-c-utils-1.1-branch/src/c/os.c deps/iotech-c-utils-1.1-branch/src/c/scheduler.c deps/iotech-c-utils-1.1-branch/src/c/thread.c deps/iotech-c-utils-1.1-branch/src/c/threadpool.c deps/iotech-c-utils-1.1-branch/src/c/time.c src/c/iot 09:15:43 + mkdir -p include/iot 09:15:43 + cp deps/iotech-c-utils-1.1-branch/include/iot/base64.h deps/iotech-c-utils-1.1-branch/include/iot/component.h deps/iotech-c-utils-1.1-branch/include/iot/config.h deps/iotech-c-utils-1.1-branch/include/iot/container.h deps/iotech-c-utils-1.1-branch/include/iot/data.h deps/iotech-c-utils-1.1-branch/include/iot/hash.h deps/iotech-c-utils-1.1-branch/include/iot/iot.h deps/iotech-c-utils-1.1-branch/include/iot/json.h deps/iotech-c-utils-1.1-branch/include/iot/logger.h deps/iotech-c-utils-1.1-branch/include/iot/os.h deps/iotech-c-utils-1.1-branch/include/iot/scheduler.h deps/iotech-c-utils-1.1-branch/include/iot/thread.h deps/iotech-c-utils-1.1-branch/include/iot/threadpool.h deps/iotech-c-utils-1.1-branch/include/iot/time.h deps/iotech-c-utils-1.1-branch/include/iot/typecode.h include/iot 09:15:43 + mkdir -p include/iot/os 09:15:43 + cp deps/iotech-c-utils-1.1-branch/include/iot/os/linux.h deps/iotech-c-utils-1.1-branch/include/iot/os/macos.h deps/iotech-c-utils-1.1-branch/include/iot/os/zephyr.h include/iot/os 09:15:43 + mkdir -p /tmp/sdk/build/release 09:15:43 + cd /tmp/sdk/build/release 09:15:43 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 09:15:44 [ 60%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 09:15:44 -- The C compiler identification is GNU 8.3.0 09:15:44 -- Check for working C compiler: /usr/bin/cc 09:15:44 [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o 09:15:44 -- Check for working C compiler: /usr/bin/cc -- works 09:15:44 -- Detecting C compiler ABI info 09:15:44 -- Detecting C compiler ABI info - done 09:15:44 -- Detecting C compile features 09:15:44 [ 63%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 09:15:45 [ 65%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 09:15:45 [ 66%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 09:15:45 -- Detecting C compile features - done 09:15:45 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 09:15:45 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 09:15:45 -- Found LIBYAML: /usr/lib/libyaml.so 09:15:45 -- Found LIBUUID: /usr/lib/libuuid.so 09:15:45 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 09:15:45 -- C SDK 0.0.0 for Linux 09:15:45 -- Performing Test CSDK_HAVE_ATOMIC 09:15:45 -- Performing Test CSDK_HAVE_ATOMIC - Success 09:15:45 -- Found Curses: /usr/lib/libcurses.so 09:15:46 [ 68%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 09:15:46 -- Configuring done 09:15:46 [ 70%] Linking C shared library libcsdk.so 09:15:46 [ 70%] Built target csdk 09:15:46 Scanning dependencies of target template 09:15:46 [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 09:15:46 -- Generating done 09:15:46 -- Build files have been written to: /tmp/sdk/build/release 09:15:46 + + teemake 09:15:46 release.log 09:15:46 Scanning dependencies of target csdk 09:15:46 [ 73%] Linking C executable template 09:15:46 [ 73%] Built target template 09:15:46 Scanning dependencies of target device-counter 09:15:46 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 09:15:46 [ 76%] Linking C executable device-counter 09:15:46 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 09:15:46 [ 76%] Built target device-counter 09:15:46 Scanning dependencies of target device-random 09:15:46 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 09:15:46 [ 80%] Linking C executable device-random 09:15:46 [ 80%] Built target device-random 09:15:46 Scanning dependencies of target device-gyro 09:15:46 [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 09:15:47 [ 83%] Linking C executable device-gyro 09:15:47 [ 83%] Built target device-gyro 09:15:47 Scanning dependencies of target device-bitfields 09:15:47 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 09:15:47 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 09:15:47 [ 86%] Linking C executable device-bitfields 09:15:47 [ 86%] Built target device-bitfields 09:15:47 Scanning dependencies of target template-discovery 09:15:47 [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 09:15:47 [ 90%] Linking C executable template-discovery 09:15:47 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 09:15:47 [ 90%] Built target template-discovery 09:15:47 Scanning dependencies of target device-file 09:15:47 [ 91%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 09:15:47 [ 93%] Linking C executable device-file 09:15:47 [ 93%] Built target device-file 09:15:47 Scanning dependencies of target device-terminal 09:15:47 [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 09:15:47 [ 96%] Linking C executable device-terminal 09:15:47 [ 96%] Built target device-terminal 09:15:47 Scanning dependencies of target templatev1 09:15:47 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 09:15:48 [100%] Linking C executable templatev1 09:15:48 [100%] Built target templatev1 09:15:48 + make package 09:15:48 + tee -a release.log 09:15:48 [ 70%] Built target csdk 09:15:48 [ 73%] Built target template 09:15:48 [ 76%] Built target device-counter 09:15:48 [ 80%] Built target device-random 09:15:48 [ 83%] Built target device-gyro 09:15:48 [ 86%] Built target device-bitfields 09:15:48 [ 90%] Built target template-discovery 09:15:48 [ 93%] Built target device-file 09:15:48 [ 96%] Built target device-terminal 09:15:48 [100%] Built target templatev1 09:15:48 Run CPack packaging tool... 09:15:48 CPack: Create package using TGZ 09:15:48 CPack: Install projects 09:15:48 CPack: - Run preinstall target for: Csdk 09:15:48 CPack: - Install project: Csdk 09:15:48 CPack: Create package 09:15:48 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 09:15:48 + '[' false '=' true ] 09:15:48 + '[' false '=' true ] 09:15:48 + mkdir -p /tmp/sdk/build/debug 09:15:48 + cd /tmp/sdk/build/debug 09:15:48 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 09:15:48 -- The C compiler identification is GNU 8.3.0 09:15:48 -- Check for working C compiler: /usr/bin/cc 09:15:48 -- Check for working C compiler: /usr/bin/cc -- works 09:15:48 -- Detecting C compiler ABI info 09:15:48 -- Detecting C compiler ABI info - done 09:15:48 -- Detecting C compile features 09:15:49 -- Detecting C compile features - done 09:15:49 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 09:15:49 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 09:15:49 -- Found LIBYAML: /usr/lib/libyaml.so 09:15:49 -- Found LIBUUID: /usr/lib/libuuid.so 09:15:49 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 09:15:49 -- C SDK 0.0.0 for Linux 09:15:49 -- Performing Test CSDK_HAVE_ATOMIC 09:15:49 -- Performing Test CSDK_HAVE_ATOMIC - Success 09:15:49 -- Found Curses: /usr/lib/libcurses.so 09:15:49 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 09:15:49 -- Configuring done 09:15:49 -- Generating done 09:15:49 -- Build files have been written to: /tmp/sdk/build/debug 09:15:49 + make 09:15:49 + tee debug.log 09:15:49 Scanning dependencies of target csdk 09:15:49 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 09:15:49 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 09:15:49 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 09:15:49 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 09:15:50 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 09:15:50 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 09:15:50 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 09:15:50 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 09:15:50 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 09:15:50 [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 09:15:50 [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 09:15:50 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 09:15:50 [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 09:15:50 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 09:15:50 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 09:15:50 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 09:15:50 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 09:15:51 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 09:15:51 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 09:15:51 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 09:15:51 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 09:15:51 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 09:15:51 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 09:15:51 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 09:15:51 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 09:15:51 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 09:15:51 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 09:15:51 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 09:15:51 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 09:15:51 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 09:15:51 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 09:15:52 [ 48%] Building C object c/CMakeFiles/csdk.dir/map.c.o 09:15:52 [ 50%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 09:15:52 [ 51%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 09:15:52 [ 53%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 09:15:52 [ 55%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 09:15:52 [ 56%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 09:15:52 [ 58%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 09:15:52 [ 60%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 09:15:52 [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o 09:15:53 [ 63%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 09:15:53 [ 65%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 09:15:53 [ 66%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 09:15:53 [ 68%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 09:15:53 [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 09:15:53 [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 09:15:53 [ 70%] Linking C shared library libcsdk.so 09:15:53 [ 70%] Built target csdk 09:15:53 Scanning dependencies of target template 09:15:53 [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 09:15:53 [ 73%] Linking C executable template 09:15:53 [ 73%] Built target template 09:15:53 Scanning dependencies of target device-counter 09:15:53 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 09:15:53 [ 76%] Linking C executable device-counter 09:15:53 [ 76%] Built target device-counter 09:15:53 Scanning dependencies of target device-random 09:15:53 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 09:15:54 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 09:15:54 [ 80%] Linking C executable device-random 09:15:54 [ 80%] Built target device-random 09:15:54 Scanning dependencies of target device-gyro 09:15:54 [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 09:15:54 [ 83%] Linking C executable device-gyro 09:15:54 [ 83%] Built target device-gyro 09:15:54 Scanning dependencies of target device-bitfields 09:15:54 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 09:15:54 [ 86%] Linking C executable device-bitfields 09:15:54 [ 86%] Built target device-bitfields 09:15:54 Scanning dependencies of target template-discovery 09:15:54 [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 09:15:54 [ 90%] Linking C executable template-discovery 09:15:54 [ 90%] Built target template-discovery 09:15:54 Scanning dependencies of target device-file 09:15:54 [ 91%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 09:15:54 [ 93%] Linking C executable device-file 09:15:54 [ 93%] Built target device-file 09:15:54 Scanning dependencies of target device-terminal 09:15:54 [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 09:15:54 [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 09:15:54 [ 96%] Linking C executable device-terminal 09:15:54 [ 96%] Built target device-terminal 09:15:54 Scanning dependencies of target templatev1 09:15:54 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 09:15:54 [100%] Linking C executable templatev1 09:15:54 [100%] Built target templatev1 09:15:54 make: Entering directory '/tmp/sdk/build/release' 09:15:55 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 09:15:55 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 09:15:55 make[1]: Entering directory '/tmp/sdk/build/release' 09:15:55 make[2]: Entering directory '/tmp/sdk/build/release' 09:15:55 make[2]: Leaving directory '/tmp/sdk/build/release' 09:15:55 [ 70%] Built target csdk 09:15:55 make[2]: Entering directory '/tmp/sdk/build/release' 09:15:55 make[2]: Leaving directory '/tmp/sdk/build/release' 09:15:55 [ 73%] Built target template 09:15:55 make[2]: Entering directory '/tmp/sdk/build/release' 09:15:55 make[2]: Leaving directory '/tmp/sdk/build/release' 09:15:55 [ 76%] Built target device-counter 09:15:55 make[2]: Entering directory '/tmp/sdk/build/release' 09:15:55 make[2]: Leaving directory '/tmp/sdk/build/release' 09:15:55 [ 80%] Built target device-random 09:15:55 make[2]: Entering directory '/tmp/sdk/build/release' 09:15:55 make[2]: Leaving directory '/tmp/sdk/build/release' 09:15:55 [ 83%] Built target device-gyro 09:15:55 make[2]: Entering directory '/tmp/sdk/build/release' 09:15:55 make[2]: Leaving directory '/tmp/sdk/build/release' 09:15:55 [ 86%] Built target device-bitfields 09:15:55 make[2]: Entering directory '/tmp/sdk/build/release' 09:15:55 make[2]: Leaving directory '/tmp/sdk/build/release' 09:15:55 [ 90%] Built target template-discovery 09:15:55 make[2]: Entering directory '/tmp/sdk/build/release' 09:15:55 make[2]: Leaving directory '/tmp/sdk/build/release' 09:15:55 [ 93%] Built target device-file 09:15:55 make[2]: Entering directory '/tmp/sdk/build/release' 09:15:55 make[2]: Leaving directory '/tmp/sdk/build/release' 09:15:55 [ 96%] Built target device-terminal 09:15:55 make[2]: Entering directory '/tmp/sdk/build/release' 09:15:55 make[2]: Leaving directory '/tmp/sdk/build/release' 09:15:55 [100%] Built target templatev1 09:15:55 make[1]: Leaving directory '/tmp/sdk/build/release' 09:15:55 Install the project... 09:15:55 -- Install configuration: "Release" 09:15:55 -- Installing: /usr/local/lib/libcsdk.so 09:15:55 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 09:15:55 -- Up-to-date: /usr/local/include 09:15:55 -- Installing: /usr/local/include/devsdk 09:15:55 -- Installing: /usr/local/include/devsdk/devsdk-base.h 09:15:55 -- Installing: /usr/local/include/devsdk/devsdk.h 09:15:55 -- Installing: /usr/local/include/edgex 09:15:55 -- Installing: /usr/local/include/edgex/device-mgmt.h 09:15:55 -- Installing: /usr/local/include/edgex/devices.h 09:15:55 -- Installing: /usr/local/include/edgex/devsdk.h 09:15:55 -- Installing: /usr/local/include/edgex/edgex-base.h 09:15:55 -- Installing: /usr/local/include/edgex/edgex.h 09:15:55 -- Installing: /usr/local/include/edgex/error.h 09:15:55 -- Installing: /usr/local/include/edgex/eventgen.h 09:15:55 -- Installing: /usr/local/include/edgex/os.h 09:15:55 -- Installing: /usr/local/include/edgex/profiles.h 09:15:55 -- Installing: /usr/local/include/edgex/rest-server.h 09:15:55 -- Installing: /usr/local/include/edgex/csdk-defs.h 09:15:55 -- Installing: /usr/local/include/iot 09:15:55 -- Installing: /usr/local/include/iot/base64.h 09:15:55 -- Installing: /usr/local/include/iot/component.h 09:15:55 -- Installing: /usr/local/include/iot/config.h 09:15:55 -- Installing: /usr/local/include/iot/container.h 09:15:55 -- Installing: /usr/local/include/iot/data.h 09:15:55 -- Installing: /usr/local/include/iot/hash.h 09:15:55 -- Installing: /usr/local/include/iot/iot.h 09:15:55 -- Installing: /usr/local/include/iot/json.h 09:15:55 -- Installing: /usr/local/include/iot/logger.h 09:15:55 -- Installing: /usr/local/include/iot/os.h 09:15:55 -- Installing: /usr/local/include/iot/scheduler.h 09:15:55 -- Installing: /usr/local/include/iot/thread.h 09:15:55 -- Installing: /usr/local/include/iot/threadpool.h 09:15:55 -- Installing: /usr/local/include/iot/time.h 09:15:55 -- Installing: /usr/local/include/iot/typecode.h 09:15:55 -- Installing: /usr/local/include/iot/os 09:15:55 -- Installing: /usr/local/include/iot/os/linux.h 09:15:55 -- Installing: /usr/local/include/iot/os/macos.h 09:15:55 -- Installing: /usr/local/include/iot/os/zephyr.h 09:15:55 -- Installing: /usr/local/share/device-sdk-c/LICENSE 09:15:55 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 09:15:55 make: Leaving directory '/tmp/sdk/build/release' 09:15:55 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 09:15:57 Removing intermediate container af8da4270735 09:15:57 ---> fccac18681f6 09:15:57 Step 14/21 : FROM ${BASE} 09:15:57 ---> 5eabd8fd8ba2 09:15:57 Step 15/21 : MAINTAINER IOTech 09:15:57 ---> Running in 691c36216dcd 09:15:57 Removing intermediate container 691c36216dcd 09:15:57 ---> 2483b21db366 09:15:57 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 09:15:57 ---> Running in 447109fb47fc 09:15:58 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 09:15:58 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 09:15:59 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 09:15:59 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 09:15:59 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 09:15:59 (1/3) Installing curl (7.64.0-r3) 09:15:59 (2/3) Installing libuuid (2.33-r0) 09:15:59 (3/3) Installing wget (1.20.3-r0) 09:15:59 Executing busybox-1.29.3-r10.trigger 09:15:59 OK: 268 MiB in 78 packages 09:15:59 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 09:16:00 Removing intermediate container 447109fb47fc 09:16:00 ---> 8a50c2f661be 09:16:00 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 09:16:00 ---> ad57ffe7e7a8 09:16:00 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 09:16:00 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 09:16:00 ---> 589af4420987 09:16:00 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 09:16:00 ---> 7f795165a8f2 09:16:00 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 09:16:01 ---> a941000dc01c 09:16:01 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 09:16:01 ---> b769fcf63685 09:16:01 Successfully built b769fcf63685 09:16:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:16:02 + docker inspect -f . ci-base-image-x86_64 09:16:02 . [Pipeline] withDockerContainer 09:16:02 prd-centos7-docker-4c-2g-1687 does not seem to be running inside a container 09:16:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:16:03 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 09:16:03 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 09:16:03 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 09:16:03 $ docker top b5277485907b0b97e87c31df89b8eca49a81e6aba300e49693816c436a35d15c -eo pid,comm [Pipeline] { [Pipeline] sh 09:16:03 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 09:16:03 + make test 09:16:03 echo "make test" 09:16:03 make test [Pipeline] } 09:16:03 $ docker stop --time=1 b5277485907b0b97e87c31df89b8eca49a81e6aba300e49693816c436a35d15c 09:16:04 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 09:16:04 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 09:16:05 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 09:16:05 $ docker rm -f b5277485907b0b97e87c31df89b8eca49a81e6aba300e49693816c436a35d15c [Pipeline] // withDockerContainer [Pipeline] } 09:16:05 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 09:16:06 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 09:16:06 [ 48%] Building C object c/CMakeFiles/csdk.dir/map.c.o 09:16:06 [ 50%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 09:16:07 [ 51%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 09:16:07 [ 53%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [Pipeline] sh 09:16:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:16:08 + ls -al . 09:16:08 total 160 09:16:08 drwxrwxr-x. 9 jenkins jenkins 275 Jul 31 09:15 . 09:16:08 drwxrwxr-x. 4 jenkins jenkins 28 Jul 31 09:15 .. 09:16:08 -rw-rw-r--. 1 jenkins jenkins 3104 Jul 31 09:15 Attribution.txt 09:16:08 -rw-rw-r--. 1 jenkins jenkins 5842 Jul 31 09:15 CHANGES 09:16:08 drwxrwxr-x. 2 jenkins jenkins 144 Jul 31 09:15 docs 09:16:08 -rw-rw-r--. 1 jenkins jenkins 108574 Jul 31 09:15 Doxyfile 09:16:08 drwxrwxr-x. 8 jenkins jenkins 179 Jul 31 09:15 .git 09:16:08 drwxrwxr-x. 2 jenkins jenkins 38 Jul 31 09:15 .github 09:16:08 -rw-rw-r--. 1 jenkins jenkins 176 Jul 31 09:15 .gitignore 09:16:08 drwxrwxr-x. 4 jenkins jenkins 33 Jul 31 09:15 include 09:16:08 -rw-rw-r--. 1 jenkins jenkins 794 Jul 31 09:15 Jenkinsfile 09:16:08 -rw-rw-r--. 1 jenkins jenkins 10174 Jul 31 09:15 LICENSE 09:16:08 -rw-rw-r--. 1 jenkins jenkins 449 Jul 31 09:15 Makefile 09:16:08 -rw-rw-r--. 1 jenkins jenkins 1899 Jul 31 09:15 README.md 09:16:08 -rw-rw-r--. 1 jenkins jenkins 5977 Jul 31 09:15 README.v2.md 09:16:08 drwxrwxr-x. 2 jenkins jenkins 108 Jul 31 09:15 scripts 09:16:08 drwxrwxr-x. 3 jenkins jenkins 72 Jul 31 09:15 .semver 09:16:08 drwxrwxr-x. 4 jenkins jenkins 50 Jul 31 09:15 src 09:16:08 -rw-rw-r--. 1 jenkins jenkins 5 Jul 31 09:12 VERSION [Pipeline] isUnix [Pipeline] sh 09:16:09 + docker build -t docker-device-sdk-c -f scripts/Dockerfile.alpine-3.11 --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=db1d01ed50fede27c73a10e9088d1d8d82358a17 --label arch=amd64 --label version=0.0.0 . 09:16:09 Sending build context to Docker daemon 3.479MB 09:16:09 Step 1/15 : ARG BASE=alpine:3.11 09:16:09 Step 2/15 : FROM ${BASE} 09:16:09 ---> b769fcf63685 09:16:09 Step 3/15 : MAINTAINER IOTech 09:16:09 ---> Running in 73b483c9714b 09:16:09 Removing intermediate container 73b483c9714b 09:16:09 ---> 8118d12270b1 09:16:09 Step 4/15 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev && mkdir -p /edgex-c-sdk/build 09:16:09 ---> Running in 118542cf208a 09:16:10 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 09:16:11 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 09:16:11 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 09:16:11 (2/6) Installing libblkid (2.33-r0) 09:16:11 (3/6) Installing libfdisk (2.33-r0) 09:16:11 (4/6) Installing libmount (2.33-r0) 09:16:11 (5/6) Installing libsmartcols (2.33-r0) 09:16:11 (6/6) Installing util-linux-dev (2.33-r0) 09:16:12 Executing busybox-1.29.3-r10.trigger 09:16:12 OK: 272 MiB in 84 packages 09:16:12 [ 55%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 09:16:12 [ 56%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 09:16:12 Removing intermediate container 118542cf208a 09:16:12 ---> a1309bcbea3d 09:16:12 Step 5/15 : COPY VERSION /edgex-c-sdk/ 09:16:12 ---> e2a66f7b1dba 09:16:12 Step 6/15 : COPY src /edgex-c-sdk/src/ 09:16:13 [ 58%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 09:16:13 ---> 741cb6e6dc48 09:16:13 Step 7/15 : COPY include /edgex-c-sdk/include/ 09:16:13 [ 60%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 09:16:13 ---> c3c573992a9d 09:16:13 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 09:16:14 ---> 72847ac2f8ed 09:16:14 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 09:16:14 ---> f7df51ec8ed2 09:16:14 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 09:16:14 ---> 817b94e261b3 09:16:14 Step 11/15 : WORKDIR /edgex-c-sdk 09:16:14 ---> Running in b278161023a7 09:16:14 Removing intermediate container b278161023a7 09:16:14 ---> 782d0a5526ec 09:16:14 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 09:16:14 ---> Running in 20311c123ada 09:16:14 Removing intermediate container 20311c123ada 09:16:14 ---> 2f7155c6d1d7 09:16:14 Step 13/15 : LABEL arch=amd64 09:16:15 ---> Running in 0608151db62b 09:16:15 Removing intermediate container 0608151db62b 09:16:15 ---> 792a296e45bd 09:16:15 Step 14/15 : LABEL git_sha=db1d01ed50fede27c73a10e9088d1d8d82358a17 09:16:15 ---> Running in f947f08f9e59 09:16:15 [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o 09:16:15 Removing intermediate container f947f08f9e59 09:16:15 ---> 8fc087fe0cef 09:16:15 Step 15/15 : LABEL version=0.0.0 09:16:15 ---> Running in 321015876bcc 09:16:15 Removing intermediate container 321015876bcc 09:16:15 ---> da3409486163 09:16:15 [Warning] One or more build-args [ARCH MAKE] were not consumed 09:16:15 Successfully built da3409486163 09:16:15 Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage 09:16:17 [ 63%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [Pipeline] } 09:16:20 [ 65%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 09:16:20 [ 66%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 09:16:21 [ 68%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 09:16:22 [ 70%] Linking C shared library libcsdk.so 09:16:22 [ 70%] Built target csdk 09:16:22 Scanning dependencies of target template 09:16:22 [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 09:16:23 [ 73%] Linking C executable template 09:16:23 [ 73%] Built target template 09:16:23 Scanning dependencies of target device-counter 09:16:23 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 09:16:23 [ 76%] Linking C executable device-counter 09:16:23 [ 76%] Built target device-counter 09:16:23 Scanning dependencies of target device-random 09:16:23 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 09:16:24 [ 80%] Linking C executable device-random 09:16:24 [ 80%] Built target device-random 09:16:24 Scanning dependencies of target device-gyro 09:16:24 [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 09:16:25 [ 83%] Linking C executable device-gyro 09:16:25 [ 83%] Built target device-gyro 09:16:25 Scanning dependencies of target device-bitfields 09:16:25 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 09:16:25 [ 86%] Linking C executable device-bitfields 09:16:25 [ 86%] Built target device-bitfields 09:16:25 Scanning dependencies of target template-discovery 09:16:26 [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 09:16:26 [ 90%] Linking C executable template-discovery 09:16:26 [ 90%] Built target template-discovery 09:16:26 Scanning dependencies of target device-file 09:16:26 [ 91%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 09:16:27 [ 93%] Linking C executable device-file 09:16:27 [ 93%] Built target device-file 09:16:27 Scanning dependencies of target device-terminal 09:16:27 [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 09:16:28 [ 96%] Linking C executable device-terminal 09:16:28 [ 96%] Built target device-terminal 09:16:28 Scanning dependencies of target templatev1 09:16:28 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 09:16:28 [100%] Linking C executable templatev1 09:16:29 [100%] Built target templatev1 09:16:29 + make package 09:16:29 + tee -a release.log 09:16:29 [ 70%] Built target csdk 09:16:29 [ 73%] Built target template 09:16:29 [ 76%] Built target device-counter 09:16:29 [ 80%] Built target device-random 09:16:29 [ 83%] Built target device-gyro 09:16:29 [ 86%] Built target device-bitfields 09:16:29 [ 90%] Built target template-discovery 09:16:29 [ 93%] Built target device-file 09:16:29 [ 96%] Built target device-terminal 09:16:29 [100%] Built target templatev1 09:16:29 Run CPack packaging tool... 09:16:29 CPack: Create package using TGZ 09:16:29 CPack: Install projects 09:16:29 CPack: - Run preinstall target for: Csdk 09:16:30 CPack: - Install project: Csdk 09:16:30 CPack: Create package 09:16:30 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 09:16:30 + '[' false '=' true ] 09:16:30 + '[' false '=' true ] 09:16:30 + mkdir -p /tmp/sdk/build/debug 09:16:30 + cd /tmp/sdk/build/debug 09:16:30 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 09:16:30 -- The C compiler identification is GNU 8.3.0 09:16:30 -- Check for working C compiler: /usr/bin/cc 09:16:31 -- Check for working C compiler: /usr/bin/cc -- works 09:16:31 -- Detecting C compiler ABI info 09:16:31 -- Detecting C compiler ABI info - done 09:16:31 -- Detecting C compile features 09:16:32 -- Detecting C compile features - done 09:16:32 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 09:16:32 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 09:16:32 -- Found LIBYAML: /usr/lib/libyaml.so 09:16:32 -- Found LIBUUID: /usr/lib/libuuid.so 09:16:32 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 09:16:32 -- C SDK 0.0.0 for Linux 09:16:32 -- Performing Test CSDK_HAVE_ATOMIC 09:16:32 -- Performing Test CSDK_HAVE_ATOMIC - Success 09:16:32 -- Found Curses: /usr/lib/libcurses.so 09:16:32 -- Configuring done 09:16:32 -- Generating done 09:16:32 -- Build files have been written to: /tmp/sdk/build/debug 09:16:32 + make 09:16:32 + tee debug.log 09:16:32 Scanning dependencies of target csdk 09:16:33 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 09:16:33 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 09:16:33 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 09:16:34 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 09:16:34 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 09:16:34 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 09:16:35 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 09:16:35 [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 09:16:36 [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 09:16:36 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 09:16:36 [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 09:16:36 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 09:16:37 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 09:16:37 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 09:16:38 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 09:16:38 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 09:16:38 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 09:16:38 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 09:16:39 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 09:16:39 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 09:16:39 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 09:16:40 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 09:16:40 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 09:16:40 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 09:16:40 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 09:16:40 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 09:16:41 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 09:16:41 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 09:16:41 [ 48%] Building C object c/CMakeFiles/csdk.dir/map.c.o 09:16:41 [ 50%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 09:16:42 [ 51%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 09:16:42 [ 53%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 09:16:43 [ 55%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 09:16:43 [ 56%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 09:16:43 [ 58%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 09:16:44 [ 60%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 09:16:45 [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o 09:16:45 [ 63%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 09:16:46 [ 65%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 09:16:46 [ 66%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 09:16:46 [ 68%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 09:16:47 [ 70%] Linking C shared library libcsdk.so 09:16:47 [ 70%] Built target csdk 09:16:47 Scanning dependencies of target template 09:16:47 [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 09:16:47 [ 73%] Linking C executable template 09:16:47 [ 73%] Built target template 09:16:47 Scanning dependencies of target device-counter 09:16:47 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 09:16:48 [ 76%] Linking C executable device-counter 09:16:48 [ 76%] Built target device-counter 09:16:48 Scanning dependencies of target device-random 09:16:48 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 09:16:48 [ 80%] Linking C executable device-random 09:16:49 [ 80%] Built target device-random 09:16:49 Scanning dependencies of target device-gyro 09:16:49 [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 09:16:49 [ 83%] Linking C executable device-gyro 09:16:49 [ 83%] Built target device-gyro 09:16:49 Scanning dependencies of target device-bitfields 09:16:49 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 09:16:49 [ 86%] Linking C executable device-bitfields 09:16:49 [ 86%] Built target device-bitfields 09:16:49 Scanning dependencies of target template-discovery 09:16:50 [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 09:16:50 [ 90%] Linking C executable template-discovery 09:16:50 [ 90%] Built target template-discovery 09:16:50 Scanning dependencies of target device-file 09:16:50 [ 91%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 09:16:50 [ 93%] Linking C executable device-file 09:16:50 [ 93%] Built target device-file 09:16:50 Scanning dependencies of target device-terminal 09:16:50 [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 09:16:51 [ 96%] Linking C executable device-terminal 09:16:51 [ 96%] Built target device-terminal 09:16:51 Scanning dependencies of target templatev1 09:16:51 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 09:16:51 [100%] Linking C executable templatev1 09:16:52 [100%] Built target templatev1 09:16:52 make: Entering directory '/tmp/sdk/build/release' 09:16:52 make[1]: Entering directory '/tmp/sdk/build/release' 09:16:52 make[2]: Entering directory '/tmp/sdk/build/release' 09:16:52 make[2]: Leaving directory '/tmp/sdk/build/release' 09:16:52 [ 70%] Built target csdk 09:16:52 make[2]: Entering directory '/tmp/sdk/build/release' 09:16:52 make[2]: Leaving directory '/tmp/sdk/build/release' 09:16:52 [ 73%] Built target template 09:16:52 make[2]: Entering directory '/tmp/sdk/build/release' 09:16:52 make[2]: Leaving directory '/tmp/sdk/build/release' 09:16:52 [ 76%] Built target device-counter 09:16:52 make[2]: Entering directory '/tmp/sdk/build/release' 09:16:52 make[2]: Leaving directory '/tmp/sdk/build/release' 09:16:52 [ 80%] Built target device-random 09:16:52 make[2]: Entering directory '/tmp/sdk/build/release' 09:16:52 make[2]: Leaving directory '/tmp/sdk/build/release' 09:16:52 [ 83%] Built target device-gyro 09:16:52 make[2]: Entering directory '/tmp/sdk/build/release' 09:16:52 make[2]: Leaving directory '/tmp/sdk/build/release' 09:16:52 [ 86%] Built target device-bitfields 09:16:52 make[2]: Entering directory '/tmp/sdk/build/release' 09:16:52 make[2]: Leaving directory '/tmp/sdk/build/release' 09:16:52 [ 90%] Built target template-discovery 09:16:52 make[2]: Entering directory '/tmp/sdk/build/release' 09:16:52 make[2]: Leaving directory '/tmp/sdk/build/release' 09:16:52 [ 93%] Built target device-file 09:16:52 make[2]: Entering directory '/tmp/sdk/build/release' 09:16:52 make[2]: Leaving directory '/tmp/sdk/build/release' 09:16:52 [ 96%] Built target device-terminal 09:16:52 make[2]: Entering directory '/tmp/sdk/build/release' 09:16:52 make[2]: Leaving directory '/tmp/sdk/build/release' 09:16:52 [100%] Built target templatev1 09:16:52 make[1]: Leaving directory '/tmp/sdk/build/release' 09:16:52 Install the project... 09:16:52 -- Install configuration: "Release" 09:16:52 -- Installing: /usr/local/lib/libcsdk.so 09:16:52 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 09:16:52 -- Up-to-date: /usr/local/include 09:16:52 -- Installing: /usr/local/include/edgex 09:16:52 -- Installing: /usr/local/include/edgex/device-mgmt.h 09:16:52 -- Installing: /usr/local/include/edgex/eventgen.h 09:16:52 -- Installing: /usr/local/include/edgex/error.h 09:16:52 -- Installing: /usr/local/include/edgex/rest-server.h 09:16:52 -- Installing: /usr/local/include/edgex/edgex-base.h 09:16:52 -- Installing: /usr/local/include/edgex/devsdk.h 09:16:52 -- Installing: /usr/local/include/edgex/edgex.h 09:16:52 -- Installing: /usr/local/include/edgex/devices.h 09:16:52 -- Installing: /usr/local/include/edgex/os.h 09:16:52 -- Installing: /usr/local/include/edgex/profiles.h 09:16:52 -- Installing: /usr/local/include/edgex/csdk-defs.h 09:16:52 -- Installing: /usr/local/include/devsdk 09:16:52 -- Installing: /usr/local/include/devsdk/devsdk-base.h 09:16:52 -- Installing: /usr/local/include/devsdk/devsdk.h 09:16:52 -- Installing: /usr/local/include/iot 09:16:52 -- Installing: /usr/local/include/iot/json.h 09:16:52 -- Installing: /usr/local/include/iot/container.h 09:16:52 -- Installing: /usr/local/include/iot/component.h 09:16:52 -- Installing: /usr/local/include/iot/typecode.h 09:16:52 -- Installing: /usr/local/include/iot/iot.h 09:16:52 -- Installing: /usr/local/include/iot/time.h 09:16:52 -- Installing: /usr/local/include/iot/hash.h 09:16:52 -- Installing: /usr/local/include/iot/logger.h 09:16:52 -- Installing: /usr/local/include/iot/os 09:16:52 -- Installing: /usr/local/include/iot/os/zephyr.h 09:16:52 -- Installing: /usr/local/include/iot/os/linux.h 09:16:52 -- Installing: /usr/local/include/iot/os/macos.h 09:16:52 -- Installing: /usr/local/include/iot/scheduler.h 09:16:52 -- Installing: /usr/local/include/iot/data.h 09:16:52 -- Installing: /usr/local/include/iot/thread.h 09:16:52 -- Installing: /usr/local/include/iot/os.h 09:16:52 -- Installing: /usr/local/include/iot/base64.h 09:16:52 -- Installing: /usr/local/include/iot/threadpool.h 09:16:52 -- Installing: /usr/local/include/iot/config.h 09:16:52 -- Installing: /usr/local/share/device-sdk-c/LICENSE 09:16:52 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 09:16:52 make: Leaving directory '/tmp/sdk/build/release' 09:16:55 Removing intermediate container ea2a9bd9c934 09:16:55 ---> df23584a02fc 09:16:55 Step 14/21 : FROM ${BASE} 09:16:55 ---> b23d30803547 09:16:55 Step 15/21 : MAINTAINER IOTech 09:16:55 ---> Running in d4238191f819 09:16:55 Removing intermediate container d4238191f819 09:16:55 ---> a8ddec490f62 09:16:55 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 09:16:55 ---> Running in a1fb278bc4ad 09:16:56 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 09:16:57 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 09:16:58 (1/3) Installing curl (7.64.0-r3) 09:16:58 (2/3) Installing libuuid (2.33-r0) 09:16:58 (3/3) Installing wget (1.20.3-r0) 09:16:58 Executing busybox-1.29.3-r10.trigger 09:16:58 OK: 281 MiB in 78 packages 09:16:59 Removing intermediate container a1fb278bc4ad 09:16:59 ---> 161d1ffb9331 09:16:59 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 09:17:00 ---> 3bbcf558df84 09:17:00 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 09:17:01 ---> 93bb19dfe889 09:17:01 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 09:17:01 ---> f30e307d2198 09:17:01 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 09:17:02 ---> 8c605c90b67d 09:17:02 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 09:17:03 ---> e0f2b32e95ad 09:17:03 Successfully built e0f2b32e95ad 09:17:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:17:04 + docker inspect -f . ci-base-image-arm64 09:17:04 . [Pipeline] withDockerContainer 09:17:04 prd-ubuntu18.04-docker-arm64-4c-16g-1686 does not seem to be running inside a container 09:17:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:17:06 $ docker top cb37cf71cfd1c5e9bc356fb26fd72acd1da48e96d2f435a24d33e5ed3067c5b4 -eo pid,comm [Pipeline] { [Pipeline] sh 09:17:07 + make test 09:17:07 echo "make test" 09:17:07 make test [Pipeline] } 09:17:08 $ docker stop --time=1 cb37cf71cfd1c5e9bc356fb26fd72acd1da48e96d2f435a24d33e5ed3067c5b4 09:17:10 $ docker rm -f cb37cf71cfd1c5e9bc356fb26fd72acd1da48e96d2f435a24d33e5ed3067c5b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:17:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:17:11 + ls -al . 09:17:11 total 196 09:17:11 drwxrwxr-x 9 jenkins jenkins 4096 Jul 31 09:14 . 09:17:11 drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 09:14 .. 09:17:11 drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 09:14 .git 09:17:11 drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 09:14 .github 09:17:11 -rw-rw-r-- 1 jenkins jenkins 176 Jul 31 09:14 .gitignore 09:17:11 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 09:14 .semver 09:17:11 -rw-rw-r-- 1 jenkins jenkins 3104 Jul 31 09:14 Attribution.txt 09:17:11 -rw-rw-r-- 1 jenkins jenkins 5842 Jul 31 09:14 CHANGES 09:17:11 -rw-rw-r-- 1 jenkins jenkins 108574 Jul 31 09:14 Doxyfile 09:17:11 -rw-rw-r-- 1 jenkins jenkins 794 Jul 31 09:14 Jenkinsfile 09:17:11 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 31 09:14 LICENSE 09:17:11 -rw-rw-r-- 1 jenkins jenkins 449 Jul 31 09:14 Makefile 09:17:11 -rw-rw-r-- 1 jenkins jenkins 1899 Jul 31 09:14 README.md 09:17:11 -rw-rw-r-- 1 jenkins jenkins 5977 Jul 31 09:14 README.v2.md 09:17:11 -rw-rw-r-- 1 jenkins jenkins 5 Jul 31 09:12 VERSION 09:17:11 drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 09:14 docs 09:17:11 drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 09:14 include 09:17:11 drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 09:14 scripts 09:17:11 drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 09:14 src [Pipeline] isUnix [Pipeline] sh 09:17:12 + docker build -t docker-device-sdk-c-arm64 -f scripts/Dockerfile.alpine-3.11 --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=db1d01ed50fede27c73a10e9088d1d8d82358a17 --label arch=arm64 --label version=0.0.0 . 09:17:12 Sending build context to Docker daemon 3.479MB 09:17:12 Step 1/15 : ARG BASE=alpine:3.11 09:17:12 Step 2/15 : FROM ${BASE} 09:17:12 ---> e0f2b32e95ad 09:17:12 Step 3/15 : MAINTAINER IOTech 09:17:12 ---> Running in 53ead575dc86 09:17:13 Removing intermediate container 53ead575dc86 09:17:13 ---> 725df282f00a 09:17:13 Step 4/15 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev && mkdir -p /edgex-c-sdk/build 09:17:13 ---> Running in eb9946373d4b 09:17:14 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 09:17:15 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 09:17:15 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 09:17:16 (2/6) Installing libblkid (2.33-r0) 09:17:16 (3/6) Installing libfdisk (2.33-r0) 09:17:16 (4/6) Installing libmount (2.33-r0) 09:17:16 (5/6) Installing libsmartcols (2.33-r0) 09:17:16 (6/6) Installing util-linux-dev (2.33-r0) 09:17:17 Executing busybox-1.29.3-r10.trigger 09:17:17 OK: 286 MiB in 84 packages 09:17:18 Removing intermediate container eb9946373d4b 09:17:18 ---> fb22f8a046d6 09:17:18 Step 5/15 : COPY VERSION /edgex-c-sdk/ 09:17:18 ---> 2b5ae21e24e8 09:17:18 Step 6/15 : COPY src /edgex-c-sdk/src/ 09:17:19 ---> f75bd0047342 09:17:19 Step 7/15 : COPY include /edgex-c-sdk/include/ 09:17:20 ---> 7e2ecd430d4f 09:17:20 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 09:17:21 ---> 4a791f420a67 09:17:21 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 09:17:21 ---> 542edb4b532c 09:17:21 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 09:17:22 ---> 12338535537c 09:17:22 Step 11/15 : WORKDIR /edgex-c-sdk 09:17:22 ---> Running in ee74306cf056 09:17:23 Removing intermediate container ee74306cf056 09:17:23 ---> 10fd0cc1b525 09:17:23 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 09:17:23 ---> Running in 9177dc37fd61 09:17:23 Removing intermediate container 9177dc37fd61 09:17:23 ---> 01bf4d88630d 09:17:23 Step 13/15 : LABEL arch=arm64 09:17:24 ---> Running in da80f56108a7 09:17:24 Removing intermediate container da80f56108a7 09:17:24 ---> 84ff4a2ec52e 09:17:24 Step 14/15 : LABEL git_sha=db1d01ed50fede27c73a10e9088d1d8d82358a17 09:17:24 ---> Running in 69dad4f42932 09:17:24 Removing intermediate container 69dad4f42932 09:17:24 ---> 3989a9035737 09:17:24 Step 15/15 : LABEL version=0.0.0 09:17:25 ---> Running in 47ef6262c67f 09:17:25 Removing intermediate container 47ef6262c67f 09:17:25 ---> 125e500ac15a 09:17:25 [Warning] One or more build-args [ARCH MAKE] were not consumed 09:17:25 Successfully built 125e500ac15a 09:17:25 Successfully tagged docker-device-sdk-c-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 09:17:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:17:29 ---> package-listing.sh 09:17:29 ++ facter osfamily 09:17:29 ++ tr '[:upper:]' '[:lower:]' 09:17:29 + OS_FAMILY=redhat 09:17:29 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-288 09:17:29 + START_PACKAGES=/tmp/packages_start.txt 09:17:29 + END_PACKAGES=/tmp/packages_end.txt 09:17:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:17:29 + PACKAGES=/tmp/packages_start.txt 09:17:29 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-288 ']' 09:17:29 + PACKAGES=/tmp/packages_end.txt 09:17:29 + case "${OS_FAMILY}" in 09:17:29 + rpm -qa 09:17:29 + sort 09:17:33 + '[' -f /tmp/packages_start.txt ']' 09:17:33 + '[' -f /tmp/packages_end.txt ']' 09:17:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:17:33 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-288 ']' 09:17:33 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-288/archives/ 09:17:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-288/archives/ [Pipeline] isUnix [Pipeline] sh 09:17:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:17:34 09:17:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:17:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:17:34 alpine: Pulling from edgex-lftools-log-publisher 09:17:34 c9b1b535fdd9: Pulling fs layer 09:17:34 2cc5ad85d9ab: Pulling fs layer 09:17:34 756a868c4378: Pulling fs layer 09:17:34 444b2fc9a129: Pulling fs layer 09:17:34 ea15f1150254: Pulling fs layer 09:17:34 41b27a9f41bf: Pulling fs layer 09:17:34 28c525ee5125: Pulling fs layer 09:17:34 094b1ea09ed8: Pulling fs layer 09:17:34 138eaada9080: Pulling fs layer 09:17:34 0622d0fa9048: Pulling fs layer 09:17:34 28c525ee5125: Waiting 09:17:34 094b1ea09ed8: Waiting 09:17:34 444b2fc9a129: Waiting 09:17:34 138eaada9080: Waiting 09:17:34 ea15f1150254: Waiting 09:17:34 41b27a9f41bf: Waiting 09:17:34 0622d0fa9048: Waiting 09:17:34 2cc5ad85d9ab: Download complete 09:17:34 c9b1b535fdd9: Verifying Checksum 09:17:34 c9b1b535fdd9: Download complete 09:17:34 444b2fc9a129: Download complete 09:17:35 ea15f1150254: Verifying Checksum 09:17:35 ea15f1150254: Download complete 09:17:35 28c525ee5125: Verifying Checksum 09:17:35 28c525ee5125: Download complete 09:17:35 756a868c4378: Verifying Checksum 09:17:35 756a868c4378: Download complete 09:17:35 c9b1b535fdd9: Pull complete 09:17:35 138eaada9080: Verifying Checksum 09:17:35 138eaada9080: Download complete 09:17:35 0622d0fa9048: Verifying Checksum 09:17:35 0622d0fa9048: Download complete 09:17:35 094b1ea09ed8: Verifying Checksum 09:17:35 094b1ea09ed8: Download complete 09:17:35 2cc5ad85d9ab: Pull complete 09:17:35 41b27a9f41bf: Verifying Checksum 09:17:35 41b27a9f41bf: Download complete 09:17:37 756a868c4378: Pull complete 09:17:37 444b2fc9a129: Pull complete 09:17:37 ea15f1150254: Pull complete 09:17:41 41b27a9f41bf: Pull complete 09:17:41 28c525ee5125: Pull complete 09:17:44 094b1ea09ed8: Pull complete 09:17:44 138eaada9080: Pull complete 09:17:44 0622d0fa9048: Pull complete 09:17:44 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 09:17:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:17:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:17:44 prd-centos7-docker-4c-2g-1685 does not seem to be running inside a container 09:17:44 $ 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-288 -v /w/workspace/edgexfoundry_device-sdk-c_PR-288:/w/workspace/edgexfoundry_device-sdk-c_PR-288:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-288@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-288@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 09:17:48 $ docker top 400563d0c78c8c1c694ec3906e408c11e5159c6adaeb5a0ece0ecba8bdc40251 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:17:48 provisioning config files... 09:17:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-288@tmp/config2003608322122412829tmp [Pipeline] { [Pipeline] echo 09:17:48 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:17:49 ---> create-netrc.sh [Pipeline] echo 09:17:49 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:17:49 ---> logs-deploy.sh 09:17:49 + ARCHIVE_ARTIFACTS= 09:17:49 + LOGS_SERVER=https://logs.edgexfoundry.org 09:17:49 + '[' https://logs.edgexfoundry.org == None ']' 09:17:49 + NEXUS_URL=https://nexus.edgexfoundry.org 09:17:49 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-288/1 09:17:49 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-288/1/ 09:17:49 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-288/1 /w/workspace/edgexfoundry_device-sdk-c_PR-288 09:17:50 Archives upload complete. 09:17:50 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-288/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-288/1/ 09:17:51 ---> uname -a: 09:17:51 Linux 400563d0c78c 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 09:17:51 09:17:51 09:17:51 ---> lscpu: 09:17:51 Architecture: x86_64 09:17:51 CPU op-mode(s): 32-bit, 64-bit 09:17:51 Byte Order: Little Endian 09:17:51 Address sizes: 40 bits physical, 48 bits virtual 09:17:51 CPU(s): 4 09:17:51 On-line CPU(s) list: 0-3 09:17:51 Thread(s) per core: 1 09:17:51 Core(s) per socket: 1 09:17:51 Socket(s): 4 09:17:51 NUMA node(s): 1 09:17:51 Vendor ID: GenuineIntel 09:17:51 CPU family: 6 09:17:51 Model: 44 09:17:51 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 09:17:51 Stepping: 1 09:17:51 CPU MHz: 2933.442 09:17:51 BogoMIPS: 5866.88 09:17:51 Virtualization: VT-x 09:17:51 Hypervisor vendor: KVM 09:17:51 Virtualization type: full 09:17:51 L1d cache: 128 KiB 09:17:51 L1i cache: 128 KiB 09:17:51 L2 cache: 16 MiB 09:17:51 L3 cache: 64 MiB 09:17:51 NUMA node0 CPU(s): 0-3 09:17:51 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 09:17:51 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 09:17:51 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 09:17:51 Vulnerability Meltdown: Mitigation; PTI 09:17:51 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 09:17:51 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 09:17:51 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 09:17:51 Vulnerability Tsx async abort: Not affected 09:17:51 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 09:17:51 09:17:51 09:17:51 ---> nproc: 09:17:51 4 09:17:51 09:17:51 09:17:51 ---> df -h: 09:17:51 Filesystem Size Used Available Use% Mounted on 09:17:51 overlay 50.0G 7.2G 42.8G 14% / 09:17:51 tmpfs 64.0M 0 64.0M 0% /dev 09:17:51 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 09:17:51 shm 64.0M 0 64.0M 0% /dev/shm 09:17:51 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/resolv.conf 09:17:51 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hostname 09:17:51 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hosts 09:17:51 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/edgexfoundry_device-sdk-c_PR-288 09:17:51 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/edgexfoundry_device-sdk-c_PR-288@tmp 09:17:51 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/sa 09:17:51 09:17:51 09:17:51 ---> free -m: 09:17:51 total used free shared buff/cache available 09:17:51 Mem: 1837 647 124 0 1064 1083 09:17:51 Swap: 1023 0 1023 09:17:51 09:17:51 09:17:51 ---> ip addr: 09:17:51 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 09:17:51 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 09:17:51 inet 127.0.0.1/8 scope host lo 09:17:51 valid_lft forever preferred_lft forever 09:17:51 6: eth0@if7: mtu 1458 qdisc noqueue state UP 09:17:51 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 09:17:51 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 09:17:51 valid_lft forever preferred_lft forever 09:17:51 09:17:51 09:17:51 ---> sar -b -r -n DEV: 09:17:51 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 07/31/20 _x86_64_ (4 CPU) 09:17:51 09:17:51 09:11:34 LINUX RESTART 09:17:51 09:17:51 09:12:01 tps rtps wtps bread/s bwrtn/s 09:17:51 09:13:01 91.11 39.79 51.32 7479.18 6748.98 09:17:51 09:14:01 2.23 0.00 2.23 0.00 49.21 09:17:51 09:15:01 0.52 0.00 0.52 0.00 7.56 09:17:51 09:16:01 0.48 0.00 0.48 0.00 6.00 09:17:51 09:17:01 0.25 0.00 0.25 0.00 3.06 09:17:51 Average: 18.93 7.96 10.97 1496.73 1363.77 09:17:51 09:17:51 09:12:01 kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 09:17:51 09:13:01 168216 1713340 91.06 2620 1144472 1118712 38.18 436788 1116364 116 09:17:51 09:14:01 172376 1709180 90.84 2620 1144456 1079032 36.83 435444 1114828 24 09:17:51 09:15:01 171372 1710184 90.89 2620 1144444 1079224 36.83 436476 1114816 8 09:17:51 09:16:01 171240 1710316 90.90 2620 1144444 1079324 36.84 436736 1114812 12 09:17:51 09:17:01 171232 1710324 90.90 2620 1144448 1079096 36.83 444600 1107496 8 09:17:51 Average: 170887 1710669 90.92 2620 1144453 1087078 37.10 438009 1113663 34 09:17:51 09:17:51 09:12:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 09:17:51 09:13:01 eth0 472.82 279.00 1079.10 107.21 0.00 0.00 0.00 09:17:51 09:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:17:51 09:13:01 docker0 9.27 7.47 0.97 20.32 0.00 0.00 0.00 09:17:51 09:14:01 eth0 0.73 0.08 0.06 0.04 0.00 0.00 0.00 09:17:51 09:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:17:51 09:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:17:51 09:15:01 eth0 4.21 2.00 3.45 0.46 0.00 0.00 0.00 09:17:51 09:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:17:51 09:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:17:51 09:16:01 eth0 0.50 0.30 0.27 0.23 0.00 0.00 0.00 09:17:51 09:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:17:51 09:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:17:51 09:17:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 09:17:51 09:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:17:51 09:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:17:51 Average: eth0 95.73 56.33 216.71 21.60 0.00 0.00 0.00 09:17:51 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:17:51 Average: docker0 1.85 1.50 0.19 4.07 0.00 0.00 0.00 09:17:51 09:17:51 09:17:51 ---> sar -P ALL: 09:17:51 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 07/31/20 _x86_64_ (4 CPU) 09:17:51 09:17:51 09:11:34 LINUX RESTART 09:17:51 09:17:51 09:12:01 CPU %user %nice %system %iowait %steal %idle 09:17:51 09:13:01 all 13.24 0.00 5.56 3.14 0.01 78.05 09:17:51 09:13:01 0 12.50 0.00 6.76 1.95 0.00 78.79 09:17:51 09:13:01 1 12.98 0.00 5.52 1.91 0.02 79.58 09:17:51 09:13:01 2 13.34 0.00 5.38 2.08 0.02 79.19 09:17:51 09:13:01 3 14.16 0.00 4.57 6.61 0.00 74.66 09:17:51 09:14:01 all 0.17 0.00 0.05 0.00 0.00 99.78 09:17:51 09:14:01 0 0.55 0.00 0.05 0.00 0.00 99.40 09:17:51 09:14:01 1 0.03 0.00 0.03 0.00 0.00 99.93 09:17:51 09:14:01 2 0.08 0.00 0.07 0.00 0.00 99.85 09:17:51 09:14:01 3 0.02 0.00 0.02 0.00 0.00 99.97 09:17:51 09:15:01 all 0.09 0.00 0.05 0.00 0.00 99.86 09:17:51 09:15:01 0 0.13 0.00 0.03 0.00 0.00 99.83 09:17:51 09:15:01 1 0.07 0.00 0.03 0.00 0.00 99.90 09:17:51 09:15:01 2 0.13 0.00 0.10 0.00 0.00 99.77 09:17:51 09:15:01 3 0.05 0.00 0.03 0.00 0.02 99.90 09:17:51 09:16:01 all 0.13 0.00 0.03 0.00 0.00 99.84 09:17:51 09:16:01 0 0.02 0.00 0.03 0.00 0.00 99.95 09:17:51 09:16:01 1 0.03 0.00 0.03 0.00 0.00 99.93 09:17:51 09:16:01 2 0.02 0.00 0.02 0.00 0.00 99.97 09:17:51 09:16:01 3 0.45 0.00 0.07 0.00 0.00 99.48 09:17:51 09:17:01 all 0.11 0.00 0.04 0.00 0.00 99.85 09:17:51 09:17:01 0 0.02 0.00 0.05 0.00 0.00 99.93 09:17:51 09:17:01 1 0.07 0.00 0.05 0.00 0.00 99.88 09:17:51 09:17:01 2 0.03 0.00 0.03 0.00 0.00 99.93 09:17:51 09:17:01 3 0.32 0.00 0.02 0.00 0.00 99.67 09:17:51 Average: all 2.74 0.00 1.14 0.62 0.00 95.50 09:17:51 Average: 0 2.63 0.00 1.38 0.39 0.00 95.61 09:17:51 Average: 1 2.62 0.00 1.13 0.38 0.00 95.86 09:17:51 Average: 2 2.71 0.00 1.11 0.41 0.00 95.76 09:17:51 Average: 3 2.98 0.00 0.94 1.31 0.00 94.77 09:17:51 09:17:51 09:17:51