Pull request #298 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 cb778972d1a428a8ecbc4be163887a2d5359f94c+1e5a10bcc6a32557a45eb75dadaf0f2ee0898f15 (4e2e08ba16120f5cb53517600381f07a5d92c416) 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d 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-298/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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f ad104866bbc8c98dca93091e1a8abeb835fd4e4d # timeout=10 Commit message: "Merge pull request #251 from ernestojeda/fix-codecov-uploader" > 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. Loading library lf-pipelines@master Attempting to resolve master 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 -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-298/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-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 --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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' fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d Excluding src/test/ from checkout of git git@github.com:lfit/releng-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-2266 in /w/workspace/edgexfoundry_device-sdk-c_PR-298 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-298 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Merging remotes/origin/master commit 1e5a10bcc6a32557a45eb75dadaf0f2ee0898f15 into PR head commit cb778972d1a428a8ecbc4be163887a2d5359f94c Merge succeeded, producing cb778972d1a428a8ecbc4be163887a2d5359f94c Checking out Revision cb778972d1a428a8ecbc4be163887a2d5359f94c (PR-298) Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/298/head:refs/remotes/origin/PR-298 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cb778972d1a428a8ecbc4be163887a2d5359f94c # 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 1e5a10bcc6a32557a45eb75dadaf0f2ee0898f15 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cb778972d1a428a8ecbc4be163887a2d5359f94c # timeout=10 Commit message: "feat: add v2 metrics endpoint update v2 ping and config endpoints to current spec" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:08:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:08:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:08:30 ========================================================= 17:08:30 EdgeX Global Pipelines Version Info 17:08:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:08:32 ------------------- 17:08:32 stable info: 17:08:32 ------------------- 17:08:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:08:32 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 17:08:32 Message: update stable to v1.0.131 17:08:33 ------------------- 17:08:33 experimental info: 17:08:33 ------------------- 17:08:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:08:33 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 17:08:33 Message: update experimental to v1.0.131 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 17:08:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 17:08:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 17:08:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:08:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:08:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:08:34 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 17:08:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine-3.11 [Pipeline] echo 17:08:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-3.11-base [Pipeline] echo 17:08:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:08:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-c [Pipeline] echo 17:08:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:08:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:08:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:08:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:08:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:08:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:08:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-298 [Pipeline] echo 17:08:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-298 [Pipeline] echo 17:08:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-298 [Pipeline] echo 17:08:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cb778972d1a428a8ecbc4be163887a2d5359f94c [Pipeline] echo 17:08:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cb77897 [Pipeline] echo 17:08:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 17:08:38 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:08:38 17:08:38 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:08:38 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:08:38 latest: Pulling from edgex-devops/git-semver 17:08:38 31603596830f: Pulling fs layer 17:08:38 2a8b12db71e7: Pulling fs layer 17:08:38 6ca5941a6612: Pulling fs layer 17:08:38 ecc8261a40a4: Pulling fs layer 17:08:38 ecc8261a40a4: Waiting 17:08:38 2a8b12db71e7: Verifying Checksum 17:08:38 2a8b12db71e7: Download complete 17:08:38 31603596830f: Verifying Checksum 17:08:38 31603596830f: Download complete 17:08:38 ecc8261a40a4: Verifying Checksum 17:08:38 ecc8261a40a4: Download complete 17:08:38 6ca5941a6612: Verifying Checksum 17:08:38 6ca5941a6612: Download complete 17:08:38 31603596830f: Pull complete 17:08:39 2a8b12db71e7: Pull complete 17:08:40 6ca5941a6612: Pull complete 17:08:40 ecc8261a40a4: Pull complete 17:08:40 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 17:08:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:08:40 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:08:40 prd-centos7-docker-4c-2g-2266 does not seem to be running inside a container 17:08:40 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-298 -v /w/workspace/edgexfoundry_device-sdk-c_PR-298:/w/workspace/edgexfoundry_device-sdk-c_PR-298:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-298@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-298@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:08:42 $ docker top 63ec70cc52e49cb38034e05d35d7081866f632397ebfb0a82052a8a00ee7e9e1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:08:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:08:42 [ssh-agent] Looking for ssh-agent implementation... 17:08:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:08:42 $ docker exec 63ec70cc52e49cb38034e05d35d7081866f632397ebfb0a82052a8a00ee7e9e1 ssh-agent 17:08:42 SSH_AUTH_SOCK=/tmp/ssh-vkbncXRRABrl/agent.11 17:08:42 SSH_AGENT_PID=16 17:08:42 Running ssh-add (command line suppressed) 17:08:42 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-298@tmp/private_key_4945902518752562737.key (/w/workspace/edgexfoundry_device-sdk-c_PR-298@tmp/private_key_4945902518752562737.key) 17:08:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:08:43 + git describe --exact-match --tags HEAD 17:08:43 fatal: no tag exactly matches 'cb778972d1a428a8ecbc4be163887a2d5359f94c' [Pipeline] } 17:08:43 $ docker exec --env ******** --env ******** 63ec70cc52e49cb38034e05d35d7081866f632397ebfb0a82052a8a00ee7e9e1 ssh-agent -k 17:08:43 unset SSH_AUTH_SOCK; 17:08:43 unset SSH_AGENT_PID; 17:08:43 echo Agent pid 16 killed; 17:08:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 17:08:43 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 17:08:43 This usually means this commit has not been tagged. [Pipeline] sshagent 17:08:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:08:44 [ssh-agent] Looking for ssh-agent implementation... 17:08:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:08:44 $ docker exec 63ec70cc52e49cb38034e05d35d7081866f632397ebfb0a82052a8a00ee7e9e1 ssh-agent 17:08:44 SSH_AUTH_SOCK=/tmp/ssh-jssxB1eoDwZz/agent.44 17:08:44 SSH_AGENT_PID=49 17:08:44 Running ssh-add (command line suppressed) 17:08:44 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-298@tmp/private_key_7736713819905299161.key (/w/workspace/edgexfoundry_device-sdk-c_PR-298@tmp/private_key_7736713819905299161.key) 17:08:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:08:44 + git semver init 17:08:44 # -> Open(): unable to determine branch for HEAD 17:08:44 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-298/.git 17:08:44 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-298 17:08:44 # $SEMVER_REMOTE_NAME = origin 17:08:44 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:08:44 # $SEMVER_USER_NAME = edgex-jenkins 17:08:44 # $SEMVER_BRANCH = PR-298 17:08:44 # $SEMVER_TEMP = /tmp/semver-220614008 17:08:44 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 17:08:45 # '/tmp/semver-220614008' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-298/.semver' 17:08:45 # -> Force: false 17:08:45 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-298/.semver [Pipeline] } 17:08:45 $ docker exec --env ******** --env ******** 63ec70cc52e49cb38034e05d35d7081866f632397ebfb0a82052a8a00ee7e9e1 ssh-agent -k 17:08:45 unset SSH_AUTH_SOCK; 17:08:45 unset SSH_AGENT_PID; 17:08:45 echo Agent pid 49 killed; 17:08:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:08:46 + git semver [Pipeline] } 17:08:46 $ docker stop --time=1 63ec70cc52e49cb38034e05d35d7081866f632397ebfb0a82052a8a00ee7e9e1 17:08:47 $ docker rm -f 63ec70cc52e49cb38034e05d35d7081866f632397ebfb0a82052a8a00ee7e9e1 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 17:08:49 Stashed 34 file(s) [Pipeline] echo 17:08:49 [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 17:09:05 Still waiting to schedule task 17:09:05 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2266’ 17:09:05 Still waiting to schedule task 17:09:05 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 17:11:10 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2267 in /w/workspace/edgexfoundry_device-sdk-c_PR-298 [Pipeline] { [Pipeline] ws 17:11:10 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 17:11:15 using credential edgex-jenkins-ssh 17:11:16 Cloning the remote Git repository 17:11:16 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 17:11:16 > git init /w/workspace/device-sdk-c/1 # timeout=10 17:11:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 17:11:16 > git --version # timeout=10 17:11:16 > git --version # 'git version 2.17.1' 17:11:16 using GIT_SSH to set credentials SSH Credentials for GitHub 17:11:16 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:11:18 Merging remotes/origin/master commit 1e5a10bcc6a32557a45eb75dadaf0f2ee0898f15 into PR head commit cb778972d1a428a8ecbc4be163887a2d5359f94c 17:11:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 17:11:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:11:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 17:11:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 17:11:17 using GIT_SSH to set credentials SSH Credentials for GitHub 17:11:17 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/298/head:refs/remotes/origin/PR-298 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:11:18 > git config core.sparsecheckout # timeout=10 17:11:18 > git checkout -f cb778972d1a428a8ecbc4be163887a2d5359f94c # timeout=10 17:11:18 > git remote # timeout=10 17:11:18 > git config --get remote.origin.url # timeout=10 17:11:18 Merge succeeded, producing cb778972d1a428a8ecbc4be163887a2d5359f94c 17:11:18 Checking out Revision cb778972d1a428a8ecbc4be163887a2d5359f94c (PR-298) 17:11:18 using GIT_SSH to set credentials SSH Credentials for GitHub 17:11:18 > git merge 1e5a10bcc6a32557a45eb75dadaf0f2ee0898f15 # timeout=10 17:11:18 > git rev-parse HEAD^{commit} # timeout=10 17:11:18 > git config core.sparsecheckout # timeout=10 17:11:18 > git checkout -f cb778972d1a428a8ecbc4be163887a2d5359f94c # timeout=10 17:11:23 Commit message: "feat: add v2 metrics endpoint update v2 ping and config endpoints to current spec" 17:11:23 > git --version # timeout=10 17:11:23 > git --version # 'git version 2.17.1' 17:11:23 fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 17:11:24 ========================================================= 17:11:24 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 17:11:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:11:26 + 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 . 17:11:27 Sending build context to Docker daemon 3.824MB 17:11:27 Step 1/21 : ARG BASE=alpine:3.11 17:11:27 Step 2/21 : FROM ${BASE} as builder 17:11:27 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 17:11:27 0362ad1dd800: Pulling fs layer 17:11:27 f2cdb1532d8b: Pulling fs layer 17:11:27 37ed683be191: Pulling fs layer 17:11:27 f2cdb1532d8b: Download complete 17:11:27 0362ad1dd800: Download complete 17:11:28 0362ad1dd800: Pull complete 17:11:28 f2cdb1532d8b: Pull complete 17:11:30 37ed683be191: Verifying Checksum 17:11:30 37ed683be191: Download complete 17:11:40 37ed683be191: Pull complete 17:11:40 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 17:11:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 17:11:40 ---> b23d30803547 17:11:40 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 17:11:41 ---> Running in fafad99967fe 17:11:43 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 17:11:43 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 17:11:44 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 17:11:44 (2/8) Installing libuuid (2.33-r0) 17:11:44 (3/8) Installing libblkid (2.33-r0) 17:11:44 (4/8) Installing libfdisk (2.33-r0) 17:11:44 (5/8) Installing libmount (2.33-r0) 17:11:44 (6/8) Installing libsmartcols (2.33-r0) 17:11:44 (7/8) Installing util-linux-dev (2.33-r0) 17:11:45 (8/8) Installing wget (1.20.3-r0) 17:11:45 Executing busybox-1.29.3-r10.trigger 17:11:45 OK: 285 MiB in 83 packages 17:11:46 Removing intermediate container fafad99967fe 17:11:46 ---> bd026f2816ae 17:11:46 Step 4/21 : ENV CBOR_VERSION=0.5.0 17:11:46 ---> Running in 4efddf18b018 17:11:47 Removing intermediate container 4efddf18b018 17:11:47 ---> ad7b4ffd8630 17:11:47 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 17:11:47 ---> Running in 825585cc8f49 17:11:48 --2020-09-30 17:11:48-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 17:11:48 Resolving github.com... 140.82.112.4 17:11:48 Connecting to github.com|140.82.112.4|:443... connected. 17:11:48 HTTP request sent, awaiting response... 302 Found 17:11:48 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 17:11:48 --2020-09-30 17:11:48-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 17:11:48 Resolving codeload.github.com... 140.82.112.10 17:11:48 Connecting to codeload.github.com|140.82.112.10|:443... connected. 17:11:48 HTTP request sent, awaiting response... 200 OK 17:11:48 Length: unspecified [application/x-gzip] 17:11:48 Saving to: 'STDOUT' 17:11:48 17:11:48 0K .......... .......... .......... .......... .......... 1.29M 17:11:48 50K .......... .......... .......... .......... .......... 2.61M 17:11:48 100K .......... .......... .......... .......... .......... 12.8M 17:11:48 150K .......... .......... .......... .......... .......... 3.33M 17:11:49 200K .......... .......... .......... .......... .......... 10.7M 17:11:49 250K .......... .......... .......... .......... .......... 3.32M 17:11:49 300K .......... .......... .......... .......... .......... 3.02M 17:11:49 350K .......... .......... .......... .......... .......... 4.63M 17:11:49 400K .......... .......... .......... .......... .......... 3.94M 17:11:49 450K .......... .......... .......... .......... .......... 3.74M 17:11:49 500K .......... .......... .......... .......... .......... 9.69M 17:11:49 550K .......... .......... .......... .......... .......... 2.50M 17:11:49 600K .......... .......... .......... .......... .......... 878K 17:11:49 650K .......... .......... .......... .......... .......... 1.98M 17:11:49 700K .. 5.84M=0.3s 17:11:49 17:11:49 2020-09-30 17:11:49 (2.71 MB/s) - written to stdout [719348] 17:11:49 17:11:49 -- The C compiler identification is GNU 8.3.0 17:11:49 -- The CXX compiler identification is GNU 8.3.0 17:11:49 -- Check for working C compiler: /usr/bin/cc 17:11:50 -- Check for working C compiler: /usr/bin/cc -- works 17:11:50 -- Detecting C compiler ABI info 17:11:50 Running on prd-centos7-docker-4c-2g-2268 in /w/workspace/edgexfoundry_device-sdk-c_PR-298 [Pipeline] { [Pipeline] ws 17:11:50 -- Detecting C compiler ABI info - done 17:11:50 -- Detecting C compile features 17:11:50 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 17:11:50 -- Detecting C compile features - done 17:11:50 -- Check for working CXX compiler: /usr/bin/c++ 17:11:51 -- Check for working CXX compiler: /usr/bin/c++ -- works 17:11:51 -- Detecting CXX compiler ABI info 17:11:51 -- Detecting CXX compiler ABI info - done 17:11:51 -- Detecting CXX compile features 17:11:52 -- Detecting CXX compile features - done 17:11:52 -- Looking for include file endian.h 17:11:53 -- Looking for include file endian.h - found 17:11:53 -- Check if the system is big endian 17:11:53 -- Searching 16 bit integer 17:11:53 -- Looking for sys/types.h 17:11:53 using credential edgex-jenkins-ssh 17:11:53 Cloning the remote Git repository 17:11:53 -- Looking for sys/types.h - found 17:11:53 -- Looking for stdint.h 17:11:53 -- Looking for stdint.h - found 17:11:53 -- Looking for stddef.h 17:11:54 -- Looking for stddef.h - found 17:11:54 -- Check size of unsigned short 17:11:53 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 17:11:53 > git init /w/workspace/device-sdk-c/1 # timeout=10 17:11:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 17:11:53 > git --version # timeout=10 17:11:53 > git --version # 'git version 2.16.5' 17:11:53 using GIT_SSH to set credentials SSH Credentials for GitHub 17:11:53 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:11:54 -- Check size of unsigned short - done 17:11:54 -- Using unsigned short 17:11:54 -- Check if the system is big endian - little endian 17:11:54 -- Check size of size_t 17:11:54 Merging remotes/origin/master commit 1e5a10bcc6a32557a45eb75dadaf0f2ee0898f15 into PR head commit cb778972d1a428a8ecbc4be163887a2d5359f94c 17:11:54 -- Check size of size_t - done 17:11:54 CMake Warning at examples/CMakeLists.txt:16 (find_package): 17:11:54 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 17:11:54 asked CMake to find a package configuration file provided by "cJSON", but 17:11:54 CMake did not find one. 17:11:54 17:11:54 Could not find a package configuration file provided by "cJSON" with any of 17:11:54 the following names: 17:11:54 17:11:54 cJSONConfig.cmake 17:11:54 cjson-config.cmake 17:11:54 17:11:54 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 17:11:54 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 17:11:54 provides a separate development package or SDK, be sure it has been 17:11:54 installed. 17:11:54 17:11:54 17:11:54 -- Configuring done 17:11:55 -- Generating done 17:11:55 -- Build files have been written to: /tmp/cbor 17:11:55 Scanning dependencies of target cbor_shared 17:11:55 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 17:11:55 Merge succeeded, producing cb778972d1a428a8ecbc4be163887a2d5359f94c 17:11:55 Checking out Revision cb778972d1a428a8ecbc4be163887a2d5359f94c (PR-298) 17:11:54 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 17:11:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:11:54 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 17:11:54 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 17:11:54 using GIT_SSH to set credentials SSH Credentials for GitHub 17:11:54 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/298/head:refs/remotes/origin/PR-298 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:11:54 > git config core.sparsecheckout # timeout=10 17:11:54 > git checkout -f cb778972d1a428a8ecbc4be163887a2d5359f94c # timeout=10 17:11:55 > git remote # timeout=10 17:11:55 > git config --get remote.origin.url # timeout=10 17:11:55 using GIT_SSH to set credentials SSH Credentials for GitHub 17:11:55 > git merge 1e5a10bcc6a32557a45eb75dadaf0f2ee0898f15 # timeout=10 17:11:55 > git rev-parse HEAD^{commit} # timeout=10 17:11:55 > git config core.sparsecheckout # timeout=10 17:11:55 > git checkout -f cb778972d1a428a8ecbc4be163887a2d5359f94c # timeout=10 17:11:56 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 17:11:56 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 17:11:56 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 17:11:57 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 17:11:57 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 17:11:57 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 17:11:57 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 17:11:58 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 17:11:58 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 17:11:58 Commit message: "feat: add v2 metrics endpoint update v2 ping and config endpoints to current spec" 17:11:58 > git --version # timeout=10 17:11:58 > git --version # 'git version 2.16.5' 17:11:58 fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d 17:11:59 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 17:11:59 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 17:11:59 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [Pipeline] script [Pipeline] { [Pipeline] unstash 17:11:59 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [Pipeline] echo 17:12:00 ========================================================= 17:12:00 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 17:12:00 ========================================================= [Pipeline] isUnix 17:12:00 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [Pipeline] sh 17:12:00 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 17:12:00 + 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 . 17:12:00 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 17:12:01 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 17:12:01 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 17:12:01 Sending build context to Docker daemon 3.824MB 17:12:01 Step 1/21 : ARG BASE=alpine:3.11 17:12:01 Step 2/21 : FROM ${BASE} as builder 17:12:01 latest: Pulling from edgex-devops/edgex-gcc-base 17:12:01 e7c96db7181b: Pulling fs layer 17:12:01 4c13bbce0fe7: Pulling fs layer 17:12:01 6059c847ac2f: Pulling fs layer 17:12:01 4c13bbce0fe7: Verifying Checksum 17:12:01 4c13bbce0fe7: Download complete 17:12:01 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 17:12:01 e7c96db7181b: Verifying Checksum 17:12:01 e7c96db7181b: Download complete 17:12:01 [ 40%] Linking C shared library libcbor.so 17:12:01 [ 40%] Built target cbor_shared 17:12:01 Scanning dependencies of target cbor 17:12:01 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 17:12:01 e7c96db7181b: Pull complete 17:12:01 4c13bbce0fe7: Pull complete 17:12:02 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 17:12:03 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 17:12:03 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 17:12:03 6059c847ac2f: Verifying Checksum 17:12:03 6059c847ac2f: Download complete 17:12:04 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 17:12:04 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 17:12:05 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 17:12:05 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 17:12:05 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 17:12:05 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 17:12:06 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 17:12:06 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 17:12:07 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 17:12:07 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 17:12:07 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 17:12:07 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 17:12:08 6059c847ac2f: Pull complete 17:12:08 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 17:12:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 17:12:08 ---> 5eabd8fd8ba2 17:12:08 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 17:12:08 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 17:12:08 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 17:12:08 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 17:12:09 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 17:12:09 [ 80%] Linking C static library libcbor.a 17:12:09 [ 80%] Built target cbor 17:12:09 Scanning dependencies of target create_items 17:12:09 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 17:12:09 ---> Running in 11604eb7bcbf 17:12:09 [ 84%] Linking C executable create_items 17:12:09 [ 84%] Built target create_items 17:12:09 Scanning dependencies of target readfile 17:12:09 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 17:12:09 [ 88%] Linking C executable readfile 17:12:09 [ 88%] Built target readfile 17:12:09 Scanning dependencies of target streaming_parser 17:12:09 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 17:12:10 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 17:12:10 [ 92%] Linking C executable streaming_parser 17:12:10 [ 92%] Built target streaming_parser 17:12:10 Scanning dependencies of target sort 17:12:10 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 17:12:10 [ 96%] Linking C executable sort 17:12:10 [ 96%] Built target sort 17:12:10 Scanning dependencies of target hello 17:12:10 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 17:12:10 [100%] Linking C executable hello 17:12:10 [100%] Built target hello 17:12:10 Install the project... 17:12:10 -- Install configuration: "Release" 17:12:10 -- Installing: /usr/local/include/cbor/configuration.h 17:12:10 -- Installing: /usr/local/lib64/libcbor.a 17:12:10 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 17:12:10 -- Installing: /usr/local/lib64/libcbor.so.0 17:12:10 -- Installing: /usr/local/lib64/libcbor.so 17:12:10 -- Up-to-date: /usr/local/include/cbor 17:12:10 -- Installing: /usr/local/include/cbor/streaming.h 17:12:10 -- Installing: /usr/local/include/cbor/ints.h 17:12:10 -- Installing: /usr/local/include/cbor/floats_ctrls.h 17:12:10 -- Installing: /usr/local/include/cbor/bytestrings.h 17:12:10 -- Installing: /usr/local/include/cbor/encoding.h 17:12:10 -- Installing: /usr/local/include/cbor/serialization.h 17:12:10 -- Installing: /usr/local/include/cbor/data.h 17:12:10 -- Installing: /usr/local/include/cbor/common.h 17:12:10 -- Installing: /usr/local/include/cbor/callbacks.h 17:12:10 -- Installing: /usr/local/include/cbor/strings.h 17:12:10 -- Installing: /usr/local/include/cbor/tags.h 17:12:10 -- Installing: /usr/local/include/cbor/internal 17:12:10 -- Installing: /usr/local/include/cbor/internal/encoders.h 17:12:10 -- Installing: /usr/local/include/cbor/internal/loaders.h 17:12:10 -- Installing: /usr/local/include/cbor/internal/stack.h 17:12:10 -- Installing: /usr/local/include/cbor/internal/unicode.h 17:12:10 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 17:12:10 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 17:12:10 -- Installing: /usr/local/include/cbor/arrays.h 17:12:10 -- Installing: /usr/local/include/cbor/maps.h 17:12:10 -- Installing: /usr/local/include/cbor.h 17:12:10 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 17:12:10 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 17:12:10 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 17:12:11 (2/8) Installing libuuid (2.33-r0) 17:12:11 (3/8) Installing libblkid (2.33-r0) 17:12:11 (4/8) Installing libfdisk (2.33-r0) 17:12:11 (5/8) Installing libmount (2.33-r0) 17:12:11 (6/8) Installing libsmartcols (2.33-r0) 17:12:11 (7/8) Installing util-linux-dev (2.33-r0) 17:12:12 (8/8) Installing wget (1.20.3-r0) 17:12:12 Executing busybox-1.29.3-r10.trigger 17:12:12 OK: 272 MiB in 83 packages 17:12:12 Removing intermediate container 11604eb7bcbf 17:12:12 ---> d9885249af1f 17:12:12 Step 4/21 : ENV CBOR_VERSION=0.5.0 17:12:12 ---> Running in 69aae5c5b7fa 17:12:12 Removing intermediate container 69aae5c5b7fa 17:12:12 ---> a8826a995dad 17:12:12 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 17:12:12 ---> Running in afb87b1b5ff1 17:12:13 Removing intermediate container 825585cc8f49 17:12:13 ---> 85ff5a535c26 17:12:13 Step 6/21 : RUN mkdir /tmp/sdk 17:12:13 ---> Running in 345dd72b0f31 17:12:13 --2020-09-30 17:12:13-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 17:12:13 Resolving github.com... 140.82.112.4 17:12:13 Connecting to github.com|140.82.112.4|:443... connected. 17:12:13 HTTP request sent, awaiting response... 302 Found 17:12:13 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 17:12:13 --2020-09-30 17:12:13-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 17:12:13 Resolving codeload.github.com... 140.82.112.10 17:12:13 Connecting to codeload.github.com|140.82.112.10|:443... connected. 17:12:13 HTTP request sent, awaiting response... 200 OK 17:12:13 Length: unspecified [application/x-gzip] 17:12:13 Saving to: 'STDOUT' 17:12:13 17:12:13 0K .......... .......... .......... .......... .......... 1.55M 17:12:13 50K .......... .......... .......... .......... .......... 3.20M 17:12:13 100K .......... .......... .......... .......... .......... 34.8M 17:12:13 150K .......... .......... .......... .......... .......... 3.44M 17:12:13 200K .......... .......... .......... .......... .......... 24.8M 17:12:13 250K .......... .......... .......... .......... .......... 6.74M 17:12:13 300K .......... .......... .......... .......... .......... 7.33M 17:12:13 350K .......... .......... .......... .......... .......... 8.04M 17:12:13 400K .......... .......... .......... .......... .......... 5.91M 17:12:13 450K .......... .......... .......... .......... .......... 5.65M 17:12:13 500K .......... .......... .......... .......... .......... 27.6M 17:12:13 550K .......... .......... .......... .......... .......... 2.34M 17:12:13 600K .......... .......... .......... .......... .......... 1.67M 17:12:13 650K .......... .......... .......... .......... .......... 4.79M 17:12:13 700K .. 44.2M=0.2s 17:12:13 17:12:13 2020-09-30 17:12:13 (4.20 MB/s) - written to stdout [719348] 17:12:13 17:12:13 -- The C compiler identification is GNU 8.3.0 17:12:14 -- The CXX compiler identification is GNU 8.3.0 17:12:14 -- Check for working C compiler: /usr/bin/cc 17:12:14 -- Check for working C compiler: /usr/bin/cc -- works 17:12:14 -- Detecting C compiler ABI info 17:12:14 -- Detecting C compiler ABI info - done 17:12:14 -- Detecting C compile features 17:12:14 -- Detecting C compile features - done 17:12:14 -- Check for working CXX compiler: /usr/bin/c++ 17:12:14 -- Check for working CXX compiler: /usr/bin/c++ -- works 17:12:14 -- Detecting CXX compiler ABI info 17:12:14 -- Detecting CXX compiler ABI info - done 17:12:14 -- Detecting CXX compile features 17:12:15 -- Detecting CXX compile features - done 17:12:15 -- Looking for include file endian.h 17:12:15 -- Looking for include file endian.h - found 17:12:15 -- Check if the system is big endian 17:12:15 -- Searching 16 bit integer 17:12:15 -- Looking for sys/types.h 17:12:15 -- Looking for sys/types.h - found 17:12:15 -- Looking for stdint.h 17:12:15 -- Looking for stdint.h - found 17:12:15 -- Looking for stddef.h 17:12:15 -- Looking for stddef.h - found 17:12:15 -- Check size of unsigned short 17:12:15 -- Check size of unsigned short - done 17:12:15 -- Using unsigned short 17:12:15 Removing intermediate container 345dd72b0f31 17:12:15 ---> d22d4bbc7e69 17:12:15 Step 7/21 : COPY VERSION /tmp/sdk 17:12:15 -- Check if the system is big endian - little endian 17:12:15 -- Check size of size_t 17:12:15 -- Check size of size_t - done 17:12:15 CMake Warning at examples/CMakeLists.txt:16 (find_package): 17:12:15 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 17:12:15 asked CMake to find a package configuration file provided by "cJSON", but 17:12:15 CMake did not find one. 17:12:15 17:12:15 Could not find a package configuration file provided by "cJSON" with any of 17:12:15 the following names: 17:12:15 17:12:15 cJSONConfig.cmake 17:12:15 cjson-config.cmake 17:12:15 17:12:15 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 17:12:15 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 17:12:15 provides a separate development package or SDK, be sure it has been 17:12:15 installed. 17:12:15 17:12:15 17:12:15 -- Configuring done 17:12:15 -- Generating done 17:12:16 -- Build files have been written to: /tmp/cbor 17:12:16 Scanning dependencies of target cbor_shared 17:12:16 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 17:12:16 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 17:12:16 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 17:12:16 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 17:12:16 ---> 63f4aad03fcc 17:12:16 Step 8/21 : COPY src /tmp/sdk/src 17:12:16 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 17:12:16 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 17:12:16 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 17:12:16 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 17:12:16 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 17:12:16 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 17:12:17 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 17:12:17 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 17:12:17 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 17:12:17 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 17:12:17 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 17:12:17 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 17:12:17 ---> 57b958695b73 17:12:17 Step 9/21 : COPY include /tmp/sdk/include 17:12:17 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 17:12:17 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 17:12:17 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 17:12:17 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 17:12:17 [ 40%] Linking C shared library libcbor.so 17:12:17 [ 40%] Built target cbor_shared 17:12:17 Scanning dependencies of target cbor 17:12:17 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 17:12:18 ---> e054ed80c64e 17:12:18 Step 10/21 : COPY scripts /tmp/sdk/scripts 17:12:18 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 17:12:18 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 17:12:18 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 17:12:18 ---> cb750ab61254 17:12:18 Step 11/21 : COPY LICENSE /tmp/sdk 17:12:18 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 17:12:18 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 17:12:18 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 17:12:18 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 17:12:19 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 17:12:19 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 17:12:19 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 17:12:19 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 17:12:19 ---> fb93fc5ad307 17:12:19 Step 12/21 : COPY Attribution.txt /tmp/sdk 17:12:19 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 17:12:19 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 17:12:19 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 17:12:19 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 17:12:19 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 17:12:19 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 17:12:19 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 17:12:19 ---> b5f290ae99e7 17:12:19 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 17:12:20 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 17:12:20 [ 80%] Linking C static library libcbor.a 17:12:20 [ 80%] Built target cbor 17:12:20 Scanning dependencies of target create_items 17:12:20 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 17:12:20 [ 84%] Linking C executable create_items 17:12:20 ---> Running in 71d9c730aa10 17:12:20 [ 84%] Built target create_items 17:12:20 Scanning dependencies of target readfile 17:12:20 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 17:12:20 [ 88%] Linking C executable readfile 17:12:20 [ 88%] Built target readfile 17:12:20 Scanning dependencies of target streaming_parser 17:12:20 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 17:12:20 [ 92%] Linking C executable streaming_parser 17:12:20 [ 92%] Built target streaming_parser 17:12:20 Scanning dependencies of target sort 17:12:20 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 17:12:20 [ 96%] Linking C executable sort 17:12:20 [ 96%] Built target sort 17:12:20 Scanning dependencies of target hello 17:12:20 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 17:12:20 [100%] Linking C executable hello 17:12:20 [100%] Built target hello 17:12:20 Install the project... 17:12:20 -- Install configuration: "Release" 17:12:20 -- Installing: /usr/local/include/cbor/configuration.h 17:12:20 -- Installing: /usr/local/lib64/libcbor.a 17:12:20 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 17:12:20 -- Installing: /usr/local/lib64/libcbor.so.0 17:12:20 -- Installing: /usr/local/lib64/libcbor.so 17:12:20 -- Up-to-date: /usr/local/include/cbor 17:12:20 -- Installing: /usr/local/include/cbor/arrays.h 17:12:20 -- Installing: /usr/local/include/cbor/bytestrings.h 17:12:20 -- Installing: /usr/local/include/cbor/callbacks.h 17:12:20 -- Installing: /usr/local/include/cbor/common.h 17:12:20 -- Installing: /usr/local/include/cbor/data.h 17:12:20 -- Installing: /usr/local/include/cbor/encoding.h 17:12:20 -- Installing: /usr/local/include/cbor/floats_ctrls.h 17:12:20 -- Installing: /usr/local/include/cbor/internal 17:12:20 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 17:12:20 -- Installing: /usr/local/include/cbor/internal/encoders.h 17:12:20 -- Installing: /usr/local/include/cbor/internal/loaders.h 17:12:20 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 17:12:20 -- Installing: /usr/local/include/cbor/internal/stack.h 17:12:20 -- Installing: /usr/local/include/cbor/internal/unicode.h 17:12:20 -- Installing: /usr/local/include/cbor/ints.h 17:12:20 -- Installing: /usr/local/include/cbor/maps.h 17:12:20 -- Installing: /usr/local/include/cbor/serialization.h 17:12:20 -- Installing: /usr/local/include/cbor/streaming.h 17:12:20 -- Installing: /usr/local/include/cbor/strings.h 17:12:20 -- Installing: /usr/local/include/cbor/tags.h 17:12:20 -- Installing: /usr/local/include/cbor.h 17:12:20 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 17:12:21 + CPPCHECK=false 17:12:21 + DOCGEN=false 17:12:21 + TOMLVER=SDK-0.2 17:12:21 + CUTILVER=1.1.1 17:12:21 + '[' 0 -gt 0 ] 17:12:21 + readlink -f ./scripts/build.sh 17:12:21 + dirname /tmp/sdk/scripts/build.sh 17:12:21 + dirname /tmp/sdk/scripts 17:12:21 + ROOT=/tmp/sdk 17:12:21 + cd /tmp/sdk 17:12:21 + '[' '!' -d deps ] 17:12:21 + mkdir deps 17:12:21 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 17:12:21 + tar -C deps -z -x -f - 17:12:21 --2020-09-30 17:12:21-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 17:12:21 Resolving github.com... 140.82.112.4 17:12:21 Connecting to github.com|140.82.112.4|:443... connected. 17:12:21 HTTP request sent, awaiting response... 302 Found 17:12:21 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 17:12:21 --2020-09-30 17:12:21-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 17:12:21 Resolving codeload.github.com... 140.82.112.10 17:12:21 Connecting to codeload.github.com|140.82.112.10|:443... connected. 17:12:21 HTTP request sent, awaiting response... 200 OK 17:12:21 Length: unspecified [application/x-gzip] 17:12:21 Saving to: 'STDOUT' 17:12:21  17:12:21 0K .......... ......  816K=0.02s 17:12:21 17:12:21 2020-09-30 17:12:21 (816 KB/s) - written to stdout [16451] 17:12:21 17:12:21 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 17:12:21 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.1.tar.gz 17:12:21 + tar -C deps -z -x -f - 17:12:21 --2020-09-30 17:12:21-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.1.tar.gz 17:12:22 Resolving github.com... 140.82.112.4 17:12:22 Connecting to github.com|140.82.112.4|:443... connected. 17:12:22 HTTP request sent, awaiting response... 302 Found 17:12:22 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.1 [following] 17:12:22 --2020-09-30 17:12:22-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.1 17:12:22 Resolving codeload.github.com... 140.82.112.10 17:12:22 Connecting to codeload.github.com|140.82.112.10|:443... connected. 17:12:22 HTTP request sent, awaiting response... 200 OK 17:12:22 Length: unspecified [application/x-gzip] 17:12:22 Saving to: 'STDOUT' 17:12:22  17:12:22 0K .......... .......... .......... .......... .......... 1.18M 17:12:22 50K .......... .......... .......... .......... .......... 2.37M 17:12:22 100K .......... .......... .......... .......... .......... 14.9M 17:12:22 150K .......... .......... ..... 1.94M=0.08s 17:12:22 17:12:22 2020-09-30 17:12:22 (2.20 MB/s) - written to stdout [179833] 17:12:22 17:12:22 + mkdir -p src/c/iot 17:12:22 + cp deps/iotech-c-utils-1.1.1/src/c/base64.c deps/iotech-c-utils-1.1.1/src/c/component.c deps/iotech-c-utils-1.1.1/src/c/config.c deps/iotech-c-utils-1.1.1/src/c/container.c deps/iotech-c-utils-1.1.1/src/c/data.c deps/iotech-c-utils-1.1.1/src/c/hash.c deps/iotech-c-utils-1.1.1/src/c/iot.c deps/iotech-c-utils-1.1.1/src/c/json.c deps/iotech-c-utils-1.1.1/src/c/logger.c deps/iotech-c-utils-1.1.1/src/c/os.c deps/iotech-c-utils-1.1.1/src/c/scheduler.c deps/iotech-c-utils-1.1.1/src/c/thread.c deps/iotech-c-utils-1.1.1/src/c/threadpool.c deps/iotech-c-utils-1.1.1/src/c/time.c deps/iotech-c-utils-1.1.1/src/c/yxml.c src/c/iot 17:12:22 + mkdir -p include/iot 17:12:22 + cp deps/iotech-c-utils-1.1.1/include/iot/base64.h deps/iotech-c-utils-1.1.1/include/iot/component.h deps/iotech-c-utils-1.1.1/include/iot/config.h deps/iotech-c-utils-1.1.1/include/iot/container.h deps/iotech-c-utils-1.1.1/include/iot/data.h deps/iotech-c-utils-1.1.1/include/iot/hash.h deps/iotech-c-utils-1.1.1/include/iot/iot.h deps/iotech-c-utils-1.1.1/include/iot/json.h deps/iotech-c-utils-1.1.1/include/iot/logger.h deps/iotech-c-utils-1.1.1/include/iot/os.h deps/iotech-c-utils-1.1.1/include/iot/scheduler.h deps/iotech-c-utils-1.1.1/include/iot/thread.h deps/iotech-c-utils-1.1.1/include/iot/threadpool.h deps/iotech-c-utils-1.1.1/include/iot/time.h deps/iotech-c-utils-1.1.1/include/iot/typecode.h deps/iotech-c-utils-1.1.1/include/iot/yxml.h include/iot 17:12:22 + mkdir -p include/iot/os 17:12:22 + cp deps/iotech-c-utils-1.1.1/include/iot/os/linux.h deps/iotech-c-utils-1.1.1/include/iot/os/macos.h deps/iotech-c-utils-1.1.1/include/iot/os/zephyr.h include/iot/os 17:12:22 + mkdir -p /tmp/sdk/build/release 17:12:22 + cd /tmp/sdk/build/release 17:12:22 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 17:12:23 -- The C compiler identification is GNU 8.3.0 17:12:23 -- Check for working C compiler: /usr/bin/cc 17:12:23 -- Check for working C compiler: /usr/bin/cc -- works 17:12:23 -- Detecting C compiler ABI info 17:12:23 Removing intermediate container afb87b1b5ff1 17:12:23 ---> e4ba390027dd 17:12:23 Step 6/21 : RUN mkdir /tmp/sdk 17:12:23 ---> Running in 9165f6d30bd8 17:12:23 -- Detecting C compiler ABI info - done 17:12:23 -- Detecting C compile features 17:12:24 -- Detecting C compile features - done 17:12:24 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 17:12:24 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 17:12:24 -- Found LIBYAML: /usr/lib/libyaml.so 17:12:24 -- Found LIBUUID: /usr/lib/libuuid.so 17:12:24 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 17:12:24 -- C SDK 0.0.0 for Linux 17:12:24 -- Performing Test CSDK_HAVE_ATOMIC 17:12:24 -- Performing Test CSDK_HAVE_ATOMIC - Success 17:12:24 Removing intermediate container 9165f6d30bd8 17:12:24 ---> 8612f41e9a2d 17:12:24 Step 7/21 : COPY VERSION /tmp/sdk 17:12:24 -- Found Curses: /usr/lib/libcurses.so 17:12:24 -- Configuring done 17:12:24 ---> d569866a581d 17:12:24 Step 8/21 : COPY src /tmp/sdk/src 17:12:24 -- Generating done 17:12:24 -- Build files have been written to: /tmp/sdk/build/release 17:12:24 + + maketee 17:12:24 release.log 17:12:24 Scanning dependencies of target csdk 17:12:25 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 17:12:25 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 17:12:25 ---> e5cf263f8c52 17:12:25 Step 9/21 : COPY include /tmp/sdk/include 17:12:25 ---> cb9a9f7b8fd3 17:12:25 Step 10/21 : COPY scripts /tmp/sdk/scripts 17:12:25 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 17:12:26 ---> 6ab43a952780 17:12:26 Step 11/21 : COPY LICENSE /tmp/sdk 17:12:26 ---> 3271bfdff08f 17:12:26 Step 12/21 : COPY Attribution.txt /tmp/sdk 17:12:26 ---> e2df7c9ce386 17:12:26 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 17:12:26 ---> Running in 56e37f536e62 17:12:27 + CPPCHECK=false 17:12:27 + DOCGEN=false 17:12:27 + TOMLVER=SDK-0.2 17:12:27 + CUTILVER=1.1.1 17:12:27 + '[' 0 -gt 0 ] 17:12:27 + readlink -f ./scripts/build.sh 17:12:27 + dirname /tmp/sdk/scripts/build.sh 17:12:27 + dirname /tmp/sdk/scripts 17:12:27 + ROOT=/tmp/sdk 17:12:27 + cd /tmp/sdk 17:12:27 + '[' '!' -d deps ] 17:12:27 + mkdir deps 17:12:27 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 17:12:27 + tar -C deps -z -x -f - 17:12:27 --2020-09-30 17:12:27-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 17:12:27 Resolving github.com... 140.82.112.4 17:12:27 Connecting to github.com|140.82.112.4|:443... connected. 17:12:27 HTTP request sent, awaiting response... 302 Found 17:12:27 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 17:12:27 --2020-09-30 17:12:27-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 17:12:27 Resolving codeload.github.com... 140.82.112.10 17:12:27 Connecting to codeload.github.com|140.82.112.10|:443... connected. 17:12:27 HTTP request sent, awaiting response... 200 OK 17:12:27 Length: unspecified [application/x-gzip] 17:12:27 Saving to: 'STDOUT' 17:12:27  17:12:27 0K .......... ......  980K=0.02s 17:12:27 17:12:27 2020-09-30 17:12:27 (980 KB/s) - written to stdout [16451] 17:12:27 17:12:27 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 17:12:27 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.1.tar.gz 17:12:27 + tar -C deps -z -x -f - 17:12:27 --2020-09-30 17:12:27-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.1.tar.gz 17:12:27 Resolving github.com... 140.82.112.4 17:12:27 Connecting to github.com|140.82.112.4|:443... connected. 17:12:27 HTTP request sent, awaiting response... 302 Found 17:12:27 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.1 [following] 17:12:27 --2020-09-30 17:12:27-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.1 17:12:27 Resolving codeload.github.com... 140.82.112.10 17:12:27 Connecting to codeload.github.com|140.82.112.10|:443... connected. 17:12:27 HTTP request sent, awaiting response... 200 OK 17:12:27 Length: unspecified [application/x-gzip] 17:12:27 Saving to: 'STDOUT' 17:12:27  17:12:27 0K .......... .......... .......... .......... .......... 1.53M 17:12:27 50K .......... .......... .......... .......... .......... 27.1M 17:12:27 100K .......... .......... .......... .......... .......... 3.01M 17:12:27 150K .......... .......... ..... 8.26M=0.05s 17:12:27 17:12:27 2020-09-30 17:12:27 (3.24 MB/s) - written to stdout [179833] 17:12:27 17:12:27 + mkdir -p src/c/iot 17:12:27 + cp deps/iotech-c-utils-1.1.1/src/c/base64.c deps/iotech-c-utils-1.1.1/src/c/component.c deps/iotech-c-utils-1.1.1/src/c/config.c deps/iotech-c-utils-1.1.1/src/c/container.c deps/iotech-c-utils-1.1.1/src/c/data.c deps/iotech-c-utils-1.1.1/src/c/hash.c deps/iotech-c-utils-1.1.1/src/c/iot.c deps/iotech-c-utils-1.1.1/src/c/json.c deps/iotech-c-utils-1.1.1/src/c/logger.c deps/iotech-c-utils-1.1.1/src/c/os.c deps/iotech-c-utils-1.1.1/src/c/scheduler.c deps/iotech-c-utils-1.1.1/src/c/thread.c deps/iotech-c-utils-1.1.1/src/c/threadpool.c deps/iotech-c-utils-1.1.1/src/c/time.c deps/iotech-c-utils-1.1.1/src/c/yxml.c src/c/iot 17:12:27 + mkdir -p include/iot 17:12:27 + cp deps/iotech-c-utils-1.1.1/include/iot/base64.h deps/iotech-c-utils-1.1.1/include/iot/component.h deps/iotech-c-utils-1.1.1/include/iot/config.h deps/iotech-c-utils-1.1.1/include/iot/container.h deps/iotech-c-utils-1.1.1/include/iot/data.h deps/iotech-c-utils-1.1.1/include/iot/hash.h deps/iotech-c-utils-1.1.1/include/iot/iot.h deps/iotech-c-utils-1.1.1/include/iot/json.h deps/iotech-c-utils-1.1.1/include/iot/logger.h deps/iotech-c-utils-1.1.1/include/iot/os.h deps/iotech-c-utils-1.1.1/include/iot/scheduler.h deps/iotech-c-utils-1.1.1/include/iot/thread.h deps/iotech-c-utils-1.1.1/include/iot/threadpool.h deps/iotech-c-utils-1.1.1/include/iot/time.h deps/iotech-c-utils-1.1.1/include/iot/typecode.h deps/iotech-c-utils-1.1.1/include/iot/yxml.h include/iot 17:12:27 + mkdir -p include/iot/os 17:12:27 + cp deps/iotech-c-utils-1.1.1/include/iot/os/linux.h deps/iotech-c-utils-1.1.1/include/iot/os/macos.h deps/iotech-c-utils-1.1.1/include/iot/os/zephyr.h include/iot/os 17:12:27 + mkdir -p /tmp/sdk/build/release 17:12:27 + cd /tmp/sdk/build/release 17:12:27 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 17:12:27 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 17:12:28 -- The C compiler identification is GNU 8.3.0 17:12:28 -- Check for working C compiler: /usr/bin/cc 17:12:28 -- Check for working C compiler: /usr/bin/cc -- works 17:12:28 -- Detecting C compiler ABI info 17:12:28 -- Detecting C compiler ABI info - done 17:12:28 -- Detecting C compile features 17:12:28 -- Detecting C compile features - done 17:12:28 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 17:12:28 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 17:12:28 -- Found LIBYAML: /usr/lib/libyaml.so 17:12:28 -- Found LIBUUID: /usr/lib/libuuid.so 17:12:28 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 17:12:28 -- C SDK 0.0.0 for Linux 17:12:28 -- Performing Test CSDK_HAVE_ATOMIC 17:12:28 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 17:12:28 -- Performing Test CSDK_HAVE_ATOMIC - Success 17:12:28 -- Found Curses: /usr/lib/libcurses.so 17:12:28 -- Configuring done 17:12:28 -- Generating done 17:12:28 -- Build files have been written to: /tmp/sdk/build/release 17:12:28 + make 17:12:28 + tee release.log 17:12:28 Scanning dependencies of target csdk 17:12:28 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 17:12:28 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 17:12:28 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 17:12:29 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 17:12:29 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 17:12:29 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 17:12:29 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 17:12:29 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 17:12:29 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 17:12:30 [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 17:12:30 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 17:12:31 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 17:12:31 [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 17:12:31 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 17:12:31 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 17:12:31 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 17:12:31 [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 17:12:32 [ 24%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 17:12:32 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 17:12:32 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 17:12:32 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 17:12:32 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 17:12:32 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 17:12:32 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 17:12:33 [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 17:12:33 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 17:12:33 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 17:12:33 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 17:12:33 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 17:12:33 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 17:12:33 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 17:12:33 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 17:12:33 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 17:12:34 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 17:12:34 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 17:12:34 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 17:12:34 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 17:12:34 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 17:12:35 [ 48%] Building C object c/CMakeFiles/csdk.dir/map.c.o 17:12:35 [ 50%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 17:12:35 [ 51%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 17:12:35 [ 53%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 17:12:36 [ 54%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 17:12:36 [ 56%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 17:12:36 [ 58%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 17:12:37 [ 59%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 17:12:37 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 17:12:37 [ 62%] Building C object c/CMakeFiles/csdk.dir/service.c.o 17:12:38 [ 64%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 17:12:38 [ 24%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 17:12:38 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 17:12:38 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 17:12:38 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 17:12:39 [ 66%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 17:12:39 [ 67%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 17:12:39 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 17:12:39 [ 69%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 17:12:39 [ 70%] Linking C shared library libcsdk.so 17:12:39 [ 70%] Built target csdk 17:12:39 Scanning dependencies of target template 17:12:39 [ 72%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 17:12:39 [ 74%] Linking C executable template 17:12:39 [ 74%] Built target template 17:12:39 Scanning dependencies of target device-counter 17:12:39 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 17:12:40 [ 77%] Linking C executable device-counter 17:12:40 [ 77%] Built target device-counter 17:12:40 Scanning dependencies of target device-random 17:12:40 [ 79%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 17:12:40 [ 80%] Linking C executable device-random 17:12:40 [ 80%] Built target device-random 17:12:40 Scanning dependencies of target device-gyro 17:12:40 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 17:12:40 [ 83%] Linking C executable device-gyro 17:12:40 [ 83%] Built target device-gyro 17:12:40 Scanning dependencies of target device-bitfields 17:12:40 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 17:12:40 [ 87%] Linking C executable device-bitfields 17:12:40 [ 87%] Built target device-bitfields 17:12:40 Scanning dependencies of target template-discovery 17:12:40 [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 17:12:40 [ 90%] Linking C executable template-discovery 17:12:41 [ 90%] Built target template-discovery 17:12:41 Scanning dependencies of target device-file 17:12:41 [ 91%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 17:12:41 [ 93%] Linking C executable device-file 17:12:41 [ 93%] Built target device-file 17:12:41 Scanning dependencies of target device-terminal 17:12:41 [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 17:12:41 [ 96%] Linking C executable device-terminal 17:12:41 [ 96%] Built target device-terminal 17:12:41 Scanning dependencies of target templatev1 17:12:41 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 17:12:41 [100%] Linking C executable templatev1 17:12:41 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 17:12:41 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 17:12:41 [100%] Built target templatev1 17:12:41 + make package 17:12:41 + tee -a release.log 17:12:41 [ 70%] Built target csdk 17:12:41 [ 74%] Built target template 17:12:41 [ 77%] Built target device-counter 17:12:41 [ 80%] Built target device-random 17:12:41 [ 83%] Built target device-gyro 17:12:41 [ 87%] Built target device-bitfields 17:12:41 [ 90%] Built target template-discovery 17:12:41 [ 93%] Built target device-file 17:12:41 [ 96%] Built target device-terminal 17:12:41 [100%] Built target templatev1 17:12:41 Run CPack packaging tool... 17:12:42 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 17:12:42 CPack: Create package using TGZ 17:12:42 CPack: Install projects 17:12:42 CPack: - Run preinstall target for: Csdk 17:12:42 CPack: - Install project: Csdk 17:12:42 CPack: Create package 17:12:42 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 17:12:42 + '[' false '=' true ] 17:12:42 + '[' false '=' true ] 17:12:42 + mkdir -p /tmp/sdk/build/debug 17:12:42 + cd /tmp/sdk/build/debug 17:12:42 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 17:12:42 -- The C compiler identification is GNU 8.3.0 17:12:42 -- Check for working C compiler: /usr/bin/cc 17:12:42 -- Check for working C compiler: /usr/bin/cc -- works 17:12:42 -- Detecting C compiler ABI info 17:12:42 -- Detecting C compiler ABI info - done 17:12:42 -- Detecting C compile features 17:12:42 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 17:12:43 -- Detecting C compile features - done 17:12:43 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 17:12:43 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 17:12:43 -- Found LIBYAML: /usr/lib/libyaml.so 17:12:43 -- Found LIBUUID: /usr/lib/libuuid.so 17:12:43 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 17:12:43 -- C SDK 0.0.0 for Linux 17:12:43 -- Performing Test CSDK_HAVE_ATOMIC 17:12:43 -- Performing Test CSDK_HAVE_ATOMIC - Success 17:12:43 -- Found Curses: /usr/lib/libcurses.so 17:12:43 -- Configuring done 17:12:43 -- Generating done 17:12:43 -- Build files have been written to: /tmp/sdk/build/debug 17:12:43 + make 17:12:43 + tee debug.log 17:12:43 Scanning dependencies of target csdk 17:12:43 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 17:12:43 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 17:12:43 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 17:12:43 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 17:12:43 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 17:12:43 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 17:12:43 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 17:12:43 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 17:12:43 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 17:12:44 [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 17:12:44 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 17:12:44 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 17:12:44 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 17:12:44 [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 17:12:44 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 17:12:44 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 17:12:44 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 17:12:44 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 17:12:44 [ 24%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 17:12:44 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 17:12:44 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 17:12:44 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 17:12:45 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 17:12:45 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 17:12:45 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 17:12:45 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 17:12:45 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 17:12:45 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 17:12:45 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 17:12:45 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 17:12:45 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 17:12:45 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 17:12:45 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 17:12:45 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 17:12:45 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 17:12:45 [ 48%] Building C object c/CMakeFiles/csdk.dir/map.c.o 17:12:46 [ 50%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 17:12:46 [ 51%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 17:12:46 [ 53%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 17:12:46 [ 54%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 17:12:46 [ 56%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 17:12:46 [ 58%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 17:12:47 [ 59%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 17:12:47 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 17:12:47 [ 62%] Building C object c/CMakeFiles/csdk.dir/service.c.o 17:12:47 [ 48%] Building C object c/CMakeFiles/csdk.dir/map.c.o 17:12:47 [ 64%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 17:12:47 [ 66%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 17:12:47 [ 50%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 17:12:47 [ 67%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 17:12:47 [ 69%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 17:12:48 [ 70%] Linking C shared library libcsdk.so 17:12:48 [ 70%] Built target csdk 17:12:48 Scanning dependencies of target template 17:12:48 [ 72%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 17:12:48 [ 74%] Linking C executable template 17:12:48 [ 74%] Built target template 17:12:48 Scanning dependencies of target device-counter 17:12:48 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 17:12:48 [ 77%] Linking C executable device-counter 17:12:48 [ 77%] Built target device-counter 17:12:48 Scanning dependencies of target device-random 17:12:48 [ 79%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 17:12:48 [ 80%] Linking C executable device-random 17:12:48 [ 80%] Built target device-random 17:12:48 Scanning dependencies of target device-gyro 17:12:48 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 17:12:48 [ 83%] Linking C executable device-gyro 17:12:48 [ 83%] Built target device-gyro 17:12:48 Scanning dependencies of target device-bitfields 17:12:48 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 17:12:48 [ 51%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 17:12:48 [ 87%] Linking C executable device-bitfields 17:12:48 [ 87%] Built target device-bitfields 17:12:48 Scanning dependencies of target template-discovery 17:12:48 [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 17:12:48 [ 90%] Linking C executable template-discovery 17:12:49 [ 53%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 17:12:49 [ 90%] Built target template-discovery 17:12:49 Scanning dependencies of target device-file 17:12:49 [ 91%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 17:12:49 [ 93%] Linking C executable device-file 17:12:49 [ 93%] Built target device-file 17:12:49 Scanning dependencies of target device-terminal 17:12:49 [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 17:12:49 [ 96%] Linking C executable device-terminal 17:12:49 [ 96%] Built target device-terminal 17:12:49 Scanning dependencies of target templatev1 17:12:49 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 17:12:49 [100%] Linking C executable templatev1 17:12:49 [100%] Built target templatev1 17:12:49 make: Entering directory '/tmp/sdk/build/release' 17:12:49 make[1]: Entering directory '/tmp/sdk/build/release' 17:12:49 make[2]: Entering directory '/tmp/sdk/build/release' 17:12:49 make[2]: Leaving directory '/tmp/sdk/build/release' 17:12:49 [ 70%] Built target csdk 17:12:49 make[2]: Entering directory '/tmp/sdk/build/release' 17:12:49 make[2]: Leaving directory '/tmp/sdk/build/release' 17:12:49 [ 74%] Built target template 17:12:49 make[2]: Entering directory '/tmp/sdk/build/release' 17:12:49 make[2]: Leaving directory '/tmp/sdk/build/release' 17:12:49 [ 77%] Built target device-counter 17:12:49 make[2]: Entering directory '/tmp/sdk/build/release' 17:12:49 make[2]: Leaving directory '/tmp/sdk/build/release' 17:12:49 [ 80%] Built target device-random 17:12:49 make[2]: Entering directory '/tmp/sdk/build/release' 17:12:49 make[2]: Leaving directory '/tmp/sdk/build/release' 17:12:49 [ 83%] Built target device-gyro 17:12:49 make[2]: Entering directory '/tmp/sdk/build/release' 17:12:49 make[2]: Leaving directory '/tmp/sdk/build/release' 17:12:49 [ 87%] Built target device-bitfields 17:12:49 make[2]: Entering directory '/tmp/sdk/build/release' 17:12:49 make[2]: Leaving directory '/tmp/sdk/build/release' 17:12:49 [ 90%] Built target template-discovery 17:12:49 make[2]: Entering directory '/tmp/sdk/build/release' 17:12:49 make[2]: Leaving directory '/tmp/sdk/build/release' 17:12:49 [ 93%] Built target device-file 17:12:49 make[2]: Entering directory '/tmp/sdk/build/release' 17:12:49 make[2]: Leaving directory '/tmp/sdk/build/release' 17:12:49 [ 96%] Built target device-terminal 17:12:49 make[2]: Entering directory '/tmp/sdk/build/release' 17:12:49 make[2]: Leaving directory '/tmp/sdk/build/release' 17:12:49 [100%] Built target templatev1 17:12:49 make[1]: Leaving directory '/tmp/sdk/build/release' 17:12:49 Install the project... 17:12:49 -- Install configuration: "Release" 17:12:49 -- Installing: /usr/local/lib/libcsdk.so 17:12:49 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 17:12:49 -- Up-to-date: /usr/local/include 17:12:49 -- Installing: /usr/local/include/devsdk 17:12:49 -- Installing: /usr/local/include/devsdk/devsdk-base.h 17:12:49 -- Installing: /usr/local/include/devsdk/devsdk.h 17:12:49 -- Installing: /usr/local/include/edgex 17:12:49 -- Installing: /usr/local/include/edgex/device-mgmt.h 17:12:49 -- Installing: /usr/local/include/edgex/devices.h 17:12:49 -- Installing: /usr/local/include/edgex/devsdk.h 17:12:49 -- Installing: /usr/local/include/edgex/edgex-base.h 17:12:49 -- Installing: /usr/local/include/edgex/edgex.h 17:12:49 -- Installing: /usr/local/include/edgex/error.h 17:12:49 -- Installing: /usr/local/include/edgex/eventgen.h 17:12:49 -- Installing: /usr/local/include/edgex/os.h 17:12:49 -- Installing: /usr/local/include/edgex/profiles.h 17:12:49 -- Installing: /usr/local/include/edgex/rest-server.h 17:12:49 -- Installing: /usr/local/include/edgex/csdk-defs.h 17:12:49 -- Installing: /usr/local/include/iot 17:12:49 -- Installing: /usr/local/include/iot/base64.h 17:12:49 -- Installing: /usr/local/include/iot/component.h 17:12:49 -- Installing: /usr/local/include/iot/config.h 17:12:49 -- Installing: /usr/local/include/iot/container.h 17:12:49 -- Installing: /usr/local/include/iot/data.h 17:12:49 -- Installing: /usr/local/include/iot/hash.h 17:12:49 -- Installing: /usr/local/include/iot/iot.h 17:12:49 -- Installing: /usr/local/include/iot/json.h 17:12:49 -- Installing: /usr/local/include/iot/logger.h 17:12:49 -- Installing: /usr/local/include/iot/os.h 17:12:49 -- Installing: /usr/local/include/iot/scheduler.h 17:12:49 -- Installing: /usr/local/include/iot/thread.h 17:12:49 -- Installing: /usr/local/include/iot/threadpool.h 17:12:49 -- Installing: /usr/local/include/iot/time.h 17:12:49 -- Installing: /usr/local/include/iot/typecode.h 17:12:49 -- Installing: /usr/local/include/iot/yxml.h 17:12:49 -- Installing: /usr/local/include/iot/os 17:12:49 -- Installing: /usr/local/include/iot/os/linux.h 17:12:49 -- Installing: /usr/local/include/iot/os/macos.h 17:12:49 -- Installing: /usr/local/include/iot/os/zephyr.h 17:12:49 -- Installing: /usr/local/share/device-sdk-c/LICENSE 17:12:49 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 17:12:49 make: Leaving directory '/tmp/sdk/build/release' 17:12:51 Removing intermediate container 56e37f536e62 17:12:51 ---> e2296aabcc03 17:12:51 Step 14/21 : FROM ${BASE} 17:12:51 ---> 5eabd8fd8ba2 17:12:51 Step 15/21 : MAINTAINER IOTech 17:12:51 ---> Running in 98dc64237497 17:12:52 Removing intermediate container 98dc64237497 17:12:52 ---> f1c4d0712145 17:12:52 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 17:12:52 ---> Running in 8bcaba52ca86 17:12:52 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 17:12:53 [ 54%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 17:12:53 [ 56%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 17:12:53 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 17:12:53 (1/3) Installing curl (7.64.0-r4) 17:12:53 (2/3) Installing libuuid (2.33-r0) 17:12:54 (3/3) Installing wget (1.20.3-r0) 17:12:54 Executing busybox-1.29.3-r10.trigger 17:12:54 OK: 268 MiB in 78 packages 17:12:54 [ 58%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 17:12:54 [ 59%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 17:12:54 Removing intermediate container 8bcaba52ca86 17:12:54 ---> d760da116dd7 17:12:54 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 17:12:54 ---> 85d2b9335790 17:12:54 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 17:12:55 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 17:12:55 ---> 1e4f83aaee21 17:12:55 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 17:12:55 ---> b5cc24156d77 17:12:55 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 17:12:55 ---> 9a2b77b6fef7 17:12:55 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 17:12:56 ---> 39f4d5070f55 17:12:56 Successfully built 39f4d5070f55 17:12:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } 17:12:56 [ 62%] Building C object c/CMakeFiles/csdk.dir/service.c.o [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:12:57 + docker inspect -f . ci-base-image-x86_64 17:12:57 . [Pipeline] withDockerContainer 17:12:57 prd-centos7-docker-4c-2g-2268 does not seem to be running inside a container 17:12:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:12:57 $ docker top 3ba4a8565dc70e7b1e0f2fe9b5bda5fb4494338f3242c1f7d45c3e87c23c476f -eo pid,comm [Pipeline] { [Pipeline] sh 17:12:58 [ 64%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 17:12:58 + make test 17:12:58 echo "make test" 17:12:58 make test [Pipeline] } 17:12:58 $ docker stop --time=1 3ba4a8565dc70e7b1e0f2fe9b5bda5fb4494338f3242c1f7d45c3e87c23c476f 17:12:59 $ docker rm -f 3ba4a8565dc70e7b1e0f2fe9b5bda5fb4494338f3242c1f7d45c3e87c23c476f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 17:13:01 [ 66%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 17:13:01 [ 67%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 17:13:03 [ 69%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [Pipeline] sh 17:13:03 [ 70%] Linking C shared library libcsdk.so 17:13:03 [ 70%] Built target csdk 17:13:03 Scanning dependencies of target template 17:13:03 [ 72%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 17:13:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:13:04 + ls -al . 17:13:04 total 160 17:13:04 drwxrwxr-x. 9 jenkins jenkins 275 Sep 30 17:11 . 17:13:04 drwxrwxr-x. 4 jenkins jenkins 28 Sep 30 17:11 .. 17:13:04 -rw-rw-r--. 1 jenkins jenkins 3104 Sep 30 17:11 Attribution.txt 17:13:04 -rw-rw-r--. 1 jenkins jenkins 5980 Sep 30 17:11 CHANGES 17:13:04 drwxrwxr-x. 2 jenkins jenkins 144 Sep 30 17:11 docs 17:13:04 -rw-rw-r--. 1 jenkins jenkins 108574 Sep 30 17:11 Doxyfile 17:13:04 drwxrwxr-x. 8 jenkins jenkins 179 Sep 30 17:11 .git 17:13:04 drwxrwxr-x. 2 jenkins jenkins 38 Sep 30 17:11 .github 17:13:04 -rw-rw-r--. 1 jenkins jenkins 176 Sep 30 17:11 .gitignore 17:13:04 drwxrwxr-x. 4 jenkins jenkins 33 Sep 30 17:11 include 17:13:04 -rw-rw-r--. 1 jenkins jenkins 794 Sep 30 17:11 Jenkinsfile 17:13:04 -rw-rw-r--. 1 jenkins jenkins 10174 Sep 30 17:11 LICENSE 17:13:04 -rw-rw-r--. 1 jenkins jenkins 449 Sep 30 17:11 Makefile 17:13:04 -rw-rw-r--. 1 jenkins jenkins 2697 Sep 30 17:11 README.md 17:13:04 -rw-rw-r--. 1 jenkins jenkins 5977 Sep 30 17:11 README.v2.md 17:13:04 drwxrwxr-x. 2 jenkins jenkins 108 Sep 30 17:11 scripts 17:13:04 drwxrwxr-x. 3 jenkins jenkins 72 Sep 30 17:12 .semver 17:13:04 drwxrwxr-x. 4 jenkins jenkins 50 Sep 30 17:11 src 17:13:04 -rw-rw-r--. 1 jenkins jenkins 5 Sep 30 17:08 VERSION [Pipeline] isUnix [Pipeline] sh 17:13:04 [ 74%] Linking C executable template 17:13:04 + 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=cb778972d1a428a8ecbc4be163887a2d5359f94c --label arch=amd64 --label version=0.0.0 . 17:13:04 [ 74%] Built target template 17:13:04 Scanning dependencies of target device-counter 17:13:04 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 17:13:04 Sending build context to Docker daemon 3.824MB 17:13:04 Step 1/15 : ARG BASE=alpine:3.11 17:13:04 Step 2/15 : FROM ${BASE} 17:13:04 ---> 39f4d5070f55 17:13:04 Step 3/15 : MAINTAINER IOTech 17:13:05 [ 77%] Linking C executable device-counter 17:13:05 [ 77%] Built target device-counter 17:13:05 Scanning dependencies of target device-random 17:13:05 ---> Running in d2bc081c5d3b 17:13:05 [ 79%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 17:13:05 Removing intermediate container d2bc081c5d3b 17:13:05 ---> d47769da5104 17:13:05 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 17:13:05 ---> Running in 7068cc2eab9c 17:13:05 [ 80%] Linking C executable device-random 17:13:06 [ 80%] Built target device-random 17:13:06 Scanning dependencies of target device-gyro 17:13:06 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 17:13:06 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 17:13:06 [ 83%] Linking C executable device-gyro 17:13:06 [ 83%] Built target device-gyro 17:13:06 Scanning dependencies of target device-bitfields 17:13:06 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 17:13:07 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 17:13:07 [ 87%] Linking C executable device-bitfields 17:13:07 [ 87%] Built target device-bitfields 17:13:07 Scanning dependencies of target template-discovery 17:13:07 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 17:13:07 (2/6) Installing libblkid (2.33-r0) 17:13:07 (3/6) Installing libfdisk (2.33-r0) 17:13:07 [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 17:13:07 (4/6) Installing libmount (2.33-r0) 17:13:07 (5/6) Installing libsmartcols (2.33-r0) 17:13:07 (6/6) Installing util-linux-dev (2.33-r0) 17:13:08 [ 90%] Linking C executable template-discovery 17:13:08 Executing busybox-1.29.3-r10.trigger 17:13:08 OK: 272 MiB in 84 packages 17:13:08 [ 90%] Built target template-discovery 17:13:08 Scanning dependencies of target device-file 17:13:08 [ 91%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 17:13:08 Removing intermediate container 7068cc2eab9c 17:13:08 ---> 7037c4de2a7e 17:13:08 Step 5/15 : COPY VERSION /edgex-c-sdk/ 17:13:09 [ 93%] Linking C executable device-file 17:13:09 [ 93%] Built target device-file 17:13:09 Scanning dependencies of target device-terminal 17:13:09 ---> 814523f47843 17:13:09 Step 6/15 : COPY src /edgex-c-sdk/src/ 17:13:09 [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 17:13:09 [ 96%] Linking C executable device-terminal 17:13:09 ---> d8185dae0283 17:13:09 Step 7/15 : COPY include /edgex-c-sdk/include/ 17:13:09 [ 96%] Built target device-terminal 17:13:09 Scanning dependencies of target templatev1 17:13:09 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 17:13:10 ---> a81a2e3a4d33 17:13:10 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 17:13:10 ---> 4c995e3e3df4 17:13:10 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 17:13:10 [100%] Linking C executable templatev1 17:13:10 ---> 1e42c9417bbf 17:13:10 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 17:13:10 ---> 702ff261b40c 17:13:10 Step 11/15 : WORKDIR /edgex-c-sdk 17:13:10 [100%] Built target templatev1 17:13:10 + make package 17:13:10 + tee -a release.log 17:13:10 ---> Running in d7c0ef29c79f 17:13:10 Removing intermediate container d7c0ef29c79f 17:13:10 ---> 39415e288368 17:13:10 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 17:13:11 [ 70%] Built target csdk 17:13:11 [ 74%] Built target template 17:13:11 [ 77%] Built target device-counter 17:13:11 [ 80%] Built target device-random 17:13:11 [ 83%] Built target device-gyro 17:13:11 [ 87%] Built target device-bitfields 17:13:11 ---> Running in 17bed0e9394c 17:13:11 Removing intermediate container 17bed0e9394c 17:13:11 ---> 721376faef50 17:13:11 Step 13/15 : LABEL arch=amd64 17:13:11 ---> Running in 35b28aeaff04 17:13:11 [ 90%] Built target template-discovery 17:13:11 [ 93%] Built target device-file 17:13:11 [ 96%] Built target device-terminal 17:13:11 [100%] Built target templatev1 17:13:11 Run CPack packaging tool... 17:13:11 CPack: Create package using TGZ 17:13:11 CPack: Install projects 17:13:11 CPack: - Run preinstall target for: Csdk 17:13:11 Removing intermediate container 35b28aeaff04 17:13:11 ---> 97fde41ffd7c 17:13:11 Step 14/15 : LABEL git_sha=cb778972d1a428a8ecbc4be163887a2d5359f94c 17:13:11 ---> Running in bd20a86e37c2 17:13:11 Removing intermediate container bd20a86e37c2 17:13:11 ---> 96163b892adb 17:13:11 Step 15/15 : LABEL version=0.0.0 17:13:11 ---> Running in 3dc5b46a50d9 17:13:11 CPack: - Install project: Csdk 17:13:11 CPack: Create package 17:13:11 Removing intermediate container 3dc5b46a50d9 17:13:11 ---> 294ec5f2f460 17:13:11 [Warning] One or more build-args [ARCH MAKE] were not consumed 17:13:11 Successfully built 294ec5f2f460 17:13:11 Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } 17:13:12 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 17:13:12 + '[' false '=' true ] 17:13:12 + '[' false '=' true ] 17:13:12 + mkdir -p /tmp/sdk/build/debug 17:13:12 + cd /tmp/sdk/build/debug 17:13:12 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } 17:13:12 -- The C compiler identification is GNU 8.3.0 17:13:12 -- Check for working C compiler: /usr/bin/cc [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) 17:13:12 -- Check for working C compiler: /usr/bin/cc -- works 17:13:12 -- Detecting C compiler ABI info Stage "Snap" skipped due to when conditional [Pipeline] } 17:13:13 -- Detecting C compiler ABI info - done 17:13:13 -- Detecting C compile features [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } 17:13:13 -- Detecting C compile features - done [Pipeline] // node [Pipeline] } 17:13:13 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 17:13:13 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 17:13:13 -- Found LIBYAML: /usr/lib/libyaml.so 17:13:13 -- Found LIBUUID: /usr/lib/libuuid.so 17:13:13 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 17:13:13 -- C SDK 0.0.0 for Linux 17:13:13 -- Performing Test CSDK_HAVE_ATOMIC [Pipeline] // stage [Pipeline] } 17:13:14 -- Performing Test CSDK_HAVE_ATOMIC - Success 17:13:14 -- Found Curses: /usr/lib/libcurses.so 17:13:14 -- Configuring done 17:13:14 -- Generating done 17:13:14 -- Build files have been written to: /tmp/sdk/build/debug 17:13:14 + make 17:13:14 + tee debug.log 17:13:14 Scanning dependencies of target csdk 17:13:14 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 17:13:15 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 17:13:15 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 17:13:15 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 17:13:16 [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 17:13:16 [ 9%] Building C object c/CMakeFiles/csdk.dir/data.c.o 17:13:16 [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o 17:13:17 [ 12%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 17:13:17 [ 14%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 17:13:17 [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 17:13:18 [ 17%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 17:13:18 [ 19%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 17:13:18 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 17:13:19 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 17:13:20 [ 24%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 17:13:20 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 17:13:20 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 17:13:20 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 17:13:20 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 17:13:21 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 17:13:21 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 17:13:21 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 17:13:21 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 17:13:22 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 17:13:22 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 17:13:22 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 17:13:23 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 17:13:23 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 17:13:23 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 17:13:23 [ 48%] Building C object c/CMakeFiles/csdk.dir/map.c.o 17:13:23 [ 50%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 17:13:24 [ 51%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 17:13:24 [ 53%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 17:13:25 [ 54%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 17:13:26 [ 56%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 17:13:26 [ 58%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 17:13:26 [ 59%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 17:13:26 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 17:13:27 [ 62%] Building C object c/CMakeFiles/csdk.dir/service.c.o 17:13:28 [ 64%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 17:13:28 [ 66%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 17:13:29 [ 67%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 17:13:29 [ 69%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 17:13:29 [ 70%] Linking C shared library libcsdk.so 17:13:29 [ 70%] Built target csdk 17:13:29 Scanning dependencies of target template 17:13:29 [ 72%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 17:13:30 [ 74%] Linking C executable template 17:13:30 [ 74%] Built target template 17:13:30 Scanning dependencies of target device-counter 17:13:30 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 17:13:30 [ 77%] Linking C executable device-counter 17:13:31 [ 77%] Built target device-counter 17:13:31 Scanning dependencies of target device-random 17:13:31 [ 79%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 17:13:31 [ 80%] Linking C executable device-random 17:13:31 [ 80%] Built target device-random 17:13:31 Scanning dependencies of target device-gyro 17:13:31 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 17:13:31 [ 83%] Linking C executable device-gyro 17:13:32 [ 83%] Built target device-gyro 17:13:32 Scanning dependencies of target device-bitfields 17:13:32 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 17:13:32 [ 87%] Linking C executable device-bitfields 17:13:32 [ 87%] Built target device-bitfields 17:13:32 Scanning dependencies of target template-discovery 17:13:32 [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 17:13:33 [ 90%] Linking C executable template-discovery 17:13:33 [ 90%] Built target template-discovery 17:13:33 Scanning dependencies of target device-file 17:13:33 [ 91%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 17:13:33 [ 93%] Linking C executable device-file 17:13:33 [ 93%] Built target device-file 17:13:33 Scanning dependencies of target device-terminal 17:13:33 [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 17:13:34 [ 96%] Linking C executable device-terminal 17:13:34 [ 96%] Built target device-terminal 17:13:34 Scanning dependencies of target templatev1 17:13:34 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 17:13:34 [100%] Linking C executable templatev1 17:13:34 [100%] Built target templatev1 17:13:34 make: Entering directory '/tmp/sdk/build/release' 17:13:34 make[1]: Entering directory '/tmp/sdk/build/release' 17:13:34 make[2]: Entering directory '/tmp/sdk/build/release' 17:13:34 make[2]: Leaving directory '/tmp/sdk/build/release' 17:13:34 [ 70%] Built target csdk 17:13:34 make[2]: Entering directory '/tmp/sdk/build/release' 17:13:34 make[2]: Leaving directory '/tmp/sdk/build/release' 17:13:34 [ 74%] Built target template 17:13:34 make[2]: Entering directory '/tmp/sdk/build/release' 17:13:34 make[2]: Leaving directory '/tmp/sdk/build/release' 17:13:34 [ 77%] Built target device-counter 17:13:34 make[2]: Entering directory '/tmp/sdk/build/release' 17:13:35 make[2]: Leaving directory '/tmp/sdk/build/release' 17:13:35 [ 80%] Built target device-random 17:13:35 make[2]: Entering directory '/tmp/sdk/build/release' 17:13:35 make[2]: Leaving directory '/tmp/sdk/build/release' 17:13:35 [ 83%] Built target device-gyro 17:13:35 make[2]: Entering directory '/tmp/sdk/build/release' 17:13:35 make[2]: Leaving directory '/tmp/sdk/build/release' 17:13:35 [ 87%] Built target device-bitfields 17:13:35 make[2]: Entering directory '/tmp/sdk/build/release' 17:13:35 make[2]: Leaving directory '/tmp/sdk/build/release' 17:13:35 [ 90%] Built target template-discovery 17:13:35 make[2]: Entering directory '/tmp/sdk/build/release' 17:13:35 make[2]: Leaving directory '/tmp/sdk/build/release' 17:13:35 [ 93%] Built target device-file 17:13:35 make[2]: Entering directory '/tmp/sdk/build/release' 17:13:35 make[2]: Leaving directory '/tmp/sdk/build/release' 17:13:35 [ 96%] Built target device-terminal 17:13:35 make[2]: Entering directory '/tmp/sdk/build/release' 17:13:35 make[2]: Leaving directory '/tmp/sdk/build/release' 17:13:35 [100%] Built target templatev1 17:13:35 make[1]: Leaving directory '/tmp/sdk/build/release' 17:13:35 Install the project... 17:13:35 -- Install configuration: "Release" 17:13:35 -- Installing: /usr/local/lib/libcsdk.so 17:13:35 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 17:13:35 -- Up-to-date: /usr/local/include 17:13:35 -- Installing: /usr/local/include/edgex 17:13:35 -- Installing: /usr/local/include/edgex/device-mgmt.h 17:13:35 -- Installing: /usr/local/include/edgex/eventgen.h 17:13:35 -- Installing: /usr/local/include/edgex/error.h 17:13:35 -- Installing: /usr/local/include/edgex/rest-server.h 17:13:35 -- Installing: /usr/local/include/edgex/edgex-base.h 17:13:35 -- Installing: /usr/local/include/edgex/devsdk.h 17:13:35 -- Installing: /usr/local/include/edgex/edgex.h 17:13:35 -- Installing: /usr/local/include/edgex/devices.h 17:13:35 -- Installing: /usr/local/include/edgex/os.h 17:13:35 -- Installing: /usr/local/include/edgex/profiles.h 17:13:35 -- Installing: /usr/local/include/edgex/csdk-defs.h 17:13:35 -- Installing: /usr/local/include/devsdk 17:13:35 -- Installing: /usr/local/include/devsdk/devsdk-base.h 17:13:35 -- Installing: /usr/local/include/devsdk/devsdk.h 17:13:35 -- Installing: /usr/local/include/iot 17:13:35 -- Installing: /usr/local/include/iot/json.h 17:13:35 -- Installing: /usr/local/include/iot/yxml.h 17:13:35 -- Installing: /usr/local/include/iot/container.h 17:13:35 -- Installing: /usr/local/include/iot/component.h 17:13:35 -- Installing: /usr/local/include/iot/typecode.h 17:13:35 -- Installing: /usr/local/include/iot/iot.h 17:13:35 -- Installing: /usr/local/include/iot/time.h 17:13:35 -- Installing: /usr/local/include/iot/hash.h 17:13:35 -- Installing: /usr/local/include/iot/logger.h 17:13:35 -- Installing: /usr/local/include/iot/os 17:13:35 -- Installing: /usr/local/include/iot/os/zephyr.h 17:13:35 -- Installing: /usr/local/include/iot/os/linux.h 17:13:35 -- Installing: /usr/local/include/iot/os/macos.h 17:13:35 -- Installing: /usr/local/include/iot/scheduler.h 17:13:35 -- Installing: /usr/local/include/iot/data.h 17:13:35 -- Installing: /usr/local/include/iot/thread.h 17:13:35 -- Installing: /usr/local/include/iot/os.h 17:13:35 -- Installing: /usr/local/include/iot/base64.h 17:13:35 -- Installing: /usr/local/include/iot/threadpool.h 17:13:35 -- Installing: /usr/local/include/iot/config.h 17:13:35 -- Installing: /usr/local/share/device-sdk-c/LICENSE 17:13:35 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 17:13:35 make: Leaving directory '/tmp/sdk/build/release' 17:13:37 Removing intermediate container 71d9c730aa10 17:13:37 ---> 5a2d248ac1e5 17:13:37 Step 14/21 : FROM ${BASE} 17:13:37 ---> b23d30803547 17:13:37 Step 15/21 : MAINTAINER IOTech 17:13:37 ---> Running in fcacea1d8802 17:13:38 Removing intermediate container fcacea1d8802 17:13:38 ---> 302bf714f783 17:13:38 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 17:13:38 ---> Running in f448d57d8d27 17:13:39 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 17:13:40 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 17:13:40 (1/3) Installing curl (7.64.0-r4) 17:13:40 (2/3) Installing libuuid (2.33-r0) 17:13:40 (3/3) Installing wget (1.20.3-r0) 17:13:41 Executing busybox-1.29.3-r10.trigger 17:13:41 OK: 281 MiB in 78 packages 17:13:42 Removing intermediate container f448d57d8d27 17:13:42 ---> 53d552d1de6e 17:13:42 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 17:13:43 ---> 06be53186567 17:13:43 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 17:13:44 ---> 24d8f862e06c 17:13:44 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 17:13:44 ---> f301eb38d37d 17:13:44 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 17:13:45 ---> 778bbf46fdca 17:13:45 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 17:13:46 ---> 3f058ce2317e 17:13:46 Successfully built 3f058ce2317e 17:13:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:13:47 + docker inspect -f . ci-base-image-arm64 17:13:47 . [Pipeline] withDockerContainer 17:13:47 prd-ubuntu18.04-docker-arm64-4c-16g-2267 does not seem to be running inside a container 17:13:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:13:49 $ docker top 1428f397c5d9a8bb7a34136862fa3aa1e6a696c8cc74b34163a8e640d551241d -eo pid,comm [Pipeline] { [Pipeline] sh 17:13:51 + make test 17:13:51 echo "make test" 17:13:51 make test [Pipeline] } 17:13:51 $ docker stop --time=1 1428f397c5d9a8bb7a34136862fa3aa1e6a696c8cc74b34163a8e640d551241d 17:13:53 $ docker rm -f 1428f397c5d9a8bb7a34136862fa3aa1e6a696c8cc74b34163a8e640d551241d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:13:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:13:54 + ls -al . 17:13:54 total 196 17:13:54 drwxrwxr-x 9 jenkins jenkins 4096 Sep 30 17:11 . 17:13:54 drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 17:11 .. 17:13:54 drwxrwxr-x 8 jenkins jenkins 4096 Sep 30 17:11 .git 17:13:54 drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 17:11 .github 17:13:54 -rw-rw-r-- 1 jenkins jenkins 176 Sep 30 17:11 .gitignore 17:13:54 drwxrwxr-x 3 jenkins jenkins 4096 Sep 30 17:11 .semver 17:13:54 -rw-rw-r-- 1 jenkins jenkins 3104 Sep 30 17:11 Attribution.txt 17:13:54 -rw-rw-r-- 1 jenkins jenkins 5980 Sep 30 17:11 CHANGES 17:13:54 -rw-rw-r-- 1 jenkins jenkins 108574 Sep 30 17:11 Doxyfile 17:13:54 -rw-rw-r-- 1 jenkins jenkins 794 Sep 30 17:11 Jenkinsfile 17:13:54 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 30 17:11 LICENSE 17:13:54 -rw-rw-r-- 1 jenkins jenkins 449 Sep 30 17:11 Makefile 17:13:54 -rw-rw-r-- 1 jenkins jenkins 2697 Sep 30 17:11 README.md 17:13:54 -rw-rw-r-- 1 jenkins jenkins 5977 Sep 30 17:11 README.v2.md 17:13:54 -rw-rw-r-- 1 jenkins jenkins 5 Sep 30 17:08 VERSION 17:13:54 drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 17:11 docs 17:13:54 drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 17:11 include 17:13:54 drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 17:11 scripts 17:13:54 drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 17:11 src [Pipeline] isUnix [Pipeline] sh 17:13:55 + 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=cb778972d1a428a8ecbc4be163887a2d5359f94c --label arch=arm64 --label version=0.0.0 . 17:13:55 Sending build context to Docker daemon 3.824MB 17:13:55 Step 1/15 : ARG BASE=alpine:3.11 17:13:55 Step 2/15 : FROM ${BASE} 17:13:55 ---> 3f058ce2317e 17:13:55 Step 3/15 : MAINTAINER IOTech 17:13:56 ---> Running in 35e8545b8f72 17:13:56 Removing intermediate container 35e8545b8f72 17:13:56 ---> 74c9d4933ff3 17:13:56 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 17:13:56 ---> Running in ceb86b55bb8e 17:13:58 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 17:13:58 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 17:13:59 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 17:13:59 (2/6) Installing libblkid (2.33-r0) 17:13:59 (3/6) Installing libfdisk (2.33-r0) 17:13:59 (4/6) Installing libmount (2.33-r0) 17:13:59 (5/6) Installing libsmartcols (2.33-r0) 17:13:59 (6/6) Installing util-linux-dev (2.33-r0) 17:14:00 Executing busybox-1.29.3-r10.trigger 17:14:00 OK: 286 MiB in 84 packages 17:14:01 Removing intermediate container ceb86b55bb8e 17:14:01 ---> 8eca17755e55 17:14:01 Step 5/15 : COPY VERSION /edgex-c-sdk/ 17:14:02 ---> 71ed0f77050e 17:14:02 Step 6/15 : COPY src /edgex-c-sdk/src/ 17:14:03 ---> e9e54f41046d 17:14:03 Step 7/15 : COPY include /edgex-c-sdk/include/ 17:14:03 ---> 12a53828ba84 17:14:03 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 17:14:04 ---> 493344d8c03f 17:14:04 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 17:14:05 ---> c027d6353c12 17:14:05 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 17:14:06 ---> a63996d1549e 17:14:06 Step 11/15 : WORKDIR /edgex-c-sdk 17:14:06 ---> Running in b9f619025b16 17:14:06 Removing intermediate container b9f619025b16 17:14:06 ---> aa821b637bed 17:14:06 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 17:14:06 ---> Running in 1af88c3828d0 17:14:07 Removing intermediate container 1af88c3828d0 17:14:07 ---> aad435fb8fdb 17:14:07 Step 13/15 : LABEL arch=arm64 17:14:07 ---> Running in cd75d654c8d3 17:14:07 Removing intermediate container cd75d654c8d3 17:14:07 ---> 3afab29c56bf 17:14:07 Step 14/15 : LABEL git_sha=cb778972d1a428a8ecbc4be163887a2d5359f94c 17:14:07 ---> Running in 0c0fade6be79 17:14:08 Removing intermediate container 0c0fade6be79 17:14:08 ---> 1918c668fe72 17:14:08 Step 15/15 : LABEL version=0.0.0 17:14:08 ---> Running in 0af3107df7c3 17:14:08 Removing intermediate container 0af3107df7c3 17:14:08 ---> 9ffd09c4a7d5 17:14:08 [Warning] One or more build-args [ARCH MAKE] were not consumed 17:14:09 Successfully built 9ffd09c4a7d5 17:14:09 Successfully tagged docker-device-sdk-c-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 17:14:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:14:14 ---> package-listing.sh 17:14:14 ++ facter osfamily 17:14:14 ++ tr '[:upper:]' '[:lower:]' 17:14:14 + OS_FAMILY=redhat 17:14:14 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-298 17:14:14 + START_PACKAGES=/tmp/packages_start.txt 17:14:14 + END_PACKAGES=/tmp/packages_end.txt 17:14:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:14:14 + PACKAGES=/tmp/packages_start.txt 17:14:14 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-298 ']' 17:14:14 + PACKAGES=/tmp/packages_end.txt 17:14:14 + case "${OS_FAMILY}" in 17:14:14 + rpm -qa 17:14:14 + sort 17:14:18 + '[' -f /tmp/packages_start.txt ']' 17:14:18 + '[' -f /tmp/packages_end.txt ']' 17:14:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:14:18 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-298 ']' 17:14:18 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-298/archives/ 17:14:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-298/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:14:19 provisioning config files... 17:14:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-298@tmp/config4164482080717299843tmp [Pipeline] { [Pipeline] echo 17:14:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:14:19 ---> create-netrc.sh [Pipeline] } 17:14:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 17:14:19 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 17:14:20 ---> python-tools-install.sh 17:14:20 Generating Requirements File 17:15:27 Python 3.6.8 17:15:28 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 17:15:28 aiohttp==3.6.2 17:15:28 appdirs==1.4.3 17:15:28 argcomplete==1.12.1 17:15:28 aspy.yaml==1.3.0 17:15:28 async-timeout==3.0.1 17:15:28 attrs==19.3.0 17:15:28 Babel==2.8.0 17:15:28 beautifulsoup4==4.8.2 17:15:28 boto3==1.11.6 17:15:28 botocore==1.14.6 17:15:28 bs4==0.0.1 17:15:28 cachetools==4.1.1 17:15:28 certifi==2019.11.28 17:15:28 cffi==1.14.3 17:15:28 cfgv==2.0.1 17:15:28 chardet==3.0.4 17:15:28 click==7.1 17:15:28 cliff==3.4.0 17:15:28 cmd2==1.3.10 17:15:28 colorama==0.4.3 17:15:28 cryptography==3.1.1 17:15:28 debtcollector==2.2.0 17:15:28 decorator==4.4.2 17:15:28 defusedxml==0.6.0 17:15:28 Deprecated==1.2.7 17:15:28 distlib==0.3.1 17:15:28 distro==1.2.0 17:15:28 dnspython==1.16.0 17:15:28 docker==4.2.0 17:15:28 docutils==0.15.2 17:15:28 dogpile.cache==1.0.2 17:15:28 email-validator==1.0.5 17:15:28 filelock==3.0.12 17:15:28 future==0.18.2 17:15:28 google-auth==1.22.0 17:15:28 httplib2==0.17.0 17:15:28 identify==1.4.11 17:15:28 idna==2.9 17:15:28 idna-ssl==1.1.0 17:15:28 importlib-metadata==1.7.0 17:15:28 importlib-resources==1.5.0 17:15:28 iso8601==0.1.13 17:15:28 Jinja2==2.11.1 17:15:28 jmespath==0.10.0 17:15:28 jsonpatch==1.26 17:15:28 jsonpointer==2.0 17:15:28 jsonschema==3.2.0 17:15:28 keystoneauth1==4.2.1 17:15:28 kubernetes==11.0.0 17:15:28 lftools==0.34.2 17:15:28 lxml==4.5.0 17:15:28 MarkupSafe==0.23 17:15:28 msgpack==1.0.0 17:15:28 multi-key-dict==2.0.3 17:15:28 multidict==4.7.6 17:15:28 munch==2.5.0 17:15:28 netaddr==0.8.0 17:15:28 netifaces==0.10.9 17:15:28 niet==1.4.2 17:15:28 nodeenv==1.3.5 17:15:28 oauth2client==4.1.3 17:15:28 oauthlib==3.1.0 17:15:28 openstacksdk==0.50.0 17:15:28 os-client-config==2.1.0 17:15:28 os-service-types==1.7.0 17:15:28 osc-lib==2.2.1 17:15:28 oslo.config==8.3.2 17:15:28 oslo.context==3.1.1 17:15:28 oslo.i18n==5.0.1 17:15:28 oslo.log==4.4.0 17:15:28 oslo.serialization==4.0.1 17:15:28 oslo.utils==4.6.0 17:15:28 packaging==20.4 17:15:28 pbr==5.4.4 17:15:28 pluggy==0.13.1 17:15:28 prettytable==0.7.2 17:15:28 py==1.9.0 17:15:28 pyasn1==0.4.8 17:15:28 pyasn1-modules==0.2.8 17:15:28 pycparser==2.20 17:15:28 pygerrit2==2.0.10 17:15:28 PyGithub==1.46 17:15:28 pyinotify==0.9.6 17:15:28 PyJWT==1.7.1 17:15:28 pyparsing==2.4.7 17:15:28 pyperclip==1.8.0 17:15:28 pyroute2==0.4.13 17:15:28 pyrsistent==0.15.7 17:15:28 PySocks==1.6.8 17:15:28 python-cinderclient==7.2.0 17:15:28 python-dateutil==2.8.1 17:15:28 python-heatclient==2.2.1 17:15:28 python-jenkins==1.7.0 17:15:28 python-keystoneclient==4.1.1 17:15:28 python-magnumclient==3.2.1 17:15:28 python-novaclient==17.2.1 17:15:28 python-openstackclient==5.3.1 17:15:28 python-swiftclient==3.10.1 17:15:28 pytz==2020.1 17:15:28 PyYAML==5.3 17:15:28 requests==2.23.0 17:15:28 requests-oauthlib==1.3.0 17:15:28 requestsexceptions==1.4.0 17:15:28 rfc3986==1.4.0 17:15:28 rpm==4.11.3 17:15:28 rsa==4.0 17:15:28 ruamel.yaml==0.16.10 17:15:28 ruamel.yaml.clib==0.2.0 17:15:28 s3transfer==0.3.3 17:15:28 shade==1.27.2 17:15:28 simplejson==3.17.2 17:15:28 six==1.14.0 17:15:28 soupsieve==2.0 17:15:28 stevedore==3.2.2 17:15:28 tabulate==0.8.6 17:15:28 toml==0.10.0 17:15:28 tox==3.20.0 17:15:28 tqdm==4.43.0 17:15:28 typing-extensions==3.7.4.3 17:15:28 urllib3==1.25.8 17:15:28 virtualenv==20.0.31 17:15:28 wcwidth==0.2.5 17:15:28 websocket-client==0.57.0 17:15:28 wrapt==1.12.1 17:15:28 xdg==3.0.2 17:15:28 xmltodict==0.12.0 17:15:28 yarl==1.6.0 17:15:28 yq==2.11.1 17:15:28 zipp==3.2.0 17:15:29 Cache entry deserialization failed, entry ignored 17:15:32 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 17:15:34 Python 2.7.5 17:15:34 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 17:15:35 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 17:15:35 ansible==2.9.7 17:15:35 Babel==0.9.6 17:15:35 backports.ssl-match-hostname==3.5.0.1 17:15:35 beautifulsoup4==4.4.1 17:15:35 bodhi==2.11.0 17:15:35 bodhi-client==2.11.0 17:15:35 CCColUtils==1.4 17:15:35 cffi==1.6.0 17:15:35 chardet==2.2.1 17:15:35 click==6.7 17:15:35 cloud-init==18.5 17:15:35 configobj==4.7.2 17:15:35 cryptography==1.7.2 17:15:35 decorator==3.4.0 17:15:35 distro==1.2.0 17:15:35 enum34==1.0.4 17:15:35 fedpkg==1.38 17:15:35 futures==3.1.1 17:15:35 gitdb==0.6.4 17:15:35 GitPython==1.0.1 17:15:35 html5lib==0.999 17:15:35 httplib2==0.9.2 17:15:35 idna==2.4 17:15:35 iniparse==0.4 17:15:35 ipaddress==1.0.16 17:15:35 IPy==0.75 17:15:35 javapackages==1.0.0 17:15:35 Jinja2==2.7.2 17:15:35 jmespath==0.9.4 17:15:35 jsonpatch==1.2 17:15:35 jsonpointer==1.9 17:15:35 kerberos==1.1 17:15:35 kitchen==1.1.1 17:15:35 langtable==0.0.31 17:15:35 lockfile==0.9.1 17:15:35 lxml==3.2.1 17:15:35 MarkupSafe==0.11 17:15:35 munch==2.0.2 17:15:35 offtrac==0.1.0 17:15:35 openidc-client==0.6.0 17:15:35 packagedb-cli==2.14.1 17:15:35 paramiko==2.1.1 17:15:35 perf==0.1 17:15:35 ply==3.4 17:15:35 policycoreutils-default-encoding==0.1 17:15:35 prettytable==0.7.2 17:15:35 pyasn1==0.1.9 17:15:35 pycparser==2.14 17:15:35 pycurl==7.19.0 17:15:35 pygobject==3.22.0 17:15:35 pygpgme==0.3 17:15:35 pyliblzma==0.5.3 17:15:35 pyOpenSSL==0.13.1 17:15:35 pyparsing==1.5.6 17:15:35 pyserial==2.6 17:15:35 python-augeas==0.5.0 17:15:35 python-bugzilla==2.3.0 17:15:35 python-dateutil==1.5 17:15:35 python-fedora==0.10.0 17:15:35 python-linux-procfs==0.4.9 17:15:35 python-yubico==1.2.3 17:15:35 pyudev==0.15 17:15:35 pyusb==1.0.0b1 17:15:35 pyxattr==0.5.1 17:15:35 PyYAML==3.10 17:15:35 requests==2.6.0 17:15:35 requests-kerberos==0.7.0 17:15:35 rpkg==1.60 17:15:35 schedutils==0.4 17:15:35 seobject==0.1 17:15:35 sepolicy==1.1 17:15:35 six==1.9.0 17:15:35 smmap==0.9.0 17:15:35 urlgrabber==3.10 17:15:35 urllib3==1.10.2 17:15:35 virtualenv==15.1.0 17:15:35 yum-langpacks==0.4.2 17:15:35 yum-metadata-parser==1.1.4 [Pipeline] echo 17:15:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:15:35 ---> sudo-logs.sh 17:15:35 Archiving 'sudo' log.. [Pipeline] echo 17:15:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:15:36 ---> job-cost.sh 17:15:36 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-DP3S 17:15:48 Cache entry deserialization failed, entry ignored 17:15:48 Cache entry deserialization failed, entry ignored 17:15:49 Cache entry deserialization failed, entry ignored 17:15:49 Cache entry deserialization failed, entry ignored 17:15:49 Cache entry deserialization failed, entry ignored 17:15:49 Cache entry deserialization failed, entry ignored 17:15:49 Cache entry deserialization failed, entry ignored 17:15:49 Cache entry deserialization failed, entry ignored 17:15:50 Cache entry deserialization failed, entry ignored 17:15:50 Cache entry deserialization failed, entry ignored 17:15:50 Cache entry deserialization failed, entry ignored 17:15:50 Cache entry deserialization failed, entry ignored 17:15:50 Cache entry deserialization failed, entry ignored 17:15:52 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 17:16:19 ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts. 17:16:19 17:16:19 We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default. 17:16:19 17:16:19 virtualenv 20.0.31 requires importlib-metadata<2,>=0.12; python_version < "3.8", but you'll have importlib-metadata 2.0.0 which is incompatible. 17:16:19 lf-activate-venv(): INFO: Adding /tmp/venv-DP3S/bin to PATH 17:16:19 INFO: No Stack... 17:16:19 INFO: Retrieving Pricing Info for: v1-standard-2 17:16:19 INFO: Archiving Costs [Pipeline] echo 17:16:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:16:20 ---> logs-deploy.sh 17:16:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-298/1 17:16:20 INFO: archiving workspace using pattern(s): 17:16:21 Archives upload complete. 17:16:21 INFO: archiving logs to Nexus 17:16:22 ---> uname -a: 17:16:22 Linux prd-centos7-docker-4c-2g-2266.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux 17:16:22 17:16:22 17:16:22 ---> lscpu: 17:16:22 Architecture: x86_64 17:16:22 CPU op-mode(s): 32-bit, 64-bit 17:16:22 Byte Order: Little Endian 17:16:22 CPU(s): 4 17:16:22 On-line CPU(s) list: 0-3 17:16:22 Thread(s) per core: 1 17:16:22 Core(s) per socket: 1 17:16:22 Socket(s): 4 17:16:22 NUMA node(s): 1 17:16:22 Vendor ID: GenuineIntel 17:16:22 CPU family: 6 17:16:22 Model: 44 17:16:22 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 17:16:22 Stepping: 1 17:16:22 CPU MHz: 2933.438 17:16:22 BogoMIPS: 5866.87 17:16:22 Virtualization: VT-x 17:16:22 Hypervisor vendor: KVM 17:16:22 Virtualization type: full 17:16:22 L1d cache: 32K 17:16:22 L1i cache: 32K 17:16:22 L2 cache: 4096K 17:16:22 L3 cache: 16384K 17:16:22 NUMA node0 CPU(s): 0-3 17:16:22 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 17:16:22 17:16:22 17:16:22 ---> nproc: 17:16:22 4 17:16:22 17:16:22 17:16:22 ---> df -h: 17:16:22 Filesystem Size Used Avail Use% Mounted on 17:16:22 devtmpfs 887M 0 887M 0% /dev 17:16:22 tmpfs 919M 0 919M 0% /dev/shm 17:16:22 tmpfs 919M 17M 903M 2% /run 17:16:22 tmpfs 919M 0 919M 0% /sys/fs/cgroup 17:16:22 /dev/vda1 50G 7.3G 43G 15% / 17:16:22 tmpfs 184M 0 184M 0% /run/user/1001 17:16:22 17:16:22