Pull request #340 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 0fcf46ac52fab5bfaa4db26eb743f5b517ddb0ef+603e15a22e98ad0ffc0e9ce671b1afa02ea84060 (d6aaa90940f4a7f8b4bf0b1cf4bfd780afc5a0bc) 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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-340/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 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > 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 46d8313d362d7075c0f562900eedc504c24ea18a 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-340/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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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-base, dockerFilePath:scripts/Dockerfile.alpine, 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 DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-33157 in /w/workspace/edgexfoundry_device-sdk-c_PR-340 [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-340 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 into PR head commit 0fcf46ac52fab5bfaa4db26eb743f5b517ddb0ef Merge succeeded, producing 0fcf46ac52fab5bfaa4db26eb743f5b517ddb0ef Checking out Revision 0fcf46ac52fab5bfaa4db26eb743f5b517ddb0ef (PR-340) > 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 --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/340/head:refs/remotes/origin/PR-340 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0fcf46ac52fab5bfaa4db26eb743f5b517ddb0ef # 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 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0fcf46ac52fab5bfaa4db26eb743f5b517ddb0ef # timeout=10 Commit message: "refactor: Switch to 2.0 Consul path" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-07T13:43:28.646Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-07T13:43:29.086Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-07T13:43:29.310Z] ========================================================= [2021-04-07T13:43:29.310Z] EdgeX Global Pipelines Version Info [2021-04-07T13:43:29.310Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-07T13:43:31.238Z] ------------------- [2021-04-07T13:43:31.238Z] stable info: [2021-04-07T13:43:31.238Z] ------------------- [2021-04-07T13:43:31.238Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-07T13:43:31.238Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-07T13:43:31.238Z] Message: update stable to v1.0.186 [2021-04-07T13:43:32.183Z] ------------------- [2021-04-07T13:43:32.184Z] experimental info: [2021-04-07T13:43:32.184Z] ------------------- [2021-04-07T13:43:32.184Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-07T13:43:32.184Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-07T13:43:32.184Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-07T13:43:32.569Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-04-07T13:43:32.737Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-04-07T13:43:32.871Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-07T13:43:32.994Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-07T13:43:33.144Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-07T13:43:33.294Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-04-07T13:43:33.422Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-04-07T13:43:33.543Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-04-07T13:43:33.676Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-07T13:43:33.804Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-c [Pipeline] echo [2021-04-07T13:43:33.952Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-07T13:43:34.075Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-07T13:43:34.201Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-07T13:43:34.323Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-07T13:43:34.466Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-07T13:43:34.590Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-07T13:43:34.709Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-07T13:43:34.836Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-340 [Pipeline] echo [2021-04-07T13:43:34.971Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-340 [Pipeline] echo [2021-04-07T13:43:35.089Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-340 [Pipeline] echo [2021-04-07T13:43:35.210Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0fcf46ac52fab5bfaa4db26eb743f5b517ddb0ef [Pipeline] echo [2021-04-07T13:43:35.338Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0fcf46a [Pipeline] echo [2021-04-07T13:43:35.464Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-07T13:43:35.724Z] provisioning config files... [2021-04-07T13:43:35.753Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-340@tmp/config7357546709772661536tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-07T13:43:36.192Z] ---> docker-login.sh [2021-04-07T13:43:36.192Z] nexus3.edgexfoundry.org:10001 [2021-04-07T13:43:36.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T13:43:36.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T13:43:36.771Z] Configure a credential helper to remove this warning. See [2021-04-07T13:43:36.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T13:43:36.771Z] [2021-04-07T13:43:36.771Z] Login Succeeded [2021-04-07T13:43:36.771Z] nexus3.edgexfoundry.org:10002 [2021-04-07T13:43:37.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T13:43:37.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T13:43:37.036Z] Configure a credential helper to remove this warning. See [2021-04-07T13:43:37.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T13:43:37.036Z] [2021-04-07T13:43:37.036Z] Login Succeeded [2021-04-07T13:43:37.036Z] nexus3.edgexfoundry.org:10003 [2021-04-07T13:43:37.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T13:43:37.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T13:43:37.302Z] Configure a credential helper to remove this warning. See [2021-04-07T13:43:37.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T13:43:37.302Z] [2021-04-07T13:43:37.302Z] Login Succeeded [2021-04-07T13:43:37.302Z] nexus3.edgexfoundry.org:10004 [2021-04-07T13:43:37.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T13:43:37.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T13:43:37.565Z] Configure a credential helper to remove this warning. See [2021-04-07T13:43:37.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T13:43:37.565Z] [2021-04-07T13:43:37.565Z] Login Succeeded [2021-04-07T13:43:37.565Z] docker.io [2021-04-07T13:43:37.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T13:43:37.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T13:43:37.827Z] Configure a credential helper to remove this warning. See [2021-04-07T13:43:37.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T13:43:37.827Z] [2021-04-07T13:43:37.827Z] Login Succeeded [2021-04-07T13:43:37.827Z] ---> docker-login.sh ends [Pipeline] } [2021-04-07T13:43:37.849Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2021-04-07T13:43:39.795Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-07T13:43:39.795Z] [2021-04-07T13:43:39.795Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-07T13:43:40.181Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-07T13:43:40.181Z] latest: Pulling from edgex-devops/git-semver [2021-04-07T13:43:40.181Z] 31603596830f: Pulling fs layer [2021-04-07T13:43:40.181Z] 2a8b12db71e7: Pulling fs layer [2021-04-07T13:43:40.181Z] 6ca5941a6612: Pulling fs layer [2021-04-07T13:43:40.181Z] ecc8261a40a4: Pulling fs layer [2021-04-07T13:43:40.181Z] ecc8261a40a4: Waiting [2021-04-07T13:43:40.181Z] 2a8b12db71e7: Verifying Checksum [2021-04-07T13:43:40.181Z] 2a8b12db71e7: Download complete [2021-04-07T13:43:40.445Z] 31603596830f: Verifying Checksum [2021-04-07T13:43:40.445Z] 31603596830f: Download complete [2021-04-07T13:43:40.445Z] 6ca5941a6612: Verifying Checksum [2021-04-07T13:43:40.445Z] 6ca5941a6612: Download complete [2021-04-07T13:43:40.710Z] ecc8261a40a4: Verifying Checksum [2021-04-07T13:43:40.710Z] ecc8261a40a4: Download complete [2021-04-07T13:43:40.710Z] 31603596830f: Pull complete [2021-04-07T13:43:41.285Z] 2a8b12db71e7: Pull complete [2021-04-07T13:43:42.238Z] 6ca5941a6612: Pull complete [2021-04-07T13:43:42.238Z] ecc8261a40a4: Pull complete [2021-04-07T13:43:42.238Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-07T13:43:42.238Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-07T13:43:42.502Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-07T13:43:42.668Z] prd-centos7-docker-4c-2g-33157 does not seem to be running inside a container [2021-04-07T13:43:42.723Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-340 -v /w/workspace/edgexfoundry_device-sdk-c_PR-340:/w/workspace/edgexfoundry_device-sdk-c_PR-340:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-340@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-340@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-07T13:43:44.765Z] $ docker top b65b33cb25c3239b5fdbe1710e7feaa2884132ee4c09fb7b49c848e07e4e9103 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-07T13:43:45.145Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-07T13:43:45.145Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-07T13:43:45.382Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-07T13:43:45.390Z] $ docker exec b65b33cb25c3239b5fdbe1710e7feaa2884132ee4c09fb7b49c848e07e4e9103 ssh-agent [2021-04-07T13:43:45.564Z] SSH_AUTH_SOCK=/tmp/ssh-4OlEWuEe6NO3/agent.11 [2021-04-07T13:43:45.564Z] SSH_AGENT_PID=17 [2021-04-07T13:43:45.578Z] Running ssh-add (command line suppressed) [2021-04-07T13:43:45.717Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-340@tmp/private_key_1604686342677075988.key (/w/workspace/edgexfoundry_device-sdk-c_PR-340@tmp/private_key_1604686342677075988.key) [2021-04-07T13:43:45.773Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-07T13:43:46.159Z] + git tag --points-at HEAD [Pipeline] } [2021-04-07T13:43:46.420Z] $ docker exec --env ******** --env ******** b65b33cb25c3239b5fdbe1710e7feaa2884132ee4c09fb7b49c848e07e4e9103 ssh-agent -k [2021-04-07T13:43:46.555Z] unset SSH_AUTH_SOCK; [2021-04-07T13:43:46.556Z] unset SSH_AGENT_PID; [2021-04-07T13:43:46.556Z] echo Agent pid 17 killed; [2021-04-07T13:43:46.608Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-07T13:43:46.802Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-07T13:43:46.802Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-07T13:43:46.985Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-07T13:43:46.993Z] $ docker exec b65b33cb25c3239b5fdbe1710e7feaa2884132ee4c09fb7b49c848e07e4e9103 ssh-agent [2021-04-07T13:43:47.161Z] SSH_AUTH_SOCK=/tmp/ssh-9gDw9dKMyUIH/agent.46 [2021-04-07T13:43:47.161Z] SSH_AGENT_PID=51 [2021-04-07T13:43:47.169Z] Running ssh-add (command line suppressed) [2021-04-07T13:43:47.294Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-340@tmp/private_key_8645506891195129192.key (/w/workspace/edgexfoundry_device-sdk-c_PR-340@tmp/private_key_8645506891195129192.key) [2021-04-07T13:43:47.346Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-07T13:43:47.803Z] + git semver init [2021-04-07T13:43:47.803Z] # -> Open(): unable to determine branch for HEAD [2021-04-07T13:43:47.803Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-340/.git [2021-04-07T13:43:47.803Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-340 [2021-04-07T13:43:47.803Z] # $SEMVER_REMOTE_NAME = origin [2021-04-07T13:43:47.803Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-07T13:43:47.803Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-07T13:43:47.803Z] # $SEMVER_BRANCH = PR-340 [2021-04-07T13:43:47.803Z] # $SEMVER_TEMP = /tmp/semver-391818326 [2021-04-07T13:43:47.803Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-04-07T13:43:48.380Z] # '/tmp/semver-391818326' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-340/.semver' [2021-04-07T13:43:48.381Z] # -> Force: false [2021-04-07T13:43:48.381Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-340/.semver [Pipeline] } [2021-04-07T13:43:48.405Z] $ docker exec --env ******** --env ******** b65b33cb25c3239b5fdbe1710e7feaa2884132ee4c09fb7b49c848e07e4e9103 ssh-agent -k [2021-04-07T13:43:48.526Z] unset SSH_AUTH_SOCK; [2021-04-07T13:43:48.526Z] unset SSH_AGENT_PID; [2021-04-07T13:43:48.526Z] echo Agent pid 51 killed; [2021-04-07T13:43:48.579Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-07T13:43:49.177Z] + git semver [Pipeline] } [2021-04-07T13:43:49.210Z] $ docker stop --time=1 b65b33cb25c3239b5fdbe1710e7feaa2884132ee4c09fb7b49c848e07e4e9103 [2021-04-07T13:43:50.588Z] $ docker rm -f b65b33cb25c3239b5fdbe1710e7feaa2884132ee4c09fb7b49c848e07e4e9103 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-07T13:43:51.110Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-07T13:43:51.566Z] Stashed 1 file(s) [Pipeline] echo [2021-04-07T13:43:51.587Z] [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 [2021-04-07T13:44:07.240Z] Still waiting to schedule task [2021-04-07T13:44:07.241Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-07T13:44:07.264Z] Still waiting to schedule task [2021-04-07T13:44:07.265Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-32989’ is offline [2021-04-07T13:46:05.535Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-33158 in /w/workspace/edgexfoundry_device-sdk-c_PR-340 [Pipeline] { [Pipeline] ws [2021-04-07T13:46:05.663Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2021-04-07T13:46:11.068Z] using credential edgex-jenkins-ssh [2021-04-07T13:46:11.128Z] Cloning the remote Git repository [2021-04-07T13:46:11.209Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-04-07T13:46:11.327Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2021-04-07T13:46:11.428Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-04-07T13:46:11.429Z] > git --version # timeout=10 [2021-04-07T13:46:11.447Z] > git --version # 'git version 2.17.1' [2021-04-07T13:46:11.448Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T13:46:11.537Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-07T13:46:13.195Z] Merging remotes/origin/master commit 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 into PR head commit 0fcf46ac52fab5bfaa4db26eb743f5b517ddb0ef [2021-04-07T13:46:12.518Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-04-07T13:46:12.544Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-07T13:46:12.581Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-04-07T13:46:12.626Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-04-07T13:46:12.626Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T13:46:12.639Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/340/head:refs/remotes/origin/PR-340 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-07T13:46:13.221Z] > git config core.sparsecheckout # timeout=10 [2021-04-07T13:46:13.243Z] > git checkout -f 0fcf46ac52fab5bfaa4db26eb743f5b517ddb0ef # timeout=10 [2021-04-07T13:46:13.452Z] Merge succeeded, producing 0fcf46ac52fab5bfaa4db26eb743f5b517ddb0ef [2021-04-07T13:46:13.452Z] Checking out Revision 0fcf46ac52fab5bfaa4db26eb743f5b517ddb0ef (PR-340) [2021-04-07T13:46:13.359Z] > git remote # timeout=10 [2021-04-07T13:46:13.378Z] > git config --get remote.origin.url # timeout=10 [2021-04-07T13:46:13.400Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T13:46:13.410Z] > git merge 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 # timeout=10 [2021-04-07T13:46:13.436Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-07T13:46:13.461Z] > git config core.sparsecheckout # timeout=10 [2021-04-07T13:46:13.545Z] > git checkout -f 0fcf46ac52fab5bfaa4db26eb743f5b517ddb0ef # timeout=10 [2021-04-07T13:46:17.945Z] Commit message: "refactor: Switch to 2.0 Consul path" [2021-04-07T13:46:18.005Z] > git --version # timeout=10 [2021-04-07T13:46:18.020Z] > git --version # 'git version 2.17.1' [2021-04-07T13:46:18.035Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-07T13:46:19.885Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-07T13:46:20.298Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-07T13:46:20.751Z] + sudo service docker restart [2021-04-07T13:46:20.751Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-07T13:46:23.531Z] provisioning config files... [2021-04-07T13:46:23.570Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config4522041182949568522tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-07T13:46:24.012Z] ---> docker-login.sh [2021-04-07T13:46:24.012Z] nexus3.edgexfoundry.org:10001 [2021-04-07T13:46:24.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T13:46:25.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T13:46:25.266Z] Configure a credential helper to remove this warning. See [2021-04-07T13:46:25.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T13:46:25.266Z] [2021-04-07T13:46:25.266Z] Login Succeeded [2021-04-07T13:46:25.266Z] nexus3.edgexfoundry.org:10002 [2021-04-07T13:46:25.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T13:46:25.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T13:46:25.873Z] Configure a credential helper to remove this warning. See [2021-04-07T13:46:25.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T13:46:25.873Z] [2021-04-07T13:46:25.873Z] Login Succeeded [2021-04-07T13:46:25.873Z] nexus3.edgexfoundry.org:10003 [2021-04-07T13:46:26.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T13:46:26.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T13:46:26.423Z] Configure a credential helper to remove this warning. See [2021-04-07T13:46:26.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T13:46:26.423Z] [2021-04-07T13:46:26.423Z] Login Succeeded [2021-04-07T13:46:26.423Z] nexus3.edgexfoundry.org:10004 [2021-04-07T13:46:26.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T13:46:26.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T13:46:26.974Z] Configure a credential helper to remove this warning. See [2021-04-07T13:46:26.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T13:46:26.974Z] [2021-04-07T13:46:26.974Z] Login Succeeded [2021-04-07T13:46:26.974Z] docker.io [2021-04-07T13:46:27.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T13:46:27.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T13:46:27.521Z] Configure a credential helper to remove this warning. See [2021-04-07T13:46:27.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T13:46:27.521Z] [2021-04-07T13:46:27.521Z] Login Succeeded [2021-04-07T13:46:27.521Z] ---> docker-login.sh ends [Pipeline] } [2021-04-07T13:46:27.564Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-07T13:46:28.105Z] ========================================================= [2021-04-07T13:46:28.105Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-04-07T13:46:28.105Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-07T13:46:28.516Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2021-04-07T13:46:28.791Z] Sending build context to Docker daemon 2.35MB [2021-04-07T13:46:28.791Z] Step 1/21 : ARG BASE=alpine:3.12 [2021-04-07T13:46:28.791Z] Step 2/21 : FROM ${BASE} as builder [2021-04-07T13:46:29.063Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-04-07T13:46:29.063Z] 0362ad1dd800: Pulling fs layer [2021-04-07T13:46:29.063Z] f2cdb1532d8b: Pulling fs layer [2021-04-07T13:46:29.063Z] 37ed683be191: Pulling fs layer [2021-04-07T13:46:29.063Z] f2cdb1532d8b: Verifying Checksum [2021-04-07T13:46:29.063Z] f2cdb1532d8b: Download complete [2021-04-07T13:46:29.659Z] 0362ad1dd800: Verifying Checksum [2021-04-07T13:46:29.659Z] 0362ad1dd800: Download complete [2021-04-07T13:46:30.266Z] 0362ad1dd800: Pull complete [2021-04-07T13:46:30.542Z] f2cdb1532d8b: Pull complete [2021-04-07T13:46:31.986Z] 37ed683be191: Verifying Checksum [2021-04-07T13:46:31.986Z] 37ed683be191: Download complete [2021-04-07T13:46:40.568Z] Running on prd-centos7-docker-4c-2g-33159 in /w/workspace/edgexfoundry_device-sdk-c_PR-340 [Pipeline] { [Pipeline] ws [2021-04-07T13:46:40.664Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2021-04-07T13:46:42.153Z] 37ed683be191: Pull complete [2021-04-07T13:46:42.153Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2021-04-07T13:46:42.153Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-04-07T13:46:42.153Z] ---> b23d30803547 [2021-04-07T13:46:42.153Z] 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 [2021-04-07T13:46:42.432Z] ---> Running in bd16a0232320 [2021-04-07T13:46:43.270Z] using credential edgex-jenkins-ssh [2021-04-07T13:46:43.354Z] Cloning the remote Git repository [2021-04-07T13:46:43.880Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-04-07T13:46:43.171Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-04-07T13:46:43.253Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2021-04-07T13:46:43.335Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-04-07T13:46:43.335Z] > git --version # timeout=10 [2021-04-07T13:46:43.344Z] > git --version # 'git version 2.24.3' [2021-04-07T13:46:43.344Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T13:46:43.381Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-07T13:46:44.473Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-04-07T13:46:44.710Z] Merging remotes/origin/master commit 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 into PR head commit 0fcf46ac52fab5bfaa4db26eb743f5b517ddb0ef [2021-04-07T13:46:44.837Z] Merge succeeded, producing 0fcf46ac52fab5bfaa4db26eb743f5b517ddb0ef [2021-04-07T13:46:44.838Z] Checking out Revision 0fcf46ac52fab5bfaa4db26eb743f5b517ddb0ef (PR-340) [2021-04-07T13:46:45.067Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2021-04-07T13:46:44.069Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-04-07T13:46:44.077Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-07T13:46:44.090Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-04-07T13:46:44.107Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-04-07T13:46:44.107Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T13:46:44.115Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/340/head:refs/remotes/origin/PR-340 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-07T13:46:44.613Z] > git config core.sparsecheckout # timeout=10 [2021-04-07T13:46:44.627Z] > git checkout -f 0fcf46ac52fab5bfaa4db26eb743f5b517ddb0ef # timeout=10 [2021-04-07T13:46:44.693Z] > git remote # timeout=10 [2021-04-07T13:46:44.704Z] > git config --get remote.origin.url # timeout=10 [2021-04-07T13:46:44.715Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T13:46:44.720Z] > git merge 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 # timeout=10 [2021-04-07T13:46:44.734Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-07T13:46:44.746Z] > git config core.sparsecheckout # timeout=10 [2021-04-07T13:46:44.754Z] > git checkout -f 0fcf46ac52fab5bfaa4db26eb743f5b517ddb0ef # timeout=10 [2021-04-07T13:46:45.341Z] (2/8) Installing libuuid (2.33-r0) [2021-04-07T13:46:45.341Z] (3/8) Installing libblkid (2.33-r0) [2021-04-07T13:46:45.341Z] (4/8) Installing libfdisk (2.33-r0) [2021-04-07T13:46:45.613Z] (5/8) Installing libmount (2.33-r0) [2021-04-07T13:46:45.613Z] (6/8) Installing libsmartcols (2.33-r0) [2021-04-07T13:46:45.613Z] (7/8) Installing util-linux-dev (2.33-r0) [2021-04-07T13:46:46.206Z] (8/8) Installing wget (1.20.3-r0) [2021-04-07T13:46:46.206Z] Executing busybox-1.29.3-r10.trigger [2021-04-07T13:46:46.206Z] OK: 285 MiB in 83 packages [2021-04-07T13:46:47.666Z] Removing intermediate container bd16a0232320 [2021-04-07T13:46:47.666Z] ---> 862274854a7c [2021-04-07T13:46:47.666Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2021-04-07T13:46:47.666Z] ---> Running in 25273c3816b4 [2021-04-07T13:46:47.941Z] Removing intermediate container 25273c3816b4 [2021-04-07T13:46:47.941Z] ---> 6dca9117279c [2021-04-07T13:46:47.941Z] 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 [2021-04-07T13:46:48.218Z] ---> Running in f93f75d38678 [2021-04-07T13:46:48.609Z] Commit message: "refactor: Switch to 2.0 Consul path" [2021-04-07T13:46:48.644Z] > git --version # timeout=10 [2021-04-07T13:46:48.650Z] > git --version # 'git version 2.24.3' [2021-04-07T13:46:48.659Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-07T13:46:49.205Z] --2021-04-07 13:46:49-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-04-07T13:46:49.205Z] Resolving github.com... 140.82.112.4 [2021-04-07T13:46:49.205Z] Connecting to github.com|140.82.112.4|:443... connected. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2021-04-07T13:46:49.481Z] HTTP request sent, awaiting response... 302 Found [2021-04-07T13:46:49.481Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-04-07T13:46:49.481Z] --2021-04-07 13:46:49-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-04-07T13:46:49.481Z] Resolving codeload.github.com... 140.82.113.9 [2021-04-07T13:46:49.481Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2021-04-07T13:46:49.481Z] HTTP request sent, awaiting response... 200 OK [2021-04-07T13:46:49.481Z] Length: unspecified [application/x-gzip] [2021-04-07T13:46:49.481Z] Saving to: 'STDOUT' [2021-04-07T13:46:49.481Z]  [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-07T13:46:49.776Z] 0K .......... .......... .......... .......... .......... 1.56M [2021-04-07T13:46:49.776Z] 50K .......... .......... .......... .......... .......... 2.96M [2021-04-07T13:46:49.776Z] 100K .......... .......... .......... .......... .......... 10.5M [2021-04-07T13:46:49.776Z] 150K .......... .......... .......... .......... .......... 4.39M [2021-04-07T13:46:49.776Z] 200K .......... .......... .......... .......... .......... 13.9M [2021-04-07T13:46:49.776Z] 250K .......... .......... .......... .......... .......... 4.00M [2021-04-07T13:46:49.776Z] 300K .......... .......... .......... .......... .......... 4.49M [2021-04-07T13:46:49.776Z] 350K .......... .......... .......... .......... .......... 5.63M [2021-04-07T13:46:49.776Z] 400K .......... .......... .......... .......... .......... 3.56M [2021-04-07T13:46:49.776Z] 450K .......... .......... .......... .......... .......... 4.59M [2021-04-07T13:46:49.776Z] 500K .......... .......... .......... .......... .......... 9.83M [2021-04-07T13:46:49.776Z] 550K .......... .......... .......... .......... .......... 2.81M [2021-04-07T13:46:49.776Z] 600K .......... .......... .......... .......... .......... 878K [2021-04-07T13:46:49.776Z] 650K .......... .......... .......... .......... .......... 2.47M [2021-04-07T13:46:49.776Z] 700K ..    10.0M=0.2s [2021-04-07T13:46:49.776Z] [2021-04-07T13:46:49.776Z] 2021-04-07 13:46:49 (3.08 MB/s) - written to stdout [719348] [2021-04-07T13:46:49.776Z] [2021-04-07T13:46:50.058Z] -- The C compiler identification is GNU 8.3.0 [2021-04-07T13:46:50.300Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [2021-04-07T13:46:50.332Z] -- The CXX compiler identification is GNU 8.3.0 [2021-04-07T13:46:50.332Z] -- Check for working C compiler: /usr/bin/cc [Pipeline] sh [2021-04-07T13:46:50.611Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-04-07T13:46:50.611Z] -- Detecting C compiler ABI info [2021-04-07T13:46:50.653Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-07T13:46:50.893Z] -- Detecting C compiler ABI info - done [2021-04-07T13:46:50.893Z] -- Detecting C compile features [2021-04-07T13:46:50.979Z] + sudo service docker restart [2021-04-07T13:46:50.979Z] + true [2021-04-07T13:46:50.979Z] Redirecting to /bin/systemctl restart docker.service [2021-04-07T13:46:51.488Z] -- Detecting C compile features - done [2021-04-07T13:46:51.488Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-04-07T13:46:51.761Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-04-07T13:46:51.761Z] -- Detecting CXX compiler ABI info [Pipeline] withEnv [Pipeline] { [2021-04-07T13:46:52.033Z] -- Detecting CXX compiler ABI info - done [2021-04-07T13:46:52.033Z] -- Detecting CXX compile features [Pipeline] wrap [2021-04-07T13:46:52.052Z] provisioning config files... [2021-04-07T13:46:52.079Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config5570073520035976106tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-07T13:46:52.511Z] ---> docker-login.sh [2021-04-07T13:46:52.511Z] nexus3.edgexfoundry.org:10001 [2021-04-07T13:46:52.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T13:46:52.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T13:46:52.777Z] Configure a credential helper to remove this warning. See [2021-04-07T13:46:52.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T13:46:52.777Z] [2021-04-07T13:46:52.777Z] Login Succeeded [2021-04-07T13:46:52.777Z] nexus3.edgexfoundry.org:10002 [2021-04-07T13:46:53.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T13:46:53.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T13:46:53.041Z] Configure a credential helper to remove this warning. See [2021-04-07T13:46:53.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T13:46:53.041Z] [2021-04-07T13:46:53.041Z] Login Succeeded [2021-04-07T13:46:53.041Z] nexus3.edgexfoundry.org:10003 [2021-04-07T13:46:53.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T13:46:53.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T13:46:53.305Z] Configure a credential helper to remove this warning. See [2021-04-07T13:46:53.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T13:46:53.305Z] [2021-04-07T13:46:53.305Z] Login Succeeded [2021-04-07T13:46:53.305Z] nexus3.edgexfoundry.org:10004 [2021-04-07T13:46:53.458Z] -- Detecting CXX compile features - done [2021-04-07T13:46:53.458Z] -- Looking for include file endian.h [2021-04-07T13:46:53.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T13:46:53.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T13:46:53.569Z] Configure a credential helper to remove this warning. See [2021-04-07T13:46:53.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T13:46:53.569Z] [2021-04-07T13:46:53.569Z] Login Succeeded [2021-04-07T13:46:53.569Z] docker.io [2021-04-07T13:46:53.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T13:46:53.730Z] -- Looking for include file endian.h - found [2021-04-07T13:46:53.730Z] -- Check if the system is big endian [2021-04-07T13:46:53.730Z] -- Searching 16 bit integer [2021-04-07T13:46:53.730Z] -- Looking for sys/types.h [2021-04-07T13:46:53.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T13:46:53.834Z] Configure a credential helper to remove this warning. See [2021-04-07T13:46:53.834Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T13:46:53.834Z] [2021-04-07T13:46:53.834Z] Login Succeeded [2021-04-07T13:46:53.834Z] ---> docker-login.sh ends [Pipeline] } [2021-04-07T13:46:53.860Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [2021-04-07T13:46:54.003Z] -- Looking for sys/types.h - found [2021-04-07T13:46:54.003Z] -- Looking for stdint.h [Pipeline] // withEnv [Pipeline] unstash [2021-04-07T13:46:54.275Z] -- Looking for stdint.h - found [2021-04-07T13:46:54.275Z] -- Looking for stddef.h [Pipeline] echo [2021-04-07T13:46:54.421Z] ========================================================= [2021-04-07T13:46:54.421Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-04-07T13:46:54.421Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-07T13:46:54.548Z] -- Looking for stddef.h - found [2021-04-07T13:46:54.548Z] -- Check size of unsigned short [2021-04-07T13:46:54.821Z] -- Check size of unsigned short - done [2021-04-07T13:46:54.821Z] -- Using unsigned short [2021-04-07T13:46:54.821Z] -- Check if the system is big endian - little endian [2021-04-07T13:46:54.839Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2021-04-07T13:46:54.839Z] Sending build context to Docker daemon 2.351MB [2021-04-07T13:46:55.097Z] -- Check size of size_t [2021-04-07T13:46:55.106Z] Step 1/21 : ARG BASE=alpine:3.12 [2021-04-07T13:46:55.106Z] Step 2/21 : FROM ${BASE} as builder [2021-04-07T13:46:55.106Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-04-07T13:46:55.106Z] e7c96db7181b: Pulling fs layer [2021-04-07T13:46:55.106Z] 4c13bbce0fe7: Pulling fs layer [2021-04-07T13:46:55.106Z] 6059c847ac2f: Pulling fs layer [2021-04-07T13:46:55.106Z] 4c13bbce0fe7: Verifying Checksum [2021-04-07T13:46:55.106Z] 4c13bbce0fe7: Download complete [2021-04-07T13:46:55.369Z] -- Check size of size_t - done [2021-04-07T13:46:55.369Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-04-07T13:46:55.369Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-04-07T13:46:55.369Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-04-07T13:46:55.369Z] CMake did not find one. [2021-04-07T13:46:55.369Z] [2021-04-07T13:46:55.369Z] Could not find a package configuration file provided by "cJSON" with any of [2021-04-07T13:46:55.369Z] the following names: [2021-04-07T13:46:55.369Z] [2021-04-07T13:46:55.369Z] cJSONConfig.cmake [2021-04-07T13:46:55.369Z] cjson-config.cmake [2021-04-07T13:46:55.369Z] [2021-04-07T13:46:55.369Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-04-07T13:46:55.369Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-04-07T13:46:55.369Z] provides a separate development package or SDK, be sure it has been [2021-04-07T13:46:55.369Z] installed. [2021-04-07T13:46:55.369Z] [2021-04-07T13:46:55.369Z] [2021-04-07T13:46:55.369Z] -- Configuring done [2021-04-07T13:46:55.369Z] -- Generating done [2021-04-07T13:46:55.376Z] e7c96db7181b: Verifying Checksum [2021-04-07T13:46:55.376Z] e7c96db7181b: Download complete [2021-04-07T13:46:55.641Z] -- Build files have been written to: /tmp/cbor [2021-04-07T13:46:55.641Z] Scanning dependencies of target cbor_shared [2021-04-07T13:46:55.641Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-04-07T13:46:55.643Z] e7c96db7181b: Pull complete [2021-04-07T13:46:55.918Z] 4c13bbce0fe7: Pull complete [2021-04-07T13:46:56.616Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-04-07T13:46:56.888Z] 6059c847ac2f: Verifying Checksum [2021-04-07T13:46:56.888Z] 6059c847ac2f: Download complete [2021-04-07T13:46:56.889Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-04-07T13:46:57.163Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-04-07T13:46:57.757Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-04-07T13:46:58.030Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-04-07T13:46:58.305Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-04-07T13:46:58.305Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-04-07T13:46:58.576Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-04-07T13:46:58.849Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-04-07T13:46:59.447Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-04-07T13:46:59.720Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-04-07T13:46:59.994Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-04-07T13:47:00.588Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-04-07T13:47:00.588Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-04-07T13:47:00.860Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-04-07T13:47:01.133Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-04-07T13:47:01.412Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-04-07T13:47:01.684Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-04-07T13:47:01.956Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-04-07T13:47:02.229Z] [ 40%] Linking C shared library libcbor.so [2021-04-07T13:47:02.229Z] [ 40%] Built target cbor_shared [2021-04-07T13:47:02.229Z] Scanning dependencies of target cbor [2021-04-07T13:47:02.229Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-04-07T13:47:02.241Z] 6059c847ac2f: Pull complete [2021-04-07T13:47:02.241Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2021-04-07T13:47:02.241Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-04-07T13:47:02.241Z] ---> 5eabd8fd8ba2 [2021-04-07T13:47:02.241Z] 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 [2021-04-07T13:47:03.203Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-04-07T13:47:03.801Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-04-07T13:47:03.801Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-04-07T13:47:04.181Z] ---> Running in c0fd3fae2aea [2021-04-07T13:47:05.142Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-04-07T13:47:05.230Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-04-07T13:47:05.230Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-04-07T13:47:05.502Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-04-07T13:47:05.502Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-04-07T13:47:05.724Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-04-07T13:47:05.773Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-04-07T13:47:05.988Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2021-04-07T13:47:05.988Z] (2/8) Installing libuuid (2.33-r0) [2021-04-07T13:47:05.988Z] (3/8) Installing libblkid (2.33-r0) [2021-04-07T13:47:06.044Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-04-07T13:47:06.251Z] (4/8) Installing libfdisk (2.33-r0) [2021-04-07T13:47:06.251Z] (5/8) Installing libmount (2.33-r0) [2021-04-07T13:47:06.251Z] (6/8) Installing libsmartcols (2.33-r0) [2021-04-07T13:47:06.517Z] (7/8) Installing util-linux-dev (2.33-r0) [2021-04-07T13:47:06.635Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-04-07T13:47:06.784Z] (8/8) Installing wget (1.20.3-r0) [2021-04-07T13:47:06.784Z] Executing busybox-1.29.3-r10.trigger [2021-04-07T13:47:06.784Z] OK: 272 MiB in 83 packages [2021-04-07T13:47:06.911Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-04-07T13:47:07.503Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-04-07T13:47:07.737Z] Removing intermediate container c0fd3fae2aea [2021-04-07T13:47:07.737Z] ---> 10afa3c4659a [2021-04-07T13:47:07.737Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2021-04-07T13:47:07.737Z] ---> Running in 3e8d21a51cf2 [2021-04-07T13:47:07.737Z] Removing intermediate container 3e8d21a51cf2 [2021-04-07T13:47:07.737Z] ---> 817f1a53d193 [2021-04-07T13:47:07.737Z] 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 [2021-04-07T13:47:07.776Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-04-07T13:47:08.007Z] ---> Running in 265763ec0526 [2021-04-07T13:47:08.049Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-04-07T13:47:08.273Z] --2021-04-07 13:47:08-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-04-07T13:47:08.273Z] Resolving github.com... 140.82.112.4 [2021-04-07T13:47:08.320Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-04-07T13:47:08.538Z] Connecting to github.com|140.82.112.4|:443... connected. [2021-04-07T13:47:08.538Z] HTTP request sent, awaiting response... 302 Found [2021-04-07T13:47:08.538Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-04-07T13:47:08.538Z] --2021-04-07 13:47:08-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-04-07T13:47:08.538Z] Resolving codeload.github.com... 140.82.113.9 [2021-04-07T13:47:08.538Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2021-04-07T13:47:08.538Z] HTTP request sent, awaiting response... 200 OK [2021-04-07T13:47:08.538Z] Length: unspecified [application/x-gzip] [2021-04-07T13:47:08.538Z] Saving to: 'STDOUT' [2021-04-07T13:47:08.538Z]  [2021-04-07T13:47:08.538Z] 0K .......... .......... .......... .......... .......... 1.30M [2021-04-07T13:47:08.538Z] 50K .......... .......... .......... .......... .......... 2.59M [2021-04-07T13:47:08.538Z] 100K .......... .......... .......... .......... .......... 33.5M [2021-04-07T13:47:08.538Z] 150K .......... .......... .......... .......... .......... 2.97M [2021-04-07T13:47:08.538Z] 200K .......... .......... .......... .......... .......... 40.3M [2021-04-07T13:47:08.538Z] 250K .......... .......... .......... .......... .......... 8.88M [2021-04-07T13:47:08.538Z] 300K .......... .......... .......... .......... .......... 5.53M [2021-04-07T13:47:08.538Z] 350K .......... .......... .......... .......... .......... 11.1M [2021-04-07T13:47:08.591Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-04-07T13:47:08.802Z] 400K .......... .......... .......... .......... .......... 5.81M [2021-04-07T13:47:08.802Z] 450K .......... .......... .......... .......... .......... 7.40M [2021-04-07T13:47:08.802Z] 500K .......... .......... .......... .......... .......... 18.8M [2021-04-07T13:47:08.802Z] 550K .......... .......... .......... .......... .......... 3.75M [2021-04-07T13:47:08.802Z] 600K .......... .......... .......... .......... .......... 1.94M [2021-04-07T13:47:08.802Z] 650K .......... .......... .......... .......... .......... 3.91M [2021-04-07T13:47:08.802Z] 700K .. 1.23M=0.2s [2021-04-07T13:47:08.802Z] [2021-04-07T13:47:08.802Z] 2021-04-07 13:47:08 (4.17 MB/s) - written to stdout [719348] [2021-04-07T13:47:08.802Z] [2021-04-07T13:47:08.802Z] -- The C compiler identification is GNU 8.3.0 [2021-04-07T13:47:08.864Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-04-07T13:47:08.864Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-04-07T13:47:09.066Z] -- The CXX compiler identification is GNU 8.3.0 [2021-04-07T13:47:09.066Z] -- Check for working C compiler: /usr/bin/cc [2021-04-07T13:47:09.066Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-04-07T13:47:09.066Z] -- Detecting C compiler ABI info [2021-04-07T13:47:09.066Z] -- Detecting C compiler ABI info - done [2021-04-07T13:47:09.330Z] -- Detecting C compile features [2021-04-07T13:47:09.459Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-04-07T13:47:09.459Z] [ 80%] Linking C static library libcbor.a [2021-04-07T13:47:09.459Z] [ 80%] Built target cbor [2021-04-07T13:47:09.459Z] Scanning dependencies of target create_items [2021-04-07T13:47:09.459Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-04-07T13:47:09.594Z] -- Detecting C compile features - done [2021-04-07T13:47:09.595Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-04-07T13:47:09.595Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-04-07T13:47:09.595Z] -- Detecting CXX compiler ABI info [2021-04-07T13:47:09.595Z] -- Detecting CXX compiler ABI info - done [2021-04-07T13:47:09.595Z] -- Detecting CXX compile features [2021-04-07T13:47:09.729Z] [ 84%] Linking C executable create_items [2021-04-07T13:47:09.729Z] [ 84%] Built target create_items [2021-04-07T13:47:09.729Z] Scanning dependencies of target readfile [2021-04-07T13:47:09.729Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-04-07T13:47:09.998Z] [ 88%] Linking C executable readfile [2021-04-07T13:47:09.998Z] [ 88%] Built target readfile [2021-04-07T13:47:09.998Z] Scanning dependencies of target streaming_parser [2021-04-07T13:47:10.181Z] -- Detecting CXX compile features - done [2021-04-07T13:47:10.181Z] -- Looking for include file endian.h [2021-04-07T13:47:10.181Z] -- Looking for include file endian.h - found [2021-04-07T13:47:10.181Z] -- Check if the system is big endian [2021-04-07T13:47:10.181Z] -- Searching 16 bit integer [2021-04-07T13:47:10.181Z] -- Looking for sys/types.h [2021-04-07T13:47:10.271Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-04-07T13:47:10.271Z] [ 92%] Linking C executable streaming_parser [2021-04-07T13:47:10.446Z] -- Looking for sys/types.h - found [2021-04-07T13:47:10.446Z] -- Looking for stdint.h [2021-04-07T13:47:10.446Z] -- Looking for stdint.h - found [2021-04-07T13:47:10.446Z] -- Looking for stddef.h [2021-04-07T13:47:10.446Z] -- Looking for stddef.h - found [2021-04-07T13:47:10.446Z] -- Check size of unsigned short [2021-04-07T13:47:10.549Z] [ 92%] Built target streaming_parser [2021-04-07T13:47:10.549Z] Scanning dependencies of target sort [2021-04-07T13:47:10.549Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-04-07T13:47:10.710Z] -- Check size of unsigned short - done [2021-04-07T13:47:10.710Z] -- Using unsigned short [2021-04-07T13:47:10.710Z] -- Check if the system is big endian - little endian [2021-04-07T13:47:10.710Z] -- Check size of size_t [2021-04-07T13:47:10.710Z] -- Check size of size_t - done [2021-04-07T13:47:10.821Z] [ 96%] Linking C executable sort [2021-04-07T13:47:10.821Z] [ 96%] Built target sort [2021-04-07T13:47:10.821Z] Scanning dependencies of target hello [2021-04-07T13:47:10.821Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-04-07T13:47:10.973Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-04-07T13:47:10.973Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-04-07T13:47:10.973Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-04-07T13:47:10.973Z] CMake did not find one. [2021-04-07T13:47:10.973Z] [2021-04-07T13:47:10.973Z] Could not find a package configuration file provided by "cJSON" with any of [2021-04-07T13:47:10.973Z] the following names: [2021-04-07T13:47:10.973Z] [2021-04-07T13:47:10.973Z] cJSONConfig.cmake [2021-04-07T13:47:10.973Z] cjson-config.cmake [2021-04-07T13:47:10.973Z] [2021-04-07T13:47:10.973Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-04-07T13:47:10.973Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-04-07T13:47:10.973Z] provides a separate development package or SDK, be sure it has been [2021-04-07T13:47:10.973Z] installed. [2021-04-07T13:47:10.973Z] [2021-04-07T13:47:10.973Z] [2021-04-07T13:47:10.973Z] -- Configuring done [2021-04-07T13:47:10.973Z] -- Generating done [2021-04-07T13:47:10.973Z] -- Build files have been written to: /tmp/cbor [2021-04-07T13:47:10.973Z] Scanning dependencies of target cbor_shared [2021-04-07T13:47:10.973Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-04-07T13:47:11.097Z] [100%] Linking C executable hello [2021-04-07T13:47:11.097Z] [100%] Built target hello [2021-04-07T13:47:11.097Z] Install the project... [2021-04-07T13:47:11.097Z] -- Install configuration: "Release" [2021-04-07T13:47:11.097Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-04-07T13:47:11.097Z] -- Installing: /usr/local/lib64/libcbor.a [2021-04-07T13:47:11.097Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-04-07T13:47:11.097Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-04-07T13:47:11.097Z] -- Installing: /usr/local/lib64/libcbor.so [2021-04-07T13:47:11.097Z] -- Up-to-date: /usr/local/include/cbor [2021-04-07T13:47:11.097Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-04-07T13:47:11.097Z] -- Installing: /usr/local/include/cbor/ints.h [2021-04-07T13:47:11.097Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-04-07T13:47:11.097Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-04-07T13:47:11.097Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-04-07T13:47:11.097Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-04-07T13:47:11.097Z] -- Installing: /usr/local/include/cbor/data.h [2021-04-07T13:47:11.097Z] -- Installing: /usr/local/include/cbor/common.h [2021-04-07T13:47:11.097Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-04-07T13:47:11.097Z] -- Installing: /usr/local/include/cbor/strings.h [2021-04-07T13:47:11.097Z] -- Installing: /usr/local/include/cbor/tags.h [2021-04-07T13:47:11.097Z] -- Installing: /usr/local/include/cbor/internal [2021-04-07T13:47:11.097Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-04-07T13:47:11.097Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-04-07T13:47:11.097Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-04-07T13:47:11.097Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-04-07T13:47:11.097Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-04-07T13:47:11.097Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-04-07T13:47:11.097Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-04-07T13:47:11.097Z] -- Installing: /usr/local/include/cbor/maps.h [2021-04-07T13:47:11.097Z] -- Installing: /usr/local/include/cbor.h [2021-04-07T13:47:11.097Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-04-07T13:47:11.237Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-04-07T13:47:11.237Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-04-07T13:47:11.500Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-04-07T13:47:11.500Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-04-07T13:47:11.764Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-04-07T13:47:11.764Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-04-07T13:47:11.764Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-04-07T13:47:11.764Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-04-07T13:47:12.028Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-04-07T13:47:12.028Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-04-07T13:47:12.291Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-04-07T13:47:12.291Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-04-07T13:47:12.558Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-04-07T13:47:12.558Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-04-07T13:47:12.558Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-04-07T13:47:12.558Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-04-07T13:47:12.821Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-04-07T13:47:12.821Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-04-07T13:47:12.821Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-04-07T13:47:13.079Z] Removing intermediate container f93f75d38678 [2021-04-07T13:47:13.079Z] ---> 34cbd79d8331 [2021-04-07T13:47:13.079Z] Step 6/21 : RUN mkdir /tmp/sdk [2021-04-07T13:47:13.084Z] [ 40%] Linking C shared library libcbor.so [2021-04-07T13:47:13.084Z] [ 40%] Built target cbor_shared [2021-04-07T13:47:13.084Z] Scanning dependencies of target cbor [2021-04-07T13:47:13.084Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-04-07T13:47:13.389Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-04-07T13:47:13.389Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-04-07T13:47:13.389Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-04-07T13:47:13.400Z] ---> Running in c0fd8dbb1b67 [2021-04-07T13:47:13.653Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-04-07T13:47:13.918Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-04-07T13:47:13.918Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-04-07T13:47:13.918Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-04-07T13:47:13.918Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-04-07T13:47:14.182Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-04-07T13:47:14.446Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-04-07T13:47:14.446Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-04-07T13:47:14.446Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-04-07T13:47:14.711Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-04-07T13:47:14.711Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-04-07T13:47:14.711Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-04-07T13:47:14.974Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-04-07T13:47:14.974Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-04-07T13:47:14.974Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-04-07T13:47:15.238Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-04-07T13:47:15.238Z] [ 80%] Linking C static library libcbor.a [2021-04-07T13:47:15.238Z] [ 80%] Built target cbor [2021-04-07T13:47:15.238Z] Scanning dependencies of target create_items [2021-04-07T13:47:15.238Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-04-07T13:47:15.238Z] [ 84%] Linking C executable create_items [2021-04-07T13:47:15.381Z] Removing intermediate container c0fd8dbb1b67 [2021-04-07T13:47:15.381Z] ---> aafee12f75a7 [2021-04-07T13:47:15.381Z] Step 7/21 : COPY VERSION /tmp/sdk [2021-04-07T13:47:15.506Z] [ 84%] Built target create_items [2021-04-07T13:47:15.506Z] Scanning dependencies of target readfile [2021-04-07T13:47:15.506Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-04-07T13:47:15.506Z] [ 88%] Linking C executable readfile [2021-04-07T13:47:15.506Z] [ 88%] Built target readfile [2021-04-07T13:47:15.506Z] Scanning dependencies of target streaming_parser [2021-04-07T13:47:15.506Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-04-07T13:47:15.506Z] [ 92%] Linking C executable streaming_parser [2021-04-07T13:47:15.769Z] [ 92%] Built target streaming_parser [2021-04-07T13:47:15.769Z] Scanning dependencies of target sort [2021-04-07T13:47:15.769Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-04-07T13:47:15.769Z] [ 96%] Linking C executable sort [2021-04-07T13:47:15.769Z] [ 96%] Built target sort [2021-04-07T13:47:15.769Z] Scanning dependencies of target hello [2021-04-07T13:47:15.769Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-04-07T13:47:15.769Z] [100%] Linking C executable hello [2021-04-07T13:47:15.769Z] [100%] Built target hello [2021-04-07T13:47:16.035Z] Install the project... [2021-04-07T13:47:16.035Z] -- Install configuration: "Release" [2021-04-07T13:47:16.035Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-04-07T13:47:16.035Z] -- Installing: /usr/local/lib64/libcbor.a [2021-04-07T13:47:16.035Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-04-07T13:47:16.035Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-04-07T13:47:16.035Z] -- Installing: /usr/local/lib64/libcbor.so [2021-04-07T13:47:16.035Z] -- Up-to-date: /usr/local/include/cbor [2021-04-07T13:47:16.035Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-04-07T13:47:16.035Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-04-07T13:47:16.035Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-04-07T13:47:16.035Z] -- Installing: /usr/local/include/cbor/common.h [2021-04-07T13:47:16.035Z] -- Installing: /usr/local/include/cbor/data.h [2021-04-07T13:47:16.035Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-04-07T13:47:16.035Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-04-07T13:47:16.035Z] -- Installing: /usr/local/include/cbor/internal [2021-04-07T13:47:16.035Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-04-07T13:47:16.035Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-04-07T13:47:16.035Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-04-07T13:47:16.035Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-04-07T13:47:16.035Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-04-07T13:47:16.035Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-04-07T13:47:16.035Z] -- Installing: /usr/local/include/cbor/ints.h [2021-04-07T13:47:16.035Z] -- Installing: /usr/local/include/cbor/maps.h [2021-04-07T13:47:16.035Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-04-07T13:47:16.035Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-04-07T13:47:16.035Z] -- Installing: /usr/local/include/cbor/strings.h [2021-04-07T13:47:16.035Z] -- Installing: /usr/local/include/cbor/tags.h [2021-04-07T13:47:16.035Z] -- Installing: /usr/local/include/cbor.h [2021-04-07T13:47:16.035Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-04-07T13:47:16.369Z] ---> 54e778f6e36e [2021-04-07T13:47:16.369Z] Step 8/21 : COPY src /tmp/sdk/src [2021-04-07T13:47:16.972Z] ---> 383c856efd0f [2021-04-07T13:47:16.972Z] Step 9/21 : COPY include /tmp/sdk/include [2021-04-07T13:47:17.948Z] ---> af3f9b5ca382 [2021-04-07T13:47:17.948Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2021-04-07T13:47:18.543Z] ---> 2746970b394c [2021-04-07T13:47:18.543Z] Step 11/21 : COPY LICENSE /tmp/sdk [2021-04-07T13:47:18.606Z] Removing intermediate container 265763ec0526 [2021-04-07T13:47:18.606Z] ---> c0fe088bc0ff [2021-04-07T13:47:18.606Z] Step 6/21 : RUN mkdir /tmp/sdk [2021-04-07T13:47:18.606Z] ---> Running in a366db2eca77 [2021-04-07T13:47:19.141Z] ---> eb33709dc43b [2021-04-07T13:47:19.141Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2021-04-07T13:47:20.009Z] Removing intermediate container a366db2eca77 [2021-04-07T13:47:20.009Z] ---> a9a5bee3c319 [2021-04-07T13:47:20.009Z] Step 7/21 : COPY VERSION /tmp/sdk [2021-04-07T13:47:20.009Z] ---> 9f3a37839781 [2021-04-07T13:47:20.009Z] Step 8/21 : COPY src /tmp/sdk/src [2021-04-07T13:47:20.121Z] ---> 3df7fd7ec1db [2021-04-07T13:47:20.121Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-04-07T13:47:20.121Z] ---> Running in 759450a69d51 [2021-04-07T13:47:20.959Z] ---> ad3ad229d7f2 [2021-04-07T13:47:20.959Z] Step 9/21 : COPY include /tmp/sdk/include [2021-04-07T13:47:21.101Z] + CPPCHECK=false [2021-04-07T13:47:21.101Z] + DOCGEN=false [2021-04-07T13:47:21.101Z] + TOMLVER=SDK-0.2 [2021-04-07T13:47:21.101Z] + CUTILVER=1.1.4 [2021-04-07T13:47:21.101Z] + '[' 0 -gt 0 ] [2021-04-07T13:47:21.101Z] + readlink -f ./scripts/build.sh [2021-04-07T13:47:21.101Z] + dirname /tmp/sdk/scripts/build.sh [2021-04-07T13:47:21.101Z] + dirname /tmp/sdk/scripts [2021-04-07T13:47:21.101Z] + ROOT=/tmp/sdk [2021-04-07T13:47:21.101Z] + cd /tmp/sdk [2021-04-07T13:47:21.101Z] + '[' '!' -d deps ] [2021-04-07T13:47:21.101Z] + mkdir deps [2021-04-07T13:47:21.101Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-04-07T13:47:21.101Z] + tar -C deps -z -x -f - [2021-04-07T13:47:21.101Z] --2021-04-07 13:47:21-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-04-07T13:47:21.222Z] ---> 7a8a2ae10fbc [2021-04-07T13:47:21.222Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2021-04-07T13:47:21.374Z] Resolving github.com... 140.82.112.4 [2021-04-07T13:47:21.374Z] Connecting to github.com|140.82.112.4|:443... connected. [2021-04-07T13:47:21.374Z] HTTP request sent, awaiting response... 302 Found [2021-04-07T13:47:21.374Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-04-07T13:47:21.374Z] --2021-04-07 13:47:21-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-04-07T13:47:21.374Z] Resolving codeload.github.com... 140.82.113.9 [2021-04-07T13:47:21.374Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2021-04-07T13:47:21.486Z] ---> 5f4e6697b51b [2021-04-07T13:47:21.486Z] Step 11/21 : COPY LICENSE /tmp/sdk [2021-04-07T13:47:21.646Z] HTTP request sent, awaiting response... 200 OK [2021-04-07T13:47:21.646Z] Length: unspecified [application/x-gzip] [2021-04-07T13:47:21.646Z] Saving to: 'STDOUT' [2021-04-07T13:47:21.646Z] [2021-04-07T13:47:21.646Z] 0K .......... ...... 833K=0.02s [2021-04-07T13:47:21.646Z] [2021-04-07T13:47:21.646Z] 2021-04-07 13:47:21 (833 KB/s) - written to stdout [16451] [2021-04-07T13:47:21.646Z] [2021-04-07T13:47:21.750Z] ---> 71e6317293d3 [2021-04-07T13:47:21.750Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2021-04-07T13:47:21.918Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-04-07T13:47:21.918Z] + + wgettar -O -C - deps https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz -z [2021-04-07T13:47:21.918Z] -x -f - [2021-04-07T13:47:21.918Z] --2021-04-07 13:47:21-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-04-07T13:47:21.918Z] Resolving github.com... 140.82.112.4 [2021-04-07T13:47:21.918Z] Connecting to github.com|140.82.112.4|:443... connected. [2021-04-07T13:47:21.918Z] HTTP request sent, awaiting response... 302 Found [2021-04-07T13:47:21.918Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-04-07T13:47:21.918Z] --2021-04-07 13:47:21-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-04-07T13:47:21.918Z] Resolving codeload.github.com... 140.82.113.9 [2021-04-07T13:47:21.918Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2021-04-07T13:47:22.016Z] ---> 2312742ed365 [2021-04-07T13:47:22.016Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-04-07T13:47:22.016Z] ---> Running in 6c0df6c319e4 [2021-04-07T13:47:22.196Z] HTTP request sent, awaiting response... 200 OK [2021-04-07T13:47:22.196Z] Length: unspecified [application/x-gzip] [2021-04-07T13:47:22.196Z] Saving to: 'STDOUT' [2021-04-07T13:47:22.196Z]  [2021-04-07T13:47:22.196Z] 0K .......... .......... .......... .......... .......... 1.33M [2021-04-07T13:47:22.196Z] 50K .......... .......... .......... .......... .......... 2.54M [2021-04-07T13:47:22.196Z] 100K .......... .......... .......... .......... .......... 2.46M [2021-04-07T13:47:22.196Z] 150K .......... .......... ....... 6.28M=0.08s [2021-04-07T13:47:22.196Z] [2021-04-07T13:47:22.196Z] 2021-04-07 13:47:22 (2.16 MB/s) - written to stdout [181796] [2021-04-07T13:47:22.196Z] [2021-04-07T13:47:22.469Z] + mkdir -p src/c/iot [2021-04-07T13:47:22.469Z] + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot [2021-04-07T13:47:22.469Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-04-07T13:47:22.469Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-04-07T13:47:22.469Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-04-07T13:47:22.469Z] + mkdir -p include/iot [2021-04-07T13:47:22.469Z] + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot [2021-04-07T13:47:22.469Z] + mkdir -p include/iot/os [2021-04-07T13:47:22.469Z] + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os [2021-04-07T13:47:22.469Z] + mkdir -p /tmp/sdk/build/release [2021-04-07T13:47:22.469Z] + cd /tmp/sdk/build/release [2021-04-07T13:47:22.469Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-04-07T13:47:22.599Z] + CPPCHECK=false [2021-04-07T13:47:22.599Z] + DOCGEN=false [2021-04-07T13:47:22.599Z] + TOMLVER=SDK-0.2 [2021-04-07T13:47:22.599Z] + CUTILVER=1.1.4 [2021-04-07T13:47:22.599Z] + '[' 0 -gt 0 ] [2021-04-07T13:47:22.599Z] + readlink -f ./scripts/build.sh [2021-04-07T13:47:22.599Z] + dirname /tmp/sdk/scripts/build.sh [2021-04-07T13:47:22.599Z] + dirname /tmp/sdk/scripts [2021-04-07T13:47:22.599Z] + ROOT=/tmp/sdk [2021-04-07T13:47:22.599Z] + cd /tmp/sdk [2021-04-07T13:47:22.599Z] + '[' '!' -d deps ] [2021-04-07T13:47:22.599Z] + mkdir deps [2021-04-07T13:47:22.599Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-04-07T13:47:22.599Z] + tar -C deps -z -x -f - [2021-04-07T13:47:22.599Z] --2021-04-07 13:47:22-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-04-07T13:47:22.599Z] Resolving github.com... 140.82.112.4 [2021-04-07T13:47:22.599Z] Connecting to github.com|140.82.112.4|:443... connected. [2021-04-07T13:47:22.599Z] HTTP request sent, awaiting response... 302 Found [2021-04-07T13:47:22.599Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-04-07T13:47:22.599Z] --2021-04-07 13:47:22-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-04-07T13:47:22.599Z] Resolving codeload.github.com... 140.82.113.9 [2021-04-07T13:47:22.599Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2021-04-07T13:47:22.599Z] HTTP request sent, awaiting response... 200 OK [2021-04-07T13:47:22.599Z] Length: unspecified [application/x-gzip] [2021-04-07T13:47:22.599Z] Saving to: 'STDOUT' [2021-04-07T13:47:22.599Z] [2021-04-07T13:47:22.599Z] 0K .......... ......  806K=0.02s [2021-04-07T13:47:22.599Z] [2021-04-07T13:47:22.599Z] 2021-04-07 13:47:22 (806 KB/s) - written to stdout [16451] [2021-04-07T13:47:22.599Z] [2021-04-07T13:47:22.599Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-04-07T13:47:22.599Z] + wget -O -+ https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-04-07T13:47:22.599Z] tar -C deps -z -x -f - [2021-04-07T13:47:22.599Z] --2021-04-07 13:47:22-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-04-07T13:47:22.742Z] -- The C compiler identification is GNU 8.3.0 [2021-04-07T13:47:22.743Z] -- Check for working C compiler: /usr/bin/cc [2021-04-07T13:47:22.868Z] Resolving github.com... 140.82.112.4 [2021-04-07T13:47:22.868Z] Connecting to github.com|140.82.112.4|:443... connected. [2021-04-07T13:47:22.868Z] HTTP request sent, awaiting response... 302 Found [2021-04-07T13:47:22.868Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-04-07T13:47:22.868Z] --2021-04-07 13:47:22-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-04-07T13:47:22.868Z] Resolving codeload.github.com... 140.82.113.9 [2021-04-07T13:47:22.868Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2021-04-07T13:47:22.868Z] HTTP request sent, awaiting response... 200 OK [2021-04-07T13:47:22.868Z] Length: unspecified [application/x-gzip] [2021-04-07T13:47:22.868Z] Saving to: 'STDOUT' [2021-04-07T13:47:22.868Z] [2021-04-07T13:47:22.868Z] 0K .......... .......... .......... .......... .......... 1.21M [2021-04-07T13:47:22.868Z] 50K .......... .......... .......... .......... .......... 3.16M [2021-04-07T13:47:22.868Z] 100K .......... .......... .......... .......... .......... 8.55M [2021-04-07T13:47:22.868Z] 150K .......... .......... ....... 2.88M=0.07s [2021-04-07T13:47:22.868Z] [2021-04-07T13:47:22.868Z] 2021-04-07 13:47:22 (2.44 MB/s) - written to stdout [181796] [2021-04-07T13:47:22.868Z] [2021-04-07T13:47:23.023Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-04-07T13:47:23.023Z] -- Detecting C compiler ABI info [2021-04-07T13:47:23.131Z] + mkdir -p src/c/iot [2021-04-07T13:47:23.132Z] + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot [2021-04-07T13:47:23.132Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-04-07T13:47:23.132Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-04-07T13:47:23.132Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-04-07T13:47:23.132Z] + mkdir -p include/iot [2021-04-07T13:47:23.132Z] + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot [2021-04-07T13:47:23.132Z] + mkdir -p include/iot/os [2021-04-07T13:47:23.132Z] + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os [2021-04-07T13:47:23.132Z] + mkdir -p /tmp/sdk/build/release [2021-04-07T13:47:23.132Z] + cd /tmp/sdk/build/release [2021-04-07T13:47:23.132Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-04-07T13:47:23.132Z] -- The C compiler identification is GNU 8.3.0 [2021-04-07T13:47:23.132Z] -- Check for working C compiler: /usr/bin/cc [2021-04-07T13:47:23.132Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-04-07T13:47:23.132Z] -- Detecting C compiler ABI info [2021-04-07T13:47:23.298Z] -- Detecting C compiler ABI info - done [2021-04-07T13:47:23.298Z] -- Detecting C compile features [2021-04-07T13:47:23.397Z] -- Detecting C compiler ABI info - done [2021-04-07T13:47:23.397Z] -- Detecting C compile features [2021-04-07T13:47:23.666Z] -- Detecting C compile features - done [2021-04-07T13:47:23.666Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-04-07T13:47:23.666Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-04-07T13:47:23.666Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-04-07T13:47:23.666Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-04-07T13:47:23.666Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-04-07T13:47:23.666Z] -- C SDK 0.0.0 for Linux [2021-04-07T13:47:23.666Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-04-07T13:47:23.666Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-04-07T13:47:23.666Z] -- Found Curses: /usr/lib/libcurses.so [2021-04-07T13:47:23.666Z] -- Configuring done [2021-04-07T13:47:23.895Z] -- Detecting C compile features - done [2021-04-07T13:47:23.896Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-04-07T13:47:23.896Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-04-07T13:47:23.896Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-04-07T13:47:23.896Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-04-07T13:47:23.896Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-04-07T13:47:23.896Z] -- C SDK 0.0.0 for Linux [2021-04-07T13:47:23.896Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-04-07T13:47:23.929Z] -- Generating done [2021-04-07T13:47:23.929Z] -- Build files have been written to: /tmp/sdk/build/release [2021-04-07T13:47:23.929Z] + make [2021-04-07T13:47:23.929Z] + tee release.log [2021-04-07T13:47:23.929Z] Scanning dependencies of target csdk [2021-04-07T13:47:23.929Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-04-07T13:47:24.169Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-04-07T13:47:24.169Z] -- Found Curses: /usr/lib/libcurses.so [2021-04-07T13:47:24.192Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-04-07T13:47:24.192Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-04-07T13:47:24.441Z] -- Configuring done [2021-04-07T13:47:24.714Z] -- Generating done [2021-04-07T13:47:24.714Z] -- Build files have been written to: /tmp/sdk/build/release [2021-04-07T13:47:24.714Z] + + teemake release.log [2021-04-07T13:47:24.714Z] [2021-04-07T13:47:24.714Z] Scanning dependencies of target csdk [2021-04-07T13:47:24.769Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-04-07T13:47:24.987Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-04-07T13:47:25.033Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-04-07T13:47:25.033Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-04-07T13:47:25.295Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-04-07T13:47:25.560Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-04-07T13:47:25.579Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-04-07T13:47:25.823Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-04-07T13:47:25.851Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-04-07T13:47:26.086Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-04-07T13:47:26.086Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-04-07T13:47:26.351Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-04-07T13:47:26.351Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-04-07T13:47:26.351Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-04-07T13:47:27.300Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-04-07T13:47:27.300Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-04-07T13:47:27.300Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-04-07T13:47:27.563Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-04-07T13:47:27.563Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-04-07T13:47:27.815Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-04-07T13:47:28.088Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-04-07T13:47:28.362Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-04-07T13:47:28.515Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-04-07T13:47:28.515Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-04-07T13:47:28.515Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-04-07T13:47:28.515Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-04-07T13:47:28.779Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-04-07T13:47:28.779Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-04-07T13:47:29.043Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-04-07T13:47:29.043Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-04-07T13:47:29.308Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-04-07T13:47:29.308Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-04-07T13:47:29.338Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-04-07T13:47:29.886Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-04-07T13:47:30.150Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-04-07T13:47:30.150Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-04-07T13:47:30.412Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-04-07T13:47:30.766Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-04-07T13:47:31.358Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-04-07T13:47:31.362Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-04-07T13:47:31.626Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-04-07T13:47:31.626Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-04-07T13:47:31.893Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-04-07T13:47:31.952Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-04-07T13:47:32.156Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-04-07T13:47:32.224Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-04-07T13:47:32.424Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-04-07T13:47:32.832Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-04-07T13:47:32.832Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-04-07T13:47:33.005Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-04-07T13:47:33.105Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-04-07T13:47:33.957Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-04-07T13:47:33.957Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-04-07T13:47:34.222Z] [ 72%] Linking C shared library libcsdk.so [2021-04-07T13:47:34.222Z] [ 72%] Built target csdk [2021-04-07T13:47:34.222Z] Scanning dependencies of target template [2021-04-07T13:47:34.222Z] [ 74%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-04-07T13:47:34.484Z] [ 76%] Linking C executable template [2021-04-07T13:47:34.484Z] [ 76%] Built target template [2021-04-07T13:47:34.484Z] Scanning dependencies of target device-counter [2021-04-07T13:47:34.484Z] [ 77%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-04-07T13:47:34.747Z] [ 79%] Linking C executable device-counter [2021-04-07T13:47:35.010Z] [ 79%] Built target device-counter [2021-04-07T13:47:35.010Z] Scanning dependencies of target device-random [2021-04-07T13:47:35.010Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-04-07T13:47:35.010Z] [ 83%] Linking C executable device-random [2021-04-07T13:47:35.273Z] [ 83%] Built target device-random [2021-04-07T13:47:35.273Z] Scanning dependencies of target device-gyro [2021-04-07T13:47:35.273Z] [ 84%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-04-07T13:47:35.273Z] [ 86%] Linking C executable device-gyro [2021-04-07T13:47:35.273Z] [ 86%] Built target device-gyro [2021-04-07T13:47:35.273Z] Scanning dependencies of target device-bitfields [2021-04-07T13:47:35.273Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-04-07T13:47:35.538Z] [ 89%] Linking C executable device-bitfields [2021-04-07T13:47:35.538Z] [ 89%] Built target device-bitfields [2021-04-07T13:47:35.538Z] Scanning dependencies of target template-discovery [2021-04-07T13:47:35.538Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-04-07T13:47:35.801Z] [ 93%] Linking C executable template-discovery [2021-04-07T13:47:35.801Z] [ 93%] Built target template-discovery [2021-04-07T13:47:35.801Z] Scanning dependencies of target device-file [2021-04-07T13:47:35.801Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-04-07T13:47:36.068Z] [ 96%] Linking C executable device-file [2021-04-07T13:47:36.068Z] [ 96%] Built target device-file [2021-04-07T13:47:36.068Z] Scanning dependencies of target device-terminal [2021-04-07T13:47:36.068Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-04-07T13:47:36.332Z] [100%] Linking C executable device-terminal [2021-04-07T13:47:36.332Z] [100%] Built target device-terminal [2021-04-07T13:47:36.332Z] + make package [2021-04-07T13:47:36.332Z] + tee -a release.log [2021-04-07T13:47:36.477Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-04-07T13:47:36.477Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-04-07T13:47:36.598Z] [ 72%] Built target csdk [2021-04-07T13:47:36.598Z] [ 76%] Built target template [2021-04-07T13:47:36.598Z] [ 79%] Built target device-counter [2021-04-07T13:47:36.598Z] [ 83%] Built target device-random [2021-04-07T13:47:36.598Z] [ 86%] Built target device-gyro [2021-04-07T13:47:36.598Z] [ 89%] Built target device-bitfields [2021-04-07T13:47:36.598Z] [ 93%] Built target template-discovery [2021-04-07T13:47:36.598Z] [ 96%] Built target device-file [2021-04-07T13:47:36.598Z] [100%] Built target device-terminal [2021-04-07T13:47:36.598Z] Run CPack packaging tool... [2021-04-07T13:47:36.598Z] CPack: Create package using TGZ [2021-04-07T13:47:36.598Z] CPack: Install projects [2021-04-07T13:47:36.598Z] CPack: - Run preinstall target for: Csdk [2021-04-07T13:47:36.749Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-04-07T13:47:36.860Z] CPack: - Install project: Csdk [2021-04-07T13:47:36.860Z] CPack: Create package [2021-04-07T13:47:36.860Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-04-07T13:47:36.860Z] + '[' false '=' true ] [2021-04-07T13:47:36.860Z] + '[' false '=' true ] [2021-04-07T13:47:36.860Z] + mkdir -p /tmp/sdk/build/debug [2021-04-07T13:47:36.860Z] + cd /tmp/sdk/build/debug [2021-04-07T13:47:36.860Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-04-07T13:47:37.021Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-04-07T13:47:37.131Z] -- The C compiler identification is GNU 8.3.0 [2021-04-07T13:47:37.131Z] -- Check for working C compiler: /usr/bin/cc [2021-04-07T13:47:37.131Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-04-07T13:47:37.131Z] -- Detecting C compiler ABI info [2021-04-07T13:47:37.131Z] -- Detecting C compiler ABI info - done [2021-04-07T13:47:37.394Z] -- Detecting C compile features [2021-04-07T13:47:37.395Z] -- Detecting C compile features - done [2021-04-07T13:47:37.616Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-04-07T13:47:37.657Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-04-07T13:47:37.657Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-04-07T13:47:37.657Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-04-07T13:47:37.657Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-04-07T13:47:37.657Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-04-07T13:47:37.657Z] -- C SDK 0.0.0 for Linux [2021-04-07T13:47:37.657Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-04-07T13:47:37.657Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-04-07T13:47:37.657Z] -- Found Curses: /usr/lib/libcurses.so [2021-04-07T13:47:37.657Z] -- Configuring done [2021-04-07T13:47:37.657Z] -- Generating done [2021-04-07T13:47:37.657Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-04-07T13:47:37.657Z] + make [2021-04-07T13:47:37.657Z] + tee debug.log [2021-04-07T13:47:37.920Z] Scanning dependencies of target csdk [2021-04-07T13:47:37.920Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-04-07T13:47:37.920Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-04-07T13:47:37.920Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-04-07T13:47:38.187Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-04-07T13:47:38.187Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-04-07T13:47:38.450Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-04-07T13:47:38.450Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-04-07T13:47:38.714Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-04-07T13:47:38.714Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-04-07T13:47:38.714Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-04-07T13:47:38.977Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-04-07T13:47:38.977Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-04-07T13:47:38.977Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-04-07T13:47:38.977Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-04-07T13:47:39.240Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-04-07T13:47:39.505Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-04-07T13:47:39.505Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-04-07T13:47:39.505Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-04-07T13:47:39.771Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-04-07T13:47:40.034Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-04-07T13:47:40.034Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-04-07T13:47:40.034Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-04-07T13:47:40.034Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-04-07T13:47:40.226Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-04-07T13:47:40.226Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-04-07T13:47:40.302Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-04-07T13:47:40.302Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-04-07T13:47:40.302Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-04-07T13:47:40.302Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-04-07T13:47:40.500Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-04-07T13:47:40.566Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-04-07T13:47:40.566Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-04-07T13:47:40.566Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-04-07T13:47:40.566Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-04-07T13:47:40.828Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-04-07T13:47:40.828Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-04-07T13:47:41.092Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-04-07T13:47:41.094Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-04-07T13:47:41.355Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-04-07T13:47:41.355Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-04-07T13:47:41.355Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-04-07T13:47:41.617Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-04-07T13:47:41.690Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-04-07T13:47:41.690Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-04-07T13:47:41.879Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-04-07T13:47:41.879Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-04-07T13:47:42.143Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-04-07T13:47:42.407Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-04-07T13:47:42.407Z] [ 72%] Linking C shared library libcsdk.so [2021-04-07T13:47:42.407Z] [ 72%] Built target csdk [2021-04-07T13:47:42.407Z] Scanning dependencies of target template [2021-04-07T13:47:42.407Z] [ 74%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-04-07T13:47:42.668Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-04-07T13:47:42.671Z] [ 76%] Linking C executable template [2021-04-07T13:47:42.671Z] [ 76%] Built target template [2021-04-07T13:47:42.671Z] Scanning dependencies of target device-counter [2021-04-07T13:47:42.671Z] [ 77%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-04-07T13:47:42.671Z] [ 79%] Linking C executable device-counter [2021-04-07T13:47:42.934Z] [ 79%] Built target device-counter [2021-04-07T13:47:42.934Z] Scanning dependencies of target device-random [2021-04-07T13:47:42.934Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-04-07T13:47:42.934Z] [ 83%] Linking C executable device-random [2021-04-07T13:47:42.934Z] [ 83%] Built target device-random [2021-04-07T13:47:42.934Z] Scanning dependencies of target device-gyro [2021-04-07T13:47:42.934Z] [ 84%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-04-07T13:47:43.199Z] [ 86%] Linking C executable device-gyro [2021-04-07T13:47:43.199Z] [ 86%] Built target device-gyro [2021-04-07T13:47:43.199Z] Scanning dependencies of target device-bitfields [2021-04-07T13:47:43.199Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-04-07T13:47:43.199Z] [ 89%] Linking C executable device-bitfields [2021-04-07T13:47:43.265Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-04-07T13:47:43.462Z] [ 89%] Built target device-bitfields [2021-04-07T13:47:43.462Z] Scanning dependencies of target template-discovery [2021-04-07T13:47:43.462Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-04-07T13:47:43.463Z] [ 93%] Linking C executable template-discovery [2021-04-07T13:47:43.463Z] [ 93%] Built target template-discovery [2021-04-07T13:47:43.463Z] Scanning dependencies of target device-file [2021-04-07T13:47:43.463Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-04-07T13:47:43.725Z] [ 96%] Linking C executable device-file [2021-04-07T13:47:43.725Z] [ 96%] Built target device-file [2021-04-07T13:47:43.725Z] Scanning dependencies of target device-terminal [2021-04-07T13:47:43.725Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-04-07T13:47:43.725Z] [100%] Linking C executable device-terminal [2021-04-07T13:47:43.859Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-04-07T13:47:43.859Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-04-07T13:47:43.990Z] [100%] Built target device-terminal [2021-04-07T13:47:43.990Z] make: Entering directory '/tmp/sdk/build/release' [2021-04-07T13:47:43.990Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-04-07T13:47:43.990Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-07T13:47:43.990Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-07T13:47:43.990Z] [ 72%] Built target csdk [2021-04-07T13:47:43.990Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-07T13:47:43.990Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-07T13:47:43.990Z] [ 76%] Built target template [2021-04-07T13:47:43.990Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-07T13:47:43.990Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-07T13:47:43.990Z] [ 79%] Built target device-counter [2021-04-07T13:47:43.990Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-07T13:47:43.990Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-07T13:47:43.990Z] [ 83%] Built target device-random [2021-04-07T13:47:43.990Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-07T13:47:43.990Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-07T13:47:43.990Z] [ 86%] Built target device-gyro [2021-04-07T13:47:43.990Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-07T13:47:43.991Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-07T13:47:43.991Z] [ 89%] Built target device-bitfields [2021-04-07T13:47:43.991Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-07T13:47:43.991Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-07T13:47:43.991Z] [ 93%] Built target template-discovery [2021-04-07T13:47:43.991Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-07T13:47:43.991Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-07T13:47:43.991Z] [ 96%] Built target device-file [2021-04-07T13:47:43.991Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-07T13:47:43.991Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-07T13:47:43.991Z] [100%] Built target device-terminal [2021-04-07T13:47:43.991Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-04-07T13:47:43.991Z] Install the project... [2021-04-07T13:47:43.991Z] -- Install configuration: "Release" [2021-04-07T13:47:43.991Z] -- Installing: /usr/local/lib/libcsdk.so [2021-04-07T13:47:43.991Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-04-07T13:47:43.991Z] -- Up-to-date: /usr/local/include [2021-04-07T13:47:43.991Z] -- Installing: /usr/local/include/devsdk [2021-04-07T13:47:43.991Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-04-07T13:47:43.991Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-04-07T13:47:43.991Z] -- Installing: /usr/local/include/edgex [2021-04-07T13:47:43.991Z] -- Installing: /usr/local/include/edgex/devices.h [2021-04-07T13:47:43.991Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-04-07T13:47:43.991Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-04-07T13:47:43.991Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-04-07T13:47:43.991Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-04-07T13:47:43.991Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-04-07T13:47:43.991Z] -- Installing: /usr/local/include/iot [2021-04-07T13:47:43.991Z] -- Installing: /usr/local/include/iot/base64.h [2021-04-07T13:47:43.991Z] -- Installing: /usr/local/include/iot/component.h [2021-04-07T13:47:43.991Z] -- Installing: /usr/local/include/iot/config.h [2021-04-07T13:47:43.991Z] -- Installing: /usr/local/include/iot/container.h [2021-04-07T13:47:43.991Z] -- Installing: /usr/local/include/iot/data.h [2021-04-07T13:47:43.991Z] -- Installing: /usr/local/include/iot/hash.h [2021-04-07T13:47:43.991Z] -- Installing: /usr/local/include/iot/iot.h [2021-04-07T13:47:43.991Z] -- Installing: /usr/local/include/iot/json.h [2021-04-07T13:47:43.991Z] -- Installing: /usr/local/include/iot/logger.h [2021-04-07T13:47:43.991Z] -- Installing: /usr/local/include/iot/os.h [2021-04-07T13:47:43.991Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-04-07T13:47:43.991Z] -- Installing: /usr/local/include/iot/thread.h [2021-04-07T13:47:43.991Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-04-07T13:47:43.991Z] -- Installing: /usr/local/include/iot/time.h [2021-04-07T13:47:43.991Z] -- Installing: /usr/local/include/iot/typecode.h [2021-04-07T13:47:43.991Z] -- Installing: /usr/local/include/iot/os [2021-04-07T13:47:43.991Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-04-07T13:47:43.991Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-04-07T13:47:43.991Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-04-07T13:47:43.991Z] -- Installing: /usr/local/include/iot/defs.h [2021-04-07T13:47:43.991Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-04-07T13:47:43.991Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-04-07T13:47:44.255Z] make: Leaving directory '/tmp/sdk/build/release' [2021-04-07T13:47:45.832Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-04-07T13:47:46.105Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-04-07T13:47:46.198Z] Removing intermediate container 6c0df6c319e4 [2021-04-07T13:47:46.198Z] ---> 7d31914a5cb1 [2021-04-07T13:47:46.198Z] Step 14/21 : FROM ${BASE} [2021-04-07T13:47:46.198Z] ---> 5eabd8fd8ba2 [2021-04-07T13:47:46.198Z] Step 15/21 : LABEL maintainer="IOTech " [2021-04-07T13:47:46.198Z] ---> Running in b5cc33195443 [2021-04-07T13:47:46.461Z] Removing intermediate container b5cc33195443 [2021-04-07T13:47:46.461Z] ---> 45941210ee11 [2021-04-07T13:47:46.461Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2021-04-07T13:47:46.461Z] ---> Running in 3ab74cde2704 [2021-04-07T13:47:47.078Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-04-07T13:47:47.078Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-04-07T13:47:47.410Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-04-07T13:47:47.986Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-04-07T13:47:48.250Z] (1/3) Installing curl (7.64.0-r5) [2021-04-07T13:47:48.513Z] (2/3) Installing libuuid (2.33-r0) [2021-04-07T13:47:48.513Z] (3/3) Installing wget (1.20.3-r0) [2021-04-07T13:47:48.776Z] Executing busybox-1.29.3-r10.trigger [2021-04-07T13:47:48.776Z] OK: 268 MiB in 78 packages [2021-04-07T13:47:49.351Z] Removing intermediate container 3ab74cde2704 [2021-04-07T13:47:49.351Z] ---> 5007e5ddf431 [2021-04-07T13:47:49.351Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-04-07T13:47:49.617Z] ---> 03f0217365c2 [2021-04-07T13:47:49.617Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-04-07T13:47:49.886Z] ---> 775bec0cc3b0 [2021-04-07T13:47:49.887Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-04-07T13:47:49.887Z] ---> 49669eb776d5 [2021-04-07T13:47:49.887Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-04-07T13:47:50.153Z] ---> aff61aaae780 [2021-04-07T13:47:50.153Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-04-07T13:47:50.417Z] ---> a70813146240 [2021-04-07T13:47:50.417Z] Successfully built a70813146240 [2021-04-07T13:47:50.680Z] 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 [2021-04-07T13:47:51.478Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-04-07T13:47:51.595Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-07T13:47:51.595Z] . [Pipeline] withDockerContainer [2021-04-07T13:47:51.738Z] prd-centos7-docker-4c-2g-33159 does not seem to be running inside a container [2021-04-07T13:47:51.762Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-04-07T13:47:51.795Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2021-04-07T13:47:52.372Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-04-07T13:47:52.500Z] $ docker top 1608c2a5a2a92b051ceb82ed395461932ecc4543444f073b67fc634abe3fd974 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-07T13:47:53.000Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-04-07T13:47:53.068Z] + make test [2021-04-07T13:47:53.068Z] echo "make test" [2021-04-07T13:47:53.068Z] make test [Pipeline] } [2021-04-07T13:47:53.146Z] $ docker stop --time=1 1608c2a5a2a92b051ceb82ed395461932ecc4543444f073b67fc634abe3fd974 [2021-04-07T13:47:53.614Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-04-07T13:47:54.591Z] $ docker rm -f 1608c2a5a2a92b051ceb82ed395461932ecc4543444f073b67fc634abe3fd974 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2021-04-07T13:47:55.590Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-04-07T13:47:57.017Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [Pipeline] sh [2021-04-07T13:47:58.239Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-07T13:47:58.592Z] + ls -al . [2021-04-07T13:47:58.592Z] total 160 [2021-04-07T13:47:58.592Z] drwxrwxr-x. 8 jenkins jenkins 260 Apr 7 13:46 . [2021-04-07T13:47:58.592Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 7 13:46 .. [2021-04-07T13:47:58.592Z] -rw-rw-r--. 1 jenkins jenkins 3104 Apr 7 13:46 Attribution.txt [2021-04-07T13:47:58.592Z] -rw-rw-r--. 1 jenkins jenkins 6927 Apr 7 13:46 CHANGES [2021-04-07T13:47:58.592Z] drwxrwxr-x. 2 jenkins jenkins 144 Apr 7 13:46 docs [2021-04-07T13:47:58.592Z] -rw-rw-r--. 1 jenkins jenkins 108574 Apr 7 13:46 Doxyfile [2021-04-07T13:47:58.592Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 7 13:46 .git [2021-04-07T13:47:58.592Z] drwxrwxr-x. 2 jenkins jenkins 81 Apr 7 13:46 .github [2021-04-07T13:47:58.592Z] -rw-rw-r--. 1 jenkins jenkins 176 Apr 7 13:46 .gitignore [2021-04-07T13:47:58.592Z] drwxrwxr-x. 4 jenkins jenkins 33 Apr 7 13:46 include [2021-04-07T13:47:58.592Z] -rw-rw-r--. 1 jenkins jenkins 784 Apr 7 13:46 Jenkinsfile [2021-04-07T13:47:58.592Z] -rw-rw-r--. 1 jenkins jenkins 10174 Apr 7 13:46 LICENSE [2021-04-07T13:47:58.592Z] -rw-rw-r--. 1 jenkins jenkins 444 Apr 7 13:46 Makefile [2021-04-07T13:47:58.592Z] -rw-rw-r--. 1 jenkins jenkins 2697 Apr 7 13:46 README.md [2021-04-07T13:47:58.592Z] -rw-rw-r--. 1 jenkins jenkins 6654 Apr 7 13:46 README.v2.md [2021-04-07T13:47:58.592Z] drwxrwxr-x. 2 jenkins jenkins 98 Apr 7 13:46 scripts [2021-04-07T13:47:58.592Z] drwxrwxr-x. 4 jenkins jenkins 50 Apr 7 13:46 src [2021-04-07T13:47:58.592Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 7 13:43 VERSION [Pipeline] isUnix [Pipeline] sh [2021-04-07T13:47:58.946Z] + docker build -t docker-device-sdk-c -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=0fcf46ac52fab5bfaa4db26eb743f5b517ddb0ef --label arch=amd64 --label version=0.0.0 . [2021-04-07T13:47:59.209Z] Sending build context to Docker daemon 2.351MB [2021-04-07T13:47:59.209Z] Step 1/15 : ARG BASE=alpine:3.12 [2021-04-07T13:47:59.209Z] Step 2/15 : FROM ${BASE} [2021-04-07T13:47:59.209Z] ---> a70813146240 [2021-04-07T13:47:59.209Z] Step 3/15 : LABEL maintainer="IOTech " [2021-04-07T13:47:59.789Z] ---> Running in 014c8e2f4122 [2021-04-07T13:47:59.789Z] Removing intermediate container 014c8e2f4122 [2021-04-07T13:47:59.789Z] ---> 07cda2983a36 [2021-04-07T13:47:59.789Z] 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 [2021-04-07T13:47:59.789Z] ---> Running in 95b44b46e9c6 [2021-04-07T13:48:00.373Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-04-07T13:48:00.404Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-04-07T13:48:00.404Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-04-07T13:48:00.997Z] [ 72%] Linking C shared library libcsdk.so [2021-04-07T13:48:00.997Z] [ 72%] Built target csdk [2021-04-07T13:48:01.272Z] Scanning dependencies of target template [2021-04-07T13:48:01.272Z] [ 74%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-04-07T13:48:01.329Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-04-07T13:48:01.329Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-04-07T13:48:01.329Z] (2/6) Installing libblkid (2.33-r0) [2021-04-07T13:48:01.592Z] (3/6) Installing libfdisk (2.33-r0) [2021-04-07T13:48:01.592Z] (4/6) Installing libmount (2.33-r0) [2021-04-07T13:48:01.856Z] (5/6) Installing libsmartcols (2.33-r0) [2021-04-07T13:48:01.856Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-04-07T13:48:01.880Z] [ 76%] Linking C executable template [2021-04-07T13:48:02.122Z] Executing busybox-1.29.3-r10.trigger [2021-04-07T13:48:02.122Z] OK: 272 MiB in 84 packages [2021-04-07T13:48:02.151Z] [ 76%] Built target template [2021-04-07T13:48:02.152Z] Scanning dependencies of target device-counter [2021-04-07T13:48:02.152Z] [ 77%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-04-07T13:48:02.698Z] Removing intermediate container 95b44b46e9c6 [2021-04-07T13:48:02.698Z] ---> b75700a33997 [2021-04-07T13:48:02.698Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2021-04-07T13:48:02.745Z] [ 79%] Linking C executable device-counter [2021-04-07T13:48:02.745Z] [ 79%] Built target device-counter [2021-04-07T13:48:02.745Z] Scanning dependencies of target device-random [2021-04-07T13:48:02.745Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-04-07T13:48:02.961Z] ---> fe34d45b4b4a [2021-04-07T13:48:02.961Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2021-04-07T13:48:03.336Z] [ 83%] Linking C executable device-random [2021-04-07T13:48:03.610Z] [ 83%] Built target device-random [2021-04-07T13:48:03.610Z] Scanning dependencies of target device-gyro [2021-04-07T13:48:03.610Z] [ 84%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-04-07T13:48:03.882Z] [ 86%] Linking C executable device-gyro [2021-04-07T13:48:03.908Z] ---> 7cc2030f7b38 [2021-04-07T13:48:03.909Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2021-04-07T13:48:04.154Z] [ 86%] Built target device-gyro [2021-04-07T13:48:04.154Z] Scanning dependencies of target device-bitfields [2021-04-07T13:48:04.154Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-04-07T13:48:04.172Z] ---> cb6450568471 [2021-04-07T13:48:04.172Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2021-04-07T13:48:04.172Z] ---> d12cfafce951 [2021-04-07T13:48:04.172Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2021-04-07T13:48:04.434Z] ---> 004adbfb8fc3 [2021-04-07T13:48:04.434Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2021-04-07T13:48:04.749Z] [ 89%] Linking C executable device-bitfields [2021-04-07T13:48:04.749Z] [ 89%] Built target device-bitfields [2021-04-07T13:48:04.749Z] Scanning dependencies of target template-discovery [2021-04-07T13:48:04.749Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-04-07T13:48:05.382Z] ---> 737100378445 [2021-04-07T13:48:05.382Z] Step 11/15 : WORKDIR /edgex-c-sdk [2021-04-07T13:48:05.382Z] ---> Running in a99b666284a0 [2021-04-07T13:48:05.382Z] Removing intermediate container a99b666284a0 [2021-04-07T13:48:05.382Z] ---> 68c2ef66cba7 [2021-04-07T13:48:05.382Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-04-07T13:48:05.645Z] ---> Running in 5e2e13b92838 [2021-04-07T13:48:05.720Z] [ 93%] Linking C executable template-discovery [2021-04-07T13:48:05.720Z] [ 93%] Built target template-discovery [2021-04-07T13:48:05.720Z] Scanning dependencies of target device-file [2021-04-07T13:48:05.720Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-04-07T13:48:05.908Z] Removing intermediate container 5e2e13b92838 [2021-04-07T13:48:05.908Z] ---> ba65d10e5cc7 [2021-04-07T13:48:05.908Z] Step 13/15 : LABEL arch=amd64 [2021-04-07T13:48:05.908Z] ---> Running in ed3bd26d5002 [2021-04-07T13:48:05.908Z] Removing intermediate container ed3bd26d5002 [2021-04-07T13:48:05.908Z] ---> ab21d25e7c71 [2021-04-07T13:48:05.908Z] Step 14/15 : LABEL git_sha=0fcf46ac52fab5bfaa4db26eb743f5b517ddb0ef [2021-04-07T13:48:06.176Z] ---> Running in 3948edbae041 [2021-04-07T13:48:06.176Z] Removing intermediate container 3948edbae041 [2021-04-07T13:48:06.176Z] ---> c2b6a45622f7 [2021-04-07T13:48:06.176Z] Step 15/15 : LABEL version=0.0.0 [2021-04-07T13:48:06.313Z] [ 96%] Linking C executable device-file [2021-04-07T13:48:06.440Z] ---> Running in 6418c34dcb1b [2021-04-07T13:48:06.440Z] Removing intermediate container 6418c34dcb1b [2021-04-07T13:48:06.440Z] ---> abcde15702f3 [2021-04-07T13:48:06.440Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-04-07T13:48:06.440Z] Successfully built abcde15702f3 [2021-04-07T13:48:06.440Z] Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } [2021-04-07T13:48:06.597Z] [ 96%] Built target device-file [2021-04-07T13:48:06.597Z] Scanning dependencies of target device-terminal [2021-04-07T13:48:06.597Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [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] } [2021-04-07T13:48:07.207Z] [100%] Linking C executable device-terminal [2021-04-07T13:48:07.207Z] [100%] Built target device-terminal [2021-04-07T13:48:07.207Z] + make package [2021-04-07T13:48:07.207Z] + tee -a release.log [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2021-04-07T13:48:07.479Z] [ 72%] Built target csdk [2021-04-07T13:48:07.479Z] [ 76%] Built target template [2021-04-07T13:48:07.479Z] [ 79%] Built target device-counter [2021-04-07T13:48:07.479Z] [ 83%] Built target device-random [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [2021-04-07T13:48:07.751Z] [ 86%] Built target device-gyro [2021-04-07T13:48:07.751Z] [ 89%] Built target device-bitfields [2021-04-07T13:48:07.751Z] [ 93%] Built target template-discovery [2021-04-07T13:48:07.751Z] [ 96%] Built target device-file [2021-04-07T13:48:07.751Z] [100%] Built target device-terminal [2021-04-07T13:48:07.751Z] Run CPack packaging tool... [2021-04-07T13:48:07.751Z] CPack: Create package using TGZ [2021-04-07T13:48:07.751Z] CPack: Install projects [2021-04-07T13:48:07.751Z] CPack: - Run preinstall target for: Csdk [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-07T13:48:08.349Z] CPack: - Install project: Csdk [2021-04-07T13:48:08.349Z] CPack: Create package [2021-04-07T13:48:08.623Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-04-07T13:48:08.623Z] + '[' false '=' true ] [2021-04-07T13:48:08.623Z] + '[' false '=' true ] [2021-04-07T13:48:08.623Z] + mkdir -p /tmp/sdk/build/debug [2021-04-07T13:48:08.623Z] + cd /tmp/sdk/build/debug [2021-04-07T13:48:08.623Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-04-07T13:48:08.897Z] -- The C compiler identification is GNU 8.3.0 [2021-04-07T13:48:08.897Z] -- Check for working C compiler: /usr/bin/cc [2021-04-07T13:48:09.171Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-04-07T13:48:09.171Z] -- Detecting C compiler ABI info [2021-04-07T13:48:09.442Z] -- Detecting C compiler ABI info - done [2021-04-07T13:48:09.442Z] -- Detecting C compile features [2021-04-07T13:48:10.035Z] -- Detecting C compile features - done [2021-04-07T13:48:10.035Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-04-07T13:48:10.035Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-04-07T13:48:10.035Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-04-07T13:48:10.035Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-04-07T13:48:10.307Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-04-07T13:48:10.307Z] -- C SDK 0.0.0 for Linux [2021-04-07T13:48:10.307Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-04-07T13:48:10.307Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-04-07T13:48:10.307Z] -- Found Curses: /usr/lib/libcurses.so [2021-04-07T13:48:10.578Z] -- Configuring done [2021-04-07T13:48:10.850Z] -- Generating done [2021-04-07T13:48:10.850Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-04-07T13:48:10.850Z] + make [2021-04-07T13:48:10.850Z] + tee debug.log [2021-04-07T13:48:10.850Z] Scanning dependencies of target csdk [2021-04-07T13:48:11.122Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-04-07T13:48:11.394Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-04-07T13:48:11.668Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-04-07T13:48:12.260Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-04-07T13:48:12.531Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-04-07T13:48:12.531Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-04-07T13:48:13.125Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-04-07T13:48:13.719Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-04-07T13:48:13.719Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-04-07T13:48:14.313Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-04-07T13:48:14.313Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-04-07T13:48:14.586Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-04-07T13:48:14.858Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-04-07T13:48:15.131Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-04-07T13:48:15.722Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-04-07T13:48:15.998Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-04-07T13:48:16.272Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-04-07T13:48:16.272Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-04-07T13:48:16.866Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-04-07T13:48:17.459Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-04-07T13:48:17.730Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-04-07T13:48:17.730Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-04-07T13:48:18.002Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-04-07T13:48:18.275Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-04-07T13:48:18.550Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-04-07T13:48:18.823Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-04-07T13:48:18.823Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-04-07T13:48:19.095Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-04-07T13:48:19.366Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-04-07T13:48:19.641Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-04-07T13:48:19.916Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-04-07T13:48:20.510Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-04-07T13:48:20.510Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-04-07T13:48:21.488Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-04-07T13:48:21.764Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-04-07T13:48:22.038Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-04-07T13:48:22.308Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-04-07T13:48:22.592Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-04-07T13:48:23.567Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-04-07T13:48:23.840Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-04-07T13:48:24.818Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-04-07T13:48:24.818Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-04-07T13:48:25.091Z] [ 72%] Linking C shared library libcsdk.so [2021-04-07T13:48:25.363Z] [ 72%] Built target csdk [2021-04-07T13:48:25.363Z] Scanning dependencies of target template [2021-04-07T13:48:25.363Z] [ 74%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-04-07T13:48:25.635Z] [ 76%] Linking C executable template [2021-04-07T13:48:25.907Z] [ 76%] Built target template [2021-04-07T13:48:25.907Z] Scanning dependencies of target device-counter [2021-04-07T13:48:25.907Z] [ 77%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-04-07T13:48:26.180Z] [ 79%] Linking C executable device-counter [2021-04-07T13:48:26.453Z] [ 79%] Built target device-counter [2021-04-07T13:48:26.453Z] Scanning dependencies of target device-random [2021-04-07T13:48:26.453Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-04-07T13:48:26.724Z] [ 83%] Linking C executable device-random [2021-04-07T13:48:26.997Z] [ 83%] Built target device-random [2021-04-07T13:48:26.997Z] Scanning dependencies of target device-gyro [2021-04-07T13:48:26.997Z] [ 84%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-04-07T13:48:27.301Z] [ 86%] Linking C executable device-gyro [2021-04-07T13:48:27.301Z] [ 86%] Built target device-gyro [2021-04-07T13:48:27.575Z] Scanning dependencies of target device-bitfields [2021-04-07T13:48:27.575Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-04-07T13:48:27.575Z] [ 89%] Linking C executable device-bitfields [2021-04-07T13:48:27.850Z] [ 89%] Built target device-bitfields [2021-04-07T13:48:27.850Z] Scanning dependencies of target template-discovery [2021-04-07T13:48:27.850Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-04-07T13:48:28.124Z] [ 93%] Linking C executable template-discovery [2021-04-07T13:48:28.399Z] [ 93%] Built target template-discovery [2021-04-07T13:48:28.399Z] Scanning dependencies of target device-file [2021-04-07T13:48:28.399Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-04-07T13:48:28.671Z] [ 96%] Linking C executable device-file [2021-04-07T13:48:28.942Z] [ 96%] Built target device-file [2021-04-07T13:48:28.942Z] Scanning dependencies of target device-terminal [2021-04-07T13:48:28.942Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-04-07T13:48:29.215Z] [100%] Linking C executable device-terminal [2021-04-07T13:48:29.488Z] [100%] Built target device-terminal [2021-04-07T13:48:29.488Z] make: Entering directory '/tmp/sdk/build/release' [2021-04-07T13:48:29.763Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-04-07T13:48:29.764Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-07T13:48:29.764Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-07T13:48:29.764Z] [ 72%] Built target csdk [2021-04-07T13:48:29.764Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-07T13:48:29.764Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-07T13:48:29.764Z] [ 76%] Built target template [2021-04-07T13:48:29.764Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-07T13:48:29.764Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-07T13:48:29.764Z] [ 79%] Built target device-counter [2021-04-07T13:48:29.764Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-07T13:48:29.764Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-07T13:48:29.764Z] [ 83%] Built target device-random [2021-04-07T13:48:29.764Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-07T13:48:29.764Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-07T13:48:30.035Z] [ 86%] Built target device-gyro [2021-04-07T13:48:30.035Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-07T13:48:30.035Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-07T13:48:30.035Z] [ 89%] Built target device-bitfields [2021-04-07T13:48:30.035Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-07T13:48:30.035Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-07T13:48:30.035Z] [ 93%] Built target template-discovery [2021-04-07T13:48:30.035Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-07T13:48:30.035Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-07T13:48:30.035Z] [ 96%] Built target device-file [2021-04-07T13:48:30.035Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-07T13:48:30.035Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-07T13:48:30.035Z] [100%] Built target device-terminal [2021-04-07T13:48:30.035Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-04-07T13:48:30.035Z] Install the project... [2021-04-07T13:48:30.035Z] -- Install configuration: "Release" [2021-04-07T13:48:30.035Z] -- Installing: /usr/local/lib/libcsdk.so [2021-04-07T13:48:30.035Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-04-07T13:48:30.035Z] -- Up-to-date: /usr/local/include [2021-04-07T13:48:30.035Z] -- Installing: /usr/local/include/edgex [2021-04-07T13:48:30.035Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-04-07T13:48:30.035Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-04-07T13:48:30.035Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-04-07T13:48:30.035Z] -- Installing: /usr/local/include/edgex/devices.h [2021-04-07T13:48:30.035Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-04-07T13:48:30.035Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-04-07T13:48:30.035Z] -- Installing: /usr/local/include/devsdk [2021-04-07T13:48:30.035Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-04-07T13:48:30.035Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-04-07T13:48:30.035Z] -- Installing: /usr/local/include/iot [2021-04-07T13:48:30.035Z] -- Installing: /usr/local/include/iot/json.h [2021-04-07T13:48:30.035Z] -- Installing: /usr/local/include/iot/container.h [2021-04-07T13:48:30.035Z] -- Installing: /usr/local/include/iot/component.h [2021-04-07T13:48:30.035Z] -- Installing: /usr/local/include/iot/typecode.h [2021-04-07T13:48:30.035Z] -- Installing: /usr/local/include/iot/iot.h [2021-04-07T13:48:30.035Z] -- Installing: /usr/local/include/iot/time.h [2021-04-07T13:48:30.035Z] -- Installing: /usr/local/include/iot/hash.h [2021-04-07T13:48:30.035Z] -- Installing: /usr/local/include/iot/logger.h [2021-04-07T13:48:30.035Z] -- Installing: /usr/local/include/iot/os [2021-04-07T13:48:30.035Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-04-07T13:48:30.035Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-04-07T13:48:30.035Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-04-07T13:48:30.035Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-04-07T13:48:30.035Z] -- Installing: /usr/local/include/iot/data.h [2021-04-07T13:48:30.035Z] -- Installing: /usr/local/include/iot/thread.h [2021-04-07T13:48:30.035Z] -- Installing: /usr/local/include/iot/os.h [2021-04-07T13:48:30.035Z] -- Installing: /usr/local/include/iot/base64.h [2021-04-07T13:48:30.035Z] -- Installing: /usr/local/include/iot/defs.h [2021-04-07T13:48:30.035Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-04-07T13:48:30.035Z] -- Installing: /usr/local/include/iot/config.h [2021-04-07T13:48:30.035Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-04-07T13:48:30.035Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-04-07T13:48:30.035Z] make: Leaving directory '/tmp/sdk/build/release' [2021-04-07T13:48:32.668Z] Removing intermediate container 759450a69d51 [2021-04-07T13:48:32.668Z] ---> c65b00bc4911 [2021-04-07T13:48:32.668Z] Step 14/21 : FROM ${BASE} [2021-04-07T13:48:32.668Z] ---> b23d30803547 [2021-04-07T13:48:32.668Z] Step 15/21 : LABEL maintainer="IOTech " [2021-04-07T13:48:32.668Z] ---> Running in c891b7d5c21e [2021-04-07T13:48:32.952Z] Removing intermediate container c891b7d5c21e [2021-04-07T13:48:32.952Z] ---> c66475e22f90 [2021-04-07T13:48:32.952Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2021-04-07T13:48:32.952Z] ---> Running in b9efd993fbb9 [2021-04-07T13:48:34.385Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-04-07T13:48:34.977Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-04-07T13:48:35.248Z] (1/3) Installing curl (7.64.0-r5) [2021-04-07T13:48:35.248Z] (2/3) Installing libuuid (2.33-r0) [2021-04-07T13:48:35.248Z] (3/3) Installing wget (1.20.3-r0) [2021-04-07T13:48:35.520Z] Executing busybox-1.29.3-r10.trigger [2021-04-07T13:48:35.521Z] OK: 281 MiB in 78 packages [2021-04-07T13:48:36.949Z] Removing intermediate container b9efd993fbb9 [2021-04-07T13:48:36.949Z] ---> e58021c2796d [2021-04-07T13:48:36.949Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-04-07T13:48:37.543Z] ---> 5dc8e4e7dcb5 [2021-04-07T13:48:37.543Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-04-07T13:48:38.149Z] ---> 5b28e780f020 [2021-04-07T13:48:38.149Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-04-07T13:48:38.754Z] ---> c7c45485c337 [2021-04-07T13:48:38.754Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-04-07T13:48:39.729Z] ---> f635fc70bbc8 [2021-04-07T13:48:39.729Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-04-07T13:48:40.319Z] ---> 0326ec293e75 [2021-04-07T13:48:40.319Z] Successfully built 0326ec293e75 [2021-04-07T13:48:40.319Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-07T13:48:41.246Z] + docker inspect -f . ci-base-image-arm64 [2021-04-07T13:48:41.246Z] . [Pipeline] withDockerContainer [2021-04-07T13:48:41.542Z] prd-ubuntu18.04-docker-arm64-4c-16g-33158 does not seem to be running inside a container [2021-04-07T13:48:41.690Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-07T13:48:43.345Z] $ docker top a308ad04fa391a8100bde354f85c56babd5baa01e1a4cac603866938cabb565d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-07T13:48:44.522Z] + make test [2021-04-07T13:48:44.522Z] echo "make test" [2021-04-07T13:48:44.522Z] make test [Pipeline] } [2021-04-07T13:48:44.566Z] $ docker stop --time=1 a308ad04fa391a8100bde354f85c56babd5baa01e1a4cac603866938cabb565d [2021-04-07T13:48:46.444Z] $ docker rm -f a308ad04fa391a8100bde354f85c56babd5baa01e1a4cac603866938cabb565d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-07T13:48:47.766Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-07T13:48:48.117Z] + ls -al . [2021-04-07T13:48:48.117Z] total 192 [2021-04-07T13:48:48.117Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 13:46 . [2021-04-07T13:48:48.117Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 13:46 .. [2021-04-07T13:48:48.117Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 13:46 .git [2021-04-07T13:48:48.117Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 13:46 .github [2021-04-07T13:48:48.117Z] -rw-rw-r-- 1 jenkins jenkins 176 Apr 7 13:46 .gitignore [2021-04-07T13:48:48.117Z] -rw-rw-r-- 1 jenkins jenkins 3104 Apr 7 13:46 Attribution.txt [2021-04-07T13:48:48.117Z] -rw-rw-r-- 1 jenkins jenkins 6927 Apr 7 13:46 CHANGES [2021-04-07T13:48:48.117Z] -rw-rw-r-- 1 jenkins jenkins 108574 Apr 7 13:46 Doxyfile [2021-04-07T13:48:48.117Z] -rw-rw-r-- 1 jenkins jenkins 784 Apr 7 13:46 Jenkinsfile [2021-04-07T13:48:48.117Z] -rw-rw-r-- 1 jenkins jenkins 10174 Apr 7 13:46 LICENSE [2021-04-07T13:48:48.117Z] -rw-rw-r-- 1 jenkins jenkins 444 Apr 7 13:46 Makefile [2021-04-07T13:48:48.117Z] -rw-rw-r-- 1 jenkins jenkins 2697 Apr 7 13:46 README.md [2021-04-07T13:48:48.117Z] -rw-rw-r-- 1 jenkins jenkins 6654 Apr 7 13:46 README.v2.md [2021-04-07T13:48:48.117Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 13:43 VERSION [2021-04-07T13:48:48.117Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 13:46 docs [2021-04-07T13:48:48.117Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 13:46 include [2021-04-07T13:48:48.117Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 13:46 scripts [2021-04-07T13:48:48.117Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 13:46 src [Pipeline] isUnix [Pipeline] sh [2021-04-07T13:48:48.489Z] + docker build -t docker-device-sdk-c-arm64 -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=0fcf46ac52fab5bfaa4db26eb743f5b517ddb0ef --label arch=arm64 --label version=0.0.0 . [2021-04-07T13:48:48.759Z] Sending build context to Docker daemon 2.35MB [2021-04-07T13:48:48.759Z] Step 1/15 : ARG BASE=alpine:3.12 [2021-04-07T13:48:48.759Z] Step 2/15 : FROM ${BASE} [2021-04-07T13:48:48.759Z] ---> 0326ec293e75 [2021-04-07T13:48:48.759Z] Step 3/15 : LABEL maintainer="IOTech " [2021-04-07T13:48:49.030Z] ---> Running in 28f492f070c5 [2021-04-07T13:48:49.622Z] Removing intermediate container 28f492f070c5 [2021-04-07T13:48:49.623Z] ---> 2d98a2b23eb8 [2021-04-07T13:48:49.623Z] 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 [2021-04-07T13:48:49.623Z] ---> Running in ee58d7426173 [2021-04-07T13:48:50.597Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-04-07T13:48:51.565Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-04-07T13:48:51.834Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-04-07T13:48:51.834Z] (2/6) Installing libblkid (2.33-r0) [2021-04-07T13:48:51.834Z] (3/6) Installing libfdisk (2.33-r0) [2021-04-07T13:48:52.104Z] (4/6) Installing libmount (2.33-r0) [2021-04-07T13:48:52.104Z] (5/6) Installing libsmartcols (2.33-r0) [2021-04-07T13:48:52.104Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-04-07T13:48:52.375Z] Executing busybox-1.29.3-r10.trigger [2021-04-07T13:48:52.645Z] OK: 286 MiB in 84 packages [2021-04-07T13:48:54.075Z] Removing intermediate container ee58d7426173 [2021-04-07T13:48:54.075Z] ---> 7bec03eeba57 [2021-04-07T13:48:54.075Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2021-04-07T13:48:54.663Z] ---> 45d3eff2cbc7 [2021-04-07T13:48:54.663Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2021-04-07T13:48:55.255Z] ---> 62dc2ca10cfb [2021-04-07T13:48:55.255Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2021-04-07T13:48:55.845Z] ---> 18eea3fc1fae [2021-04-07T13:48:55.845Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2021-04-07T13:48:56.823Z] ---> edb793fbed55 [2021-04-07T13:48:56.823Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2021-04-07T13:48:57.421Z] ---> c903a8dcdb77 [2021-04-07T13:48:57.421Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2021-04-07T13:48:58.015Z] ---> 42e10bd869c0 [2021-04-07T13:48:58.015Z] Step 11/15 : WORKDIR /edgex-c-sdk [2021-04-07T13:48:58.015Z] ---> Running in ede8e402fff3 [2021-04-07T13:48:58.610Z] Removing intermediate container ede8e402fff3 [2021-04-07T13:48:58.610Z] ---> b4557ae6002e [2021-04-07T13:48:58.610Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-04-07T13:48:58.884Z] ---> Running in ed3c1bfc2bbb [2021-04-07T13:48:59.157Z] Removing intermediate container ed3c1bfc2bbb [2021-04-07T13:48:59.157Z] ---> 9f7cad2b20c1 [2021-04-07T13:48:59.157Z] Step 13/15 : LABEL arch=arm64 [2021-04-07T13:48:59.428Z] ---> Running in 50ce046a466a [2021-04-07T13:48:59.700Z] Removing intermediate container 50ce046a466a [2021-04-07T13:48:59.700Z] ---> 8b2376de737f [2021-04-07T13:48:59.700Z] Step 14/15 : LABEL git_sha=0fcf46ac52fab5bfaa4db26eb743f5b517ddb0ef [2021-04-07T13:48:59.973Z] ---> Running in 9579e84450f4 [2021-04-07T13:49:00.249Z] Removing intermediate container 9579e84450f4 [2021-04-07T13:49:00.249Z] ---> b2b09eb7cbcc [2021-04-07T13:49:00.249Z] Step 15/15 : LABEL version=0.0.0 [2021-04-07T13:49:00.522Z] ---> Running in 3045a74e32a0 [2021-04-07T13:49:01.119Z] Removing intermediate container 3045a74e32a0 [2021-04-07T13:49:01.119Z] ---> 34e3849a0af1 [2021-04-07T13:49:01.119Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-04-07T13:49:01.119Z] Successfully built 34e3849a0af1 [2021-04-07T13:49:01.119Z] 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] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [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 [2021-04-07T13:49:04.681Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T13:49:05.289Z] ---> package-listing.sh [2021-04-07T13:49:05.289Z] ++ facter osfamily [2021-04-07T13:49:05.289Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-07T13:49:05.289Z] + OS_FAMILY=redhat [2021-04-07T13:49:05.289Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-340 [2021-04-07T13:49:05.289Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-07T13:49:05.289Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-07T13:49:05.289Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-07T13:49:05.289Z] + PACKAGES=/tmp/packages_start.txt [2021-04-07T13:49:05.289Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-340 ']' [2021-04-07T13:49:05.289Z] + PACKAGES=/tmp/packages_end.txt [2021-04-07T13:49:05.289Z] + case "${OS_FAMILY}" in [2021-04-07T13:49:05.289Z] + rpm -qa [2021-04-07T13:49:05.289Z] + sort [2021-04-07T13:49:10.613Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-07T13:49:10.614Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-07T13:49:10.614Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-07T13:49:10.614Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-340 ']' [2021-04-07T13:49:10.614Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-340/archives/ [2021-04-07T13:49:10.614Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-340/archives/ [Pipeline] echo [2021-04-07T13:49:10.646Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-340/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-07T13:49:10.957Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-07T13:49:11.301Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-07T13:49:11.301Z] [2021-04-07T13:49:11.301Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-07T13:49:11.722Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-07T13:49:11.722Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-07T13:49:11.722Z] df20fa9351a1: Pulling fs layer [2021-04-07T13:49:11.722Z] 36b3adc4ff6f: Pulling fs layer [2021-04-07T13:49:11.722Z] 8ad3a11d3b57: Pulling fs layer [2021-04-07T13:49:11.722Z] 46f8f816bc3b: Pulling fs layer [2021-04-07T13:49:11.722Z] 93b61091891f: Pulling fs layer [2021-04-07T13:49:11.722Z] 93b9cdb0e59b: Pulling fs layer [2021-04-07T13:49:11.722Z] 5e14af77c1be: Pulling fs layer [2021-04-07T13:49:11.722Z] 01666e4c0597: Pulling fs layer [2021-04-07T13:49:11.722Z] aa168da1d23b: Pulling fs layer [2021-04-07T13:49:11.722Z] 93b9cdb0e59b: Waiting [2021-04-07T13:49:11.722Z] 5e14af77c1be: Waiting [2021-04-07T13:49:11.722Z] 01666e4c0597: Waiting [2021-04-07T13:49:11.722Z] 46f8f816bc3b: Waiting [2021-04-07T13:49:11.722Z] 93b61091891f: Waiting [2021-04-07T13:49:11.722Z] aa168da1d23b: Waiting [2021-04-07T13:49:11.722Z] 36b3adc4ff6f: Verifying Checksum [2021-04-07T13:49:11.722Z] 36b3adc4ff6f: Download complete [2021-04-07T13:49:11.994Z] 46f8f816bc3b: Verifying Checksum [2021-04-07T13:49:11.994Z] 46f8f816bc3b: Download complete [2021-04-07T13:49:11.994Z] df20fa9351a1: Verifying Checksum [2021-04-07T13:49:11.994Z] df20fa9351a1: Download complete [2021-04-07T13:49:11.994Z] 93b9cdb0e59b: Verifying Checksum [2021-04-07T13:49:11.994Z] 93b9cdb0e59b: Download complete [2021-04-07T13:49:11.994Z] 93b61091891f: Verifying Checksum [2021-04-07T13:49:11.994Z] 93b61091891f: Download complete [2021-04-07T13:49:11.994Z] 5e14af77c1be: Verifying Checksum [2021-04-07T13:49:11.994Z] 5e14af77c1be: Download complete [2021-04-07T13:49:11.994Z] 01666e4c0597: Verifying Checksum [2021-04-07T13:49:11.994Z] 01666e4c0597: Download complete [2021-04-07T13:49:11.994Z] 8ad3a11d3b57: Verifying Checksum [2021-04-07T13:49:11.994Z] 8ad3a11d3b57: Download complete [2021-04-07T13:49:12.577Z] df20fa9351a1: Pull complete [2021-04-07T13:49:12.577Z] 36b3adc4ff6f: Pull complete [2021-04-07T13:49:13.563Z] 8ad3a11d3b57: Pull complete [2021-04-07T13:49:13.837Z] 46f8f816bc3b: Pull complete [2021-04-07T13:49:14.826Z] 93b61091891f: Pull complete [2021-04-07T13:49:14.826Z] aa168da1d23b: Verifying Checksum [2021-04-07T13:49:14.826Z] aa168da1d23b: Download complete [2021-04-07T13:49:15.090Z] 93b9cdb0e59b: Pull complete [2021-04-07T13:49:15.090Z] 5e14af77c1be: Pull complete [2021-04-07T13:49:15.365Z] 01666e4c0597: Pull complete [2021-04-07T13:49:23.569Z] aa168da1d23b: Pull complete [2021-04-07T13:49:23.569Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-07T13:49:23.569Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-07T13:49:23.569Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-07T13:49:23.821Z] prd-centos7-docker-4c-2g-33157 does not seem to be running inside a container [2021-04-07T13:49:23.871Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-340/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-340 -v /w/workspace/edgexfoundry_device-sdk-c_PR-340:/w/workspace/edgexfoundry_device-sdk-c_PR-340:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-340@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-340@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-07T13:49:27.739Z] $ docker top 185beec61b7ff2c7204adcd0c33ba7c27d6e60e2b2e6c5cbf720791e1459b4f0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-07T13:49:28.329Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-07T13:49:28.649Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-07T13:49:28.977Z] + ls /var/log/sa-host [2021-04-07T13:49:28.977Z] + sadf -c /var/log/sa-host/sa07 [2021-04-07T13:49:28.977Z] file_magic: OK [2021-04-07T13:49:28.977Z] HZ: Using current value: 100 [2021-04-07T13:49:28.977Z] file_header: OK [2021-04-07T13:49:28.977Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-04-07T13:49:28.977Z] Statistics: [2021-04-07T13:49:28.977Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-07T13:49:28.977Z] File successfully converted to sysstat format version 12.2.1 [2021-04-07T13:49:28.977Z] + sadf -c /var/log/sa-host/sa23 [2021-04-07T13:49:28.977Z] file_magic: OK [2021-04-07T13:49:28.978Z] HZ: Using current value: 100 [2021-04-07T13:49:28.978Z] file_header: OK [2021-04-07T13:49:28.978Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-04-07T13:49:28.978Z] Statistics: [2021-04-07T13:49:28.978Z] Hnuu...uuuununununu... [2021-04-07T13:49:28.978Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-07T13:49:29.617Z] provisioning config files... [2021-04-07T13:49:29.632Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-340@tmp/config4797377171224606437tmp [Pipeline] { [Pipeline] echo [2021-04-07T13:49:29.752Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T13:49:30.088Z] ---> create-netrc.sh [Pipeline] } [2021-04-07T13:49:30.109Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-07T13:49:30.269Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T13:49:30.600Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-07T13:49:30.629Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T13:49:30.965Z] ---> sudo-logs.sh [2021-04-07T13:49:30.965Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-07T13:49:31.086Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T13:49:31.427Z] ---> job-cost.sh [2021-04-07T13:49:31.427Z] lf-activate-venv: SKIPPING [2021-04-07T13:49:31.427Z] INFO: No Stack... [2021-04-07T13:49:32.376Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-07T13:49:32.951Z] INFO: Archiving Costs [Pipeline] echo [2021-04-07T13:49:32.984Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T13:49:33.313Z] ---> logs-deploy.sh [2021-04-07T13:49:33.313Z] lf-activate-venv: SKIPPING [2021-04-07T13:49:33.313Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-340/1 [2021-04-07T13:49:33.313Z] INFO: archiving workspace using pattern(s): [2021-04-07T13:49:35.237Z] Archives upload complete. [2021-04-07T13:49:35.237Z] INFO: archiving logs to Nexus