Pull request #296 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 3c2e643e55ac71479f89c1d04f9b818a0ce441ed+0730159153764daa4a8fdc7cfbde25041d3eb933 (c60b8984b02b78af02878935b22546bc4f3c8362) Running in Durability level: MAX_SURVIVABILITY 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 85bea31ad76f85e2acd5a821f20c71e435d4ae12 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 85bea31ad76f85e2acd5a821f20c71e435d4ae12 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-296/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 85bea31ad76f85e2acd5a821f20c71e435d4ae12 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 85bea31ad76f85e2acd5a821f20c71e435d4ae12 # timeout=10 Commit message: "Merge pull request #249 from ernestojeda/fix-build-artifact" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 Running on prd-centos7-docker-4c-2g-1141 in /w/workspace/edgexfoundry_device-sdk-c_PR-296 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-296 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # 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 --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/296/head:refs/remotes/origin/PR-296 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 0730159153764daa4a8fdc7cfbde25041d3eb933 into PR head commit 3c2e643e55ac71479f89c1d04f9b818a0ce441ed Merge succeeded, producing 3c2e643e55ac71479f89c1d04f9b818a0ce441ed Checking out Revision 3c2e643e55ac71479f89c1d04f9b818a0ce441ed (PR-296) > git config core.sparsecheckout # timeout=10 > git checkout -f 3c2e643e55ac71479f89c1d04f9b818a0ce441ed # 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 0730159153764daa4a8fdc7cfbde25041d3eb933 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3c2e643e55ac71479f89c1d04f9b818a0ce441ed # timeout=10 Commit message: "fix: Validate boolean array data" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 85bea31ad76f85e2acd5a821f20c71e435d4ae12 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:48:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:48:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:48:28 ========================================================= 12:48:28 EdgeX Global Pipelines Version Info 12:48:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:48:30 ------------------- 12:48:30 stable info: 12:48:30 ------------------- 12:48:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:48:30 Commit SHA: 85bea31ad76f85e2acd5a821f20c71e435d4ae12 12:48:30 Message: update stable to v1.0.128 12:48:30 ------------------- 12:48:30 experimental info: 12:48:30 ------------------- 12:48:30 Commited By: **** collab-it+edgex@linuxfoundation.org 12:48:30 Commit SHA: 85bea31ad76f85e2acd5a821f20c71e435d4ae12 12:48:30 Message: update experimental to v1.0.128 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 12:48:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 12:48:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 12:48:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:48:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:48:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:48:32 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 12:48:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine-3.11 [Pipeline] echo 12:48:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-3.11-base [Pipeline] echo 12:48:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:48:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-c [Pipeline] echo 12:48:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:48:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:48:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:48:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 12:48:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:48:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:48:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-296 [Pipeline] echo 12:48:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-296 [Pipeline] echo 12:48:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-296 [Pipeline] echo 12:48:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3c2e643e55ac71479f89c1d04f9b818a0ce441ed [Pipeline] echo 12:48:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3c2e643 [Pipeline] echo 12:48:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 12:48:35 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:48:35 12:48:35 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:48:36 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:48:36 latest: Pulling from edgex-devops/git-semver 12:48:36 31603596830f: Pulling fs layer 12:48:36 2a8b12db71e7: Pulling fs layer 12:48:36 6ca5941a6612: Pulling fs layer 12:48:36 ecc8261a40a4: Pulling fs layer 12:48:36 ecc8261a40a4: Waiting 12:48:36 2a8b12db71e7: Verifying Checksum 12:48:36 2a8b12db71e7: Download complete 12:48:36 31603596830f: Verifying Checksum 12:48:36 31603596830f: Download complete 12:48:36 6ca5941a6612: Verifying Checksum 12:48:36 6ca5941a6612: Download complete 12:48:36 ecc8261a40a4: Verifying Checksum 12:48:36 ecc8261a40a4: Download complete 12:48:36 31603596830f: Pull complete 12:48:37 2a8b12db71e7: Pull complete 12:48:37 6ca5941a6612: Pull complete 12:48:38 ecc8261a40a4: Pull complete 12:48:38 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 12:48:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:48:38 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 12:48:38 prd-centos7-docker-4c-2g-1141 does not seem to be running inside a container 12:48:38 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-296 -v /w/workspace/edgexfoundry_device-sdk-c_PR-296:/w/workspace/edgexfoundry_device-sdk-c_PR-296:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-296@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-296@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 12:48:40 $ docker top af9858eee5ea8afc354bd662fd12924100cfad2ad73b18571035a1552d7756d8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:48:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:48:40 [ssh-agent] Looking for ssh-agent implementation... 12:48:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:48:41 $ docker exec af9858eee5ea8afc354bd662fd12924100cfad2ad73b18571035a1552d7756d8 ssh-agent 12:48:41 SSH_AUTH_SOCK=/tmp/ssh-rvKTfBTEytVd/agent.11 12:48:41 SSH_AGENT_PID=17 12:48:41 Running ssh-add (command line suppressed) 12:48:41 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-296@tmp/private_key_8639570761060890623.key (/w/workspace/edgexfoundry_device-sdk-c_PR-296@tmp/private_key_8639570761060890623.key) 12:48:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:48:41 + git describe --exact-match --tags HEAD 12:48:41 fatal: no tag exactly matches '3c2e643e55ac71479f89c1d04f9b818a0ce441ed' [Pipeline] } 12:48:42 $ docker exec --env ******** --env ******** af9858eee5ea8afc354bd662fd12924100cfad2ad73b18571035a1552d7756d8 ssh-agent -k 12:48:42 unset SSH_AUTH_SOCK; 12:48:42 unset SSH_AGENT_PID; 12:48:42 echo Agent pid 17 killed; 12:48:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 12:48:42 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 12:48:42 This usually means this commit has not been tagged. [Pipeline] sshagent 12:48:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:48:42 [ssh-agent] Looking for ssh-agent implementation... 12:48:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:48:42 $ docker exec af9858eee5ea8afc354bd662fd12924100cfad2ad73b18571035a1552d7756d8 ssh-agent 12:48:42 SSH_AUTH_SOCK=/tmp/ssh-inf62WsahZ6q/agent.46 12:48:42 SSH_AGENT_PID=51 12:48:42 Running ssh-add (command line suppressed) 12:48:43 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-296@tmp/private_key_3348647950094800917.key (/w/workspace/edgexfoundry_device-sdk-c_PR-296@tmp/private_key_3348647950094800917.key) 12:48:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:48:43 + git semver init 12:48:43 # -> Open(): unable to determine branch for HEAD 12:48:43 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-296/.git 12:48:43 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-296 12:48:43 # $SEMVER_REMOTE_NAME = origin 12:48:43 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:48:43 # $SEMVER_USER_NAME = edgex-jenkins 12:48:43 # $SEMVER_BRANCH = PR-296 12:48:43 # $SEMVER_TEMP = /tmp/semver-072778646 12:48:43 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 12:48:44 # '/tmp/semver-072778646' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-296/.semver' 12:48:44 # -> Force: false 12:48:44 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-296/.semver [Pipeline] } 12:48:44 $ docker exec --env ******** --env ******** af9858eee5ea8afc354bd662fd12924100cfad2ad73b18571035a1552d7756d8 ssh-agent -k 12:48:44 unset SSH_AUTH_SOCK; 12:48:44 unset SSH_AGENT_PID; 12:48:44 echo Agent pid 51 killed; 12:48:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:48:44 + git semver [Pipeline] } 12:48:44 $ docker stop --time=1 af9858eee5ea8afc354bd662fd12924100cfad2ad73b18571035a1552d7756d8 12:48:46 $ docker rm -f af9858eee5ea8afc354bd662fd12924100cfad2ad73b18571035a1552d7756d8 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 12:48:47 Stashed 32 file(s) [Pipeline] echo 12:48:47 [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 12:49:02 Still waiting to schedule task 12:49:02 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1141’ 12:49:02 Still waiting to schedule task 12:49:02 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 12:50:52 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1142 in /w/workspace/edgexfoundry_device-sdk-c_PR-296 [Pipeline] { [Pipeline] ws 12:50:52 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 12:50:57 using credential edgex-jenkins-ssh 12:50:57 Cloning the remote Git repository 12:50:57 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 12:50:57 > git init /w/workspace/device-sdk-c/1 # timeout=10 12:50:57 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 12:50:57 > git --version # timeout=10 12:50:57 > git --version # 'git version 2.17.1' 12:50:57 using GIT_SSH to set credentials SSH Credentials for GitHub 12:50:57 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:50:59 Merging remotes/origin/master commit 0730159153764daa4a8fdc7cfbde25041d3eb933 into PR head commit 3c2e643e55ac71479f89c1d04f9b818a0ce441ed 12:50:59 Merge succeeded, producing 3c2e643e55ac71479f89c1d04f9b818a0ce441ed 12:50:59 Checking out Revision 3c2e643e55ac71479f89c1d04f9b818a0ce441ed (PR-296) 12:50:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 12:50:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:50:59 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 12:50:59 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 12:50:59 using GIT_SSH to set credentials SSH Credentials for GitHub 12:50:59 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/296/head:refs/remotes/origin/PR-296 +refs/heads/master:refs/remotes/origin/master # timeout=10 12:50:59 > git config core.sparsecheckout # timeout=10 12:50:59 > git checkout -f 3c2e643e55ac71479f89c1d04f9b818a0ce441ed # timeout=10 12:50:59 > git remote # timeout=10 12:50:59 > git config --get remote.origin.url # timeout=10 12:50:59 using GIT_SSH to set credentials SSH Credentials for GitHub 12:50:59 > git merge 0730159153764daa4a8fdc7cfbde25041d3eb933 # timeout=10 12:50:59 > git rev-parse HEAD^{commit} # timeout=10 12:50:59 > git config core.sparsecheckout # timeout=10 12:50:59 > git checkout -f 3c2e643e55ac71479f89c1d04f9b818a0ce441ed # timeout=10 12:51:04 Commit message: "fix: Validate boolean array data" 12:51:04 > git --version # timeout=10 12:51:04 > git --version # 'git version 2.17.1' 12:51:04 fatal: bad object 85bea31ad76f85e2acd5a821f20c71e435d4ae12 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 12:51:06 ========================================================= 12:51:06 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 12:51:06 ========================================================= [Pipeline] isUnix [Pipeline] sh 12:51:07 + 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 . 12:51:09 Sending build context to Docker daemon 3.756MB 12:51:09 Step 1/21 : ARG BASE=alpine:3.11 12:51:09 Step 2/21 : FROM ${BASE} as builder 12:51:09 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 12:51:09 0362ad1dd800: Pulling fs layer 12:51:09 f2cdb1532d8b: Pulling fs layer 12:51:09 37ed683be191: Pulling fs layer 12:51:09 f2cdb1532d8b: Download complete 12:51:09 0362ad1dd800: Download complete 12:51:10 0362ad1dd800: Pull complete 12:51:10 f2cdb1532d8b: Pull complete 12:51:12 37ed683be191: Verifying Checksum 12:51:12 37ed683be191: Download complete 12:51:20 37ed683be191: Pull complete 12:51:20 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 12:51:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 12:51:20 ---> b23d30803547 12:51:20 Step 3/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev 12:51:22 ---> Running in 130050cd681e 12:51:24 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 12:51:24 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 12:51:25 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 12:51:25 (2/8) Installing libuuid (2.33-r0) 12:51:25 (3/8) Installing libblkid (2.33-r0) 12:51:25 (4/8) Installing libfdisk (2.33-r0) 12:51:26 (5/8) Installing libmount (2.33-r0) 12:51:26 (6/8) Installing libsmartcols (2.33-r0) 12:51:26 (7/8) Installing util-linux-dev (2.33-r0) 12:51:26 (8/8) Installing wget (1.20.3-r0) 12:51:26 Executing busybox-1.29.3-r10.trigger 12:51:26 OK: 285 MiB in 83 packages 12:51:28 Removing intermediate container 130050cd681e 12:51:28 ---> 939c6808ab91 12:51:28 Step 4/21 : ENV CBOR_VERSION=0.5.0 12:51:28 ---> Running in def10fcacef8 12:51:28 Removing intermediate container def10fcacef8 12:51:28 ---> bf7846ea36dd 12:51:28 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 12:51:28 ---> Running in 7b5740da9c76 12:51:30 --2020-09-24 12:51:30-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 12:51:30 Resolving github.com... 140.82.113.4 12:51:30 Connecting to github.com|140.82.113.4|:443... connected. 12:51:30 HTTP request sent, awaiting response... 302 Found 12:51:30 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 12:51:30 --2020-09-24 12:51:30-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 12:51:30 Resolving codeload.github.com... 140.82.113.9 12:51:30 Connecting to codeload.github.com|140.82.113.9|:443... connected. 12:51:30 HTTP request sent, awaiting response... 200 OK 12:51:30 Length: unspecified [application/x-gzip] 12:51:30 Saving to: 'STDOUT' 12:51:30  12:51:30 0K .......... .......... .......... .......... .......... 1.42M 12:51:30 50K .......... .......... .......... .......... .......... 2.64M 12:51:30 100K .......... .......... .......... .......... .......... 8.79M 12:51:30 150K .......... .......... .......... .......... .......... 3.84M 12:51:30 200K .......... .......... .......... .......... .......... 13.1M 12:51:30 250K .......... .......... .......... .......... .......... 3.45M 12:51:30 300K .......... .......... .......... .......... .......... 3.69M 12:51:30 350K .......... .......... .......... .......... .......... 5.54M 12:51:30 400K .......... .......... .......... .......... .......... 3.66M 12:51:30 450K .......... .......... .......... .......... .......... 4.35M 12:51:30 500K .......... .......... .......... .......... .......... 10.1M 12:51:30 550K .......... .......... .......... .......... .......... 2.74M 12:51:30 600K .......... .......... .......... .......... .......... 893K 12:51:31 650K .......... .......... .......... .......... .......... 2.10M 12:51:31 700K ..             5.78M=0.2s 12:51:31 12:51:31 2020-09-24 12:51:30 (2.88 MB/s) - written to stdout [719348] 12:51:31 12:51:31 -- The C compiler identification is GNU 8.3.0 12:51:31 -- The CXX compiler identification is GNU 8.3.0 12:51:31 -- Check for working C compiler: /usr/bin/cc 12:51:31 -- Check for working C compiler: /usr/bin/cc -- works 12:51:31 -- Detecting C compiler ABI info 12:51:31 -- Detecting C compiler ABI info - done 12:51:31 -- Detecting C compile features 12:51:32 -- Detecting C compile features - done 12:51:32 -- Check for working CXX compiler: /usr/bin/c++ 12:51:32 -- Check for working CXX compiler: /usr/bin/c++ -- works 12:51:32 -- Detecting CXX compiler ABI info 12:51:33 -- Detecting CXX compiler ABI info - done 12:51:33 -- Detecting CXX compile features 12:51:34 -- Detecting CXX compile features - done 12:51:34 -- Looking for include file endian.h 12:51:35 -- Looking for include file endian.h - found 12:51:35 -- Check if the system is big endian 12:51:35 -- Searching 16 bit integer 12:51:35 -- Looking for sys/types.h 12:51:35 -- Looking for sys/types.h - found 12:51:35 -- Looking for stdint.h 12:51:35 -- Looking for stdint.h - found 12:51:35 -- Looking for stddef.h 12:51:35 -- Looking for stddef.h - found 12:51:35 -- Check size of unsigned short 12:51:35 -- Check size of unsigned short - done 12:51:35 -- Using unsigned short 12:51:36 -- Check if the system is big endian - little endian 12:51:36 -- Check size of size_t 12:51:36 -- Check size of size_t - done 12:51:36 CMake Warning at examples/CMakeLists.txt:16 (find_package): 12:51:36 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 12:51:36 asked CMake to find a package configuration file provided by "cJSON", but 12:51:36 CMake did not find one. 12:51:36 12:51:36 Could not find a package configuration file provided by "cJSON" with any of 12:51:36 the following names: 12:51:36 12:51:36 cJSONConfig.cmake 12:51:36 cjson-config.cmake 12:51:36 12:51:36 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 12:51:36 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 12:51:36 provides a separate development package or SDK, be sure it has been 12:51:36 installed. 12:51:36 12:51:36 12:51:36 -- Configuring done 12:51:36 -- Generating done 12:51:36 -- Build files have been written to: /tmp/cbor 12:51:37 Scanning dependencies of target cbor_shared 12:51:37 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 12:51:37 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 12:51:38 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 12:51:38 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 12:51:39 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 12:51:39 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 12:51:39 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 12:51:39 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 12:51:39 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 12:51:40 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 12:51:40 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 12:51:41 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 12:51:41 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 12:51:41 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 12:51:41 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 12:51:42 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 12:51:42 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 12:51:42 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 12:51:43 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 12:51:43 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 12:51:43 [ 40%] Linking C shared library libcbor.so 12:51:43 [ 40%] Built target cbor_shared 12:51:43 Scanning dependencies of target cbor 12:51:43 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 12:51:44 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 12:51:45 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 12:51:45 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 12:51:46 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 12:51:46 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 12:51:46 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 12:51:46 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 12:51:47 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 12:51:47 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 12:51:48 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 12:51:48 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 12:51:49 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 12:51:49 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 12:51:49 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 12:51:49 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 12:51:50 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 12:51:50 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 12:51:50 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 12:51:50 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 12:51:50 [ 80%] Linking C static library libcbor.a 12:51:50 [ 80%] Built target cbor 12:51:50 Scanning dependencies of target create_items 12:51:50 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 12:51:51 [ 84%] Linking C executable create_items 12:51:51 [ 84%] Built target create_items 12:51:51 Scanning dependencies of target readfile 12:51:51 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 12:51:51 [ 88%] Linking C executable readfile 12:51:51 [ 88%] Built target readfile 12:51:51 Scanning dependencies of target streaming_parser 12:51:51 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 12:51:52 [ 92%] Linking C executable streaming_parser 12:51:52 [ 92%] Built target streaming_parser 12:51:52 Scanning dependencies of target sort 12:51:52 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 12:51:52 [ 96%] Linking C executable sort 12:51:52 [ 96%] Built target sort 12:51:52 Scanning dependencies of target hello 12:51:52 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 12:51:52 [100%] Linking C executable hello 12:51:52 [100%] Built target hello 12:51:52 Install the project... 12:51:52 -- Install configuration: "Release" 12:51:52 -- Installing: /usr/local/include/cbor/configuration.h 12:51:52 -- Installing: /usr/local/lib64/libcbor.a 12:51:52 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 12:51:52 -- Installing: /usr/local/lib64/libcbor.so.0 12:51:52 -- Installing: /usr/local/lib64/libcbor.so 12:51:52 -- Up-to-date: /usr/local/include/cbor 12:51:52 -- Installing: /usr/local/include/cbor/streaming.h 12:51:52 -- Installing: /usr/local/include/cbor/ints.h 12:51:52 -- Installing: /usr/local/include/cbor/floats_ctrls.h 12:51:52 -- Installing: /usr/local/include/cbor/bytestrings.h 12:51:52 -- Installing: /usr/local/include/cbor/encoding.h 12:51:52 -- Installing: /usr/local/include/cbor/serialization.h 12:51:52 -- Installing: /usr/local/include/cbor/data.h 12:51:52 -- Installing: /usr/local/include/cbor/common.h 12:51:52 -- Installing: /usr/local/include/cbor/callbacks.h 12:51:52 -- Installing: /usr/local/include/cbor/strings.h 12:51:52 -- Installing: /usr/local/include/cbor/tags.h 12:51:52 -- Installing: /usr/local/include/cbor/internal 12:51:52 -- Installing: /usr/local/include/cbor/internal/encoders.h 12:51:52 -- Installing: /usr/local/include/cbor/internal/loaders.h 12:51:52 -- Installing: /usr/local/include/cbor/internal/stack.h 12:51:52 -- Installing: /usr/local/include/cbor/internal/unicode.h 12:51:52 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 12:51:52 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 12:51:52 -- Installing: /usr/local/include/cbor/arrays.h 12:51:52 -- Installing: /usr/local/include/cbor/maps.h 12:51:52 -- Installing: /usr/local/include/cbor.h 12:51:52 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 12:51:55 Removing intermediate container 7b5740da9c76 12:51:55 ---> 6069f1a720f5 12:51:55 Step 6/21 : RUN mkdir /tmp/sdk 12:51:55 ---> Running in 5c8b3476a233 12:51:57 Running on prd-centos7-docker-4c-2g-1143 in /w/workspace/edgexfoundry_device-sdk-c_PR-296 [Pipeline] { 12:51:57 Removing intermediate container 5c8b3476a233 12:51:57 ---> eaa704f26f25 12:51:57 Step 7/21 : COPY VERSION /tmp/sdk [Pipeline] ws 12:51:57 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 12:51:58 ---> 6769eedaf97e 12:51:58 Step 8/21 : COPY src /tmp/sdk/src 12:51:59 ---> 0f24c4ab949c 12:51:59 Step 9/21 : COPY include /tmp/sdk/include 12:51:59 ---> e35bbace84bd 12:51:59 Step 10/21 : COPY scripts /tmp/sdk/scripts 12:52:00 ---> 4fa847b3505f 12:52:00 Step 11/21 : COPY LICENSE /tmp/sdk 12:52:00 ---> 34bad6ff0a85 12:52:00 Step 12/21 : COPY Attribution.txt /tmp/sdk 12:52:01 ---> 9629446d4514 12:52:01 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 12:52:01 ---> Running in fcf6053d9630 12:52:03 + CPPCHECK=false 12:52:03 + DOCGEN=false 12:52:03 + TOMLVER=SDK-0.2 12:52:03 + CUTILVER=1.1.1 12:52:03 + '[' 0 -gt 0 ] 12:52:03 + readlink -f ./scripts/build.sh 12:52:03 + dirname /tmp/sdk/scripts/build.sh 12:52:03 + dirname /tmp/sdk/scripts 12:52:03 + ROOT=/tmp/sdk 12:52:03 + cd /tmp/sdk 12:52:03 + '[' '!' -d deps ] 12:52:03 + mkdir deps 12:52:03 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 12:52:03 + tar -C deps -z -x -f - 12:52:03 --2020-09-24 12:52:03-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 12:52:03 Resolving github.com... 140.82.113.4 12:52:03 Connecting to github.com|140.82.113.4|:443... connected. 12:52:03 HTTP request sent, awaiting response... 302 Found 12:52:03 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 12:52:03 --2020-09-24 12:52:03-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 12:52:03 Resolving codeload.github.com... 140.82.113.9 12:52:03 Connecting to codeload.github.com|140.82.113.9|:443... connected. 12:52:03 HTTP request sent, awaiting response... 200 OK 12:52:03 Length: unspecified [application/x-gzip] 12:52:03 Saving to: 'STDOUT' 12:52:03  12:52:03 0K .......... ......   889K=0.02s 12:52:03 12:52:03 2020-09-24 12:52:03 (889 KB/s) - written to stdout [16451] 12:52:03 12:52:03 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 12:52:03 + wget -O+ - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.1.tar.gztar 12:52:03 -C deps -z -x -f - 12:52:03 --2020-09-24 12:52:03-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.1.tar.gz 12:52:03 Resolving github.com... 140.82.113.4 12:52:03 Connecting to github.com|140.82.113.4|:443... connected. 12:52:03 HTTP request sent, awaiting response... 302 Found 12:52:03 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.1 [following] 12:52:03 --2020-09-24 12:52:03-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.1 12:52:03 Resolving codeload.github.com... 140.82.113.9 12:52:03 Connecting to codeload.github.com|140.82.113.9|:443... connected. 12:52:04 HTTP request sent, awaiting response... 200 OK 12:52:04 Length: unspecified [application/x-gzip] 12:52:04 Saving to: 'STDOUT' 12:52:04  12:52:04 0K .......... .......... .......... .......... .......... 1.46M 12:52:04 50K .......... .......... .......... .......... .......... 3.08M 12:52:04 100K .......... .......... .......... .......... .......... 4.19M 12:52:04 150K .......... .......... .....    1.70M=0.08s 12:52:04 12:52:04 2020-09-24 12:52:04 (2.27 MB/s) - written to stdout [179833] 12:52:04 12:52:04 + mkdir -p src/c/iot 12:52:04 + cp deps/iotech-c-utils-1.1.1/src/c/base64.c deps/iotech-c-utils-1.1.1/src/c/component.c deps/iotech-c-utils-1.1.1/src/c/config.c deps/iotech-c-utils-1.1.1/src/c/container.c deps/iotech-c-utils-1.1.1/src/c/data.c deps/iotech-c-utils-1.1.1/src/c/hash.c deps/iotech-c-utils-1.1.1/src/c/iot.c deps/iotech-c-utils-1.1.1/src/c/json.c deps/iotech-c-utils-1.1.1/src/c/logger.c deps/iotech-c-utils-1.1.1/src/c/os.c deps/iotech-c-utils-1.1.1/src/c/scheduler.c deps/iotech-c-utils-1.1.1/src/c/thread.c deps/iotech-c-utils-1.1.1/src/c/threadpool.c deps/iotech-c-utils-1.1.1/src/c/time.c deps/iotech-c-utils-1.1.1/src/c/yxml.c src/c/iot 12:52:04 + mkdir -p include/iot 12:52:04 + cp deps/iotech-c-utils-1.1.1/include/iot/base64.h deps/iotech-c-utils-1.1.1/include/iot/component.h deps/iotech-c-utils-1.1.1/include/iot/config.h deps/iotech-c-utils-1.1.1/include/iot/container.h deps/iotech-c-utils-1.1.1/include/iot/data.h deps/iotech-c-utils-1.1.1/include/iot/hash.h deps/iotech-c-utils-1.1.1/include/iot/iot.h deps/iotech-c-utils-1.1.1/include/iot/json.h deps/iotech-c-utils-1.1.1/include/iot/logger.h deps/iotech-c-utils-1.1.1/include/iot/os.h deps/iotech-c-utils-1.1.1/include/iot/scheduler.h deps/iotech-c-utils-1.1.1/include/iot/thread.h deps/iotech-c-utils-1.1.1/include/iot/threadpool.h deps/iotech-c-utils-1.1.1/include/iot/time.h deps/iotech-c-utils-1.1.1/include/iot/typecode.h deps/iotech-c-utils-1.1.1/include/iot/yxml.h include/iot 12:52:04 + mkdir -p include/iot/os 12:52:04 + cp deps/iotech-c-utils-1.1.1/include/iot/os/linux.h deps/iotech-c-utils-1.1.1/include/iot/os/macos.h deps/iotech-c-utils-1.1.1/include/iot/os/zephyr.h include/iot/os 12:52:04 + mkdir -p /tmp/sdk/build/release 12:52:04 + cd /tmp/sdk/build/release 12:52:04 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 12:52:04 using credential edgex-jenkins-ssh 12:52:04 -- The C compiler identification is GNU 8.3.0 12:52:04 -- Check for working C compiler: /usr/bin/cc 12:52:04 Cloning the remote Git repository 12:52:04 -- Check for working C compiler: /usr/bin/cc -- works 12:52:04 -- Detecting C compiler ABI info 12:52:04 -- Detecting C compiler ABI info - done 12:52:05 -- Detecting C compile features 12:52:04 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 12:52:04 > git init /w/workspace/device-sdk-c/1 # timeout=10 12:52:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 12:52:05 > git --version # timeout=10 12:52:05 > git --version # 'git version 2.16.5' 12:52:05 using GIT_SSH to set credentials SSH Credentials for GitHub 12:52:05 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:52:05 -- Detecting C compile features - done 12:52:05 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 12:52:05 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 12:52:05 -- Found LIBYAML: /usr/lib/libyaml.so 12:52:05 -- Found LIBUUID: /usr/lib/libuuid.so 12:52:05 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 12:52:05 -- C SDK 0.0.0 for Linux 12:52:05 -- Performing Test CSDK_HAVE_ATOMIC 12:52:06 -- Performing Test CSDK_HAVE_ATOMIC - Success 12:52:06 -- Found Curses: /usr/lib/libcurses.so 12:52:06 -- Configuring done 12:52:06 Merging remotes/origin/master commit 0730159153764daa4a8fdc7cfbde25041d3eb933 into PR head commit 3c2e643e55ac71479f89c1d04f9b818a0ce441ed 12:52:06 -- Generating done 12:52:06 -- Build files have been written to: /tmp/sdk/build/release 12:52:06 + + maketee 12:52:06 release.log 12:52:06 Scanning dependencies of target csdk 12:52:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 12:52:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:52:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 12:52:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 12:52:06 using GIT_SSH to set credentials SSH Credentials for GitHub 12:52:06 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/296/head:refs/remotes/origin/PR-296 +refs/heads/master:refs/remotes/origin/master # timeout=10 12:52:06 > git config core.sparsecheckout # timeout=10 12:52:06 > git checkout -f 3c2e643e55ac71479f89c1d04f9b818a0ce441ed # timeout=10 12:52:06 Merge succeeded, producing 3c2e643e55ac71479f89c1d04f9b818a0ce441ed 12:52:06 Checking out Revision 3c2e643e55ac71479f89c1d04f9b818a0ce441ed (PR-296) 12:52:06 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 12:52:07 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 12:52:07 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 12:52:06 > git remote # timeout=10 12:52:06 > git config --get remote.origin.url # timeout=10 12:52:06 using GIT_SSH to set credentials SSH Credentials for GitHub 12:52:06 > git merge 0730159153764daa4a8fdc7cfbde25041d3eb933 # timeout=10 12:52:06 > git rev-parse HEAD^{commit} # timeout=10 12:52:06 > git config core.sparsecheckout # timeout=10 12:52:06 > git checkout -f 3c2e643e55ac71479f89c1d04f9b818a0ce441ed # timeout=10 12:52:09 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 12:52:10 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 12:52:10 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 12:52:11 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 12:52:11 Commit message: "fix: Validate boolean array data" 12:52:11 > git --version # timeout=10 12:52:11 > git --version # 'git version 2.16.5' 12:52:11 fatal: bad object 85bea31ad76f85e2acd5a821f20c71e435d4ae12 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 12:52:13 ========================================================= 12:52:13 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 12:52:13 ========================================================= 12:52:13 [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [Pipeline] isUnix [Pipeline] sh 12:52:13 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 12:52:14 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 12:52:14 + 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 . 12:52:15 [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 12:52:15 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 12:52:15 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 12:52:15 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 12:52:16 Sending build context to Docker daemon 3.756MB 12:52:16 Step 1/21 : ARG BASE=alpine:3.11 12:52:16 Step 2/21 : FROM ${BASE} as builder 12:52:16 latest: Pulling from edgex-devops/edgex-gcc-base 12:52:16 e7c96db7181b: Pulling fs layer 12:52:16 4c13bbce0fe7: Pulling fs layer 12:52:16 6059c847ac2f: Pulling fs layer 12:52:16 4c13bbce0fe7: Verifying Checksum 12:52:16 4c13bbce0fe7: Download complete 12:52:17 e7c96db7181b: Verifying Checksum 12:52:17 e7c96db7181b: Download complete 12:52:18 e7c96db7181b: Pull complete 12:52:18 4c13bbce0fe7: Pull complete 12:52:20 [ 24%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 12:52:20 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 12:52:20 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 12:52:20 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 12:52:20 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 12:52:23 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 12:52:23 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 12:52:23 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 12:52:24 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 12:52:24 6059c847ac2f: Verifying Checksum 12:52:24 6059c847ac2f: Download complete 12:52:24 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 12:52:24 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 12:52:25 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 12:52:25 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 12:52:26 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 12:52:26 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 12:52:28 [ 48%] Building C object c/CMakeFiles/csdk.dir/map.c.o 12:52:29 [ 50%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 12:52:30 [ 51%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 12:52:30 [ 53%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 12:52:34 [ 54%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 12:52:34 [ 56%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 12:52:35 6059c847ac2f: Pull complete 12:52:35 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 12:52:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 12:52:35 ---> 5eabd8fd8ba2 12:52:35 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 12:52:35 [ 58%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 12:52:35 [ 59%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 12:52:36 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 12:52:36 ---> Running in 585db0c996aa 12:52:37 [ 62%] Building C object c/CMakeFiles/csdk.dir/service.c.o 12:52:38 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 12:52:39 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 12:52:39 [ 64%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 12:52:39 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 12:52:39 (2/8) Installing libuuid (2.33-r0) 12:52:39 (3/8) Installing libblkid (2.33-r0) 12:52:39 (4/8) Installing libfdisk (2.33-r0) 12:52:39 (5/8) Installing libmount (2.33-r0) 12:52:39 (6/8) Installing libsmartcols (2.33-r0) 12:52:40 (7/8) Installing util-linux-dev (2.33-r0) 12:52:40 (8/8) Installing wget (1.20.3-r0) 12:52:40 Executing busybox-1.29.3-r10.trigger 12:52:40 OK: 272 MiB in 83 packages 12:52:41 Removing intermediate container 585db0c996aa 12:52:41 ---> 874b257659c8 12:52:41 Step 4/21 : ENV CBOR_VERSION=0.5.0 12:52:41 ---> Running in 89bfd79215cf 12:52:42 Removing intermediate container 89bfd79215cf 12:52:42 ---> a1fe2576d585 12:52:42 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 12:52:42 ---> Running in 364fc2b85962 12:52:42 [ 66%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 12:52:42 [ 67%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 12:52:43 --2020-09-24 12:52:43-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 12:52:43 Resolving github.com... 140.82.112.4 12:52:43 Connecting to github.com|140.82.112.4|:443... connected. 12:52:43 HTTP request sent, awaiting response... 302 Found 12:52:43 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 12:52:43 --2020-09-24 12:52:43-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 12:52:43 Resolving codeload.github.com... 140.82.114.10 12:52:43 Connecting to codeload.github.com|140.82.114.10|:443... connected. 12:52:44 HTTP request sent, awaiting response... 200 OK 12:52:44 Length: unspecified [application/x-gzip] 12:52:44 Saving to: 'STDOUT' 12:52:44  12:52:44 0K .......... .......... .......... .......... .......... 1.39M 12:52:44 50K .......... .......... .......... .......... .......... 2.66M 12:52:44 100K .......... .......... .......... .......... .......... 1.74M 12:52:44 150K .......... .......... .......... .......... .......... 29.3M 12:52:44 200K .......... .......... .......... .......... .......... 2.71M 12:52:44 250K .......... .......... .......... .......... .......... 7.23M 12:52:44 300K .......... .......... .......... .......... .......... 5.32M 12:52:44 350K .......... .......... .......... .......... .......... 3.35M 12:52:44 400K .......... .......... .......... .......... .......... 4.22M 12:52:44 450K .......... .......... .......... .......... .......... 4.14M 12:52:44 500K .......... .......... .......... .......... .......... 8.34M 12:52:44 550K .......... .......... .......... .......... .......... 4.74M 12:52:44 600K .......... .......... .......... .......... .......... 1.38M 12:52:44 [ 69%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 12:52:44 650K .......... .......... .......... .......... .......... 1.59M 12:52:44 700K .. 323K=0.2s 12:52:44 12:52:44 2020-09-24 12:52:44 (2.80 MB/s) - written to stdout [719348] 12:52:44 12:52:44 [ 70%] Linking C shared library libcsdk.so 12:52:44 -- The C compiler identification is GNU 8.3.0 12:52:44 -- The CXX compiler identification is GNU 8.3.0 12:52:44 -- Check for working C compiler: /usr/bin/cc 12:52:44 [ 70%] Built target csdk 12:52:44 Scanning dependencies of target template 12:52:44 [ 72%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 12:52:44 -- Check for working C compiler: /usr/bin/cc -- works 12:52:44 -- Detecting C compiler ABI info 12:52:44 -- Detecting C compiler ABI info - done 12:52:44 -- Detecting C compile features 12:52:45 [ 74%] Linking C executable template 12:52:45 -- Detecting C compile features - done 12:52:45 -- Check for working CXX compiler: /usr/bin/c++ 12:52:45 -- Check for working CXX compiler: /usr/bin/c++ -- works 12:52:45 -- Detecting CXX compiler ABI info 12:52:45 [ 74%] Built target template 12:52:45 Scanning dependencies of target device-counter 12:52:45 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 12:52:45 -- Detecting CXX compiler ABI info - done 12:52:45 -- Detecting CXX compile features 12:52:46 [ 77%] Linking C executable device-counter 12:52:46 [ 77%] Built target device-counter 12:52:46 Scanning dependencies of target device-random 12:52:46 [ 79%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 12:52:46 [ 80%] Linking C executable device-random 12:52:46 -- Detecting CXX compile features - done 12:52:46 -- Looking for include file endian.h 12:52:47 [ 80%] Built target device-random 12:52:47 Scanning dependencies of target device-gyro 12:52:47 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 12:52:47 -- Looking for include file endian.h - found 12:52:47 -- Check if the system is big endian 12:52:47 -- Searching 16 bit integer 12:52:47 -- Looking for sys/types.h 12:52:47 -- Looking for sys/types.h - found 12:52:47 -- Looking for stdint.h 12:52:47 [ 83%] Linking C executable device-gyro 12:52:47 [ 83%] Built target device-gyro 12:52:47 Scanning dependencies of target device-bitfields 12:52:47 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 12:52:47 -- Looking for stdint.h - found 12:52:47 -- Looking for stddef.h 12:52:48 -- Looking for stddef.h - found 12:52:48 -- Check size of unsigned short 12:52:48 [ 87%] Linking C executable device-bitfields 12:52:48 [ 87%] Built target device-bitfields 12:52:48 Scanning dependencies of target template-discovery 12:52:48 [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 12:52:48 -- Check size of unsigned short - done 12:52:48 -- Using unsigned short 12:52:49 -- Check if the system is big endian - little endian 12:52:49 -- Check size of size_t 12:52:49 -- Check size of size_t - done 12:52:49 [ 90%] Linking C executable template-discovery 12:52:49 [ 90%] Built target template-discovery 12:52:49 CMake Warning at examples/CMakeLists.txt:16 (find_package): 12:52:49 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 12:52:49 asked CMake to find a package configuration file provided by "cJSON", but 12:52:49 CMake did not find one. 12:52:49 12:52:49 Could not find a package configuration file provided by "cJSON" with any of 12:52:49 the following names: 12:52:49 12:52:49 cJSONConfig.cmake 12:52:49 cjson-config.cmake 12:52:49 12:52:49 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 12:52:49 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 12:52:49 provides a separate development package or SDK, be sure it has been 12:52:49 installed. 12:52:49 12:52:49 12:52:49 -- Configuring done 12:52:49 -- Generating done 12:52:49 -- Build files have been written to: /tmp/cbor 12:52:49 Scanning dependencies of target cbor_shared 12:52:49 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 12:52:49 Scanning dependencies of target device-file 12:52:49 [ 91%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 12:52:49 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 12:52:50 [ 93%] Linking C executable device-file 12:52:50 [ 93%] Built target device-file 12:52:50 Scanning dependencies of target device-terminal 12:52:50 [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 12:52:50 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 12:52:50 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 12:52:50 [ 96%] Linking C executable device-terminal 12:52:51 [ 96%] Built target device-terminal 12:52:51 Scanning dependencies of target templatev1 12:52:51 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 12:52:51 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 12:52:51 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 12:52:51 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 12:52:51 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 12:52:51 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 12:52:51 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 12:52:51 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 12:52:51 [100%] Linking C executable templatev1 12:52:51 [100%] Built target templatev1 12:52:51 + + teemake -a package 12:52:51 release.log 12:52:51 [ 70%] Built target csdk 12:52:51 [ 74%] Built target template 12:52:51 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 12:52:51 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 12:52:52 [ 77%] Built target device-counter 12:52:52 [ 80%] Built target device-random 12:52:52 [ 83%] Built target device-gyro 12:52:52 [ 87%] Built target device-bitfields 12:52:52 [ 90%] Built target template-discovery 12:52:52 [ 93%] Built target device-file 12:52:52 [ 96%] Built target device-terminal 12:52:52 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 12:52:52 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 12:52:52 [100%] Built target templatev1 12:52:52 Run CPack packaging tool... 12:52:52 CPack: Create package using TGZ 12:52:52 CPack: Install projects 12:52:52 CPack: - Run preinstall target for: Csdk 12:52:52 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 12:52:52 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 12:52:52 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 12:52:52 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 12:52:52 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 12:52:52 [ 40%] Linking C shared library libcbor.so 12:52:53 CPack: - Install project: Csdk 12:52:53 CPack: Create package 12:52:53 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 12:52:53 + '[' false '=' true ] 12:52:53 + '[' false '=' true ] 12:52:53 + mkdir -p /tmp/sdk/build/debug 12:52:53 + cd /tmp/sdk/build/debug 12:52:53 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 12:52:53 [ 40%] Built target cbor_shared 12:52:53 Scanning dependencies of target cbor 12:52:53 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 12:52:53 -- The C compiler identification is GNU 8.3.0 12:52:53 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 12:52:53 -- Check for working C compiler: /usr/bin/cc 12:52:53 -- Check for working C compiler: /usr/bin/cc -- works 12:52:53 -- Detecting C compiler ABI info 12:52:53 -- Detecting C compiler ABI info - done 12:52:53 -- Detecting C compile features 12:52:53 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 12:52:53 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 12:52:54 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 12:52:54 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 12:52:54 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 12:52:54 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 12:52:54 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 12:52:54 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 12:52:54 -- Detecting C compile features - done 12:52:54 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 12:52:54 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 12:52:54 -- Found LIBYAML: /usr/lib/libyaml.so 12:52:54 -- Found LIBUUID: /usr/lib/libuuid.so 12:52:54 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 12:52:54 -- C SDK 0.0.0 for Linux 12:52:54 -- Performing Test CSDK_HAVE_ATOMIC 12:52:55 -- Performing Test CSDK_HAVE_ATOMIC - Success 12:52:55 -- Found Curses: /usr/lib/libcurses.so 12:52:55 -- Configuring done 12:52:55 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 12:52:55 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 12:52:55 -- Generating done 12:52:55 -- Build files have been written to: /tmp/sdk/build/debug 12:52:55 + make 12:52:55 + tee debug.log 12:52:55 Scanning dependencies of target csdk 12:52:55 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 12:52:55 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 12:52:55 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 12:52:55 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 12:52:55 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 12:52:55 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 12:52:55 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 12:52:55 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 12:52:56 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 12:52:56 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 12:52:56 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 12:52:56 [ 80%] Linking C static library libcbor.a 12:52:56 [ 80%] Built target cbor 12:52:56 Scanning dependencies of target create_items 12:52:56 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 12:52:56 [ 84%] Linking C executable create_items 12:52:56 [ 84%] Built target create_items 12:52:56 Scanning dependencies of target readfile 12:52:56 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 12:52:56 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 12:52:56 [ 88%] Linking C executable readfile 12:52:56 [ 88%] Built target readfile 12:52:56 Scanning dependencies of target streaming_parser 12:52:56 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 12:52:57 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 12:52:57 [ 92%] Linking C executable streaming_parser 12:52:57 [ 92%] Built target streaming_parser 12:52:57 Scanning dependencies of target sort 12:52:57 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 12:52:57 [ 96%] Linking C executable sort 12:52:57 [ 96%] Built target sort 12:52:57 Scanning dependencies of target hello 12:52:57 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 12:52:57 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 12:52:57 [100%] Linking C executable hello 12:52:57 [100%] Built target hello 12:52:57 Install the project... 12:52:57 -- Install configuration: "Release" 12:52:57 -- Installing: /usr/local/include/cbor/configuration.h 12:52:57 -- Installing: /usr/local/lib64/libcbor.a 12:52:57 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 12:52:57 -- Installing: /usr/local/lib64/libcbor.so.0 12:52:57 -- Installing: /usr/local/lib64/libcbor.so 12:52:57 -- Up-to-date: /usr/local/include/cbor 12:52:57 -- Installing: /usr/local/include/cbor/arrays.h 12:52:57 -- Installing: /usr/local/include/cbor/bytestrings.h 12:52:57 -- Installing: /usr/local/include/cbor/callbacks.h 12:52:57 -- Installing: /usr/local/include/cbor/common.h 12:52:57 -- Installing: /usr/local/include/cbor/data.h 12:52:57 -- Installing: /usr/local/include/cbor/encoding.h 12:52:57 -- Installing: /usr/local/include/cbor/floats_ctrls.h 12:52:57 -- Installing: /usr/local/include/cbor/internal 12:52:57 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 12:52:57 -- Installing: /usr/local/include/cbor/internal/encoders.h 12:52:57 -- Installing: /usr/local/include/cbor/internal/loaders.h 12:52:57 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 12:52:57 -- Installing: /usr/local/include/cbor/internal/stack.h 12:52:57 -- Installing: /usr/local/include/cbor/internal/unicode.h 12:52:57 -- Installing: /usr/local/include/cbor/ints.h 12:52:57 -- Installing: /usr/local/include/cbor/maps.h 12:52:57 -- Installing: /usr/local/include/cbor/serialization.h 12:52:57 -- Installing: /usr/local/include/cbor/streaming.h 12:52:57 -- Installing: /usr/local/include/cbor/strings.h 12:52:57 -- Installing: /usr/local/include/cbor/tags.h 12:52:57 -- Installing: /usr/local/include/cbor.h 12:52:57 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 12:52:57 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 12:52:58 [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 12:52:58 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 12:52:59 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 12:52:59 [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 12:52:59 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 12:52:59 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 12:52:59 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 12:53:00 Removing intermediate container 364fc2b85962 12:53:00 ---> af0344607649 12:53:00 Step 6/21 : RUN mkdir /tmp/sdk 12:53:00 ---> Running in e40cea55c7a5 12:53:00 [ 24%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 12:53:00 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 12:53:01 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 12:53:01 Removing intermediate container e40cea55c7a5 12:53:01 ---> 98ed6376fcc4 12:53:01 Step 7/21 : COPY VERSION /tmp/sdk 12:53:01 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 12:53:01 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 12:53:01 ---> 52448613caa4 12:53:01 Step 8/21 : COPY src /tmp/sdk/src 12:53:02 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 12:53:02 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 12:53:02 ---> b1f93c4a86ae 12:53:02 Step 9/21 : COPY include /tmp/sdk/include 12:53:02 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 12:53:02 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 12:53:03 ---> 85edb5b3cfad 12:53:03 Step 10/21 : COPY scripts /tmp/sdk/scripts 12:53:03 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 12:53:03 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 12:53:03 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 12:53:03 ---> 831d1579b568 12:53:03 Step 11/21 : COPY LICENSE /tmp/sdk 12:53:03 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 12:53:04 ---> d4b5bdc569d7 12:53:04 Step 12/21 : COPY Attribution.txt /tmp/sdk 12:53:04 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 12:53:04 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 12:53:04 ---> c23dd0e2a67e 12:53:04 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 12:53:04 ---> Running in b43190ed302e 12:53:04 [ 48%] Building C object c/CMakeFiles/csdk.dir/map.c.o 12:53:04 [ 50%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 12:53:05 [ 51%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 12:53:05 [ 53%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 12:53:05 + CPPCHECK=false 12:53:05 + DOCGEN=false 12:53:05 + TOMLVER=SDK-0.2 12:53:05 + CUTILVER=1.1.1 12:53:05 + '[' 0 -gt 0 ] 12:53:05 + readlink -f ./scripts/build.sh 12:53:05 + dirname /tmp/sdk/scripts/build.sh 12:53:05 + dirname /tmp/sdk/scripts 12:53:05 + ROOT=/tmp/sdk 12:53:05 + cd /tmp/sdk 12:53:05 + '[' '!' -d deps ] 12:53:05 + mkdir deps 12:53:05 + tar -C deps -z -x -f - 12:53:05 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 12:53:05 --2020-09-24 12:53:05-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 12:53:05 Resolving github.com... 140.82.112.4 12:53:05 Connecting to github.com|140.82.112.4|:443... connected. 12:53:05 HTTP request sent, awaiting response... 302 Found 12:53:05 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 12:53:05 --2020-09-24 12:53:05-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 12:53:05 Resolving codeload.github.com... 140.82.114.10 12:53:05 Connecting to codeload.github.com|140.82.114.10|:443... connected. 12:53:05 HTTP request sent, awaiting response... 200 OK 12:53:05 Length: unspecified [application/x-gzip] 12:53:05 Saving to: 'STDOUT' 12:53:05  12:53:05 0K .......... ...... 908K=0.02s 12:53:05 12:53:05 2020-09-24 12:53:05 (908 KB/s) - written to stdout [16451] 12:53:05 12:53:05 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 12:53:05 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.1.tar.gz 12:53:05 + tar -C deps -z -x -f - 12:53:05 --2020-09-24 12:53:05-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.1.tar.gz 12:53:05 Resolving github.com... 140.82.112.4 12:53:05 Connecting to github.com|140.82.112.4|:443... connected. 12:53:06 HTTP request sent, awaiting response... 302 Found 12:53:06 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.1 [following] 12:53:06 --2020-09-24 12:53:05-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.1 12:53:06 Resolving codeload.github.com... 140.82.114.10 12:53:06 Connecting to codeload.github.com|140.82.114.10|:443... connected. 12:53:06 HTTP request sent, awaiting response... 200 OK 12:53:06 Length: unspecified [application/x-gzip] 12:53:06 Saving to: 'STDOUT' 12:53:06 12:53:06 [ 54%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 12:53:06 0K .......... .......... .......... .......... .......... 1.21M 12:53:06 50K .......... .......... .......... .......... .......... 2.01M 12:53:06 100K .......... .......... .......... .......... .......... 14.0M 12:53:06 150K .......... .......... ..... 2.50M=0.08s 12:53:06 12:53:06 2020-09-24 12:53:06 (2.20 MB/s) - written to stdout [179833] 12:53:06 12:53:06 + mkdir -p src/c/iot 12:53:06 + cp deps/iotech-c-utils-1.1.1/src/c/base64.c deps/iotech-c-utils-1.1.1/src/c/component.c deps/iotech-c-utils-1.1.1/src/c/config.c deps/iotech-c-utils-1.1.1/src/c/container.c deps/iotech-c-utils-1.1.1/src/c/data.c deps/iotech-c-utils-1.1.1/src/c/hash.c deps/iotech-c-utils-1.1.1/src/c/iot.c deps/iotech-c-utils-1.1.1/src/c/json.c deps/iotech-c-utils-1.1.1/src/c/logger.c deps/iotech-c-utils-1.1.1/src/c/os.c deps/iotech-c-utils-1.1.1/src/c/scheduler.c deps/iotech-c-utils-1.1.1/src/c/thread.c deps/iotech-c-utils-1.1.1/src/c/threadpool.c deps/iotech-c-utils-1.1.1/src/c/time.c deps/iotech-c-utils-1.1.1/src/c/yxml.c src/c/iot 12:53:06 + mkdir -p include/iot 12:53:06 + cp deps/iotech-c-utils-1.1.1/include/iot/base64.h deps/iotech-c-utils-1.1.1/include/iot/component.h deps/iotech-c-utils-1.1.1/include/iot/config.h deps/iotech-c-utils-1.1.1/include/iot/container.h deps/iotech-c-utils-1.1.1/include/iot/data.h deps/iotech-c-utils-1.1.1/include/iot/hash.h deps/iotech-c-utils-1.1.1/include/iot/iot.h deps/iotech-c-utils-1.1.1/include/iot/json.h deps/iotech-c-utils-1.1.1/include/iot/logger.h deps/iotech-c-utils-1.1.1/include/iot/os.h deps/iotech-c-utils-1.1.1/include/iot/scheduler.h deps/iotech-c-utils-1.1.1/include/iot/thread.h deps/iotech-c-utils-1.1.1/include/iot/threadpool.h deps/iotech-c-utils-1.1.1/include/iot/time.h deps/iotech-c-utils-1.1.1/include/iot/typecode.h deps/iotech-c-utils-1.1.1/include/iot/yxml.h include/iot 12:53:06 + mkdir -p include/iot/os 12:53:06 + cp deps/iotech-c-utils-1.1.1/include/iot/os/linux.h deps/iotech-c-utils-1.1.1/include/iot/os/macos.h deps/iotech-c-utils-1.1.1/include/iot/os/zephyr.h include/iot/os 12:53:06 + mkdir -p /tmp/sdk/build/release 12:53:06 + cd /tmp/sdk/build/release 12:53:06 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 12:53:06 [ 56%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 12:53:06 -- The C compiler identification is GNU 8.3.0 12:53:06 -- Check for working C compiler: /usr/bin/cc 12:53:06 -- Check for working C compiler: /usr/bin/cc -- works 12:53:06 -- Detecting C compiler ABI info 12:53:06 [ 58%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 12:53:07 -- Detecting C compiler ABI info - done 12:53:07 -- Detecting C compile features 12:53:07 [ 59%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 12:53:07 -- Detecting C compile features - done 12:53:07 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 12:53:07 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 12:53:07 -- Found LIBYAML: /usr/lib/libyaml.so 12:53:07 -- Found LIBUUID: /usr/lib/libuuid.so 12:53:07 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 12:53:07 -- C SDK 0.0.0 for Linux 12:53:07 -- Performing Test CSDK_HAVE_ATOMIC 12:53:07 -- Performing Test CSDK_HAVE_ATOMIC - Success 12:53:07 -- Found Curses: /usr/lib/libcurses.so 12:53:07 -- Configuring done 12:53:07 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 12:53:07 -- Generating done 12:53:07 -- Build files have been written to: /tmp/sdk/build/release 12:53:07 + tee release.log 12:53:07 + make 12:53:07 Scanning dependencies of target csdk 12:53:07 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 12:53:08 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 12:53:08 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 12:53:08 [ 62%] Building C object c/CMakeFiles/csdk.dir/service.c.o 12:53:09 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 12:53:09 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 12:53:09 [ 64%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 12:53:09 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 12:53:09 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 12:53:09 [ 66%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 12:53:09 [ 67%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 12:53:10 [ 69%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 12:53:10 [ 70%] Linking C shared library libcsdk.so 12:53:10 [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 12:53:10 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 12:53:10 [ 70%] Built target csdk 12:53:10 Scanning dependencies of target template 12:53:10 [ 72%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 12:53:11 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 12:53:11 [ 74%] Linking C executable template 12:53:11 [ 74%] Built target template 12:53:11 Scanning dependencies of target device-counter 12:53:11 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 12:53:11 [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 12:53:11 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 12:53:11 [ 77%] Linking C executable device-counter 12:53:11 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 12:53:11 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 12:53:11 [ 77%] Built target device-counter 12:53:11 Scanning dependencies of target device-random 12:53:11 [ 79%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 12:53:12 [ 80%] Linking C executable device-random 12:53:12 [ 80%] Built target device-random 12:53:12 Scanning dependencies of target device-gyro 12:53:12 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 12:53:12 [ 83%] Linking C executable device-gyro 12:53:12 [ 83%] Built target device-gyro 12:53:12 Scanning dependencies of target device-bitfields 12:53:13 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 12:53:13 [ 87%] Linking C executable device-bitfields 12:53:13 [ 24%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 12:53:13 [ 87%] Built target device-bitfields 12:53:13 Scanning dependencies of target template-discovery 12:53:13 [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 12:53:13 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 12:53:13 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 12:53:13 [ 90%] Linking C executable template-discovery 12:53:13 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 12:53:13 [ 90%] Built target template-discovery 12:53:13 Scanning dependencies of target device-file 12:53:13 [ 91%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 12:53:14 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 12:53:14 [ 93%] Linking C executable device-file 12:53:14 [ 93%] Built target device-file 12:53:14 Scanning dependencies of target device-terminal 12:53:14 [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 12:53:14 [ 96%] Linking C executable device-terminal 12:53:14 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 12:53:14 [ 96%] Built target device-terminal 12:53:14 Scanning dependencies of target templatev1 12:53:14 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 12:53:15 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 12:53:15 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 12:53:15 [100%] Linking C executable templatev1 12:53:15 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 12:53:15 [100%] Built target templatev1 12:53:15 make: Entering directory '/tmp/sdk/build/release' 12:53:15 make[1]: Entering directory '/tmp/sdk/build/release' 12:53:15 make[2]: Entering directory '/tmp/sdk/build/release' 12:53:15 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 12:53:15 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 12:53:15 make[2]: Leaving directory '/tmp/sdk/build/release' 12:53:15 [ 70%] Built target csdk 12:53:15 make[2]: Entering directory '/tmp/sdk/build/release' 12:53:15 make[2]: Leaving directory '/tmp/sdk/build/release' 12:53:15 [ 74%] Built target template 12:53:15 make[2]: Entering directory '/tmp/sdk/build/release' 12:53:15 make[2]: Leaving directory '/tmp/sdk/build/release' 12:53:15 [ 77%] Built target device-counter 12:53:15 make[2]: Entering directory '/tmp/sdk/build/release' 12:53:15 make[2]: Leaving directory '/tmp/sdk/build/release' 12:53:15 [ 80%] Built target device-random 12:53:15 make[2]: Entering directory '/tmp/sdk/build/release' 12:53:15 make[2]: Leaving directory '/tmp/sdk/build/release' 12:53:15 [ 83%] Built target device-gyro 12:53:15 make[2]: Entering directory '/tmp/sdk/build/release' 12:53:15 make[2]: Leaving directory '/tmp/sdk/build/release' 12:53:16 [ 87%] Built target device-bitfields 12:53:16 make[2]: Entering directory '/tmp/sdk/build/release' 12:53:16 make[2]: Leaving directory '/tmp/sdk/build/release' 12:53:16 [ 90%] Built target template-discovery 12:53:16 make[2]: Entering directory '/tmp/sdk/build/release' 12:53:16 make[2]: Leaving directory '/tmp/sdk/build/release' 12:53:16 [ 93%] Built target device-file 12:53:16 make[2]: Entering directory '/tmp/sdk/build/release' 12:53:16 make[2]: Leaving directory '/tmp/sdk/build/release' 12:53:16 [ 96%] Built target device-terminal 12:53:16 make[2]: Entering directory '/tmp/sdk/build/release' 12:53:16 make[2]: Leaving directory '/tmp/sdk/build/release' 12:53:16 [100%] Built target templatev1 12:53:16 make[1]: Leaving directory '/tmp/sdk/build/release' 12:53:16 Install the project... 12:53:16 -- Install configuration: "Release" 12:53:16 -- Installing: /usr/local/lib/libcsdk.so 12:53:16 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 12:53:16 -- Up-to-date: /usr/local/include 12:53:16 -- Installing: /usr/local/include/edgex 12:53:16 -- Installing: /usr/local/include/edgex/device-mgmt.h 12:53:16 -- Installing: /usr/local/include/edgex/eventgen.h 12:53:16 -- Installing: /usr/local/include/edgex/error.h 12:53:16 -- Installing: /usr/local/include/edgex/rest-server.h 12:53:16 -- Installing: /usr/local/include/edgex/edgex-base.h 12:53:16 -- Installing: /usr/local/include/edgex/devsdk.h 12:53:16 -- Installing: /usr/local/include/edgex/edgex.h 12:53:16 -- Installing: /usr/local/include/edgex/devices.h 12:53:16 -- Installing: /usr/local/include/edgex/os.h 12:53:16 -- Installing: /usr/local/include/edgex/profiles.h 12:53:16 -- Installing: /usr/local/include/edgex/csdk-defs.h 12:53:16 -- Installing: /usr/local/include/devsdk 12:53:16 -- Installing: /usr/local/include/devsdk/devsdk-base.h 12:53:16 -- Installing: /usr/local/include/devsdk/devsdk.h 12:53:16 -- Installing: /usr/local/include/iot 12:53:16 -- Installing: /usr/local/include/iot/json.h 12:53:16 -- Installing: /usr/local/include/iot/yxml.h 12:53:16 -- Installing: /usr/local/include/iot/container.h 12:53:16 -- Installing: /usr/local/include/iot/component.h 12:53:16 -- Installing: /usr/local/include/iot/typecode.h 12:53:16 -- Installing: /usr/local/include/iot/iot.h 12:53:16 -- Installing: /usr/local/include/iot/time.h 12:53:16 -- Installing: /usr/local/include/iot/hash.h 12:53:16 -- Installing: /usr/local/include/iot/logger.h 12:53:16 -- Installing: /usr/local/include/iot/os 12:53:16 -- Installing: /usr/local/include/iot/os/zephyr.h 12:53:16 -- Installing: /usr/local/include/iot/os/linux.h 12:53:16 -- Installing: /usr/local/include/iot/os/macos.h 12:53:16 -- Installing: /usr/local/include/iot/scheduler.h 12:53:16 -- Installing: /usr/local/include/iot/data.h 12:53:16 -- Installing: /usr/local/include/iot/thread.h 12:53:16 -- Installing: /usr/local/include/iot/os.h 12:53:16 -- Installing: /usr/local/include/iot/base64.h 12:53:16 -- Installing: /usr/local/include/iot/threadpool.h 12:53:16 -- Installing: /usr/local/include/iot/config.h 12:53:16 -- Installing: /usr/local/share/device-sdk-c/LICENSE 12:53:16 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 12:53:16 make: Leaving directory '/tmp/sdk/build/release' 12:53:16 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 12:53:16 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 12:53:17 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 12:53:17 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 12:53:17 [ 48%] Building C object c/CMakeFiles/csdk.dir/map.c.o 12:53:17 [ 50%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 12:53:18 Removing intermediate container fcf6053d9630 12:53:18 ---> 03b1d295774c 12:53:18 Step 14/21 : FROM ${BASE} 12:53:18 ---> b23d30803547 12:53:18 Step 15/21 : MAINTAINER IOTech 12:53:18 [ 51%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 12:53:18 [ 53%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 12:53:18 ---> Running in e039806278ac 12:53:19 Removing intermediate container e039806278ac 12:53:19 ---> fae001a6a8c1 12:53:19 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 12:53:19 ---> Running in 99f218b321dd 12:53:19 [ 54%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 12:53:20 [ 56%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 12:53:20 [ 58%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 12:53:20 [ 59%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 12:53:20 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 12:53:20 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 12:53:21 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 12:53:21 (1/3) Installing curl (7.64.0-r4) 12:53:21 [ 62%] Building C object c/CMakeFiles/csdk.dir/service.c.o 12:53:21 (2/3) Installing libuuid (2.33-r0) 12:53:21 (3/3) Installing wget (1.20.3-r0) 12:53:22 Executing busybox-1.29.3-r10.trigger 12:53:22 OK: 281 MiB in 78 packages 12:53:22 [ 64%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 12:53:23 Removing intermediate container 99f218b321dd 12:53:23 ---> f0e8859b23a6 12:53:23 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 12:53:23 [ 66%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 12:53:24 ---> 026d9d141720 12:53:24 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 12:53:24 [ 67%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 12:53:24 [ 69%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 12:53:24 ---> a418880e29e2 12:53:24 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 12:53:25 [ 70%] Linking C shared library libcsdk.so 12:53:25 ---> 0224c245af38 12:53:25 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 12:53:25 [ 70%] Built target csdk 12:53:25 Scanning dependencies of target template 12:53:25 [ 72%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 12:53:25 [ 74%] Linking C executable template 12:53:25 [ 74%] Built target template 12:53:25 Scanning dependencies of target device-counter 12:53:25 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 12:53:25 [ 77%] Linking C executable device-counter 12:53:26 [ 77%] Built target device-counter 12:53:26 Scanning dependencies of target device-random 12:53:26 [ 79%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 12:53:26 ---> 6584a64cb383 12:53:26 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 12:53:26 [ 80%] Linking C executable device-random 12:53:26 [ 80%] Built target device-random 12:53:26 Scanning dependencies of target device-gyro 12:53:26 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 12:53:26 [ 83%] Linking C executable device-gyro 12:53:26 [ 83%] Built target device-gyro 12:53:26 Scanning dependencies of target device-bitfields 12:53:26 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 12:53:26 ---> 5e64f4d07032 12:53:26 Successfully built 5e64f4d07032 12:53:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script 12:53:27 [ 87%] Linking C executable device-bitfields 12:53:27 [ 87%] Built target device-bitfields 12:53:27 Scanning dependencies of target template-discovery 12:53:27 [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) 12:53:27 [ 90%] Linking C executable template-discovery [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:53:27 [ 90%] Built target template-discovery 12:53:27 Scanning dependencies of target device-file 12:53:27 [ 91%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 12:53:28 + docker inspect -f . ci-base-image-arm64 12:53:28 . [Pipeline] withDockerContainer 12:53:28 [ 93%] Linking C executable device-file 12:53:28 prd-ubuntu18.04-docker-arm64-4c-16g-1142 does not seem to be running inside a container 12:53:28 [ 93%] Built target device-file 12:53:28 Scanning dependencies of target device-terminal 12:53:28 [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 12:53:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:53:28 [ 96%] Linking C executable device-terminal 12:53:28 [ 96%] Built target device-terminal 12:53:28 Scanning dependencies of target templatev1 12:53:28 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 12:53:29 [100%] Linking C executable templatev1 12:53:29 [100%] Built target templatev1 12:53:29 + make package 12:53:29 + tee -a release.log 12:53:29 [ 70%] Built target csdk 12:53:29 [ 74%] Built target template 12:53:29 [ 77%] Built target device-counter 12:53:29 [ 80%] Built target device-random 12:53:29 [ 83%] Built target device-gyro 12:53:29 [ 87%] Built target device-bitfields 12:53:29 [ 90%] Built target template-discovery 12:53:29 [ 93%] Built target device-file 12:53:29 [ 96%] Built target device-terminal 12:53:29 [100%] Built target templatev1 12:53:29 Run CPack packaging tool... 12:53:29 CPack: Create package using TGZ 12:53:29 CPack: Install projects 12:53:29 CPack: - Run preinstall target for: Csdk 12:53:30 $ docker top 594f0a62679358da3b366fe473c9a2584bd875340664a9d0fea3cba0f877a2cf -eo pid,comm 12:53:30 CPack: - Install project: Csdk [Pipeline] { [Pipeline] sh 12:53:30 CPack: Create package 12:53:30 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 12:53:30 + '[' false '=' true ] 12:53:30 + '[' false '=' true ] 12:53:30 + mkdir -p /tmp/sdk/build/debug 12:53:30 + cd /tmp/sdk/build/debug 12:53:30 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 12:53:30 -- The C compiler identification is GNU 8.3.0 12:53:30 -- Check for working C compiler: /usr/bin/cc 12:53:31 -- Check for working C compiler: /usr/bin/cc -- works 12:53:31 -- Detecting C compiler ABI info 12:53:31 -- Detecting C compiler ABI info - done 12:53:31 -- Detecting C compile features 12:53:31 -- Detecting C compile features - done 12:53:31 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 12:53:31 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 12:53:31 -- Found LIBYAML: /usr/lib/libyaml.so 12:53:31 -- Found LIBUUID: /usr/lib/libuuid.so 12:53:31 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 12:53:31 -- C SDK 0.0.0 for Linux 12:53:31 -- Performing Test CSDK_HAVE_ATOMIC 12:53:31 -- Performing Test CSDK_HAVE_ATOMIC - Success 12:53:31 -- Found Curses: /usr/lib/libcurses.so 12:53:31 -- Configuring done 12:53:31 + make test 12:53:31 echo "make test" 12:53:31 make test [Pipeline] } 12:53:31 $ docker stop --time=1 594f0a62679358da3b366fe473c9a2584bd875340664a9d0fea3cba0f877a2cf 12:53:32 -- Generating done 12:53:32 -- Build files have been written to: /tmp/sdk/build/debug 12:53:32 + make 12:53:32 + tee debug.log 12:53:32 Scanning dependencies of target csdk 12:53:32 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 12:53:32 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 12:53:32 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 12:53:32 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 12:53:32 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 12:53:32 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 12:53:32 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 12:53:33 [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 12:53:33 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 12:53:33 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 12:53:33 [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 12:53:33 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 12:53:33 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 12:53:33 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 12:53:34 $ docker rm -f 594f0a62679358da3b366fe473c9a2584bd875340664a9d0fea3cba0f877a2cf [Pipeline] // withDockerContainer [Pipeline] } 12:53:34 [ 24%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 12:53:34 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 12:53:34 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 12:53:34 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [Pipeline] // script [Pipeline] } [Pipeline] // stage 12:53:34 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 12:53:35 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 12:53:35 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 12:53:35 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 12:53:35 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 12:53:36 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 12:53:36 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 12:53:36 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 12:53:36 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 12:53:36 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 12:53:36 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 12:53:37 [ 48%] Building C object c/CMakeFiles/csdk.dir/map.c.o 12:53:37 [ 50%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 12:53:37 [ 51%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 12:53:37 [ 53%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [Pipeline] sh 12:53:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:53:38 [ 54%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 12:53:38 [ 56%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 12:53:38 [ 58%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 12:53:38 [ 59%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 12:53:38 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 12:53:38 + ls -al . 12:53:38 total 196 12:53:38 drwxrwxr-x 9 jenkins jenkins 4096 Sep 24 12:51 . 12:53:38 drwxrwxr-x 4 jenkins jenkins 4096 Sep 24 12:50 .. 12:53:38 drwxrwxr-x 8 jenkins jenkins 4096 Sep 24 12:51 .git 12:53:38 drwxrwxr-x 2 jenkins jenkins 4096 Sep 24 12:50 .github 12:53:38 -rw-rw-r-- 1 jenkins jenkins 176 Sep 24 12:50 .gitignore 12:53:38 drwxrwxr-x 3 jenkins jenkins 4096 Sep 24 12:51 .semver 12:53:38 -rw-rw-r-- 1 jenkins jenkins 3104 Sep 24 12:50 Attribution.txt 12:53:38 -rw-rw-r-- 1 jenkins jenkins 5980 Sep 24 12:50 CHANGES 12:53:38 -rw-rw-r-- 1 jenkins jenkins 108574 Sep 24 12:50 Doxyfile 12:53:38 -rw-rw-r-- 1 jenkins jenkins 794 Sep 24 12:50 Jenkinsfile 12:53:38 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 24 12:50 LICENSE 12:53:38 -rw-rw-r-- 1 jenkins jenkins 449 Sep 24 12:50 Makefile 12:53:38 -rw-rw-r-- 1 jenkins jenkins 2697 Sep 24 12:50 README.md 12:53:38 -rw-rw-r-- 1 jenkins jenkins 5977 Sep 24 12:50 README.v2.md 12:53:38 -rw-rw-r-- 1 jenkins jenkins 5 Sep 24 12:48 VERSION 12:53:38 drwxrwxr-x 2 jenkins jenkins 4096 Sep 24 12:50 docs 12:53:38 drwxrwxr-x 4 jenkins jenkins 4096 Sep 24 12:50 include 12:53:38 drwxrwxr-x 2 jenkins jenkins 4096 Sep 24 12:50 scripts 12:53:38 drwxrwxr-x 4 jenkins jenkins 4096 Sep 24 12:50 src [Pipeline] isUnix [Pipeline] sh 12:53:38 [ 62%] Building C object c/CMakeFiles/csdk.dir/service.c.o 12:53:39 + 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=3c2e643e55ac71479f89c1d04f9b818a0ce441ed --label arch=arm64 --label version=0.0.0 . 12:53:39 [ 64%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 12:53:39 [ 66%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 12:53:39 [ 67%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 12:53:39 Sending build context to Docker daemon 3.756MB 12:53:39 Step 1/15 : ARG BASE=alpine:3.11 12:53:39 Step 2/15 : FROM ${BASE} 12:53:39 ---> 5e64f4d07032 12:53:39 Step 3/15 : MAINTAINER IOTech 12:53:39 ---> Running in 0c1b3d9b4d7b 12:53:39 [ 69%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 12:53:39 [ 70%] Linking C shared library libcsdk.so 12:53:40 [ 70%] Built target csdk 12:53:40 Scanning dependencies of target template 12:53:40 [ 72%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 12:53:40 [ 74%] Linking C executable template 12:53:40 Removing intermediate container 0c1b3d9b4d7b 12:53:40 ---> c5b74d4fd187 12:53:40 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 12:53:40 ---> Running in f32f568fe1ef 12:53:40 [ 74%] Built target template 12:53:40 Scanning dependencies of target device-counter 12:53:40 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 12:53:40 [ 77%] Linking C executable device-counter 12:53:40 [ 77%] Built target device-counter 12:53:40 Scanning dependencies of target device-random 12:53:40 [ 79%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 12:53:41 [ 80%] Linking C executable device-random 12:53:41 [ 80%] Built target device-random 12:53:41 Scanning dependencies of target device-gyro 12:53:41 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 12:53:41 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 12:53:41 [ 83%] Linking C executable device-gyro 12:53:41 [ 83%] Built target device-gyro 12:53:41 Scanning dependencies of target device-bitfields 12:53:41 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 12:53:42 [ 87%] Linking C executable device-bitfields 12:53:42 [ 87%] Built target device-bitfields 12:53:42 Scanning dependencies of target template-discovery 12:53:42 [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 12:53:42 [ 90%] Linking C executable template-discovery 12:53:42 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 12:53:42 [ 90%] Built target template-discovery 12:53:42 Scanning dependencies of target device-file 12:53:42 [ 91%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 12:53:43 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 12:53:43 (2/6) Installing libblkid (2.33-r0) 12:53:43 (3/6) Installing libfdisk (2.33-r0) 12:53:43 (4/6) Installing libmount (2.33-r0) 12:53:43 (5/6) Installing libsmartcols (2.33-r0) 12:53:43 (6/6) Installing util-linux-dev (2.33-r0) 12:53:43 [ 93%] Linking C executable device-file 12:53:43 [ 93%] Built target device-file 12:53:43 Scanning dependencies of target device-terminal 12:53:43 [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 12:53:43 [ 96%] Linking C executable device-terminal 12:53:43 [ 96%] Built target device-terminal 12:53:43 Scanning dependencies of target templatev1 12:53:43 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 12:53:43 [100%] Linking C executable templatev1 12:53:43 Executing busybox-1.29.3-r10.trigger 12:53:43 OK: 286 MiB in 84 packages 12:53:44 [100%] Built target templatev1 12:53:44 make: Entering directory '/tmp/sdk/build/release' 12:53:44 make[1]: Entering directory '/tmp/sdk/build/release' 12:53:44 make[2]: Entering directory '/tmp/sdk/build/release' 12:53:44 make[2]: Leaving directory '/tmp/sdk/build/release' 12:53:44 [ 70%] Built target csdk 12:53:44 make[2]: Entering directory '/tmp/sdk/build/release' 12:53:44 make[2]: Leaving directory '/tmp/sdk/build/release' 12:53:44 [ 74%] Built target template 12:53:44 make[2]: Entering directory '/tmp/sdk/build/release' 12:53:44 make[2]: Leaving directory '/tmp/sdk/build/release' 12:53:44 [ 77%] Built target device-counter 12:53:44 make[2]: Entering directory '/tmp/sdk/build/release' 12:53:44 make[2]: Leaving directory '/tmp/sdk/build/release' 12:53:44 [ 80%] Built target device-random 12:53:44 make[2]: Entering directory '/tmp/sdk/build/release' 12:53:44 make[2]: Leaving directory '/tmp/sdk/build/release' 12:53:44 [ 83%] Built target device-gyro 12:53:44 make[2]: Entering directory '/tmp/sdk/build/release' 12:53:44 make[2]: Leaving directory '/tmp/sdk/build/release' 12:53:44 [ 87%] Built target device-bitfields 12:53:44 make[2]: Entering directory '/tmp/sdk/build/release' 12:53:44 make[2]: Leaving directory '/tmp/sdk/build/release' 12:53:44 [ 90%] Built target template-discovery 12:53:44 make[2]: Entering directory '/tmp/sdk/build/release' 12:53:44 make[2]: Leaving directory '/tmp/sdk/build/release' 12:53:44 [ 93%] Built target device-file 12:53:44 make[2]: Entering directory '/tmp/sdk/build/release' 12:53:44 make[2]: Leaving directory '/tmp/sdk/build/release' 12:53:44 [ 96%] Built target device-terminal 12:53:44 make[2]: Entering directory '/tmp/sdk/build/release' 12:53:45 make[2]: Leaving directory '/tmp/sdk/build/release' 12:53:45 [100%] Built target templatev1 12:53:45 make[1]: Leaving directory '/tmp/sdk/build/release' 12:53:45 Install the project... 12:53:45 -- Install configuration: "Release" 12:53:45 -- Installing: /usr/local/lib/libcsdk.so 12:53:45 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 12:53:45 -- Up-to-date: /usr/local/include 12:53:45 -- Installing: /usr/local/include/devsdk 12:53:45 -- Installing: /usr/local/include/devsdk/devsdk-base.h 12:53:45 -- Installing: /usr/local/include/devsdk/devsdk.h 12:53:45 -- Installing: /usr/local/include/edgex 12:53:45 -- Installing: /usr/local/include/edgex/device-mgmt.h 12:53:45 -- Installing: /usr/local/include/edgex/devices.h 12:53:45 -- Installing: /usr/local/include/edgex/devsdk.h 12:53:45 -- Installing: /usr/local/include/edgex/edgex-base.h 12:53:45 -- Installing: /usr/local/include/edgex/edgex.h 12:53:45 -- Installing: /usr/local/include/edgex/error.h 12:53:45 -- Installing: /usr/local/include/edgex/eventgen.h 12:53:45 -- Installing: /usr/local/include/edgex/os.h 12:53:45 -- Installing: /usr/local/include/edgex/profiles.h 12:53:45 -- Installing: /usr/local/include/edgex/rest-server.h 12:53:45 -- Installing: /usr/local/include/edgex/csdk-defs.h 12:53:45 -- Installing: /usr/local/include/iot 12:53:45 -- Installing: /usr/local/include/iot/base64.h 12:53:45 -- Installing: /usr/local/include/iot/component.h 12:53:45 -- Installing: /usr/local/include/iot/config.h 12:53:45 -- Installing: /usr/local/include/iot/container.h 12:53:45 -- Installing: /usr/local/include/iot/data.h 12:53:45 -- Installing: /usr/local/include/iot/hash.h 12:53:45 -- Installing: /usr/local/include/iot/iot.h 12:53:45 -- Installing: /usr/local/include/iot/json.h 12:53:45 -- Installing: /usr/local/include/iot/logger.h 12:53:45 -- Installing: /usr/local/include/iot/os.h 12:53:45 -- Installing: /usr/local/include/iot/scheduler.h 12:53:45 -- Installing: /usr/local/include/iot/thread.h 12:53:45 -- Installing: /usr/local/include/iot/threadpool.h 12:53:45 -- Installing: /usr/local/include/iot/time.h 12:53:45 -- Installing: /usr/local/include/iot/typecode.h 12:53:45 -- Installing: /usr/local/include/iot/yxml.h 12:53:45 -- Installing: /usr/local/include/iot/os 12:53:45 -- Installing: /usr/local/include/iot/os/linux.h 12:53:45 -- Installing: /usr/local/include/iot/os/macos.h 12:53:45 -- Installing: /usr/local/include/iot/os/zephyr.h 12:53:45 -- Installing: /usr/local/share/device-sdk-c/LICENSE 12:53:45 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 12:53:45 make: Leaving directory '/tmp/sdk/build/release' 12:53:45 Removing intermediate container f32f568fe1ef 12:53:45 ---> d5ae61ae4a28 12:53:45 Step 5/15 : COPY VERSION /edgex-c-sdk/ 12:53:45 ---> 7764de43cf3c 12:53:45 Step 6/15 : COPY src /edgex-c-sdk/src/ 12:53:46 ---> f5318b338c1a 12:53:46 Step 7/15 : COPY include /edgex-c-sdk/include/ 12:53:47 ---> b5f75d50f532 12:53:47 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 12:53:47 Removing intermediate container b43190ed302e 12:53:47 ---> 4e7868ea590e 12:53:47 Step 14/21 : FROM ${BASE} 12:53:47 ---> 5eabd8fd8ba2 12:53:47 Step 15/21 : MAINTAINER IOTech 12:53:47 ---> Running in 69803088cf5f 12:53:47 Removing intermediate container 69803088cf5f 12:53:47 ---> 08d56d50ffd3 12:53:47 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 12:53:48 ---> Running in 14cd971e36c4 12:53:48 ---> 16b83ba9dbd0 12:53:48 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 12:53:49 ---> 3f5c9770efc7 12:53:49 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 12:53:49 ---> ab237a9acafa 12:53:49 Step 11/15 : WORKDIR /edgex-c-sdk 12:53:49 ---> Running in af440b242e05 12:53:49 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 12:53:50 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 12:53:50 Removing intermediate container af440b242e05 12:53:50 ---> 04c0b4fa0d21 12:53:50 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 12:53:50 ---> Running in 653338741dd4 12:53:50 (1/3) Installing curl (7.64.0-r4) 12:53:50 (2/3) Installing libuuid (2.33-r0) 12:53:50 (3/3) Installing wget (1.20.3-r0) 12:53:51 Removing intermediate container 653338741dd4 12:53:51 ---> 6fdf23aeb6a9 12:53:51 Step 13/15 : LABEL arch=arm64 12:53:51 ---> Running in 61beb9d04870 12:53:51 Executing busybox-1.29.3-r10.trigger 12:53:51 OK: 268 MiB in 78 packages 12:53:51 Removing intermediate container 61beb9d04870 12:53:51 ---> 9f56fb221ee1 12:53:51 Step 14/15 : LABEL git_sha=3c2e643e55ac71479f89c1d04f9b818a0ce441ed 12:53:51 ---> Running in 36a32ca894c1 12:53:52 Removing intermediate container 36a32ca894c1 12:53:52 ---> 4dd489925c6f 12:53:52 Step 15/15 : LABEL version=0.0.0 12:53:52 ---> Running in 1a28bf95a37c 12:53:52 Removing intermediate container 14cd971e36c4 12:53:52 ---> e87e7130b6a5 12:53:52 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 12:53:52 Removing intermediate container 1a28bf95a37c 12:53:52 ---> 14414210dd05 12:53:52 [Warning] One or more build-args [ARCH MAKE] were not consumed 12:53:52 Successfully built 14414210dd05 12:53:52 ---> 9f00c6495bea 12:53:52 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 12:53:52 Successfully tagged docker-device-sdk-c-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } 12:53:53 ---> c775ab32d2f5 12:53:53 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } 12:53:53 ---> 183d8912540c 12:53:53 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv 12:53:54 ---> 655bcd5f9578 12:53:54 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node 12:53:54 ---> d19d6c2b0ff3 12:53:54 Successfully built d19d6c2b0ff3 12:53:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:53:56 + docker inspect -f . ci-base-image-x86_64 12:53:56 . [Pipeline] withDockerContainer 12:53:56 prd-centos7-docker-4c-2g-1143 does not seem to be running inside a container 12:53:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:53:58 $ docker top ae4cf3468129e68a62d650c4188f830e93fb150fddf7f559bd9ce2684d2e8e12 -eo pid,comm [Pipeline] { [Pipeline] sh 12:53:58 + make test 12:53:58 echo "make test" 12:53:58 make test [Pipeline] } 12:53:58 $ docker stop --time=1 ae4cf3468129e68a62d650c4188f830e93fb150fddf7f559bd9ce2684d2e8e12 12:54:00 $ docker rm -f ae4cf3468129e68a62d650c4188f830e93fb150fddf7f559bd9ce2684d2e8e12 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:54:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:54:02 + ls -al . 12:54:02 total 160 12:54:02 drwxrwxr-x. 9 jenkins jenkins 275 Sep 24 12:52 . 12:54:02 drwxrwxr-x. 4 jenkins jenkins 28 Sep 24 12:52 .. 12:54:02 -rw-rw-r--. 1 jenkins jenkins 3104 Sep 24 12:52 Attribution.txt 12:54:02 -rw-rw-r--. 1 jenkins jenkins 5980 Sep 24 12:52 CHANGES 12:54:02 drwxrwxr-x. 2 jenkins jenkins 144 Sep 24 12:52 docs 12:54:02 -rw-rw-r--. 1 jenkins jenkins 108574 Sep 24 12:52 Doxyfile 12:54:02 drwxrwxr-x. 8 jenkins jenkins 179 Sep 24 12:52 .git 12:54:02 drwxrwxr-x. 2 jenkins jenkins 38 Sep 24 12:52 .github 12:54:02 -rw-rw-r--. 1 jenkins jenkins 176 Sep 24 12:52 .gitignore 12:54:02 drwxrwxr-x. 4 jenkins jenkins 33 Sep 24 12:52 include 12:54:02 -rw-rw-r--. 1 jenkins jenkins 794 Sep 24 12:52 Jenkinsfile 12:54:02 -rw-rw-r--. 1 jenkins jenkins 10174 Sep 24 12:52 LICENSE 12:54:02 -rw-rw-r--. 1 jenkins jenkins 449 Sep 24 12:52 Makefile 12:54:02 -rw-rw-r--. 1 jenkins jenkins 2697 Sep 24 12:52 README.md 12:54:02 -rw-rw-r--. 1 jenkins jenkins 5977 Sep 24 12:52 README.v2.md 12:54:02 drwxrwxr-x. 2 jenkins jenkins 108 Sep 24 12:52 scripts 12:54:02 drwxrwxr-x. 3 jenkins jenkins 72 Sep 24 12:52 .semver 12:54:02 drwxrwxr-x. 4 jenkins jenkins 50 Sep 24 12:52 src 12:54:02 -rw-rw-r--. 1 jenkins jenkins 5 Sep 24 12:48 VERSION [Pipeline] isUnix [Pipeline] sh 12:54:03 + 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=3c2e643e55ac71479f89c1d04f9b818a0ce441ed --label arch=amd64 --label version=0.0.0 . 12:54:03 Sending build context to Docker daemon 3.756MB 12:54:03 Step 1/15 : ARG BASE=alpine:3.11 12:54:03 Step 2/15 : FROM ${BASE} 12:54:03 ---> d19d6c2b0ff3 12:54:03 Step 3/15 : MAINTAINER IOTech 12:54:03 ---> Running in eed57b7433ae 12:54:04 Removing intermediate container eed57b7433ae 12:54:04 ---> b07ca2c290e1 12:54:04 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 12:54:04 ---> Running in 35dc0987e9f0 12:54:05 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 12:54:05 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 12:54:06 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 12:54:06 (2/6) Installing libblkid (2.33-r0) 12:54:06 (3/6) Installing libfdisk (2.33-r0) 12:54:06 (4/6) Installing libmount (2.33-r0) 12:54:06 (5/6) Installing libsmartcols (2.33-r0) 12:54:06 (6/6) Installing util-linux-dev (2.33-r0) 12:54:07 Executing busybox-1.29.3-r10.trigger 12:54:07 OK: 272 MiB in 84 packages 12:54:08 Removing intermediate container 35dc0987e9f0 12:54:08 ---> 094c1b023c38 12:54:08 Step 5/15 : COPY VERSION /edgex-c-sdk/ 12:54:08 ---> 79059faf0a77 12:54:08 Step 6/15 : COPY src /edgex-c-sdk/src/ 12:54:09 ---> c0204f448b14 12:54:09 Step 7/15 : COPY include /edgex-c-sdk/include/ 12:54:09 ---> db040a87e3d8 12:54:09 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 12:54:10 ---> 6a9a1e157204 12:54:10 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 12:54:10 ---> 7429a2a20047 12:54:10 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 12:54:11 ---> 6da07671cbee 12:54:11 Step 11/15 : WORKDIR /edgex-c-sdk 12:54:11 ---> Running in f55ce84b6c57 12:54:11 Removing intermediate container f55ce84b6c57 12:54:11 ---> f2ca3638a9d0 12:54:11 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 12:54:11 ---> Running in 87b6cf0e7b0e 12:54:12 Removing intermediate container 87b6cf0e7b0e 12:54:12 ---> f54c1fd08640 12:54:12 Step 13/15 : LABEL arch=amd64 12:54:12 ---> Running in f52a9f5e14be 12:54:12 Removing intermediate container f52a9f5e14be 12:54:12 ---> 5f40f017e879 12:54:12 Step 14/15 : LABEL git_sha=3c2e643e55ac71479f89c1d04f9b818a0ce441ed 12:54:12 ---> Running in 111e44ac42b6 12:54:12 Removing intermediate container 111e44ac42b6 12:54:12 ---> b958f53cab77 12:54:12 Step 15/15 : LABEL version=0.0.0 12:54:12 ---> Running in 8695a5daabcd 12:54:13 Removing intermediate container 8695a5daabcd 12:54:13 ---> 996c107dc5e1 12:54:13 [Warning] One or more build-args [ARCH MAKE] were not consumed 12:54:13 Successfully built 996c107dc5e1 12:54:13 Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [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 12:54:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:54:17 ---> package-listing.sh 12:54:17 ++ facter osfamily 12:54:17 ++ tr '[:upper:]' '[:lower:]' 12:54:17 + OS_FAMILY=redhat 12:54:17 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-296 12:54:17 + START_PACKAGES=/tmp/packages_start.txt 12:54:17 + END_PACKAGES=/tmp/packages_end.txt 12:54:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:54:17 + PACKAGES=/tmp/packages_start.txt 12:54:17 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-296 ']' 12:54:17 + PACKAGES=/tmp/packages_end.txt 12:54:17 + case "${OS_FAMILY}" in 12:54:17 + rpm -qa 12:54:17 + sort 12:54:22 + '[' -f /tmp/packages_start.txt ']' 12:54:22 + '[' -f /tmp/packages_end.txt ']' 12:54:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:54:22 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-296 ']' 12:54:22 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-296/archives/ 12:54:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-296/archives/ [Pipeline] isUnix [Pipeline] sh 12:54:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 12:54:23 12:54:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 12:54:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 12:54:23 alpine: Pulling from edgex-lftools-log-publisher 12:54:23 df20fa9351a1: Pulling fs layer 12:54:23 36b3adc4ff6f: Pulling fs layer 12:54:23 8ad3a11d3b57: Pulling fs layer 12:54:23 46f8f816bc3b: Pulling fs layer 12:54:23 0dadc02b9964: Pulling fs layer 12:54:23 ce6a7cf60c04: Pulling fs layer 12:54:23 7a184a31f384: Pulling fs layer 12:54:23 0879bd2ef858: Pulling fs layer 12:54:23 46f8f816bc3b: Waiting 12:54:23 0dadc02b9964: Waiting 12:54:23 ce6a7cf60c04: Waiting 12:54:23 7a184a31f384: Waiting 12:54:23 0879bd2ef858: Waiting 12:54:23 36b3adc4ff6f: Verifying Checksum 12:54:23 36b3adc4ff6f: Download complete 12:54:23 46f8f816bc3b: Verifying Checksum 12:54:23 46f8f816bc3b: Download complete 12:54:23 df20fa9351a1: Download complete 12:54:23 ce6a7cf60c04: Download complete 12:54:23 7a184a31f384: Download complete 12:54:23 0dadc02b9964: Verifying Checksum 12:54:23 0dadc02b9964: Download complete 12:54:24 df20fa9351a1: Pull complete 12:54:24 8ad3a11d3b57: Verifying Checksum 12:54:24 8ad3a11d3b57: Download complete 12:54:24 36b3adc4ff6f: Pull complete 12:54:24 0879bd2ef858: Verifying Checksum 12:54:24 0879bd2ef858: Download complete 12:54:24 8ad3a11d3b57: Pull complete 12:54:24 46f8f816bc3b: Pull complete 12:54:25 0dadc02b9964: Pull complete 12:54:25 ce6a7cf60c04: Pull complete 12:54:25 7a184a31f384: Pull complete 12:54:27 0879bd2ef858: Pull complete 12:54:27 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 12:54:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 12:54:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 12:54:28 prd-centos7-docker-4c-2g-1141 does not seem to be running inside a container 12:54:28 $ 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-296 -v /w/workspace/edgexfoundry_device-sdk-c_PR-296:/w/workspace/edgexfoundry_device-sdk-c_PR-296:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-296@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-296@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 12:54:33 $ docker top 53608964313f61ab6a26581221a25cd24cab7d44f7d43f7d2ffb97f160f6d4b8 -eo pid,comm [Pipeline] { [Pipeline] sh 12:54:34 + mkdir -p /var/log/sa [Pipeline] sh 12:54:35 + ls /var/log/sa-host 12:54:35 + sadf -c /var/log/sa-host/sa05 12:54:35 file_magic: OK 12:54:35 HZ: Using current value: 100 12:54:35 file_header: OK 12:54:35 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 12:54:35 Statistics: 12:54:35 Hnuu...uuuununununu...Hnuu...uuuununununu... 12:54:35 File successfully converted to sysstat format version 12.2.1 12:54:35 + sadf -c /var/log/sa-host/sa24 12:54:35 file_magic: OK 12:54:35 HZ: Using current value: 100 12:54:35 file_header: OK 12:54:35 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 12:54:35 Statistics: 12:54:35 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 12:54:35 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:54:35 provisioning config files... 12:54:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-296@tmp/config4997441938693589240tmp [Pipeline] { [Pipeline] echo 12:54:35 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:54:36 ---> create-netrc.sh [Pipeline] echo 12:54:36 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:54:37 ---> logs-deploy.sh 12:54:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-296/1 12:54:37 INFO: archiving workspace using pattern(s): 12:54:38 Archives upload complete. 12:54:38 INFO: archiving logs to Nexus 12:54:39 ---> uname -a: 12:54:39 Linux 53608964313f 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 12:54:39 12:54:39 12:54:39 ---> lscpu: 12:54:39 Architecture: x86_64 12:54:39 CPU op-mode(s): 32-bit, 64-bit 12:54:39 Byte Order: Little Endian 12:54:39 Address sizes: 40 bits physical, 48 bits virtual 12:54:39 CPU(s): 4 12:54:39 On-line CPU(s) list: 0-3 12:54:39 Thread(s) per core: 1 12:54:39 Core(s) per socket: 1 12:54:39 Socket(s): 4 12:54:39 NUMA node(s): 1 12:54:39 Vendor ID: GenuineIntel 12:54:39 CPU family: 6 12:54:39 Model: 44 12:54:39 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 12:54:39 Stepping: 1 12:54:39 CPU MHz: 2933.436 12:54:39 BogoMIPS: 5866.87 12:54:39 Virtualization: VT-x 12:54:39 Hypervisor vendor: KVM 12:54:39 Virtualization type: full 12:54:39 L1d cache: 128 KiB 12:54:39 L1i cache: 128 KiB 12:54:39 L2 cache: 16 MiB 12:54:39 L3 cache: 64 MiB 12:54:39 NUMA node0 CPU(s): 0-3 12:54:39 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 12:54:39 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 12:54:39 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 12:54:39 Vulnerability Meltdown: Mitigation; PTI 12:54:39 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 12:54:39 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 12:54:39 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 12:54:39 Vulnerability Tsx async abort: Not affected 12:54:39 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 12:54:39 12:54:39 12:54:39 ---> nproc: 12:54:39 4 12:54:39 12:54:39