Pull request #291 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from ea19db68188c0a0548bac2ceae326af6dfad93a7+b589ce38ee62beed65a1f4f98577478a01ff9483 (a46cc6d9b0d281a82d7023b8094c6b4839499aac) 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1710 in /w/workspace/edgexfoundry_device-sdk-c_PR-291 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-291 # timeout=10 Fetching without tags Merging remotes/origin/master commit b589ce38ee62beed65a1f4f98577478a01ff9483 into PR head commit ea19db68188c0a0548bac2ceae326af6dfad93a7 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/pull/291/head:refs/remotes/origin/PR-291 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/291/head:refs/remotes/origin/PR-291 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/291/head:refs/remotes/origin/PR-291 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merge succeeded, producing ea19db68188c0a0548bac2ceae326af6dfad93a7 Checking out Revision ea19db68188c0a0548bac2ceae326af6dfad93a7 (PR-291) > git config core.sparsecheckout # timeout=10 > git checkout -f ea19db68188c0a0548bac2ceae326af6dfad93a7 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b589ce38ee62beed65a1f4f98577478a01ff9483 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ea19db68188c0a0548bac2ceae326af6dfad93a7 # timeout=10 Commit message: "feat: implement minimum/maximum limits for write ops (#211)" First time build. Skipping changelog. > git rev-list --no-walk e8147553d808ee8e61efba0d9c5d462c47f91ab3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:02:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:02:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:02:02 ========================================================= 13:02:02 EdgeX Global Pipelines Version Info 13:02:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:02:04 ------------------- 13:02:04 stable info: 13:02:04 ------------------- 13:02:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:02:04 Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 13:02:04 Message: update stable to v1.0.119 13:02:04 ------------------- 13:02:04 experimental info: 13:02:04 ------------------- 13:02:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:02:04 Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 13:02:04 Message: update experimental to v1.0.119 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 13:02:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 13:02:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 13:02:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:02:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:02:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:02:05 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 13:02:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine-3.11 [Pipeline] echo 13:02:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-3.11-base [Pipeline] echo 13:02:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:02:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-c [Pipeline] echo 13:02:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:02:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:02:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:02:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 13:02:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:02:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:02:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-291 [Pipeline] echo 13:02:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-291 [Pipeline] echo 13:02:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-291 [Pipeline] echo 13:02:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ea19db68188c0a0548bac2ceae326af6dfad93a7 [Pipeline] echo 13:02:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ea19db6 [Pipeline] echo 13:02:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 13:02:07 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:02:07 13:02:07 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 13:02:08 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:02:08 latest: Pulling from edgex-devops/git-semver 13:02:08 31603596830f: Pulling fs layer 13:02:08 2a8b12db71e7: Pulling fs layer 13:02:08 6ca5941a6612: Pulling fs layer 13:02:08 ecc8261a40a4: Pulling fs layer 13:02:08 ecc8261a40a4: Waiting 13:02:08 2a8b12db71e7: Verifying Checksum 13:02:08 2a8b12db71e7: Download complete 13:02:08 31603596830f: Verifying Checksum 13:02:08 31603596830f: Download complete 13:02:08 ecc8261a40a4: Verifying Checksum 13:02:08 ecc8261a40a4: Download complete 13:02:08 6ca5941a6612: Verifying Checksum 13:02:08 6ca5941a6612: Download complete 13:02:08 31603596830f: Pull complete 13:02:08 2a8b12db71e7: Pull complete 13:02:09 6ca5941a6612: Pull complete 13:02:09 ecc8261a40a4: Pull complete 13:02:10 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 13:02:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:02:10 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 13:02:10 prd-centos7-docker-4c-2g-1710 does not seem to be running inside a container 13:02:10 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-291 -v /w/workspace/edgexfoundry_device-sdk-c_PR-291:/w/workspace/edgexfoundry_device-sdk-c_PR-291:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-291@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-291@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 13:02:12 $ docker top c45b8bb6affba1d0d4522bcc640728cd55cccd4f88c2fe426b81aa116d0e9783 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:02:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:02:12 [ssh-agent] Looking for ssh-agent implementation... 13:02:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:02:13 $ docker exec c45b8bb6affba1d0d4522bcc640728cd55cccd4f88c2fe426b81aa116d0e9783 ssh-agent 13:02:13 SSH_AUTH_SOCK=/tmp/ssh-pw3otmiwD0Z8/agent.12 13:02:13 SSH_AGENT_PID=17 13:02:13 Running ssh-add (command line suppressed) 13:02:13 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-291@tmp/private_key_6576744398144588395.key (/w/workspace/edgexfoundry_device-sdk-c_PR-291@tmp/private_key_6576744398144588395.key) 13:02:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:02:13 + git describe --exact-match --tags HEAD 13:02:13 fatal: No names found, cannot describe anything. [Pipeline] } 13:02:13 $ docker exec --env ******** --env ******** c45b8bb6affba1d0d4522bcc640728cd55cccd4f88c2fe426b81aa116d0e9783 ssh-agent -k 13:02:14 unset SSH_AUTH_SOCK; 13:02:14 unset SSH_AGENT_PID; 13:02:14 echo Agent pid 17 killed; 13:02:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 13:02:14 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 13:02:14 This usually means this commit has not been tagged. [Pipeline] sshagent 13:02:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:02:14 [ssh-agent] Looking for ssh-agent implementation... 13:02:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:02:14 $ docker exec c45b8bb6affba1d0d4522bcc640728cd55cccd4f88c2fe426b81aa116d0e9783 ssh-agent 13:02:14 SSH_AUTH_SOCK=/tmp/ssh-AlAsiRRTRRFQ/agent.46 13:02:14 SSH_AGENT_PID=52 13:02:14 Running ssh-add (command line suppressed) 13:02:14 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-291@tmp/private_key_1579628513904858426.key (/w/workspace/edgexfoundry_device-sdk-c_PR-291@tmp/private_key_1579628513904858426.key) 13:02:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:02:15 + git semver init 13:02:15 # -> Open(): unable to determine branch for HEAD 13:02:15 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-291/.git 13:02:15 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-291 13:02:15 # $SEMVER_REMOTE_NAME = origin 13:02:15 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 13:02:15 # $SEMVER_USER_NAME = edgex-jenkins 13:02:15 # $SEMVER_BRANCH = PR-291 13:02:15 # $SEMVER_TEMP = /tmp/semver-354084130 13:02:15 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 13:02:15 # '/tmp/semver-354084130' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-291/.semver' 13:02:15 # -> Force: false 13:02:15 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-291/.semver [Pipeline] } 13:02:15 $ docker exec --env ******** --env ******** c45b8bb6affba1d0d4522bcc640728cd55cccd4f88c2fe426b81aa116d0e9783 ssh-agent -k 13:02:15 unset SSH_AUTH_SOCK; 13:02:15 unset SSH_AGENT_PID; 13:02:15 echo Agent pid 52 killed; 13:02:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:02:16 + git semver [Pipeline] } 13:02:16 $ docker stop --time=1 c45b8bb6affba1d0d4522bcc640728cd55cccd4f88c2fe426b81aa116d0e9783 13:02:17 $ docker rm -f c45b8bb6affba1d0d4522bcc640728cd55cccd4f88c2fe426b81aa116d0e9783 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 13:02:18 Stashed 30 file(s) [Pipeline] echo 13:02:18 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 13:02:33 Still waiting to schedule task 13:02:33 Waiting for next available executor on ‘centos7-docker-4c-2g’ 13:02:33 Still waiting to schedule task 13:02:33 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1708’ is offline 13:04:38 Running on prd-centos7-docker-4c-2g-1715 in /w/workspace/edgexfoundry_device-sdk-c_PR-291 [Pipeline] { [Pipeline] ws 13:04:38 Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout 13:04:40 using credential edgex-jenkins-ssh 13:04:40 Cloning the remote Git repository 13:04:40 Cloning with configured refspecs honoured and without tags 13:04:41 Fetching without tags 13:04:40 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 13:04:40 > git init /w/workspace/device-sdk-c/2 # timeout=10 13:04:40 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:04:40 > git --version # timeout=10 13:04:40 > git --version # 'git version 2.16.5' 13:04:40 using GIT_SSH to set credentials SSH Credentials for GitHub 13:04:40 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/291/head:refs/remotes/origin/PR-291 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:04:41 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:04:41 > git config --add remote.origin.fetch +refs/pull/291/head:refs/remotes/origin/PR-291 # timeout=10 13:04:41 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 13:04:41 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:04:41 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:04:41 using GIT_SSH to set credentials SSH Credentials for GitHub 13:04:41 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/291/head:refs/remotes/origin/PR-291 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:04:41 Merging remotes/origin/master commit b589ce38ee62beed65a1f4f98577478a01ff9483 into PR head commit ea19db68188c0a0548bac2ceae326af6dfad93a7 13:04:42 Merge succeeded, producing ea19db68188c0a0548bac2ceae326af6dfad93a7 13:04:42 Checking out Revision ea19db68188c0a0548bac2ceae326af6dfad93a7 (PR-291) 13:04:41 > git config core.sparsecheckout # timeout=10 13:04:41 > git checkout -f ea19db68188c0a0548bac2ceae326af6dfad93a7 # timeout=10 13:04:41 > git remote # timeout=10 13:04:41 > git config --get remote.origin.url # timeout=10 13:04:42 using GIT_SSH to set credentials SSH Credentials for GitHub 13:04:42 > git merge b589ce38ee62beed65a1f4f98577478a01ff9483 # timeout=10 13:04:42 > git rev-parse HEAD^{commit} # timeout=10 13:04:42 > git config core.sparsecheckout # timeout=10 13:04:42 > git checkout -f ea19db68188c0a0548bac2ceae326af6dfad93a7 # timeout=10 13:04:45 Commit message: "feat: implement minimum/maximum limits for write ops (#211)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 13:04:46 ========================================================= 13:04:46 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 13:04:46 ========================================================= [Pipeline] isUnix [Pipeline] sh 13:04:47 + 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 . 13:04:47 Sending build context to Docker daemon 3.51MB 13:04:47 Step 1/21 : ARG BASE=alpine:3.11 13:04:47 Step 2/21 : FROM ${BASE} as builder 13:04:47 latest: Pulling from edgex-devops/edgex-gcc-base 13:04:47 e7c96db7181b: Pulling fs layer 13:04:47 4c13bbce0fe7: Pulling fs layer 13:04:47 6059c847ac2f: Pulling fs layer 13:04:47 4c13bbce0fe7: Verifying Checksum 13:04:47 4c13bbce0fe7: Download complete 13:04:47 e7c96db7181b: Verifying Checksum 13:04:47 e7c96db7181b: Download complete 13:04:48 e7c96db7181b: Pull complete 13:04:48 4c13bbce0fe7: Pull complete 13:04:49 6059c847ac2f: Verifying Checksum 13:04:49 6059c847ac2f: Download complete 13:04:53 6059c847ac2f: Pull complete 13:04:53 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 13:04:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 13:04:53 ---> 5eabd8fd8ba2 13:04:53 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 13:04:55 ---> Running in c31d41de5ae3 13:04:55 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 13:04:57 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 13:04:57 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 13:04:57 (2/8) Installing libuuid (2.33-r0) 13:04:57 (3/8) Installing libblkid (2.33-r0) 13:04:58 (4/8) Installing libfdisk (2.33-r0) 13:04:58 (5/8) Installing libmount (2.33-r0) 13:04:58 (6/8) Installing libsmartcols (2.33-r0) 13:04:58 (7/8) Installing util-linux-dev (2.33-r0) 13:04:58 (8/8) Installing wget (1.20.3-r0) 13:04:59 Executing busybox-1.29.3-r10.trigger 13:04:59 OK: 272 MiB in 83 packages 13:04:59 Removing intermediate container c31d41de5ae3 13:04:59 ---> fb582ec15a41 13:04:59 Step 4/21 : ENV CBOR_VERSION=0.5.0 13:05:00 ---> Running in 306ff08523c1 13:05:00 Removing intermediate container 306ff08523c1 13:05:00 ---> fa81a74880b6 13:05:00 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 13:05:00 ---> Running in a54aeb48e9b6 13:05:00 --2020-09-07 13:05:00-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 13:05:00 Resolving github.com... 140.82.113.4 13:05:00 Connecting to github.com|140.82.113.4|:443... connected. 13:05:00 HTTP request sent, awaiting response... 302 Found 13:05:00 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 13:05:00 --2020-09-07 13:05:00-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 13:05:00 Resolving codeload.github.com... 140.82.112.10 13:05:00 Connecting to codeload.github.com|140.82.112.10|:443... connected. 13:05:00 HTTP request sent, awaiting response... 200 OK 13:05:00 Length: 719348 (702K) [application/x-gzip] 13:05:00 Saving to: 'STDOUT' 13:05:00  13:05:00 0K .......... .......... .......... .......... .......... 7% 1.48M 0s 13:05:00 50K .......... .......... .......... .......... .......... 14% 2.99M 0s 13:05:00 100K .......... .......... .......... .......... .......... 21% 46.7M 0s 13:05:00 150K .......... .......... .......... .......... .......... 28% 3.18M 0s 13:05:00 200K .......... .......... .......... .......... .......... 35% 44.8M 0s 13:05:00 250K .......... .......... .......... .......... .......... 42% 9.95M 0s 13:05:00 300K .......... .......... .......... .......... .......... 49% 8.49M 0s 13:05:00 350K .......... .......... .......... .......... .......... 56% 8.62M 0s 13:05:00 400K .......... .......... .......... .......... .......... 64% 6.70M 0s 13:05:00 450K .......... .......... .......... .......... .......... 71% 7.89M 0s 13:05:00 500K .......... .......... .......... .......... .......... 78% 20.9M 0s 13:05:00 550K .......... .......... .......... .......... .......... 85% 15.8M 0s 13:05:00 600K .......... .......... .......... .......... .......... 92% 2.84M 0s 13:05:00 650K .......... .......... .......... .......... .......... 99% 3.03M 0s 13:05:00 700K .. 100% 4746G=0.1s 13:05:00 13:05:00 2020-09-07 13:05:00 (5.07 MB/s) - written to stdout [719348/719348] 13:05:00 13:05:01 -- The C compiler identification is GNU 8.3.0 13:05:01 -- The CXX compiler identification is GNU 8.3.0 13:05:01 -- Check for working C compiler: /usr/bin/cc 13:05:01 -- Check for working C compiler: /usr/bin/cc -- works 13:05:01 -- Detecting C compiler ABI info 13:05:01 -- Detecting C compiler ABI info - done 13:05:01 -- Detecting C compile features 13:05:01 -- Detecting C compile features - done 13:05:01 -- Check for working CXX compiler: /usr/bin/c++ 13:05:01 -- Check for working CXX compiler: /usr/bin/c++ -- works 13:05:01 -- Detecting CXX compiler ABI info 13:05:01 -- Detecting CXX compiler ABI info - done 13:05:01 -- Detecting CXX compile features 13:05:02 -- Detecting CXX compile features - done 13:05:02 -- Looking for include file endian.h 13:05:02 -- Looking for include file endian.h - found 13:05:02 -- Check if the system is big endian 13:05:02 -- Searching 16 bit integer 13:05:02 -- Looking for sys/types.h 13:05:02 -- Looking for sys/types.h - found 13:05:02 -- Looking for stdint.h 13:05:02 -- Looking for stdint.h - found 13:05:02 -- Looking for stddef.h 13:05:02 -- Looking for stddef.h - found 13:05:02 -- Check size of unsigned short 13:05:02 -- Check size of unsigned short - done 13:05:02 -- Using unsigned short 13:05:02 -- Check if the system is big endian - little endian 13:05:02 -- Check size of size_t 13:05:02 -- Check size of size_t - done 13:05:02 CMake Warning at examples/CMakeLists.txt:16 (find_package): 13:05:02 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 13:05:02 asked CMake to find a package configuration file provided by "cJSON", but 13:05:02 CMake did not find one. 13:05:02 13:05:02 Could not find a package configuration file provided by "cJSON" with any of 13:05:02 the following names: 13:05:02 13:05:02 cJSONConfig.cmake 13:05:02 cjson-config.cmake 13:05:02 13:05:02 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 13:05:02 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 13:05:02 provides a separate development package or SDK, be sure it has been 13:05:02 installed. 13:05:02 13:05:02 13:05:02 -- Configuring done 13:05:03 -- Generating done 13:05:03 -- Build files have been written to: /tmp/cbor 13:05:03 Scanning dependencies of target cbor_shared 13:05:03 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 13:05:03 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 13:05:03 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 13:05:03 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 13:05:03 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 13:05:03 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 13:05:03 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 13:05:03 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 13:05:03 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 13:05:03 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 13:05:04 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 13:05:04 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 13:05:04 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 13:05:04 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 13:05:04 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 13:05:04 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 13:05:04 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 13:05:04 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 13:05:04 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 13:05:04 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 13:05:04 [ 40%] Linking C shared library libcbor.so 13:05:04 [ 40%] Built target cbor_shared 13:05:04 Scanning dependencies of target cbor 13:05:04 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 13:05:05 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 13:05:05 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 13:05:05 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 13:05:05 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 13:05:05 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 13:05:05 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 13:05:05 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 13:05:05 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 13:05:05 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 13:05:05 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 13:05:06 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 13:05:06 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 13:05:06 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 13:05:06 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 13:05:06 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 13:05:06 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 13:05:06 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 13:05:06 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 13:05:06 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 13:05:06 [ 80%] Linking C static library libcbor.a 13:05:06 [ 80%] Built target cbor 13:05:06 Scanning dependencies of target create_items 13:05:06 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 13:05:06 [ 84%] Linking C executable create_items 13:05:06 [ 84%] Built target create_items 13:05:06 Scanning dependencies of target readfile 13:05:06 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 13:05:06 [ 88%] Linking C executable readfile 13:05:06 [ 88%] Built target readfile 13:05:06 Scanning dependencies of target streaming_parser 13:05:06 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 13:05:07 [ 92%] Linking C executable streaming_parser 13:05:07 [ 92%] Built target streaming_parser 13:05:07 Scanning dependencies of target sort 13:05:07 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 13:05:07 [ 96%] Linking C executable sort 13:05:07 [ 96%] Built target sort 13:05:07 Scanning dependencies of target hello 13:05:07 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 13:05:07 [100%] Linking C executable hello 13:05:07 [100%] Built target hello 13:05:07 Install the project... 13:05:07 -- Install configuration: "Release" 13:05:07 -- Installing: /usr/local/include/cbor/configuration.h 13:05:07 -- Installing: /usr/local/lib64/libcbor.a 13:05:07 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 13:05:07 -- Installing: /usr/local/lib64/libcbor.so.0 13:05:07 -- Installing: /usr/local/lib64/libcbor.so 13:05:07 -- Up-to-date: /usr/local/include/cbor 13:05:07 -- Installing: /usr/local/include/cbor/arrays.h 13:05:07 -- Installing: /usr/local/include/cbor/bytestrings.h 13:05:07 -- Installing: /usr/local/include/cbor/callbacks.h 13:05:07 -- Installing: /usr/local/include/cbor/common.h 13:05:07 -- Installing: /usr/local/include/cbor/data.h 13:05:07 -- Installing: /usr/local/include/cbor/encoding.h 13:05:07 -- Installing: /usr/local/include/cbor/floats_ctrls.h 13:05:07 -- Installing: /usr/local/include/cbor/internal 13:05:07 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 13:05:07 -- Installing: /usr/local/include/cbor/internal/encoders.h 13:05:07 -- Installing: /usr/local/include/cbor/internal/loaders.h 13:05:07 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 13:05:07 -- Installing: /usr/local/include/cbor/internal/stack.h 13:05:07 -- Installing: /usr/local/include/cbor/internal/unicode.h 13:05:07 -- Installing: /usr/local/include/cbor/ints.h 13:05:07 -- Installing: /usr/local/include/cbor/maps.h 13:05:07 -- Installing: /usr/local/include/cbor/serialization.h 13:05:07 -- Installing: /usr/local/include/cbor/streaming.h 13:05:07 -- Installing: /usr/local/include/cbor/strings.h 13:05:07 -- Installing: /usr/local/include/cbor/tags.h 13:05:07 -- Installing: /usr/local/include/cbor.h 13:05:07 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 13:05:10 Removing intermediate container a54aeb48e9b6 13:05:10 ---> 4466f34d9d57 13:05:10 Step 6/21 : RUN mkdir /tmp/sdk 13:05:10 ---> Running in e4716128ed36 13:05:10 Removing intermediate container e4716128ed36 13:05:10 ---> f8a08284714d 13:05:10 Step 7/21 : COPY VERSION /tmp/sdk 13:05:10 ---> 4504ab36930a 13:05:10 Step 8/21 : COPY src /tmp/sdk/src 13:05:11 ---> d085a6acc924 13:05:11 Step 9/21 : COPY include /tmp/sdk/include 13:05:12 ---> 05896a941956 13:05:12 Step 10/21 : COPY scripts /tmp/sdk/scripts 13:05:12 ---> 8104a0201a0d 13:05:12 Step 11/21 : COPY LICENSE /tmp/sdk 13:05:12 ---> b660d628cdc0 13:05:12 Step 12/21 : COPY Attribution.txt /tmp/sdk 13:05:12 ---> 6682193d1671 13:05:12 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 13:05:12 ---> Running in df06e8ea4668 13:05:12 + CPPCHECK=false 13:05:12 + DOCGEN=false 13:05:12 + TOMLVER=SDK-0.2 13:05:12 + CUTILVER=1.1-branch 13:05:12 + '[' 0 -gt 0 ] 13:05:13 + readlink -f ./scripts/build.sh 13:05:13 + dirname /tmp/sdk/scripts/build.sh 13:05:13 + dirname /tmp/sdk/scripts 13:05:13 + ROOT=/tmp/sdk 13:05:13 + cd /tmp/sdk 13:05:13 + '[' '!' -d deps ] 13:05:13 + mkdir deps 13:05:13 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:05:13 + tar -C deps -z -x -f - 13:05:13 --2020-09-07 13:05:12-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:05:13 Resolving github.com... 140.82.113.4 13:05:13 Connecting to github.com|140.82.113.4|:443... connected. 13:05:13 HTTP request sent, awaiting response... 302 Found 13:05:13 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 13:05:13 --2020-09-07 13:05:13-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 13:05:13 Resolving codeload.github.com... 140.82.112.10 13:05:13 Connecting to codeload.github.com|140.82.112.10|:443... connected. 13:05:13 HTTP request sent, awaiting response... 200 OK 13:05:13 Length: 16451 (16K) [application/x-gzip] 13:05:13 Saving to: 'STDOUT' 13:05:13  13:05:13 0K .......... ...... 100% 1.06M=0.01s 13:05:13 13:05:13 2020-09-07 13:05:13 (1.06 MB/s) - written to stdout [16451/16451] 13:05:13 13:05:13 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 13:05:13 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1-branch.tar.gz 13:05:13 + tar -C deps -z -x -f - 13:05:13 --2020-09-07 13:05:13-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1-branch.tar.gz 13:05:13 Resolving github.com... 140.82.113.4 13:05:13 Connecting to github.com|140.82.113.4|:443... connected. 13:05:13 HTTP request sent, awaiting response... 302 Found 13:05:13 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1-branch [following] 13:05:13 --2020-09-07 13:05:13-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1-branch 13:05:13 Resolving codeload.github.com... 140.82.112.10 13:05:13 Connecting to codeload.github.com|140.82.112.10|:443... connected. 13:05:13 HTTP request sent, awaiting response... 200 OK 13:05:13 Length: 170722 (167K) [application/x-gzip] 13:05:13 Saving to: 'STDOUT' 13:05:13 13:05:13 0K .......... .......... .......... .......... .......... 29% 1.52M 0s 13:05:13 50K .......... .......... .......... .......... .......... 59% 3.16M 0s 13:05:13 100K .......... .......... .......... .......... .......... 89% 24.2M 0s 13:05:13 150K .......... ...... 100% 63.4M=0.05s 13:05:13 13:05:13 2020-09-07 13:05:13 (3.27 MB/s) - written to stdout [170722/170722] 13:05:13 13:05:13 + mkdir -p src/c/iot 13:05:13 + 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 13:05:13 + mkdir -p include/iot 13:05:13 + 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 13:05:13 + mkdir -p include/iot/os 13:05:13 + 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 13:05:13 + mkdir -p /tmp/sdk/build/release 13:05:13 + cd /tmp/sdk/build/release 13:05:13 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 13:05:13 -- The C compiler identification is GNU 8.3.0 13:05:13 -- Check for working C compiler: /usr/bin/cc 13:05:13 -- Check for working C compiler: /usr/bin/cc -- works 13:05:13 -- Detecting C compiler ABI info 13:05:13 -- Detecting C compiler ABI info - done 13:05:13 -- Detecting C compile features 13:05:14 -- Detecting C compile features - done 13:05:14 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:05:14 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 13:05:14 -- Found LIBYAML: /usr/lib/libyaml.so 13:05:14 -- Found LIBUUID: /usr/lib/libuuid.so 13:05:14 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 13:05:14 -- C SDK 0.0.0 for Linux 13:05:14 -- Performing Test CSDK_HAVE_ATOMIC 13:05:14 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:05:14 -- Found Curses: /usr/lib/libcurses.so 13:05:14 -- Configuring done 13:05:14 -- Generating done 13:05:14 -- Build files have been written to: /tmp/sdk/build/release 13:05:14 + make 13:05:14 + tee release.log 13:05:14 Scanning dependencies of target csdk 13:05:14 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:05:14 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 13:05:14 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:05:15 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:05:15 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:05:15 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:05:15 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:05:16 [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:05:16 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:05:16 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:05:16 [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:05:16 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 13:05:16 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:05:16 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:05:17 [ 24%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 13:05:17 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 13:05:17 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 13:05:17 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 13:05:18 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 13:05:18 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 13:05:18 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 13:05:18 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 13:05:19 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 13:05:19 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 13:05:19 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 13:05:19 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 13:05:19 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 13:05:19 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 13:05:19 [ 47%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:05:19 [ 49%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:05:20 [ 50%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 13:05:20 [ 52%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:05:21 [ 54%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:05:21 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1714 in /w/workspace/edgexfoundry_device-sdk-c_PR-291 [Pipeline] { [Pipeline] ws 13:05:21 Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout 13:05:21 [ 55%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:05:21 [ 57%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 13:05:21 [ 59%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:05:21 [ 60%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:05:22 [ 62%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:05:22 [ 63%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 13:05:23 [ 65%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:05:23 [ 67%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 13:05:23 [ 68%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:05:23 [ 70%] Linking C shared library libcsdk.so 13:05:23 [ 70%] Built target csdk 13:05:23 Scanning dependencies of target template 13:05:23 [ 72%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:05:24 [ 73%] Linking C executable template 13:05:24 [ 73%] Built target template 13:05:24 Scanning dependencies of target device-counter 13:05:24 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:05:24 [ 77%] Linking C executable device-counter 13:05:24 [ 77%] Built target device-counter 13:05:24 Scanning dependencies of target device-random 13:05:24 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:05:24 [ 80%] Linking C executable device-random 13:05:24 [ 80%] Built target device-random 13:05:24 Scanning dependencies of target device-gyro 13:05:24 [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:05:24 [ 83%] Linking C executable device-gyro 13:05:24 [ 83%] Built target device-gyro 13:05:24 Scanning dependencies of target device-bitfields 13:05:25 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 13:05:25 [ 86%] Linking C executable device-bitfields 13:05:25 [ 86%] Built target device-bitfields 13:05:25 Scanning dependencies of target template-discovery 13:05:25 [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:05:25 [ 90%] Linking C executable template-discovery 13:05:25 [ 90%] Built target template-discovery 13:05:25 Scanning dependencies of target device-file 13:05:25 [ 91%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 13:05:25 [ 93%] Linking C executable device-file 13:05:25 [ 93%] Built target device-file 13:05:25 Scanning dependencies of target device-terminal 13:05:25 [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:05:25 using credential edgex-jenkins-ssh 13:05:25 Cloning the remote Git repository 13:05:25 Cloning with configured refspecs honoured and without tags 13:05:25 [ 96%] Linking C executable device-terminal 13:05:25 [ 96%] Built target device-terminal 13:05:25 Scanning dependencies of target templatev1 13:05:25 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 13:05:26 [100%] Linking C executable templatev1 13:05:26 [100%] Built target templatev1 13:05:26 + make package 13:05:26 + tee -a release.log 13:05:26 [ 70%] Built target csdk 13:05:26 [ 73%] Built target template 13:05:26 [ 77%] Built target device-counter 13:05:26 [ 80%] Built target device-random 13:05:25 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 13:05:25 > git init /w/workspace/device-sdk-c/2 # timeout=10 13:05:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:05:26 > git --version # timeout=10 13:05:26 > git --version # 'git version 2.17.1' 13:05:26 using GIT_SSH to set credentials SSH Credentials for GitHub 13:05:26 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/291/head:refs/remotes/origin/PR-291 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:05:26 [ 83%] Built target device-gyro 13:05:26 [ 86%] Built target device-bitfields 13:05:26 [ 90%] Built target template-discovery 13:05:26 [ 93%] Built target device-file 13:05:26 [ 96%] Built target device-terminal 13:05:26 [100%] Built target templatev1 13:05:26 Run CPack packaging tool... 13:05:26 CPack: Create package using TGZ 13:05:26 CPack: Install projects 13:05:26 CPack: - Run preinstall target for: Csdk 13:05:26 CPack: - Install project: Csdk 13:05:26 CPack: Create package 13:05:26 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 13:05:26 + '[' false '=' true ] 13:05:26 + '[' false '=' true ] 13:05:26 + mkdir -p /tmp/sdk/build/debug 13:05:26 + cd /tmp/sdk/build/debug 13:05:26 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 13:05:26 -- The C compiler identification is GNU 8.3.0 13:05:26 -- Check for working C compiler: /usr/bin/cc 13:05:26 -- Check for working C compiler: /usr/bin/cc -- works 13:05:26 -- Detecting C compiler ABI info 13:05:26 -- Detecting C compiler ABI info - done 13:05:26 -- Detecting C compile features 13:05:27 Fetching without tags 13:05:27 -- Detecting C compile features - done 13:05:27 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:05:27 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 13:05:27 -- Found LIBYAML: /usr/lib/libyaml.so 13:05:27 -- Found LIBUUID: /usr/lib/libuuid.so 13:05:27 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 13:05:27 -- C SDK 0.0.0 for Linux 13:05:27 -- Performing Test CSDK_HAVE_ATOMIC 13:05:27 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:05:27 -- Found Curses: /usr/lib/libcurses.so 13:05:27 -- Configuring done 13:05:27 -- Generating done 13:05:27 -- Build files have been written to: /tmp/sdk/build/debug 13:05:27 + make 13:05:27 + tee debug.log 13:05:27 Scanning dependencies of target csdk 13:05:27 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:05:27 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 13:05:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:05:27 > git config --add remote.origin.fetch +refs/pull/291/head:refs/remotes/origin/PR-291 # timeout=10 13:05:27 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 13:05:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:05:27 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:05:27 using GIT_SSH to set credentials SSH Credentials for GitHub 13:05:27 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/291/head:refs/remotes/origin/PR-291 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:05:27 Merging remotes/origin/master commit b589ce38ee62beed65a1f4f98577478a01ff9483 into PR head commit ea19db68188c0a0548bac2ceae326af6dfad93a7 13:05:27 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:05:27 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:05:27 Merge succeeded, producing ea19db68188c0a0548bac2ceae326af6dfad93a7 13:05:27 Checking out Revision ea19db68188c0a0548bac2ceae326af6dfad93a7 (PR-291) 13:05:27 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:05:27 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:05:27 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:05:28 [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:05:28 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:05:28 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:05:28 [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:05:28 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 13:05:28 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:05:27 > git config core.sparsecheckout # timeout=10 13:05:27 > git checkout -f ea19db68188c0a0548bac2ceae326af6dfad93a7 # timeout=10 13:05:27 > git remote # timeout=10 13:05:27 > git config --get remote.origin.url # timeout=10 13:05:27 using GIT_SSH to set credentials SSH Credentials for GitHub 13:05:27 > git merge b589ce38ee62beed65a1f4f98577478a01ff9483 # timeout=10 13:05:27 > git rev-parse HEAD^{commit} # timeout=10 13:05:27 > git config core.sparsecheckout # timeout=10 13:05:27 > git checkout -f ea19db68188c0a0548bac2ceae326af6dfad93a7 # timeout=10 13:05:28 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:05:28 [ 24%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 13:05:28 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 13:05:28 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 13:05:28 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 13:05:29 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 13:05:29 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 13:05:29 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 13:05:29 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 13:05:29 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 13:05:29 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 13:05:29 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 13:05:29 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 13:05:29 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 13:05:29 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 13:05:30 [ 47%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:05:30 [ 49%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:05:30 [ 50%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 13:05:30 [ 52%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:05:30 [ 54%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:05:30 [ 55%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:05:30 [ 57%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 13:05:30 [ 59%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:05:30 [ 60%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:05:30 [ 62%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:05:31 [ 63%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 13:05:31 [ 65%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:05:31 [ 67%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 13:05:31 [ 68%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:05:31 [ 70%] Linking C shared library libcsdk.so 13:05:31 [ 70%] Built target csdk 13:05:31 Scanning dependencies of target template 13:05:31 [ 72%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:05:31 [ 73%] Linking C executable template 13:05:31 [ 73%] Built target template 13:05:31 Scanning dependencies of target device-counter 13:05:31 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:05:31 [ 77%] Linking C executable device-counter 13:05:31 [ 77%] Built target device-counter 13:05:31 Scanning dependencies of target device-random 13:05:31 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:05:32 Commit message: "feat: implement minimum/maximum limits for write ops (#211)" 13:05:32 [ 80%] Linking C executable device-random 13:05:32 [ 80%] Built target device-random 13:05:32 Scanning dependencies of target device-gyro 13:05:32 [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:05:32 [ 83%] Linking C executable device-gyro 13:05:32 [ 83%] Built target device-gyro 13:05:32 Scanning dependencies of target device-bitfields 13:05:32 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 13:05:32 [ 86%] Linking C executable device-bitfields 13:05:32 [ 86%] Built target device-bitfields 13:05:32 Scanning dependencies of target template-discovery 13:05:32 [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:05:32 [ 90%] Linking C executable template-discovery [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 13:05:32 [ 90%] Built target template-discovery 13:05:32 Scanning dependencies of target device-file 13:05:32 [ 91%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 13:05:32 [ 93%] Linking C executable device-file 13:05:32 [ 93%] Built target device-file 13:05:32 Scanning dependencies of target device-terminal 13:05:32 [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:05:32 [ 96%] Linking C executable device-terminal 13:05:32 [ 96%] Built target device-terminal 13:05:32 Scanning dependencies of target templatev1 13:05:32 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 13:05:32 [100%] Linking C executable templatev1 13:05:33 [100%] Built target templatev1 13:05:33 make: Entering directory '/tmp/sdk/build/release' 13:05:33 make[1]: Entering directory '/tmp/sdk/build/release' 13:05:33 make[2]: Entering directory '/tmp/sdk/build/release' 13:05:33 make[2]: Leaving directory '/tmp/sdk/build/release' 13:05:33 [ 70%] Built target csdk 13:05:33 make[2]: Entering directory '/tmp/sdk/build/release' 13:05:33 make[2]: Leaving directory '/tmp/sdk/build/release' 13:05:33 [ 73%] Built target template 13:05:33 make[2]: Entering directory '/tmp/sdk/build/release' 13:05:33 make[2]: Leaving directory '/tmp/sdk/build/release' 13:05:33 [ 77%] Built target device-counter 13:05:33 make[2]: Entering directory '/tmp/sdk/build/release' 13:05:33 make[2]: Leaving directory '/tmp/sdk/build/release' 13:05:33 [ 80%] Built target device-random 13:05:33 make[2]: Entering directory '/tmp/sdk/build/release' 13:05:33 make[2]: Leaving directory '/tmp/sdk/build/release' 13:05:33 [ 83%] Built target device-gyro 13:05:33 make[2]: Entering directory '/tmp/sdk/build/release' 13:05:33 make[2]: Leaving directory '/tmp/sdk/build/release' 13:05:33 [ 86%] Built target device-bitfields 13:05:33 make[2]: Entering directory '/tmp/sdk/build/release' 13:05:33 make[2]: Leaving directory '/tmp/sdk/build/release' 13:05:33 [ 90%] Built target template-discovery 13:05:33 make[2]: Entering directory '/tmp/sdk/build/release' 13:05:33 make[2]: Leaving directory '/tmp/sdk/build/release' 13:05:33 [ 93%] Built target device-file 13:05:33 make[2]: Entering directory '/tmp/sdk/build/release' 13:05:33 make[2]: Leaving directory '/tmp/sdk/build/release' 13:05:33 [ 96%] Built target device-terminal 13:05:33 make[2]: Entering directory '/tmp/sdk/build/release' 13:05:33 make[2]: Leaving directory '/tmp/sdk/build/release' 13:05:33 [100%] Built target templatev1 13:05:33 make[1]: Leaving directory '/tmp/sdk/build/release' 13:05:33 Install the project... 13:05:33 -- Install configuration: "Release" 13:05:33 -- Installing: /usr/local/lib/libcsdk.so 13:05:33 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 13:05:33 -- Up-to-date: /usr/local/include 13:05:33 -- Installing: /usr/local/include/devsdk 13:05:33 -- Installing: /usr/local/include/devsdk/devsdk-base.h 13:05:33 -- Installing: /usr/local/include/devsdk/devsdk.h 13:05:33 -- Installing: /usr/local/include/edgex 13:05:33 -- Installing: /usr/local/include/edgex/device-mgmt.h 13:05:33 -- Installing: /usr/local/include/edgex/devices.h 13:05:33 -- Installing: /usr/local/include/edgex/devsdk.h 13:05:33 -- Installing: /usr/local/include/edgex/edgex-base.h 13:05:33 -- Installing: /usr/local/include/edgex/edgex.h 13:05:33 -- Installing: /usr/local/include/edgex/error.h 13:05:33 -- Installing: /usr/local/include/edgex/eventgen.h 13:05:33 -- Installing: /usr/local/include/edgex/os.h 13:05:33 -- Installing: /usr/local/include/edgex/profiles.h 13:05:33 -- Installing: /usr/local/include/edgex/rest-server.h 13:05:33 -- Installing: /usr/local/include/edgex/csdk-defs.h 13:05:33 -- Installing: /usr/local/include/iot 13:05:33 -- Installing: /usr/local/include/iot/base64.h 13:05:33 -- Installing: /usr/local/include/iot/component.h 13:05:33 -- Installing: /usr/local/include/iot/config.h 13:05:33 -- Installing: /usr/local/include/iot/container.h 13:05:33 -- Installing: /usr/local/include/iot/data.h 13:05:33 -- Installing: /usr/local/include/iot/hash.h 13:05:33 -- Installing: /usr/local/include/iot/iot.h 13:05:33 -- Installing: /usr/local/include/iot/json.h 13:05:33 -- Installing: /usr/local/include/iot/logger.h 13:05:33 -- Installing: /usr/local/include/iot/os.h 13:05:33 -- Installing: /usr/local/include/iot/scheduler.h 13:05:33 -- Installing: /usr/local/include/iot/thread.h 13:05:33 -- Installing: /usr/local/include/iot/threadpool.h 13:05:33 -- Installing: /usr/local/include/iot/time.h 13:05:33 -- Installing: /usr/local/include/iot/typecode.h 13:05:33 -- Installing: /usr/local/include/iot/os 13:05:33 -- Installing: /usr/local/include/iot/os/linux.h 13:05:33 -- Installing: /usr/local/include/iot/os/macos.h 13:05:33 -- Installing: /usr/local/include/iot/os/zephyr.h 13:05:33 -- Installing: /usr/local/share/device-sdk-c/LICENSE 13:05:33 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [Pipeline] echo 13:05:33 ========================================================= 13:05:33 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 13:05:33 ========================================================= [Pipeline] isUnix [Pipeline] sh 13:05:33 make: Leaving directory '/tmp/sdk/build/release' 13:05:34 + 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 . 13:05:35 Sending build context to Docker daemon 3.51MB 13:05:35 Step 1/21 : ARG BASE=alpine:3.11 13:05:35 Step 2/21 : FROM ${BASE} as builder 13:05:35 Removing intermediate container df06e8ea4668 13:05:35 ---> 39f2be7ef179 13:05:35 Step 14/21 : FROM ${BASE} 13:05:35 ---> 5eabd8fd8ba2 13:05:35 Step 15/21 : MAINTAINER IOTech 13:05:35 ---> Running in 8b86ccc0d705 13:05:35 Removing intermediate container 8b86ccc0d705 13:05:35 ---> 20318cd4e665 13:05:35 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 13:05:35 ---> Running in a2ee1c98c461 13:05:35 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 13:05:35 0362ad1dd800: Pulling fs layer 13:05:35 f2cdb1532d8b: Pulling fs layer 13:05:35 37ed683be191: Pulling fs layer 13:05:35 f2cdb1532d8b: Verifying Checksum 13:05:35 f2cdb1532d8b: Download complete 13:05:35 0362ad1dd800: Verifying Checksum 13:05:35 0362ad1dd800: Download complete 13:05:36 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 13:05:36 0362ad1dd800: Pull complete 13:05:36 f2cdb1532d8b: Pull complete 13:05:37 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 13:05:37 37ed683be191: Verifying Checksum 13:05:37 37ed683be191: Download complete 13:05:38 (1/3) Installing curl (7.64.0-r3) 13:05:38 (2/3) Installing libuuid (2.33-r0) 13:05:38 (3/3) Installing wget (1.20.3-r0) 13:05:39 Executing busybox-1.29.3-r10.trigger 13:05:39 OK: 268 MiB in 78 packages 13:05:39 Removing intermediate container a2ee1c98c461 13:05:39 ---> fff158c8fa6e 13:05:39 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 13:05:39 ---> b593b527b306 13:05:39 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 13:05:39 ---> c1306eacfce9 13:05:39 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 13:05:40 ---> 8a16cbb8bcfe 13:05:40 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 13:05:40 ---> acc546d47e1d 13:05:40 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 13:05:40 ---> 58bcc8a0e091 13:05:40 Successfully built 58bcc8a0e091 13:05:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:05:41 + docker inspect -f . ci-base-image-x86_64 13:05:41 . [Pipeline] withDockerContainer 13:05:41 prd-centos7-docker-4c-2g-1715 does not seem to be running inside a container 13:05:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:05:42 $ docker top dee14592de25182981e91255f0a58656846983e1cc9466e179e4b6e5e6310404 -eo pid,comm [Pipeline] { [Pipeline] sh 13:05:42 + make test 13:05:42 echo "make test" 13:05:42 make test [Pipeline] } 13:05:42 $ docker stop --time=1 dee14592de25182981e91255f0a58656846983e1cc9466e179e4b6e5e6310404 13:05:44 $ docker rm -f dee14592de25182981e91255f0a58656846983e1cc9466e179e4b6e5e6310404 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:05:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:05:45 + ls -al . 13:05:45 total 160 13:05:45 drwxrwxr-x. 9 jenkins jenkins 275 Sep 7 13:04 . 13:05:45 drwxrwxr-x. 4 jenkins jenkins 28 Sep 7 13:04 .. 13:05:45 -rw-rw-r--. 1 jenkins jenkins 3104 Sep 7 13:04 Attribution.txt 13:05:45 -rw-rw-r--. 1 jenkins jenkins 5980 Sep 7 13:04 CHANGES 13:05:45 drwxrwxr-x. 2 jenkins jenkins 144 Sep 7 13:04 docs 13:05:45 -rw-rw-r--. 1 jenkins jenkins 108574 Sep 7 13:04 Doxyfile 13:05:45 drwxrwxr-x. 8 jenkins jenkins 179 Sep 7 13:04 .git 13:05:45 drwxrwxr-x. 2 jenkins jenkins 38 Sep 7 13:04 .github 13:05:45 -rw-rw-r--. 1 jenkins jenkins 176 Sep 7 13:04 .gitignore 13:05:45 drwxrwxr-x. 4 jenkins jenkins 33 Sep 7 13:04 include 13:05:45 -rw-rw-r--. 1 jenkins jenkins 794 Sep 7 13:04 Jenkinsfile 13:05:45 -rw-rw-r--. 1 jenkins jenkins 10174 Sep 7 13:04 LICENSE 13:05:45 -rw-rw-r--. 1 jenkins jenkins 449 Sep 7 13:04 Makefile 13:05:45 -rw-rw-r--. 1 jenkins jenkins 2697 Sep 7 13:04 README.md 13:05:45 -rw-rw-r--. 1 jenkins jenkins 5977 Sep 7 13:04 README.v2.md 13:05:45 drwxrwxr-x. 2 jenkins jenkins 108 Sep 7 13:04 scripts 13:05:45 drwxrwxr-x. 3 jenkins jenkins 72 Sep 7 13:04 .semver 13:05:45 drwxrwxr-x. 4 jenkins jenkins 50 Sep 7 13:04 src 13:05:45 -rw-rw-r--. 1 jenkins jenkins 5 Sep 7 13:02 VERSION [Pipeline] isUnix [Pipeline] sh 13:05:46 + 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=ea19db68188c0a0548bac2ceae326af6dfad93a7 --label arch=amd64 --label version=0.0.0 . 13:05:46 Sending build context to Docker daemon 3.51MB 13:05:46 Step 1/15 : ARG BASE=alpine:3.11 13:05:46 Step 2/15 : FROM ${BASE} 13:05:46 ---> 58bcc8a0e091 13:05:46 Step 3/15 : MAINTAINER IOTech 13:05:46 ---> Running in e1465514f7fd 13:05:46 Removing intermediate container e1465514f7fd 13:05:46 ---> 873aec626a59 13:05:46 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 13:05:46 ---> Running in 0a01ef445648 13:05:47 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 13:05:47 37ed683be191: Pull complete 13:05:47 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 13:05:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 13:05:47 ---> b23d30803547 13:05:47 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 13:05:48 ---> Running in 7574bae73850 13:05:48 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 13:05:49 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 13:05:49 (2/6) Installing libblkid (2.33-r0) 13:05:49 (3/6) Installing libfdisk (2.33-r0) 13:05:49 (4/6) Installing libmount (2.33-r0) 13:05:49 (5/6) Installing libsmartcols (2.33-r0) 13:05:49 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 13:05:49 (6/6) Installing util-linux-dev (2.33-r0) 13:05:50 Executing busybox-1.29.3-r10.trigger 13:05:50 OK: 272 MiB in 84 packages 13:05:50 Removing intermediate container 0a01ef445648 13:05:50 ---> d3b04627c2d2 13:05:50 Step 5/15 : COPY VERSION /edgex-c-sdk/ 13:05:50 ---> 8f45c86705d7 13:05:50 Step 6/15 : COPY src /edgex-c-sdk/src/ 13:05:51 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 13:05:51 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 13:05:51 (2/8) Installing libuuid (2.33-r0) 13:05:51 (3/8) Installing libblkid (2.33-r0) 13:05:51 ---> 937e35504e7c 13:05:51 Step 7/15 : COPY include /edgex-c-sdk/include/ 13:05:51 ---> 0b0d1101658f 13:05:51 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 13:05:51 (4/8) Installing libfdisk (2.33-r0) 13:05:52 ---> 1954927fbf2f 13:05:52 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 13:05:52 (5/8) Installing libmount (2.33-r0) 13:05:52 (6/8) Installing libsmartcols (2.33-r0) 13:05:52 ---> 9088aff57cee 13:05:52 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 13:05:52 ---> 57e7268fe3bd 13:05:52 Step 11/15 : WORKDIR /edgex-c-sdk 13:05:52 (7/8) Installing util-linux-dev (2.33-r0) 13:05:52 ---> Running in aebf4635e0d2 13:05:52 Removing intermediate container aebf4635e0d2 13:05:52 ---> 4f01b1fd4097 13:05:52 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 13:05:52 ---> Running in 7d99e59aea53 13:05:52 Removing intermediate container 7d99e59aea53 13:05:52 ---> 59f87d87e8ad 13:05:52 Step 13/15 : LABEL arch=amd64 13:05:52 ---> Running in 2e7b8032522e 13:05:53 (8/8) Installing wget (1.20.3-r0) 13:05:53 Executing busybox-1.29.3-r10.trigger 13:05:53 OK: 285 MiB in 83 packages 13:05:53 Removing intermediate container 2e7b8032522e 13:05:53 ---> 37ee5adf5aea 13:05:53 Step 14/15 : LABEL git_sha=ea19db68188c0a0548bac2ceae326af6dfad93a7 13:05:53 ---> Running in 434c2f06c0a2 13:05:53 Removing intermediate container 434c2f06c0a2 13:05:53 ---> ddac269423ef 13:05:53 Step 15/15 : LABEL version=0.0.0 13:05:53 ---> Running in a589d3009640 13:05:53 Removing intermediate container a589d3009640 13:05:53 ---> fd377a5bdd79 13:05:53 [Warning] One or more build-args [ARCH MAKE] were not consumed 13:05:53 Successfully built fd377a5bdd79 13:05:53 Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } 13:05:54 Removing intermediate container 7574bae73850 13:05:54 ---> 90caa1eefbfd 13:05:54 Step 4/21 : ENV CBOR_VERSION=0.5.0 13:05:54 ---> Running in 1f14ee1cd52d [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 13:05:55 Removing intermediate container 1f14ee1cd52d 13:05:55 ---> 92a9333ab5d0 13:05:55 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 13:05:55 ---> Running in c00410cb5945 13:05:56 --2020-09-07 13:05:56-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 13:05:56 Resolving github.com... 140.82.112.3 13:05:56 Connecting to github.com|140.82.112.3|:443... connected. 13:05:56 HTTP request sent, awaiting response... 302 Found 13:05:56 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 13:05:56 --2020-09-07 13:05:56-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 13:05:56 Resolving codeload.github.com... 140.82.112.10 13:05:56 Connecting to codeload.github.com|140.82.112.10|:443... connected. 13:05:56 HTTP request sent, awaiting response... 200 OK 13:05:56 Length: 719348 (702K) [application/x-gzip] 13:05:56 Saving to: 'STDOUT' 13:05:56  13:05:56 0K .......... .......... .......... .......... .......... 7% 1.35M 0s 13:05:56 50K .......... .......... .......... .......... .......... 14% 2.73M 0s 13:05:56 100K .......... .......... .......... .......... .......... 21% 14.9M 0s 13:05:56 150K .......... .......... .......... .......... .......... 28% 3.43M 0s 13:05:56 200K .......... .......... .......... .......... .......... 35% 12.0M 0s 13:05:56 250K .......... .......... .......... .......... .......... 42% 3.61M 0s 13:05:56 300K .......... .......... .......... .......... .......... 49% 6.13M 0s 13:05:56 350K .......... .......... .......... .......... .......... 56% 4.72M 0s 13:05:56 400K .......... .......... .......... .......... .......... 64% 3.39M 0s 13:05:56 450K .......... .......... .......... .......... .......... 71% 4.50M 0s 13:05:56 500K .......... .......... .......... .......... .......... 78% 9.93M 0s 13:05:56 550K .......... .......... .......... .......... .......... 85% 11.0M 0s 13:05:56 600K .......... .......... .......... .......... .......... 92% 752K 0s 13:05:57 650K .......... .......... .......... .......... .......... 99% 2.62M 0s 13:05:57 700K .. 100% 4746G=0.2s 13:05:57 13:05:57 2020-09-07 13:05:56 (3.02 MB/s) - written to stdout [719348/719348] 13:05:57 13:05:57 -- The C compiler identification is GNU 8.3.0 13:05:57 -- The CXX compiler identification is GNU 8.3.0 13:05:57 -- Check for working C compiler: /usr/bin/cc 13:05:57 -- Check for working C compiler: /usr/bin/cc -- works 13:05:57 -- Detecting C compiler ABI info 13:05:57 -- Detecting C compiler ABI info - done 13:05:57 -- Detecting C compile features 13:05:58 -- Detecting C compile features - done 13:05:58 -- Check for working CXX compiler: /usr/bin/c++ 13:05:58 -- Check for working CXX compiler: /usr/bin/c++ -- works 13:05:58 -- Detecting CXX compiler ABI info 13:05:59 -- Detecting CXX compiler ABI info - done 13:05:59 -- Detecting CXX compile features 13:06:01 -- Detecting CXX compile features - done 13:06:01 -- Looking for include file endian.h 13:06:01 -- Looking for include file endian.h - found 13:06:01 -- Check if the system is big endian 13:06:01 -- Searching 16 bit integer 13:06:01 -- Looking for sys/types.h 13:06:01 -- Looking for sys/types.h - found 13:06:01 -- Looking for stdint.h 13:06:01 -- Looking for stdint.h - found 13:06:01 -- Looking for stddef.h 13:06:01 -- Looking for stddef.h - found 13:06:01 -- Check size of unsigned short 13:06:01 -- Check size of unsigned short - done 13:06:01 -- Using unsigned short 13:06:02 -- Check if the system is big endian - little endian 13:06:02 -- Check size of size_t 13:06:02 -- Check size of size_t - done 13:06:02 CMake Warning at examples/CMakeLists.txt:16 (find_package): 13:06:02 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 13:06:02 asked CMake to find a package configuration file provided by "cJSON", but 13:06:02 CMake did not find one. 13:06:02 13:06:02 Could not find a package configuration file provided by "cJSON" with any of 13:06:02 the following names: 13:06:02 13:06:02 cJSONConfig.cmake 13:06:02 cjson-config.cmake 13:06:02 13:06:02 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 13:06:02 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 13:06:02 provides a separate development package or SDK, be sure it has been 13:06:02 installed. 13:06:02 13:06:02 13:06:02 -- Configuring done 13:06:02 -- Generating done 13:06:02 -- Build files have been written to: /tmp/cbor 13:06:02 Scanning dependencies of target cbor_shared 13:06:03 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 13:06:03 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 13:06:04 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 13:06:04 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 13:06:05 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 13:06:05 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 13:06:05 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 13:06:05 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 13:06:05 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 13:06:06 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 13:06:06 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 13:06:06 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 13:06:07 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 13:06:07 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 13:06:07 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 13:06:08 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 13:06:08 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 13:06:08 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 13:06:08 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 13:06:09 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 13:06:09 [ 40%] Linking C shared library libcbor.so 13:06:09 [ 40%] Built target cbor_shared 13:06:09 Scanning dependencies of target cbor 13:06:09 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 13:06:10 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 13:06:10 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 13:06:11 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 13:06:12 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 13:06:12 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 13:06:12 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 13:06:12 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 13:06:12 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 13:06:13 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 13:06:14 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 13:06:14 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 13:06:14 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 13:06:15 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 13:06:15 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 13:06:15 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 13:06:15 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 13:06:15 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 13:06:16 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 13:06:16 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 13:06:16 [ 80%] Linking C static library libcbor.a 13:06:16 [ 80%] Built target cbor 13:06:16 Scanning dependencies of target create_items 13:06:16 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 13:06:17 [ 84%] Linking C executable create_items 13:06:17 [ 84%] Built target create_items 13:06:17 Scanning dependencies of target readfile 13:06:17 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 13:06:17 [ 88%] Linking C executable readfile 13:06:17 [ 88%] Built target readfile 13:06:17 Scanning dependencies of target streaming_parser 13:06:17 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 13:06:17 [ 92%] Linking C executable streaming_parser 13:06:17 [ 92%] Built target streaming_parser 13:06:17 Scanning dependencies of target sort 13:06:17 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 13:06:18 [ 96%] Linking C executable sort 13:06:18 [ 96%] Built target sort 13:06:18 Scanning dependencies of target hello 13:06:18 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 13:06:18 [100%] Linking C executable hello 13:06:18 [100%] Built target hello 13:06:18 Install the project... 13:06:18 -- Install configuration: "Release" 13:06:18 -- Installing: /usr/local/include/cbor/configuration.h 13:06:18 -- Installing: /usr/local/lib64/libcbor.a 13:06:18 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 13:06:18 -- Installing: /usr/local/lib64/libcbor.so.0 13:06:18 -- Installing: /usr/local/lib64/libcbor.so 13:06:18 -- Up-to-date: /usr/local/include/cbor 13:06:18 -- Installing: /usr/local/include/cbor/streaming.h 13:06:18 -- Installing: /usr/local/include/cbor/ints.h 13:06:18 -- Installing: /usr/local/include/cbor/floats_ctrls.h 13:06:18 -- Installing: /usr/local/include/cbor/bytestrings.h 13:06:18 -- Installing: /usr/local/include/cbor/encoding.h 13:06:18 -- Installing: /usr/local/include/cbor/serialization.h 13:06:18 -- Installing: /usr/local/include/cbor/data.h 13:06:18 -- Installing: /usr/local/include/cbor/common.h 13:06:18 -- Installing: /usr/local/include/cbor/callbacks.h 13:06:18 -- Installing: /usr/local/include/cbor/strings.h 13:06:18 -- Installing: /usr/local/include/cbor/tags.h 13:06:18 -- Installing: /usr/local/include/cbor/internal 13:06:18 -- Installing: /usr/local/include/cbor/internal/encoders.h 13:06:18 -- Installing: /usr/local/include/cbor/internal/loaders.h 13:06:18 -- Installing: /usr/local/include/cbor/internal/stack.h 13:06:18 -- Installing: /usr/local/include/cbor/internal/unicode.h 13:06:18 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 13:06:18 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 13:06:18 -- Installing: /usr/local/include/cbor/arrays.h 13:06:18 -- Installing: /usr/local/include/cbor/maps.h 13:06:18 -- Installing: /usr/local/include/cbor.h 13:06:18 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 13:06:21 Removing intermediate container c00410cb5945 13:06:21 ---> 26e79de7816f 13:06:21 Step 6/21 : RUN mkdir /tmp/sdk 13:06:21 ---> Running in 91cc99cec1e3 13:06:23 Removing intermediate container 91cc99cec1e3 13:06:23 ---> 2316c0a8c172 13:06:23 Step 7/21 : COPY VERSION /tmp/sdk 13:06:23 ---> efe6be38275e 13:06:23 Step 8/21 : COPY src /tmp/sdk/src 13:06:24 ---> 2fd13a1b3859 13:06:24 Step 9/21 : COPY include /tmp/sdk/include 13:06:25 ---> 040efa572181 13:06:25 Step 10/21 : COPY scripts /tmp/sdk/scripts 13:06:26 ---> 6a011cfd6740 13:06:26 Step 11/21 : COPY LICENSE /tmp/sdk 13:06:26 ---> 36b26376f757 13:06:26 Step 12/21 : COPY Attribution.txt /tmp/sdk 13:06:27 ---> e2eb28b894cd 13:06:27 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 13:06:27 ---> Running in 07a0da257705 13:06:29 + CPPCHECK=false 13:06:29 + DOCGEN=false 13:06:29 + TOMLVER=SDK-0.2 13:06:29 + CUTILVER=1.1-branch 13:06:29 + '[' 0 -gt 0 ] 13:06:29 + readlink -f ./scripts/build.sh 13:06:29 + dirname /tmp/sdk/scripts/build.sh 13:06:29 + dirname /tmp/sdk/scripts 13:06:29 + ROOT=/tmp/sdk 13:06:29 + cd /tmp/sdk 13:06:29 + '[' '!' -d deps ] 13:06:29 + mkdir deps 13:06:29 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:06:29 + tar -C deps -z -x -f - 13:06:29 --2020-09-07 13:06:28-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:06:29 Resolving github.com... 140.82.112.3 13:06:29 Connecting to github.com|140.82.112.3|:443... connected. 13:06:29 HTTP request sent, awaiting response... 302 Found 13:06:29 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 13:06:29 --2020-09-07 13:06:29-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 13:06:29 Resolving codeload.github.com... 140.82.112.10 13:06:29 Connecting to codeload.github.com|140.82.112.10|:443... connected. 13:06:29 HTTP request sent, awaiting response... 200 OK 13:06:29 Length: 16451 (16K) [application/x-gzip] 13:06:29 Saving to: 'STDOUT' 13:06:29  13:06:29 0K .......... ...... 100% 1019K=0.02s 13:06:29 13:06:29 2020-09-07 13:06:29 (1019 KB/s) - written to stdout [16451/16451] 13:06:29 13:06:29 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 13:06:29 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1-branch.tar.gz 13:06:29 + tar -C deps -z -x -f - 13:06:29 --2020-09-07 13:06:29-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1-branch.tar.gz 13:06:29 Resolving github.com... 140.82.112.3 13:06:29 Connecting to github.com|140.82.112.3|:443... connected. 13:06:29 HTTP request sent, awaiting response... 302 Found 13:06:29 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1-branch [following] 13:06:29 --2020-09-07 13:06:29-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1-branch 13:06:29 Resolving codeload.github.com... 140.82.112.10 13:06:29 Connecting to codeload.github.com|140.82.112.10|:443... connected. 13:06:29 HTTP request sent, awaiting response... 200 OK 13:06:29 Length: 170722 (167K) [application/x-gzip] 13:06:29 Saving to: 'STDOUT' 13:06:29  13:06:29 0K .......... .......... .......... .......... .......... 29% 1.50M 0s 13:06:29 50K .......... .......... .......... .......... .......... 59% 2.72M 0s 13:06:29 100K .......... .......... .......... .......... .......... 89% 4.63M 0s 13:06:29 150K .......... ...... 100% 3.93M=0.07s 13:06:29 13:06:29 2020-09-07 13:06:29 (2.50 MB/s) - written to stdout [170722/170722] 13:06:29 13:06:29 + mkdir -p src/c/iot 13:06:29 + 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 13:06:29 + mkdir -p include/iot 13:06:29 + 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 13:06:29 + mkdir -p include/iot/os 13:06:29 + 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 13:06:29 + mkdir -p /tmp/sdk/build/release 13:06:29 + cd /tmp/sdk/build/release 13:06:29 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 13:06:30 -- The C compiler identification is GNU 8.3.0 13:06:30 -- Check for working C compiler: /usr/bin/cc 13:06:30 -- Check for working C compiler: /usr/bin/cc -- works 13:06:30 -- Detecting C compiler ABI info 13:06:30 -- Detecting C compiler ABI info - done 13:06:30 -- Detecting C compile features 13:06:31 -- Detecting C compile features - done 13:06:31 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:06:31 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 13:06:31 -- Found LIBYAML: /usr/lib/libyaml.so 13:06:31 -- Found LIBUUID: /usr/lib/libuuid.so 13:06:31 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 13:06:31 -- C SDK 0.0.0 for Linux 13:06:31 -- Performing Test CSDK_HAVE_ATOMIC 13:06:31 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:06:31 -- Found Curses: /usr/lib/libcurses.so 13:06:31 -- Configuring done 13:06:32 -- Generating done 13:06:32 -- Build files have been written to: /tmp/sdk/build/release 13:06:32 + make 13:06:32 + tee release.log 13:06:32 Scanning dependencies of target csdk 13:06:32 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:06:33 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 13:06:33 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:06:35 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:06:35 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:06:35 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:06:37 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:06:39 [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:06:39 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:06:40 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:06:40 [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:06:40 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 13:06:40 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:06:41 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:06:44 [ 24%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 13:06:44 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 13:06:45 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 13:06:45 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 13:06:46 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 13:06:48 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 13:06:48 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 13:06:48 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 13:06:49 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 13:06:50 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 13:06:50 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 13:06:51 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 13:06:51 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 13:06:51 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 13:06:52 [ 47%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:06:52 [ 49%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:06:53 [ 50%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 13:06:53 [ 52%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:06:57 [ 54%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:06:58 [ 55%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:06:58 [ 57%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 13:06:59 [ 59%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:06:59 [ 60%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:07:01 [ 62%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:07:02 [ 63%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 13:07:06 [ 65%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:07:06 [ 67%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 13:07:07 [ 68%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:07:08 [ 70%] Linking C shared library libcsdk.so 13:07:08 [ 70%] Built target csdk 13:07:08 Scanning dependencies of target template 13:07:08 [ 72%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:07:09 [ 73%] Linking C executable template 13:07:09 [ 73%] Built target template 13:07:09 Scanning dependencies of target device-counter 13:07:09 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:07:09 [ 77%] Linking C executable device-counter 13:07:09 [ 77%] Built target device-counter 13:07:09 Scanning dependencies of target device-random 13:07:09 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:07:10 [ 80%] Linking C executable device-random 13:07:10 [ 80%] Built target device-random 13:07:10 Scanning dependencies of target device-gyro 13:07:10 [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:07:11 [ 83%] Linking C executable device-gyro 13:07:11 [ 83%] Built target device-gyro 13:07:11 Scanning dependencies of target device-bitfields 13:07:11 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 13:07:12 [ 86%] Linking C executable device-bitfields 13:07:12 [ 86%] Built target device-bitfields 13:07:12 Scanning dependencies of target template-discovery 13:07:12 [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:07:13 [ 90%] Linking C executable template-discovery 13:07:13 [ 90%] Built target template-discovery 13:07:13 Scanning dependencies of target device-file 13:07:13 [ 91%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 13:07:13 [ 93%] Linking C executable device-file 13:07:14 [ 93%] Built target device-file 13:07:14 Scanning dependencies of target device-terminal 13:07:14 [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:07:14 [ 96%] Linking C executable device-terminal 13:07:15 [ 96%] Built target device-terminal 13:07:15 Scanning dependencies of target templatev1 13:07:15 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 13:07:15 [100%] Linking C executable templatev1 13:07:15 [100%] Built target templatev1 13:07:15 + make package+ 13:07:15 tee -a release.log 13:07:15 [ 70%] Built target csdk 13:07:15 [ 73%] Built target template 13:07:15 [ 77%] Built target device-counter 13:07:15 [ 80%] Built target device-random 13:07:16 [ 83%] Built target device-gyro 13:07:16 [ 86%] Built target device-bitfields 13:07:16 [ 90%] Built target template-discovery 13:07:16 [ 93%] Built target device-file 13:07:16 [ 96%] Built target device-terminal 13:07:16 [100%] Built target templatev1 13:07:16 Run CPack packaging tool... 13:07:16 CPack: Create package using TGZ 13:07:16 CPack: Install projects 13:07:16 CPack: - Run preinstall target for: Csdk 13:07:17 CPack: - Install project: Csdk 13:07:17 CPack: Create package 13:07:17 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 13:07:17 + '[' false '=' true ] 13:07:17 + '[' false '=' true ] 13:07:17 + mkdir -p /tmp/sdk/build/debug 13:07:17 + cd /tmp/sdk/build/debug 13:07:17 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 13:07:17 -- The C compiler identification is GNU 8.3.0 13:07:17 -- Check for working C compiler: /usr/bin/cc 13:07:17 -- Check for working C compiler: /usr/bin/cc -- works 13:07:17 -- Detecting C compiler ABI info 13:07:17 -- Detecting C compiler ABI info - done 13:07:17 -- Detecting C compile features 13:07:18 -- Detecting C compile features - done 13:07:18 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:07:18 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 13:07:18 -- Found LIBYAML: /usr/lib/libyaml.so 13:07:18 -- Found LIBUUID: /usr/lib/libuuid.so 13:07:18 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 13:07:18 -- C SDK 0.0.0 for Linux 13:07:18 -- Performing Test CSDK_HAVE_ATOMIC 13:07:18 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:07:18 -- Found Curses: /usr/lib/libcurses.so 13:07:18 -- Configuring done 13:07:19 -- Generating done 13:07:19 -- Build files have been written to: /tmp/sdk/build/debug 13:07:19 + + teemake debug.log 13:07:19 13:07:19 Scanning dependencies of target csdk 13:07:19 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:07:19 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 13:07:20 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:07:20 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:07:20 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:07:21 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:07:21 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:07:22 [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:07:22 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:07:22 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:07:22 [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:07:23 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 13:07:23 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:07:23 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:07:24 [ 24%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 13:07:24 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 13:07:24 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 13:07:24 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 13:07:25 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 13:07:26 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 13:07:26 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 13:07:26 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 13:07:26 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 13:07:26 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 13:07:26 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 13:07:27 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 13:07:27 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 13:07:27 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 13:07:27 [ 47%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:07:27 [ 49%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:07:28 [ 50%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 13:07:28 [ 52%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:07:29 [ 54%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:07:30 [ 55%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:07:30 [ 57%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 13:07:30 [ 59%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:07:30 [ 60%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:07:31 [ 62%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:07:32 [ 63%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 13:07:32 [ 65%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:07:32 [ 67%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 13:07:33 [ 68%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:07:33 [ 70%] Linking C shared library libcsdk.so 13:07:33 [ 70%] Built target csdk 13:07:34 Scanning dependencies of target template 13:07:34 [ 72%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:07:34 [ 73%] Linking C executable template 13:07:34 [ 73%] Built target template 13:07:34 Scanning dependencies of target device-counter 13:07:34 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:07:34 [ 77%] Linking C executable device-counter 13:07:34 [ 77%] Built target device-counter 13:07:34 Scanning dependencies of target device-random 13:07:34 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:07:35 [ 80%] Linking C executable device-random 13:07:35 [ 80%] Built target device-random 13:07:35 Scanning dependencies of target device-gyro 13:07:35 [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:07:35 [ 83%] Linking C executable device-gyro 13:07:36 [ 83%] Built target device-gyro 13:07:36 Scanning dependencies of target device-bitfields 13:07:36 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 13:07:36 [ 86%] Linking C executable device-bitfields 13:07:36 [ 86%] Built target device-bitfields 13:07:36 Scanning dependencies of target template-discovery 13:07:36 [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:07:36 [ 90%] Linking C executable template-discovery 13:07:37 [ 90%] Built target template-discovery 13:07:37 Scanning dependencies of target device-file 13:07:37 [ 91%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 13:07:37 [ 93%] Linking C executable device-file 13:07:37 [ 93%] Built target device-file 13:07:37 Scanning dependencies of target device-terminal 13:07:37 [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:07:37 [ 96%] Linking C executable device-terminal 13:07:38 [ 96%] Built target device-terminal 13:07:38 Scanning dependencies of target templatev1 13:07:38 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 13:07:38 [100%] Linking C executable templatev1 13:07:38 [100%] Built target templatev1 13:07:38 make: Entering directory '/tmp/sdk/build/release' 13:07:38 make[1]: Entering directory '/tmp/sdk/build/release' 13:07:38 make[2]: Entering directory '/tmp/sdk/build/release' 13:07:38 make[2]: Leaving directory '/tmp/sdk/build/release' 13:07:38 [ 70%] Built target csdk 13:07:38 make[2]: Entering directory '/tmp/sdk/build/release' 13:07:38 make[2]: Leaving directory '/tmp/sdk/build/release' 13:07:38 [ 73%] Built target template 13:07:38 make[2]: Entering directory '/tmp/sdk/build/release' 13:07:38 make[2]: Leaving directory '/tmp/sdk/build/release' 13:07:38 [ 77%] Built target device-counter 13:07:38 make[2]: Entering directory '/tmp/sdk/build/release' 13:07:38 make[2]: Leaving directory '/tmp/sdk/build/release' 13:07:38 [ 80%] Built target device-random 13:07:38 make[2]: Entering directory '/tmp/sdk/build/release' 13:07:38 make[2]: Leaving directory '/tmp/sdk/build/release' 13:07:38 [ 83%] Built target device-gyro 13:07:38 make[2]: Entering directory '/tmp/sdk/build/release' 13:07:38 make[2]: Leaving directory '/tmp/sdk/build/release' 13:07:38 [ 86%] Built target device-bitfields 13:07:38 make[2]: Entering directory '/tmp/sdk/build/release' 13:07:38 make[2]: Leaving directory '/tmp/sdk/build/release' 13:07:38 [ 90%] Built target template-discovery 13:07:38 make[2]: Entering directory '/tmp/sdk/build/release' 13:07:38 make[2]: Leaving directory '/tmp/sdk/build/release' 13:07:38 [ 93%] Built target device-file 13:07:38 make[2]: Entering directory '/tmp/sdk/build/release' 13:07:38 make[2]: Leaving directory '/tmp/sdk/build/release' 13:07:39 [ 96%] Built target device-terminal 13:07:39 make[2]: Entering directory '/tmp/sdk/build/release' 13:07:39 make[2]: Leaving directory '/tmp/sdk/build/release' 13:07:39 [100%] Built target templatev1 13:07:39 make[1]: Leaving directory '/tmp/sdk/build/release' 13:07:39 Install the project... 13:07:39 -- Install configuration: "Release" 13:07:39 -- Installing: /usr/local/lib/libcsdk.so 13:07:39 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 13:07:39 -- Up-to-date: /usr/local/include 13:07:39 -- Installing: /usr/local/include/edgex 13:07:39 -- Installing: /usr/local/include/edgex/device-mgmt.h 13:07:39 -- Installing: /usr/local/include/edgex/eventgen.h 13:07:39 -- Installing: /usr/local/include/edgex/error.h 13:07:39 -- Installing: /usr/local/include/edgex/rest-server.h 13:07:39 -- Installing: /usr/local/include/edgex/edgex-base.h 13:07:39 -- Installing: /usr/local/include/edgex/devsdk.h 13:07:39 -- Installing: /usr/local/include/edgex/edgex.h 13:07:39 -- Installing: /usr/local/include/edgex/devices.h 13:07:39 -- Installing: /usr/local/include/edgex/os.h 13:07:39 -- Installing: /usr/local/include/edgex/profiles.h 13:07:39 -- Installing: /usr/local/include/edgex/csdk-defs.h 13:07:39 -- Installing: /usr/local/include/devsdk 13:07:39 -- Installing: /usr/local/include/devsdk/devsdk-base.h 13:07:39 -- Installing: /usr/local/include/devsdk/devsdk.h 13:07:39 -- Installing: /usr/local/include/iot 13:07:39 -- Installing: /usr/local/include/iot/json.h 13:07:39 -- Installing: /usr/local/include/iot/container.h 13:07:39 -- Installing: /usr/local/include/iot/component.h 13:07:39 -- Installing: /usr/local/include/iot/typecode.h 13:07:39 -- Installing: /usr/local/include/iot/iot.h 13:07:39 -- Installing: /usr/local/include/iot/time.h 13:07:39 -- Installing: /usr/local/include/iot/hash.h 13:07:39 -- Installing: /usr/local/include/iot/logger.h 13:07:39 -- Installing: /usr/local/include/iot/os 13:07:39 -- Installing: /usr/local/include/iot/os/zephyr.h 13:07:39 -- Installing: /usr/local/include/iot/os/linux.h 13:07:39 -- Installing: /usr/local/include/iot/os/macos.h 13:07:39 -- Installing: /usr/local/include/iot/scheduler.h 13:07:39 -- Installing: /usr/local/include/iot/data.h 13:07:39 -- Installing: /usr/local/include/iot/thread.h 13:07:39 -- Installing: /usr/local/include/iot/os.h 13:07:39 -- Installing: /usr/local/include/iot/base64.h 13:07:39 -- Installing: /usr/local/include/iot/threadpool.h 13:07:39 -- Installing: /usr/local/include/iot/config.h 13:07:39 -- Installing: /usr/local/share/device-sdk-c/LICENSE 13:07:39 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 13:07:39 make: Leaving directory '/tmp/sdk/build/release' 13:07:41 Removing intermediate container 07a0da257705 13:07:41 ---> a7b7b9e438ec 13:07:41 Step 14/21 : FROM ${BASE} 13:07:41 ---> b23d30803547 13:07:41 Step 15/21 : MAINTAINER IOTech 13:07:41 ---> Running in 9c38206c04f8 13:07:41 Removing intermediate container 9c38206c04f8 13:07:41 ---> 1f916caeb214 13:07:41 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 13:07:42 ---> Running in 1c5e567344d3 13:07:43 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 13:07:44 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 13:07:45 (1/3) Installing curl (7.64.0-r3) 13:07:45 (2/3) Installing libuuid (2.33-r0) 13:07:45 (3/3) Installing wget (1.20.3-r0) 13:07:45 Executing busybox-1.29.3-r10.trigger 13:07:45 OK: 281 MiB in 78 packages 13:07:46 Removing intermediate container 1c5e567344d3 13:07:46 ---> 15b1900ea78a 13:07:46 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 13:07:47 ---> f122c5b7dde1 13:07:47 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 13:07:47 ---> 7069e0ba0128 13:07:47 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 13:07:48 ---> 3165820e9bdf 13:07:48 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 13:07:49 ---> 597dfcd9a899 13:07:49 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 13:07:50 ---> fe2f6b9e3e55 13:07:50 Successfully built fe2f6b9e3e55 13:07:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:07:50 + docker inspect -f . ci-base-image-arm64 13:07:50 . [Pipeline] withDockerContainer 13:07:51 prd-ubuntu18.04-docker-arm64-4c-16g-1714 does not seem to be running inside a container 13:07:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:07:52 $ docker top d8d77b5ba62d6903700b81d0970a0e1cc832069ab6a6a7f1ca4df5e0df6fc9e4 -eo pid,comm [Pipeline] { [Pipeline] sh 13:07:54 + make test 13:07:54 echo "make test" 13:07:54 make test [Pipeline] } 13:07:54 $ docker stop --time=1 d8d77b5ba62d6903700b81d0970a0e1cc832069ab6a6a7f1ca4df5e0df6fc9e4 13:07:56 $ docker rm -f d8d77b5ba62d6903700b81d0970a0e1cc832069ab6a6a7f1ca4df5e0df6fc9e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:07:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:07:57 + ls -al . 13:07:57 total 196 13:07:57 drwxrwxr-x 9 jenkins jenkins 4096 Sep 7 13:05 . 13:07:57 drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 13:05 .. 13:07:57 drwxrwxr-x 8 jenkins jenkins 4096 Sep 7 13:05 .git 13:07:57 drwxrwxr-x 2 jenkins jenkins 4096 Sep 7 13:05 .github 13:07:57 -rw-rw-r-- 1 jenkins jenkins 176 Sep 7 13:05 .gitignore 13:07:57 drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 13:05 .semver 13:07:57 -rw-rw-r-- 1 jenkins jenkins 3104 Sep 7 13:05 Attribution.txt 13:07:57 -rw-rw-r-- 1 jenkins jenkins 5980 Sep 7 13:05 CHANGES 13:07:57 -rw-rw-r-- 1 jenkins jenkins 108574 Sep 7 13:05 Doxyfile 13:07:57 -rw-rw-r-- 1 jenkins jenkins 794 Sep 7 13:05 Jenkinsfile 13:07:57 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 7 13:05 LICENSE 13:07:57 -rw-rw-r-- 1 jenkins jenkins 449 Sep 7 13:05 Makefile 13:07:57 -rw-rw-r-- 1 jenkins jenkins 2697 Sep 7 13:05 README.md 13:07:57 -rw-rw-r-- 1 jenkins jenkins 5977 Sep 7 13:05 README.v2.md 13:07:57 -rw-rw-r-- 1 jenkins jenkins 5 Sep 7 13:02 VERSION 13:07:57 drwxrwxr-x 2 jenkins jenkins 4096 Sep 7 13:05 docs 13:07:57 drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 13:05 include 13:07:57 drwxrwxr-x 2 jenkins jenkins 4096 Sep 7 13:05 scripts 13:07:57 drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 13:05 src [Pipeline] isUnix [Pipeline] sh 13:07:58 + 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=ea19db68188c0a0548bac2ceae326af6dfad93a7 --label arch=arm64 --label version=0.0.0 . 13:07:58 Sending build context to Docker daemon 3.51MB 13:07:58 Step 1/15 : ARG BASE=alpine:3.11 13:07:58 Step 2/15 : FROM ${BASE} 13:07:58 ---> fe2f6b9e3e55 13:07:58 Step 3/15 : MAINTAINER IOTech 13:07:58 ---> Running in 540625b32a5b 13:07:59 Removing intermediate container 540625b32a5b 13:07:59 ---> ded44257bcd4 13:07:59 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 13:07:59 ---> Running in 6db17f40a6f9 13:08:00 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 13:08:01 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 13:08:02 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 13:08:02 (2/6) Installing libblkid (2.33-r0) 13:08:02 (3/6) Installing libfdisk (2.33-r0) 13:08:02 (4/6) Installing libmount (2.33-r0) 13:08:02 (5/6) Installing libsmartcols (2.33-r0) 13:08:02 (6/6) Installing util-linux-dev (2.33-r0) 13:08:03 Executing busybox-1.29.3-r10.trigger 13:08:03 OK: 286 MiB in 84 packages 13:08:04 Removing intermediate container 6db17f40a6f9 13:08:04 ---> a6f8be677370 13:08:04 Step 5/15 : COPY VERSION /edgex-c-sdk/ 13:08:05 ---> 2d444cbe882c 13:08:05 Step 6/15 : COPY src /edgex-c-sdk/src/ 13:08:06 ---> 30f1601c9d45 13:08:06 Step 7/15 : COPY include /edgex-c-sdk/include/ 13:08:06 ---> fd5de4154a25 13:08:06 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 13:08:07 ---> fe6cd0d530c0 13:08:07 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 13:08:08 ---> fd1863f001c5 13:08:08 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 13:08:09 ---> 4d6ed9a51a3b 13:08:09 Step 11/15 : WORKDIR /edgex-c-sdk 13:08:09 ---> Running in ac6f8d9dcc03 13:08:09 Removing intermediate container ac6f8d9dcc03 13:08:09 ---> dba0b6d41129 13:08:09 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 13:08:09 ---> Running in 9be0cacbaab4 13:08:10 Removing intermediate container 9be0cacbaab4 13:08:10 ---> af83922990dc 13:08:10 Step 13/15 : LABEL arch=arm64 13:08:10 ---> Running in 7f1e0b87d9d5 13:08:10 Removing intermediate container 7f1e0b87d9d5 13:08:10 ---> 81ec8d23a2cd 13:08:10 Step 14/15 : LABEL git_sha=ea19db68188c0a0548bac2ceae326af6dfad93a7 13:08:11 ---> Running in 65568a2c62dc 13:08:11 Removing intermediate container 65568a2c62dc 13:08:11 ---> 2cbfe5af7a18 13:08:11 Step 15/15 : LABEL version=0.0.0 13:08:11 ---> Running in 9e50f18bc42d 13:08:12 Removing intermediate container 9e50f18bc42d 13:08:12 ---> d9682219cd3c 13:08:12 [Warning] One or more build-args [ARCH MAKE] were not consumed 13:08:12 Successfully built d9682219cd3c 13:08:12 Successfully tagged docker-device-sdk-c-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 13:08:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:08:15 ---> package-listing.sh 13:08:15 ++ facter osfamily 13:08:15 ++ tr '[:upper:]' '[:lower:]' 13:08:15 + OS_FAMILY=redhat 13:08:15 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-291 13:08:15 + START_PACKAGES=/tmp/packages_start.txt 13:08:15 + END_PACKAGES=/tmp/packages_end.txt 13:08:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:08:15 + PACKAGES=/tmp/packages_start.txt 13:08:15 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-291 ']' 13:08:15 + PACKAGES=/tmp/packages_end.txt 13:08:15 + case "${OS_FAMILY}" in 13:08:15 + rpm -qa 13:08:15 + sort 13:08:19 + '[' -f /tmp/packages_start.txt ']' 13:08:19 + '[' -f /tmp/packages_end.txt ']' 13:08:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:08:19 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-291 ']' 13:08:19 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-291/archives/ 13:08:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-291/archives/ [Pipeline] isUnix [Pipeline] sh 13:08:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:08:19 13:08:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 13:08:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:08:20 alpine: Pulling from edgex-lftools-log-publisher 13:08:20 df20fa9351a1: Pulling fs layer 13:08:20 36b3adc4ff6f: Pulling fs layer 13:08:20 8ad3a11d3b57: Pulling fs layer 13:08:20 46f8f816bc3b: Pulling fs layer 13:08:20 0dadc02b9964: Pulling fs layer 13:08:20 ce6a7cf60c04: Pulling fs layer 13:08:20 7a184a31f384: Pulling fs layer 13:08:20 0879bd2ef858: Pulling fs layer 13:08:20 0dadc02b9964: Waiting 13:08:20 ce6a7cf60c04: Waiting 13:08:20 46f8f816bc3b: Waiting 13:08:20 7a184a31f384: Waiting 13:08:20 36b3adc4ff6f: Verifying Checksum 13:08:20 36b3adc4ff6f: Download complete 13:08:20 46f8f816bc3b: Verifying Checksum 13:08:20 46f8f816bc3b: Download complete 13:08:20 df20fa9351a1: Verifying Checksum 13:08:20 df20fa9351a1: Download complete 13:08:20 ce6a7cf60c04: Verifying Checksum 13:08:20 ce6a7cf60c04: Download complete 13:08:20 7a184a31f384: Verifying Checksum 13:08:20 7a184a31f384: Download complete 13:08:20 0dadc02b9964: Verifying Checksum 13:08:20 0dadc02b9964: Download complete 13:08:20 8ad3a11d3b57: Verifying Checksum 13:08:20 8ad3a11d3b57: Download complete 13:08:21 df20fa9351a1: Pull complete 13:08:21 36b3adc4ff6f: Pull complete 13:08:21 0879bd2ef858: Verifying Checksum 13:08:21 0879bd2ef858: Download complete 13:08:21 8ad3a11d3b57: Pull complete 13:08:21 46f8f816bc3b: Pull complete 13:08:22 0dadc02b9964: Pull complete 13:08:22 ce6a7cf60c04: Pull complete 13:08:22 7a184a31f384: Pull complete 13:08:25 0879bd2ef858: Pull complete 13:08:25 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 13:08:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:08:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 13:08:25 prd-centos7-docker-4c-2g-1710 does not seem to be running inside a container 13:08:25 $ 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_PR-291 -v /w/workspace/edgexfoundry_device-sdk-c_PR-291:/w/workspace/edgexfoundry_device-sdk-c_PR-291:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-291@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-291@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 13:08:31 $ docker top a2052b153a9e98354c182f50eee7084738d84c58baf7149b567450e18ec7db9e -eo pid,comm [Pipeline] { [Pipeline] sh 13:08:31 + mkdir -p /var/log/sa [Pipeline] sh 13:08:32 + ls /var/log/sa-host 13:08:32 + sadf -c /var/log/sa-host/sa05 13:08:32 file_magic: OK 13:08:32 HZ: Using current value: 100 13:08:32 file_header: OK 13:08:32 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 13:08:32 Statistics: 13:08:32 Hnuu...uuuununununu...Hnuu...uuuununununu... 13:08:32 File successfully converted to sysstat format version 12.2.1 13:08:32 + sadf -c /var/log/sa-host/sa07 13:08:32 file_magic: OK 13:08:32 HZ: Using current value: 100 13:08:32 file_header: OK 13:08:32 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 13:08:32 Statistics: 13:08:32 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 13:08:32 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:08:32 provisioning config files... 13:08:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-291@tmp/config44504911354456495tmp [Pipeline] { [Pipeline] echo 13:08:32 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:08:32 ---> create-netrc.sh [Pipeline] echo 13:08:32 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:08:32 ---> logs-deploy.sh 13:08:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-291/2 13:08:32 INFO: archiving workspace using pattern(s): 13:08:34 Archives upload complete. 13:08:34 INFO: archiving logs to Nexus 13:08:35 ---> uname -a: 13:08:35 Linux a2052b153a9e 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 13:08:35 13:08:35 13:08:35 ---> lscpu: 13:08:35 Architecture: x86_64 13:08:35 CPU op-mode(s): 32-bit, 64-bit 13:08:35 Byte Order: Little Endian 13:08:35 Address sizes: 40 bits physical, 48 bits virtual 13:08:35 CPU(s): 4 13:08:35 On-line CPU(s) list: 0-3 13:08:35 Thread(s) per core: 1 13:08:35 Core(s) per socket: 1 13:08:35 Socket(s): 4 13:08:35 NUMA node(s): 1 13:08:35 Vendor ID: GenuineIntel 13:08:35 CPU family: 6 13:08:35 Model: 44 13:08:35 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 13:08:35 Stepping: 1 13:08:35 CPU MHz: 2933.396 13:08:35 BogoMIPS: 5866.79 13:08:35 Virtualization: VT-x 13:08:35 Hypervisor vendor: KVM 13:08:35 Virtualization type: full 13:08:35 L1d cache: 128 KiB 13:08:35 L1i cache: 128 KiB 13:08:35 L2 cache: 16 MiB 13:08:35 L3 cache: 64 MiB 13:08:35 NUMA node0 CPU(s): 0-3 13:08:35 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 13:08:35 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 13:08:35 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 13:08:35 Vulnerability Meltdown: Mitigation; PTI 13:08:35 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 13:08:35 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 13:08:35 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 13:08:35 Vulnerability Tsx async abort: Not affected 13:08:35 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 13:08:35 13:08:35 13:08:35 ---> nproc: 13:08:35 4 13:08:35 13:08:35 13:08:35 ---> df -h: 13:08:35 Filesystem Size Used Available Use% Mounted on 13:08:35 overlay 50.0G 7.0G 43.0G 14% / 13:08:35 tmpfs 64.0M 0 64.0M 0% /dev 13:08:35 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 13:08:35 shm 64.0M 0 64.0M 0% /dev/shm 13:08:35 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/resolv.conf 13:08:35 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/hostname 13:08:35 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/hosts 13:08:35 /dev/vda1 50.0G 7.0G 43.0G 14% /var/log/sa-host 13:08:35 /dev/vda1 50.0G 7.0G 43.0G 14% /w/workspace/edgexfoundry_device-sdk-c_PR-291 13:08:35 /dev/vda1 50.0G 7.0G 43.0G 14% /w/workspace/edgexfoundry_device-sdk-c_PR-291@tmp 13:08:35 13:08:35 13:08:35 ---> free -m: 13:08:35 total used free shared buff/cache available 13:08:35 Mem: 1837 662 136 0 1038 1066 13:08:35 Swap: 1023 0 1023 13:08:35 13:08:35 13:08:35 ---> ip addr: 13:08:35 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 13:08:35 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 13:08:35 inet 127.0.0.1/8 scope host lo 13:08:35 valid_lft forever preferred_lft forever 13:08:35 6: eth0@if7: mtu 1458 qdisc noqueue state UP 13:08:35 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 13:08:35 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 13:08:35 valid_lft forever preferred_lft forever 13:08:35 13:08:35 13:08:35 ---> sar -b -r -n DEV: 13:08:35 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 09/07/20 _x86_64_ (4 CPU) 13:08:35 13:08:35 13:01:12 LINUX RESTART (4 CPU) 13:08:35 13:08:35 13:02:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 13:08:35 13:03:01 30.61 11.02 19.59 0.00 4461.06 2178.66 0.00 13:08:35 13:04:01 1.50 0.00 1.50 0.00 0.00 29.04 0.00 13:08:35 13:05:01 0.27 0.00 0.27 0.00 0.00 3.28 0.00 13:08:35 13:06:01 0.32 0.00 0.32 0.00 0.00 3.78 0.00 13:08:35 13:07:01 0.22 0.00 0.22 0.00 0.00 2.38 0.00 13:08:35 13:08:01 0.30 0.02 0.28 0.00 0.13 3.25 0.00 13:08:35 Average: 5.54 1.84 3.70 0.00 743.80 370.20 0.00 13:08:35 13:08:35 13:02:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 13:08:35 13:03:01 158236 0 587816 31.24 2620 1132884 1130144 38.57 432716 1130504 20 13:08:35 13:04:01 162976 0 583072 30.99 2620 1132888 1091716 37.26 432988 1126588 16 13:08:35 13:05:01 163152 0 582888 30.98 2620 1132896 1091680 37.26 435544 1124244 16 13:08:35 13:06:01 161048 0 584992 31.09 2620 1132896 1091776 37.26 437656 1123664 8 13:08:35 13:07:01 162576 0 583460 31.01 2620 1132900 1091584 37.25 449684 1110540 8 13:08:35 13:08:01 162996 0 583028 30.99 2620 1132912 1091560 37.25 449676 1110540 12 13:08:35 Average: 161831 0 584209 31.05 2620 1132896 1098077 37.48 439711 1121013 13 13:08:35 13:08:35 13:02:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 13:08:35 13:03:01 eth0 132.35 97.45 460.63 57.93 0.00 0.00 0.00 0.00 13:08:35 13:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:08:35 13:03:01 docker0 7.44 4.76 0.86 20.15 0.00 0.00 0.00 0.00 13:08:35 13:04:01 eth0 1.82 0.60 0.62 0.40 0.00 0.00 0.00 0.00 13:08:35 13:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:08:35 13:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:08:35 13:05:01 eth0 1.93 0.57 0.63 0.40 0.00 0.00 0.00 0.00 13:08:35 13:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:08:35 13:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:08:35 13:06:01 eth0 0.37 0.30 0.26 0.20 0.00 0.00 0.00 0.00 13:08:35 13:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:08:35 13:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:08:35 13:07:01 eth0 0.23 0.20 0.08 0.07 0.00 0.00 0.00 0.00 13:08:35 13:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:08:35 13:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:08:35 13:08:01 eth0 0.17 0.12 0.07 0.01 0.00 0.00 0.00 0.00 13:08:35 13:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:08:35 13:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:08:35 Average: eth0 22.82 16.55 77.08 9.84 0.00 0.00 0.00 0.00 13:08:35 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:08:35 Average: docker0 1.24 0.79 0.14 3.36 0.00 0.00 0.00 0.00 13:08:35 13:08:35 13:08:35 ---> sar -P ALL: 13:08:35 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 09/07/20 _x86_64_ (4 CPU) 13:08:35 13:08:35 13:01:12 LINUX RESTART (4 CPU) 13:08:35 13:08:35 13:02:01 CPU %user %nice %system %iowait %steal %idle 13:08:35 13:03:01 all 3.18 0.00 1.80 0.78 0.02 94.22 13:08:35 13:03:01 0 3.08 0.00 1.91 0.79 0.02 94.20 13:08:35 13:03:01 1 2.97 0.00 1.79 0.20 0.03 95.00 13:08:35 13:03:01 2 3.25 0.00 1.84 0.99 0.00 93.92 13:08:35 13:03:01 3 3.42 0.00 1.67 1.16 0.02 93.74 13:08:35 13:04:01 all 0.15 0.00 0.04 0.00 0.00 99.80 13:08:35 13:04:01 0 0.03 0.00 0.03 0.00 0.00 99.93 13:08:35 13:04:01 1 0.03 0.00 0.03 0.00 0.00 99.93 13:08:35 13:04:01 2 0.08 0.00 0.05 0.00 0.00 99.87 13:08:35 13:04:01 3 0.47 0.00 0.05 0.00 0.00 99.48 13:08:35 13:05:01 all 0.19 0.00 0.04 0.00 0.00 99.77 13:08:35 13:05:01 0 0.03 0.00 0.00 0.00 0.00 99.97 13:08:35 13:05:01 1 0.08 0.00 0.07 0.00 0.00 99.85 13:08:35 13:05:01 2 0.12 0.00 0.05 0.00 0.00 99.83 13:08:35 13:05:01 3 0.53 0.00 0.03 0.02 0.00 99.42 13:08:35 13:06:01 all 0.16 0.00 0.03 0.00 0.00 99.81 13:08:35 13:06:01 0 0.03 0.00 0.03 0.00 0.00 99.93 13:08:35 13:06:01 1 0.05 0.00 0.03 0.00 0.00 99.92 13:08:35 13:06:01 2 0.03 0.00 0.02 0.00 0.00 99.95 13:08:35 13:06:01 3 0.52 0.00 0.03 0.00 0.00 99.45 13:08:35 13:07:01 all 0.17 0.00 0.05 0.00 0.00 99.77 13:08:35 13:07:01 0 0.03 0.00 0.02 0.00 0.00 99.95 13:08:35 13:07:01 1 0.05 0.00 0.03 0.00 0.02 99.90 13:08:35 13:07:01 2 0.05 0.00 0.15 0.00 0.00 99.80 13:08:35 13:07:01 3 0.57 0.00 0.02 0.00 0.00 99.42 13:08:35 13:08:01 all 0.15 0.00 0.03 0.00 0.00 99.81 13:08:35 13:08:01 0 0.00 0.00 0.02 0.00 0.00 99.98 13:08:35 13:08:01 1 0.05 0.00 0.07 0.02 0.00 99.87 13:08:35 13:08:01 2 0.02 0.00 0.02 0.00 0.00 99.97 13:08:35 13:08:01 3 0.55 0.00 0.03 0.00 0.00 99.42 13:08:35 Average: all 0.67 0.00 0.33 0.13 0.00 98.87 13:08:35 Average: 0 0.53 0.00 0.33 0.13 0.00 99.00 13:08:35 Average: 1 0.54 0.00 0.34 0.04 0.01 99.08 13:08:35 Average: 2 0.59 0.00 0.35 0.16 0.00 98.89 13:08:35 Average: 3 1.01 0.00 0.31 0.19 0.00 98.49 13:08:35 13:08:35 13:08:35