Pull request #301 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 81b97c5f7e219e5cc5b330ae54dec30bf0cfd99d+ac2ba39aeba213a52cfe9f32ac5b6b5425a47b84 (7231b03095688c65c840e704b8480e8762afa46c) 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-301/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-301/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-5398 in /w/workspace/edgexfoundry_device-sdk-c_PR-301 [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-301 # 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 Merging remotes/origin/master commit ac2ba39aeba213a52cfe9f32ac5b6b5425a47b84 into PR head commit 81b97c5f7e219e5cc5b330ae54dec30bf0cfd99d > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/301/head:refs/remotes/origin/PR-301 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 81b97c5f7e219e5cc5b330ae54dec30bf0cfd99d # 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 ac2ba39aeba213a52cfe9f32ac5b6b5425a47b84 # timeout=10 Merge succeeded, producing 81b97c5f7e219e5cc5b330ae54dec30bf0cfd99d Checking out Revision 81b97c5f7e219e5cc5b330ae54dec30bf0cfd99d (PR-301) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 81b97c5f7e219e5cc5b330ae54dec30bf0cfd99d # timeout=10 Commit message: "fix: remove stale profiles when devices are removed" 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 14:27:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:27:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:27:42 ========================================================= 14:27:42 EdgeX Global Pipelines Version Info 14:27:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:27:45 ------------------- 14:27:45 stable info: 14:27:45 ------------------- 14:27:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:27:45 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 14:27:45 Message: update stable to v1.0.131 14:27:46 ------------------- 14:27:46 experimental info: 14:27:46 ------------------- 14:27:46 Commited By: **** collab-it+edgex@linuxfoundation.org 14:27:46 Commit SHA: a2275391807e67b7600a554c2b5f26031cb9c010 14:27:46 Message: update experimental to v1.0.141 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 14:27:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 14:27:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 14:27:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:27:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:27:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:27:47 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 14:27:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine-3.11 [Pipeline] echo 14:27:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-3.11-base [Pipeline] echo 14:27:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:27:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-c [Pipeline] echo 14:27:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:27:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:27:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:27:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 14:27:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:27:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:27:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-301 [Pipeline] echo 14:27:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-301 [Pipeline] echo 14:27:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-301 [Pipeline] echo 14:27:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 81b97c5f7e219e5cc5b330ae54dec30bf0cfd99d [Pipeline] echo 14:27:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 81b97c5 [Pipeline] echo 14:27:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 14:27:51 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:27:52 14:27:52 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:27:53 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:27:53 latest: Pulling from edgex-devops/git-semver 14:27:53 31603596830f: Pulling fs layer 14:27:53 2a8b12db71e7: Pulling fs layer 14:27:53 6ca5941a6612: Pulling fs layer 14:27:53 ecc8261a40a4: Pulling fs layer 14:27:53 ecc8261a40a4: Waiting 14:27:53 2a8b12db71e7: Verifying Checksum 14:27:53 2a8b12db71e7: Download complete 14:27:53 31603596830f: Download complete 14:27:54 ecc8261a40a4: Verifying Checksum 14:27:54 ecc8261a40a4: Download complete 14:27:54 6ca5941a6612: Verifying Checksum 14:27:54 6ca5941a6612: Download complete 14:27:54 31603596830f: Pull complete 14:27:54 2a8b12db71e7: Pull complete 14:27:56 6ca5941a6612: Pull complete 14:27:56 ecc8261a40a4: Pull complete 14:27:56 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 14:27:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:27:56 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:27:56 prd-centos7-docker-4c-2g-5398 does not seem to be running inside a container 14:27:56 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-301 -v /w/workspace/edgexfoundry_device-sdk-c_PR-301:/w/workspace/edgexfoundry_device-sdk-c_PR-301:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-301@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-301@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 14:27:59 $ docker top 17865ff794cf44ae1690bdc89318e46fa980f8eeccb075f00f17a2fa332b0166 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:27:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:27:59 [ssh-agent] Looking for ssh-agent implementation... 14:28:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:28:00 $ docker exec 17865ff794cf44ae1690bdc89318e46fa980f8eeccb075f00f17a2fa332b0166 ssh-agent 14:28:00 SSH_AUTH_SOCK=/tmp/ssh-mAVAntfx1Mp4/agent.12 14:28:00 SSH_AGENT_PID=18 14:28:00 Running ssh-add (command line suppressed) 14:28:00 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-301@tmp/private_key_2773922783189700694.key (/w/workspace/edgexfoundry_device-sdk-c_PR-301@tmp/private_key_2773922783189700694.key) 14:28:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:28:01 + git describe --exact-match --tags HEAD 14:28:01 fatal: no tag exactly matches '81b97c5f7e219e5cc5b330ae54dec30bf0cfd99d' [Pipeline] } 14:28:01 $ docker exec --env ******** --env ******** 17865ff794cf44ae1690bdc89318e46fa980f8eeccb075f00f17a2fa332b0166 ssh-agent -k 14:28:01 unset SSH_AUTH_SOCK; 14:28:01 unset SSH_AGENT_PID; 14:28:01 echo Agent pid 18 killed; 14:28:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 14:28:01 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 14:28:01 This usually means this commit has not been tagged. [Pipeline] sshagent 14:28:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:28:02 [ssh-agent] Looking for ssh-agent implementation... 14:28:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:28:02 $ docker exec 17865ff794cf44ae1690bdc89318e46fa980f8eeccb075f00f17a2fa332b0166 ssh-agent 14:28:02 SSH_AUTH_SOCK=/tmp/ssh-2SvS959J4wmH/agent.48 14:28:02 SSH_AGENT_PID=53 14:28:02 Running ssh-add (command line suppressed) 14:28:02 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-301@tmp/private_key_6455067366528943342.key (/w/workspace/edgexfoundry_device-sdk-c_PR-301@tmp/private_key_6455067366528943342.key) 14:28:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:28:03 + git semver init 14:28:03 # -> Open(): unable to determine branch for HEAD 14:28:03 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-301/.git 14:28:03 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-301 14:28:03 # $SEMVER_REMOTE_NAME = origin 14:28:03 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:28:03 # $SEMVER_USER_NAME = edgex-jenkins 14:28:03 # $SEMVER_BRANCH = PR-301 14:28:03 # $SEMVER_TEMP = /tmp/semver-273261708 14:28:03 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 14:28:05 # '/tmp/semver-273261708' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-301/.semver' 14:28:05 # -> Force: false 14:28:05 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-301/.semver [Pipeline] } 14:28:05 $ docker exec --env ******** --env ******** 17865ff794cf44ae1690bdc89318e46fa980f8eeccb075f00f17a2fa332b0166 ssh-agent -k 14:28:05 unset SSH_AUTH_SOCK; 14:28:05 unset SSH_AGENT_PID; 14:28:05 echo Agent pid 53 killed; 14:28:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:28:06 + git semver [Pipeline] } 14:28:06 $ docker stop --time=1 17865ff794cf44ae1690bdc89318e46fa980f8eeccb075f00f17a2fa332b0166 14:28:08 $ docker rm -f 17865ff794cf44ae1690bdc89318e46fa980f8eeccb075f00f17a2fa332b0166 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 14:28:09 Stashed 36 file(s) [Pipeline] echo 14:28:09 [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 14:28:25 Still waiting to schedule task 14:28:25 Waiting for next available executor on ‘centos7-docker-4c-2g’ 14:28:25 Still waiting to schedule task 14:28:25 ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline 14:30:24 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5399 in /w/workspace/edgexfoundry_device-sdk-c_PR-301 [Pipeline] { [Pipeline] ws 14:30:24 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 14:30:29 using credential edgex-jenkins-ssh 14:30:29 Cloning the remote Git repository 14:30:30 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 14:30:30 > git init /w/workspace/device-sdk-c/1 # timeout=10 14:30:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:30:30 > git --version # timeout=10 14:30:30 > git --version # 'git version 2.17.1' 14:30:30 using GIT_SSH to set credentials SSH Credentials for GitHub 14:30:30 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:30:32 Merging remotes/origin/master commit ac2ba39aeba213a52cfe9f32ac5b6b5425a47b84 into PR head commit 81b97c5f7e219e5cc5b330ae54dec30bf0cfd99d 14:30:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:30:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:30:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:30:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:30:31 using GIT_SSH to set credentials SSH Credentials for GitHub 14:30:31 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/301/head:refs/remotes/origin/PR-301 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:30:32 > git config core.sparsecheckout # timeout=10 14:30:32 > git checkout -f 81b97c5f7e219e5cc5b330ae54dec30bf0cfd99d # timeout=10 14:30:32 Merge succeeded, producing 81b97c5f7e219e5cc5b330ae54dec30bf0cfd99d 14:30:32 Checking out Revision 81b97c5f7e219e5cc5b330ae54dec30bf0cfd99d (PR-301) 14:30:32 > git remote # timeout=10 14:30:32 > git config --get remote.origin.url # timeout=10 14:30:32 using GIT_SSH to set credentials SSH Credentials for GitHub 14:30:32 > git merge ac2ba39aeba213a52cfe9f32ac5b6b5425a47b84 # timeout=10 14:30:32 > git rev-parse HEAD^{commit} # timeout=10 14:30:32 > git config core.sparsecheckout # timeout=10 14:30:32 > git checkout -f 81b97c5f7e219e5cc5b330ae54dec30bf0cfd99d # timeout=10 14:30:36 Commit message: "fix: remove stale profiles when devices are removed" 14:30:37 > git --version # timeout=10 14:30:37 > git --version # 'git version 2.17.1' 14:30:37 fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:30:38 ========================================================= 14:30:38 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 14:30:38 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:30:39 + 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 . 14:30:40 Sending build context to Docker daemon 3.843MB 14:30:40 Step 1/21 : ARG BASE=alpine:3.11 14:30:40 Step 2/21 : FROM ${BASE} as builder 14:30:41 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 14:30:41 0362ad1dd800: Pulling fs layer 14:30:41 f2cdb1532d8b: Pulling fs layer 14:30:41 37ed683be191: Pulling fs layer 14:30:41 f2cdb1532d8b: Verifying Checksum 14:30:41 f2cdb1532d8b: Download complete 14:30:41 0362ad1dd800: Verifying Checksum 14:30:41 0362ad1dd800: Download complete 14:30:42 0362ad1dd800: Pull complete 14:30:42 f2cdb1532d8b: Pull complete 14:30:44 37ed683be191: Verifying Checksum 14:30:44 37ed683be191: Download complete 14:30:52 37ed683be191: Pull complete 14:30:52 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 14:30:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 14:30:52 ---> b23d30803547 14:30:52 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 14:30:54 ---> Running in 959bc4ec7c16 14:30:56 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 14:30:56 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 14:30:57 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 14:30:57 (2/8) Installing libuuid (2.33-r0) 14:30:57 (3/8) Installing libblkid (2.33-r0) 14:30:57 (4/8) Installing libfdisk (2.33-r0) 14:30:57 (5/8) Installing libmount (2.33-r0) 14:30:57 (6/8) Installing libsmartcols (2.33-r0) 14:30:57 (7/8) Installing util-linux-dev (2.33-r0) 14:30:58 Running on prd-centos7-docker-4c-2g-5400 in /w/workspace/edgexfoundry_device-sdk-c_PR-301 [Pipeline] { 14:30:58 (8/8) Installing wget (1.20.3-r0) 14:30:58 Executing busybox-1.29.3-r10.trigger 14:30:58 OK: 285 MiB in 83 packages [Pipeline] ws 14:30:58 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 14:30:59 Removing intermediate container 959bc4ec7c16 14:30:59 ---> f6510957d1f2 14:30:59 Step 4/21 : ENV CBOR_VERSION=0.5.0 14:30:59 ---> Running in 15722513cab3 14:30:59 Removing intermediate container 15722513cab3 14:30:59 ---> 55733c03102d 14:30:59 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 14:31:00 ---> Running in 9a669c12232a 14:31:00 using credential edgex-jenkins-ssh 14:31:00 Cloning the remote Git repository 14:31:01 --2020-10-14 14:31:01-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 14:31:01 Resolving github.com... 140.82.112.3 14:31:01 Connecting to github.com|140.82.112.3|:443... connected. 14:31:01 HTTP request sent, awaiting response... 302 Found 14:31:01 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 14:31:01 --2020-10-14 14:31:01-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 14:31:01 Resolving codeload.github.com... 140.82.112.9 14:31:01 Connecting to codeload.github.com|140.82.112.9|:443... connected. 14:31:01 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 14:31:01 > git init /w/workspace/device-sdk-c/1 # timeout=10 14:31:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:31:01 > git --version # timeout=10 14:31:01 > git --version # 'git version 2.16.5' 14:31:01 using GIT_SSH to set credentials SSH Credentials for GitHub 14:31:01 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:31:01 HTTP request sent, awaiting response... 200 OK 14:31:01 Length: unspecified [application/x-gzip] 14:31:01 Saving to: 'STDOUT' 14:31:01  14:31:01 0K .......... .......... .......... .......... .......... 1.48M 14:31:01 50K .......... .......... .......... .......... .......... 2.45M 14:31:01 100K .......... .......... .......... .......... .......... 3.67M 14:31:02 150K .......... .......... .......... .......... .......... 10.6M 14:31:02 200K .......... .......... .......... .......... .......... 14.9M 14:31:02 250K .......... .......... .......... .......... .......... 3.38M 14:31:02 300K .......... .......... .......... .......... .......... 3.70M 14:31:02 350K .......... .......... .......... .......... .......... 4.50M 14:31:02 400K .......... .......... .......... .......... .......... 3.46M 14:31:02 450K .......... .......... .......... .......... .......... 3.24M 14:31:02 500K .......... .......... .......... .......... .......... 10.1M 14:31:02 550K .......... .......... .......... .......... .......... 2.79M 14:31:02 600K .......... .......... .......... .......... .......... 861K 14:31:02 650K .......... .......... .......... .......... .......... 2.18M 14:31:02 700K .. 11.8M=0.2s 14:31:02 14:31:02 2020-10-14 14:31:02 (2.80 MB/s) - written to stdout [719348] 14:31:02 14:31:02 -- The C compiler identification is GNU 8.3.0 14:31:02 -- The CXX compiler identification is GNU 8.3.0 14:31:02 -- Check for working C compiler: /usr/bin/cc 14:31:02 -- Check for working C compiler: /usr/bin/cc -- works 14:31:02 -- Detecting C compiler ABI info 14:31:02 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:31:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:31:02 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:31:02 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:31:02 using GIT_SSH to set credentials SSH Credentials for GitHub 14:31:02 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/301/head:refs/remotes/origin/PR-301 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:31:03 Merging remotes/origin/master commit ac2ba39aeba213a52cfe9f32ac5b6b5425a47b84 into PR head commit 81b97c5f7e219e5cc5b330ae54dec30bf0cfd99d 14:31:03 -- Detecting C compiler ABI info - done 14:31:03 -- Detecting C compile features 14:31:03 Merge succeeded, producing 81b97c5f7e219e5cc5b330ae54dec30bf0cfd99d 14:31:03 Checking out Revision 81b97c5f7e219e5cc5b330ae54dec30bf0cfd99d (PR-301) 14:31:03 -- Detecting C compile features - done 14:31:03 -- Check for working CXX compiler: /usr/bin/c++ 14:31:04 -- Check for working CXX compiler: /usr/bin/c++ -- works 14:31:04 -- Detecting CXX compiler ABI info 14:31:03 > git config core.sparsecheckout # timeout=10 14:31:03 > git checkout -f 81b97c5f7e219e5cc5b330ae54dec30bf0cfd99d # timeout=10 14:31:03 > git remote # timeout=10 14:31:03 > git config --get remote.origin.url # timeout=10 14:31:03 using GIT_SSH to set credentials SSH Credentials for GitHub 14:31:03 > git merge ac2ba39aeba213a52cfe9f32ac5b6b5425a47b84 # timeout=10 14:31:03 > git rev-parse HEAD^{commit} # timeout=10 14:31:03 > git config core.sparsecheckout # timeout=10 14:31:03 > git checkout -f 81b97c5f7e219e5cc5b330ae54dec30bf0cfd99d # timeout=10 14:31:04 -- Detecting CXX compiler ABI info - done 14:31:04 -- Detecting CXX compile features 14:31:05 -- Detecting CXX compile features - done 14:31:05 -- Looking for include file endian.h 14:31:06 -- Looking for include file endian.h - found 14:31:06 -- Check if the system is big endian 14:31:06 -- Searching 16 bit integer 14:31:06 -- Looking for sys/types.h 14:31:06 -- Looking for sys/types.h - found 14:31:06 -- Looking for stdint.h 14:31:06 -- Looking for stdint.h - found 14:31:06 -- Looking for stddef.h 14:31:06 -- Looking for stddef.h - found 14:31:06 -- Check size of unsigned short 14:31:06 Commit message: "fix: remove stale profiles when devices are removed" 14:31:06 > git --version # timeout=10 14:31:06 > git --version # 'git version 2.16.5' 14:31:06 fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d 14:31:07 -- Check size of unsigned short - done 14:31:07 -- Using unsigned short [Pipeline] withEnv [Pipeline] { 14:31:07 -- Check if the system is big endian - little endian 14:31:07 -- Check size of size_t [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 14:31:07 -- Check size of size_t - done 14:31:07 CMake Warning at examples/CMakeLists.txt:16 (find_package): 14:31:07 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 14:31:07 asked CMake to find a package configuration file provided by "cJSON", but 14:31:07 CMake did not find one. 14:31:07 14:31:07 Could not find a package configuration file provided by "cJSON" with any of 14:31:07 the following names: 14:31:07 14:31:07 cJSONConfig.cmake 14:31:07 cjson-config.cmake 14:31:07 14:31:07 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 14:31:07 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 14:31:07 provides a separate development package or SDK, be sure it has been 14:31:07 installed. 14:31:07 14:31:07 14:31:07 -- Configuring done [Pipeline] unstash 14:31:08 -- Generating done 14:31:08 -- Build files have been written to: /tmp/cbor 14:31:08 Scanning dependencies of target cbor_shared 14:31:08 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [Pipeline] echo 14:31:08 ========================================================= 14:31:08 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 14:31:08 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:31:08 + 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 . 14:31:09 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 14:31:09 Sending build context to Docker daemon 3.843MB 14:31:09 Step 1/21 : ARG BASE=alpine:3.11 14:31:09 Step 2/21 : FROM ${BASE} as builder 14:31:09 latest: Pulling from edgex-devops/edgex-gcc-base 14:31:09 e7c96db7181b: Pulling fs layer 14:31:09 4c13bbce0fe7: Pulling fs layer 14:31:09 6059c847ac2f: Pulling fs layer 14:31:09 4c13bbce0fe7: Verifying Checksum 14:31:09 4c13bbce0fe7: Download complete 14:31:09 e7c96db7181b: Verifying Checksum 14:31:09 e7c96db7181b: Download complete 14:31:09 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 14:31:09 e7c96db7181b: Pull complete 14:31:09 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 14:31:09 4c13bbce0fe7: Pull complete 14:31:10 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 14:31:10 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 14:31:10 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 14:31:10 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 14:31:11 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 14:31:11 6059c847ac2f: Verifying Checksum 14:31:11 6059c847ac2f: Download complete 14:31:11 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 14:31:11 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 14:31:12 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 14:31:12 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 14:31:13 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 14:31:13 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 14:31:13 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 14:31:13 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 14:31:13 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 14:31:14 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 14:31:14 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 14:31:14 [ 40%] Linking C shared library libcbor.so 14:31:14 [ 40%] Built target cbor_shared 14:31:14 Scanning dependencies of target cbor 14:31:14 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 14:31:15 6059c847ac2f: Pull complete 14:31:15 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 14:31:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 14:31:15 ---> 5eabd8fd8ba2 14:31:15 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 14:31:15 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 14:31:16 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 14:31:16 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 14:31:17 ---> Running in 98e437f6184c 14:31:17 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 14:31:17 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 14:31:18 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 14:31:18 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 14:31:18 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 14:31:18 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 14:31:18 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 14:31:19 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 14:31:19 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 14:31:19 (2/8) Installing libuuid (2.33-r0) 14:31:19 (3/8) Installing libblkid (2.33-r0) 14:31:19 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 14:31:19 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 14:31:19 (4/8) Installing libfdisk (2.33-r0) 14:31:19 (5/8) Installing libmount (2.33-r0) 14:31:19 (6/8) Installing libsmartcols (2.33-r0) 14:31:19 (7/8) Installing util-linux-dev (2.33-r0) 14:31:20 (8/8) Installing wget (1.20.3-r0) 14:31:20 Executing busybox-1.29.3-r10.trigger 14:31:20 OK: 272 MiB in 83 packages 14:31:20 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 14:31:20 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 14:31:20 Removing intermediate container 98e437f6184c 14:31:20 ---> 6f0880bf1ee0 14:31:20 Step 4/21 : ENV CBOR_VERSION=0.5.0 14:31:20 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 14:31:20 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 14:31:20 ---> Running in 5e2fb947c82c 14:31:20 Removing intermediate container 5e2fb947c82c 14:31:20 ---> a1d7ec45daa4 14:31:20 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 14:31:20 ---> Running in a068b41a9a8b 14:31:21 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 14:31:21 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 14:31:21 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 14:31:21 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 14:31:21 --2020-10-14 14:31:21-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 14:31:21 Resolving github.com... 140.82.112.3 14:31:21 Connecting to github.com|140.82.112.3|:443... connected. 14:31:21 HTTP request sent, awaiting response... 302 Found 14:31:21 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 14:31:21 --2020-10-14 14:31:21-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 14:31:21 Resolving codeload.github.com... 140.82.112.9 14:31:21 Connecting to codeload.github.com|140.82.112.9|:443... connected. 14:31:21 HTTP request sent, awaiting response... 200 OK 14:31:21 Length: unspecified [application/x-gzip] 14:31:21 Saving to: 'STDOUT' 14:31:21  14:31:21 0K .......... .......... .......... .......... .......... 1.24M 14:31:21 50K .......... .......... .......... .......... .......... 3.12M 14:31:21 100K .......... .......... .......... .......... .......... 10.4M 14:31:21 150K .......... .......... .......... .......... .......... 3.32M 14:31:21 200K .......... .......... .......... .......... .......... 8.42M 14:31:21 250K .......... .......... .......... .......... .......... 28.6M 14:31:21 300K .......... .......... .......... .......... .......... 7.22M 14:31:21 350K .......... .......... .......... .......... .......... 10.6M 14:31:21 400K .......... .......... .......... .......... .......... 8.36M 14:31:21 450K .......... .......... .......... .......... .......... 11.8M 14:31:21 500K .......... .......... .......... .......... .......... 10.7M 14:31:22 [ 80%] Linking C static library libcbor.a 14:31:22 [ 80%] Built target cbor 14:31:22 Scanning dependencies of target create_items 14:31:22 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 14:31:22 550K .......... .......... .......... .......... .......... 9.63M 14:31:22 600K .......... .......... .......... .......... .......... 1.99M 14:31:22 650K .......... .......... .......... .......... .......... 5.48M 14:31:22 700K .. 45.7M=0.1s 14:31:22 14:31:22 2020-10-14 14:31:21 (4.68 MB/s) - written to stdout [719348] 14:31:22 14:31:22 -- The C compiler identification is GNU 8.3.0 14:31:22 -- The CXX compiler identification is GNU 8.3.0 14:31:22 -- Check for working C compiler: /usr/bin/cc 14:31:22 [ 84%] Linking C executable create_items 14:31:22 [ 84%] Built target create_items 14:31:22 Scanning dependencies of target readfile 14:31:22 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 14:31:22 -- Check for working C compiler: /usr/bin/cc -- works 14:31:22 -- Detecting C compiler ABI info 14:31:22 -- Detecting C compiler ABI info - done 14:31:22 -- Detecting C compile features 14:31:22 [ 88%] Linking C executable readfile 14:31:22 [ 88%] Built target readfile 14:31:22 -- Detecting C compile features - done 14:31:22 -- Check for working CXX compiler: /usr/bin/c++ 14:31:22 -- Check for working CXX compiler: /usr/bin/c++ -- works 14:31:22 -- Detecting CXX compiler ABI info 14:31:23 Scanning dependencies of target streaming_parser 14:31:23 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 14:31:23 [ 92%] Linking C executable streaming_parser 14:31:23 -- Detecting CXX compiler ABI info - done 14:31:23 -- Detecting CXX compile features 14:31:23 [ 92%] Built target streaming_parser 14:31:23 Scanning dependencies of target sort 14:31:23 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 14:31:23 -- Detecting CXX compile features - done 14:31:23 -- Looking for include file endian.h 14:31:23 -- Looking for include file endian.h - found 14:31:23 -- Check if the system is big endian 14:31:23 -- Searching 16 bit integer 14:31:23 -- Looking for sys/types.h 14:31:23 -- Looking for sys/types.h - found 14:31:23 -- Looking for stdint.h 14:31:23 -- Looking for stdint.h - found 14:31:23 -- Looking for stddef.h 14:31:23 [ 96%] Linking C executable sort 14:31:23 [ 96%] Built target sort 14:31:23 Scanning dependencies of target hello 14:31:23 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 14:31:23 -- Looking for stddef.h - found 14:31:23 -- Check size of unsigned short 14:31:23 -- Check size of unsigned short - done 14:31:23 -- Using unsigned short 14:31:23 -- Check if the system is big endian - little endian 14:31:23 -- Check size of size_t 14:31:23 -- Check size of size_t - done 14:31:23 CMake Warning at examples/CMakeLists.txt:16 (find_package): 14:31:23 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 14:31:23 asked CMake to find a package configuration file provided by "cJSON", but 14:31:23 CMake did not find one. 14:31:23 14:31:23 Could not find a package configuration file provided by "cJSON" with any of 14:31:23 the following names: 14:31:23 14:31:23 cJSONConfig.cmake 14:31:23 cjson-config.cmake 14:31:23 14:31:23 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 14:31:23 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 14:31:23 provides a separate development package or SDK, be sure it has been 14:31:23 installed. 14:31:23 14:31:23 14:31:23 [100%] Linking C executable hello 14:31:23 [100%] Built target hello 14:31:23 Install the project... 14:31:23 -- Install configuration: "Release" 14:31:23 -- Installing: /usr/local/include/cbor/configuration.h 14:31:23 -- Installing: /usr/local/lib64/libcbor.a 14:31:23 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 14:31:23 -- Installing: /usr/local/lib64/libcbor.so.0 14:31:23 -- Installing: /usr/local/lib64/libcbor.so 14:31:23 -- Up-to-date: /usr/local/include/cbor 14:31:23 -- Installing: /usr/local/include/cbor/streaming.h 14:31:23 -- Installing: /usr/local/include/cbor/ints.h 14:31:23 -- Installing: /usr/local/include/cbor/floats_ctrls.h 14:31:23 -- Installing: /usr/local/include/cbor/bytestrings.h 14:31:23 -- Installing: /usr/local/include/cbor/encoding.h 14:31:23 -- Installing: /usr/local/include/cbor/serialization.h 14:31:23 -- Installing: /usr/local/include/cbor/data.h 14:31:23 -- Installing: /usr/local/include/cbor/common.h 14:31:23 -- Installing: /usr/local/include/cbor/callbacks.h 14:31:23 -- Installing: /usr/local/include/cbor/strings.h 14:31:23 -- Installing: /usr/local/include/cbor/tags.h 14:31:23 -- Installing: /usr/local/include/cbor/internal 14:31:23 -- Installing: /usr/local/include/cbor/internal/encoders.h 14:31:23 -- Installing: /usr/local/include/cbor/internal/loaders.h 14:31:23 -- Installing: /usr/local/include/cbor/internal/stack.h 14:31:23 -- Installing: /usr/local/include/cbor/internal/unicode.h 14:31:23 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 14:31:23 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 14:31:23 -- Installing: /usr/local/include/cbor/arrays.h 14:31:23 -- Installing: /usr/local/include/cbor/maps.h 14:31:23 -- Installing: /usr/local/include/cbor.h 14:31:23 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 14:31:24 -- Configuring done 14:31:24 -- Generating done 14:31:24 -- Build files have been written to: /tmp/cbor 14:31:24 Scanning dependencies of target cbor_shared 14:31:24 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 14:31:24 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 14:31:24 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 14:31:24 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 14:31:24 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 14:31:24 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 14:31:24 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 14:31:24 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 14:31:24 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 14:31:24 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 14:31:25 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 14:31:25 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 14:31:25 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 14:31:25 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 14:31:25 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 14:31:25 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 14:31:25 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 14:31:25 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 14:31:25 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 14:31:25 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 14:31:25 [ 40%] Linking C shared library libcbor.so 14:31:25 [ 40%] Built target cbor_shared 14:31:25 Scanning dependencies of target cbor 14:31:25 Removing intermediate container 9a669c12232a 14:31:25 ---> 9cda47bd8fa2 14:31:25 Step 6/21 : RUN mkdir /tmp/sdk 14:31:26 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 14:31:26 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 14:31:26 ---> Running in 825a797bba06 14:31:26 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 14:31:26 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 14:31:26 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 14:31:26 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 14:31:26 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 14:31:26 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 14:31:26 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 14:31:26 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 14:31:27 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 14:31:27 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 14:31:27 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 14:31:27 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 14:31:27 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 14:31:27 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 14:31:27 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 14:31:27 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 14:31:27 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 14:31:27 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 14:31:27 [ 80%] Linking C static library libcbor.a 14:31:28 [ 80%] Built target cbor 14:31:28 Scanning dependencies of target create_items 14:31:28 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 14:31:28 [ 84%] Linking C executable create_items 14:31:28 [ 84%] Built target create_items 14:31:28 Scanning dependencies of target readfile 14:31:28 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 14:31:28 [ 88%] Linking C executable readfile 14:31:28 [ 88%] Built target readfile 14:31:28 Scanning dependencies of target streaming_parser 14:31:28 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 14:31:28 [ 92%] Linking C executable streaming_parser 14:31:28 [ 92%] Built target streaming_parser 14:31:28 Scanning dependencies of target sort 14:31:28 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 14:31:28 [ 96%] Linking C executable sort 14:31:28 [ 96%] Built target sort 14:31:28 Scanning dependencies of target hello 14:31:28 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 14:31:28 [100%] Linking C executable hello 14:31:28 [100%] Built target hello 14:31:28 Install the project... 14:31:28 -- Install configuration: "Release" 14:31:28 -- Installing: /usr/local/include/cbor/configuration.h 14:31:28 -- Installing: /usr/local/lib64/libcbor.a 14:31:28 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 14:31:28 -- Installing: /usr/local/lib64/libcbor.so.0 14:31:28 -- Installing: /usr/local/lib64/libcbor.so 14:31:28 -- Up-to-date: /usr/local/include/cbor 14:31:28 -- Installing: /usr/local/include/cbor/arrays.h 14:31:28 -- Installing: /usr/local/include/cbor/bytestrings.h 14:31:28 -- Installing: /usr/local/include/cbor/callbacks.h 14:31:28 -- Installing: /usr/local/include/cbor/common.h 14:31:28 -- Installing: /usr/local/include/cbor/data.h 14:31:28 -- Installing: /usr/local/include/cbor/encoding.h 14:31:28 -- Installing: /usr/local/include/cbor/floats_ctrls.h 14:31:28 -- Installing: /usr/local/include/cbor/internal 14:31:28 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 14:31:28 -- Installing: /usr/local/include/cbor/internal/encoders.h 14:31:28 -- Installing: /usr/local/include/cbor/internal/loaders.h 14:31:28 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 14:31:28 -- Installing: /usr/local/include/cbor/internal/stack.h 14:31:28 -- Installing: /usr/local/include/cbor/internal/unicode.h 14:31:28 -- Installing: /usr/local/include/cbor/ints.h 14:31:28 -- Installing: /usr/local/include/cbor/maps.h 14:31:28 -- Installing: /usr/local/include/cbor/serialization.h 14:31:28 -- Installing: /usr/local/include/cbor/streaming.h 14:31:28 -- Installing: /usr/local/include/cbor/strings.h 14:31:28 -- Installing: /usr/local/include/cbor/tags.h 14:31:28 -- Installing: /usr/local/include/cbor.h 14:31:28 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 14:31:28 Removing intermediate container 825a797bba06 14:31:28 ---> f5d6e5ad24c7 14:31:28 Step 7/21 : COPY VERSION /tmp/sdk 14:31:29 ---> 9289a575e919 14:31:29 Step 8/21 : COPY src /tmp/sdk/src 14:31:30 ---> dff6ac0a2d30 14:31:30 Step 9/21 : COPY include /tmp/sdk/include 14:31:30 Removing intermediate container a068b41a9a8b 14:31:30 ---> 65df53cb273d 14:31:30 Step 6/21 : RUN mkdir /tmp/sdk 14:31:30 ---> Running in 6188f01e63cb 14:31:30 ---> 73cda9e0f3d2 14:31:30 Step 10/21 : COPY scripts /tmp/sdk/scripts 14:31:31 Removing intermediate container 6188f01e63cb 14:31:31 ---> e01ad24ef550 14:31:31 Step 7/21 : COPY VERSION /tmp/sdk 14:31:31 ---> ab6bac77eb9f 14:31:31 Step 11/21 : COPY LICENSE /tmp/sdk 14:31:31 ---> 63008fbac4dd 14:31:31 Step 8/21 : COPY src /tmp/sdk/src 14:31:32 ---> db526dc6549c 14:31:32 Step 12/21 : COPY Attribution.txt /tmp/sdk 14:31:32 ---> c059a494b333 14:31:32 Step 9/21 : COPY include /tmp/sdk/include 14:31:32 ---> c13d70ca78c8 14:31:32 Step 10/21 : COPY scripts /tmp/sdk/scripts 14:31:33 ---> 9d926481fe5f 14:31:33 Step 11/21 : COPY LICENSE /tmp/sdk 14:31:33 ---> a5cd91dc87bc 14:31:33 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 14:31:33 ---> Running in 935b313b62bd 14:31:33 ---> d71d2c2cb285 14:31:33 Step 12/21 : COPY Attribution.txt /tmp/sdk 14:31:33 ---> 525514957223 14:31:33 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 14:31:33 ---> Running in e0607cf7b214 14:31:34 + CPPCHECK=false 14:31:34 + DOCGEN=false 14:31:34 + TOMLVER=SDK-0.2 14:31:34 + CUTILVER=1.1.1 14:31:34 + '[' 0 -gt 0 ] 14:31:34 + readlink -f ./scripts/build.sh 14:31:34 + dirname /tmp/sdk/scripts/build.sh 14:31:34 + dirname /tmp/sdk/scripts 14:31:34 + ROOT=/tmp/sdk 14:31:34 + cd /tmp/sdk 14:31:34 + '[' '!' -d deps ] 14:31:34 + mkdir deps 14:31:34 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:31:34 + tar -C deps -z -x -f - 14:31:34 --2020-10-14 14:31:33-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:31:34 Resolving github.com... 140.82.113.3 14:31:34 Connecting to github.com|140.82.113.3|:443... connected. 14:31:34 HTTP request sent, awaiting response... 302 Found 14:31:34 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 14:31:34 --2020-10-14 14:31:34-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 14:31:34 Resolving codeload.github.com... 140.82.112.9 14:31:34 Connecting to codeload.github.com|140.82.112.9|:443... connected. 14:31:34 HTTP request sent, awaiting response... 200 OK 14:31:34 Length: unspecified [application/x-gzip] 14:31:34 Saving to: 'STDOUT' 14:31:34 14:31:34 0K .......... ......  956K=0.02s 14:31:34 14:31:34 2020-10-14 14:31:34 (956 KB/s) - written to stdout [16451] 14:31:34 14:31:34 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 14:31:34 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.1.tar.gz 14:31:34 + tar -C deps -z -x -f - 14:31:34 --2020-10-14 14:31:34-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.1.tar.gz 14:31:34 Resolving github.com... 140.82.113.3 14:31:34 Connecting to github.com|140.82.113.3|:443... connected. 14:31:34 HTTP request sent, awaiting response... 302 Found 14:31:34 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.1 [following] 14:31:34 --2020-10-14 14:31:34-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.1 14:31:34 Resolving codeload.github.com... 140.82.112.9 14:31:34 Connecting to codeload.github.com|140.82.112.9|:443... connected. 14:31:34 + CPPCHECK=false 14:31:34 + DOCGEN=false 14:31:34 + TOMLVER=SDK-0.2 14:31:34 + CUTILVER=1.1.1 14:31:34 + '[' 0 -gt 0 ] 14:31:34 + readlink -f ./scripts/build.sh 14:31:34 + dirname /tmp/sdk/scripts/build.sh 14:31:34 + dirname /tmp/sdk/scripts 14:31:34 + ROOT=/tmp/sdk 14:31:34 + cd /tmp/sdk 14:31:34 + '[' '!' -d deps ] 14:31:34 + mkdir deps 14:31:34 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:31:34 + tar -C deps -z -x -f - 14:31:34 --2020-10-14 14:31:34-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:31:34 Resolving github.com... 140.82.113.3 14:31:34 Connecting to github.com|140.82.113.3|:443... connected. 14:31:34 HTTP request sent, awaiting response... 302 Found 14:31:34 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 14:31:34 --2020-10-14 14:31:34-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 14:31:34 Resolving codeload.github.com... 140.82.112.9 14:31:34 Connecting to codeload.github.com|140.82.112.9|:443... connected. 14:31:34 HTTP request sent, awaiting response... 200 OK 14:31:34 Length: unspecified [application/x-gzip] 14:31:34 Saving to: 'STDOUT' 14:31:34  14:31:34 0K .......... ......    987K=0.02s 14:31:34 14:31:34 2020-10-14 14:31:34 (987 KB/s) - written to stdout [16451] 14:31:34 14:31:34 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 14:31:34 HTTP request sent, awaiting response... 200 OK 14:31:34 Length: unspecified [application/x-gzip] 14:31:34 Saving to: 'STDOUT' 14:31:34  14:31:34 0K .......... .......... .......... .......... .......... 1.53M 14:31:34 50K .......... .......... .......... .......... .......... 3.10M 14:31:34 100K .......... .......... .......... .......... .......... 36.6M 14:31:34 150K .......... .......... ..... 4.33M=0.05s 14:31:34 14:31:34 2020-10-14 14:31:34 (3.13 MB/s) - written to stdout [179833] 14:31:34 14:31:34 + mkdir -p src/c/iot 14:31:34 + 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 14:31:34 + mkdir -p include/iot 14:31:34 + 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 14:31:34 + mkdir -p include/iot/os 14:31:34 + 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 14:31:34 + mkdir -p /tmp/sdk/build/release 14:31:34 + cd /tmp/sdk/build/release 14:31:34 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 14:31:35 + tar -C deps -z -x -f - 14:31:35 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.1.tar.gz 14:31:35 --2020-10-14 14:31:34-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.1.tar.gz 14:31:35 Resolving github.com... 140.82.113.3 14:31:35 Connecting to github.com|140.82.113.3|:443... connected. 14:31:35 HTTP request sent, awaiting response... 302 Found 14:31:35 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.1 [following] 14:31:35 --2020-10-14 14:31:34-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.1 14:31:35 Resolving codeload.github.com... 140.82.112.9 14:31:35 Connecting to codeload.github.com|140.82.112.9|:443... connected. 14:31:35 HTTP request sent, awaiting response... 200 OK 14:31:35 Length: unspecified [application/x-gzip] 14:31:35 Saving to: 'STDOUT' 14:31:35  14:31:35 0K .......... .......... .......... .......... .......... 1.46M 14:31:35 50K .......... .......... .......... .......... .......... 3.31M 14:31:35 -- The C compiler identification is GNU 8.3.0 14:31:35 -- Check for working C compiler: /usr/bin/cc 14:31:35 -- Check for working C compiler: /usr/bin/cc -- works 14:31:35 -- Detecting C compiler ABI info 14:31:35 -- Detecting C compiler ABI info - done 14:31:35 -- Detecting C compile features 14:31:35 100K .......... .......... .......... .......... .......... 3.39M 14:31:35 150K .......... .......... .....  1.28M=0.08s 14:31:35 14:31:35 2020-10-14 14:31:35 (2.09 MB/s) - written to stdout [179833] 14:31:35 14:31:35 + mkdir -p src/c/iot 14:31:35 + 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 14:31:35 + mkdir -p include/iot 14:31:35 + 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 14:31:35 + mkdir -p include/iot/os 14:31:35 + 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 14:31:35 + mkdir -p /tmp/sdk/build/release 14:31:35 + cd /tmp/sdk/build/release 14:31:35 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 14:31:35 -- Detecting C compile features - done 14:31:35 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:31:35 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 14:31:35 -- Found LIBYAML: /usr/lib/libyaml.so 14:31:35 -- Found LIBUUID: /usr/lib/libuuid.so 14:31:35 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 14:31:35 -- C SDK 0.0.0 for Linux 14:31:35 -- Performing Test CSDK_HAVE_ATOMIC 14:31:35 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:31:35 -- Found Curses: /usr/lib/libcurses.so 14:31:35 -- The C compiler identification is GNU 8.3.0 14:31:35 -- Check for working C compiler: /usr/bin/cc 14:31:35 -- Configuring done 14:31:35 -- Generating done 14:31:35 -- Build files have been written to: /tmp/sdk/build/release 14:31:35 + make 14:31:35 + tee release.log 14:31:35 Scanning dependencies of target csdk 14:31:35 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:31:35 -- Check for working C compiler: /usr/bin/cc -- works 14:31:35 -- Detecting C compiler ABI info 14:31:36 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 14:31:36 [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 14:31:36 -- Detecting C compiler ABI info - done 14:31:36 -- Detecting C compile features 14:31:36 [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:31:36 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:31:36 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:31:36 [ 11%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:31:36 -- Detecting C compile features - done 14:31:36 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:31:36 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 14:31:36 -- Found LIBYAML: /usr/lib/libyaml.so 14:31:36 -- Found LIBUUID: /usr/lib/libuuid.so 14:31:36 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 14:31:36 -- C SDK 0.0.0 for Linux 14:31:36 -- Performing Test CSDK_HAVE_ATOMIC 14:31:37 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:31:37 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:31:37 -- Found Curses: /usr/lib/libcurses.so 14:31:37 -- Configuring done 14:31:37 -- Generating done 14:31:37 -- Build files have been written to: /tmp/sdk/build/release 14:31:37 + make 14:31:37 + tee release.log 14:31:37 Scanning dependencies of target csdk 14:31:37 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:31:37 [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:31:37 [ 17%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:31:37 [ 19%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:31:37 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:31:38 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:31:38 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:31:38 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:31:38 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 14:31:38 [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 14:31:39 [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:31:39 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:31:39 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:31:39 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 14:31:39 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:31:39 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:31:40 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:31:40 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:31:40 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:31:40 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:31:40 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:31:40 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:31:40 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:31:40 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:31:41 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:31:41 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 14:31:41 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:31:41 [ 49%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:31:41 [ 50%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:31:41 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:31:41 [ 11%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:31:42 [ 52%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:31:42 [ 53%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:31:43 [ 55%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:31:43 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:31:43 [ 57%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:31:43 [ 58%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:31:43 [ 60%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:31:43 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:31:44 [ 63%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:31:44 [ 65%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:31:45 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:31:45 [ 66%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:31:45 [ 68%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 14:31:45 [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:31:46 [ 69%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:31:46 [ 71%] Linking C shared library libcsdk.so 14:31:46 [ 71%] Built target csdk 14:31:46 Scanning dependencies of target template 14:31:46 [ 73%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:31:46 [ 17%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:31:46 [ 74%] Linking C executable template 14:31:46 [ 74%] Built target template 14:31:46 Scanning dependencies of target device-counter 14:31:46 [ 76%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:31:46 [ 77%] Linking C executable device-counter 14:31:46 [ 77%] Built target device-counter 14:31:46 Scanning dependencies of target device-random 14:31:46 [ 79%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:31:46 [ 80%] Linking C executable device-random 14:31:46 [ 80%] Built target device-random 14:31:46 Scanning dependencies of target device-gyro 14:31:46 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:31:46 [ 84%] Linking C executable device-gyro 14:31:46 [ 84%] Built target device-gyro 14:31:46 [ 19%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:31:47 Scanning dependencies of target device-bitfields 14:31:47 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:31:47 [ 87%] Linking C executable device-bitfields 14:31:47 [ 87%] Built target device-bitfields 14:31:47 Scanning dependencies of target template-discovery 14:31:47 [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:31:47 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:31:47 [ 90%] Linking C executable template-discovery 14:31:47 [ 90%] Built target template-discovery 14:31:47 Scanning dependencies of target device-file 14:31:47 [ 92%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:31:47 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:31:47 [ 93%] Linking C executable device-file 14:31:47 [ 93%] Built target device-file 14:31:47 Scanning dependencies of target device-terminal 14:31:47 [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:31:47 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:31:47 [ 96%] Linking C executable device-terminal 14:31:47 [ 96%] Built target device-terminal 14:31:47 Scanning dependencies of target templatev1 14:31:47 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 14:31:48 [100%] Linking C executable templatev1 14:31:48 [100%] Built target templatev1 14:31:48 + make package 14:31:48 + tee -a release.log 14:31:48 [ 71%] Built target csdk 14:31:48 [ 74%] Built target template 14:31:48 [ 77%] Built target device-counter 14:31:48 [ 80%] Built target device-random 14:31:48 [ 84%] Built target device-gyro 14:31:48 [ 87%] Built target device-bitfields 14:31:48 [ 90%] Built target template-discovery 14:31:48 [ 93%] Built target device-file 14:31:48 [ 96%] Built target device-terminal 14:31:48 [100%] Built target templatev1 14:31:48 Run CPack packaging tool... 14:31:48 CPack: Create package using TGZ 14:31:48 CPack: Install projects 14:31:48 CPack: - Run preinstall target for: Csdk 14:31:48 CPack: - Install project: Csdk 14:31:48 CPack: Create package 14:31:48 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 14:31:48 + '[' false '=' true ] 14:31:48 + '[' false '=' true ] 14:31:48 + mkdir -p /tmp/sdk/build/debug 14:31:48 + cd /tmp/sdk/build/debug 14:31:48 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 14:31:48 -- The C compiler identification is GNU 8.3.0 14:31:48 -- Check for working C compiler: /usr/bin/cc 14:31:48 -- Check for working C compiler: /usr/bin/cc -- works 14:31:48 -- Detecting C compiler ABI info 14:31:48 -- Detecting C compiler ABI info - done 14:31:48 -- Detecting C compile features 14:31:49 -- Detecting C compile features - done 14:31:49 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:31:49 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 14:31:49 -- Found LIBYAML: /usr/lib/libyaml.so 14:31:49 -- Found LIBUUID: /usr/lib/libuuid.so 14:31:49 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 14:31:49 -- C SDK 0.0.0 for Linux 14:31:49 -- Performing Test CSDK_HAVE_ATOMIC 14:31:49 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:31:49 -- Found Curses: /usr/lib/libcurses.so 14:31:49 -- Configuring done 14:31:49 -- Generating done 14:31:49 -- Build files have been written to: /tmp/sdk/build/debug 14:31:49 + make 14:31:49 + tee debug.log 14:31:49 Scanning dependencies of target csdk 14:31:49 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:31:49 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 14:31:49 [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 14:31:49 [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:31:50 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:31:50 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:31:50 [ 11%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:31:50 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:31:50 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:31:50 [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:31:50 [ 17%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:31:50 [ 19%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:31:50 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:31:50 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:31:50 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:31:51 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:31:51 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:31:51 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:31:51 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 14:31:51 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:31:51 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:31:51 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:31:51 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:31:51 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:31:51 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:31:51 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:31:51 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:31:51 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:31:51 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:31:51 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:31:51 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 14:31:52 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:31:52 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 14:31:52 [ 49%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:31:52 [ 50%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:31:52 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:31:52 [ 52%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:31:52 [ 53%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:31:52 [ 55%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:31:52 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:31:52 [ 57%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:31:52 [ 58%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:31:52 [ 60%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:31:52 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:31:53 [ 63%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:31:53 [ 65%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:31:53 [ 66%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:31:53 [ 68%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 14:31:53 [ 69%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:31:53 [ 71%] Linking C shared library libcsdk.so 14:31:53 [ 71%] Built target csdk 14:31:53 Scanning dependencies of target template 14:31:53 [ 73%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:31:53 [ 74%] Linking C executable template 14:31:54 [ 74%] Built target template 14:31:54 Scanning dependencies of target device-counter 14:31:54 [ 76%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:31:54 [ 77%] Linking C executable device-counter 14:31:54 [ 77%] Built target device-counter 14:31:54 Scanning dependencies of target device-random 14:31:54 [ 79%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:31:54 [ 80%] Linking C executable device-random 14:31:54 [ 80%] Built target device-random 14:31:54 Scanning dependencies of target device-gyro 14:31:54 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:31:54 [ 84%] Linking C executable device-gyro 14:31:54 [ 84%] Built target device-gyro 14:31:54 Scanning dependencies of target device-bitfields 14:31:54 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:31:54 [ 87%] Linking C executable device-bitfields 14:31:54 [ 87%] Built target device-bitfields 14:31:54 Scanning dependencies of target template-discovery 14:31:54 [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:31:54 [ 90%] Linking C executable template-discovery 14:31:55 [ 90%] Built target template-discovery 14:31:55 Scanning dependencies of target device-file 14:31:55 [ 92%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:31:55 [ 93%] Linking C executable device-file 14:31:55 [ 93%] Built target device-file 14:31:55 Scanning dependencies of target device-terminal 14:31:55 [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:31:55 [ 96%] Linking C executable device-terminal 14:31:55 [ 96%] Built target device-terminal 14:31:55 Scanning dependencies of target templatev1 14:31:55 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 14:31:55 [100%] Linking C executable templatev1 14:31:55 [100%] Built target templatev1 14:31:55 make: Entering directory '/tmp/sdk/build/release' 14:31:55 make[1]: Entering directory '/tmp/sdk/build/release' 14:31:55 make[2]: Entering directory '/tmp/sdk/build/release' 14:31:55 make[2]: Leaving directory '/tmp/sdk/build/release' 14:31:55 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:31:55 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:31:55 [ 71%] Built target csdk 14:31:55 make[2]: Entering directory '/tmp/sdk/build/release' 14:31:55 make[2]: Leaving directory '/tmp/sdk/build/release' 14:31:55 [ 74%] Built target template 14:31:55 make[2]: Entering directory '/tmp/sdk/build/release' 14:31:55 make[2]: Leaving directory '/tmp/sdk/build/release' 14:31:55 [ 77%] Built target device-counter 14:31:55 make[2]: Entering directory '/tmp/sdk/build/release' 14:31:55 make[2]: Leaving directory '/tmp/sdk/build/release' 14:31:55 [ 80%] Built target device-random 14:31:55 make[2]: Entering directory '/tmp/sdk/build/release' 14:31:55 make[2]: Leaving directory '/tmp/sdk/build/release' 14:31:55 [ 84%] Built target device-gyro 14:31:55 make[2]: Entering directory '/tmp/sdk/build/release' 14:31:55 make[2]: Leaving directory '/tmp/sdk/build/release' 14:31:55 [ 87%] Built target device-bitfields 14:31:55 make[2]: Entering directory '/tmp/sdk/build/release' 14:31:55 make[2]: Leaving directory '/tmp/sdk/build/release' 14:31:55 [ 90%] Built target template-discovery 14:31:55 make[2]: Entering directory '/tmp/sdk/build/release' 14:31:55 make[2]: Leaving directory '/tmp/sdk/build/release' 14:31:55 [ 93%] Built target device-file 14:31:55 make[2]: Entering directory '/tmp/sdk/build/release' 14:31:55 make[2]: Leaving directory '/tmp/sdk/build/release' 14:31:55 [ 96%] Built target device-terminal 14:31:55 make[2]: Entering directory '/tmp/sdk/build/release' 14:31:55 make[2]: Leaving directory '/tmp/sdk/build/release' 14:31:55 [100%] Built target templatev1 14:31:55 make[1]: Leaving directory '/tmp/sdk/build/release' 14:31:55 Install the project... 14:31:55 -- Install configuration: "Release" 14:31:55 -- Installing: /usr/local/lib/libcsdk.so 14:31:55 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 14:31:55 -- Up-to-date: /usr/local/include 14:31:55 -- Installing: /usr/local/include/devsdk 14:31:55 -- Installing: /usr/local/include/devsdk/devsdk-base.h 14:31:55 -- Installing: /usr/local/include/devsdk/devsdk.h 14:31:55 -- Installing: /usr/local/include/edgex 14:31:55 -- Installing: /usr/local/include/edgex/device-mgmt.h 14:31:55 -- Installing: /usr/local/include/edgex/devices.h 14:31:55 -- Installing: /usr/local/include/edgex/devsdk.h 14:31:55 -- Installing: /usr/local/include/edgex/edgex-base.h 14:31:55 -- Installing: /usr/local/include/edgex/edgex.h 14:31:55 -- Installing: /usr/local/include/edgex/error.h 14:31:55 -- Installing: /usr/local/include/edgex/eventgen.h 14:31:55 -- Installing: /usr/local/include/edgex/os.h 14:31:55 -- Installing: /usr/local/include/edgex/profiles.h 14:31:55 -- Installing: /usr/local/include/edgex/rest-server.h 14:31:55 -- Installing: /usr/local/include/edgex/csdk-defs.h 14:31:55 -- Installing: /usr/local/include/iot 14:31:55 -- Installing: /usr/local/include/iot/base64.h 14:31:55 -- Installing: /usr/local/include/iot/component.h 14:31:55 -- Installing: /usr/local/include/iot/config.h 14:31:55 -- Installing: /usr/local/include/iot/container.h 14:31:55 -- Installing: /usr/local/include/iot/data.h 14:31:55 -- Installing: /usr/local/include/iot/hash.h 14:31:55 -- Installing: /usr/local/include/iot/iot.h 14:31:55 -- Installing: /usr/local/include/iot/json.h 14:31:55 -- Installing: /usr/local/include/iot/logger.h 14:31:55 -- Installing: /usr/local/include/iot/os.h 14:31:55 -- Installing: /usr/local/include/iot/scheduler.h 14:31:55 -- Installing: /usr/local/include/iot/thread.h 14:31:55 -- Installing: /usr/local/include/iot/threadpool.h 14:31:55 -- Installing: /usr/local/include/iot/time.h 14:31:55 -- Installing: /usr/local/include/iot/typecode.h 14:31:55 -- Installing: /usr/local/include/iot/yxml.h 14:31:55 -- Installing: /usr/local/include/iot/os 14:31:55 -- Installing: /usr/local/include/iot/os/linux.h 14:31:55 -- Installing: /usr/local/include/iot/os/macos.h 14:31:55 -- Installing: /usr/local/include/iot/os/zephyr.h 14:31:55 -- Installing: /usr/local/share/device-sdk-c/LICENSE 14:31:55 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 14:31:55 make: Leaving directory '/tmp/sdk/build/release' 14:31:55 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:31:56 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:31:56 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:31:56 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:31:57 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:31:58 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:31:58 Removing intermediate container e0607cf7b214 14:31:58 ---> 089caa3651e2 14:31:58 Step 14/21 : FROM ${BASE} 14:31:58 ---> 5eabd8fd8ba2 14:31:58 Step 15/21 : MAINTAINER IOTech 14:31:58 ---> Running in aad06f3d57e9 14:31:58 Removing intermediate container aad06f3d57e9 14:31:58 ---> 143d93665a01 14:31:58 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 14:31:58 ---> Running in ba0113755fbf 14:31:58 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 14:31:58 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:31:58 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 14:31:59 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 14:31:59 (1/3) Installing curl (7.64.0-r4) 14:31:59 (2/3) Installing libuuid (2.33-r0) 14:31:59 (3/3) Installing wget (1.20.3-r0) 14:31:59 Executing busybox-1.29.3-r10.trigger 14:31:59 OK: 268 MiB in 78 packages 14:32:00 Removing intermediate container ba0113755fbf 14:32:00 ---> 27c479452065 14:32:00 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 14:32:00 ---> c3ad372df8b9 14:32:00 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 14:32:00 ---> 57f9bade1cbf 14:32:00 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 14:32:00 ---> 888c0e7fa335 14:32:00 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 14:32:00 [ 49%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:32:01 ---> 740867df537f 14:32:01 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 14:32:01 [ 50%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:32:01 ---> 3b0794e865ac 14:32:01 Successfully built 3b0794e865ac 14:32:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:32:02 [ 52%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:32:02 + docker inspect -f . ci-base-image-x86_64 14:32:02 . 14:32:02 [ 53%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [Pipeline] withDockerContainer 14:32:02 prd-centos7-docker-4c-2g-5400 does not seem to be running inside a container 14:32:02 $ 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 14:32:03 $ docker top 367849db80e933da4bf25d1cc0dd2a05c3409f27120b5f53c18f302931c85b1f -eo pid,comm [Pipeline] { [Pipeline] sh 14:32:04 + make test 14:32:04 echo "make test" 14:32:04 make test [Pipeline] } 14:32:04 $ docker stop --time=1 367849db80e933da4bf25d1cc0dd2a05c3409f27120b5f53c18f302931c85b1f 14:32:05 $ docker rm -f 367849db80e933da4bf25d1cc0dd2a05c3409f27120b5f53c18f302931c85b1f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 14:32:06 [ 55%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:32:07 [ 57%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:32:07 [ 58%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:32:07 [ 60%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:32:08 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [Pipeline] sh 14:32:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:32:09 + ls -al . 14:32:09 total 160 14:32:09 drwxrwxr-x. 9 jenkins jenkins 275 Oct 14 14:31 . 14:32:09 drwxrwxr-x. 4 jenkins jenkins 28 Oct 14 14:31 .. 14:32:09 -rw-rw-r--. 1 jenkins jenkins 3104 Oct 14 14:31 Attribution.txt 14:32:09 -rw-rw-r--. 1 jenkins jenkins 5980 Oct 14 14:31 CHANGES 14:32:09 drwxrwxr-x. 2 jenkins jenkins 144 Oct 14 14:31 docs 14:32:09 -rw-rw-r--. 1 jenkins jenkins 108574 Oct 14 14:31 Doxyfile 14:32:09 drwxrwxr-x. 8 jenkins jenkins 179 Oct 14 14:31 .git 14:32:09 drwxrwxr-x. 2 jenkins jenkins 38 Oct 14 14:31 .github 14:32:09 -rw-rw-r--. 1 jenkins jenkins 176 Oct 14 14:31 .gitignore 14:32:09 drwxrwxr-x. 4 jenkins jenkins 33 Oct 14 14:31 include 14:32:09 -rw-rw-r--. 1 jenkins jenkins 794 Oct 14 14:31 Jenkinsfile 14:32:09 -rw-rw-r--. 1 jenkins jenkins 10174 Oct 14 14:31 LICENSE 14:32:09 -rw-rw-r--. 1 jenkins jenkins 449 Oct 14 14:31 Makefile 14:32:09 -rw-rw-r--. 1 jenkins jenkins 2697 Oct 14 14:31 README.md 14:32:09 -rw-rw-r--. 1 jenkins jenkins 5977 Oct 14 14:31 README.v2.md 14:32:09 drwxrwxr-x. 2 jenkins jenkins 108 Oct 14 14:31 scripts 14:32:09 drwxrwxr-x. 3 jenkins jenkins 72 Oct 14 14:31 .semver 14:32:09 drwxrwxr-x. 4 jenkins jenkins 50 Oct 14 14:31 src 14:32:09 -rw-rw-r--. 1 jenkins jenkins 5 Oct 14 14:28 VERSION [Pipeline] isUnix [Pipeline] sh 14:32:10 + 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=81b97c5f7e219e5cc5b330ae54dec30bf0cfd99d --label arch=amd64 --label version=0.0.0 . 14:32:10 Sending build context to Docker daemon 3.843MB 14:32:10 Step 1/15 : ARG BASE=alpine:3.11 14:32:10 Step 2/15 : FROM ${BASE} 14:32:10 ---> 3b0794e865ac 14:32:10 Step 3/15 : MAINTAINER IOTech 14:32:10 [ 63%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:32:10 ---> Running in 9a9d789c65f4 14:32:10 Removing intermediate container 9a9d789c65f4 14:32:10 ---> 5f0d4a36ff5d 14:32:10 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 14:32:10 ---> Running in dc6d8cfebf41 14:32:11 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 14:32:11 [ 65%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:32:12 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 14:32:12 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 14:32:12 (2/6) Installing libblkid (2.33-r0) 14:32:12 (3/6) Installing libfdisk (2.33-r0) 14:32:12 (4/6) Installing libmount (2.33-r0) 14:32:12 (5/6) Installing libsmartcols (2.33-r0) 14:32:12 (6/6) Installing util-linux-dev (2.33-r0) 14:32:13 Executing busybox-1.29.3-r10.trigger 14:32:13 OK: 272 MiB in 84 packages 14:32:13 Removing intermediate container dc6d8cfebf41 14:32:13 ---> e0cc417f726a 14:32:13 Step 5/15 : COPY VERSION /edgex-c-sdk/ 14:32:13 ---> f404543bac7f 14:32:13 Step 6/15 : COPY src /edgex-c-sdk/src/ 14:32:14 ---> a91035fd03bb 14:32:14 Step 7/15 : COPY include /edgex-c-sdk/include/ 14:32:14 ---> 0cceaedefa1f 14:32:14 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 14:32:14 ---> f215e2db41dc 14:32:14 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 14:32:15 ---> ece9f62694a7 14:32:15 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 14:32:15 ---> c062fd292a8d 14:32:15 Step 11/15 : WORKDIR /edgex-c-sdk 14:32:15 [ 66%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:32:15 ---> Running in 193f0efc7c9e 14:32:15 Removing intermediate container 193f0efc7c9e 14:32:15 ---> f92fadf7ed71 14:32:15 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 14:32:15 ---> Running in eef5a3d87523 14:32:15 [ 68%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 14:32:15 Removing intermediate container eef5a3d87523 14:32:15 ---> 9356607beaee 14:32:15 Step 13/15 : LABEL arch=amd64 14:32:15 ---> Running in d01566d0db42 14:32:16 Removing intermediate container d01566d0db42 14:32:16 ---> 44d9f92e0682 14:32:16 Step 14/15 : LABEL git_sha=81b97c5f7e219e5cc5b330ae54dec30bf0cfd99d 14:32:16 ---> Running in 2f8f88899b2f 14:32:16 Removing intermediate container 2f8f88899b2f 14:32:16 ---> 5e984fc429d6 14:32:16 Step 15/15 : LABEL version=0.0.0 14:32:16 ---> Running in fc96095139e7 14:32:16 Removing intermediate container fc96095139e7 14:32:16 ---> 50ff0250bef7 14:32:16 [Warning] One or more build-args [ARCH MAKE] were not consumed 14:32:16 Successfully built 50ff0250bef7 14:32:16 Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } 14:32:16 [ 69%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } 14:32:17 [ 71%] Linking C shared library libcsdk.so [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv 14:32:17 [ 71%] Built target csdk 14:32:17 Scanning dependencies of target template 14:32:17 [ 73%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } 14:32:18 [ 74%] Linking C executable template [Pipeline] // stage [Pipeline] } 14:32:18 [ 74%] Built target template 14:32:18 Scanning dependencies of target device-counter 14:32:18 [ 76%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:32:18 [ 77%] Linking C executable device-counter 14:32:18 [ 77%] Built target device-counter 14:32:19 Scanning dependencies of target device-random 14:32:19 [ 79%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:32:19 [ 80%] Linking C executable device-random 14:32:19 [ 80%] Built target device-random 14:32:19 Scanning dependencies of target device-gyro 14:32:19 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:32:20 [ 84%] Linking C executable device-gyro 14:32:20 [ 84%] Built target device-gyro 14:32:20 Scanning dependencies of target device-bitfields 14:32:20 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:32:20 [ 87%] Linking C executable device-bitfields 14:32:20 [ 87%] Built target device-bitfields 14:32:21 Scanning dependencies of target template-discovery 14:32:21 [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:32:21 [ 90%] Linking C executable template-discovery 14:32:22 [ 90%] Built target template-discovery 14:32:22 Scanning dependencies of target device-file 14:32:22 [ 92%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:32:22 [ 93%] Linking C executable device-file 14:32:22 [ 93%] Built target device-file 14:32:22 Scanning dependencies of target device-terminal 14:32:22 [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:32:23 [ 96%] Linking C executable device-terminal 14:32:23 [ 96%] Built target device-terminal 14:32:23 Scanning dependencies of target templatev1 14:32:23 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 14:32:24 [100%] Linking C executable templatev1 14:32:24 [100%] Built target templatev1 14:32:24 + + teemake -a package release.log 14:32:24 14:32:24 [ 71%] Built target csdk 14:32:24 [ 74%] Built target template 14:32:24 [ 77%] Built target device-counter 14:32:24 [ 80%] Built target device-random 14:32:24 [ 84%] Built target device-gyro 14:32:24 [ 87%] Built target device-bitfields 14:32:24 [ 90%] Built target template-discovery 14:32:24 [ 93%] Built target device-file 14:32:24 [ 96%] Built target device-terminal 14:32:24 [100%] Built target templatev1 14:32:24 Run CPack packaging tool... 14:32:24 CPack: Create package using TGZ 14:32:24 CPack: Install projects 14:32:24 CPack: - Run preinstall target for: Csdk 14:32:25 CPack: - Install project: Csdk 14:32:25 CPack: Create package 14:32:25 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 14:32:25 + '[' false '=' true ] 14:32:25 + '[' false '=' true ] 14:32:25 + mkdir -p /tmp/sdk/build/debug 14:32:25 + cd /tmp/sdk/build/debug 14:32:25 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 14:32:26 -- The C compiler identification is GNU 8.3.0 14:32:26 -- Check for working C compiler: /usr/bin/cc 14:32:26 -- Check for working C compiler: /usr/bin/cc -- works 14:32:26 -- Detecting C compiler ABI info 14:32:26 -- Detecting C compiler ABI info - done 14:32:26 -- Detecting C compile features 14:32:27 -- Detecting C compile features - done 14:32:27 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:32:27 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 14:32:27 -- Found LIBYAML: /usr/lib/libyaml.so 14:32:27 -- Found LIBUUID: /usr/lib/libuuid.so 14:32:27 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 14:32:27 -- C SDK 0.0.0 for Linux 14:32:27 -- Performing Test CSDK_HAVE_ATOMIC 14:32:27 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:32:27 -- Found Curses: /usr/lib/libcurses.so 14:32:27 -- Configuring done 14:32:28 -- Generating done 14:32:28 -- Build files have been written to: /tmp/sdk/build/debug 14:32:28 + + maketee debug.log 14:32:28 14:32:28 Scanning dependencies of target csdk 14:32:28 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:32:28 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 14:32:28 [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 14:32:29 [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:32:29 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:32:30 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:32:30 [ 11%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:32:30 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:32:31 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:32:31 [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:32:31 [ 17%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:32:32 [ 19%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:32:32 [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:32:32 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:32:32 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:32:33 [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:32:33 [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:32:33 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 14:32:34 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:32:34 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:32:35 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:32:35 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:32:35 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:32:35 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:32:35 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:32:36 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:32:36 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:32:36 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:32:36 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:32:37 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 14:32:37 [ 49%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:32:37 [ 50%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:32:38 [ 52%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:32:38 [ 53%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:32:39 [ 55%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:32:39 [ 57%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:32:39 [ 58%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:32:40 [ 60%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:32:40 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:32:41 [ 63%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:32:41 [ 65%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:32:42 [ 66%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:32:42 [ 68%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 14:32:43 [ 69%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:32:43 [ 71%] Linking C shared library libcsdk.so 14:32:43 [ 71%] Built target csdk 14:32:43 Scanning dependencies of target template 14:32:43 [ 73%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:32:43 [ 74%] Linking C executable template 14:32:43 [ 74%] Built target template 14:32:44 Scanning dependencies of target device-counter 14:32:44 [ 76%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:32:44 [ 77%] Linking C executable device-counter 14:32:44 [ 77%] Built target device-counter 14:32:44 Scanning dependencies of target device-random 14:32:44 [ 79%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:32:44 [ 80%] Linking C executable device-random 14:32:45 [ 80%] Built target device-random 14:32:45 Scanning dependencies of target device-gyro 14:32:45 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:32:45 [ 84%] Linking C executable device-gyro 14:32:45 [ 84%] Built target device-gyro 14:32:45 Scanning dependencies of target device-bitfields 14:32:45 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:32:45 [ 87%] Linking C executable device-bitfields 14:32:46 [ 87%] Built target device-bitfields 14:32:46 Scanning dependencies of target template-discovery 14:32:46 [ 88%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:32:46 [ 90%] Linking C executable template-discovery 14:32:46 [ 90%] Built target template-discovery 14:32:46 Scanning dependencies of target device-file 14:32:46 [ 92%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:32:46 [ 93%] Linking C executable device-file 14:32:47 [ 93%] Built target device-file 14:32:47 Scanning dependencies of target device-terminal 14:32:47 [ 95%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:32:47 [ 96%] Linking C executable device-terminal 14:32:47 [ 96%] Built target device-terminal 14:32:47 Scanning dependencies of target templatev1 14:32:47 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 14:32:48 [100%] Linking C executable templatev1 14:32:48 [100%] Built target templatev1 14:32:48 make: Entering directory '/tmp/sdk/build/release' 14:32:48 make[1]: Entering directory '/tmp/sdk/build/release' 14:32:48 make[2]: Entering directory '/tmp/sdk/build/release' 14:32:48 make[2]: Leaving directory '/tmp/sdk/build/release' 14:32:48 [ 71%] Built target csdk 14:32:48 make[2]: Entering directory '/tmp/sdk/build/release' 14:32:48 make[2]: Leaving directory '/tmp/sdk/build/release' 14:32:48 [ 74%] Built target template 14:32:48 make[2]: Entering directory '/tmp/sdk/build/release' 14:32:48 make[2]: Leaving directory '/tmp/sdk/build/release' 14:32:48 [ 77%] Built target device-counter 14:32:48 make[2]: Entering directory '/tmp/sdk/build/release' 14:32:48 make[2]: Leaving directory '/tmp/sdk/build/release' 14:32:48 [ 80%] Built target device-random 14:32:48 make[2]: Entering directory '/tmp/sdk/build/release' 14:32:48 make[2]: Leaving directory '/tmp/sdk/build/release' 14:32:48 [ 84%] Built target device-gyro 14:32:48 make[2]: Entering directory '/tmp/sdk/build/release' 14:32:48 make[2]: Leaving directory '/tmp/sdk/build/release' 14:32:48 [ 87%] Built target device-bitfields 14:32:48 make[2]: Entering directory '/tmp/sdk/build/release' 14:32:48 make[2]: Leaving directory '/tmp/sdk/build/release' 14:32:48 [ 90%] Built target template-discovery 14:32:48 make[2]: Entering directory '/tmp/sdk/build/release' 14:32:48 make[2]: Leaving directory '/tmp/sdk/build/release' 14:32:48 [ 93%] Built target device-file 14:32:48 make[2]: Entering directory '/tmp/sdk/build/release' 14:32:48 make[2]: Leaving directory '/tmp/sdk/build/release' 14:32:48 [ 96%] Built target device-terminal 14:32:48 make[2]: Entering directory '/tmp/sdk/build/release' 14:32:48 make[2]: Leaving directory '/tmp/sdk/build/release' 14:32:48 [100%] Built target templatev1 14:32:48 make[1]: Leaving directory '/tmp/sdk/build/release' 14:32:48 Install the project... 14:32:48 -- Install configuration: "Release" 14:32:48 -- Installing: /usr/local/lib/libcsdk.so 14:32:48 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 14:32:48 -- Up-to-date: /usr/local/include 14:32:48 -- Installing: /usr/local/include/edgex 14:32:48 -- Installing: /usr/local/include/edgex/device-mgmt.h 14:32:48 -- Installing: /usr/local/include/edgex/eventgen.h 14:32:48 -- Installing: /usr/local/include/edgex/error.h 14:32:48 -- Installing: /usr/local/include/edgex/rest-server.h 14:32:48 -- Installing: /usr/local/include/edgex/edgex-base.h 14:32:48 -- Installing: /usr/local/include/edgex/devsdk.h 14:32:48 -- Installing: /usr/local/include/edgex/edgex.h 14:32:48 -- Installing: /usr/local/include/edgex/devices.h 14:32:48 -- Installing: /usr/local/include/edgex/os.h 14:32:48 -- Installing: /usr/local/include/edgex/profiles.h 14:32:48 -- Installing: /usr/local/include/edgex/csdk-defs.h 14:32:48 -- Installing: /usr/local/include/devsdk 14:32:48 -- Installing: /usr/local/include/devsdk/devsdk-base.h 14:32:48 -- Installing: /usr/local/include/devsdk/devsdk.h 14:32:48 -- Installing: /usr/local/include/iot 14:32:48 -- Installing: /usr/local/include/iot/json.h 14:32:48 -- Installing: /usr/local/include/iot/yxml.h 14:32:48 -- Installing: /usr/local/include/iot/container.h 14:32:48 -- Installing: /usr/local/include/iot/component.h 14:32:48 -- Installing: /usr/local/include/iot/typecode.h 14:32:48 -- Installing: /usr/local/include/iot/iot.h 14:32:48 -- Installing: /usr/local/include/iot/time.h 14:32:48 -- Installing: /usr/local/include/iot/hash.h 14:32:48 -- Installing: /usr/local/include/iot/logger.h 14:32:48 -- Installing: /usr/local/include/iot/os 14:32:48 -- Installing: /usr/local/include/iot/os/zephyr.h 14:32:48 -- Installing: /usr/local/include/iot/os/linux.h 14:32:48 -- Installing: /usr/local/include/iot/os/macos.h 14:32:48 -- Installing: /usr/local/include/iot/scheduler.h 14:32:48 -- Installing: /usr/local/include/iot/data.h 14:32:48 -- Installing: /usr/local/include/iot/thread.h 14:32:48 -- Installing: /usr/local/include/iot/os.h 14:32:48 -- Installing: /usr/local/include/iot/base64.h 14:32:48 -- Installing: /usr/local/include/iot/threadpool.h 14:32:48 -- Installing: /usr/local/include/iot/config.h 14:32:48 -- Installing: /usr/local/share/device-sdk-c/LICENSE 14:32:48 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 14:32:48 make: Leaving directory '/tmp/sdk/build/release' 14:32:51 Removing intermediate container 935b313b62bd 14:32:51 ---> d16974333eae 14:32:51 Step 14/21 : FROM ${BASE} 14:32:51 ---> b23d30803547 14:32:51 Step 15/21 : MAINTAINER IOTech 14:32:51 ---> Running in 6f067c26a450 14:32:51 Removing intermediate container 6f067c26a450 14:32:51 ---> 80f2550aa56c 14:32:51 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 14:32:52 ---> Running in a93ecb5884fb 14:32:53 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 14:32:54 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 14:32:54 (1/3) Installing curl (7.64.0-r4) 14:32:54 (2/3) Installing libuuid (2.33-r0) 14:32:54 (3/3) Installing wget (1.20.3-r0) 14:32:55 Executing busybox-1.29.3-r10.trigger 14:32:55 OK: 281 MiB in 78 packages 14:32:56 Removing intermediate container a93ecb5884fb 14:32:56 ---> 05f90b1230e5 14:32:56 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 14:32:57 ---> dc510110c838 14:32:57 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 14:32:58 ---> 2c2928e4249d 14:32:58 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 14:32:58 ---> 05fefbc132eb 14:32:58 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 14:32:59 ---> 73cd39c86c5e 14:32:59 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 14:33:00 ---> 1d054b1d09df 14:33:00 Successfully built 1d054b1d09df 14:33:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:33:01 + docker inspect -f . ci-base-image-arm64 14:33:01 . [Pipeline] withDockerContainer 14:33:01 prd-ubuntu18.04-docker-arm64-4c-16g-5399 does not seem to be running inside a container 14:33:01 $ 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 14:33:03 $ docker top ed1e1089d352df3e6876c690ab59349fe5eaa0c97b16701b5479ed85f59b21db -eo pid,comm [Pipeline] { [Pipeline] sh 14:33:04 + make test 14:33:04 echo "make test" 14:33:04 make test [Pipeline] } 14:33:05 $ docker stop --time=1 ed1e1089d352df3e6876c690ab59349fe5eaa0c97b16701b5479ed85f59b21db 14:33:07 $ docker rm -f ed1e1089d352df3e6876c690ab59349fe5eaa0c97b16701b5479ed85f59b21db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:33:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:33:08 + ls -al . 14:33:08 total 196 14:33:08 drwxrwxr-x 9 jenkins jenkins 4096 Oct 14 14:30 . 14:33:08 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 14:30 .. 14:33:08 drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 14:30 .git 14:33:08 drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 14:30 .github 14:33:08 -rw-rw-r-- 1 jenkins jenkins 176 Oct 14 14:30 .gitignore 14:33:08 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 14:30 .semver 14:33:08 -rw-rw-r-- 1 jenkins jenkins 3104 Oct 14 14:30 Attribution.txt 14:33:08 -rw-rw-r-- 1 jenkins jenkins 5980 Oct 14 14:30 CHANGES 14:33:08 -rw-rw-r-- 1 jenkins jenkins 108574 Oct 14 14:30 Doxyfile 14:33:08 -rw-rw-r-- 1 jenkins jenkins 794 Oct 14 14:30 Jenkinsfile 14:33:08 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 14 14:30 LICENSE 14:33:08 -rw-rw-r-- 1 jenkins jenkins 449 Oct 14 14:30 Makefile 14:33:08 -rw-rw-r-- 1 jenkins jenkins 2697 Oct 14 14:30 README.md 14:33:08 -rw-rw-r-- 1 jenkins jenkins 5977 Oct 14 14:30 README.v2.md 14:33:08 -rw-rw-r-- 1 jenkins jenkins 5 Oct 14 14:28 VERSION 14:33:08 drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 14:30 docs 14:33:08 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 14:30 include 14:33:08 drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 14:30 scripts 14:33:08 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 14:30 src [Pipeline] isUnix [Pipeline] sh 14:33:09 + 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=81b97c5f7e219e5cc5b330ae54dec30bf0cfd99d --label arch=arm64 --label version=0.0.0 . 14:33:09 Sending build context to Docker daemon 3.843MB 14:33:09 Step 1/15 : ARG BASE=alpine:3.11 14:33:09 Step 2/15 : FROM ${BASE} 14:33:09 ---> 1d054b1d09df 14:33:09 Step 3/15 : MAINTAINER IOTech 14:33:09 ---> Running in 7f2dd2283e6d 14:33:10 Removing intermediate container 7f2dd2283e6d 14:33:10 ---> 56011cb5b3f4 14:33:10 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 14:33:10 ---> Running in 5e0ced428f28 14:33:11 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 14:33:12 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 14:33:12 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 14:33:13 (2/6) Installing libblkid (2.33-r0) 14:33:13 (3/6) Installing libfdisk (2.33-r0) 14:33:13 (4/6) Installing libmount (2.33-r0) 14:33:13 (5/6) Installing libsmartcols (2.33-r0) 14:33:13 (6/6) Installing util-linux-dev (2.33-r0) 14:33:14 Executing busybox-1.29.3-r10.trigger 14:33:14 OK: 286 MiB in 84 packages 14:33:15 Removing intermediate container 5e0ced428f28 14:33:15 ---> 5d001aac5d23 14:33:15 Step 5/15 : COPY VERSION /edgex-c-sdk/ 14:33:16 ---> f8dcde060247 14:33:16 Step 6/15 : COPY src /edgex-c-sdk/src/ 14:33:17 ---> 2a0faf865980 14:33:17 Step 7/15 : COPY include /edgex-c-sdk/include/ 14:33:18 ---> 47bf48c4f8ba 14:33:18 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 14:33:18 ---> dc10f2de9b73 14:33:18 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 14:33:19 ---> ae8d2bb0a715 14:33:19 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 14:33:20 ---> d201f3cdbfaa 14:33:20 Step 11/15 : WORKDIR /edgex-c-sdk 14:33:20 ---> Running in a665336c84ca 14:33:20 Removing intermediate container a665336c84ca 14:33:20 ---> dd828f796457 14:33:20 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 14:33:21 ---> Running in 78e5fdfbac21 14:33:21 Removing intermediate container 78e5fdfbac21 14:33:21 ---> 238112971a27 14:33:21 Step 13/15 : LABEL arch=arm64 14:33:21 ---> Running in 96a36ae1dbda 14:33:22 Removing intermediate container 96a36ae1dbda 14:33:22 ---> f52e44b0a8e9 14:33:22 Step 14/15 : LABEL git_sha=81b97c5f7e219e5cc5b330ae54dec30bf0cfd99d 14:33:22 ---> Running in cc547853017a 14:33:22 Removing intermediate container cc547853017a 14:33:22 ---> 1a34d1b0f677 14:33:22 Step 15/15 : LABEL version=0.0.0 14:33:22 ---> Running in 80dd23d31d15 14:33:23 Removing intermediate container 80dd23d31d15 14:33:23 ---> c369c484ed32 14:33:23 [Warning] One or more build-args [ARCH MAKE] were not consumed 14:33:23 Successfully built c369c484ed32 14:33:23 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 14:33:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:33:28 ---> package-listing.sh 14:33:28 ++ facter osfamily 14:33:28 ++ tr '[:upper:]' '[:lower:]' 14:33:28 + OS_FAMILY=redhat 14:33:28 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-301 14:33:28 + START_PACKAGES=/tmp/packages_start.txt 14:33:28 + END_PACKAGES=/tmp/packages_end.txt 14:33:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:33:28 + PACKAGES=/tmp/packages_start.txt 14:33:28 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-301 ']' 14:33:28 + PACKAGES=/tmp/packages_end.txt 14:33:28 + case "${OS_FAMILY}" in 14:33:28 + rpm -qa 14:33:28 + sort 14:33:33 + '[' -f /tmp/packages_start.txt ']' 14:33:33 + '[' -f /tmp/packages_end.txt ']' 14:33:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:33:33 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-301 ']' 14:33:33 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-301/archives/ 14:33:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-301/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:33:33 provisioning config files... 14:33:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-301@tmp/config8132737075300962901tmp [Pipeline] { [Pipeline] echo 14:33:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:33:33 ---> create-netrc.sh [Pipeline] } 14:33:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 14:33:34 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 14:33:34 ---> python-tools-install.sh 14:33:34 Generating Requirements File 14:35:11 Python 3.6.8 14:35:11 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 14:35:11 appdirs==1.4.3 14:35:11 argcomplete==1.12.1 14:35:11 aspy.yaml==1.3.0 14:35:11 attrs==19.3.0 14:35:11 Babel==2.8.0 14:35:11 beautifulsoup4==4.8.2 14:35:11 boto3==1.11.6 14:35:11 botocore==1.14.6 14:35:11 bs4==0.0.1 14:35:11 cachetools==4.1.1 14:35:11 certifi==2019.11.28 14:35:11 cffi==1.14.3 14:35:11 cfgv==2.0.1 14:35:11 chardet==3.0.4 14:35:11 click==7.1 14:35:11 cliff==3.4.0 14:35:11 cmd2==1.3.11 14:35:11 colorama==0.4.4 14:35:11 cryptography==3.1.1 14:35:11 debtcollector==2.2.0 14:35:11 decorator==4.4.2 14:35:11 defusedxml==0.6.0 14:35:11 Deprecated==1.2.7 14:35:11 distlib==0.3.1 14:35:11 distro==1.2.0 14:35:11 dnspython==1.16.0 14:35:11 docker==4.2.0 14:35:11 docutils==0.15.2 14:35:11 dogpile.cache==1.0.2 14:35:11 email-validator==1.0.5 14:35:11 filelock==3.0.12 14:35:11 future==0.18.2 14:35:11 google-auth==1.22.1 14:35:11 httplib2==0.17.0 14:35:11 identify==1.4.11 14:35:11 idna==2.9 14:35:11 importlib-metadata==2.0.0 14:35:11 importlib-resources==1.5.0 14:35:11 iso8601==0.1.13 14:35:11 Jinja2==2.11.1 14:35:11 jmespath==0.10.0 14:35:11 jsonpatch==1.26 14:35:11 jsonpointer==2.0 14:35:11 jsonschema==3.2.0 14:35:11 keystoneauth1==4.2.1 14:35:11 kubernetes==11.0.0 14:35:11 lftools==0.34.2 14:35:11 lxml==4.5.0 14:35:11 MarkupSafe==0.23 14:35:11 msgpack==1.0.0 14:35:11 multi-key-dict==2.0.3 14:35:11 munch==2.5.0 14:35:11 netaddr==0.8.0 14:35:11 netifaces==0.10.9 14:35:11 niet==1.4.2 14:35:11 nodeenv==1.3.5 14:35:11 oauth2client==4.1.3 14:35:11 oauthlib==3.1.0 14:35:11 openstacksdk==0.50.0 14:35:11 os-client-config==2.1.0 14:35:11 os-service-types==1.7.0 14:35:11 osc-lib==2.2.1 14:35:11 oslo.config==8.3.2 14:35:11 oslo.context==3.1.1 14:35:11 oslo.i18n==5.0.1 14:35:11 oslo.log==4.4.0 14:35:11 oslo.serialization==4.0.1 14:35:11 oslo.utils==4.6.0 14:35:11 packaging==20.4 14:35:11 pbr==5.4.4 14:35:11 pluggy==0.13.1 14:35:11 prettytable==0.7.2 14:35:11 py==1.9.0 14:35:11 pyasn1==0.4.8 14:35:11 pyasn1-modules==0.2.8 14:35:11 pycparser==2.20 14:35:11 pygerrit2==2.0.10 14:35:11 PyGithub==1.46 14:35:11 pyinotify==0.9.6 14:35:11 PyJWT==1.7.1 14:35:11 pyparsing==2.4.7 14:35:11 pyperclip==1.8.1 14:35:11 pyroute2==0.4.13 14:35:11 pyrsistent==0.15.7 14:35:11 PySocks==1.6.8 14:35:11 python-cinderclient==7.2.0 14:35:11 python-dateutil==2.8.1 14:35:11 python-heatclient==2.2.1 14:35:11 python-jenkins==1.7.0 14:35:11 python-keystoneclient==4.1.1 14:35:11 python-magnumclient==3.2.1 14:35:11 python-novaclient==17.2.1 14:35:11 python-openstackclient==5.4.0 14:35:11 python-swiftclient==3.10.1 14:35:11 pytz==2020.1 14:35:11 PyYAML==5.3 14:35:11 requests==2.23.0 14:35:11 requests-oauthlib==1.3.0 14:35:11 requestsexceptions==1.4.0 14:35:11 rfc3986==1.4.0 14:35:11 rpm==4.11.3 14:35:11 rsa==4.0 14:35:11 ruamel.yaml==0.16.10 14:35:11 ruamel.yaml.clib==0.2.0 14:35:11 s3transfer==0.3.3 14:35:11 shade==1.27.2 14:35:11 simplejson==3.17.2 14:35:11 six==1.14.0 14:35:11 soupsieve==2.0 14:35:11 stevedore==3.2.2 14:35:11 tabulate==0.8.6 14:35:11 toml==0.10.0 14:35:11 tox==3.20.1 14:35:11 tqdm==4.43.0 14:35:11 urllib3==1.25.8 14:35:11 virtualenv==20.0.34 14:35:11 wcwidth==0.2.5 14:35:11 websocket-client==0.57.0 14:35:11 wrapt==1.12.1 14:35:11 xdg==3.0.2 14:35:11 xmltodict==0.12.0 14:35:11 yq==2.11.1 14:35:11 zipp==3.3.0 14:35:11 Cache entry deserialization failed, entry ignored 14:35:14 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. 14:35:19 Python 2.7.5 14:35:19 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 14:35:20 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. 14:35:20 ansible==2.9.7 14:35:20 Babel==0.9.6 14:35:20 backports.ssl-match-hostname==3.5.0.1 14:35:20 beautifulsoup4==4.4.1 14:35:20 bodhi==2.11.0 14:35:20 bodhi-client==2.11.0 14:35:20 CCColUtils==1.4 14:35:20 cffi==1.6.0 14:35:20 chardet==2.2.1 14:35:20 click==6.7 14:35:20 cloud-init==18.5 14:35:20 configobj==4.7.2 14:35:20 cryptography==1.7.2 14:35:20 decorator==3.4.0 14:35:20 distro==1.2.0 14:35:20 enum34==1.0.4 14:35:20 fedpkg==1.38 14:35:20 futures==3.1.1 14:35:20 gitdb==0.6.4 14:35:20 GitPython==1.0.1 14:35:20 html5lib==0.999 14:35:20 httplib2==0.9.2 14:35:20 idna==2.4 14:35:20 iniparse==0.4 14:35:20 ipaddress==1.0.16 14:35:20 IPy==0.75 14:35:20 javapackages==1.0.0 14:35:20 Jinja2==2.7.2 14:35:20 jmespath==0.9.4 14:35:20 jsonpatch==1.2 14:35:20 jsonpointer==1.9 14:35:20 kerberos==1.1 14:35:20 kitchen==1.1.1 14:35:20 langtable==0.0.31 14:35:20 lockfile==0.9.1 14:35:20 lxml==3.2.1 14:35:20 MarkupSafe==0.11 14:35:20 munch==2.0.2 14:35:20 offtrac==0.1.0 14:35:20 openidc-client==0.6.0 14:35:20 packagedb-cli==2.14.1 14:35:20 paramiko==2.1.1 14:35:20 perf==0.1 14:35:20 ply==3.4 14:35:20 policycoreutils-default-encoding==0.1 14:35:20 prettytable==0.7.2 14:35:20 pyasn1==0.1.9 14:35:20 pycparser==2.14 14:35:20 pycurl==7.19.0 14:35:20 pygobject==3.22.0 14:35:20 pygpgme==0.3 14:35:20 pyliblzma==0.5.3 14:35:20 pyOpenSSL==0.13.1 14:35:20 pyparsing==1.5.6 14:35:20 pyserial==2.6 14:35:20 python-augeas==0.5.0 14:35:20 python-bugzilla==2.3.0 14:35:20 python-dateutil==1.5 14:35:20 python-fedora==0.10.0 14:35:20 python-linux-procfs==0.4.9 14:35:20 python-yubico==1.2.3 14:35:20 pyudev==0.15 14:35:20 pyusb==1.0.0b1 14:35:20 pyxattr==0.5.1 14:35:20 PyYAML==3.10 14:35:20 requests==2.6.0 14:35:20 requests-kerberos==0.7.0 14:35:20 rpkg==1.60 14:35:20 schedutils==0.4 14:35:20 seobject==0.1 14:35:20 sepolicy==1.1 14:35:20 six==1.9.0 14:35:20 smmap==0.9.0 14:35:20 urlgrabber==3.10 14:35:20 urllib3==1.10.2 14:35:20 virtualenv==15.1.0 14:35:20 yum-langpacks==0.4.2 14:35:20 yum-metadata-parser==1.1.4 [Pipeline] echo 14:35:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:35:20 ---> sudo-logs.sh 14:35:20 Archiving 'sudo' log.. [Pipeline] echo 14:35:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:35:21 ---> job-cost.sh 14:35:21 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ypVn 14:35:36 Cache entry deserialization failed, entry ignored 14:35:36 Cache entry deserialization failed, entry ignored 14:35:36 Cache entry deserialization failed, entry ignored 14:35:36 Cache entry deserialization failed, entry ignored 14:35:36 Cache entry deserialization failed, entry ignored 14:35:36 Cache entry deserialization failed, entry ignored 14:35:36 Cache entry deserialization failed, entry ignored 14:35:36 Cache entry deserialization failed, entry ignored 14:35:36 Cache entry deserialization failed, entry ignored 14:35:36 Cache entry deserialization failed, entry ignored 14:35:37 Cache entry deserialization failed, entry ignored 14:35:37 Cache entry deserialization failed, entry ignored 14:35:37 Cache entry deserialization failed, entry ignored 14:35:41 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 14:36:20 lf-activate-venv(): INFO: Adding /tmp/venv-ypVn/bin to PATH 14:36:20 INFO: No Stack... 14:36:21 INFO: Retrieving Pricing Info for: v1-standard-2 14:36:21 INFO: Archiving Costs [Pipeline] echo 14:36:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:36:22 ---> logs-deploy.sh 14:36:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-301/1 14:36:22 INFO: archiving workspace using pattern(s): 14:36:24 Archives upload complete. 14:36:24 INFO: archiving logs to Nexus