Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 6568dd76e6ab4166df02199344f5d2342af650e5 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 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 --version # 'git version 2.16.6' > 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 # timeout=10 Commit message: "Merge pull request #239 from ernestojeda/update-default-go-version" > 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 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 BUILD_SNAP: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-213’ is offline Running on prd-centos7-docker-4c-2g-1809 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Checking out Revision 6568dd76e6ab4166df02199344f5d2342af650e5 (master) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6568dd76e6ab4166df02199344f5d2342af650e5 # timeout=10 Commit message: "Merge pull request #291 from iain-anderson/issue-211" > git rev-list --no-walk b589ce38ee62beed65a1f4f98577478a01ff9483 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:21:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:21:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:21:46 ========================================================= 11:21:46 EdgeX Global Pipelines Version Info 11:21:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:21:50 ------------------- 11:21:50 stable info: 11:21:50 ------------------- 11:21:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:21:50 Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 11:21:50 Message: update stable to v1.0.119 11:21:51 ------------------- 11:21:51 experimental info: 11:21:51 ------------------- 11:21:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:21:51 Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 11:21:51 Message: update experimental to v1.0.119 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 11:21:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 11:21:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 11:21:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:21:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:21:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:21:51 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 11:21:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine-3.11 [Pipeline] echo 11:21:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-3.11-base [Pipeline] echo 11:21:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:21:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-c [Pipeline] echo 11:21:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:21:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:21:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:21:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 11:21:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:21:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:21:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 11:21:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 11:21:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 11:21:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6568dd76e6ab4166df02199344f5d2342af650e5 [Pipeline] echo 11:21:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6568dd7 [Pipeline] echo 11:21:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 11:21:54 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:21:55 11:21:55 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 11:21:55 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:21:55 latest: Pulling from edgex-devops/git-semver 11:21:55 31603596830f: Pulling fs layer 11:21:55 2a8b12db71e7: Pulling fs layer 11:21:55 6ca5941a6612: Pulling fs layer 11:21:55 ecc8261a40a4: Pulling fs layer 11:21:55 ecc8261a40a4: Waiting 11:21:55 2a8b12db71e7: Verifying Checksum 11:21:55 2a8b12db71e7: Download complete 11:21:56 31603596830f: Verifying Checksum 11:21:56 31603596830f: Download complete 11:21:56 ecc8261a40a4: Verifying Checksum 11:21:56 ecc8261a40a4: Download complete 11:21:56 6ca5941a6612: Verifying Checksum 11:21:56 6ca5941a6612: Download complete 11:21:57 31603596830f: Pull complete 11:21:57 2a8b12db71e7: Pull complete 11:21:58 6ca5941a6612: Pull complete 11:21:59 ecc8261a40a4: Pull complete 11:21:59 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 11:21:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:21:59 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 11:21:59 prd-centos7-docker-4c-2g-1809 does not seem to be running inside a container 11:21:59 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:22:02 $ docker top a8bda3bcdec1058a30930c169767ea0bb6b236e89ae75428b00212a2bfe500b6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:22:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:22:02 [ssh-agent] Looking for ssh-agent implementation... 11:22:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:22:02 $ docker exec a8bda3bcdec1058a30930c169767ea0bb6b236e89ae75428b00212a2bfe500b6 ssh-agent 11:22:03 SSH_AUTH_SOCK=/tmp/ssh-CNqxK0b6WfXG/agent.12 11:22:03 SSH_AGENT_PID=17 11:22:03 Running ssh-add (command line suppressed) 11:22:03 Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_1420135078050584571.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_1420135078050584571.key) 11:22:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:22:04 + git describe --exact-match --tags HEAD 11:22:04 fatal: No names found, cannot describe anything. [Pipeline] } 11:22:04 $ docker exec --env ******** --env ******** a8bda3bcdec1058a30930c169767ea0bb6b236e89ae75428b00212a2bfe500b6 ssh-agent -k 11:22:05 unset SSH_AUTH_SOCK; 11:22:05 unset SSH_AGENT_PID; 11:22:05 echo Agent pid 17 killed; 11:22:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 11:22:05 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 11:22:05 This usually means this commit has not been tagged. [Pipeline] sshagent 11:22:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:22:05 [ssh-agent] Looking for ssh-agent implementation... 11:22:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:22:06 $ docker exec a8bda3bcdec1058a30930c169767ea0bb6b236e89ae75428b00212a2bfe500b6 ssh-agent 11:22:06 SSH_AUTH_SOCK=/tmp/ssh-i5Xc6Nte1JjW/agent.46 11:22:06 SSH_AGENT_PID=51 11:22:06 Running ssh-add (command line suppressed) 11:22:06 Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_5638564642505576529.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_5638564642505576529.key) 11:22:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:22:07 + git semver init 11:22:07 # -> Open(): unable to determine branch for HEAD 11:22:07 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git 11:22:07 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master 11:22:07 # $SEMVER_REMOTE_NAME = origin 11:22:07 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:22:07 # $SEMVER_USER_NAME = edgex-jenkins 11:22:07 # $SEMVER_BRANCH = master 11:22:07 # $SEMVER_TEMP = /tmp/semver-176320675 11:22:07 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 11:22:09 # '/tmp/semver-176320675' -> '/w/workspace/edgexfoundry_device-sdk-c_master/.semver' 11:22:09 # -> Force: false 11:22:09 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [Pipeline] } 11:22:09 $ docker exec --env ******** --env ******** a8bda3bcdec1058a30930c169767ea0bb6b236e89ae75428b00212a2bfe500b6 ssh-agent -k 11:22:09 unset SSH_AUTH_SOCK; 11:22:09 unset SSH_AGENT_PID; 11:22:09 echo Agent pid 51 killed; 11:22:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:22:10 + git semver [Pipeline] } 11:22:10 $ docker stop --time=1 a8bda3bcdec1058a30930c169767ea0bb6b236e89ae75428b00212a2bfe500b6 11:22:12 $ docker rm -f a8bda3bcdec1058a30930c169767ea0bb6b236e89ae75428b00212a2bfe500b6 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 11:22:14 Stashed 27 file(s) [Pipeline] echo 11:22:14 [edgeXSemver]: initialized semver on version 1.3.0-dev.5 [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 11:22:29 Still waiting to schedule task 11:22:29 Waiting for next available executor on ‘centos7-docker-4c-2g’ 11:22:29 Still waiting to schedule task 11:22:29 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 11:24:21 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1810 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] ws 11:24:21 Running in /w/workspace/device-sdk-c/41 [Pipeline] { [Pipeline] checkout 11:24:26 using credential edgex-jenkins-ssh 11:24:26 Cloning the remote Git repository 11:24:26 Cloning with configured refspecs honoured and without tags 11:24:26 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 11:24:26 > git init /w/workspace/device-sdk-c/41 # timeout=10 11:24:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 11:24:26 > git --version # timeout=10 11:24:26 > git --version # 'git version 2.17.1' 11:24:26 using GIT_SSH to set credentials SSH Credentials for GitHub 11:24:26 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 11:24:27 Fetching without tags 11:24:28 Checking out Revision 6568dd76e6ab4166df02199344f5d2342af650e5 (master) 11:24:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 11:24:27 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 11:24:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 11:24:27 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 11:24:27 using GIT_SSH to set credentials SSH Credentials for GitHub 11:24:27 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 11:24:28 > git config core.sparsecheckout # timeout=10 11:24:28 > git checkout -f 6568dd76e6ab4166df02199344f5d2342af650e5 # timeout=10 11:24:32 Commit message: "Merge pull request #291 from iain-anderson/issue-211" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 11:24:34 ========================================================= 11:24:34 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 11:24:34 ========================================================= [Pipeline] isUnix [Pipeline] sh 11:24:35 + 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 . 11:24:36 Sending build context to Docker daemon 3.507MB 11:24:36 Step 1/21 : ARG BASE=alpine:3.11 11:24:36 Step 2/21 : FROM ${BASE} as builder 11:24:36 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 11:24:36 0362ad1dd800: Pulling fs layer 11:24:36 f2cdb1532d8b: Pulling fs layer 11:24:36 37ed683be191: Pulling fs layer 11:24:36 f2cdb1532d8b: Verifying Checksum 11:24:36 f2cdb1532d8b: Download complete 11:24:36 0362ad1dd800: Verifying Checksum 11:24:36 0362ad1dd800: Download complete 11:24:37 0362ad1dd800: Pull complete 11:24:38 f2cdb1532d8b: Pull complete 11:24:39 37ed683be191: Verifying Checksum 11:24:39 37ed683be191: Download complete 11:24:49 37ed683be191: Pull complete 11:24:49 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 11:24:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 11:24:49 ---> b23d30803547 11:24:49 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 11:24:49 ---> Running in 27ac72ac9221 11:24:51 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 11:24:52 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 11:24:53 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 11:24:53 (2/8) Installing libuuid (2.33-r0) 11:24:53 (3/8) Installing libblkid (2.33-r0) 11:24:53 (4/8) Installing libfdisk (2.33-r0) 11:24:53 (5/8) Installing libmount (2.33-r0) 11:24:53 (6/8) Installing libsmartcols (2.33-r0) 11:24:53 (7/8) Installing util-linux-dev (2.33-r0) 11:24:54 (8/8) Installing wget (1.20.3-r0) 11:24:54 Executing busybox-1.29.3-r10.trigger 11:24:54 OK: 285 MiB in 83 packages 11:24:56 Removing intermediate container 27ac72ac9221 11:24:56 ---> 58ac9c73a44b 11:24:56 Step 4/21 : ENV CBOR_VERSION=0.5.0 11:24:56 ---> Running in 7259a2237e42 11:24:56 Removing intermediate container 7259a2237e42 11:24:56 ---> 8da241b015f2 11:24:56 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 11:24:57 ---> Running in 9a0ccb573caa 11:24:58 --2020-09-08 11:24:58-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 11:24:58 Resolving github.com... 140.82.113.3 11:24:58 Connecting to github.com|140.82.113.3|:443... connected. 11:24:58 HTTP request sent, awaiting response... 302 Found 11:24:58 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 11:24:58 --2020-09-08 11:24:58-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 11:24:58 Resolving codeload.github.com... 140.82.114.9 11:24:58 Connecting to codeload.github.com|140.82.114.9|:443... connected. 11:24:58 HTTP request sent, awaiting response... 200 OK 11:24:58 Length: unspecified [application/x-gzip] 11:24:58 Saving to: 'STDOUT' 11:24:58  11:24:58 0K .......... .......... .......... .......... .......... 1.41M 11:24:58 50K .......... .......... .......... .......... .......... 2.49M 11:24:58 100K .......... .......... .......... .......... .......... 8.72M 11:24:58 150K .......... .......... .......... .......... .......... 3.19M 11:24:58 200K .......... .......... .......... .......... .......... 8.92M 11:24:58 250K .......... .......... .......... .......... .......... 3.82M 11:24:58 300K .......... .......... .......... .......... .......... 4.80M 11:24:58 350K .......... .......... .......... .......... .......... 4.62M 11:24:58 400K .......... .......... .......... .......... .......... 4.33M 11:24:58 450K .......... .......... .......... .......... .......... 3.78M 11:24:58 500K .......... .......... .......... .......... .......... 11.6M 11:24:58 550K .......... .......... .......... .......... .......... 6.09M 11:24:58 600K .......... .......... .......... .......... .......... 739K 11:24:58 650K .......... .......... .......... .......... .......... 5.53M 11:24:58 700K .. 4746G=0.2s 11:24:58 11:24:58 2020-09-08 11:24:58 (3.02 MB/s) - written to stdout [719348] 11:24:58 11:24:59 -- The C compiler identification is GNU 8.3.0 11:24:59 -- The CXX compiler identification is GNU 8.3.0 11:24:59 -- Check for working C compiler: /usr/bin/cc 11:24:59 -- Check for working C compiler: /usr/bin/cc -- works 11:24:59 -- Detecting C compiler ABI info 11:25:00 -- Detecting C compiler ABI info - done 11:25:00 -- Detecting C compile features 11:25:01 -- Detecting C compile features - done 11:25:01 -- Check for working CXX compiler: /usr/bin/c++ 11:25:01 -- Check for working CXX compiler: /usr/bin/c++ -- works 11:25:01 -- Detecting CXX compiler ABI info 11:25:01 -- Detecting CXX compiler ABI info - done 11:25:01 -- Detecting CXX compile features 11:25:03 -- Detecting CXX compile features - done 11:25:03 -- Looking for include file endian.h 11:25:03 -- Looking for include file endian.h - found 11:25:03 -- Check if the system is big endian 11:25:03 -- Searching 16 bit integer 11:25:03 -- Looking for sys/types.h 11:25:03 -- Looking for sys/types.h - found 11:25:03 -- Looking for stdint.h 11:25:03 -- Looking for stdint.h - found 11:25:03 -- Looking for stddef.h 11:25:03 -- Looking for stddef.h - found 11:25:03 -- Check size of unsigned short 11:25:04 -- Check size of unsigned short - done 11:25:04 -- Using unsigned short 11:25:04 -- Check if the system is big endian - little endian 11:25:04 -- Check size of size_t 11:25:04 -- Check size of size_t - done 11:25:04 CMake Warning at examples/CMakeLists.txt:16 (find_package): 11:25:04 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 11:25:04 asked CMake to find a package configuration file provided by "cJSON", but 11:25:04 CMake did not find one. 11:25:04 11:25:04 Could not find a package configuration file provided by "cJSON" with any of 11:25:04 the following names: 11:25:04 11:25:04 cJSONConfig.cmake 11:25:04 cjson-config.cmake 11:25:04 11:25:04 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 11:25:04 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 11:25:04 provides a separate development package or SDK, be sure it has been 11:25:04 installed. 11:25:04 11:25:04 11:25:04 -- Configuring done 11:25:04 -- Generating done 11:25:04 -- Build files have been written to: /tmp/cbor 11:25:04 Scanning dependencies of target cbor_shared 11:25:05 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 11:25:05 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 11:25:06 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 11:25:06 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 11:25:07 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 11:25:07 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 11:25:07 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 11:25:07 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 11:25:08 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 11:25:08 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 11:25:08 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 11:25:09 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 11:25:09 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 11:25:10 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 11:25:10 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 11:25:10 Running on prd-centos7-docker-4c-2g-1811 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] ws 11:25:10 Running in /w/workspace/device-sdk-c/41 [Pipeline] { 11:25:10 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [Pipeline] checkout 11:25:10 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 11:25:10 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 11:25:11 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 11:25:11 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 11:25:11 [ 40%] Linking C shared library libcbor.so 11:25:11 [ 40%] Built target cbor_shared 11:25:11 Scanning dependencies of target cbor 11:25:11 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 11:25:12 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 11:25:12 using credential edgex-jenkins-ssh 11:25:13 Cloning the remote Git repository 11:25:13 Cloning with configured refspecs honoured and without tags 11:25:13 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 11:25:13 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 11:25:13 Fetching without tags 11:25:13 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 11:25:13 > git init /w/workspace/device-sdk-c/41 # timeout=10 11:25:13 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 11:25:13 > git --version # timeout=10 11:25:13 > git --version # 'git version 2.16.5' 11:25:13 using GIT_SSH to set credentials SSH Credentials for GitHub 11:25:13 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 11:25:13 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 11:25:13 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 11:25:13 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 11:25:13 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 11:25:13 using GIT_SSH to set credentials SSH Credentials for GitHub 11:25:13 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 11:25:14 Checking out Revision 6568dd76e6ab4166df02199344f5d2342af650e5 (master) 11:25:14 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 11:25:14 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 11:25:14 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 11:25:14 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 11:25:14 > git config core.sparsecheckout # timeout=10 11:25:14 > git checkout -f 6568dd76e6ab4166df02199344f5d2342af650e5 # timeout=10 11:25:15 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 11:25:15 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 11:25:16 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 11:25:16 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 11:25:17 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 11:25:17 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 11:25:17 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 11:25:17 Commit message: "Merge pull request #291 from iain-anderson/issue-211" 11:25:17 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 11:25:18 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [Pipeline] script [Pipeline] { [Pipeline] unstash 11:25:18 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [Pipeline] echo 11:25:18 ========================================================= 11:25:18 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 11:25:18 ========================================================= [Pipeline] isUnix [Pipeline] sh 11:25:18 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 11:25:19 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 11:25:19 + 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 . 11:25:19 [ 80%] Linking C static library libcbor.a 11:25:19 [ 80%] Built target cbor 11:25:19 Scanning dependencies of target create_items 11:25:19 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 11:25:19 [ 84%] Linking C executable create_items 11:25:19 [ 84%] Built target create_items 11:25:19 Scanning dependencies of target readfile 11:25:19 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 11:25:19 [ 88%] Linking C executable readfile 11:25:19 [ 88%] Built target readfile 11:25:19 Scanning dependencies of target streaming_parser 11:25:19 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 11:25:20 Sending build context to Docker daemon 3.507MB 11:25:20 Step 1/21 : ARG BASE=alpine:3.11 11:25:20 Step 2/21 : FROM ${BASE} as builder 11:25:20 [ 92%] Linking C executable streaming_parser 11:25:20 [ 92%] Built target streaming_parser 11:25:20 latest: Pulling from edgex-devops/edgex-gcc-base 11:25:20 e7c96db7181b: Pulling fs layer 11:25:20 4c13bbce0fe7: Pulling fs layer 11:25:20 6059c847ac2f: Pulling fs layer 11:25:20 4c13bbce0fe7: Verifying Checksum 11:25:20 4c13bbce0fe7: Download complete 11:25:20 e7c96db7181b: Verifying Checksum 11:25:20 e7c96db7181b: Download complete 11:25:20 Scanning dependencies of target sort 11:25:20 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 11:25:20 [ 96%] Linking C executable sort 11:25:20 e7c96db7181b: Pull complete 11:25:20 [ 96%] Built target sort 11:25:20 Scanning dependencies of target hello 11:25:20 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 11:25:20 [100%] Linking C executable hello 11:25:20 4c13bbce0fe7: Pull complete 11:25:20 [100%] Built target hello 11:25:20 Install the project... 11:25:20 -- Install configuration: "Release" 11:25:20 -- Installing: /usr/local/include/cbor/configuration.h 11:25:20 -- Installing: /usr/local/lib64/libcbor.a 11:25:20 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 11:25:20 -- Installing: /usr/local/lib64/libcbor.so.0 11:25:20 -- Installing: /usr/local/lib64/libcbor.so 11:25:20 -- Up-to-date: /usr/local/include/cbor 11:25:20 -- Installing: /usr/local/include/cbor/streaming.h 11:25:20 -- Installing: /usr/local/include/cbor/ints.h 11:25:20 -- Installing: /usr/local/include/cbor/floats_ctrls.h 11:25:20 -- Installing: /usr/local/include/cbor/bytestrings.h 11:25:20 -- Installing: /usr/local/include/cbor/encoding.h 11:25:20 -- Installing: /usr/local/include/cbor/serialization.h 11:25:20 -- Installing: /usr/local/include/cbor/data.h 11:25:20 -- Installing: /usr/local/include/cbor/common.h 11:25:20 -- Installing: /usr/local/include/cbor/callbacks.h 11:25:20 -- Installing: /usr/local/include/cbor/strings.h 11:25:20 -- Installing: /usr/local/include/cbor/tags.h 11:25:20 -- Installing: /usr/local/include/cbor/internal 11:25:20 -- Installing: /usr/local/include/cbor/internal/encoders.h 11:25:20 -- Installing: /usr/local/include/cbor/internal/loaders.h 11:25:20 -- Installing: /usr/local/include/cbor/internal/stack.h 11:25:20 -- Installing: /usr/local/include/cbor/internal/unicode.h 11:25:20 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 11:25:20 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 11:25:20 -- Installing: /usr/local/include/cbor/arrays.h 11:25:20 -- Installing: /usr/local/include/cbor/maps.h 11:25:20 -- Installing: /usr/local/include/cbor.h 11:25:20 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 11:25:21 6059c847ac2f: Verifying Checksum 11:25:21 6059c847ac2f: Download complete 11:25:22 Removing intermediate container 9a0ccb573caa 11:25:22 ---> 0d77a0146284 11:25:22 Step 6/21 : RUN mkdir /tmp/sdk 11:25:23 ---> Running in 4cc60eda10b6 11:25:25 Removing intermediate container 4cc60eda10b6 11:25:25 ---> e826ff764d4d 11:25:25 Step 7/21 : COPY VERSION /tmp/sdk 11:25:26 6059c847ac2f: Pull complete 11:25:26 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 11:25:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 11:25:26 ---> 5eabd8fd8ba2 11:25:26 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 11:25:26 ---> 6be635e0489b 11:25:26 Step 8/21 : COPY src /tmp/sdk/src 11:25:27 ---> 346de5ae861a 11:25:27 Step 9/21 : COPY include /tmp/sdk/include 11:25:27 ---> Running in 8f0b27c9a4fa 11:25:27 ---> 17e8b3b9e4da 11:25:27 Step 10/21 : COPY scripts /tmp/sdk/scripts 11:25:28 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 11:25:28 ---> bb4be716e9ad 11:25:28 Step 11/21 : COPY LICENSE /tmp/sdk 11:25:29 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 11:25:29 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 11:25:29 (2/8) Installing libuuid (2.33-r0) 11:25:29 ---> 77dcc973ed3d 11:25:29 Step 12/21 : COPY Attribution.txt /tmp/sdk 11:25:29 (3/8) Installing libblkid (2.33-r0) 11:25:29 (4/8) Installing libfdisk (2.33-r0) 11:25:29 (5/8) Installing libmount (2.33-r0) 11:25:29 (6/8) Installing libsmartcols (2.33-r0) 11:25:29 (7/8) Installing util-linux-dev (2.33-r0) 11:25:30 ---> e1ba258389cd 11:25:30 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 11:25:30 ---> Running in a8a0bc417c5e 11:25:30 (8/8) Installing wget (1.20.3-r0) 11:25:30 Executing busybox-1.29.3-r10.trigger 11:25:30 OK: 272 MiB in 83 packages 11:25:31 Removing intermediate container 8f0b27c9a4fa 11:25:31 ---> fb0c378b4c45 11:25:31 Step 4/21 : ENV CBOR_VERSION=0.5.0 11:25:31 ---> Running in 137f3e3e79e9 11:25:31 + CPPCHECK=false 11:25:31 + DOCGEN=false 11:25:31 + TOMLVER=SDK-0.2 11:25:31 + CUTILVER=1.1-branch 11:25:31 + '[' 0 -gt 0 ] 11:25:31 + readlink -f ./scripts/build.sh 11:25:31 + dirname /tmp/sdk/scripts/build.sh 11:25:31 + dirname /tmp/sdk/scripts 11:25:31 + ROOT=/tmp/sdk 11:25:31 + cd /tmp/sdk 11:25:31 + '[' '!' -d deps ] 11:25:31 + mkdir deps 11:25:31 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 11:25:31 + tar -C deps -z -x -f - 11:25:31 --2020-09-08 11:25:31-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 11:25:31 Removing intermediate container 137f3e3e79e9 11:25:31 ---> a9057fe72d89 11:25:31 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 11:25:31 ---> Running in 968ddd2ec87a 11:25:31 Resolving github.com... 140.82.113.3 11:25:31 Connecting to github.com|140.82.113.3|:443... connected. 11:25:31 HTTP request sent, awaiting response... 302 Found 11:25:31 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 11:25:31 --2020-09-08 11:25:31-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 11:25:31 Resolving codeload.github.com... 140.82.114.9 11:25:31 Connecting to codeload.github.com|140.82.114.9|:443... connected. 11:25:32 HTTP request sent, awaiting response... 200 OK 11:25:32 Length: unspecified [application/x-gzip] 11:25:32 Saving to: 'STDOUT' 11:25:32 11:25:32 0K .......... ......       923K=0.02s 11:25:32 11:25:32 2020-09-08 11:25:31 (923 KB/s) - written to stdout [16451] 11:25:32 11:25:32 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 11:25:32 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1-branch.tar.gz 11:25:32 + tar -C deps -z -x -f - 11:25:32 --2020-09-08 11:25:31-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1-branch.tar.gz 11:25:32 Resolving github.com... 140.82.113.3 11:25:32 Connecting to github.com|140.82.113.3|:443... connected. 11:25:32 --2020-09-08 11:25:32-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 11:25:32 HTTP request sent, awaiting response... 302 Found 11:25:32 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1-branch [following] 11:25:32 --2020-09-08 11:25:32-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1-branch 11:25:32 Resolving codeload.github.com... 140.82.114.9 11:25:32 Connecting to codeload.github.com|140.82.114.9|:443... connected. 11:25:32 Resolving github.com... 140.82.113.3 11:25:32 Connecting to github.com|140.82.113.3|:443... connected. 11:25:32 HTTP request sent, awaiting response... 302 Found 11:25:32 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 11:25:32 --2020-09-08 11:25:32-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 11:25:32 Resolving codeload.github.com... 140.82.114.9 11:25:32 Connecting to codeload.github.com|140.82.114.9|:443... connected. 11:25:32 HTTP request sent, awaiting response... 200 OK 11:25:32 Length: unspecified [application/x-gzip] 11:25:32 Saving to: 'STDOUT' 11:25:32  11:25:32 0K .......... .......... .......... .......... .......... 1.48M 11:25:32 50K .......... .......... .......... .......... .......... 6.32M 11:25:32 100K .......... .......... .......... .......... .......... 5.09M 11:25:32 150K .......... .......... .......... .......... .......... 7.38M 11:25:32 200K .......... .......... .......... .......... .......... 4.99M 11:25:32 250K .......... .......... .......... .......... .......... 12.9M 11:25:32 300K .......... .......... .......... .......... .......... 8.34M 11:25:32 350K .......... .......... .......... .......... .......... 10.5M 11:25:32 HTTP request sent, awaiting response... 200 OK 11:25:32 Length: unspecified [application/x-gzip] 11:25:32 Saving to: 'STDOUT' 11:25:32  11:25:32 0K .......... .......... .......... .......... .......... 1.52M 11:25:32 50K .......... .......... .......... .......... .......... 2.60M 11:25:32 100K .......... .......... .......... .......... .......... 4.09M 11:25:32 150K .......... ...... 7.31M=0.07s 11:25:32 11:25:32 2020-09-08 11:25:32 (2.50 MB/s) - written to stdout [170722] 11:25:32 11:25:32 + mkdir -p src/c/iot 11:25:32 + 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 11:25:32 + mkdir -p include/iot 11:25:32 + 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 11:25:32 + mkdir -p include/iot/os 11:25:32 + 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 11:25:32 + mkdir -p /tmp/sdk/build/release 11:25:32 + cd /tmp/sdk/build/release 11:25:32 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 11:25:32 400K .......... .......... .......... .......... .......... 7.27M 11:25:32 450K .......... .......... .......... .......... .......... 7.18M 11:25:32 500K .......... .......... .......... .......... .......... 20.6M 11:25:32 550K .......... .......... .......... .......... .......... 6.34M 11:25:32 600K .......... .......... .......... .......... .......... 2.09M 11:25:32 650K .......... .......... .......... .......... .......... 5.21M 11:25:32 700K .. 1.17M=0.1s 11:25:32 11:25:32 2020-09-08 11:25:32 (4.92 MB/s) - written to stdout [719348] 11:25:32 11:25:32 -- The C compiler identification is GNU 8.3.0 11:25:32 -- The C compiler identification is GNU 8.3.0 11:25:32 -- Check for working C compiler: /usr/bin/cc 11:25:32 -- The CXX compiler identification is GNU 8.3.0 11:25:32 -- Check for working C compiler: /usr/bin/cc 11:25:32 -- Check for working C compiler: /usr/bin/cc -- works 11:25:32 -- Detecting C compiler ABI info 11:25:32 -- Detecting C compiler ABI info - done 11:25:32 -- Detecting C compile features 11:25:33 -- Check for working C compiler: /usr/bin/cc -- works 11:25:33 -- Detecting C compiler ABI info 11:25:33 -- Detecting C compile features - done 11:25:33 -- Check for working CXX compiler: /usr/bin/c++ 11:25:33 -- Detecting C compiler ABI info - done 11:25:33 -- Detecting C compile features 11:25:33 -- Check for working CXX compiler: /usr/bin/c++ -- works 11:25:33 -- Detecting CXX compiler ABI info 11:25:33 -- Detecting CXX compiler ABI info - done 11:25:33 -- Detecting CXX compile features 11:25:34 -- Detecting CXX compile features - done 11:25:34 -- Looking for include file endian.h 11:25:34 -- Looking for include file endian.h - found 11:25:34 -- Check if the system is big endian 11:25:34 -- Searching 16 bit integer 11:25:34 -- Looking for sys/types.h 11:25:34 -- Looking for sys/types.h - found 11:25:34 -- Looking for stdint.h 11:25:34 -- Looking for stdint.h - found 11:25:34 -- Looking for stddef.h 11:25:34 -- Looking for stddef.h - found 11:25:34 -- Check size of unsigned short 11:25:34 -- Check size of unsigned short - done 11:25:34 -- Using unsigned short 11:25:34 -- Check if the system is big endian - little endian 11:25:34 -- Check size of size_t 11:25:34 -- Detecting C compile features - done 11:25:34 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 11:25:34 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 11:25:34 -- Found LIBYAML: /usr/lib/libyaml.so 11:25:34 -- Found LIBUUID: /usr/lib/libuuid.so 11:25:34 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 11:25:34 -- C SDK 1.3.0-dev.5 for Linux 11:25:34 -- Performing Test CSDK_HAVE_ATOMIC 11:25:34 -- Performing Test CSDK_HAVE_ATOMIC - Success 11:25:34 -- Found Curses: /usr/lib/libcurses.so 11:25:34 -- Check size of size_t - done 11:25:34 CMake Warning at examples/CMakeLists.txt:16 (find_package): 11:25:34 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 11:25:34 asked CMake to find a package configuration file provided by "cJSON", but 11:25:34 CMake did not find one. 11:25:34 11:25:34 Could not find a package configuration file provided by "cJSON" with any of 11:25:34 the following names: 11:25:34 11:25:34 cJSONConfig.cmake 11:25:34 cjson-config.cmake 11:25:34 11:25:34 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 11:25:34 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 11:25:34 provides a separate development package or SDK, be sure it has been 11:25:34 installed. 11:25:34 11:25:34 11:25:34 -- Configuring done 11:25:34 -- Generating done 11:25:34 -- Build files have been written to: /tmp/cbor 11:25:34 Scanning dependencies of target cbor_shared 11:25:34 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 11:25:34 -- Configuring done 11:25:34 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 11:25:34 -- Generating done 11:25:34 -- Build files have been written to: /tmp/sdk/build/release 11:25:34 + make 11:25:34 + tee release.log 11:25:34 Scanning dependencies of target csdk 11:25:35 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 11:25:35 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 11:25:35 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 11:25:35 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 11:25:35 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 11:25:35 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 11:25:35 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 11:25:35 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 11:25:35 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 11:25:35 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 11:25:35 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 11:25:35 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 11:25:35 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 11:25:35 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 11:25:35 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 11:25:36 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 11:25:36 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 11:25:36 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 11:25:36 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 11:25:36 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 11:25:36 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 11:25:36 [ 40%] Linking C shared library libcbor.so 11:25:36 [ 40%] Built target cbor_shared 11:25:36 Scanning dependencies of target cbor 11:25:36 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 11:25:36 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 11:25:36 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 11:25:36 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 11:25:37 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 11:25:37 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 11:25:37 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 11:25:37 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 11:25:37 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 11:25:37 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 11:25:37 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 11:25:37 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 11:25:37 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 11:25:37 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 11:25:37 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 11:25:37 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 11:25:38 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 11:25:38 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 11:25:38 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 11:25:38 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 11:25:38 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 11:25:38 [ 80%] Linking C static library libcbor.a 11:25:38 [ 80%] Built target cbor 11:25:38 Scanning dependencies of target create_items 11:25:38 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 11:25:38 [ 84%] Linking C executable create_items 11:25:38 [ 84%] Built target create_items 11:25:38 Scanning dependencies of target readfile 11:25:38 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 11:25:38 [ 88%] Linking C executable readfile 11:25:38 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 11:25:38 [ 88%] Built target readfile 11:25:38 Scanning dependencies of target streaming_parser 11:25:38 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 11:25:38 [ 92%] Linking C executable streaming_parser 11:25:38 [ 92%] Built target streaming_parser 11:25:38 Scanning dependencies of target sort 11:25:38 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 11:25:38 [ 96%] Linking C executable sort 11:25:38 [ 96%] Built target sort 11:25:38 Scanning dependencies of target hello 11:25:38 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 11:25:38 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 11:25:38 [100%] Linking C executable hello 11:25:38 [100%] Built target hello 11:25:38 Install the project... 11:25:38 -- Install configuration: "Release" 11:25:38 -- Installing: /usr/local/include/cbor/configuration.h 11:25:38 -- Installing: /usr/local/lib64/libcbor.a 11:25:38 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 11:25:38 -- Installing: /usr/local/lib64/libcbor.so.0 11:25:38 -- Installing: /usr/local/lib64/libcbor.so 11:25:38 -- Up-to-date: /usr/local/include/cbor 11:25:38 -- Installing: /usr/local/include/cbor/arrays.h 11:25:38 -- Installing: /usr/local/include/cbor/bytestrings.h 11:25:38 -- Installing: /usr/local/include/cbor/callbacks.h 11:25:38 -- Installing: /usr/local/include/cbor/common.h 11:25:38 -- Installing: /usr/local/include/cbor/data.h 11:25:38 -- Installing: /usr/local/include/cbor/encoding.h 11:25:38 -- Installing: /usr/local/include/cbor/floats_ctrls.h 11:25:38 -- Installing: /usr/local/include/cbor/internal 11:25:38 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 11:25:38 -- Installing: /usr/local/include/cbor/internal/encoders.h 11:25:38 -- Installing: /usr/local/include/cbor/internal/loaders.h 11:25:38 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 11:25:38 -- Installing: /usr/local/include/cbor/internal/stack.h 11:25:38 -- Installing: /usr/local/include/cbor/internal/unicode.h 11:25:38 -- Installing: /usr/local/include/cbor/ints.h 11:25:38 -- Installing: /usr/local/include/cbor/maps.h 11:25:38 -- Installing: /usr/local/include/cbor/serialization.h 11:25:38 -- Installing: /usr/local/include/cbor/streaming.h 11:25:38 -- Installing: /usr/local/include/cbor/strings.h 11:25:38 -- Installing: /usr/local/include/cbor/tags.h 11:25:38 -- Installing: /usr/local/include/cbor.h 11:25:38 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 11:25:39 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 11:25:41 Removing intermediate container 968ddd2ec87a 11:25:41 ---> d1596ca78c74 11:25:41 Step 6/21 : RUN mkdir /tmp/sdk 11:25:41 ---> Running in 8679b849b143 11:25:41 [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 11:25:42 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 11:25:42 Removing intermediate container 8679b849b143 11:25:42 ---> 70d33181815d 11:25:42 Step 7/21 : COPY VERSION /tmp/sdk 11:25:42 ---> 7f96bd8c2337 11:25:42 Step 8/21 : COPY src /tmp/sdk/src 11:25:43 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 11:25:43 ---> b2bc87fe9d81 11:25:43 Step 9/21 : COPY include /tmp/sdk/include 11:25:43 [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 11:25:43 ---> 6bc795775df5 11:25:43 Step 10/21 : COPY scripts /tmp/sdk/scripts 11:25:43 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 11:25:43 ---> 7b4cf9b7890e 11:25:43 Step 11/21 : COPY LICENSE /tmp/sdk 11:25:43 ---> d17a89db04a3 11:25:43 Step 12/21 : COPY Attribution.txt /tmp/sdk 11:25:44 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 11:25:44 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 11:25:44 ---> da233d8c753a 11:25:44 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 11:25:44 ---> Running in 526ba97516bf 11:25:44 + CPPCHECK=false 11:25:44 + DOCGEN=false 11:25:44 + TOMLVER=SDK-0.2 11:25:44 + CUTILVER=1.1-branch 11:25:44 + '[' 0 -gt 0 ] 11:25:44 + readlink -f ./scripts/build.sh 11:25:44 + dirname /tmp/sdk/scripts/build.sh 11:25:44 + dirname /tmp/sdk/scripts 11:25:44 + ROOT=/tmp/sdk 11:25:44 + cd /tmp/sdk 11:25:44 + '[' '!' -d deps ] 11:25:44 + mkdir deps 11:25:44 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 11:25:44 + tar -C deps -z -x -f - 11:25:44 --2020-09-08 11:25:44-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 11:25:44 Resolving github.com... 140.82.113.3 11:25:44 Connecting to github.com|140.82.113.3|:443... connected. 11:25:44 HTTP request sent, awaiting response... 302 Found 11:25:44 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 11:25:44 --2020-09-08 11:25:44-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 11:25:44 Resolving codeload.github.com... 140.82.114.9 11:25:44 Connecting to codeload.github.com|140.82.114.9|:443... connected. 11:25:45 HTTP request sent, awaiting response... 200 OK 11:25:45 Length: unspecified [application/x-gzip] 11:25:45 Saving to: 'STDOUT' 11:25:45  11:25:45 0K .......... ...... 1.04M=0.02s 11:25:45 11:25:45 2020-09-08 11:25:44 (1.04 MB/s) - written to stdout [16451] 11:25:45 11:25:45 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 11:25:45 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1-branch.tar.gz 11:25:45 + tar -C deps -z -x -f - 11:25:45 --2020-09-08 11:25:44-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1-branch.tar.gz 11:25:45 Resolving github.com... 140.82.113.3 11:25:45 Connecting to github.com|140.82.113.3|:443... connected. 11:25:45 HTTP request sent, awaiting response... 302 Found 11:25:45 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1-branch [following] 11:25:45 --2020-09-08 11:25:44-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1-branch 11:25:45 Resolving codeload.github.com... 140.82.114.9 11:25:45 Connecting to codeload.github.com|140.82.114.9|:443... connected. 11:25:45 HTTP request sent, awaiting response... 200 OK 11:25:45 Length: unspecified [application/x-gzip] 11:25:45 Saving to: 'STDOUT' 11:25:45 11:25:45 0K .......... .......... .......... .......... .......... 1.60M 11:25:45 50K .......... .......... .......... .......... .......... 11.8M 11:25:45 100K .......... .......... .......... .......... .......... 3.24M 11:25:45 150K .......... ...... 43.0M=0.05s 11:25:45 11:25:45 2020-09-08 11:25:45 (3.24 MB/s) - written to stdout [170722] 11:25:45 11:25:45 + mkdir -p src/c/iot 11:25:45 + 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 11:25:45 + mkdir -p include/iot 11:25:45 + 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 11:25:45 + mkdir -p include/iot/os 11:25:45 + 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 11:25:45 + mkdir -p /tmp/sdk/build/release 11:25:45 + cd /tmp/sdk/build/release 11:25:45 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 11:25:45 -- The C compiler identification is GNU 8.3.0 11:25:45 -- Check for working C compiler: /usr/bin/cc 11:25:45 -- Check for working C compiler: /usr/bin/cc -- works 11:25:45 -- Detecting C compiler ABI info 11:25:45 -- Detecting C compiler ABI info - done 11:25:45 -- Detecting C compile features 11:25:45 -- Detecting C compile features - done 11:25:45 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 11:25:45 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 11:25:45 -- Found LIBYAML: /usr/lib/libyaml.so 11:25:45 -- Found LIBUUID: /usr/lib/libuuid.so 11:25:45 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 11:25:45 -- C SDK 1.3.0-dev.5 for Linux 11:25:45 -- Performing Test CSDK_HAVE_ATOMIC 11:25:45 -- Performing Test CSDK_HAVE_ATOMIC - Success 11:25:45 -- Found Curses: /usr/lib/libcurses.so 11:25:45 -- Configuring done 11:25:45 -- Generating done 11:25:45 -- Build files have been written to: /tmp/sdk/build/release 11:25:45 + make 11:25:45 + tee release.log 11:25:46 Scanning dependencies of target csdk 11:25:46 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 11:25:46 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 11:25:46 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 11:25:46 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 11:25:46 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 11:25:46 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 11:25:47 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 11:25:47 [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 11:25:47 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 11:25:47 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 11:25:48 [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 11:25:48 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 11:25:48 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 11:25:48 [ 24%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 11:25:48 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 11:25:48 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 11:25:48 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 11:25:48 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 11:25:49 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 11:25:49 [ 24%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 11:25:49 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 11:25:49 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 11:25:49 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 11:25:49 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 11:25:50 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 11:25:50 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 11:25:50 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 11:25:50 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 11:25:50 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 11:25:50 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 11:25:51 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 11:25:51 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 11:25:51 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 11:25:51 [ 47%] Building C object c/CMakeFiles/csdk.dir/map.c.o 11:25:51 [ 49%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 11:25:51 [ 50%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 11:25:51 [ 52%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 11:25:51 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 11:25:51 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 11:25:51 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 11:25:52 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 11:25:52 [ 54%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 11:25:52 [ 55%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 11:25:52 [ 57%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 11:25:53 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 11:25:53 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 11:25:53 [ 59%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 11:25:53 [ 60%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 11:25:53 [ 62%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:25:54 [ 63%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 11:25:54 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 11:25:54 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 11:25:54 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 11:25:55 [ 65%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 11:25:55 [ 67%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 11:25:55 [ 47%] Building C object c/CMakeFiles/csdk.dir/map.c.o 11:25:55 [ 49%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 11:25:55 [ 68%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 11:25:55 [ 70%] Linking C shared library libcsdk.so 11:25:55 [ 70%] Built target csdk 11:25:55 Scanning dependencies of target template 11:25:55 [ 72%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 11:25:55 [ 73%] Linking C executable template 11:25:55 [ 73%] Built target template 11:25:55 Scanning dependencies of target device-counter 11:25:55 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 11:25:55 [ 77%] Linking C executable device-counter 11:25:56 [ 77%] Built target device-counter 11:25:56 Scanning dependencies of target device-random 11:25:56 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 11:25:56 [ 80%] Linking C executable device-random 11:25:56 [ 80%] Built target device-random 11:25:56 Scanning dependencies of target device-gyro 11:25:56 [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 11:25:56 [ 83%] Linking C executable device-gyro 11:25:56 [ 83%] Built target device-gyro 11:25:56 Scanning dependencies of target device-bitfields 11:25:56 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 11:25:56 [ 50%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 11:25:56 [ 86%] Linking C executable device-bitfields 11:25:56 [ 86%] Built target device-bitfields 11:25:56 Scanning dependencies of target template-discovery 11:25:56 [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 11:25:56 [ 52%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 11:25:56 [ 90%] Linking C executable template-discovery 11:25:56 [ 90%] Built target template-discovery 11:25:56 Scanning dependencies of target device-file 11:25:56 [ 91%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 11:25:57 [ 93%] Linking C executable device-file 11:25:57 [ 93%] Built target device-file 11:25:57 Scanning dependencies of target device-terminal 11:25:57 [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 11:25:57 [ 96%] Linking C executable device-terminal 11:25:57 [ 96%] Built target device-terminal 11:25:57 Scanning dependencies of target templatev1 11:25:57 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 11:25:57 [100%] Linking C executable templatev1 11:25:57 [100%] Built target templatev1 11:25:57 + make package 11:25:57 + tee -a release.log 11:25:57 [ 70%] Built target csdk 11:25:57 [ 73%] Built target template 11:25:57 [ 77%] Built target device-counter 11:25:57 [ 80%] Built target device-random 11:25:57 [ 83%] Built target device-gyro 11:25:57 [ 86%] Built target device-bitfields 11:25:57 [ 90%] Built target template-discovery 11:25:57 [ 93%] Built target device-file 11:25:57 [ 96%] Built target device-terminal 11:25:57 [100%] Built target templatev1 11:25:57 Run CPack packaging tool... 11:25:57 CPack: Create package using TGZ 11:25:57 CPack: Install projects 11:25:57 CPack: - Run preinstall target for: Csdk 11:25:57 CPack: - Install project: Csdk 11:25:57 CPack: Create package 11:25:58 CPack: - package: /tmp/sdk/build/release/csdk-1.3.0-dev.5.tar.gz generated. 11:25:58 + '[' false '=' true ] 11:25:58 + '[' false '=' true ] 11:25:58 + mkdir -p /tmp/sdk/build/debug 11:25:58 + cd /tmp/sdk/build/debug 11:25:58 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 11:25:58 -- The C compiler identification is GNU 8.3.0 11:25:58 -- Check for working C compiler: /usr/bin/cc 11:25:58 -- Check for working C compiler: /usr/bin/cc -- works 11:25:58 -- Detecting C compiler ABI info 11:25:58 -- Detecting C compiler ABI info - done 11:25:58 -- Detecting C compile features 11:25:58 -- Detecting C compile features - done 11:25:58 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 11:25:58 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 11:25:58 -- Found LIBYAML: /usr/lib/libyaml.so 11:25:58 -- Found LIBUUID: /usr/lib/libuuid.so 11:25:58 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 11:25:58 -- C SDK 1.3.0-dev.5 for Linux 11:25:58 -- Performing Test CSDK_HAVE_ATOMIC 11:25:58 -- Performing Test CSDK_HAVE_ATOMIC - Success 11:25:58 -- Found Curses: /usr/lib/libcurses.so 11:25:58 -- Configuring done 11:25:58 -- Generating done 11:25:58 -- Build files have been written to: /tmp/sdk/build/debug 11:25:58 + make 11:25:58 + tee debug.log 11:25:58 Scanning dependencies of target csdk 11:25:59 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 11:25:59 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 11:25:59 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 11:25:59 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 11:25:59 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 11:25:59 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 11:25:59 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 11:25:59 [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 11:25:59 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 11:25:59 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 11:26:00 [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 11:26:00 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 11:26:00 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 11:26:00 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 11:26:00 [ 24%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 11:26:00 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 11:26:00 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 11:26:00 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 11:26:00 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 11:26:00 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 11:26:00 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 11:26:00 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 11:26:00 [ 54%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 11:26:01 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 11:26:01 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 11:26:01 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 11:26:01 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 11:26:01 [ 55%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 11:26:01 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 11:26:01 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 11:26:01 [ 47%] Building C object c/CMakeFiles/csdk.dir/map.c.o 11:26:01 [ 49%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 11:26:01 [ 50%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 11:26:01 [ 52%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 11:26:01 [ 57%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 11:26:01 [ 54%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 11:26:01 [ 55%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 11:26:02 [ 59%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 11:26:02 [ 57%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 11:26:02 [ 59%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 11:26:02 [ 60%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 11:26:02 [ 62%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:26:02 [ 63%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 11:26:02 [ 60%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 11:26:02 [ 65%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 11:26:02 [ 67%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 11:26:02 [ 68%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 11:26:03 [ 70%] Linking C shared library libcsdk.so 11:26:03 [ 70%] Built target csdk 11:26:03 Scanning dependencies of target template 11:26:03 [ 72%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 11:26:03 [ 73%] Linking C executable template 11:26:03 [ 73%] Built target template 11:26:03 Scanning dependencies of target device-counter 11:26:03 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 11:26:03 [ 77%] Linking C executable device-counter 11:26:03 [ 77%] Built target device-counter 11:26:03 Scanning dependencies of target device-random 11:26:03 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 11:26:03 [ 80%] Linking C executable device-random 11:26:03 [ 80%] Built target device-random 11:26:03 Scanning dependencies of target device-gyro 11:26:03 [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 11:26:03 [ 83%] Linking C executable device-gyro 11:26:03 [ 83%] Built target device-gyro 11:26:03 Scanning dependencies of target device-bitfields 11:26:03 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 11:26:03 [ 86%] Linking C executable device-bitfields 11:26:03 [ 86%] Built target device-bitfields 11:26:03 Scanning dependencies of target template-discovery 11:26:03 [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 11:26:03 [ 90%] Linking C executable template-discovery 11:26:03 [ 90%] Built target template-discovery 11:26:03 Scanning dependencies of target device-file 11:26:03 [ 91%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 11:26:04 [ 62%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:26:04 [ 93%] Linking C executable device-file 11:26:04 [ 93%] Built target device-file 11:26:04 Scanning dependencies of target device-terminal 11:26:04 [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 11:26:04 [ 96%] Linking C executable device-terminal 11:26:04 [ 96%] Built target device-terminal 11:26:04 Scanning dependencies of target templatev1 11:26:04 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 11:26:04 [100%] Linking C executable templatev1 11:26:04 [100%] Built target templatev1 11:26:04 make: Entering directory '/tmp/sdk/build/release' 11:26:04 make[1]: Entering directory '/tmp/sdk/build/release' 11:26:04 make[2]: Entering directory '/tmp/sdk/build/release' 11:26:04 make[2]: Leaving directory '/tmp/sdk/build/release' 11:26:04 [ 70%] Built target csdk 11:26:04 make[2]: Entering directory '/tmp/sdk/build/release' 11:26:04 make[2]: Leaving directory '/tmp/sdk/build/release' 11:26:04 [ 73%] Built target template 11:26:04 make[2]: Entering directory '/tmp/sdk/build/release' 11:26:04 make[2]: Leaving directory '/tmp/sdk/build/release' 11:26:04 [ 77%] Built target device-counter 11:26:04 make[2]: Entering directory '/tmp/sdk/build/release' 11:26:04 make[2]: Leaving directory '/tmp/sdk/build/release' 11:26:04 [ 80%] Built target device-random 11:26:04 make[2]: Entering directory '/tmp/sdk/build/release' 11:26:04 make[2]: Leaving directory '/tmp/sdk/build/release' 11:26:04 [ 83%] Built target device-gyro 11:26:04 make[2]: Entering directory '/tmp/sdk/build/release' 11:26:04 make[2]: Leaving directory '/tmp/sdk/build/release' 11:26:04 [ 86%] Built target device-bitfields 11:26:04 make[2]: Entering directory '/tmp/sdk/build/release' 11:26:04 make[2]: Leaving directory '/tmp/sdk/build/release' 11:26:04 [ 90%] Built target template-discovery 11:26:04 make[2]: Entering directory '/tmp/sdk/build/release' 11:26:04 make[2]: Leaving directory '/tmp/sdk/build/release' 11:26:04 [ 93%] Built target device-file 11:26:04 make[2]: Entering directory '/tmp/sdk/build/release' 11:26:04 make[2]: Leaving directory '/tmp/sdk/build/release' 11:26:04 [ 96%] Built target device-terminal 11:26:04 make[2]: Entering directory '/tmp/sdk/build/release' 11:26:04 make[2]: Leaving directory '/tmp/sdk/build/release' 11:26:04 [100%] Built target templatev1 11:26:04 make[1]: Leaving directory '/tmp/sdk/build/release' 11:26:04 Install the project... 11:26:04 -- Install configuration: "Release" 11:26:04 -- Installing: /usr/local/lib/libcsdk.so 11:26:04 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 11:26:04 -- Up-to-date: /usr/local/include 11:26:04 -- Installing: /usr/local/include/devsdk 11:26:04 -- Installing: /usr/local/include/devsdk/devsdk-base.h 11:26:04 -- Installing: /usr/local/include/devsdk/devsdk.h 11:26:04 -- Installing: /usr/local/include/edgex 11:26:04 -- Installing: /usr/local/include/edgex/device-mgmt.h 11:26:04 -- Installing: /usr/local/include/edgex/devices.h 11:26:04 -- Installing: /usr/local/include/edgex/devsdk.h 11:26:04 -- Installing: /usr/local/include/edgex/edgex-base.h 11:26:04 -- Installing: /usr/local/include/edgex/edgex.h 11:26:04 -- Installing: /usr/local/include/edgex/error.h 11:26:04 -- Installing: /usr/local/include/edgex/eventgen.h 11:26:04 -- Installing: /usr/local/include/edgex/os.h 11:26:04 -- Installing: /usr/local/include/edgex/profiles.h 11:26:04 -- Installing: /usr/local/include/edgex/rest-server.h 11:26:04 -- Installing: /usr/local/include/edgex/csdk-defs.h 11:26:04 -- Installing: /usr/local/include/iot 11:26:04 -- Installing: /usr/local/include/iot/base64.h 11:26:04 -- Installing: /usr/local/include/iot/component.h 11:26:04 -- Installing: /usr/local/include/iot/config.h 11:26:04 -- Installing: /usr/local/include/iot/container.h 11:26:04 -- Installing: /usr/local/include/iot/data.h 11:26:04 -- Installing: /usr/local/include/iot/hash.h 11:26:04 -- Installing: /usr/local/include/iot/iot.h 11:26:04 -- Installing: /usr/local/include/iot/json.h 11:26:04 -- Installing: /usr/local/include/iot/logger.h 11:26:04 -- Installing: /usr/local/include/iot/os.h 11:26:04 -- Installing: /usr/local/include/iot/scheduler.h 11:26:04 -- Installing: /usr/local/include/iot/thread.h 11:26:04 -- Installing: /usr/local/include/iot/threadpool.h 11:26:04 -- Installing: /usr/local/include/iot/time.h 11:26:04 -- Installing: /usr/local/include/iot/typecode.h 11:26:04 -- Installing: /usr/local/include/iot/os 11:26:04 -- Installing: /usr/local/include/iot/os/linux.h 11:26:04 -- Installing: /usr/local/include/iot/os/macos.h 11:26:04 -- Installing: /usr/local/include/iot/os/zephyr.h 11:26:04 -- Installing: /usr/local/share/device-sdk-c/LICENSE 11:26:04 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 11:26:04 make: Leaving directory '/tmp/sdk/build/release' 11:26:06 [ 63%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 11:26:07 Removing intermediate container 526ba97516bf 11:26:07 ---> 69ed9730888a 11:26:07 Step 14/21 : FROM ${BASE} 11:26:07 ---> 5eabd8fd8ba2 11:26:07 Step 15/21 : MAINTAINER IOTech 11:26:07 ---> Running in be0dfde1f7bb 11:26:07 Removing intermediate container be0dfde1f7bb 11:26:07 ---> d7400ca30a76 11:26:07 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 11:26:07 ---> Running in 2d2d05ad665c 11:26:07 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 11:26:08 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 11:26:08 (1/3) Installing curl (7.64.0-r3) 11:26:08 (2/3) Installing libuuid (2.33-r0) 11:26:09 (3/3) Installing wget (1.20.3-r0) 11:26:09 Executing busybox-1.29.3-r10.trigger 11:26:09 OK: 268 MiB in 78 packages 11:26:09 [ 65%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 11:26:09 [ 67%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 11:26:09 Removing intermediate container 2d2d05ad665c 11:26:09 ---> b65e335e39cb 11:26:09 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 11:26:09 ---> 424dbe217acb 11:26:09 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 11:26:10 ---> 9a4135382f40 11:26:10 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 11:26:10 ---> ab511b84afd2 11:26:10 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 11:26:10 ---> 71767f4d4e4c 11:26:10 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 11:26:10 ---> ed5f3b8dbc6f 11:26:10 Successfully built ed5f3b8dbc6f 11:26:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } 11:26:10 [ 68%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:26:11 [ 70%] Linking C shared library libcsdk.so 11:26:11 [ 70%] Built target csdk 11:26:11 Scanning dependencies of target template 11:26:11 [ 72%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 11:26:11 + docker inspect -f . ci-base-image-x86_64 11:26:11 . [Pipeline] withDockerContainer 11:26:11 prd-centos7-docker-4c-2g-1811 does not seem to be running inside a container 11:26:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/41 -v /w/workspace/device-sdk-c/41:/w/workspace/device-sdk-c/41:rw,z -v /w/workspace/device-sdk-c/41@tmp:/w/workspace/device-sdk-c/41@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 ******** ci-base-image-x86_64 cat 11:26:12 [ 73%] Linking C executable template 11:26:12 [ 73%] Built target template 11:26:12 Scanning dependencies of target device-counter 11:26:12 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 11:26:12 $ docker top a60d3c9ece4278f282553644582f6fc4f0345419cb138d7b68400f179e8607e3 -eo pid,comm [Pipeline] { [Pipeline] sh 11:26:13 [ 77%] Linking C executable device-counter 11:26:13 + make test 11:26:13 echo "make test" 11:26:13 make test [Pipeline] } 11:26:13 $ docker stop --time=1 a60d3c9ece4278f282553644582f6fc4f0345419cb138d7b68400f179e8607e3 11:26:13 [ 77%] Built target device-counter 11:26:13 Scanning dependencies of target device-random 11:26:13 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 11:26:13 [ 80%] Linking C executable device-random 11:26:13 [ 80%] Built target device-random 11:26:13 Scanning dependencies of target device-gyro 11:26:13 [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 11:26:14 [ 83%] Linking C executable device-gyro 11:26:14 $ docker rm -f a60d3c9ece4278f282553644582f6fc4f0345419cb138d7b68400f179e8607e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script 11:26:14 [ 83%] Built target device-gyro 11:26:14 Scanning dependencies of target device-bitfields 11:26:14 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 11:26:15 [ 86%] Linking C executable device-bitfields 11:26:15 [ 86%] Built target device-bitfields 11:26:15 Scanning dependencies of target template-discovery 11:26:15 [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 11:26:15 [ 90%] Linking C executable template-discovery 11:26:16 [ 90%] Built target template-discovery 11:26:16 Scanning dependencies of target device-file 11:26:16 [ 91%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 11:26:16 [ 93%] Linking C executable device-file [Pipeline] sh 11:26:17 [ 93%] Built target device-file 11:26:17 Scanning dependencies of target device-terminal 11:26:17 [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 11:26:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:26:17 + ls -al . 11:26:17 total 160 11:26:17 drwxrwxr-x. 9 jenkins jenkins 275 Sep 8 11:25 . 11:26:17 drwxrwxr-x. 4 jenkins jenkins 30 Sep 8 11:25 .. 11:26:17 -rw-rw-r--. 1 jenkins jenkins 3104 Sep 8 11:25 Attribution.txt 11:26:17 -rw-rw-r--. 1 jenkins jenkins 5980 Sep 8 11:25 CHANGES 11:26:17 drwxrwxr-x. 2 jenkins jenkins 144 Sep 8 11:25 docs 11:26:17 -rw-rw-r--. 1 jenkins jenkins 108574 Sep 8 11:25 Doxyfile 11:26:17 drwxrwxr-x. 8 jenkins jenkins 162 Sep 8 11:25 .git 11:26:17 drwxrwxr-x. 2 jenkins jenkins 38 Sep 8 11:25 .github 11:26:17 -rw-rw-r--. 1 jenkins jenkins 176 Sep 8 11:25 .gitignore 11:26:17 drwxrwxr-x. 4 jenkins jenkins 33 Sep 8 11:25 include 11:26:17 -rw-rw-r--. 1 jenkins jenkins 794 Sep 8 11:25 Jenkinsfile 11:26:17 -rw-rw-r--. 1 jenkins jenkins 10174 Sep 8 11:25 LICENSE 11:26:17 -rw-rw-r--. 1 jenkins jenkins 449 Sep 8 11:25 Makefile 11:26:17 -rw-rw-r--. 1 jenkins jenkins 2697 Sep 8 11:25 README.md 11:26:17 -rw-rw-r--. 1 jenkins jenkins 5977 Sep 8 11:25 README.v2.md 11:26:17 drwxrwxr-x. 2 jenkins jenkins 108 Sep 8 11:25 scripts 11:26:17 drwxrwxr-x. 3 jenkins jenkins 58 Sep 8 11:25 .semver 11:26:17 drwxrwxr-x. 4 jenkins jenkins 50 Sep 8 11:25 src 11:26:17 -rw-rw-r--. 1 jenkins jenkins 11 Sep 8 11:22 VERSION [Pipeline] isUnix [Pipeline] sh 11:26:17 [ 96%] Linking C executable device-terminal 11:26:17 [ 96%] Built target device-terminal 11:26:17 + 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=6568dd76e6ab4166df02199344f5d2342af650e5 --label arch=amd64 --label version=1.3.0-dev.5 . 11:26:17 Sending build context to Docker daemon 3.507MB 11:26:17 Step 1/15 : ARG BASE=alpine:3.11 11:26:17 Step 2/15 : FROM ${BASE} 11:26:17 ---> ed5f3b8dbc6f 11:26:17 Step 3/15 : MAINTAINER IOTech 11:26:17 Scanning dependencies of target templatev1 11:26:17 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 11:26:18 ---> Running in 1cb1215f597b 11:26:18 [100%] Linking C executable templatev1 11:26:18 [100%] Built target templatev1 11:26:18 + make package 11:26:18 + tee -a release.log 11:26:18 Removing intermediate container 1cb1215f597b 11:26:18 ---> 5e0d557eaf83 11:26:18 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 11:26:18 ---> Running in c59b0959b0f3 11:26:18 [ 70%] Built target csdk 11:26:18 [ 73%] Built target template 11:26:18 [ 77%] Built target device-counter 11:26:18 [ 80%] Built target device-random 11:26:18 [ 83%] Built target device-gyro 11:26:19 [ 86%] Built target device-bitfields 11:26:19 [ 90%] Built target template-discovery 11:26:19 [ 93%] Built target device-file 11:26:19 [ 96%] Built target device-terminal 11:26:19 [100%] Built target templatev1 11:26:19 Run CPack packaging tool... 11:26:19 CPack: Create package using TGZ 11:26:19 CPack: Install projects 11:26:19 CPack: - Run preinstall target for: Csdk 11:26:19 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 11:26:19 CPack: - Install project: Csdk 11:26:19 CPack: Create package 11:26:19 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 11:26:20 CPack: - package: /tmp/sdk/build/release/csdk-1.3.0-dev.5.tar.gz generated. 11:26:20 + '[' false '=' true ] 11:26:20 + '[' false '=' true ] 11:26:20 + mkdir -p /tmp/sdk/build/debug 11:26:20 + cd /tmp/sdk/build/debug 11:26:20 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 11:26:20 -- The C compiler identification is GNU 8.3.0 11:26:20 -- Check for working C compiler: /usr/bin/cc 11:26:20 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 11:26:20 (2/6) Installing libblkid (2.33-r0) 11:26:20 (3/6) Installing libfdisk (2.33-r0) 11:26:20 -- Check for working C compiler: /usr/bin/cc -- works 11:26:20 -- Detecting C compiler ABI info 11:26:20 (4/6) Installing libmount (2.33-r0) 11:26:20 (5/6) Installing libsmartcols (2.33-r0) 11:26:20 (6/6) Installing util-linux-dev (2.33-r0) 11:26:20 -- Detecting C compiler ABI info - done 11:26:20 -- Detecting C compile features 11:26:21 Executing busybox-1.29.3-r10.trigger 11:26:21 OK: 272 MiB in 84 packages 11:26:21 -- Detecting C compile features - done 11:26:21 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 11:26:21 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 11:26:21 -- Found LIBYAML: /usr/lib/libyaml.so 11:26:21 -- Found LIBUUID: /usr/lib/libuuid.so 11:26:21 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 11:26:21 -- C SDK 1.3.0-dev.5 for Linux 11:26:21 -- Performing Test CSDK_HAVE_ATOMIC 11:26:21 -- Performing Test CSDK_HAVE_ATOMIC - Success 11:26:21 -- Found Curses: /usr/lib/libcurses.so 11:26:21 Removing intermediate container c59b0959b0f3 11:26:21 ---> d49d487984c1 11:26:21 Step 5/15 : COPY VERSION /edgex-c-sdk/ 11:26:21 -- Configuring done 11:26:22 ---> 35505d74058c 11:26:22 Step 6/15 : COPY src /edgex-c-sdk/src/ 11:26:22 -- Generating done 11:26:22 -- Build files have been written to: /tmp/sdk/build/debug 11:26:22 + make 11:26:22 + tee debug.log 11:26:22 Scanning dependencies of target csdk 11:26:22 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 11:26:22 ---> 7574c53f4b49 11:26:22 Step 7/15 : COPY include /edgex-c-sdk/include/ 11:26:22 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 11:26:22 ---> 5fff654846cd 11:26:22 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 11:26:23 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 11:26:23 ---> 18fc364c8c8d 11:26:23 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 11:26:23 ---> 014932616015 11:26:23 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 11:26:23 ---> 437a846e8865 11:26:23 Step 11/15 : WORKDIR /edgex-c-sdk 11:26:23 ---> Running in 7d5b08a1c3a2 11:26:23 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 11:26:23 Removing intermediate container 7d5b08a1c3a2 11:26:23 ---> d49355dd484b 11:26:23 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 11:26:23 ---> Running in 0233eca7a02e 11:26:23 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 11:26:23 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 11:26:24 Removing intermediate container 0233eca7a02e 11:26:24 ---> c906e97fdd3e 11:26:24 Step 13/15 : LABEL arch=amd64 11:26:24 ---> Running in bc73cf39bfea 11:26:24 Removing intermediate container bc73cf39bfea 11:26:24 ---> e8cf18e58a3e 11:26:24 Step 14/15 : LABEL git_sha=6568dd76e6ab4166df02199344f5d2342af650e5 11:26:24 ---> Running in 7219cf9fbba5 11:26:24 Removing intermediate container 7219cf9fbba5 11:26:24 ---> f7257235b942 11:26:24 Step 15/15 : LABEL version=1.3.0-dev.5 11:26:24 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 11:26:24 ---> Running in dc5c48234077 11:26:24 Removing intermediate container dc5c48234077 11:26:24 ---> 69a77433fd22 11:26:24 [Warning] One or more build-args [MAKE ARCH] were not consumed 11:26:24 Successfully built 69a77433fd22 11:26:24 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] } 11:26:25 [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } 11:26:25 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 11:26:25 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 11:26:25 [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 11:26:26 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 11:26:26 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 11:26:26 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 11:26:27 [ 24%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 11:26:27 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 11:26:27 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 11:26:28 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 11:26:28 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 11:26:28 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 11:26:29 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 11:26:29 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 11:26:29 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 11:26:29 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 11:26:29 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 11:26:30 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 11:26:30 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 11:26:30 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 11:26:30 [ 47%] Building C object c/CMakeFiles/csdk.dir/map.c.o 11:26:31 [ 49%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 11:26:31 [ 50%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 11:26:31 [ 52%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 11:26:32 [ 54%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 11:26:32 [ 55%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 11:26:33 [ 57%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 11:26:33 [ 59%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 11:26:33 [ 60%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 11:26:34 [ 62%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:26:34 [ 63%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 11:26:35 [ 65%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 11:26:35 [ 67%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 11:26:36 [ 68%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 11:26:36 [ 70%] Linking C shared library libcsdk.so 11:26:36 [ 70%] Built target csdk 11:26:36 Scanning dependencies of target template 11:26:36 [ 72%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 11:26:37 [ 73%] Linking C executable template 11:26:37 [ 73%] Built target template 11:26:37 Scanning dependencies of target device-counter 11:26:37 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 11:26:37 [ 77%] Linking C executable device-counter 11:26:37 [ 77%] Built target device-counter 11:26:37 Scanning dependencies of target device-random 11:26:37 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 11:26:38 [ 80%] Linking C executable device-random 11:26:38 [ 80%] Built target device-random 11:26:38 Scanning dependencies of target device-gyro 11:26:38 [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 11:26:38 [ 83%] Linking C executable device-gyro 11:26:38 [ 83%] Built target device-gyro 11:26:38 Scanning dependencies of target device-bitfields 11:26:38 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 11:26:39 [ 86%] Linking C executable device-bitfields 11:26:39 [ 86%] Built target device-bitfields 11:26:39 Scanning dependencies of target template-discovery 11:26:39 [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 11:26:39 [ 90%] Linking C executable template-discovery 11:26:39 [ 90%] Built target template-discovery 11:26:39 Scanning dependencies of target device-file 11:26:39 [ 91%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 11:26:39 [ 93%] Linking C executable device-file 11:26:40 [ 93%] Built target device-file 11:26:40 Scanning dependencies of target device-terminal 11:26:40 [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 11:26:40 [ 96%] Linking C executable device-terminal 11:26:40 [ 96%] Built target device-terminal 11:26:40 Scanning dependencies of target templatev1 11:26:40 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 11:26:41 [100%] Linking C executable templatev1 11:26:41 [100%] Built target templatev1 11:26:41 make: Entering directory '/tmp/sdk/build/release' 11:26:41 make[1]: Entering directory '/tmp/sdk/build/release' 11:26:41 make[2]: Entering directory '/tmp/sdk/build/release' 11:26:41 make[2]: Leaving directory '/tmp/sdk/build/release' 11:26:41 [ 70%] Built target csdk 11:26:41 make[2]: Entering directory '/tmp/sdk/build/release' 11:26:41 make[2]: Leaving directory '/tmp/sdk/build/release' 11:26:41 [ 73%] Built target template 11:26:41 make[2]: Entering directory '/tmp/sdk/build/release' 11:26:41 make[2]: Leaving directory '/tmp/sdk/build/release' 11:26:41 [ 77%] Built target device-counter 11:26:41 make[2]: Entering directory '/tmp/sdk/build/release' 11:26:41 make[2]: Leaving directory '/tmp/sdk/build/release' 11:26:41 [ 80%] Built target device-random 11:26:41 make[2]: Entering directory '/tmp/sdk/build/release' 11:26:41 make[2]: Leaving directory '/tmp/sdk/build/release' 11:26:41 [ 83%] Built target device-gyro 11:26:41 make[2]: Entering directory '/tmp/sdk/build/release' 11:26:41 make[2]: Leaving directory '/tmp/sdk/build/release' 11:26:41 [ 86%] Built target device-bitfields 11:26:41 make[2]: Entering directory '/tmp/sdk/build/release' 11:26:41 make[2]: Leaving directory '/tmp/sdk/build/release' 11:26:41 [ 90%] Built target template-discovery 11:26:41 make[2]: Entering directory '/tmp/sdk/build/release' 11:26:41 make[2]: Leaving directory '/tmp/sdk/build/release' 11:26:41 [ 93%] Built target device-file 11:26:41 make[2]: Entering directory '/tmp/sdk/build/release' 11:26:41 make[2]: Leaving directory '/tmp/sdk/build/release' 11:26:41 [ 96%] Built target device-terminal 11:26:41 make[2]: Entering directory '/tmp/sdk/build/release' 11:26:41 make[2]: Leaving directory '/tmp/sdk/build/release' 11:26:41 [100%] Built target templatev1 11:26:41 make[1]: Leaving directory '/tmp/sdk/build/release' 11:26:41 Install the project... 11:26:41 -- Install configuration: "Release" 11:26:41 -- Installing: /usr/local/lib/libcsdk.so 11:26:41 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 11:26:41 -- Up-to-date: /usr/local/include 11:26:41 -- Installing: /usr/local/include/edgex 11:26:41 -- Installing: /usr/local/include/edgex/device-mgmt.h 11:26:41 -- Installing: /usr/local/include/edgex/eventgen.h 11:26:41 -- Installing: /usr/local/include/edgex/error.h 11:26:41 -- Installing: /usr/local/include/edgex/rest-server.h 11:26:41 -- Installing: /usr/local/include/edgex/edgex-base.h 11:26:41 -- Installing: /usr/local/include/edgex/devsdk.h 11:26:41 -- Installing: /usr/local/include/edgex/edgex.h 11:26:41 -- Installing: /usr/local/include/edgex/devices.h 11:26:41 -- Installing: /usr/local/include/edgex/os.h 11:26:41 -- Installing: /usr/local/include/edgex/profiles.h 11:26:41 -- Installing: /usr/local/include/edgex/csdk-defs.h 11:26:41 -- Installing: /usr/local/include/devsdk 11:26:41 -- Installing: /usr/local/include/devsdk/devsdk-base.h 11:26:41 -- Installing: /usr/local/include/devsdk/devsdk.h 11:26:41 -- Installing: /usr/local/include/iot 11:26:41 -- Installing: /usr/local/include/iot/json.h 11:26:41 -- Installing: /usr/local/include/iot/container.h 11:26:41 -- Installing: /usr/local/include/iot/component.h 11:26:41 -- Installing: /usr/local/include/iot/typecode.h 11:26:41 -- Installing: /usr/local/include/iot/iot.h 11:26:41 -- Installing: /usr/local/include/iot/time.h 11:26:41 -- Installing: /usr/local/include/iot/hash.h 11:26:41 -- Installing: /usr/local/include/iot/logger.h 11:26:41 -- Installing: /usr/local/include/iot/os 11:26:41 -- Installing: /usr/local/include/iot/os/zephyr.h 11:26:41 -- Installing: /usr/local/include/iot/os/linux.h 11:26:41 -- Installing: /usr/local/include/iot/os/macos.h 11:26:41 -- Installing: /usr/local/include/iot/scheduler.h 11:26:41 -- Installing: /usr/local/include/iot/data.h 11:26:41 -- Installing: /usr/local/include/iot/thread.h 11:26:41 -- Installing: /usr/local/include/iot/os.h 11:26:41 -- Installing: /usr/local/include/iot/base64.h 11:26:41 -- Installing: /usr/local/include/iot/threadpool.h 11:26:41 -- Installing: /usr/local/include/iot/config.h 11:26:41 -- Installing: /usr/local/share/device-sdk-c/LICENSE 11:26:41 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 11:26:41 make: Leaving directory '/tmp/sdk/build/release' 11:26:44 Removing intermediate container a8a0bc417c5e 11:26:44 ---> 66a33684e929 11:26:44 Step 14/21 : FROM ${BASE} 11:26:44 ---> b23d30803547 11:26:44 Step 15/21 : MAINTAINER IOTech 11:26:44 ---> Running in eaacf8378d58 11:26:44 Removing intermediate container eaacf8378d58 11:26:44 ---> 3e7ce2ad79e7 11:26:44 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 11:26:44 ---> Running in 6e73ad7e7636 11:26:46 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 11:26:47 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 11:26:47 (1/3) Installing curl (7.64.0-r3) 11:26:47 (2/3) Installing libuuid (2.33-r0) 11:26:47 (3/3) Installing wget (1.20.3-r0) 11:26:48 Executing busybox-1.29.3-r10.trigger 11:26:48 OK: 281 MiB in 78 packages 11:26:49 Removing intermediate container 6e73ad7e7636 11:26:49 ---> 039985dde457 11:26:49 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 11:26:50 ---> 57f291cca396 11:26:50 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 11:26:50 ---> a5ad4262c39c 11:26:50 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 11:26:51 ---> dc19758ce21c 11:26:51 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 11:26:52 ---> f09a87d441b2 11:26:52 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 11:26:52 ---> d213e2fd4d77 11:26:52 Successfully built d213e2fd4d77 11:26:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:26:53 + docker inspect -f . ci-base-image-arm64 11:26:53 . [Pipeline] withDockerContainer 11:26:54 prd-ubuntu18.04-docker-arm64-4c-16g-1810 does not seem to be running inside a container 11:26:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/41 -v /w/workspace/device-sdk-c/41:/w/workspace/device-sdk-c/41:rw,z -v /w/workspace/device-sdk-c/41@tmp:/w/workspace/device-sdk-c/41@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 ******** ci-base-image-arm64 cat 11:26:56 $ docker top 447cf5151e0cdedb30318227277d3c0e23a5eb5fdca47e32f0a84de1e32344b7 -eo pid,comm [Pipeline] { [Pipeline] sh 11:26:57 + make test 11:26:57 echo "make test" 11:26:57 make test [Pipeline] } 11:26:57 $ docker stop --time=1 447cf5151e0cdedb30318227277d3c0e23a5eb5fdca47e32f0a84de1e32344b7 11:26:59 $ docker rm -f 447cf5151e0cdedb30318227277d3c0e23a5eb5fdca47e32f0a84de1e32344b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:27:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:27:00 + ls -al . 11:27:00 total 196 11:27:00 drwxrwxr-x 9 jenkins jenkins 4096 Sep 8 11:24 . 11:27:00 drwxrwxr-x 4 jenkins jenkins 4096 Sep 8 11:24 .. 11:27:00 drwxrwxr-x 8 jenkins jenkins 4096 Sep 8 11:24 .git 11:27:00 drwxrwxr-x 2 jenkins jenkins 4096 Sep 8 11:24 .github 11:27:00 -rw-rw-r-- 1 jenkins jenkins 176 Sep 8 11:24 .gitignore 11:27:00 drwxrwxr-x 3 jenkins jenkins 4096 Sep 8 11:24 .semver 11:27:00 -rw-rw-r-- 1 jenkins jenkins 3104 Sep 8 11:24 Attribution.txt 11:27:00 -rw-rw-r-- 1 jenkins jenkins 5980 Sep 8 11:24 CHANGES 11:27:00 -rw-rw-r-- 1 jenkins jenkins 108574 Sep 8 11:24 Doxyfile 11:27:00 -rw-rw-r-- 1 jenkins jenkins 794 Sep 8 11:24 Jenkinsfile 11:27:00 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 8 11:24 LICENSE 11:27:00 -rw-rw-r-- 1 jenkins jenkins 449 Sep 8 11:24 Makefile 11:27:00 -rw-rw-r-- 1 jenkins jenkins 2697 Sep 8 11:24 README.md 11:27:00 -rw-rw-r-- 1 jenkins jenkins 5977 Sep 8 11:24 README.v2.md 11:27:00 -rw-rw-r-- 1 jenkins jenkins 11 Sep 8 11:22 VERSION 11:27:00 drwxrwxr-x 2 jenkins jenkins 4096 Sep 8 11:24 docs 11:27:00 drwxrwxr-x 4 jenkins jenkins 4096 Sep 8 11:24 include 11:27:00 drwxrwxr-x 2 jenkins jenkins 4096 Sep 8 11:24 scripts 11:27:00 drwxrwxr-x 4 jenkins jenkins 4096 Sep 8 11:24 src [Pipeline] isUnix [Pipeline] sh 11:27:01 + 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=6568dd76e6ab4166df02199344f5d2342af650e5 --label arch=arm64 --label version=1.3.0-dev.5 . 11:27:01 Sending build context to Docker daemon 3.507MB 11:27:01 Step 1/15 : ARG BASE=alpine:3.11 11:27:01 Step 2/15 : FROM ${BASE} 11:27:01 ---> d213e2fd4d77 11:27:01 Step 3/15 : MAINTAINER IOTech 11:27:02 ---> Running in 97bd1aa2e56e 11:27:02 Removing intermediate container 97bd1aa2e56e 11:27:02 ---> 9c69f8fa74de 11:27:02 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 11:27:02 ---> Running in e9cd2367610d 11:27:04 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 11:27:05 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 11:27:05 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 11:27:05 (2/6) Installing libblkid (2.33-r0) 11:27:05 (3/6) Installing libfdisk (2.33-r0) 11:27:05 (4/6) Installing libmount (2.33-r0) 11:27:05 (5/6) Installing libsmartcols (2.33-r0) 11:27:05 (6/6) Installing util-linux-dev (2.33-r0) 11:27:06 Executing busybox-1.29.3-r10.trigger 11:27:06 OK: 286 MiB in 84 packages 11:27:07 Removing intermediate container e9cd2367610d 11:27:07 ---> e4c03789bf6f 11:27:07 Step 5/15 : COPY VERSION /edgex-c-sdk/ 11:27:08 ---> 454e7953d5a7 11:27:08 Step 6/15 : COPY src /edgex-c-sdk/src/ 11:27:09 ---> 168d1228569a 11:27:09 Step 7/15 : COPY include /edgex-c-sdk/include/ 11:27:09 ---> 0b3cfd7fcbac 11:27:09 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 11:27:10 ---> 56cd4f47a4ed 11:27:10 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 11:27:11 ---> a3990399a85c 11:27:11 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 11:27:12 ---> ff36ca22e2ab 11:27:12 Step 11/15 : WORKDIR /edgex-c-sdk 11:27:12 ---> Running in ed61fa5fe596 11:27:12 Removing intermediate container ed61fa5fe596 11:27:12 ---> b35596738b73 11:27:12 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 11:27:12 ---> Running in fe2a0e997579 11:27:13 Removing intermediate container fe2a0e997579 11:27:13 ---> 6a8f7f72b42a 11:27:13 Step 13/15 : LABEL arch=arm64 11:27:13 ---> Running in 1414931829f7 11:27:13 Removing intermediate container 1414931829f7 11:27:13 ---> 73352cb81db2 11:27:13 Step 14/15 : LABEL git_sha=6568dd76e6ab4166df02199344f5d2342af650e5 11:27:14 ---> Running in b4c6d5b676b8 11:27:14 Removing intermediate container b4c6d5b676b8 11:27:14 ---> efaf5b57d839 11:27:14 Step 15/15 : LABEL version=1.3.0-dev.5 11:27:14 ---> Running in f0cffee0f459 11:27:14 Removing intermediate container f0cffee0f459 11:27:14 ---> 369518d723a8 11:27:14 [Warning] One or more build-args [ARCH MAKE] were not consumed 11:27:14 Successfully built 369518d723a8 11:27:15 Successfully tagged docker-device-sdk-c-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh 11:27:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:27:17 . [Pipeline] withDockerContainer 11:27:18 prd-centos7-docker-4c-2g-1809 does not seem to be running inside a container 11:27:18 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:27:20 $ docker top 69b20409cfec44703f81a7b51bbc626ec91d05cdd082ab5f267684122c89ef7a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:27:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:27:21 [ssh-agent] Looking for ssh-agent implementation... 11:27:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:27:21 $ docker exec 69b20409cfec44703f81a7b51bbc626ec91d05cdd082ab5f267684122c89ef7a ssh-agent 11:27:22 SSH_AUTH_SOCK=/tmp/ssh-5V6HOVZSu376/agent.12 11:27:22 SSH_AGENT_PID=17 11:27:22 Running ssh-add (command line suppressed) 11:27:22 Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_60036767266608798.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_60036767266608798.key) 11:27:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:27:23 + git semver tag 11:27:23 # -> Open(): unable to determine branch for HEAD 11:27:23 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git 11:27:23 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master 11:27:23 # $SEMVER_REMOTE_NAME = origin 11:27:23 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:27:23 # $SEMVER_USER_NAME = edgex-jenkins 11:27:23 # $SEMVER_BRANCH = master 11:27:23 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver 11:27:23 # 6568dd76e6ab4166df02199344f5d2342af650e5 HEAD 11:27:23 # -> Force: false 11:27:23 # d29f2871367489c8ca1845ce5c305484e62086c5 refs/tags/v1.3.0-dev.5 [Pipeline] } 11:27:23 $ docker exec --env ******** --env ******** 69b20409cfec44703f81a7b51bbc626ec91d05cdd082ab5f267684122c89ef7a ssh-agent -k 11:27:24 unset SSH_AUTH_SOCK; 11:27:24 unset SSH_AGENT_PID; 11:27:24 echo Agent pid 17 killed; 11:27:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:27:25 + git semver [Pipeline] } 11:27:25 $ docker stop --time=1 69b20409cfec44703f81a7b51bbc626ec91d05cdd082ab5f267684122c89ef7a 11:27:26 $ docker rm -f 69b20409cfec44703f81a7b51bbc626ec91d05cdd082ab5f267684122c89ef7a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 11:27:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:27:27 11:27:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 11:27:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:27:28 0.23.1-centos7: Pulling from edgex-lftools 11:27:28 ab5ef0e58194: Pulling fs layer 11:27:28 9712f1f96733: Pulling fs layer 11:27:28 63f879dbbcfc: Pulling fs layer 11:27:28 0d9ebad4ef96: Pulling fs layer 11:27:28 e9a5061849ea: Pulling fs layer 11:27:28 d747dcd14b5f: Pulling fs layer 11:27:28 2de7ff778b66: Pulling fs layer 11:27:28 e9a5061849ea: Waiting 11:27:28 d747dcd14b5f: Waiting 11:27:28 2de7ff778b66: Waiting 11:27:28 0d9ebad4ef96: Waiting 11:27:28 9712f1f96733: Verifying Checksum 11:27:28 9712f1f96733: Download complete 11:27:40 63f879dbbcfc: Verifying Checksum 11:27:40 63f879dbbcfc: Download complete 11:27:40 e9a5061849ea: Verifying Checksum 11:27:40 e9a5061849ea: Download complete 11:27:40 d747dcd14b5f: Verifying Checksum 11:27:40 d747dcd14b5f: Download complete 11:27:42 2de7ff778b66: Verifying Checksum 11:27:42 2de7ff778b66: Download complete 11:27:42 0d9ebad4ef96: Verifying Checksum 11:27:42 0d9ebad4ef96: Download complete 11:27:42 ab5ef0e58194: Download complete 11:27:51 ab5ef0e58194: Pull complete 11:27:51 9712f1f96733: Pull complete 11:27:54 63f879dbbcfc: Pull complete 11:28:07 0d9ebad4ef96: Pull complete 11:28:09 e9a5061849ea: Pull complete 11:28:09 d747dcd14b5f: Pull complete 11:28:12 2de7ff778b66: Pull complete 11:28:13 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 11:28:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:28:13 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 11:28:13 prd-centos7-docker-4c-2g-1809 does not seem to be running inside a container 11:28:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 11:28:17 $ docker top 274ad78e3290421efd274c2df42fff9702126bac06181bcab406e70751e87ef0 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 11:28:18 provisioning config files... 11:28:18 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config8211508072330714163tmp 11:28:18 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config2590832635862273673tmp 11:28:18 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config6815153483068100476tmp [Pipeline] { [Pipeline] echo 11:28:18 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 11:28:19 ---> sigul-configuration.sh 11:28:19 gpg: directory `/root/.gnupg' created 11:28:19 gpg: new configuration file `/root/.gnupg/gpg.conf' created 11:28:19 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 11:28:19 gpg: keyring `/root/.gnupg/secring.gpg' created 11:28:19 gpg: keyring `/root/.gnupg/pubring.gpg' created 11:28:19 gpg: CAST5 encrypted data 11:28:19 gpg: encrypted with 1 passphrase 11:28:19 gpg: WARNING: message was not integrity protected [Pipeline] sh 11:28:19 + mkdir /home/jenkins 11:28:19 + mkdir /home/jenkins/sigul [Pipeline] sh 11:28:20 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 11:28:20 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 11:28:21 ---> sigul-install.sh 11:28:29 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 11:28:30 + git tag --list 11:28:30 v1.3.0-dev.5 [Pipeline] sh 11:28:30 + lftools sign git-tag v1.3.0-dev.5 11:28:32 Signing Git tag with Sigul... 11:28:32 Signing v1.3.0-dev.5 [Pipeline] echo 11:28:34 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 11:28:35 ---> sigul-configuration-cleanup.sh [Pipeline] } 11:28:35 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 11:28:35 $ docker stop --time=1 274ad78e3290421efd274c2df42fff9702126bac06181bcab406e70751e87ef0 11:28:37 $ docker rm -f 274ad78e3290421efd274c2df42fff9702126bac06181bcab406e70751e87ef0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 11:28:37 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:28:37 . [Pipeline] withDockerContainer 11:28:38 prd-centos7-docker-4c-2g-1809 does not seem to be running inside a container 11:28:38 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:28:40 $ docker top 7def82aa3050a8ce41fa2ab1a93eee0949057dc6e0ff4eee1bfecbf1546fcefb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:28:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:28:40 [ssh-agent] Looking for ssh-agent implementation... 11:28:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:28:41 $ docker exec 7def82aa3050a8ce41fa2ab1a93eee0949057dc6e0ff4eee1bfecbf1546fcefb ssh-agent 11:28:42 SSH_AUTH_SOCK=/tmp/ssh-uy82fgCXknYc/agent.12 11:28:42 SSH_AGENT_PID=17 11:28:42 Running ssh-add (command line suppressed) 11:28:42 Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_2625799152265648974.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_2625799152265648974.key) 11:28:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:28:43 + git semver bump pre 11:28:43 # -> Open(): unable to determine branch for HEAD 11:28:43 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git 11:28:43 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master 11:28:43 # $SEMVER_REMOTE_NAME = origin 11:28:43 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:28:43 # $SEMVER_USER_NAME = edgex-jenkins 11:28:43 # $SEMVER_BRANCH = master 11:28:43 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver 11:28:43 1.3.0-dev.6 [Pipeline] } 11:28:43 $ docker exec --env ******** --env ******** 7def82aa3050a8ce41fa2ab1a93eee0949057dc6e0ff4eee1bfecbf1546fcefb ssh-agent -k 11:28:43 unset SSH_AUTH_SOCK; 11:28:43 unset SSH_AGENT_PID; 11:28:43 echo Agent pid 17 killed; 11:28:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:28:45 + git semver [Pipeline] } 11:28:45 $ docker stop --time=1 7def82aa3050a8ce41fa2ab1a93eee0949057dc6e0ff4eee1bfecbf1546fcefb 11:28:46 $ docker rm -f 7def82aa3050a8ce41fa2ab1a93eee0949057dc6e0ff4eee1bfecbf1546fcefb [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 11:28:47 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:28:47 . [Pipeline] withDockerContainer 11:28:47 prd-centos7-docker-4c-2g-1809 does not seem to be running inside a container 11:28:47 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:28:48 $ docker top b2e8aca43f7cff030512da6db0c2dfb1e093f075aeef13bff667185ddbf4c7be -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:28:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:28:49 [ssh-agent] Looking for ssh-agent implementation... 11:28:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:28:49 $ docker exec b2e8aca43f7cff030512da6db0c2dfb1e093f075aeef13bff667185ddbf4c7be ssh-agent 11:28:49 SSH_AUTH_SOCK=/tmp/ssh-7K9zwLC7POhS/agent.12 11:28:49 SSH_AGENT_PID=18 11:28:49 Running ssh-add (command line suppressed) 11:28:49 Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_8542078390615297380.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_8542078390615297380.key) 11:28:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:28:50 + git semver push 11:28:50 # -> Open(): unable to determine branch for HEAD 11:28:50 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git 11:28:50 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master 11:28:50 # $SEMVER_REMOTE_NAME = origin 11:28:50 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:28:50 # $SEMVER_USER_NAME = edgex-jenkins 11:28:50 # $SEMVER_BRANCH = master 11:28:50 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [Pipeline] } 11:28:57 $ docker exec --env ******** --env ******** b2e8aca43f7cff030512da6db0c2dfb1e093f075aeef13bff667185ddbf4c7be ssh-agent -k 11:28:57 unset SSH_AUTH_SOCK; 11:28:57 unset SSH_AGENT_PID; 11:28:57 echo Agent pid 18 killed; 11:28:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:28:58 + git semver [Pipeline] } 11:28:58 $ docker stop --time=1 b2e8aca43f7cff030512da6db0c2dfb1e093f075aeef13bff667185ddbf4c7be 11:29:00 $ docker rm -f b2e8aca43f7cff030512da6db0c2dfb1e093f075aeef13bff667185ddbf4c7be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 11:29:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:29:02 ---> package-listing.sh 11:29:02 ++ tr '[:upper:]' '[:lower:]' 11:29:02 ++ facter osfamily 11:29:02 + OS_FAMILY=redhat 11:29:02 + workspace=/w/workspace/edgexfoundry_device-sdk-c_master 11:29:02 + START_PACKAGES=/tmp/packages_start.txt 11:29:02 + END_PACKAGES=/tmp/packages_end.txt 11:29:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:29:02 + PACKAGES=/tmp/packages_start.txt 11:29:02 + '[' /w/workspace/edgexfoundry_device-sdk-c_master ']' 11:29:02 + PACKAGES=/tmp/packages_end.txt 11:29:02 + case "${OS_FAMILY}" in 11:29:02 + rpm -qa 11:29:02 + sort 11:29:06 + '[' -f /tmp/packages_start.txt ']' 11:29:06 + '[' -f /tmp/packages_end.txt ']' 11:29:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:29:06 + '[' /w/workspace/edgexfoundry_device-sdk-c_master ']' 11:29:06 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_master/archives/ 11:29:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_master/archives/ [Pipeline] isUnix [Pipeline] sh 11:29:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:29:08 11:29:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 11:29:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:29:08 alpine: Pulling from edgex-lftools-log-publisher 11:29:08 df20fa9351a1: Pulling fs layer 11:29:08 36b3adc4ff6f: Pulling fs layer 11:29:08 8ad3a11d3b57: Pulling fs layer 11:29:08 46f8f816bc3b: Pulling fs layer 11:29:08 0dadc02b9964: Pulling fs layer 11:29:08 ce6a7cf60c04: Pulling fs layer 11:29:08 7a184a31f384: Pulling fs layer 11:29:08 0879bd2ef858: Pulling fs layer 11:29:08 0dadc02b9964: Waiting 11:29:08 ce6a7cf60c04: Waiting 11:29:08 7a184a31f384: Waiting 11:29:08 0879bd2ef858: Waiting 11:29:08 46f8f816bc3b: Waiting 11:29:08 36b3adc4ff6f: Verifying Checksum 11:29:08 36b3adc4ff6f: Download complete 11:29:08 46f8f816bc3b: Verifying Checksum 11:29:08 46f8f816bc3b: Download complete 11:29:08 0dadc02b9964: Verifying Checksum 11:29:08 0dadc02b9964: Download complete 11:29:08 ce6a7cf60c04: Verifying Checksum 11:29:08 ce6a7cf60c04: Download complete 11:29:08 7a184a31f384: Verifying Checksum 11:29:08 7a184a31f384: Download complete 11:29:09 df20fa9351a1: Verifying Checksum 11:29:09 df20fa9351a1: Download complete 11:29:09 8ad3a11d3b57: Verifying Checksum 11:29:09 8ad3a11d3b57: Download complete 11:29:09 df20fa9351a1: Pull complete 11:29:09 36b3adc4ff6f: Pull complete 11:29:10 8ad3a11d3b57: Pull complete 11:29:10 46f8f816bc3b: Pull complete 11:29:11 0879bd2ef858: Verifying Checksum 11:29:11 0879bd2ef858: Download complete 11:29:12 0dadc02b9964: Pull complete 11:29:12 ce6a7cf60c04: Pull complete 11:29:12 7a184a31f384: Pull complete 11:29:19 0879bd2ef858: Pull complete 11:29:19 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 11:29:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:29:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 11:29:19 prd-centos7-docker-4c-2g-1809 does not seem to be running inside a container 11:29:20 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/edgexfoundry_device-sdk-c_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 11:29:23 $ docker top 6ef41d25309eb43f259aa392782c1a5ac6bfb152d1dee897841d79c0753316e5 -eo pid,comm [Pipeline] { [Pipeline] sh 11:29:24 + mkdir -p /var/log/sa [Pipeline] sh 11:29:24 + ls /var/log/sa-host 11:29:24 + sadf -c /var/log/sa-host/sa05 11:29:24 file_magic: OK 11:29:24 HZ: Using current value: 100 11:29:24 file_header: OK 11:29:24 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 11:29:24 Statistics: 11:29:24 Hnuu...uuuununununu...Hnuu...uuuununununu... 11:29:24 File successfully converted to sysstat format version 12.2.1 11:29:24 + sadf -c /var/log/sa-host/sa08 11:29:24 file_magic: OK 11:29:24 HZ: Using current value: 100 11:29:24 file_header: OK 11:29:24 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 11:29:24 Statistics: 11:29:24 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 11:29:24 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:29:24 provisioning config files... 11:29:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config4740690104257114546tmp [Pipeline] { [Pipeline] echo 11:29:25 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:29:25 ---> create-netrc.sh [Pipeline] echo 11:29:26 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:29:26 ---> logs-deploy.sh 11:29:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/master/41 11:29:26 INFO: archiving workspace using pattern(s): 11:29:28 Archives upload complete. 11:29:28 INFO: archiving logs to Nexus 11:29:30 ---> uname -a: 11:29:30 Linux 6ef41d25309e 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 11:29:30 11:29:30 11:29:30 ---> lscpu: 11:29:30 Architecture: x86_64 11:29:30 CPU op-mode(s): 32-bit, 64-bit 11:29:30 Byte Order: Little Endian 11:29:30 Address sizes: 40 bits physical, 48 bits virtual 11:29:30 CPU(s): 4 11:29:30 On-line CPU(s) list: 0-3 11:29:30 Thread(s) per core: 1 11:29:30 Core(s) per socket: 1 11:29:30 Socket(s): 4 11:29:30 NUMA node(s): 1 11:29:30 Vendor ID: GenuineIntel 11:29:30 CPU family: 6 11:29:30 Model: 44 11:29:30 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 11:29:30 Stepping: 1 11:29:30 CPU MHz: 2933.438 11:29:30 BogoMIPS: 5866.87 11:29:30 Virtualization: VT-x 11:29:30 Hypervisor vendor: KVM 11:29:30 Virtualization type: full 11:29:30 L1d cache: 128 KiB 11:29:30 L1i cache: 128 KiB 11:29:30 L2 cache: 16 MiB 11:29:30 L3 cache: 64 MiB 11:29:30 NUMA node0 CPU(s): 0-3 11:29:30 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 11:29:30 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 11:29:30 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 11:29:30 Vulnerability Meltdown: Mitigation; PTI 11:29:30 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 11:29:30 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 11:29:30 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 11:29:30 Vulnerability Tsx async abort: Not affected 11:29:30 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 11:29:30 11:29:30 11:29:30 ---> nproc: 11:29:30 4 11:29:30 11:29:30 11:29:30 ---> df -h: 11:29:30 Filesystem Size Used Available Use% Mounted on 11:29:30 overlay 50.0G 7.5G 42.4G 15% / 11:29:30 tmpfs 64.0M 0 64.0M 0% /dev 11:29:30 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 11:29:30 shm 64.0M 0 64.0M 0% /dev/shm 11:29:30 /dev/vda1 50.0G 7.5G 42.4G 15% /etc/resolv.conf 11:29:30 /dev/vda1 50.0G 7.5G 42.4G 15% /etc/hostname 11:29:30 /dev/vda1 50.0G 7.5G 42.4G 15% /etc/hosts 11:29:30 /dev/vda1 50.0G 7.5G 42.4G 15% /var/log/sa-host 11:29:30 /dev/vda1 50.0G 7.5G 42.4G 15% /w/workspace/edgexfoundry_device-sdk-c_master 11:29:30 /dev/vda1 50.0G 7.5G 42.4G 15% /w/workspace/edgexfoundry_device-sdk-c_master@tmp 11:29:30 11:29:30 11:29:30 ---> free -m: 11:29:30 total used free shared buff/cache available 11:29:30 Mem: 1837 734 128 0 974 1021 11:29:30 Swap: 1023 1 1022 11:29:30 11:29:30 11:29:30 ---> ip addr: 11:29:30 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 11:29:30 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 11:29:30 inet 127.0.0.1/8 scope host lo 11:29:30 valid_lft forever preferred_lft forever 11:29:30 14: eth0@if15: mtu 1458 qdisc noqueue state UP 11:29:30 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 11:29:30 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 11:29:30 valid_lft forever preferred_lft forever 11:29:30 11:29:30 11:29:30 ---> sar -b -r -n DEV: 11:29:30 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 09/08/20 _x86_64_ (4 CPU) 11:29:30 11:29:30 11:20:29 LINUX RESTART (4 CPU) 11:29:30 11:29:30 11:21:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 11:29:30 11:22:01 151.22 69.19 82.03 0.00 8865.65 39979.54 0.00 11:29:30 11:23:01 10.15 4.64 5.51 0.00 889.18 215.59 0.00 11:29:30 11:24:01 0.35 0.00 0.35 0.00 0.00 5.56 0.00 11:29:30 11:25:01 0.23 0.00 0.23 0.00 0.00 2.83 0.00 11:29:30 11:26:01 0.15 0.00 0.15 0.00 0.00 2.35 0.00 11:29:30 11:27:01 0.33 0.00 0.33 0.00 0.00 4.33 0.00 11:29:30 11:28:02 132.80 65.30 67.50 0.00 2609.80 20691.91 0.00 11:29:30 11:29:01 144.39 74.00 70.40 0.00 4257.35 11948.80 0.00 11:29:30 Average: 54.83 26.57 28.25 0.00 2074.62 9107.11 0.00 11:29:30 11:29:30 11:21:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:29:30 11:22:01 70932 0 617876 32.84 2620 1190128 1764144 60.21 472468 1174692 16 11:29:30 11:23:01 177476 0 560732 29.80 2620 1140728 1135500 38.75 425180 1119248 20 11:29:30 11:24:01 189456 0 548744 29.16 2620 1140736 1059604 36.16 419504 1115068 8 11:29:30 11:25:01 186376 0 551824 29.33 2620 1140736 1059820 36.17 422668 1114840 8 11:29:30 11:26:01 185372 0 552820 29.38 2620 1140744 1059868 36.17 426636 1111868 8 11:29:30 11:27:01 184504 0 553680 29.43 2620 1140752 1059712 36.17 442644 1096792 8 11:29:30 11:28:02 68372 0 711224 37.80 2620 1099340 1538304 52.50 528236 1060752 56388 11:29:30 11:29:01 226516 0 679484 36.11 2620 972936 1135000 38.74 467204 920292 20 11:29:30 Average: 161126 0 597048 31.73 2620 1120762 1226494 41.86 450568 1089194 7060 11:29:30 11:29:30 11:21:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:29:30 11:22:01 veth6e884c0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:29:30 11:22:01 vethcd99d11 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:29:30 11:22:01 eth0 194.51 145.60 1021.80 64.66 0.00 0.00 0.00 0.00 11:29:30 11:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:29:30 11:23:01 eth0 29.53 27.27 43.69 37.89 0.00 0.00 0.00 0.00 11:29:30 11:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:29:30 11:23:01 docker0 5.69 4.34 0.71 20.17 0.00 0.00 0.00 0.00 11:29:30 11:24:01 eth0 0.75 0.08 0.06 0.01 0.00 0.00 0.00 0.00 11:29:30 11:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:29:30 11:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:29:30 11:25:01 eth0 0.98 0.47 0.32 0.21 0.00 0.00 0.00 0.00 11:29:30 11:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:29:30 11:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:29:30 11:26:01 eth0 0.40 0.33 0.26 0.20 0.00 0.00 0.00 0.00 11:29:30 11:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:29:30 11:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:29:30 11:27:01 eth0 0.37 0.27 0.23 0.08 0.00 0.00 0.00 0.00 11:29:30 11:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:29:30 11:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:29:30 11:28:02 eth0 381.63 336.94 3222.48 50.30 0.00 0.00 0.00 0.00 11:29:30 11:28:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:29:30 11:28:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:29:30 11:29:01 eth0 97.18 81.16 263.13 61.20 0.00 0.00 0.00 0.00 11:29:30 11:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:29:30 11:29:01 docker0 33.27 40.44 2.06 202.48 0.00 0.00 0.00 0.00 11:29:30 Average: eth0 88.25 74.08 570.34 26.77 0.00 0.00 0.00 0.00 11:29:30 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:29:30 Average: docker0 4.82 5.53 0.34 27.51 0.00 0.00 0.00 0.00 11:29:30 11:29:30 11:29:30 ---> sar -P ALL: 11:29:30 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 09/08/20 _x86_64_ (4 CPU) 11:29:30 11:29:30 11:20:29 LINUX RESTART (4 CPU) 11:29:30 11:29:30 11:21:01 CPU %user %nice %system %iowait %steal %idle 11:29:30 11:22:01 all 13.49 0.00 7.98 5.81 26.90 45.82 11:29:30 11:22:01 0 12.12 0.00 6.57 5.61 28.17 47.54 11:29:30 11:22:01 1 12.17 0.00 7.62 6.02 27.05 47.13 11:29:30 11:22:01 2 13.92 0.00 7.97 5.80 25.94 46.37 11:29:30 11:22:01 3 15.89 0.00 9.88 5.80 26.35 42.08 11:29:30 11:23:01 all 1.40 0.00 1.02 0.11 4.98 92.50 11:29:30 11:23:01 0 1.34 0.00 1.09 0.05 5.30 92.22 11:29:30 11:23:01 1 1.21 0.00 1.14 0.02 4.50 93.13 11:29:30 11:23:01 2 1.33 0.00 0.88 0.23 4.83 92.73 11:29:30 11:23:01 3 1.71 0.00 0.95 0.15 5.29 91.91 11:29:30 11:24:01 all 0.08 0.00 0.05 0.00 0.43 99.44 11:29:30 11:24:01 0 0.03 0.00 0.07 0.00 0.47 99.43 11:29:30 11:24:01 1 0.25 0.00 0.05 0.00 0.58 99.12 11:29:30 11:24:01 2 0.02 0.00 0.02 0.00 0.27 99.70 11:29:30 11:24:01 3 0.02 0.00 0.05 0.00 0.42 99.52 11:29:30 11:25:01 all 0.11 0.00 0.03 0.00 0.34 99.51 11:29:30 11:25:01 0 0.02 0.00 0.02 0.00 0.17 99.80 11:29:30 11:25:01 1 0.35 0.00 0.03 0.00 0.35 99.27 11:29:30 11:25:01 2 0.03 0.00 0.02 0.00 0.20 99.75 11:29:30 11:25:01 3 0.05 0.00 0.07 0.00 0.66 99.22 11:29:30 11:26:01 all 0.11 0.00 0.05 0.00 0.36 99.48 11:29:30 11:26:01 0 0.02 0.00 0.02 0.00 0.18 99.78 11:29:30 11:26:01 1 0.32 0.00 0.03 0.00 0.65 99.00 11:29:30 11:26:01 2 0.05 0.00 0.02 0.00 0.28 99.65 11:29:30 11:26:01 3 0.05 0.00 0.12 0.00 0.33 99.50 11:29:30 11:27:01 all 0.07 0.00 0.06 0.00 0.33 99.53 11:29:30 11:27:01 0 0.00 0.00 0.03 0.00 0.20 99.77 11:29:30 11:27:01 1 0.22 0.00 0.02 0.00 0.40 99.37 11:29:30 11:27:01 2 0.03 0.00 0.03 0.00 0.35 99.58 11:29:30 11:27:01 3 0.05 0.00 0.17 0.00 0.38 99.40 11:29:30 11:28:02 all 4.11 0.00 3.72 0.29 21.27 70.61 11:29:30 11:28:02 0 3.99 0.00 2.82 0.34 23.89 68.96 11:29:30 11:28:02 1 3.83 0.00 3.42 0.40 21.60 70.75 11:29:30 11:28:02 2 3.97 0.00 4.52 0.25 19.36 71.91 11:29:30 11:28:02 3 4.66 0.00 4.15 0.19 20.14 70.86 11:29:30 11:29:01 all 4.76 0.00 4.43 2.22 16.46 72.13 11:29:30 11:29:01 0 3.61 0.00 4.85 0.82 17.28 73.43 11:29:30 11:29:01 1 7.78 0.00 4.29 1.76 17.07 69.09 11:29:30 11:29:01 2 3.55 0.00 4.04 3.22 15.60 73.59 11:29:30 11:29:01 3 4.11 0.00 4.53 3.07 15.90 72.39 11:29:30 Average: all 3.07 0.00 2.21 1.07 9.10 84.55 11:29:30 Average: 0 2.75 0.00 2.00 0.89 9.82 84.54 11:29:30 Average: 1 3.33 0.00 2.12 1.04 9.26 84.25 11:29:30 Average: 2 2.89 0.00 2.22 1.20 8.50 85.19 11:29:30 Average: 3 3.33 0.00 2.51 1.15 8.80 84.22 11:29:30 11:29:30 11:29:30