Pull request #294 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 607fe8d81ebe060197d16c16848049fb0456e688+6568dd76e6ab4166df02199344f5d2342af650e5 (c5b6a3335f688991ba48b994651cdccee1446778) 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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-294/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 7909e789ffc0fecf34d47f501ec8db0a80105338 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7909e789ffc0fecf34d47f501ec8db0a80105338 # timeout=10 Commit message: "Merge pull request #245 from ernestojeda/fix-go-version-issue" > 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-43578 in /w/workspace/edgexfoundry_device-sdk-c_PR-294 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-294 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/294/head:refs/remotes/origin/PR-294 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 6568dd76e6ab4166df02199344f5d2342af650e5 into PR head commit 607fe8d81ebe060197d16c16848049fb0456e688 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/294/head:refs/remotes/origin/PR-294 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/294/head:refs/remotes/origin/PR-294 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 607fe8d81ebe060197d16c16848049fb0456e688 # 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 6568dd76e6ab4166df02199344f5d2342af650e5 # timeout=10 Merge succeeded, producing bbd6527c10feaba365adb3162645b555e029d207 Checking out Revision bbd6527c10feaba365adb3162645b555e029d207 (PR-294) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bbd6527c10feaba365adb3162645b555e029d207 # timeout=10 Commit message: "Merge commit '6568dd76e6ab4166df02199344f5d2342af650e5' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:29:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:29:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:29:35 ========================================================= 09:29:35 EdgeX Global Pipelines Version Info 09:29:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:29:37 ------------------- 09:29:37 stable info: 09:29:37 ------------------- 09:29:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:29:37 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 09:29:37 Message: update stable to v1.0.122 09:29:38 ------------------- 09:29:38 experimental info: 09:29:38 ------------------- 09:29:38 Commited By: **** collab-it+edgex@linuxfoundation.org 09:29:38 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 09:29:38 Message: update experimental to v1.0.122 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 09:29:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 09:29:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 09:29:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:29:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:29:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:29:39 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 09:29:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine-3.11 [Pipeline] echo 09:29:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-3.11-base [Pipeline] echo 09:29:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:29:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-c [Pipeline] echo 09:29:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:29:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:29:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:29:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 09:29:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:29:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:29:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-294 [Pipeline] echo 09:29:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-294 [Pipeline] echo 09:29:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-294 [Pipeline] echo 09:29:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bbd6527c10feaba365adb3162645b555e029d207 [Pipeline] echo 09:29:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bbd6527 [Pipeline] echo 09:29:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 09:29:43 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:29:43 09:29:43 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:29:43 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:29:43 latest: Pulling from edgex-devops/git-semver 09:29:43 31603596830f: Pulling fs layer 09:29:43 2a8b12db71e7: Pulling fs layer 09:29:43 6ca5941a6612: Pulling fs layer 09:29:43 ecc8261a40a4: Pulling fs layer 09:29:43 ecc8261a40a4: Waiting 09:29:43 2a8b12db71e7: Verifying Checksum 09:29:43 2a8b12db71e7: Download complete 09:29:44 31603596830f: Download complete 09:29:44 ecc8261a40a4: Verifying Checksum 09:29:44 ecc8261a40a4: Download complete 09:29:44 6ca5941a6612: Verifying Checksum 09:29:44 6ca5941a6612: Download complete 09:29:44 31603596830f: Pull complete 09:29:44 2a8b12db71e7: Pull complete 09:29:45 6ca5941a6612: Pull complete 09:29:45 ecc8261a40a4: Pull complete 09:29:45 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 09:29:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:29:45 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:29:45 prd-centos7-docker-4c-2g-43578 does not seem to be running inside a container 09:29:45 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-294 -v /w/workspace/edgexfoundry_device-sdk-c_PR-294:/w/workspace/edgexfoundry_device-sdk-c_PR-294:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-294@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-294@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:10004/edgex-devops/git-semver:latest cat 09:29:48 $ docker top 75be83dd977e67cf6163f40b19368b5da5c14e7fcefcdc916acf596f625487d1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:29:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:29:48 [ssh-agent] Looking for ssh-agent implementation... 09:29:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:29:48 $ docker exec 75be83dd977e67cf6163f40b19368b5da5c14e7fcefcdc916acf596f625487d1 ssh-agent 09:29:48 SSH_AUTH_SOCK=/tmp/ssh-1ANbVekWvejj/agent.11 09:29:48 SSH_AGENT_PID=16 09:29:48 Running ssh-add (command line suppressed) 09:29:48 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-294@tmp/private_key_5323823447716788483.key (/w/workspace/edgexfoundry_device-sdk-c_PR-294@tmp/private_key_5323823447716788483.key) 09:29:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:29:49 + git describe --exact-match --tags HEAD 09:29:49 fatal: No names found, cannot describe anything. [Pipeline] } 09:29:49 $ docker exec --env ******** --env ******** 75be83dd977e67cf6163f40b19368b5da5c14e7fcefcdc916acf596f625487d1 ssh-agent -k 09:29:49 unset SSH_AUTH_SOCK; 09:29:49 unset SSH_AGENT_PID; 09:29:49 echo Agent pid 16 killed; 09:29:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 09:29:49 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 09:29:49 This usually means this commit has not been tagged. [Pipeline] sshagent 09:29:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:29:50 [ssh-agent] Looking for ssh-agent implementation... 09:29:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:29:50 $ docker exec 75be83dd977e67cf6163f40b19368b5da5c14e7fcefcdc916acf596f625487d1 ssh-agent 09:29:50 SSH_AUTH_SOCK=/tmp/ssh-QzztyxQhgcCo/agent.47 09:29:50 SSH_AGENT_PID=52 09:29:50 Running ssh-add (command line suppressed) 09:29:50 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-294@tmp/private_key_5873776651745781362.key (/w/workspace/edgexfoundry_device-sdk-c_PR-294@tmp/private_key_5873776651745781362.key) 09:29:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:29:51 + git semver init 09:29:51 # -> Open(): unable to determine branch for HEAD 09:29:51 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-294/.git 09:29:51 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-294 09:29:51 # $SEMVER_REMOTE_NAME = origin 09:29:51 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:29:51 # $SEMVER_USER_NAME = edgex-jenkins 09:29:51 # $SEMVER_BRANCH = PR-294 09:29:51 # $SEMVER_TEMP = /tmp/semver-680280969 09:29:51 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 09:29:51 # '/tmp/semver-680280969' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-294/.semver' 09:29:51 # -> Force: false 09:29:51 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-294/.semver [Pipeline] } 09:29:51 $ docker exec --env ******** --env ******** 75be83dd977e67cf6163f40b19368b5da5c14e7fcefcdc916acf596f625487d1 ssh-agent -k 09:29:51 unset SSH_AUTH_SOCK; 09:29:51 unset SSH_AGENT_PID; 09:29:51 echo Agent pid 52 killed; 09:29:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:29:52 + git semver [Pipeline] } 09:29:52 $ docker stop --time=1 75be83dd977e67cf6163f40b19368b5da5c14e7fcefcdc916acf596f625487d1 09:29:53 $ docker rm -f 75be83dd977e67cf6163f40b19368b5da5c14e7fcefcdc916acf596f625487d1 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 09:29:54 Stashed 32 file(s) [Pipeline] echo 09:29:54 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 09:29:55 Running on prd-ubuntu18.04-docker-arm64-4c-16g-43575 in /w/workspace/edgexfoundry_device-sdk-c_PR-294 [Pipeline] { [Pipeline] ws 09:29:55 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 09:30:00 using credential edgex-jenkins-ssh 09:30:00 Cloning the remote Git repository 09:30:00 Cloning with configured refspecs honoured and without tags 09:30:00 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 09:30:00 > git init /w/workspace/device-sdk-c/1 # timeout=10 09:30:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 09:30:00 > git --version # timeout=10 09:30:00 > git --version # 'git version 2.17.1' 09:30:00 using GIT_SSH to set credentials SSH Credentials for GitHub 09:30:00 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/294/head:refs/remotes/origin/PR-294 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:30:01 Fetching without tags 09:30:01 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 09:30:01 > git config --add remote.origin.fetch +refs/pull/294/head:refs/remotes/origin/PR-294 # timeout=10 09:30:01 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 09:30:01 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 09:30:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 09:30:01 using GIT_SSH to set credentials SSH Credentials for GitHub 09:30:01 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/294/head:refs/remotes/origin/PR-294 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:30:04 Merging remotes/origin/master commit 6568dd76e6ab4166df02199344f5d2342af650e5 into PR head commit 607fe8d81ebe060197d16c16848049fb0456e688 09:30:04 > git config core.sparsecheckout # timeout=10 09:30:04 > git checkout -f 607fe8d81ebe060197d16c16848049fb0456e688 # timeout=10 09:30:04 > git remote # timeout=10 09:30:04 > git config --get remote.origin.url # timeout=10 09:30:04 Merge succeeded, producing e7cba0ec8c1cf3f2572c0fa500fbfddfb19dd7e1 09:30:04 Checking out Revision e7cba0ec8c1cf3f2572c0fa500fbfddfb19dd7e1 (PR-294) 09:30:04 using GIT_SSH to set credentials SSH Credentials for GitHub 09:30:04 > git merge 6568dd76e6ab4166df02199344f5d2342af650e5 # timeout=10 09:30:04 > git rev-parse HEAD^{commit} # timeout=10 09:30:04 > git config core.sparsecheckout # timeout=10 09:30:04 > git checkout -f e7cba0ec8c1cf3f2572c0fa500fbfddfb19dd7e1 # timeout=10 09:30:08 Commit message: "Merge commit '6568dd76e6ab4166df02199344f5d2342af650e5' into HEAD" 09:30:08 First time build. Skipping changelog. 09:30:08 > git --version # timeout=10 09:30:08 > git --version # 'git version 2.17.1' 09:30:08 fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 09:30:10 Still waiting to schedule task 09:30:10 Waiting for next available executor on ‘centos7-docker-4c-2g’ [Pipeline] echo 09:30:10 ========================================================= 09:30:10 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 09:30:10 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:30:11 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-3.11-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 09:30:12 Sending build context to Docker daemon 3.565MB 09:30:12 Step 1/21 : ARG BASE=alpine:3.11 09:30:12 Step 2/21 : FROM ${BASE} as builder 09:30:13 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 09:30:13 0362ad1dd800: Pulling fs layer 09:30:13 f2cdb1532d8b: Pulling fs layer 09:30:13 37ed683be191: Pulling fs layer 09:30:13 f2cdb1532d8b: Verifying Checksum 09:30:13 f2cdb1532d8b: Download complete 09:30:13 0362ad1dd800: Verifying Checksum 09:30:13 0362ad1dd800: Download complete 09:30:14 0362ad1dd800: Pull complete 09:30:14 f2cdb1532d8b: Pull complete 09:30:15 37ed683be191: Verifying Checksum 09:30:15 37ed683be191: Download complete 09:30:25 37ed683be191: Pull complete 09:30:25 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 09:30:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 09:30:25 ---> b23d30803547 09:30:25 Step 3/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev 09:30:26 ---> Running in c7c0a7bd193e 09:30:28 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 09:30:28 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 09:30:29 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 09:30:29 (2/8) Installing libuuid (2.33-r0) 09:30:29 (3/8) Installing libblkid (2.33-r0) 09:30:29 (4/8) Installing libfdisk (2.33-r0) 09:30:29 (5/8) Installing libmount (2.33-r0) 09:30:29 (6/8) Installing libsmartcols (2.33-r0) 09:30:29 (7/8) Installing util-linux-dev (2.33-r0) 09:30:29 (8/8) Installing wget (1.20.3-r0) 09:30:30 Executing busybox-1.29.3-r10.trigger 09:30:30 OK: 285 MiB in 83 packages 09:30:31 Removing intermediate container c7c0a7bd193e 09:30:31 ---> ac76a8f41ea7 09:30:31 Step 4/21 : ENV CBOR_VERSION=0.5.0 09:30:31 ---> Running in 2bb416f2476b 09:30:32 Removing intermediate container 2bb416f2476b 09:30:32 ---> ef8ecc3552a1 09:30:32 Step 5/21 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 09:30:32 ---> Running in 392f5ab4a669 09:30:33 --2020-09-16 09:30:33-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 09:30:33 Resolving github.com... 140.82.114.3 09:30:33 Connecting to github.com|140.82.114.3|:443... connected. 09:30:34 HTTP request sent, awaiting response... 302 Found 09:30:34 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 09:30:34 --2020-09-16 09:30:33-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 09:30:34 Resolving codeload.github.com... 140.82.112.9 09:30:34 Connecting to codeload.github.com|140.82.112.9|:443... connected. 09:30:34 HTTP request sent, awaiting response... 200 OK 09:30:34 Length: unspecified [application/x-gzip] 09:30:34 Saving to: 'STDOUT' 09:30:34  09:30:34 0K .......... .......... .......... .......... .......... 1.34M 09:30:34 50K .......... .......... .......... .......... .......... 2.88M 09:30:34 100K .......... .......... .......... .......... .......... 8.83M 09:30:34 150K .......... .......... .......... .......... .......... 3.42M 09:30:34 200K .......... .......... .......... .......... .......... 8.84M 09:30:34 250K .......... .......... .......... .......... .......... 2.78M 09:30:34 300K .......... .......... .......... .......... .......... 2.52M 09:30:34 350K .......... .......... .......... .......... .......... 5.86M 09:30:34 400K .......... .......... .......... .......... .......... 2.93M 09:30:34 450K .......... .......... .......... .......... .......... 3.74M 09:30:34 500K .......... .......... .......... .......... .......... 8.27M 09:30:34 550K .......... .......... .......... .......... .......... 1.70M 09:30:34 600K .......... .......... .......... .......... .......... 1.03M 09:30:34 650K .......... .......... .......... .......... .......... 2.05M 09:30:34 700K ..     6.16M=0.3s 09:30:34 09:30:34 2020-09-16 09:30:34 (2.64 MB/s) - written to stdout [719348] 09:30:34 09:30:34 -- The C compiler identification is GNU 8.3.0 09:30:34 -- The CXX compiler identification is GNU 8.3.0 09:30:34 -- Check for working C compiler: /usr/bin/cc 09:30:35 -- Check for working C compiler: /usr/bin/cc -- works 09:30:35 -- Detecting C compiler ABI info 09:30:35 -- Detecting C compiler ABI info - done 09:30:35 -- Detecting C compile features 09:30:36 -- Detecting C compile features - done 09:30:36 -- Check for working CXX compiler: /usr/bin/c++ 09:30:36 -- Check for working CXX compiler: /usr/bin/c++ -- works 09:30:36 -- Detecting CXX compiler ABI info 09:30:36 -- Detecting CXX compiler ABI info - done 09:30:36 -- Detecting CXX compile features 09:30:38 -- Detecting CXX compile features - done 09:30:38 -- Looking for include file endian.h 09:30:38 -- Looking for include file endian.h - found 09:30:38 -- Check if the system is big endian 09:30:38 -- Searching 16 bit integer 09:30:38 -- Looking for sys/types.h 09:30:38 -- Looking for sys/types.h - found 09:30:38 -- Looking for stdint.h 09:30:38 -- Looking for stdint.h - found 09:30:38 -- Looking for stddef.h 09:30:39 -- Looking for stddef.h - found 09:30:39 -- Check size of unsigned short 09:30:39 -- Check size of unsigned short - done 09:30:39 -- Using unsigned short 09:30:39 -- Check if the system is big endian - little endian 09:30:39 -- Check size of size_t 09:30:40 -- Check size of size_t - done 09:30:40 CMake Warning at examples/CMakeLists.txt:16 (find_package): 09:30:40 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 09:30:40 asked CMake to find a package configuration file provided by "cJSON", but 09:30:40 CMake did not find one. 09:30:40 09:30:40 Could not find a package configuration file provided by "cJSON" with any of 09:30:40 the following names: 09:30:40 09:30:40 cJSONConfig.cmake 09:30:40 cjson-config.cmake 09:30:40 09:30:40 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 09:30:40 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 09:30:40 provides a separate development package or SDK, be sure it has been 09:30:40 installed. 09:30:40 09:30:40 09:30:40 -- Configuring done 09:30:40 -- Generating done 09:30:40 -- Build files have been written to: /tmp/cbor 09:30:40 Scanning dependencies of target cbor_shared 09:30:40 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 09:30:41 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 09:30:41 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 09:30:42 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 09:30:42 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 09:30:42 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 09:30:42 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 09:30:43 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 09:30:43 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 09:30:43 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 09:30:44 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 09:30:44 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 09:30:44 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 09:30:45 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 09:30:45 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 09:30:45 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 09:30:45 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 09:30:46 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 09:30:46 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 09:30:46 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 09:30:46 [ 40%] Linking C shared library libcbor.so 09:30:46 [ 40%] Built target cbor_shared 09:30:46 Scanning dependencies of target cbor 09:30:47 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 09:30:47 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 09:30:48 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 09:30:48 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 09:30:49 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 09:30:49 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 09:30:50 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 09:30:50 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 09:30:50 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 09:30:50 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 09:30:51 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 09:30:51 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 09:30:52 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 09:30:52 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 09:30:52 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 09:30:52 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 09:30:53 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 09:30:53 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 09:30:53 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 09:30:53 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 09:30:54 [ 80%] Linking C static library libcbor.a 09:30:54 [ 80%] Built target cbor 09:30:54 Scanning dependencies of target create_items 09:30:54 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 09:30:54 [ 84%] Linking C executable create_items 09:30:54 [ 84%] Built target create_items 09:30:54 Scanning dependencies of target readfile 09:30:54 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 09:30:54 [ 88%] Linking C executable readfile 09:30:54 [ 88%] Built target readfile 09:30:54 Scanning dependencies of target streaming_parser 09:30:54 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 09:30:55 [ 92%] Linking C executable streaming_parser 09:30:55 [ 92%] Built target streaming_parser 09:30:55 Scanning dependencies of target sort 09:30:55 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 09:30:55 [ 96%] Linking C executable sort 09:30:55 [ 96%] Built target sort 09:30:55 Scanning dependencies of target hello 09:30:55 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 09:30:55 [100%] Linking C executable hello 09:30:55 [100%] Built target hello 09:30:55 Install the project... 09:30:55 -- Install configuration: "Release" 09:30:55 -- Installing: /usr/local/include/cbor/configuration.h 09:30:55 -- Installing: /usr/local/lib64/libcbor.a 09:30:55 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 09:30:55 -- Installing: /usr/local/lib64/libcbor.so.0 09:30:55 -- Installing: /usr/local/lib64/libcbor.so 09:30:55 -- Up-to-date: /usr/local/include/cbor 09:30:55 -- Installing: /usr/local/include/cbor/streaming.h 09:30:55 -- Installing: /usr/local/include/cbor/ints.h 09:30:55 -- Installing: /usr/local/include/cbor/floats_ctrls.h 09:30:55 -- Installing: /usr/local/include/cbor/bytestrings.h 09:30:55 -- Installing: /usr/local/include/cbor/encoding.h 09:30:55 -- Installing: /usr/local/include/cbor/serialization.h 09:30:55 -- Installing: /usr/local/include/cbor/data.h 09:30:55 -- Installing: /usr/local/include/cbor/common.h 09:30:55 -- Installing: /usr/local/include/cbor/callbacks.h 09:30:55 -- Installing: /usr/local/include/cbor/strings.h 09:30:55 -- Installing: /usr/local/include/cbor/tags.h 09:30:55 -- Installing: /usr/local/include/cbor/internal 09:30:55 -- Installing: /usr/local/include/cbor/internal/encoders.h 09:30:55 -- Installing: /usr/local/include/cbor/internal/loaders.h 09:30:55 -- Installing: /usr/local/include/cbor/internal/stack.h 09:30:55 -- Installing: /usr/local/include/cbor/internal/unicode.h 09:30:55 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 09:30:55 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 09:30:55 -- Installing: /usr/local/include/cbor/arrays.h 09:30:55 -- Installing: /usr/local/include/cbor/maps.h 09:30:55 -- Installing: /usr/local/include/cbor.h 09:30:55 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 09:30:57 Removing intermediate container 392f5ab4a669 09:30:57 ---> 24d7bde145eb 09:30:57 Step 6/21 : RUN mkdir /tmp/sdk 09:30:58 ---> Running in d7cb2aea39c2 09:31:00 Removing intermediate container d7cb2aea39c2 09:31:00 ---> 0dc7955d4c5c 09:31:00 Step 7/21 : COPY VERSION /tmp/sdk 09:31:01 ---> 38619b594347 09:31:01 Step 8/21 : COPY src /tmp/sdk/src 09:31:02 ---> d775a2570e87 09:31:02 Step 9/21 : COPY include /tmp/sdk/include 09:31:02 ---> eaededb7bf97 09:31:02 Step 10/21 : COPY scripts /tmp/sdk/scripts 09:31:03 ---> e46a6d6cbc28 09:31:03 Step 11/21 : COPY LICENSE /tmp/sdk 09:31:04 ---> 2f4d7f053bdc 09:31:04 Step 12/21 : COPY Attribution.txt /tmp/sdk 09:31:05 ---> 8b146754131f 09:31:05 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 09:31:05 ---> Running in 372099f491c9 09:31:06 + CPPCHECK=false 09:31:06 + DOCGEN=false 09:31:06 + TOMLVER=SDK-0.2 09:31:06 + CUTILVER=1.1-branch 09:31:06 + '[' 0 -gt 0 ] 09:31:06 + readlink -f ./scripts/build.sh 09:31:06 + dirname /tmp/sdk/scripts/build.sh 09:31:06 + dirname /tmp/sdk/scripts 09:31:06 + ROOT=/tmp/sdk 09:31:06 + cd /tmp/sdk 09:31:06 + '[' '!' -d deps ] 09:31:06 + mkdir deps 09:31:06 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 09:31:06 + tar -C deps -z -x -f - 09:31:06 --2020-09-16 09:31:06-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 09:31:06 Resolving github.com... 140.82.114.3 09:31:06 Connecting to github.com|140.82.114.3|:443... connected. 09:31:06 HTTP request sent, awaiting response... 302 Found 09:31:06 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 09:31:06 --2020-09-16 09:31:06-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 09:31:06 Resolving codeload.github.com... 140.82.112.9 09:31:06 Connecting to codeload.github.com|140.82.112.9|:443... connected. 09:31:07 HTTP request sent, awaiting response... 200 OK 09:31:07 Length: unspecified [application/x-gzip] 09:31:07 Saving to: 'STDOUT' 09:31:07 09:31:07 0K .......... ...... 909K=0.02s 09:31:07 09:31:07 2020-09-16 09:31:07 (909 KB/s) - written to stdout [16451] 09:31:07 09:31:07 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 09:31:07 + wget -O+ -tar https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1-branch.tar.gz 09:31:07 -C deps -z -x -f - 09:31:07 --2020-09-16 09:31:07-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1-branch.tar.gz 09:31:07 Resolving github.com... 140.82.114.3 09:31:07 Connecting to github.com|140.82.114.3|:443... connected. 09:31:07 HTTP request sent, awaiting response... 302 Found 09:31:07 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1-branch [following] 09:31:07 --2020-09-16 09:31:07-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1-branch 09:31:07 Resolving codeload.github.com... 140.82.112.9 09:31:07 Connecting to codeload.github.com|140.82.112.9|:443... connected. 09:31:07 HTTP request sent, awaiting response... 200 OK 09:31:07 Length: unspecified [application/x-gzip] 09:31:07 Saving to: 'STDOUT' 09:31:07  09:31:07 0K .......... .......... .......... .......... .......... 1.30M 09:31:07 50K .......... .......... .......... .......... .......... 2.57M 09:31:07 100K .......... .......... .......... .......... .......... 2.82M 09:31:07 150K .......... ......   4.70M=0.08s 09:31:07 09:31:07 2020-09-16 09:31:07 (2.10 MB/s) - written to stdout [170710] 09:31:07 09:31:07 + mkdir -p src/c/iot 09:31:07 + cp deps/iotech-c-utils-1.1-branch/src/c/base64.c deps/iotech-c-utils-1.1-branch/src/c/component.c deps/iotech-c-utils-1.1-branch/src/c/config.c deps/iotech-c-utils-1.1-branch/src/c/container.c deps/iotech-c-utils-1.1-branch/src/c/data.c deps/iotech-c-utils-1.1-branch/src/c/hash.c deps/iotech-c-utils-1.1-branch/src/c/iot.c deps/iotech-c-utils-1.1-branch/src/c/json.c deps/iotech-c-utils-1.1-branch/src/c/logger.c deps/iotech-c-utils-1.1-branch/src/c/os.c deps/iotech-c-utils-1.1-branch/src/c/scheduler.c deps/iotech-c-utils-1.1-branch/src/c/thread.c deps/iotech-c-utils-1.1-branch/src/c/threadpool.c deps/iotech-c-utils-1.1-branch/src/c/time.c src/c/iot 09:31:07 + mkdir -p include/iot 09:31:07 + cp deps/iotech-c-utils-1.1-branch/include/iot/base64.h deps/iotech-c-utils-1.1-branch/include/iot/component.h deps/iotech-c-utils-1.1-branch/include/iot/config.h deps/iotech-c-utils-1.1-branch/include/iot/container.h deps/iotech-c-utils-1.1-branch/include/iot/data.h deps/iotech-c-utils-1.1-branch/include/iot/hash.h deps/iotech-c-utils-1.1-branch/include/iot/iot.h deps/iotech-c-utils-1.1-branch/include/iot/json.h deps/iotech-c-utils-1.1-branch/include/iot/logger.h deps/iotech-c-utils-1.1-branch/include/iot/os.h deps/iotech-c-utils-1.1-branch/include/iot/scheduler.h deps/iotech-c-utils-1.1-branch/include/iot/thread.h deps/iotech-c-utils-1.1-branch/include/iot/threadpool.h deps/iotech-c-utils-1.1-branch/include/iot/time.h deps/iotech-c-utils-1.1-branch/include/iot/typecode.h include/iot 09:31:07 + mkdir -p include/iot/os 09:31:07 + cp deps/iotech-c-utils-1.1-branch/include/iot/os/linux.h deps/iotech-c-utils-1.1-branch/include/iot/os/macos.h deps/iotech-c-utils-1.1-branch/include/iot/os/zephyr.h include/iot/os 09:31:07 + mkdir -p /tmp/sdk/build/release 09:31:07 + cd /tmp/sdk/build/release 09:31:07 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 09:31:08 -- The C compiler identification is GNU 8.3.0 09:31:08 -- Check for working C compiler: /usr/bin/cc 09:31:08 -- Check for working C compiler: /usr/bin/cc -- works 09:31:08 -- Detecting C compiler ABI info 09:31:08 -- Detecting C compiler ABI info - done 09:31:08 -- Detecting C compile features 09:31:09 -- Detecting C compile features - done 09:31:09 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 09:31:09 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 09:31:09 -- Found LIBYAML: /usr/lib/libyaml.so 09:31:09 -- Found LIBUUID: /usr/lib/libuuid.so 09:31:09 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 09:31:09 -- C SDK 0.0.0 for Linux 09:31:09 -- Performing Test CSDK_HAVE_ATOMIC 09:31:09 -- Performing Test CSDK_HAVE_ATOMIC - Success 09:31:09 -- Found Curses: /usr/lib/libcurses.so 09:31:09 -- Configuring done 09:31:10 -- Generating done 09:31:10 -- Build files have been written to: /tmp/sdk/build/release 09:31:10 + + teemake release.log 09:31:10 09:31:10 Scanning dependencies of target csdk 09:31:10 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 09:31:10 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 09:31:11 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 09:31:13 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 09:31:13 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 09:31:14 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 09:31:15 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 09:31:16 [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 09:31:17 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 09:31:18 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 09:31:18 [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 09:31:19 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 09:31:19 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 09:31:19 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 09:31:23 [ 24%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 09:31:23 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 09:31:23 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 09:31:23 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 09:31:24 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 09:31:27 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 09:31:27 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 09:31:27 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 09:31:27 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 09:31:28 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 09:31:28 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 09:31:29 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 09:31:29 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 09:31:30 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 09:31:30 [ 47%] Building C object c/CMakeFiles/csdk.dir/map.c.o 09:31:30 [ 49%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 09:31:31 [ 50%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 09:31:31 [ 52%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 09:31:36 [ 54%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 09:31:37 [ 55%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 09:31:37 [ 57%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 09:31:38 [ 59%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 09:31:38 [ 60%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 09:31:40 [ 62%] Building C object c/CMakeFiles/csdk.dir/service.c.o 09:31:41 [ 63%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 09:31:45 [ 65%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 09:31:45 [ 67%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 09:31:46 [ 68%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 09:31:47 [ 70%] Linking C shared library libcsdk.so 09:31:47 [ 70%] Built target csdk 09:31:47 Scanning dependencies of target template 09:31:47 [ 72%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 09:31:47 [ 73%] Linking C executable template 09:31:48 [ 73%] Built target template 09:31:48 Scanning dependencies of target device-counter 09:31:48 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 09:31:48 [ 77%] Linking C executable device-counter 09:31:49 [ 77%] Built target device-counter 09:31:49 Scanning dependencies of target device-random 09:31:49 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 09:31:49 [ 80%] Linking C executable device-random 09:31:49 [ 80%] Built target device-random 09:31:49 Scanning dependencies of target device-gyro 09:31:49 [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 09:31:50 [ 83%] Linking C executable device-gyro 09:31:50 [ 83%] Built target device-gyro 09:31:50 Scanning dependencies of target device-bitfields 09:31:50 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 09:31:50 [ 86%] Linking C executable device-bitfields 09:31:50 [ 86%] Built target device-bitfields 09:31:51 Scanning dependencies of target template-discovery 09:31:51 [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 09:31:51 [ 90%] Linking C executable template-discovery 09:31:51 [ 90%] Built target template-discovery 09:31:51 Scanning dependencies of target device-file 09:31:51 [ 91%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 09:31:52 [ 93%] Linking C executable device-file 09:31:52 [ 93%] Built target device-file 09:31:52 Scanning dependencies of target device-terminal 09:31:52 [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 09:31:53 [ 96%] Linking C executable device-terminal 09:31:53 [ 96%] Built target device-terminal 09:31:53 Scanning dependencies of target templatev1 09:31:53 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 09:31:53 [100%] Linking C executable templatev1 09:31:54 [100%] Built target templatev1 09:31:54 + + teemake -a package release.log 09:31:54 09:31:54 [ 70%] Built target csdk 09:31:54 [ 73%] Built target template 09:31:54 [ 77%] Built target device-counter 09:31:54 [ 80%] Built target device-random 09:31:54 [ 83%] Built target device-gyro 09:31:54 [ 86%] Built target device-bitfields 09:31:54 [ 90%] Built target template-discovery 09:31:54 [ 93%] Built target device-file 09:31:54 [ 96%] Built target device-terminal 09:31:54 [100%] Built target templatev1 09:31:54 Run CPack packaging tool... 09:31:54 CPack: Create package using TGZ 09:31:54 CPack: Install projects 09:31:54 CPack: - Run preinstall target for: Csdk 09:31:55 CPack: - Install project: Csdk 09:31:55 CPack: Create package 09:31:55 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 09:31:55 + '[' false '=' true ] 09:31:55 + '[' false '=' true ] 09:31:55 + mkdir -p /tmp/sdk/build/debug 09:31:55 + cd /tmp/sdk/build/debug 09:31:55 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 09:31:55 -- The C compiler identification is GNU 8.3.0 09:31:55 -- Check for working C compiler: /usr/bin/cc 09:31:56 -- Check for working C compiler: /usr/bin/cc -- works 09:31:56 -- Detecting C compiler ABI info 09:31:56 -- Detecting C compiler ABI info - done 09:31:56 -- Detecting C compile features 09:31:57 -- Detecting C compile features - done 09:31:57 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 09:31:57 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 09:31:57 -- Found LIBYAML: /usr/lib/libyaml.so 09:31:57 -- Found LIBUUID: /usr/lib/libuuid.so 09:31:57 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 09:31:57 -- C SDK 0.0.0 for Linux 09:31:57 -- Performing Test CSDK_HAVE_ATOMIC 09:31:57 -- Performing Test CSDK_HAVE_ATOMIC - Success 09:31:57 -- Found Curses: /usr/lib/libcurses.so 09:31:57 -- Configuring done 09:31:57 -- Generating done 09:31:57 -- Build files have been written to: /tmp/sdk/build/debug 09:31:57 + make 09:31:57 + tee debug.log 09:31:57 Scanning dependencies of target csdk 09:31:58 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 09:31:58 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 09:31:58 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 09:31:59 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 09:31:59 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 09:31:59 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 09:32:00 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 09:32:00 [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 09:32:00 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 09:32:01 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 09:32:01 [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 09:32:01 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 09:32:01 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 09:32:02 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 09:32:03 [ 24%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 09:32:03 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 09:32:03 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 09:32:03 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 09:32:03 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 09:32:04 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 09:32:04 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 09:32:04 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 09:32:04 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 09:32:05 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 09:32:05 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 09:32:05 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 09:32:05 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 09:32:06 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 09:32:06 [ 47%] Building C object c/CMakeFiles/csdk.dir/map.c.o 09:32:06 [ 49%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 09:32:06 [ 50%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 09:32:07 [ 52%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 09:32:08 [ 54%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 09:32:08 [ 55%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 09:32:08 [ 57%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 09:32:08 [ 59%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 09:32:09 [ 60%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 09:32:09 [ 62%] Building C object c/CMakeFiles/csdk.dir/service.c.o 09:32:10 [ 63%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 09:32:10 [ 65%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 09:32:11 [ 67%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 09:32:11 [ 68%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 09:32:12 [ 70%] Linking C shared library libcsdk.so 09:32:12 [ 70%] Built target csdk 09:32:12 Scanning dependencies of target template 09:32:12 [ 72%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 09:32:12 [ 73%] Linking C executable template 09:32:12 [ 73%] Built target template 09:32:12 Scanning dependencies of target device-counter 09:32:12 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 09:32:12 [ 77%] Linking C executable device-counter 09:32:13 [ 77%] Built target device-counter 09:32:13 Scanning dependencies of target device-random 09:32:13 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 09:32:13 [ 80%] Linking C executable device-random 09:32:13 [ 80%] Built target device-random 09:32:13 Scanning dependencies of target device-gyro 09:32:13 [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 09:32:14 [ 83%] Linking C executable device-gyro 09:32:14 [ 83%] Built target device-gyro 09:32:14 Scanning dependencies of target device-bitfields 09:32:14 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 09:32:14 [ 86%] Linking C executable device-bitfields 09:32:14 [ 86%] Built target device-bitfields 09:32:14 Scanning dependencies of target template-discovery 09:32:14 [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 09:32:15 [ 90%] Linking C executable template-discovery 09:32:15 [ 90%] Built target template-discovery 09:32:15 Scanning dependencies of target device-file 09:32:15 [ 91%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 09:32:15 [ 93%] Linking C executable device-file 09:32:15 [ 93%] Built target device-file 09:32:15 Scanning dependencies of target device-terminal 09:32:15 [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 09:32:16 [ 96%] Linking C executable device-terminal 09:32:16 [ 96%] Built target device-terminal 09:32:16 Scanning dependencies of target templatev1 09:32:16 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 09:32:16 [100%] Linking C executable templatev1 09:32:16 [100%] Built target templatev1 09:32:16 make: Entering directory '/tmp/sdk/build/release' 09:32:17 make[1]: Entering directory '/tmp/sdk/build/release' 09:32:17 make[2]: Entering directory '/tmp/sdk/build/release' 09:32:17 make[2]: Leaving directory '/tmp/sdk/build/release' 09:32:17 [ 70%] Built target csdk 09:32:17 make[2]: Entering directory '/tmp/sdk/build/release' 09:32:17 make[2]: Leaving directory '/tmp/sdk/build/release' 09:32:17 [ 73%] Built target template 09:32:17 make[2]: Entering directory '/tmp/sdk/build/release' 09:32:17 make[2]: Leaving directory '/tmp/sdk/build/release' 09:32:17 [ 77%] Built target device-counter 09:32:17 make[2]: Entering directory '/tmp/sdk/build/release' 09:32:17 make[2]: Leaving directory '/tmp/sdk/build/release' 09:32:17 [ 80%] Built target device-random 09:32:17 make[2]: Entering directory '/tmp/sdk/build/release' 09:32:17 make[2]: Leaving directory '/tmp/sdk/build/release' 09:32:17 [ 83%] Built target device-gyro 09:32:17 make[2]: Entering directory '/tmp/sdk/build/release' 09:32:17 make[2]: Leaving directory '/tmp/sdk/build/release' 09:32:17 [ 86%] Built target device-bitfields 09:32:17 make[2]: Entering directory '/tmp/sdk/build/release' 09:32:17 make[2]: Leaving directory '/tmp/sdk/build/release' 09:32:17 [ 90%] Built target template-discovery 09:32:17 make[2]: Entering directory '/tmp/sdk/build/release' 09:32:17 make[2]: Leaving directory '/tmp/sdk/build/release' 09:32:17 [ 93%] Built target device-file 09:32:17 make[2]: Entering directory '/tmp/sdk/build/release' 09:32:17 make[2]: Leaving directory '/tmp/sdk/build/release' 09:32:17 [ 96%] Built target device-terminal 09:32:17 make[2]: Entering directory '/tmp/sdk/build/release' 09:32:17 make[2]: Leaving directory '/tmp/sdk/build/release' 09:32:17 [100%] Built target templatev1 09:32:17 make[1]: Leaving directory '/tmp/sdk/build/release' 09:32:17 Install the project... 09:32:17 -- Install configuration: "Release" 09:32:17 -- Installing: /usr/local/lib/libcsdk.so 09:32:17 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 09:32:17 -- Up-to-date: /usr/local/include 09:32:17 -- Installing: /usr/local/include/edgex 09:32:17 -- Installing: /usr/local/include/edgex/device-mgmt.h 09:32:17 -- Installing: /usr/local/include/edgex/eventgen.h 09:32:17 -- Installing: /usr/local/include/edgex/error.h 09:32:17 -- Installing: /usr/local/include/edgex/rest-server.h 09:32:17 -- Installing: /usr/local/include/edgex/edgex-base.h 09:32:17 -- Installing: /usr/local/include/edgex/devsdk.h 09:32:17 -- Installing: /usr/local/include/edgex/edgex.h 09:32:17 -- Installing: /usr/local/include/edgex/devices.h 09:32:17 -- Installing: /usr/local/include/edgex/os.h 09:32:17 -- Installing: /usr/local/include/edgex/profiles.h 09:32:17 -- Installing: /usr/local/include/edgex/csdk-defs.h 09:32:17 -- Installing: /usr/local/include/devsdk 09:32:17 -- Installing: /usr/local/include/devsdk/devsdk-base.h 09:32:17 -- Installing: /usr/local/include/devsdk/devsdk.h 09:32:17 -- Installing: /usr/local/include/iot 09:32:17 -- Installing: /usr/local/include/iot/json.h 09:32:17 -- Installing: /usr/local/include/iot/container.h 09:32:17 -- Installing: /usr/local/include/iot/component.h 09:32:17 -- Installing: /usr/local/include/iot/typecode.h 09:32:17 -- Installing: /usr/local/include/iot/iot.h 09:32:17 -- Installing: /usr/local/include/iot/time.h 09:32:17 -- Installing: /usr/local/include/iot/hash.h 09:32:17 -- Installing: /usr/local/include/iot/logger.h 09:32:17 -- Installing: /usr/local/include/iot/os 09:32:17 -- Installing: /usr/local/include/iot/os/zephyr.h 09:32:17 -- Installing: /usr/local/include/iot/os/linux.h 09:32:17 -- Installing: /usr/local/include/iot/os/macos.h 09:32:17 -- Installing: /usr/local/include/iot/scheduler.h 09:32:17 -- Installing: /usr/local/include/iot/data.h 09:32:17 -- Installing: /usr/local/include/iot/thread.h 09:32:17 -- Installing: /usr/local/include/iot/os.h 09:32:17 -- Installing: /usr/local/include/iot/base64.h 09:32:17 -- Installing: /usr/local/include/iot/threadpool.h 09:32:17 -- Installing: /usr/local/include/iot/config.h 09:32:17 -- Installing: /usr/local/share/device-sdk-c/LICENSE 09:32:17 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 09:32:17 make: Leaving directory '/tmp/sdk/build/release' 09:32:19 Removing intermediate container 372099f491c9 09:32:19 ---> ae47822033c4 09:32:19 Step 14/21 : FROM ${BASE} 09:32:19 ---> b23d30803547 09:32:19 Step 15/21 : MAINTAINER IOTech 09:32:19 ---> Running in 45bd91f5c4e5 09:32:20 Removing intermediate container 45bd91f5c4e5 09:32:20 ---> bfd38b781874 09:32:20 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 09:32:20 ---> Running in bc652e76f690 09:32:21 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 09:32:22 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 09:32:23 (1/3) Installing curl (7.64.0-r4) 09:32:23 (2/3) Installing libuuid (2.33-r0) 09:32:23 (3/3) Installing wget (1.20.3-r0) 09:32:23 Executing busybox-1.29.3-r10.trigger 09:32:23 OK: 281 MiB in 78 packages 09:32:24 Removing intermediate container bc652e76f690 09:32:24 ---> 51c8dd3ceadb 09:32:24 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 09:32:25 ---> a217c281668b 09:32:25 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 09:32:25 ---> 7b65053dab44 09:32:25 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 09:32:26 ---> c0bd30d1d547 09:32:26 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 09:32:27 ---> f2b9a681e9df 09:32:27 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 09:32:28 ---> ca8e2ddf5b91 09:32:28 Successfully built ca8e2ddf5b91 09:32:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:32:29 + docker inspect -f . ci-base-image-arm64 09:32:29 . [Pipeline] withDockerContainer 09:32:29 prd-ubuntu18.04-docker-arm64-4c-16g-43575 does not seem to be running inside a container 09:32:29 $ 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 ******** ci-base-image-arm64 cat 09:32:31 $ docker top a8cb3c45eb2873521b7664993c2d3884a97de4e83f3fe4c5edcaee00717c849e -eo pid,comm [Pipeline] { [Pipeline] sh 09:32:33 + make test 09:32:33 echo "make test" 09:32:33 make test [Pipeline] } 09:32:33 $ docker stop --time=1 a8cb3c45eb2873521b7664993c2d3884a97de4e83f3fe4c5edcaee00717c849e 09:32:35 $ docker rm -f a8cb3c45eb2873521b7664993c2d3884a97de4e83f3fe4c5edcaee00717c849e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:32:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:32:40 + ls -al . 09:32:40 total 196 09:32:40 drwxrwxr-x 9 jenkins jenkins 4096 Sep 16 09:30 . 09:32:40 drwxrwxr-x 4 jenkins jenkins 4096 Sep 16 09:30 .. 09:32:40 drwxrwxr-x 8 jenkins jenkins 4096 Sep 16 09:30 .git 09:32:40 drwxrwxr-x 2 jenkins jenkins 4096 Sep 16 09:30 .github 09:32:40 -rw-rw-r-- 1 jenkins jenkins 176 Sep 16 09:30 .gitignore 09:32:40 drwxrwxr-x 3 jenkins jenkins 4096 Sep 16 09:30 .semver 09:32:40 -rw-rw-r-- 1 jenkins jenkins 3104 Sep 16 09:30 Attribution.txt 09:32:40 -rw-rw-r-- 1 jenkins jenkins 5980 Sep 16 09:30 CHANGES 09:32:40 -rw-rw-r-- 1 jenkins jenkins 108574 Sep 16 09:30 Doxyfile 09:32:40 -rw-rw-r-- 1 jenkins jenkins 794 Sep 16 09:30 Jenkinsfile 09:32:40 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 16 09:30 LICENSE 09:32:40 -rw-rw-r-- 1 jenkins jenkins 449 Sep 16 09:30 Makefile 09:32:40 -rw-rw-r-- 1 jenkins jenkins 2697 Sep 16 09:30 README.md 09:32:40 -rw-rw-r-- 1 jenkins jenkins 5977 Sep 16 09:30 README.v2.md 09:32:40 -rw-rw-r-- 1 jenkins jenkins 5 Sep 16 09:29 VERSION 09:32:40 drwxrwxr-x 2 jenkins jenkins 4096 Sep 16 09:30 docs 09:32:40 drwxrwxr-x 4 jenkins jenkins 4096 Sep 16 09:30 include 09:32:40 drwxrwxr-x 2 jenkins jenkins 4096 Sep 16 09:30 scripts 09:32:40 drwxrwxr-x 4 jenkins jenkins 4096 Sep 16 09:30 src [Pipeline] isUnix [Pipeline] sh 09:32:40 + 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=bbd6527c10feaba365adb3162645b555e029d207 --label arch=arm64 --label version=0.0.0 . 09:32:41 Sending build context to Docker daemon 3.565MB 09:32:41 Step 1/15 : ARG BASE=alpine:3.11 09:32:41 Step 2/15 : FROM ${BASE} 09:32:41 ---> ca8e2ddf5b91 09:32:41 Step 3/15 : MAINTAINER IOTech 09:32:41 ---> Running in d83d71650a05 09:32:41 Removing intermediate container d83d71650a05 09:32:41 ---> 88ed8d0accd6 09:32:41 Step 4/15 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev && mkdir -p /edgex-c-sdk/build 09:32:41 ---> Running in af4cd3123c05 09:32:43 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 09:32:44 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 09:32:44 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 09:32:44 (2/6) Installing libblkid (2.33-r0) 09:32:44 (3/6) Installing libfdisk (2.33-r0) 09:32:44 (4/6) Installing libmount (2.33-r0) 09:32:45 (5/6) Installing libsmartcols (2.33-r0) 09:32:45 (6/6) Installing util-linux-dev (2.33-r0) 09:32:45 Executing busybox-1.29.3-r10.trigger 09:32:45 OK: 286 MiB in 84 packages 09:32:46 Removing intermediate container af4cd3123c05 09:32:46 ---> 7125c0888d42 09:32:46 Step 5/15 : COPY VERSION /edgex-c-sdk/ 09:32:47 ---> 62c404a7a377 09:32:47 Step 6/15 : COPY src /edgex-c-sdk/src/ 09:32:48 ---> 8f697ed7585c 09:32:48 Step 7/15 : COPY include /edgex-c-sdk/include/ 09:32:49 ---> 7ba192f55ee3 09:32:49 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 09:32:49 ---> cc6e85a1f454 09:32:49 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 09:32:50 ---> c97220e799a0 09:32:50 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 09:32:51 ---> 148ee3d2f69c 09:32:51 Step 11/15 : WORKDIR /edgex-c-sdk 09:32:51 ---> Running in 3a0dd28ccd7c 09:32:51 Removing intermediate container 3a0dd28ccd7c 09:32:51 ---> d76bf47d6523 09:32:51 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 09:32:52 ---> Running in 554fc754e2b2 09:32:52 Removing intermediate container 554fc754e2b2 09:32:52 ---> 2f2e595ba6dd 09:32:52 Step 13/15 : LABEL arch=arm64 09:32:52 ---> Running in 2d3fb5ad20af 09:32:52 Removing intermediate container 2d3fb5ad20af 09:32:52 ---> f005e2dd866d 09:32:52 Step 14/15 : LABEL git_sha=bbd6527c10feaba365adb3162645b555e029d207 09:32:52 Running on prd-centos7-docker-4c-2g-43579 in /w/workspace/edgexfoundry_device-sdk-c_PR-294 [Pipeline] { [Pipeline] ws 09:32:52 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 09:32:53 ---> Running in eb0e8f156f1a 09:32:53 Removing intermediate container eb0e8f156f1a 09:32:53 ---> 07298beeafa9 09:32:53 Step 15/15 : LABEL version=0.0.0 09:32:53 ---> Running in 766043ba0114 09:32:53 Removing intermediate container 766043ba0114 09:32:53 ---> 4b84faa36a78 09:32:53 [Warning] One or more build-args [ARCH MAKE] were not consumed 09:32:54 Successfully built 4b84faa36a78 09:32:54 Successfully tagged docker-device-sdk-c-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } 09:32:56 using credential edgex-jenkins-ssh [Pipeline] // withEnv 09:32:56 Cloning the remote Git repository 09:32:56 Cloning with configured refspecs honoured and without tags [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 09:32:57 Fetching without tags 09:32:56 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 09:32:56 > git init /w/workspace/device-sdk-c/1 # timeout=10 09:32:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 09:32:56 > git --version # timeout=10 09:32:56 > git --version # 'git version 2.16.5' 09:32:56 using GIT_SSH to set credentials SSH Credentials for GitHub 09:32:56 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/294/head:refs/remotes/origin/PR-294 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:32:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 09:32:57 > git config --add remote.origin.fetch +refs/pull/294/head:refs/remotes/origin/PR-294 # timeout=10 09:32:57 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 09:32:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 09:32:57 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 09:32:57 using GIT_SSH to set credentials SSH Credentials for GitHub 09:32:57 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/294/head:refs/remotes/origin/PR-294 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:32:57 Merging remotes/origin/master commit 6568dd76e6ab4166df02199344f5d2342af650e5 into PR head commit 607fe8d81ebe060197d16c16848049fb0456e688 09:32:58 Merge succeeded, producing 6cadaf5c6443c99b35afc921d83ad0a6f9235749 09:32:58 Checking out Revision 6cadaf5c6443c99b35afc921d83ad0a6f9235749 (PR-294) 09:32:57 > git config core.sparsecheckout # timeout=10 09:32:57 > git checkout -f 607fe8d81ebe060197d16c16848049fb0456e688 # timeout=10 09:32:58 > git remote # timeout=10 09:32:58 > git config --get remote.origin.url # timeout=10 09:32:58 using GIT_SSH to set credentials SSH Credentials for GitHub 09:32:58 > git merge 6568dd76e6ab4166df02199344f5d2342af650e5 # timeout=10 09:32:58 > git rev-parse HEAD^{commit} # timeout=10 09:32:58 > git config core.sparsecheckout # timeout=10 09:32:58 > git checkout -f 6cadaf5c6443c99b35afc921d83ad0a6f9235749 # timeout=10 09:33:01 Commit message: "Merge commit '6568dd76e6ab4166df02199344f5d2342af650e5' into HEAD" 09:33:01 First time build. Skipping changelog. 09:33:01 > git --version # timeout=10 09:33:01 > git --version # 'git version 2.16.5' 09:33:01 fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:33:02 ========================================================= 09:33:02 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 09:33:02 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:33:03 + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-3.11-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . 09:33:03 Sending build context to Docker daemon 3.565MB 09:33:03 Step 1/21 : ARG BASE=alpine:3.11 09:33:03 Step 2/21 : FROM ${BASE} as builder 09:33:04 latest: Pulling from edgex-devops/edgex-gcc-base 09:33:04 e7c96db7181b: Pulling fs layer 09:33:04 4c13bbce0fe7: Pulling fs layer 09:33:04 6059c847ac2f: Pulling fs layer 09:33:04 4c13bbce0fe7: Verifying Checksum 09:33:04 4c13bbce0fe7: Download complete 09:33:04 e7c96db7181b: Download complete 09:33:04 e7c96db7181b: Pull complete 09:33:04 4c13bbce0fe7: Pull complete 09:33:05 6059c847ac2f: Verifying Checksum 09:33:05 6059c847ac2f: Download complete 09:33:09 6059c847ac2f: Pull complete 09:33:09 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 09:33:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 09:33:09 ---> 5eabd8fd8ba2 09:33:09 Step 3/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev 09:33:11 ---> Running in 0198054e468b 09:33:11 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 09:33:12 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 09:33:12 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 09:33:13 (2/8) Installing libuuid (2.33-r0) 09:33:13 (3/8) Installing libblkid (2.33-r0) 09:33:13 (4/8) Installing libfdisk (2.33-r0) 09:33:13 (5/8) Installing libmount (2.33-r0) 09:33:13 (6/8) Installing libsmartcols (2.33-r0) 09:33:14 (7/8) Installing util-linux-dev (2.33-r0) 09:33:14 (8/8) Installing wget (1.20.3-r0) 09:33:14 Executing busybox-1.29.3-r10.trigger 09:33:14 OK: 272 MiB in 83 packages 09:33:15 Removing intermediate container 0198054e468b 09:33:15 ---> 80393a57e007 09:33:15 Step 4/21 : ENV CBOR_VERSION=0.5.0 09:33:15 ---> Running in 559cf973e12e 09:33:15 Removing intermediate container 559cf973e12e 09:33:15 ---> 34339ff8f98e 09:33:15 Step 5/21 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 09:33:15 ---> Running in 67dcc01e8974 09:33:15 --2020-09-16 09:33:15-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 09:33:15 Resolving github.com... 140.82.114.4 09:33:15 Connecting to github.com|140.82.114.4|:443... connected. 09:33:16 HTTP request sent, awaiting response... 302 Found 09:33:16 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 09:33:16 --2020-09-16 09:33:15-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 09:33:16 Resolving codeload.github.com... 140.82.114.10 09:33:16 Connecting to codeload.github.com|140.82.114.10|:443... connected. 09:33:16 HTTP request sent, awaiting response... 200 OK 09:33:16 Length: unspecified [application/x-gzip] 09:33:16 Saving to: 'STDOUT' 09:33:16  09:33:16 0K .......... .......... .......... .......... .......... 1.40M 09:33:16 50K .......... .......... .......... .......... .......... 2.86M 09:33:16 100K .......... .......... .......... .......... .......... 54.6M 09:33:16 150K .......... .......... .......... .......... .......... 30.5M 09:33:16 200K .......... .......... .......... .......... .......... 1.48M 09:33:16 250K .......... .......... .......... .......... .......... 14.8M 09:33:16 300K .......... .......... .......... .......... .......... 16.4M 09:33:16 350K .......... .......... .......... .......... .......... 8.41M 09:33:16 400K .......... .......... .......... .......... .......... 7.53M 09:33:16 450K .......... .......... .......... .......... .......... 10.1M 09:33:16 500K .......... .......... .......... .......... .......... 58.5M 09:33:16 550K .......... .......... .......... .......... .......... 5.19M 09:33:16 600K .......... .......... .......... .......... .......... 2.81M 09:33:16 650K .......... .......... .......... .......... .......... 5.03M 09:33:16 700K .. 56.5M=0.1s 09:33:16 09:33:16 2020-09-16 09:33:16 (4.63 MB/s) - written to stdout [719348] 09:33:16 09:33:16 -- The C compiler identification is GNU 8.3.0 09:33:16 -- The CXX compiler identification is GNU 8.3.0 09:33:16 -- Check for working C compiler: /usr/bin/cc 09:33:16 -- Check for working C compiler: /usr/bin/cc -- works 09:33:16 -- Detecting C compiler ABI info 09:33:16 -- Detecting C compiler ABI info - done 09:33:16 -- Detecting C compile features 09:33:17 -- Detecting C compile features - done 09:33:17 -- Check for working CXX compiler: /usr/bin/c++ 09:33:17 -- Check for working CXX compiler: /usr/bin/c++ -- works 09:33:17 -- Detecting CXX compiler ABI info 09:33:17 -- Detecting CXX compiler ABI info - done 09:33:17 -- Detecting CXX compile features 09:33:17 -- Detecting CXX compile features - done 09:33:17 -- Looking for include file endian.h 09:33:17 -- Looking for include file endian.h - found 09:33:17 -- Check if the system is big endian 09:33:17 -- Searching 16 bit integer 09:33:17 -- Looking for sys/types.h 09:33:17 -- Looking for sys/types.h - found 09:33:17 -- Looking for stdint.h 09:33:17 -- Looking for stdint.h - found 09:33:17 -- Looking for stddef.h 09:33:18 -- Looking for stddef.h - found 09:33:18 -- Check size of unsigned short 09:33:18 -- Check size of unsigned short - done 09:33:18 -- Using unsigned short 09:33:18 -- Check if the system is big endian - little endian 09:33:18 -- Check size of size_t 09:33:18 -- Check size of size_t - done 09:33:18 CMake Warning at examples/CMakeLists.txt:16 (find_package): 09:33:18 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 09:33:18 asked CMake to find a package configuration file provided by "cJSON", but 09:33:18 CMake did not find one. 09:33:18 09:33:18 Could not find a package configuration file provided by "cJSON" with any of 09:33:18 the following names: 09:33:18 09:33:18 cJSONConfig.cmake 09:33:18 cjson-config.cmake 09:33:18 09:33:18 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 09:33:18 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 09:33:18 provides a separate development package or SDK, be sure it has been 09:33:18 installed. 09:33:18 09:33:18 09:33:18 -- Configuring done 09:33:18 -- Generating done 09:33:18 -- Build files have been written to: /tmp/cbor 09:33:18 Scanning dependencies of target cbor_shared 09:33:18 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 09:33:18 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 09:33:18 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 09:33:18 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 09:33:18 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 09:33:18 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 09:33:19 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 09:33:19 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 09:33:19 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 09:33:19 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 09:33:19 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 09:33:19 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 09:33:19 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 09:33:19 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 09:33:19 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 09:33:19 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 09:33:19 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 09:33:19 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 09:33:19 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 09:33:19 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 09:33:19 [ 40%] Linking C shared library libcbor.so 09:33:20 [ 40%] Built target cbor_shared 09:33:20 Scanning dependencies of target cbor 09:33:20 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 09:33:20 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 09:33:20 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 09:33:20 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 09:33:20 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 09:33:20 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 09:33:20 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 09:33:20 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 09:33:20 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 09:33:20 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 09:33:21 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 09:33:21 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 09:33:21 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 09:33:21 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 09:33:21 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 09:33:21 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 09:33:21 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 09:33:21 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 09:33:21 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 09:33:21 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 09:33:21 [ 80%] Linking C static library libcbor.a 09:33:21 [ 80%] Built target cbor 09:33:21 Scanning dependencies of target create_items 09:33:21 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 09:33:21 [ 84%] Linking C executable create_items 09:33:21 [ 84%] Built target create_items 09:33:21 Scanning dependencies of target readfile 09:33:21 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 09:33:22 [ 88%] Linking C executable readfile 09:33:22 [ 88%] Built target readfile 09:33:22 Scanning dependencies of target streaming_parser 09:33:22 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 09:33:22 [ 92%] Linking C executable streaming_parser 09:33:22 [ 92%] Built target streaming_parser 09:33:22 Scanning dependencies of target sort 09:33:22 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 09:33:22 [ 96%] Linking C executable sort 09:33:22 [ 96%] Built target sort 09:33:22 Scanning dependencies of target hello 09:33:22 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 09:33:22 [100%] Linking C executable hello 09:33:22 [100%] Built target hello 09:33:22 Install the project... 09:33:22 -- Install configuration: "Release" 09:33:22 -- Installing: /usr/local/include/cbor/configuration.h 09:33:22 -- Installing: /usr/local/lib64/libcbor.a 09:33:22 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 09:33:22 -- Installing: /usr/local/lib64/libcbor.so.0 09:33:22 -- Installing: /usr/local/lib64/libcbor.so 09:33:22 -- Up-to-date: /usr/local/include/cbor 09:33:22 -- Installing: /usr/local/include/cbor/arrays.h 09:33:22 -- Installing: /usr/local/include/cbor/bytestrings.h 09:33:22 -- Installing: /usr/local/include/cbor/callbacks.h 09:33:22 -- Installing: /usr/local/include/cbor/common.h 09:33:22 -- Installing: /usr/local/include/cbor/data.h 09:33:22 -- Installing: /usr/local/include/cbor/encoding.h 09:33:22 -- Installing: /usr/local/include/cbor/floats_ctrls.h 09:33:22 -- Installing: /usr/local/include/cbor/internal 09:33:22 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 09:33:22 -- Installing: /usr/local/include/cbor/internal/encoders.h 09:33:22 -- Installing: /usr/local/include/cbor/internal/loaders.h 09:33:22 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 09:33:22 -- Installing: /usr/local/include/cbor/internal/stack.h 09:33:22 -- Installing: /usr/local/include/cbor/internal/unicode.h 09:33:22 -- Installing: /usr/local/include/cbor/ints.h 09:33:22 -- Installing: /usr/local/include/cbor/maps.h 09:33:22 -- Installing: /usr/local/include/cbor/serialization.h 09:33:22 -- Installing: /usr/local/include/cbor/streaming.h 09:33:22 -- Installing: /usr/local/include/cbor/strings.h 09:33:22 -- Installing: /usr/local/include/cbor/tags.h 09:33:22 -- Installing: /usr/local/include/cbor.h 09:33:22 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 09:33:24 Removing intermediate container 67dcc01e8974 09:33:24 ---> 9ed4aace5b3e 09:33:24 Step 6/21 : RUN mkdir /tmp/sdk 09:33:24 ---> Running in d9f11f2c855a 09:33:25 Removing intermediate container d9f11f2c855a 09:33:25 ---> 8a525ca31eb9 09:33:25 Step 7/21 : COPY VERSION /tmp/sdk 09:33:25 ---> bfa5dd28acbb 09:33:25 Step 8/21 : COPY src /tmp/sdk/src 09:33:26 ---> 45cadf468b9a 09:33:26 Step 9/21 : COPY include /tmp/sdk/include 09:33:27 ---> d35a5cc73d4c 09:33:27 Step 10/21 : COPY scripts /tmp/sdk/scripts 09:33:27 ---> 8fc1384d02c4 09:33:27 Step 11/21 : COPY LICENSE /tmp/sdk 09:33:27 ---> bb392b0ab5f6 09:33:27 Step 12/21 : COPY Attribution.txt /tmp/sdk 09:33:27 ---> 0f1e51c9f37c 09:33:27 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 09:33:27 ---> Running in e3d0b487930c 09:33:28 + CPPCHECK=false 09:33:28 + DOCGEN=false 09:33:28 + TOMLVER=SDK-0.2 09:33:28 + CUTILVER=1.1-branch 09:33:28 + '[' 0 -gt 0 ] 09:33:28 + readlink -f ./scripts/build.sh 09:33:28 + dirname /tmp/sdk/scripts/build.sh 09:33:28 + dirname /tmp/sdk/scripts 09:33:28 + ROOT=/tmp/sdk 09:33:28 + cd /tmp/sdk 09:33:28 + '[' '!' -d deps ] 09:33:28 + mkdir deps 09:33:28 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 09:33:28 + tar -C deps -z -x -f - 09:33:28 --2020-09-16 09:33:28-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 09:33:28 Resolving github.com... 140.82.114.4 09:33:28 Connecting to github.com|140.82.114.4|:443... connected. 09:33:28 HTTP request sent, awaiting response... 302 Found 09:33:28 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 09:33:28 --2020-09-16 09:33:28-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 09:33:28 Resolving codeload.github.com... 140.82.114.10 09:33:28 Connecting to codeload.github.com|140.82.114.10|:443... connected. 09:33:28 HTTP request sent, awaiting response... 200 OK 09:33:28 Length: unspecified [application/x-gzip] 09:33:28 Saving to: 'STDOUT' 09:33:28  09:33:28 0K .......... ...... 952K=0.02s 09:33:28 09:33:28 2020-09-16 09:33:28 (952 KB/s) - written to stdout [16451] 09:33:28 09:33:28 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 09:33:28 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1-branch.tar.gz 09:33:28 + tar -C deps -z -x -f - 09:33:28 --2020-09-16 09:33:28-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1-branch.tar.gz 09:33:28 Resolving github.com... 140.82.114.4 09:33:28 Connecting to github.com|140.82.114.4|:443... connected. 09:33:28 HTTP request sent, awaiting response... 302 Found 09:33:28 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1-branch [following] 09:33:28 --2020-09-16 09:33:28-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1-branch 09:33:28 Resolving codeload.github.com... 140.82.114.10 09:33:28 Connecting to codeload.github.com|140.82.114.10|:443... connected. 09:33:28 HTTP request sent, awaiting response... 200 OK 09:33:28 Length: unspecified [application/x-gzip] 09:33:28 Saving to: 'STDOUT' 09:33:28  09:33:28 0K .......... .......... .......... .......... .......... 1.36M 09:33:28 50K .......... .......... .......... .......... .......... 2.96M 09:33:28 100K .......... .......... .......... .......... .......... 22.0M 09:33:28 150K .......... ...... 28.3M=0.06s 09:33:28 09:33:28 2020-09-16 09:33:28 (2.95 MB/s) - written to stdout [170710] 09:33:28 09:33:29 + mkdir -p src/c/iot 09:33:29 + cp deps/iotech-c-utils-1.1-branch/src/c/base64.c deps/iotech-c-utils-1.1-branch/src/c/component.c deps/iotech-c-utils-1.1-branch/src/c/config.c deps/iotech-c-utils-1.1-branch/src/c/container.c deps/iotech-c-utils-1.1-branch/src/c/data.c deps/iotech-c-utils-1.1-branch/src/c/hash.c deps/iotech-c-utils-1.1-branch/src/c/iot.c deps/iotech-c-utils-1.1-branch/src/c/json.c deps/iotech-c-utils-1.1-branch/src/c/logger.c deps/iotech-c-utils-1.1-branch/src/c/os.c deps/iotech-c-utils-1.1-branch/src/c/scheduler.c deps/iotech-c-utils-1.1-branch/src/c/thread.c deps/iotech-c-utils-1.1-branch/src/c/threadpool.c deps/iotech-c-utils-1.1-branch/src/c/time.c src/c/iot 09:33:29 + mkdir -p include/iot 09:33:29 + cp deps/iotech-c-utils-1.1-branch/include/iot/base64.h deps/iotech-c-utils-1.1-branch/include/iot/component.h deps/iotech-c-utils-1.1-branch/include/iot/config.h deps/iotech-c-utils-1.1-branch/include/iot/container.h deps/iotech-c-utils-1.1-branch/include/iot/data.h deps/iotech-c-utils-1.1-branch/include/iot/hash.h deps/iotech-c-utils-1.1-branch/include/iot/iot.h deps/iotech-c-utils-1.1-branch/include/iot/json.h deps/iotech-c-utils-1.1-branch/include/iot/logger.h deps/iotech-c-utils-1.1-branch/include/iot/os.h deps/iotech-c-utils-1.1-branch/include/iot/scheduler.h deps/iotech-c-utils-1.1-branch/include/iot/thread.h deps/iotech-c-utils-1.1-branch/include/iot/threadpool.h deps/iotech-c-utils-1.1-branch/include/iot/time.h deps/iotech-c-utils-1.1-branch/include/iot/typecode.h include/iot 09:33:29 + mkdir -p include/iot/os 09:33:29 + cp deps/iotech-c-utils-1.1-branch/include/iot/os/linux.h deps/iotech-c-utils-1.1-branch/include/iot/os/macos.h deps/iotech-c-utils-1.1-branch/include/iot/os/zephyr.h include/iot/os 09:33:29 + mkdir -p /tmp/sdk/build/release 09:33:29 + cd /tmp/sdk/build/release 09:33:29 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 09:33:29 -- The C compiler identification is GNU 8.3.0 09:33:29 -- Check for working C compiler: /usr/bin/cc 09:33:29 -- Check for working C compiler: /usr/bin/cc -- works 09:33:29 -- Detecting C compiler ABI info 09:33:29 -- Detecting C compiler ABI info - done 09:33:29 -- Detecting C compile features 09:33:29 -- Detecting C compile features - done 09:33:29 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 09:33:29 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 09:33:29 -- Found LIBYAML: /usr/lib/libyaml.so 09:33:29 -- Found LIBUUID: /usr/lib/libuuid.so 09:33:29 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 09:33:29 -- C SDK 0.0.0 for Linux 09:33:29 -- Performing Test CSDK_HAVE_ATOMIC 09:33:29 -- Performing Test CSDK_HAVE_ATOMIC - Success 09:33:29 -- Found Curses: /usr/lib/libcurses.so 09:33:29 -- Configuring done 09:33:29 -- Generating done 09:33:29 -- Build files have been written to: /tmp/sdk/build/release 09:33:29 + make 09:33:29 + tee release.log 09:33:29 Scanning dependencies of target csdk 09:33:29 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 09:33:29 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 09:33:30 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 09:33:30 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 09:33:30 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 09:33:30 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 09:33:30 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 09:33:31 [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 09:33:31 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 09:33:31 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 09:33:31 [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 09:33:31 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 09:33:31 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 09:33:31 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 09:33:32 [ 24%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 09:33:32 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 09:33:33 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 09:33:33 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 09:33:33 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 09:33:33 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 09:33:33 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 09:33:33 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 09:33:34 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 09:33:34 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 09:33:34 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 09:33:34 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 09:33:34 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 09:33:34 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 09:33:34 [ 47%] Building C object c/CMakeFiles/csdk.dir/map.c.o 09:33:35 [ 49%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 09:33:35 [ 50%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 09:33:35 [ 52%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 09:33:36 [ 54%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 09:33:36 [ 55%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 09:33:36 [ 57%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 09:33:36 [ 59%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 09:33:36 [ 60%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 09:33:37 [ 62%] Building C object c/CMakeFiles/csdk.dir/service.c.o 09:33:37 [ 63%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 09:33:38 [ 65%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 09:33:38 [ 67%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 09:33:39 [ 68%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 09:33:39 [ 70%] Linking C shared library libcsdk.so 09:33:39 [ 70%] Built target csdk 09:33:39 Scanning dependencies of target template 09:33:39 [ 72%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 09:33:39 [ 73%] Linking C executable template 09:33:39 [ 73%] Built target template 09:33:39 Scanning dependencies of target device-counter 09:33:39 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 09:33:39 [ 77%] Linking C executable device-counter 09:33:39 [ 77%] Built target device-counter 09:33:39 Scanning dependencies of target device-random 09:33:39 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 09:33:39 [ 80%] Linking C executable device-random 09:33:39 [ 80%] Built target device-random 09:33:39 Scanning dependencies of target device-gyro 09:33:39 [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 09:33:39 [ 83%] Linking C executable device-gyro 09:33:39 [ 83%] Built target device-gyro 09:33:39 Scanning dependencies of target device-bitfields 09:33:39 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 09:33:40 [ 86%] Linking C executable device-bitfields 09:33:40 [ 86%] Built target device-bitfields 09:33:40 Scanning dependencies of target template-discovery 09:33:40 [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 09:33:40 [ 90%] Linking C executable template-discovery 09:33:40 [ 90%] Built target template-discovery 09:33:40 Scanning dependencies of target device-file 09:33:40 [ 91%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 09:33:40 [ 93%] Linking C executable device-file 09:33:40 [ 93%] Built target device-file 09:33:40 Scanning dependencies of target device-terminal 09:33:40 [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 09:33:40 [ 96%] Linking C executable device-terminal 09:33:40 [ 96%] Built target device-terminal 09:33:40 Scanning dependencies of target templatev1 09:33:40 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 09:33:40 [100%] Linking C executable templatev1 09:33:40 [100%] Built target templatev1 09:33:40 + tee -a release.log+ 09:33:40 make package 09:33:40 [ 70%] Built target csdk 09:33:41 [ 73%] Built target template 09:33:41 [ 77%] Built target device-counter 09:33:41 [ 80%] Built target device-random 09:33:41 [ 83%] Built target device-gyro 09:33:41 [ 86%] Built target device-bitfields 09:33:41 [ 90%] Built target template-discovery 09:33:41 [ 93%] Built target device-file 09:33:41 [ 96%] Built target device-terminal 09:33:41 [100%] Built target templatev1 09:33:41 Run CPack packaging tool... 09:33:41 CPack: Create package using TGZ 09:33:41 CPack: Install projects 09:33:41 CPack: - Run preinstall target for: Csdk 09:33:41 CPack: - Install project: Csdk 09:33:41 CPack: Create package 09:33:41 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 09:33:41 + '[' false '=' true ] 09:33:41 + '[' false '=' true ] 09:33:41 + mkdir -p /tmp/sdk/build/debug 09:33:41 + cd /tmp/sdk/build/debug 09:33:41 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 09:33:41 -- The C compiler identification is GNU 8.3.0 09:33:41 -- Check for working C compiler: /usr/bin/cc 09:33:41 -- Check for working C compiler: /usr/bin/cc -- works 09:33:41 -- Detecting C compiler ABI info 09:33:41 -- Detecting C compiler ABI info - done 09:33:41 -- Detecting C compile features 09:33:42 -- Detecting C compile features - done 09:33:42 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 09:33:42 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 09:33:42 -- Found LIBYAML: /usr/lib/libyaml.so 09:33:42 -- Found LIBUUID: /usr/lib/libuuid.so 09:33:42 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 09:33:42 -- C SDK 0.0.0 for Linux 09:33:42 -- Performing Test CSDK_HAVE_ATOMIC 09:33:42 -- Performing Test CSDK_HAVE_ATOMIC - Success 09:33:42 -- Found Curses: /usr/lib/libcurses.so 09:33:42 -- Configuring done 09:33:42 -- Generating done 09:33:42 -- Build files have been written to: /tmp/sdk/build/debug 09:33:42 + tee debug.log 09:33:42 + make 09:33:42 Scanning dependencies of target csdk 09:33:42 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 09:33:42 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 09:33:42 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 09:33:42 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 09:33:42 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 09:33:42 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 09:33:42 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 09:33:43 [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 09:33:43 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 09:33:43 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 09:33:43 [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 09:33:43 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 09:33:43 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 09:33:43 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 09:33:43 [ 24%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 09:33:43 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 09:33:43 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 09:33:43 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 09:33:43 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 09:33:44 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 09:33:44 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 09:33:44 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 09:33:44 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 09:33:44 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 09:33:44 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 09:33:44 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 09:33:44 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 09:33:44 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 09:33:44 [ 47%] Building C object c/CMakeFiles/csdk.dir/map.c.o 09:33:44 [ 49%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 09:33:44 [ 50%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 09:33:44 [ 52%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 09:33:45 [ 54%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 09:33:45 [ 55%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 09:33:45 [ 57%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 09:33:45 [ 59%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 09:33:45 [ 60%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 09:33:45 [ 62%] Building C object c/CMakeFiles/csdk.dir/service.c.o 09:33:45 [ 63%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 09:33:45 [ 65%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 09:33:46 [ 67%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 09:33:46 [ 68%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 09:33:46 [ 70%] Linking C shared library libcsdk.so 09:33:46 [ 70%] Built target csdk 09:33:46 Scanning dependencies of target template 09:33:46 [ 72%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 09:33:46 [ 73%] Linking C executable template 09:33:46 [ 73%] Built target template 09:33:46 Scanning dependencies of target device-counter 09:33:46 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 09:33:46 [ 77%] Linking C executable device-counter 09:33:46 [ 77%] Built target device-counter 09:33:46 Scanning dependencies of target device-random 09:33:46 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 09:33:46 [ 80%] Linking C executable device-random 09:33:46 [ 80%] Built target device-random 09:33:46 Scanning dependencies of target device-gyro 09:33:46 [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 09:33:46 [ 83%] Linking C executable device-gyro 09:33:46 [ 83%] Built target device-gyro 09:33:46 Scanning dependencies of target device-bitfields 09:33:46 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 09:33:46 [ 86%] Linking C executable device-bitfields 09:33:47 [ 86%] Built target device-bitfields 09:33:47 Scanning dependencies of target template-discovery 09:33:47 [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 09:33:47 [ 90%] Linking C executable template-discovery 09:33:47 [ 90%] Built target template-discovery 09:33:47 Scanning dependencies of target device-file 09:33:47 [ 91%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 09:33:47 [ 93%] Linking C executable device-file 09:33:47 [ 93%] Built target device-file 09:33:47 Scanning dependencies of target device-terminal 09:33:47 [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 09:33:47 [ 96%] Linking C executable device-terminal 09:33:47 [ 96%] Built target device-terminal 09:33:47 Scanning dependencies of target templatev1 09:33:47 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 09:33:47 [100%] Linking C executable templatev1 09:33:47 [100%] Built target templatev1 09:33:47 make: Entering directory '/tmp/sdk/build/release' 09:33:47 make[1]: Entering directory '/tmp/sdk/build/release' 09:33:47 make[2]: Entering directory '/tmp/sdk/build/release' 09:33:47 make[2]: Leaving directory '/tmp/sdk/build/release' 09:33:47 [ 70%] Built target csdk 09:33:47 make[2]: Entering directory '/tmp/sdk/build/release' 09:33:47 make[2]: Leaving directory '/tmp/sdk/build/release' 09:33:47 [ 73%] Built target template 09:33:47 make[2]: Entering directory '/tmp/sdk/build/release' 09:33:47 make[2]: Leaving directory '/tmp/sdk/build/release' 09:33:47 [ 77%] Built target device-counter 09:33:47 make[2]: Entering directory '/tmp/sdk/build/release' 09:33:47 make[2]: Leaving directory '/tmp/sdk/build/release' 09:33:47 [ 80%] Built target device-random 09:33:47 make[2]: Entering directory '/tmp/sdk/build/release' 09:33:47 make[2]: Leaving directory '/tmp/sdk/build/release' 09:33:47 [ 83%] Built target device-gyro 09:33:47 make[2]: Entering directory '/tmp/sdk/build/release' 09:33:47 make[2]: Leaving directory '/tmp/sdk/build/release' 09:33:47 [ 86%] Built target device-bitfields 09:33:47 make[2]: Entering directory '/tmp/sdk/build/release' 09:33:47 make[2]: Leaving directory '/tmp/sdk/build/release' 09:33:47 [ 90%] Built target template-discovery 09:33:47 make[2]: Entering directory '/tmp/sdk/build/release' 09:33:48 make[2]: Leaving directory '/tmp/sdk/build/release' 09:33:48 [ 93%] Built target device-file 09:33:48 make[2]: Entering directory '/tmp/sdk/build/release' 09:33:48 make[2]: Leaving directory '/tmp/sdk/build/release' 09:33:48 [ 96%] Built target device-terminal 09:33:48 make[2]: Entering directory '/tmp/sdk/build/release' 09:33:48 make[2]: Leaving directory '/tmp/sdk/build/release' 09:33:48 [100%] Built target templatev1 09:33:48 make[1]: Leaving directory '/tmp/sdk/build/release' 09:33:48 Install the project... 09:33:48 -- Install configuration: "Release" 09:33:48 -- Installing: /usr/local/lib/libcsdk.so 09:33:48 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 09:33:48 -- Up-to-date: /usr/local/include 09:33:48 -- Installing: /usr/local/include/devsdk 09:33:48 -- Installing: /usr/local/include/devsdk/devsdk-base.h 09:33:48 -- Installing: /usr/local/include/devsdk/devsdk.h 09:33:48 -- Installing: /usr/local/include/edgex 09:33:48 -- Installing: /usr/local/include/edgex/device-mgmt.h 09:33:48 -- Installing: /usr/local/include/edgex/devices.h 09:33:48 -- Installing: /usr/local/include/edgex/devsdk.h 09:33:48 -- Installing: /usr/local/include/edgex/edgex-base.h 09:33:48 -- Installing: /usr/local/include/edgex/edgex.h 09:33:48 -- Installing: /usr/local/include/edgex/error.h 09:33:48 -- Installing: /usr/local/include/edgex/eventgen.h 09:33:48 -- Installing: /usr/local/include/edgex/os.h 09:33:48 -- Installing: /usr/local/include/edgex/profiles.h 09:33:48 -- Installing: /usr/local/include/edgex/rest-server.h 09:33:48 -- Installing: /usr/local/include/edgex/csdk-defs.h 09:33:48 -- Installing: /usr/local/include/iot 09:33:48 -- Installing: /usr/local/include/iot/base64.h 09:33:48 -- Installing: /usr/local/include/iot/component.h 09:33:48 -- Installing: /usr/local/include/iot/config.h 09:33:48 -- Installing: /usr/local/include/iot/container.h 09:33:48 -- Installing: /usr/local/include/iot/data.h 09:33:48 -- Installing: /usr/local/include/iot/hash.h 09:33:48 -- Installing: /usr/local/include/iot/iot.h 09:33:48 -- Installing: /usr/local/include/iot/json.h 09:33:48 -- Installing: /usr/local/include/iot/logger.h 09:33:48 -- Installing: /usr/local/include/iot/os.h 09:33:48 -- Installing: /usr/local/include/iot/scheduler.h 09:33:48 -- Installing: /usr/local/include/iot/thread.h 09:33:48 -- Installing: /usr/local/include/iot/threadpool.h 09:33:48 -- Installing: /usr/local/include/iot/time.h 09:33:48 -- Installing: /usr/local/include/iot/typecode.h 09:33:48 -- Installing: /usr/local/include/iot/os 09:33:48 -- Installing: /usr/local/include/iot/os/linux.h 09:33:48 -- Installing: /usr/local/include/iot/os/macos.h 09:33:48 -- Installing: /usr/local/include/iot/os/zephyr.h 09:33:48 -- Installing: /usr/local/share/device-sdk-c/LICENSE 09:33:48 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 09:33:48 make: Leaving directory '/tmp/sdk/build/release' 09:33:49 Removing intermediate container e3d0b487930c 09:33:49 ---> a506fabdf720 09:33:49 Step 14/21 : FROM ${BASE} 09:33:49 ---> 5eabd8fd8ba2 09:33:49 Step 15/21 : MAINTAINER IOTech 09:33:49 ---> Running in 3e7a59c9d322 09:33:50 Removing intermediate container 3e7a59c9d322 09:33:50 ---> 9f9469ef5e2c 09:33:50 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 09:33:50 ---> Running in bdfd28043ca3 09:33:51 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 09:33:51 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 09:33:51 (1/3) Installing curl (7.64.0-r4) 09:33:51 (2/3) Installing libuuid (2.33-r0) 09:33:52 (3/3) Installing wget (1.20.3-r0) 09:33:52 Executing busybox-1.29.3-r10.trigger 09:33:52 OK: 268 MiB in 78 packages 09:33:52 Removing intermediate container bdfd28043ca3 09:33:52 ---> 37114b4a977b 09:33:52 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 09:33:53 ---> a67ebbb85037 09:33:53 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 09:33:53 ---> 592aac0ab1fb 09:33:53 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 09:33:53 ---> 75d4180a41a5 09:33:53 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 09:33:53 ---> c1358dc45ec0 09:33:53 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 09:33:53 ---> 21fefc4e764a 09:33:53 Successfully built 21fefc4e764a 09:33:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:33:54 + docker inspect -f . ci-base-image-x86_64 09:33:54 . [Pipeline] withDockerContainer 09:33:54 prd-centos7-docker-4c-2g-43579 does not seem to be running inside a container 09:33:54 $ 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 ******** ci-base-image-x86_64 cat 09:33:55 $ docker top fbbe71864c200f5b8280af6b7fd51629dc89fe86bec72ac0accc2e52c93d9bed -eo pid,comm [Pipeline] { [Pipeline] sh 09:33:56 + make test 09:33:56 echo "make test" 09:33:56 make test [Pipeline] } 09:33:56 $ docker stop --time=1 fbbe71864c200f5b8280af6b7fd51629dc89fe86bec72ac0accc2e52c93d9bed 09:33:57 $ docker rm -f fbbe71864c200f5b8280af6b7fd51629dc89fe86bec72ac0accc2e52c93d9bed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:33:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:33:59 + ls -al . 09:33:59 total 160 09:33:59 drwxrwxr-x. 9 jenkins jenkins 275 Sep 16 09:33 . 09:33:59 drwxrwxr-x. 4 jenkins jenkins 28 Sep 16 09:32 .. 09:33:59 -rw-rw-r--. 1 jenkins jenkins 3104 Sep 16 09:32 Attribution.txt 09:33:59 -rw-rw-r--. 1 jenkins jenkins 5980 Sep 16 09:32 CHANGES 09:33:59 drwxrwxr-x. 2 jenkins jenkins 144 Sep 16 09:32 docs 09:33:59 -rw-rw-r--. 1 jenkins jenkins 108574 Sep 16 09:32 Doxyfile 09:33:59 drwxrwxr-x. 8 jenkins jenkins 179 Sep 16 09:33 .git 09:33:59 drwxrwxr-x. 2 jenkins jenkins 38 Sep 16 09:32 .github 09:33:59 -rw-rw-r--. 1 jenkins jenkins 176 Sep 16 09:32 .gitignore 09:33:59 drwxrwxr-x. 4 jenkins jenkins 33 Sep 16 09:32 include 09:33:59 -rw-rw-r--. 1 jenkins jenkins 794 Sep 16 09:32 Jenkinsfile 09:33:59 -rw-rw-r--. 1 jenkins jenkins 10174 Sep 16 09:32 LICENSE 09:33:59 -rw-rw-r--. 1 jenkins jenkins 449 Sep 16 09:32 Makefile 09:33:59 -rw-rw-r--. 1 jenkins jenkins 2697 Sep 16 09:32 README.md 09:33:59 -rw-rw-r--. 1 jenkins jenkins 5977 Sep 16 09:32 README.v2.md 09:33:59 drwxrwxr-x. 2 jenkins jenkins 108 Sep 16 09:32 scripts 09:33:59 drwxrwxr-x. 3 jenkins jenkins 72 Sep 16 09:33 .semver 09:33:59 drwxrwxr-x. 4 jenkins jenkins 50 Sep 16 09:32 src 09:33:59 -rw-rw-r--. 1 jenkins jenkins 5 Sep 16 09:29 VERSION [Pipeline] isUnix [Pipeline] sh 09:33:59 + 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=bbd6527c10feaba365adb3162645b555e029d207 --label arch=amd64 --label version=0.0.0 . 09:33:59 Sending build context to Docker daemon 3.565MB 09:33:59 Step 1/15 : ARG BASE=alpine:3.11 09:33:59 Step 2/15 : FROM ${BASE} 09:33:59 ---> 21fefc4e764a 09:33:59 Step 3/15 : MAINTAINER IOTech 09:33:59 ---> Running in b35a67604209 09:34:00 Removing intermediate container b35a67604209 09:34:00 ---> cd9dde96b13c 09:34:00 Step 4/15 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev && mkdir -p /edgex-c-sdk/build 09:34:00 ---> Running in 3aacf6bcd6a0 09:34:00 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 09:34:01 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 09:34:01 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 09:34:01 (2/6) Installing libblkid (2.33-r0) 09:34:01 (3/6) Installing libfdisk (2.33-r0) 09:34:01 (4/6) Installing libmount (2.33-r0) 09:34:01 (5/6) Installing libsmartcols (2.33-r0) 09:34:01 (6/6) Installing util-linux-dev (2.33-r0) 09:34:02 Executing busybox-1.29.3-r10.trigger 09:34:02 OK: 272 MiB in 84 packages 09:34:02 Removing intermediate container 3aacf6bcd6a0 09:34:02 ---> 966c6a73e621 09:34:02 Step 5/15 : COPY VERSION /edgex-c-sdk/ 09:34:03 ---> 40888dc36221 09:34:03 Step 6/15 : COPY src /edgex-c-sdk/src/ 09:34:04 ---> ac0532e1f80c 09:34:04 Step 7/15 : COPY include /edgex-c-sdk/include/ 09:34:04 ---> 14910dd8529c 09:34:04 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 09:34:04 ---> 13f2cef7ddf3 09:34:04 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 09:34:04 ---> 9e6a2ea6834f 09:34:04 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 09:34:04 ---> 3ffa239c3b8e 09:34:04 Step 11/15 : WORKDIR /edgex-c-sdk 09:34:04 ---> Running in 4eb55a3cad19 09:34:05 Removing intermediate container 4eb55a3cad19 09:34:05 ---> cebad1f83c08 09:34:05 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 09:34:05 ---> Running in 648bce60b6dd 09:34:05 Removing intermediate container 648bce60b6dd 09:34:05 ---> 736f1956c96b 09:34:05 Step 13/15 : LABEL arch=amd64 09:34:05 ---> Running in 094cf6001069 09:34:05 Removing intermediate container 094cf6001069 09:34:05 ---> ac92b717a358 09:34:05 Step 14/15 : LABEL git_sha=bbd6527c10feaba365adb3162645b555e029d207 09:34:05 ---> Running in 182ad190a048 09:34:05 Removing intermediate container 182ad190a048 09:34:05 ---> 2353d7798752 09:34:05 Step 15/15 : LABEL version=0.0.0 09:34:05 ---> Running in fb353441987d 09:34:05 Removing intermediate container fb353441987d 09:34:05 ---> 3cd574674e54 09:34:05 [Warning] One or more build-args [MAKE ARCH] were not consumed 09:34:05 Successfully built 3cd574674e54 09:34:06 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 09:34:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:34:10 ---> package-listing.sh 09:34:10 ++ facter osfamily 09:34:10 ++ tr '[:upper:]' '[:lower:]' 09:34:10 + OS_FAMILY=redhat 09:34:10 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-294 09:34:10 + START_PACKAGES=/tmp/packages_start.txt 09:34:10 + END_PACKAGES=/tmp/packages_end.txt 09:34:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:34:10 + PACKAGES=/tmp/packages_start.txt 09:34:10 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-294 ']' 09:34:10 + PACKAGES=/tmp/packages_end.txt 09:34:10 + case "${OS_FAMILY}" in 09:34:10 + rpm -qa 09:34:10 + sort 09:34:14 + '[' -f /tmp/packages_start.txt ']' 09:34:14 + '[' -f /tmp/packages_end.txt ']' 09:34:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:34:14 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-294 ']' 09:34:14 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-294/archives/ 09:34:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-294/archives/ [Pipeline] isUnix [Pipeline] sh 09:34:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:34:15 09:34:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:34:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:34:15 alpine: Pulling from edgex-lftools-log-publisher 09:34:15 df20fa9351a1: Pulling fs layer 09:34:15 36b3adc4ff6f: Pulling fs layer 09:34:15 8ad3a11d3b57: Pulling fs layer 09:34:15 46f8f816bc3b: Pulling fs layer 09:34:15 0dadc02b9964: Pulling fs layer 09:34:15 ce6a7cf60c04: Pulling fs layer 09:34:15 7a184a31f384: Pulling fs layer 09:34:15 0879bd2ef858: Pulling fs layer 09:34:15 0dadc02b9964: Waiting 09:34:15 ce6a7cf60c04: Waiting 09:34:15 7a184a31f384: Waiting 09:34:15 0879bd2ef858: Waiting 09:34:15 46f8f816bc3b: Waiting 09:34:15 36b3adc4ff6f: Verifying Checksum 09:34:15 36b3adc4ff6f: Download complete 09:34:15 46f8f816bc3b: Verifying Checksum 09:34:15 46f8f816bc3b: Download complete 09:34:15 df20fa9351a1: Verifying Checksum 09:34:15 df20fa9351a1: Download complete 09:34:15 ce6a7cf60c04: Verifying Checksum 09:34:15 ce6a7cf60c04: Download complete 09:34:15 7a184a31f384: Verifying Checksum 09:34:15 7a184a31f384: Download complete 09:34:15 0dadc02b9964: Verifying Checksum 09:34:15 0dadc02b9964: Download complete 09:34:15 8ad3a11d3b57: Verifying Checksum 09:34:15 8ad3a11d3b57: Download complete 09:34:16 df20fa9351a1: Pull complete 09:34:16 0879bd2ef858: Verifying Checksum 09:34:16 0879bd2ef858: Download complete 09:34:16 36b3adc4ff6f: Pull complete 09:34:17 8ad3a11d3b57: Pull complete 09:34:17 46f8f816bc3b: Pull complete 09:34:17 0dadc02b9964: Pull complete 09:34:17 ce6a7cf60c04: Pull complete 09:34:17 7a184a31f384: Pull complete 09:34:20 0879bd2ef858: Pull complete 09:34:20 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 09:34:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:34:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:34:20 prd-centos7-docker-4c-2g-43578 does not seem to be running inside a container 09:34:20 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/edgexfoundry_device-sdk-c_PR-294 -v /w/workspace/edgexfoundry_device-sdk-c_PR-294:/w/workspace/edgexfoundry_device-sdk-c_PR-294:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-294@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-294@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 09:34:25 $ docker top 29cd63b0fa84c457ca135710ae6c6ca079386df7d081471f3b1bd8584aa07f96 -eo pid,comm [Pipeline] { [Pipeline] sh 09:34:25 + mkdir -p /var/log/sa [Pipeline] sh 09:34:26 + ls /var/log/sa-host 09:34:26 + sadf -c /var/log/sa-host/sa05 09:34:26 file_magic: OK 09:34:26 HZ: Using current value: 100 09:34:26 file_header: OK 09:34:26 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 09:34:26 Statistics: 09:34:26 Hnuu...uuuununununu...Hnuu...uuuununununu... 09:34:26 File successfully converted to sysstat format version 12.2.1 09:34:26 + sadf -c /var/log/sa-host/sa16 09:34:26 file_magic: OK 09:34:26 HZ: Using current value: 100 09:34:26 file_header: OK 09:34:26 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 09:34:26 Statistics: 09:34:26 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 09:34:26 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:34:26 provisioning config files... 09:34:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-294@tmp/config8299780310033173807tmp [Pipeline] { [Pipeline] echo 09:34:26 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:34:26 ---> create-netrc.sh [Pipeline] echo 09:34:26 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:34:27 ---> logs-deploy.sh 09:34:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-294/1 09:34:27 INFO: archiving workspace using pattern(s): 09:34:28 Archives upload complete. 09:34:28 INFO: archiving logs to Nexus 09:34:29 ---> uname -a: 09:34:29 Linux 29cd63b0fa84 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 09:34:29 09:34:29 09:34:29 ---> lscpu: 09:34:29 Architecture: x86_64 09:34:29 CPU op-mode(s): 32-bit, 64-bit 09:34:29 Byte Order: Little Endian 09:34:29 Address sizes: 40 bits physical, 48 bits virtual 09:34:29 CPU(s): 4 09:34:29 On-line CPU(s) list: 0-3 09:34:29 Thread(s) per core: 1 09:34:29 Core(s) per socket: 1 09:34:29 Socket(s): 4 09:34:29 NUMA node(s): 1 09:34:29 Vendor ID: GenuineIntel 09:34:29 CPU family: 6 09:34:29 Model: 44 09:34:29 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 09:34:29 Stepping: 1 09:34:29 CPU MHz: 2933.442 09:34:29 BogoMIPS: 5866.88 09:34:29 Virtualization: VT-x 09:34:29 Hypervisor vendor: KVM 09:34:29 Virtualization type: full 09:34:29 L1d cache: 128 KiB 09:34:29 L1i cache: 128 KiB 09:34:29 L2 cache: 16 MiB 09:34:29 L3 cache: 64 MiB 09:34:29 NUMA node0 CPU(s): 0-3 09:34:29 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 09:34:29 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 09:34:29 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 09:34:29 Vulnerability Meltdown: Mitigation; PTI 09:34:29 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 09:34:29 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 09:34:29 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 09:34:29 Vulnerability Tsx async abort: Not affected 09:34:29 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 09:34:29 09:34:29 09:34:29 ---> nproc: 09:34:29 4 09:34:29 09:34:29 09:34:29 ---> df -h: 09:34:29 Filesystem Size Used Available Use% Mounted on 09:34:29 overlay 50.0G 7.0G 43.0G 14% / 09:34:29 tmpfs 64.0M 0 64.0M 0% /dev 09:34:29 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 09:34:29 shm 64.0M 0 64.0M 0% /dev/shm 09:34:29 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/resolv.conf 09:34:29 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/hostname 09:34:29 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/hosts 09:34:29 /dev/vda1 50.0G 7.0G 43.0G 14% /var/log/sa-host 09:34:29 /dev/vda1 50.0G 7.0G 43.0G 14% /w/workspace/edgexfoundry_device-sdk-c_PR-294 09:34:29 /dev/vda1 50.0G 7.0G 43.0G 14% /w/workspace/edgexfoundry_device-sdk-c_PR-294@tmp 09:34:29 09:34:29 09:34:29 ---> free -m: 09:34:29 total used free shared buff/cache available 09:34:29 Mem: 1837 664 140 0 1031 1064 09:34:29 Swap: 1023 0 1023 09:34:29 09:34:29 09:34:29 ---> ip addr: 09:34:29 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 09:34:29 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 09:34:29 inet 127.0.0.1/8 scope host lo 09:34:29 valid_lft forever preferred_lft forever 09:34:29 6: eth0@if7: mtu 1458 qdisc noqueue state UP 09:34:29 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 09:34:29 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 09:34:29 valid_lft forever preferred_lft forever 09:34:29 09:34:29 09:34:29 ---> sar -b -r -n DEV: 09:34:29 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 09/16/20 _x86_64_ (4 CPU) 09:34:29 09:34:29 09:28:41 LINUX RESTART (4 CPU) 09:34:29 09:34:29 09:30:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 09:34:29 09:31:01 3.11 0.00 3.11 0.00 0.00 101.00 0.00 09:34:29 09:32:01 0.30 0.00 0.30 0.00 0.00 3.66 0.00 09:34:29 09:33:01 0.28 0.00 0.28 0.00 0.00 3.38 0.00 09:34:29 09:34:01 0.23 0.00 0.23 0.00 0.00 2.70 0.00 09:34:29 Average: 0.98 0.00 0.98 0.00 0.00 27.69 0.00 09:34:29 09:34:29 09:30:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 09:34:29 09:31:01 170972 0 583884 31.03 2620 1124080 1074640 36.68 424700 1127032 20 09:34:29 09:32:01 172368 0 582484 30.96 2620 1124084 1064360 36.32 424564 1126128 8 09:34:29 09:33:01 170556 0 584284 31.05 2620 1124096 1064568 36.33 427124 1125536 20 09:34:29 09:34:01 171060 0 583780 31.03 2620 1124096 1064424 36.33 437128 1114772 12 09:34:29 Average: 171239 0 583608 31.02 2620 1124089 1066998 36.41 428379 1123367 15 09:34:29 09:34:29 09:30:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 09:34:29 09:31:01 eth0 5.48 2.98 4.94 0.24 0.00 0.00 0.00 0.00 09:34:29 09:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:29 09:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:29 09:32:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 09:34:29 09:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:29 09:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:29 09:33:01 eth0 0.97 0.43 0.32 0.18 0.00 0.00 0.00 0.00 09:34:29 09:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:29 09:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:29 09:34:01 eth0 0.08 0.08 0.01 0.04 0.00 0.00 0.00 0.00 09:34:29 09:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:29 09:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:29 Average: eth0 1.65 0.90 1.32 0.12 0.00 0.00 0.00 0.00 09:34:29 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:29 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:29 09:34:29 09:34:29 ---> sar -P ALL: 09:34:29 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 09/16/20 _x86_64_ (4 CPU) 09:34:29 09:34:29 09:28:41 LINUX RESTART (4 CPU) 09:34:29 09:34:29 09:30:01 CPU %user %nice %system %iowait %steal %idle 09:34:29 09:31:01 all 0.20 0.00 0.06 0.00 0.00 99.74 09:34:29 09:31:01 0 0.60 0.00 0.03 0.00 0.00 99.37 09:34:29 09:31:01 1 0.10 0.00 0.07 0.00 0.00 99.83 09:34:29 09:31:01 2 0.08 0.00 0.08 0.00 0.00 99.83 09:34:29 09:31:01 3 0.03 0.00 0.05 0.00 0.00 99.92 09:34:29 09:32:01 all 0.16 0.00 0.03 0.00 0.00 99.81 09:34:29 09:32:01 0 0.52 0.00 0.02 0.00 0.00 99.47 09:34:29 09:32:01 1 0.05 0.00 0.05 0.00 0.00 99.90 09:34:29 09:32:01 2 0.02 0.00 0.02 0.00 0.00 99.97 09:34:29 09:32:01 3 0.05 0.00 0.03 0.00 0.00 99.92 09:34:29 09:33:01 all 0.17 0.00 0.03 0.00 0.00 99.80 09:34:29 09:33:01 0 0.55 0.00 0.02 0.00 0.00 99.43 09:34:29 09:33:01 1 0.07 0.00 0.05 0.00 0.00 99.88 09:34:29 09:33:01 2 0.05 0.00 0.02 0.00 0.00 99.93 09:34:29 09:33:01 3 0.02 0.00 0.03 0.00 0.00 99.95 09:34:29 09:34:01 all 0.13 0.00 0.05 0.00 0.00 99.82 09:34:29 09:34:01 0 0.43 0.00 0.05 0.00 0.00 99.52 09:34:29 09:34:01 1 0.05 0.00 0.03 0.00 0.00 99.92 09:34:29 09:34:01 2 0.02 0.00 0.05 0.00 0.00 99.93 09:34:29 09:34:01 3 0.02 0.00 0.08 0.00 0.00 99.90 09:34:29 Average: all 0.17 0.00 0.04 0.00 0.00 99.79 09:34:29 Average: 0 0.52 0.00 0.03 0.00 0.00 99.45 09:34:29 Average: 1 0.07 0.00 0.05 0.00 0.00 99.88 09:34:29 Average: 2 0.04 0.00 0.04 0.00 0.00 99.92 09:34:29 Average: 3 0.03 0.00 0.05 0.00 0.00 99.92 09:34:29 09:34:29 09:34:29