Pull request #324 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 c6a9da567f257928d81b6c3cd1c2cb1e0ea900d5+eab06a1b74e5c881604e869fbb017afdf966c381 (2f02a8a41ef501664dfbdb398f1ab2f0a8b49a0e) 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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-324/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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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-324/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 69a7e166112f335804d9fea76440e5140e47f034 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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-27162 in /w/workspace/edgexfoundry_device-sdk-c_PR-324 [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-324 # 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 Merging remotes/origin/master commit eab06a1b74e5c881604e869fbb017afdf966c381 into PR head commit c6a9da567f257928d81b6c3cd1c2cb1e0ea900d5 Merge succeeded, producing c6a9da567f257928d81b6c3cd1c2cb1e0ea900d5 Checking out Revision c6a9da567f257928d81b6c3cd1c2cb1e0ea900d5 (PR-324) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/324/head:refs/remotes/origin/PR-324 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c6a9da567f257928d81b6c3cd1c2cb1e0ea900d5 # 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 eab06a1b74e5c881604e869fbb017afdf966c381 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c6a9da567f257928d81b6c3cd1c2cb1e0ea900d5 # timeout=10 Commit message: "feat: Use v2 REST API, remove v1 implementations" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-22T14:55:27.481Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-22T14:55:27.830Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-22T14:55:28.042Z] ========================================================= [2021-02-22T14:55:28.042Z] EdgeX Global Pipelines Version Info [2021-02-22T14:55:28.042Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-22T14:55:29.606Z] ------------------- [2021-02-22T14:55:29.606Z] stable info: [2021-02-22T14:55:29.606Z] ------------------- [2021-02-22T14:55:29.606Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-22T14:55:29.606Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-22T14:55:29.606Z] Message: update stable to v1.0.179 [2021-02-22T14:55:30.559Z] ------------------- [2021-02-22T14:55:30.559Z] experimental info: [2021-02-22T14:55:30.559Z] ------------------- [2021-02-22T14:55:30.559Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-22T14:55:30.559Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-22T14:55:30.559Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-22T14:55:30.935Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-02-22T14:55:31.131Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-02-22T14:55:31.296Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-22T14:55:31.479Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-22T14:55:31.608Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-22T14:55:31.737Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-02-22T14:55:31.875Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-02-22T14:55:32.024Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-02-22T14:55:32.154Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-22T14:55:32.332Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-c [Pipeline] echo [2021-02-22T14:55:32.452Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-22T14:55:32.574Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-22T14:55:32.691Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-22T14:55:32.820Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-22T14:55:32.960Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-22T14:55:33.082Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-22T14:55:33.211Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-22T14:55:33.347Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-22T14:55:33.469Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-324 [Pipeline] echo [2021-02-22T14:55:33.596Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-324 [Pipeline] echo [2021-02-22T14:55:33.723Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-324 [Pipeline] echo [2021-02-22T14:55:33.862Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c6a9da567f257928d81b6c3cd1c2cb1e0ea900d5 [Pipeline] echo [2021-02-22T14:55:34.004Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c6a9da5 [Pipeline] echo [2021-02-22T14:55:34.124Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-22T14:55:34.371Z] provisioning config files... [2021-02-22T14:55:34.400Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-324@tmp/config2143885400046771038tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-22T14:55:34.839Z] ---> docker-login.sh [2021-02-22T14:55:34.839Z] nexus3.edgexfoundry.org:10001 [2021-02-22T14:55:35.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T14:55:35.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T14:55:35.101Z] Configure a credential helper to remove this warning. See [2021-02-22T14:55:35.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T14:55:35.101Z] [2021-02-22T14:55:35.101Z] Login Succeeded [2021-02-22T14:55:35.101Z] nexus3.edgexfoundry.org:10002 [2021-02-22T14:55:35.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T14:55:35.363Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T14:55:35.363Z] Configure a credential helper to remove this warning. See [2021-02-22T14:55:35.363Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T14:55:35.363Z] [2021-02-22T14:55:35.363Z] Login Succeeded [2021-02-22T14:55:35.363Z] nexus3.edgexfoundry.org:10003 [2021-02-22T14:55:35.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T14:55:35.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T14:55:35.623Z] Configure a credential helper to remove this warning. See [2021-02-22T14:55:35.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T14:55:35.623Z] [2021-02-22T14:55:35.623Z] Login Succeeded [2021-02-22T14:55:35.623Z] nexus3.edgexfoundry.org:10004 [2021-02-22T14:55:35.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T14:55:35.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T14:55:35.623Z] Configure a credential helper to remove this warning. See [2021-02-22T14:55:35.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T14:55:35.623Z] [2021-02-22T14:55:35.623Z] Login Succeeded [2021-02-22T14:55:35.623Z] docker.io [2021-02-22T14:55:35.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T14:55:36.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T14:55:36.146Z] Configure a credential helper to remove this warning. See [2021-02-22T14:55:36.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T14:55:36.146Z] [2021-02-22T14:55:36.146Z] Login Succeeded [2021-02-22T14:55:36.146Z] ---> docker-login.sh ends [Pipeline] } [2021-02-22T14:55:36.173Z] 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-02-22T14:55:38.290Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-22T14:55:38.290Z] [2021-02-22T14:55:38.290Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-22T14:55:38.692Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-22T14:55:38.693Z] latest: Pulling from edgex-devops/git-semver [2021-02-22T14:55:38.693Z] 31603596830f: Pulling fs layer [2021-02-22T14:55:38.693Z] 2a8b12db71e7: Pulling fs layer [2021-02-22T14:55:38.693Z] 6ca5941a6612: Pulling fs layer [2021-02-22T14:55:38.693Z] ecc8261a40a4: Pulling fs layer [2021-02-22T14:55:38.693Z] ecc8261a40a4: Waiting [2021-02-22T14:55:38.693Z] 2a8b12db71e7: Verifying Checksum [2021-02-22T14:55:38.693Z] 2a8b12db71e7: Download complete [2021-02-22T14:55:38.693Z] 31603596830f: Verifying Checksum [2021-02-22T14:55:38.693Z] 31603596830f: Download complete [2021-02-22T14:55:38.956Z] 6ca5941a6612: Verifying Checksum [2021-02-22T14:55:38.956Z] 6ca5941a6612: Download complete [2021-02-22T14:55:38.956Z] ecc8261a40a4: Verifying Checksum [2021-02-22T14:55:38.956Z] ecc8261a40a4: Download complete [2021-02-22T14:55:39.217Z] 31603596830f: Pull complete [2021-02-22T14:55:39.217Z] 2a8b12db71e7: Pull complete [2021-02-22T14:55:39.793Z] 6ca5941a6612: Pull complete [2021-02-22T14:55:40.371Z] ecc8261a40a4: Pull complete [2021-02-22T14:55:40.371Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-22T14:55:40.371Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-22T14:55:40.371Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-22T14:55:40.501Z] prd-centos7-docker-4c-2g-27162 does not seem to be running inside a container [2021-02-22T14:55:40.547Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-324 -v /w/workspace/edgexfoundry_device-sdk-c_PR-324:/w/workspace/edgexfoundry_device-sdk-c_PR-324:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-324@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-324@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-02-22T14:55:42.549Z] $ docker top b392db8a2bf77dc264a52cd8b89e7041f1045d412302a545b3b436bf9af484f9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-22T14:55:42.914Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-22T14:55:42.914Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-22T14:55:43.091Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-22T14:55:43.096Z] $ docker exec b392db8a2bf77dc264a52cd8b89e7041f1045d412302a545b3b436bf9af484f9 ssh-agent [2021-02-22T14:55:43.246Z] SSH_AUTH_SOCK=/tmp/ssh-E7k2mMIrJ0l1/agent.11 [2021-02-22T14:55:43.247Z] SSH_AGENT_PID=16 [2021-02-22T14:55:43.255Z] Running ssh-add (command line suppressed) [2021-02-22T14:55:43.368Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-324@tmp/private_key_5337334355753234421.key (/w/workspace/edgexfoundry_device-sdk-c_PR-324@tmp/private_key_5337334355753234421.key) [2021-02-22T14:55:43.413Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-22T14:55:43.782Z] + git tag --points-at HEAD [Pipeline] } [2021-02-22T14:55:44.002Z] $ docker exec --env ******** --env ******** b392db8a2bf77dc264a52cd8b89e7041f1045d412302a545b3b436bf9af484f9 ssh-agent -k [2021-02-22T14:55:44.114Z] unset SSH_AUTH_SOCK; [2021-02-22T14:55:44.114Z] unset SSH_AGENT_PID; [2021-02-22T14:55:44.114Z] echo Agent pid 16 killed; [2021-02-22T14:55:44.159Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-22T14:55:44.363Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-22T14:55:44.363Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-22T14:55:44.516Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-22T14:55:44.522Z] $ docker exec b392db8a2bf77dc264a52cd8b89e7041f1045d412302a545b3b436bf9af484f9 ssh-agent [2021-02-22T14:55:44.668Z] SSH_AUTH_SOCK=/tmp/ssh-A2HEvWrYJg9i/agent.46 [2021-02-22T14:55:44.668Z] SSH_AGENT_PID=51 [2021-02-22T14:55:44.675Z] Running ssh-add (command line suppressed) [2021-02-22T14:55:44.797Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-324@tmp/private_key_2105906811417194415.key (/w/workspace/edgexfoundry_device-sdk-c_PR-324@tmp/private_key_2105906811417194415.key) [2021-02-22T14:55:44.842Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-22T14:55:45.233Z] + git semver init [2021-02-22T14:55:45.234Z] # -> Open(): unable to determine branch for HEAD [2021-02-22T14:55:45.234Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-324/.git [2021-02-22T14:55:45.234Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-324 [2021-02-22T14:55:45.234Z] # $SEMVER_REMOTE_NAME = origin [2021-02-22T14:55:45.234Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-22T14:55:45.234Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-22T14:55:45.234Z] # $SEMVER_BRANCH = PR-324 [2021-02-22T14:55:45.234Z] # $SEMVER_TEMP = /tmp/semver-730922212 [2021-02-22T14:55:45.234Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-02-22T14:55:45.807Z] # '/tmp/semver-730922212' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-324/.semver' [2021-02-22T14:55:45.807Z] # -> Force: false [2021-02-22T14:55:45.807Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-324/.semver [Pipeline] } [2021-02-22T14:55:45.830Z] $ docker exec --env ******** --env ******** b392db8a2bf77dc264a52cd8b89e7041f1045d412302a545b3b436bf9af484f9 ssh-agent -k [2021-02-22T14:55:45.937Z] unset SSH_AUTH_SOCK; [2021-02-22T14:55:45.937Z] unset SSH_AGENT_PID; [2021-02-22T14:55:45.937Z] echo Agent pid 51 killed; [2021-02-22T14:55:45.977Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-22T14:55:46.518Z] + git semver [Pipeline] } [2021-02-22T14:55:46.559Z] $ docker stop --time=1 b392db8a2bf77dc264a52cd8b89e7041f1045d412302a545b3b436bf9af484f9 [2021-02-22T14:55:47.947Z] $ docker rm -f b392db8a2bf77dc264a52cd8b89e7041f1045d412302a545b3b436bf9af484f9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-22T14:55:48.451Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-22T14:55:48.843Z] Stashed 1 file(s) [Pipeline] echo [2021-02-22T14:55:48.866Z] [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-02-22T14:56:04.503Z] Still waiting to schedule task [2021-02-22T14:56:04.504Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-27162’ [2021-02-22T14:56:04.535Z] Still waiting to schedule task [2021-02-22T14:56:04.535Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ is offline [2021-02-22T14:58:05.955Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-27163 in /w/workspace/edgexfoundry_device-sdk-c_PR-324 [Pipeline] { [Pipeline] ws [2021-02-22T14:58:06.091Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2021-02-22T14:58:11.649Z] using credential edgex-jenkins-ssh [2021-02-22T14:58:11.728Z] Cloning the remote Git repository [2021-02-22T14:58:11.789Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-02-22T14:58:11.907Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2021-02-22T14:58:11.980Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-02-22T14:58:11.981Z] > git --version # timeout=10 [2021-02-22T14:58:12.004Z] > git --version # 'git version 2.17.1' [2021-02-22T14:58:12.006Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-22T14:58:12.088Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-22T14:58:13.875Z] Merging remotes/origin/master commit eab06a1b74e5c881604e869fbb017afdf966c381 into PR head commit c6a9da567f257928d81b6c3cd1c2cb1e0ea900d5 [2021-02-22T14:58:13.185Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-02-22T14:58:13.205Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-22T14:58:13.235Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-02-22T14:58:13.266Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-02-22T14:58:13.267Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-22T14:58:13.279Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/324/head:refs/remotes/origin/PR-324 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-22T14:58:13.898Z] > git config core.sparsecheckout # timeout=10 [2021-02-22T14:58:13.916Z] > git checkout -f c6a9da567f257928d81b6c3cd1c2cb1e0ea900d5 # timeout=10 [2021-02-22T14:58:14.269Z] Merge succeeded, producing c6a9da567f257928d81b6c3cd1c2cb1e0ea900d5 [2021-02-22T14:58:14.270Z] Checking out Revision c6a9da567f257928d81b6c3cd1c2cb1e0ea900d5 (PR-324) [2021-02-22T14:58:14.081Z] > git remote # timeout=10 [2021-02-22T14:58:14.142Z] > git config --get remote.origin.url # timeout=10 [2021-02-22T14:58:14.181Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-22T14:58:14.196Z] > git merge eab06a1b74e5c881604e869fbb017afdf966c381 # timeout=10 [2021-02-22T14:58:14.233Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-22T14:58:14.281Z] > git config core.sparsecheckout # timeout=10 [2021-02-22T14:58:14.319Z] > git checkout -f c6a9da567f257928d81b6c3cd1c2cb1e0ea900d5 # timeout=10 [2021-02-22T14:58:18.608Z] Commit message: "feat: Use v2 REST API, remove v1 implementations" [2021-02-22T14:58:18.684Z] > git --version # timeout=10 [2021-02-22T14:58:18.694Z] > git --version # 'git version 2.17.1' [2021-02-22T14:58:18.703Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-22T14:58:20.624Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-22T14:58:21.037Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-22T14:58:21.392Z] + true [2021-02-22T14:58:21.392Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-22T14:58:24.151Z] provisioning config files... [2021-02-22T14:58:24.198Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config7385806331693391125tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-22T14:58:24.654Z] ---> docker-login.sh [2021-02-22T14:58:24.654Z] nexus3.edgexfoundry.org:10001 [2021-02-22T14:58:25.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T14:58:25.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T14:58:25.915Z] Configure a credential helper to remove this warning. See [2021-02-22T14:58:25.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T14:58:25.915Z] [2021-02-22T14:58:25.915Z] Login Succeeded [2021-02-22T14:58:25.915Z] nexus3.edgexfoundry.org:10002 [2021-02-22T14:58:26.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T14:58:26.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T14:58:26.513Z] Configure a credential helper to remove this warning. See [2021-02-22T14:58:26.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T14:58:26.513Z] [2021-02-22T14:58:26.513Z] Login Succeeded [2021-02-22T14:58:26.513Z] nexus3.edgexfoundry.org:10003 [2021-02-22T14:58:26.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T14:58:27.065Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T14:58:27.065Z] Configure a credential helper to remove this warning. See [2021-02-22T14:58:27.065Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T14:58:27.065Z] [2021-02-22T14:58:27.065Z] Login Succeeded [2021-02-22T14:58:27.065Z] nexus3.edgexfoundry.org:10004 [2021-02-22T14:58:27.341Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T14:58:27.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T14:58:27.616Z] Configure a credential helper to remove this warning. See [2021-02-22T14:58:27.616Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T14:58:27.616Z] [2021-02-22T14:58:27.616Z] Login Succeeded [2021-02-22T14:58:27.616Z] docker.io [2021-02-22T14:58:28.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T14:58:28.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T14:58:28.488Z] Configure a credential helper to remove this warning. See [2021-02-22T14:58:28.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T14:58:28.488Z] [2021-02-22T14:58:28.488Z] Login Succeeded [2021-02-22T14:58:28.488Z] ---> docker-login.sh ends [Pipeline] } [2021-02-22T14:58:28.521Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-22T14:58:29.126Z] ========================================================= [2021-02-22T14:58:29.127Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-02-22T14:58:29.127Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-22T14:58:29.543Z] + 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-02-22T14:58:30.162Z] Sending build context to Docker daemon 2.55MB [2021-02-22T14:58:30.162Z] Step 1/21 : ARG BASE=alpine:3.12 [2021-02-22T14:58:30.162Z] Step 2/21 : FROM ${BASE} as builder [2021-02-22T14:58:30.162Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-02-22T14:58:30.162Z] 0362ad1dd800: Pulling fs layer [2021-02-22T14:58:30.162Z] f2cdb1532d8b: Pulling fs layer [2021-02-22T14:58:30.162Z] 37ed683be191: Pulling fs layer [2021-02-22T14:58:30.162Z] f2cdb1532d8b: Verifying Checksum [2021-02-22T14:58:30.162Z] f2cdb1532d8b: Download complete [2021-02-22T14:58:30.455Z] 0362ad1dd800: Verifying Checksum [2021-02-22T14:58:30.455Z] 0362ad1dd800: Download complete [2021-02-22T14:58:31.080Z] 0362ad1dd800: Pull complete [2021-02-22T14:58:31.360Z] f2cdb1532d8b: Pull complete [2021-02-22T14:58:32.797Z] 37ed683be191: Verifying Checksum [2021-02-22T14:58:32.797Z] 37ed683be191: Download complete [2021-02-22T14:58:40.301Z] Running on prd-centos7-docker-4c-2g-27164 in /w/workspace/edgexfoundry_device-sdk-c_PR-324 [Pipeline] { [Pipeline] ws [2021-02-22T14:58:40.430Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2021-02-22T14:58:43.019Z] 37ed683be191: Pull complete [2021-02-22T14:58:43.019Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2021-02-22T14:58:43.019Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-02-22T14:58:43.019Z] ---> b23d30803547 [2021-02-22T14:58:43.019Z] 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-02-22T14:58:43.019Z] ---> Running in 735a477f02c7 [2021-02-22T14:58:43.254Z] using credential edgex-jenkins-ssh [2021-02-22T14:58:43.343Z] Cloning the remote Git repository [2021-02-22T14:58:42.978Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-02-22T14:58:43.055Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2021-02-22T14:58:43.122Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-02-22T14:58:43.122Z] > git --version # timeout=10 [2021-02-22T14:58:43.132Z] > git --version # 'git version 2.24.3' [2021-02-22T14:58:43.132Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-22T14:58:43.165Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-22T14:58:44.452Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-02-22T14:58:44.848Z] Merging remotes/origin/master commit eab06a1b74e5c881604e869fbb017afdf966c381 into PR head commit c6a9da567f257928d81b6c3cd1c2cb1e0ea900d5 [2021-02-22T14:58:44.941Z] Merge succeeded, producing c6a9da567f257928d81b6c3cd1c2cb1e0ea900d5 [2021-02-22T14:58:44.941Z] Checking out Revision c6a9da567f257928d81b6c3cd1c2cb1e0ea900d5 (PR-324) [2021-02-22T14:58:44.013Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-02-22T14:58:44.019Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-22T14:58:44.031Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-02-22T14:58:44.045Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-02-22T14:58:44.045Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-22T14:58:44.050Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/324/head:refs/remotes/origin/PR-324 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-22T14:58:44.591Z] > git config core.sparsecheckout # timeout=10 [2021-02-22T14:58:44.597Z] > git checkout -f c6a9da567f257928d81b6c3cd1c2cb1e0ea900d5 # timeout=10 [2021-02-22T14:58:44.650Z] > git remote # timeout=10 [2021-02-22T14:58:44.656Z] > git config --get remote.origin.url # timeout=10 [2021-02-22T14:58:44.662Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-22T14:58:44.665Z] > git merge eab06a1b74e5c881604e869fbb017afdf966c381 # timeout=10 [2021-02-22T14:58:44.676Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-22T14:58:44.686Z] > git config core.sparsecheckout # timeout=10 [2021-02-22T14:58:44.690Z] > git checkout -f c6a9da567f257928d81b6c3cd1c2cb1e0ea900d5 # timeout=10 [2021-02-22T14:58:45.047Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-02-22T14:58:45.642Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2021-02-22T14:58:45.913Z] (2/8) Installing libuuid (2.33-r0) [2021-02-22T14:58:45.914Z] (3/8) Installing libblkid (2.33-r0) [2021-02-22T14:58:45.914Z] (4/8) Installing libfdisk (2.33-r0) [2021-02-22T14:58:46.185Z] (5/8) Installing libmount (2.33-r0) [2021-02-22T14:58:46.185Z] (6/8) Installing libsmartcols (2.33-r0) [2021-02-22T14:58:46.460Z] (7/8) Installing util-linux-dev (2.33-r0) [2021-02-22T14:58:46.733Z] (8/8) Installing wget (1.20.3-r0) [2021-02-22T14:58:47.009Z] Executing busybox-1.29.3-r10.trigger [2021-02-22T14:58:47.009Z] OK: 285 MiB in 83 packages [2021-02-22T14:58:48.331Z] Commit message: "feat: Use v2 REST API, remove v1 implementations" [2021-02-22T14:58:48.360Z] > git --version # timeout=10 [2021-02-22T14:58:48.364Z] > git --version # 'git version 2.24.3' [2021-02-22T14:58:48.372Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-22T14:58:48.446Z] Removing intermediate container 735a477f02c7 [2021-02-22T14:58:48.446Z] ---> f643fadf3232 [2021-02-22T14:58:48.446Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2021-02-22T14:58:48.446Z] ---> Running in e847770d13d2 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [2021-02-22T14:58:49.042Z] Removing intermediate container e847770d13d2 [2021-02-22T14:58:49.042Z] ---> 760100077131 [2021-02-22T14:58:49.042Z] 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-02-22T14:58:49.042Z] ---> Running in 9a1536566629 [Pipeline] { [Pipeline] sh [2021-02-22T14:58:49.726Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-22T14:58:50.035Z] --2021-02-22 14:58:49-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-02-22T14:58:50.035Z] Resolving github.com... 140.82.112.4 [2021-02-22T14:58:50.035Z] Connecting to github.com|140.82.112.4|:443... connected. [2021-02-22T14:58:50.069Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-22T14:58:50.305Z] HTTP request sent, awaiting response... 302 Found [2021-02-22T14:58:50.305Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-02-22T14:58:50.305Z] --2021-02-22 14:58:50-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-02-22T14:58:50.305Z] Resolving codeload.github.com... 140.82.114.9 [2021-02-22T14:58:50.305Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-02-22T14:58:50.384Z] + sudo service docker restart [2021-02-22T14:58:50.384Z] + true [2021-02-22T14:58:50.384Z] Redirecting to /bin/systemctl restart docker.service [2021-02-22T14:58:50.582Z] HTTP request sent, awaiting response... 200 OK [2021-02-22T14:58:50.582Z] Length: unspecified [application/x-gzip] [2021-02-22T14:58:50.582Z] Saving to: 'STDOUT' [2021-02-22T14:58:50.582Z] [2021-02-22T14:58:50.582Z] 0K .......... .......... .......... .......... .......... 1.31M [2021-02-22T14:58:50.582Z] 50K .......... .......... .......... .......... .......... 2.53M [2021-02-22T14:58:50.582Z] 100K .......... .......... .......... .......... .......... 13.3M [2021-02-22T14:58:50.582Z] 150K .......... .......... .......... .......... .......... 2.97M [2021-02-22T14:58:50.582Z] 200K .......... .......... .......... .......... .......... 13.3M [2021-02-22T14:58:50.582Z] 250K .......... .......... .......... .......... .......... 3.38M [2021-02-22T14:58:50.582Z] 300K .......... .......... .......... .......... .......... 4.82M [2021-02-22T14:58:50.582Z] 350K .......... .......... .......... .......... .......... 4.16M [2021-02-22T14:58:50.582Z] 400K .......... .......... .......... .......... .......... 3.62M [2021-02-22T14:58:50.582Z] 450K .......... .......... .......... .......... .......... 4.62M [2021-02-22T14:58:50.582Z] 500K .......... .......... .......... .......... .......... 8.38M [2021-02-22T14:58:50.582Z] 550K .......... .......... .......... .......... .......... 1.32M [2021-02-22T14:58:50.582Z] 600K .......... .......... .......... .......... .......... 1.22M [2021-02-22T14:58:50.582Z] 650K .......... .......... .......... .......... .......... 2.14M [2021-02-22T14:58:50.582Z] 700K .. 2.52M=0.2s [2021-02-22T14:58:50.582Z] [2021-02-22T14:58:50.582Z] 2021-02-22 14:58:50 (2.77 MB/s) - written to stdout [719348] [2021-02-22T14:58:50.582Z] [2021-02-22T14:58:51.183Z] -- The C compiler identification is GNU 8.3.0 [2021-02-22T14:58:51.183Z] -- The CXX compiler identification is GNU 8.3.0 [2021-02-22T14:58:51.183Z] -- Check for working C compiler: /usr/bin/cc [Pipeline] withEnv [Pipeline] { [2021-02-22T14:58:51.455Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-02-22T14:58:51.455Z] -- Detecting C compiler ABI info [Pipeline] wrap [2021-02-22T14:58:51.457Z] provisioning config files... [2021-02-22T14:58:51.483Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config4940303293061603337tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-22T14:58:51.733Z] -- Detecting C compiler ABI info - done [2021-02-22T14:58:51.733Z] -- Detecting C compile features [2021-02-22T14:58:51.927Z] ---> docker-login.sh [2021-02-22T14:58:51.927Z] nexus3.edgexfoundry.org:10001 [2021-02-22T14:58:52.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T14:58:52.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T14:58:52.189Z] Configure a credential helper to remove this warning. See [2021-02-22T14:58:52.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T14:58:52.189Z] [2021-02-22T14:58:52.189Z] Login Succeeded [2021-02-22T14:58:52.189Z] nexus3.edgexfoundry.org:10002 [2021-02-22T14:58:52.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T14:58:52.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T14:58:52.451Z] Configure a credential helper to remove this warning. See [2021-02-22T14:58:52.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T14:58:52.451Z] [2021-02-22T14:58:52.451Z] Login Succeeded [2021-02-22T14:58:52.451Z] nexus3.edgexfoundry.org:10003 [2021-02-22T14:58:52.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T14:58:52.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T14:58:52.720Z] Configure a credential helper to remove this warning. See [2021-02-22T14:58:52.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T14:58:52.720Z] [2021-02-22T14:58:52.720Z] Login Succeeded [2021-02-22T14:58:52.720Z] nexus3.edgexfoundry.org:10004 [2021-02-22T14:58:52.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T14:58:52.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T14:58:52.720Z] Configure a credential helper to remove this warning. See [2021-02-22T14:58:52.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T14:58:52.720Z] [2021-02-22T14:58:52.720Z] Login Succeeded [2021-02-22T14:58:52.720Z] docker.io [2021-02-22T14:58:52.725Z] -- Detecting C compile features - done [2021-02-22T14:58:52.725Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-02-22T14:58:52.725Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-02-22T14:58:52.725Z] -- Detecting CXX compiler ABI info [2021-02-22T14:58:52.985Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T14:58:53.000Z] -- Detecting CXX compiler ABI info - done [2021-02-22T14:58:53.000Z] -- Detecting CXX compile features [2021-02-22T14:58:53.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T14:58:53.250Z] Configure a credential helper to remove this warning. See [2021-02-22T14:58:53.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T14:58:53.250Z] [2021-02-22T14:58:53.250Z] Login Succeeded [2021-02-22T14:58:53.250Z] ---> docker-login.sh ends [Pipeline] } [2021-02-22T14:58:53.279Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-22T14:58:53.825Z] ========================================================= [2021-02-22T14:58:53.825Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-02-22T14:58:53.825Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-22T14:58:54.213Z] + 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-02-22T14:58:54.213Z] Sending build context to Docker daemon 2.551MB [2021-02-22T14:58:54.213Z] Step 1/21 : ARG BASE=alpine:3.12 [2021-02-22T14:58:54.213Z] Step 2/21 : FROM ${BASE} as builder [2021-02-22T14:58:54.434Z] -- Detecting CXX compile features - done [2021-02-22T14:58:54.505Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-02-22T14:58:54.505Z] e7c96db7181b: Pulling fs layer [2021-02-22T14:58:54.505Z] 4c13bbce0fe7: Pulling fs layer [2021-02-22T14:58:54.505Z] 6059c847ac2f: Pulling fs layer [2021-02-22T14:58:54.505Z] 4c13bbce0fe7: Verifying Checksum [2021-02-22T14:58:54.505Z] 4c13bbce0fe7: Download complete [2021-02-22T14:58:54.505Z] e7c96db7181b: Verifying Checksum [2021-02-22T14:58:54.505Z] e7c96db7181b: Download complete [2021-02-22T14:58:54.707Z] -- Looking for include file endian.h [2021-02-22T14:58:54.707Z] -- Looking for include file endian.h - found [2021-02-22T14:58:54.707Z] -- Check if the system is big endian [2021-02-22T14:58:54.707Z] -- Searching 16 bit integer [2021-02-22T14:58:54.707Z] -- Looking for sys/types.h [2021-02-22T14:58:54.774Z] e7c96db7181b: Pull complete [2021-02-22T14:58:54.774Z] 4c13bbce0fe7: Pull complete [2021-02-22T14:58:54.981Z] -- Looking for sys/types.h - found [2021-02-22T14:58:54.981Z] -- Looking for stdint.h [2021-02-22T14:58:55.253Z] -- Looking for stdint.h - found [2021-02-22T14:58:55.253Z] -- Looking for stddef.h [2021-02-22T14:58:55.525Z] -- Looking for stddef.h - found [2021-02-22T14:58:55.525Z] -- Check size of unsigned short [2021-02-22T14:58:55.797Z] -- Check size of unsigned short - done [2021-02-22T14:58:55.797Z] -- Using unsigned short [2021-02-22T14:58:56.069Z] -- Check if the system is big endian - little endian [2021-02-22T14:58:56.069Z] -- Check size of size_t [2021-02-22T14:58:56.167Z] 6059c847ac2f: Verifying Checksum [2021-02-22T14:58:56.167Z] 6059c847ac2f: Download complete [2021-02-22T14:58:56.342Z] -- Check size of size_t - done [2021-02-22T14:58:56.342Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-02-22T14:58:56.342Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-02-22T14:58:56.342Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-02-22T14:58:56.342Z] CMake did not find one. [2021-02-22T14:58:56.342Z] [2021-02-22T14:58:56.342Z] Could not find a package configuration file provided by "cJSON" with any of [2021-02-22T14:58:56.342Z] the following names: [2021-02-22T14:58:56.342Z] [2021-02-22T14:58:56.342Z] cJSONConfig.cmake [2021-02-22T14:58:56.342Z] cjson-config.cmake [2021-02-22T14:58:56.342Z] [2021-02-22T14:58:56.342Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-02-22T14:58:56.342Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-02-22T14:58:56.342Z] provides a separate development package or SDK, be sure it has been [2021-02-22T14:58:56.342Z] installed. [2021-02-22T14:58:56.342Z] [2021-02-22T14:58:56.342Z] [2021-02-22T14:58:56.342Z] -- Configuring done [2021-02-22T14:58:56.615Z] -- Generating done [2021-02-22T14:58:56.615Z] -- Build files have been written to: /tmp/cbor [2021-02-22T14:58:56.615Z] Scanning dependencies of target cbor_shared [2021-02-22T14:58:56.887Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-02-22T14:58:57.480Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-02-22T14:58:58.072Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-02-22T14:58:58.345Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-02-22T14:58:58.940Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-02-22T14:58:59.212Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-02-22T14:58:59.212Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-02-22T14:58:59.484Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-02-22T14:58:59.759Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-02-22T14:59:00.031Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-02-22T14:59:00.410Z] 6059c847ac2f: Pull complete [2021-02-22T14:59:00.410Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2021-02-22T14:59:00.410Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-02-22T14:59:00.410Z] ---> 5eabd8fd8ba2 [2021-02-22T14:59:00.410Z] 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-02-22T14:59:00.623Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-02-22T14:59:00.895Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-02-22T14:59:01.172Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-02-22T14:59:01.446Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-02-22T14:59:02.047Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-02-22T14:59:02.047Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-02-22T14:59:02.324Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-02-22T14:59:02.343Z] ---> Running in bd0c55e3abea [2021-02-22T14:59:02.598Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-02-22T14:59:02.871Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-02-22T14:59:03.145Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-02-22T14:59:03.296Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-02-22T14:59:03.425Z] [ 40%] Linking C shared library libcbor.so [2021-02-22T14:59:03.425Z] [ 40%] Built target cbor_shared [2021-02-22T14:59:03.425Z] Scanning dependencies of target cbor [2021-02-22T14:59:03.425Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-02-22T14:59:03.880Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-02-22T14:59:04.147Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2021-02-22T14:59:04.147Z] (2/8) Installing libuuid (2.33-r0) [2021-02-22T14:59:04.147Z] (3/8) Installing libblkid (2.33-r0) [2021-02-22T14:59:04.406Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-02-22T14:59:04.415Z] (4/8) Installing libfdisk (2.33-r0) [2021-02-22T14:59:04.415Z] (5/8) Installing libmount (2.33-r0) [2021-02-22T14:59:04.676Z] (6/8) Installing libsmartcols (2.33-r0) [2021-02-22T14:59:04.676Z] (7/8) Installing util-linux-dev (2.33-r0) [2021-02-22T14:59:04.942Z] (8/8) Installing wget (1.20.3-r0) [2021-02-22T14:59:04.942Z] Executing busybox-1.29.3-r10.trigger [2021-02-22T14:59:04.942Z] OK: 272 MiB in 83 packages [2021-02-22T14:59:05.008Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-02-22T14:59:05.008Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-02-22T14:59:05.524Z] Removing intermediate container bd0c55e3abea [2021-02-22T14:59:05.524Z] ---> 8f814967337a [2021-02-22T14:59:05.524Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2021-02-22T14:59:05.788Z] ---> Running in 2fbd66fb75a0 [2021-02-22T14:59:05.788Z] Removing intermediate container 2fbd66fb75a0 [2021-02-22T14:59:05.788Z] ---> d27dffbbdcf7 [2021-02-22T14:59:05.788Z] 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-02-22T14:59:06.055Z] ---> Running in 863e2bc5e340 [2021-02-22T14:59:06.325Z] --2021-02-22 14:59:06-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-02-22T14:59:06.325Z] Resolving github.com... 140.82.112.4 [2021-02-22T14:59:06.325Z] Connecting to github.com|140.82.112.4|:443... connected. [2021-02-22T14:59:06.325Z] HTTP request sent, awaiting response... 302 Found [2021-02-22T14:59:06.325Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-02-22T14:59:06.325Z] --2021-02-22 14:59:06-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-02-22T14:59:06.325Z] Resolving codeload.github.com... 140.82.114.9 [2021-02-22T14:59:06.440Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-02-22T14:59:06.440Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-02-22T14:59:06.589Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-02-22T14:59:06.589Z] HTTP request sent, awaiting response... 200 OK [2021-02-22T14:59:06.589Z] Length: unspecified [application/x-gzip] [2021-02-22T14:59:06.589Z] Saving to: 'STDOUT' [2021-02-22T14:59:06.589Z]  [2021-02-22T14:59:06.589Z] 0K .......... .......... .......... .......... .......... 1.41M [2021-02-22T14:59:06.589Z] 50K .......... .......... .......... .......... .......... 2.87M [2021-02-22T14:59:06.589Z] 100K .......... .......... .......... .......... .......... 34.5M [2021-02-22T14:59:06.589Z] 150K .......... .......... .......... .......... .......... 3.14M [2021-02-22T14:59:06.589Z] 200K .......... .......... .......... .......... .......... 30.7M [2021-02-22T14:59:06.589Z] 250K .......... .......... .......... .......... .......... 11.7M [2021-02-22T14:59:06.589Z] 300K .......... .......... .......... .......... .......... 8.35M [2021-02-22T14:59:06.589Z] 350K .......... .......... .......... .......... .......... 9.83M [2021-02-22T14:59:06.589Z] 400K .......... .......... .......... .......... .......... 6.15M [2021-02-22T14:59:06.589Z] 450K .......... .......... .......... .......... .......... 9.81M [2021-02-22T14:59:06.589Z] 500K .......... .......... .......... .......... .......... 15.5M [2021-02-22T14:59:06.589Z] 550K .......... .......... .......... .......... .......... 8.10M [2021-02-22T14:59:06.589Z] 600K .......... .......... .......... .......... .......... 1.93M [2021-02-22T14:59:06.589Z] 650K .......... .......... .......... .......... .......... 4.21M [2021-02-22T14:59:06.589Z] 700K .. 32.3M=0.1s [2021-02-22T14:59:06.589Z] [2021-02-22T14:59:06.589Z] 2021-02-22 14:59:06 (4.75 MB/s) - written to stdout [719348] [2021-02-22T14:59:06.589Z] [2021-02-22T14:59:06.712Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-02-22T14:59:06.712Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-02-22T14:59:06.855Z] -- The C compiler identification is GNU 8.3.0 [2021-02-22T14:59:06.855Z] -- The CXX compiler identification is GNU 8.3.0 [2021-02-22T14:59:06.855Z] -- Check for working C compiler: /usr/bin/cc [2021-02-22T14:59:06.984Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-02-22T14:59:07.127Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-02-22T14:59:07.127Z] -- Detecting C compiler ABI info [2021-02-22T14:59:07.127Z] -- Detecting C compiler ABI info - done [2021-02-22T14:59:07.127Z] -- Detecting C compile features [2021-02-22T14:59:07.257Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-02-22T14:59:07.390Z] -- Detecting C compile features - done [2021-02-22T14:59:07.390Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-02-22T14:59:07.390Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-02-22T14:59:07.390Z] -- Detecting CXX compiler ABI info [2021-02-22T14:59:07.390Z] -- Detecting CXX compiler ABI info - done [2021-02-22T14:59:07.390Z] -- Detecting CXX compile features [2021-02-22T14:59:07.853Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-02-22T14:59:07.964Z] -- Detecting CXX compile features - done [2021-02-22T14:59:07.964Z] -- Looking for include file endian.h [2021-02-22T14:59:07.964Z] -- Looking for include file endian.h - found [2021-02-22T14:59:07.964Z] -- Check if the system is big endian [2021-02-22T14:59:07.964Z] -- Searching 16 bit integer [2021-02-22T14:59:07.964Z] -- Looking for sys/types.h [2021-02-22T14:59:08.227Z] -- Looking for sys/types.h - found [2021-02-22T14:59:08.228Z] -- Looking for stdint.h [2021-02-22T14:59:08.228Z] -- Looking for stdint.h - found [2021-02-22T14:59:08.228Z] -- Looking for stddef.h [2021-02-22T14:59:08.228Z] -- Looking for stddef.h - found [2021-02-22T14:59:08.228Z] -- Check size of unsigned short [2021-02-22T14:59:08.228Z] -- Check size of unsigned short - done [2021-02-22T14:59:08.228Z] -- Using unsigned short [2021-02-22T14:59:08.449Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-02-22T14:59:08.489Z] -- Check if the system is big endian - little endian [2021-02-22T14:59:08.489Z] -- Check size of size_t [2021-02-22T14:59:08.489Z] -- Check size of size_t - done [2021-02-22T14:59:08.489Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-02-22T14:59:08.489Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-02-22T14:59:08.489Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-02-22T14:59:08.489Z] CMake did not find one. [2021-02-22T14:59:08.489Z] [2021-02-22T14:59:08.489Z] Could not find a package configuration file provided by "cJSON" with any of [2021-02-22T14:59:08.489Z] the following names: [2021-02-22T14:59:08.489Z] [2021-02-22T14:59:08.489Z] cJSONConfig.cmake [2021-02-22T14:59:08.489Z] cjson-config.cmake [2021-02-22T14:59:08.489Z] [2021-02-22T14:59:08.489Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-02-22T14:59:08.489Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-02-22T14:59:08.489Z] provides a separate development package or SDK, be sure it has been [2021-02-22T14:59:08.489Z] installed. [2021-02-22T14:59:08.489Z] [2021-02-22T14:59:08.489Z] [2021-02-22T14:59:08.489Z] -- Configuring done [2021-02-22T14:59:08.489Z] -- Generating done [2021-02-22T14:59:08.489Z] -- Build files have been written to: /tmp/cbor [2021-02-22T14:59:08.721Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-02-22T14:59:08.752Z] Scanning dependencies of target cbor_shared [2021-02-22T14:59:08.752Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-02-22T14:59:08.752Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-02-22T14:59:08.995Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-02-22T14:59:09.013Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-02-22T14:59:09.013Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-02-22T14:59:09.268Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-02-22T14:59:09.279Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-02-22T14:59:09.279Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-02-22T14:59:09.279Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-02-22T14:59:09.279Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-02-22T14:59:09.540Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-02-22T14:59:09.541Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-02-22T14:59:09.541Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-02-22T14:59:09.804Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-02-22T14:59:09.804Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-02-22T14:59:09.804Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-02-22T14:59:09.811Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-02-22T14:59:10.068Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-02-22T14:59:10.068Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-02-22T14:59:10.068Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-02-22T14:59:10.068Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-02-22T14:59:10.086Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-02-22T14:59:10.329Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-02-22T14:59:10.329Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-02-22T14:59:10.329Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-02-22T14:59:10.329Z] [ 40%] Linking C shared library libcbor.so [2021-02-22T14:59:10.360Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-02-22T14:59:10.593Z] [ 40%] Built target cbor_shared [2021-02-22T14:59:10.594Z] Scanning dependencies of target cbor [2021-02-22T14:59:10.594Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-02-22T14:59:10.594Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-02-22T14:59:10.638Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-02-22T14:59:10.859Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-02-22T14:59:10.859Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-02-22T14:59:10.912Z] [ 80%] Linking C static library libcbor.a [2021-02-22T14:59:10.913Z] [ 80%] Built target cbor [2021-02-22T14:59:10.913Z] Scanning dependencies of target create_items [2021-02-22T14:59:10.913Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-02-22T14:59:11.121Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-02-22T14:59:11.121Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-02-22T14:59:11.188Z] [ 84%] Linking C executable create_items [2021-02-22T14:59:11.189Z] [ 84%] Built target create_items [2021-02-22T14:59:11.189Z] Scanning dependencies of target readfile [2021-02-22T14:59:11.189Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-02-22T14:59:11.382Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-02-22T14:59:11.383Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-02-22T14:59:11.383Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-02-22T14:59:11.466Z] [ 88%] Linking C executable readfile [2021-02-22T14:59:11.647Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-02-22T14:59:11.648Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-02-22T14:59:11.740Z] [ 88%] Built target readfile [2021-02-22T14:59:11.740Z] Scanning dependencies of target streaming_parser [2021-02-22T14:59:11.740Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-02-22T14:59:11.916Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-02-22T14:59:11.916Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-02-22T14:59:11.916Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-02-22T14:59:12.013Z] [ 92%] Linking C executable streaming_parser [2021-02-22T14:59:12.013Z] [ 92%] Built target streaming_parser [2021-02-22T14:59:12.013Z] Scanning dependencies of target sort [2021-02-22T14:59:12.013Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-02-22T14:59:12.182Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-02-22T14:59:12.182Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-02-22T14:59:12.182Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-02-22T14:59:12.182Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-02-22T14:59:12.286Z] [ 96%] Linking C executable sort [2021-02-22T14:59:12.286Z] [ 96%] Built target sort [2021-02-22T14:59:12.286Z] Scanning dependencies of target hello [2021-02-22T14:59:12.286Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-02-22T14:59:12.445Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-02-22T14:59:12.445Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-02-22T14:59:12.445Z] [ 80%] Linking C static library libcbor.a [2021-02-22T14:59:12.445Z] [ 80%] Built target cbor [2021-02-22T14:59:12.445Z] Scanning dependencies of target create_items [2021-02-22T14:59:12.445Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-02-22T14:59:12.557Z] [100%] Linking C executable hello [2021-02-22T14:59:12.558Z] [100%] Built target hello [2021-02-22T14:59:12.558Z] Install the project... [2021-02-22T14:59:12.558Z] -- Install configuration: "Release" [2021-02-22T14:59:12.558Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-02-22T14:59:12.558Z] -- Installing: /usr/local/lib64/libcbor.a [2021-02-22T14:59:12.558Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-02-22T14:59:12.558Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-02-22T14:59:12.558Z] -- Installing: /usr/local/lib64/libcbor.so [2021-02-22T14:59:12.558Z] -- Up-to-date: /usr/local/include/cbor [2021-02-22T14:59:12.558Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-02-22T14:59:12.708Z] [ 84%] Linking C executable create_items [2021-02-22T14:59:12.708Z] [ 84%] Built target create_items [2021-02-22T14:59:12.708Z] Scanning dependencies of target readfile [2021-02-22T14:59:12.708Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-02-22T14:59:12.708Z] [ 88%] Linking C executable readfile [2021-02-22T14:59:12.708Z] [ 88%] Built target readfile [2021-02-22T14:59:12.708Z] Scanning dependencies of target streaming_parser [2021-02-22T14:59:12.708Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-02-22T14:59:12.708Z] [ 92%] Linking C executable streaming_parser [2021-02-22T14:59:12.708Z] [ 92%] Built target streaming_parser [2021-02-22T14:59:12.708Z] Scanning dependencies of target sort [2021-02-22T14:59:12.831Z] -- Installing: /usr/local/include/cbor/ints.h [2021-02-22T14:59:12.831Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-02-22T14:59:12.831Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-02-22T14:59:12.831Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-02-22T14:59:12.831Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-02-22T14:59:12.831Z] -- Installing: /usr/local/include/cbor/data.h [2021-02-22T14:59:12.831Z] -- Installing: /usr/local/include/cbor/common.h [2021-02-22T14:59:12.831Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-02-22T14:59:12.831Z] -- Installing: /usr/local/include/cbor/strings.h [2021-02-22T14:59:12.831Z] -- Installing: /usr/local/include/cbor/tags.h [2021-02-22T14:59:12.831Z] -- Installing: /usr/local/include/cbor/internal [2021-02-22T14:59:12.831Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-02-22T14:59:12.831Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-02-22T14:59:12.831Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-02-22T14:59:12.831Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-02-22T14:59:12.831Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-02-22T14:59:12.831Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-02-22T14:59:12.831Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-02-22T14:59:12.831Z] -- Installing: /usr/local/include/cbor/maps.h [2021-02-22T14:59:12.831Z] -- Installing: /usr/local/include/cbor.h [2021-02-22T14:59:12.831Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-02-22T14:59:12.975Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-02-22T14:59:12.975Z] [ 96%] Linking C executable sort [2021-02-22T14:59:12.975Z] [ 96%] Built target sort [2021-02-22T14:59:12.975Z] Scanning dependencies of target hello [2021-02-22T14:59:12.975Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-02-22T14:59:12.975Z] [100%] Linking C executable hello [2021-02-22T14:59:12.975Z] [100%] Built target hello [2021-02-22T14:59:12.975Z] Install the project... [2021-02-22T14:59:12.975Z] -- Install configuration: "Release" [2021-02-22T14:59:12.975Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-02-22T14:59:12.975Z] -- Installing: /usr/local/lib64/libcbor.a [2021-02-22T14:59:12.975Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-02-22T14:59:12.975Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-02-22T14:59:12.975Z] -- Installing: /usr/local/lib64/libcbor.so [2021-02-22T14:59:12.975Z] -- Up-to-date: /usr/local/include/cbor [2021-02-22T14:59:12.975Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-02-22T14:59:12.975Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-02-22T14:59:12.975Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-02-22T14:59:12.975Z] -- Installing: /usr/local/include/cbor/common.h [2021-02-22T14:59:12.975Z] -- Installing: /usr/local/include/cbor/data.h [2021-02-22T14:59:12.975Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-02-22T14:59:12.975Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-02-22T14:59:12.975Z] -- Installing: /usr/local/include/cbor/internal [2021-02-22T14:59:12.975Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-02-22T14:59:12.975Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-02-22T14:59:12.975Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-02-22T14:59:12.975Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-02-22T14:59:12.975Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-02-22T14:59:12.975Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-02-22T14:59:12.975Z] -- Installing: /usr/local/include/cbor/ints.h [2021-02-22T14:59:12.975Z] -- Installing: /usr/local/include/cbor/maps.h [2021-02-22T14:59:12.975Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-02-22T14:59:12.975Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-02-22T14:59:12.975Z] -- Installing: /usr/local/include/cbor/strings.h [2021-02-22T14:59:12.975Z] -- Installing: /usr/local/include/cbor/tags.h [2021-02-22T14:59:12.975Z] -- Installing: /usr/local/include/cbor.h [2021-02-22T14:59:12.975Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-02-22T14:59:14.806Z] Removing intermediate container 9a1536566629 [2021-02-22T14:59:14.806Z] ---> be2f2769df7f [2021-02-22T14:59:14.806Z] Step 6/21 : RUN mkdir /tmp/sdk [2021-02-22T14:59:15.078Z] ---> Running in 7ae6b3a389f5 [2021-02-22T14:59:15.550Z] Removing intermediate container 863e2bc5e340 [2021-02-22T14:59:15.550Z] ---> 012767ce0140 [2021-02-22T14:59:15.550Z] Step 6/21 : RUN mkdir /tmp/sdk [2021-02-22T14:59:15.550Z] ---> Running in c4ea87c0a10a [2021-02-22T14:59:16.500Z] Removing intermediate container c4ea87c0a10a [2021-02-22T14:59:16.500Z] ---> 5261996b1a97 [2021-02-22T14:59:16.500Z] Step 7/21 : COPY VERSION /tmp/sdk [2021-02-22T14:59:16.765Z] ---> 4a765c23a2d3 [2021-02-22T14:59:16.765Z] Step 8/21 : COPY src /tmp/sdk/src [2021-02-22T14:59:17.694Z] Removing intermediate container 7ae6b3a389f5 [2021-02-22T14:59:17.695Z] ---> 6f7680385a0a [2021-02-22T14:59:17.695Z] Step 7/21 : COPY VERSION /tmp/sdk [2021-02-22T14:59:17.717Z] ---> abae46d60bfa [2021-02-22T14:59:17.717Z] Step 9/21 : COPY include /tmp/sdk/include [2021-02-22T14:59:17.973Z] ---> 1893bdc0c82c [2021-02-22T14:59:17.973Z] Step 8/21 : COPY src /tmp/sdk/src [2021-02-22T14:59:17.988Z] ---> e349ac7de813 [2021-02-22T14:59:17.988Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2021-02-22T14:59:18.251Z] ---> a0f1505f2a64 [2021-02-22T14:59:18.251Z] Step 11/21 : COPY LICENSE /tmp/sdk [2021-02-22T14:59:18.251Z] ---> 9422982b0469 [2021-02-22T14:59:18.251Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2021-02-22T14:59:18.515Z] ---> a9f0b05d2d3c [2021-02-22T14:59:18.515Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-02-22T14:59:18.781Z] ---> Running in baec1beafaab [2021-02-22T14:59:18.969Z] ---> 9e3338269ce9 [2021-02-22T14:59:18.969Z] Step 9/21 : COPY include /tmp/sdk/include [2021-02-22T14:59:19.045Z] + CPPCHECK=false [2021-02-22T14:59:19.046Z] + DOCGEN=false [2021-02-22T14:59:19.046Z] + TOMLVER=SDK-0.2 [2021-02-22T14:59:19.046Z] + CUTILVER=1.1.4 [2021-02-22T14:59:19.046Z] + '[' 0 -gt 0 ] [2021-02-22T14:59:19.046Z] + readlink -f ./scripts/build.sh [2021-02-22T14:59:19.046Z] + dirname /tmp/sdk/scripts/build.sh [2021-02-22T14:59:19.046Z] + dirname /tmp/sdk/scripts [2021-02-22T14:59:19.046Z] + ROOT=/tmp/sdk [2021-02-22T14:59:19.046Z] + cd /tmp/sdk [2021-02-22T14:59:19.046Z] + '[' '!' -d deps ] [2021-02-22T14:59:19.046Z] + mkdir deps [2021-02-22T14:59:19.046Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-02-22T14:59:19.046Z] + tar -C deps -z -x -f - [2021-02-22T14:59:19.046Z] --2021-02-22 14:59:18-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-02-22T14:59:19.046Z] Resolving github.com... 140.82.112.4 [2021-02-22T14:59:19.046Z] Connecting to github.com|140.82.112.4|:443... connected. [2021-02-22T14:59:19.576Z] ---> 456ea26dd49a [2021-02-22T14:59:19.576Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2021-02-22T14:59:19.993Z] HTTP request sent, awaiting response... 302 Found [2021-02-22T14:59:19.993Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-02-22T14:59:19.993Z] --2021-02-22 14:59:19-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-02-22T14:59:19.993Z] Resolving codeload.github.com... 140.82.114.9 [2021-02-22T14:59:19.993Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-02-22T14:59:19.993Z] HTTP request sent, awaiting response... 200 OK [2021-02-22T14:59:19.993Z] Length: unspecified [application/x-gzip] [2021-02-22T14:59:19.993Z] Saving to: 'STDOUT' [2021-02-22T14:59:19.993Z] [2021-02-22T14:59:19.993Z] 0K .......... ......  1.04M=0.02s [2021-02-22T14:59:19.993Z] [2021-02-22T14:59:19.993Z] 2021-02-22 14:59:19 (1.04 MB/s) - written to stdout [16451] [2021-02-22T14:59:19.993Z] [2021-02-22T14:59:19.993Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-02-22T14:59:19.993Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-02-22T14:59:19.993Z] + tar -C deps -z -x -f - [2021-02-22T14:59:19.993Z] --2021-02-22 14:59:19-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-02-22T14:59:19.993Z] Resolving github.com... 140.82.112.4 [2021-02-22T14:59:19.993Z] Connecting to github.com|140.82.112.4|:443... connected. [2021-02-22T14:59:20.174Z] ---> e8f33968a6a7 [2021-02-22T14:59:20.174Z] Step 11/21 : COPY LICENSE /tmp/sdk [2021-02-22T14:59:20.255Z] HTTP request sent, awaiting response... 302 Found [2021-02-22T14:59:20.255Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-02-22T14:59:20.255Z] --2021-02-22 14:59:20-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-02-22T14:59:20.255Z] Resolving codeload.github.com... 140.82.114.9 [2021-02-22T14:59:20.255Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-02-22T14:59:20.255Z] HTTP request sent, awaiting response... 200 OK [2021-02-22T14:59:20.255Z] Length: unspecified [application/x-gzip] [2021-02-22T14:59:20.255Z] Saving to: 'STDOUT' [2021-02-22T14:59:20.255Z]  [2021-02-22T14:59:20.255Z] 0K .......... .......... .......... .......... .......... 1.60M [2021-02-22T14:59:20.517Z] 50K .......... .......... .......... .......... .......... 3.24M [2021-02-22T14:59:20.517Z] 100K .......... .......... .......... .......... .......... 46.5M [2021-02-22T14:59:20.517Z] 150K .......... .......... ....... 6.54M=0.05s [2021-02-22T14:59:20.517Z] [2021-02-22T14:59:20.517Z] 2021-02-22 14:59:20 (3.42 MB/s) - written to stdout [181796] [2021-02-22T14:59:20.517Z] [2021-02-22T14:59:20.517Z] + mkdir -p src/c/iot [2021-02-22T14:59:20.517Z] + 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-02-22T14:59:20.517Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-02-22T14:59:20.517Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-02-22T14:59:20.517Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-02-22T14:59:20.517Z] + mkdir -p include/iot [2021-02-22T14:59:20.517Z] + 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-02-22T14:59:20.517Z] + mkdir -p include/iot/os [2021-02-22T14:59:20.517Z] + 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-02-22T14:59:20.517Z] + mkdir -p /tmp/sdk/build/release [2021-02-22T14:59:20.517Z] + cd /tmp/sdk/build/release [2021-02-22T14:59:20.517Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-02-22T14:59:20.517Z] -- The C compiler identification is GNU 8.3.0 [2021-02-22T14:59:20.517Z] -- Check for working C compiler: /usr/bin/cc [2021-02-22T14:59:20.517Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-02-22T14:59:20.517Z] -- Detecting C compiler ABI info [2021-02-22T14:59:20.774Z] ---> 0012275b862c [2021-02-22T14:59:20.774Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2021-02-22T14:59:20.778Z] -- Detecting C compiler ABI info - done [2021-02-22T14:59:20.778Z] -- Detecting C compile features [2021-02-22T14:59:21.040Z] -- Detecting C compile features - done [2021-02-22T14:59:21.040Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-02-22T14:59:21.040Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-02-22T14:59:21.040Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-02-22T14:59:21.040Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-02-22T14:59:21.040Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-02-22T14:59:21.040Z] -- C SDK 0.0.0 for Linux [2021-02-22T14:59:21.040Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-02-22T14:59:21.040Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-02-22T14:59:21.040Z] -- Found Curses: /usr/lib/libcurses.so [2021-02-22T14:59:21.040Z] -- Configuring done [2021-02-22T14:59:21.304Z] -- Generating done [2021-02-22T14:59:21.304Z] -- Build files have been written to: /tmp/sdk/build/release [2021-02-22T14:59:21.304Z] + make [2021-02-22T14:59:21.304Z] + tee release.log [2021-02-22T14:59:21.304Z] Scanning dependencies of target csdk [2021-02-22T14:59:21.304Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-02-22T14:59:21.567Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-02-22T14:59:21.567Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-02-22T14:59:21.751Z] ---> c28b79ee1711 [2021-02-22T14:59:21.751Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-02-22T14:59:22.032Z] ---> Running in 7a8248ad3077 [2021-02-22T14:59:22.146Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-02-22T14:59:22.146Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-02-22T14:59:22.146Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-02-22T14:59:22.409Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-02-22T14:59:22.984Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-02-22T14:59:23.022Z] + CPPCHECK=false [2021-02-22T14:59:23.022Z] + DOCGEN=false [2021-02-22T14:59:23.022Z] + TOMLVER=SDK-0.2 [2021-02-22T14:59:23.022Z] + CUTILVER=1.1.4 [2021-02-22T14:59:23.022Z] + '[' 0 -gt 0 ] [2021-02-22T14:59:23.022Z] + readlink -f ./scripts/build.sh [2021-02-22T14:59:23.022Z] + dirname /tmp/sdk/scripts/build.sh [2021-02-22T14:59:23.022Z] + dirname /tmp/sdk/scripts [2021-02-22T14:59:23.022Z] + ROOT=/tmp/sdk [2021-02-22T14:59:23.022Z] + cd /tmp/sdk [2021-02-22T14:59:23.022Z] + '[' '!' -d deps ] [2021-02-22T14:59:23.022Z] + mkdir deps [2021-02-22T14:59:23.022Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-02-22T14:59:23.022Z] + tar -C deps -z -x -f - [2021-02-22T14:59:23.022Z] --2021-02-22 14:59:22-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-02-22T14:59:23.022Z] Resolving github.com... 140.82.112.4 [2021-02-22T14:59:23.022Z] Connecting to github.com|140.82.112.4|:443... connected. [2021-02-22T14:59:23.022Z] HTTP request sent, awaiting response... 302 Found [2021-02-22T14:59:23.022Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-02-22T14:59:23.022Z] --2021-02-22 14:59:22-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-02-22T14:59:23.022Z] Resolving codeload.github.com... 140.82.114.9 [2021-02-22T14:59:23.023Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-02-22T14:59:23.252Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-02-22T14:59:23.253Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-02-22T14:59:23.294Z] HTTP request sent, awaiting response... 200 OK [2021-02-22T14:59:23.294Z] Length: unspecified [application/x-gzip] [2021-02-22T14:59:23.294Z] Saving to: 'STDOUT' [2021-02-22T14:59:23.294Z]  [2021-02-22T14:59:23.294Z] 0K .......... ......  987K=0.02s [2021-02-22T14:59:23.294Z] [2021-02-22T14:59:23.294Z] 2021-02-22 14:59:23 (987 KB/s) - written to stdout [16451] [2021-02-22T14:59:23.294Z] [2021-02-22T14:59:23.294Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-02-22T14:59:23.294Z] + + tarwget -C -O deps - -z https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz -x [2021-02-22T14:59:23.294Z] -f - [2021-02-22T14:59:23.294Z] --2021-02-22 14:59:23-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-02-22T14:59:23.294Z] Resolving github.com... 140.82.112.4 [2021-02-22T14:59:23.294Z] Connecting to github.com|140.82.112.4|:443... connected. [2021-02-22T14:59:23.294Z] HTTP request sent, awaiting response... 302 Found [2021-02-22T14:59:23.294Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-02-22T14:59:23.294Z] --2021-02-22 14:59:23-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-02-22T14:59:23.294Z] Resolving codeload.github.com... 140.82.114.9 [2021-02-22T14:59:23.294Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-02-22T14:59:23.515Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-02-22T14:59:23.515Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-02-22T14:59:23.515Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-02-22T14:59:23.569Z] HTTP request sent, awaiting response... 200 OK [2021-02-22T14:59:23.569Z] Length: unspecified [application/x-gzip] [2021-02-22T14:59:23.569Z] Saving to: 'STDOUT' [2021-02-22T14:59:23.569Z] [2021-02-22T14:59:23.569Z] 0K .......... .......... .......... .......... .......... 1.57M [2021-02-22T14:59:23.569Z] 50K .......... .......... .......... .......... .......... 3.06M [2021-02-22T14:59:23.569Z] 100K .......... .......... .......... .......... .......... 5.12M [2021-02-22T14:59:23.569Z] 150K .......... .......... .......       1.54M=0.07s [2021-02-22T14:59:23.569Z] [2021-02-22T14:59:23.569Z] 2021-02-22 14:59:23 (2.34 MB/s) - written to stdout [181796] [2021-02-22T14:59:23.569Z] [2021-02-22T14:59:23.569Z] + mkdir -p src/c/iot [2021-02-22T14:59:23.569Z] + 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-02-22T14:59:23.569Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-02-22T14:59:23.569Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-02-22T14:59:23.569Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-02-22T14:59:23.569Z] + mkdir -p include/iot [2021-02-22T14:59:23.569Z] + 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-02-22T14:59:23.569Z] + mkdir -p include/iot/os [2021-02-22T14:59:23.569Z] + 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-02-22T14:59:23.569Z] + mkdir -p /tmp/sdk/build/release [2021-02-22T14:59:23.569Z] + cd /tmp/sdk/build/release [2021-02-22T14:59:23.569Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-02-22T14:59:23.778Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-02-22T14:59:23.843Z] -- The C compiler identification is GNU 8.3.0 [2021-02-22T14:59:23.843Z] -- Check for working C compiler: /usr/bin/cc [2021-02-22T14:59:24.116Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-02-22T14:59:24.116Z] -- Detecting C compiler ABI info [2021-02-22T14:59:24.356Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-02-22T14:59:24.388Z] -- Detecting C compiler ABI info - done [2021-02-22T14:59:24.389Z] -- Detecting C compile features [2021-02-22T14:59:24.619Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-02-22T14:59:24.619Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-02-22T14:59:24.619Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-02-22T14:59:24.887Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-02-22T14:59:25.365Z] -- Detecting C compile features - done [2021-02-22T14:59:25.366Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-02-22T14:59:25.366Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-02-22T14:59:25.366Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-02-22T14:59:25.366Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-02-22T14:59:25.366Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-02-22T14:59:25.366Z] -- C SDK 0.0.0 for Linux [2021-02-22T14:59:25.366Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-02-22T14:59:25.366Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-02-22T14:59:25.366Z] -- Found Curses: /usr/lib/libcurses.so [2021-02-22T14:59:25.463Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-02-22T14:59:25.463Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-02-22T14:59:25.636Z] -- Configuring done [2021-02-22T14:59:25.726Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-02-22T14:59:25.726Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-02-22T14:59:25.909Z] -- Generating done [2021-02-22T14:59:25.909Z] -- Build files have been written to: /tmp/sdk/build/release [2021-02-22T14:59:25.909Z] + + teemake [2021-02-22T14:59:25.909Z] release.log [2021-02-22T14:59:25.909Z] Scanning dependencies of target csdk [2021-02-22T14:59:25.991Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-02-22T14:59:25.991Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-02-22T14:59:26.182Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-02-22T14:59:26.254Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-02-22T14:59:26.254Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-02-22T14:59:26.518Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-02-22T14:59:26.518Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-02-22T14:59:26.775Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-02-22T14:59:27.050Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-02-22T14:59:27.102Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-02-22T14:59:27.102Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-02-22T14:59:27.366Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-02-22T14:59:27.366Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-02-22T14:59:28.758Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-02-22T14:59:28.758Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-02-22T14:59:28.758Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-02-22T14:59:28.758Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-02-22T14:59:29.017Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-02-22T14:59:29.022Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-02-22T14:59:29.597Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-02-22T14:59:29.614Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-02-22T14:59:29.614Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-02-22T14:59:29.861Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-02-22T14:59:30.589Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-02-22T14:59:30.807Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-02-22T14:59:30.807Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-02-22T14:59:31.069Z] [ 72%] Linking C shared library libcsdk.so [2021-02-22T14:59:31.069Z] [ 72%] Built target csdk [2021-02-22T14:59:31.069Z] Scanning dependencies of target template [2021-02-22T14:59:31.069Z] [ 74%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-02-22T14:59:31.331Z] [ 76%] Linking C executable template [2021-02-22T14:59:31.331Z] [ 76%] Built target template [2021-02-22T14:59:31.331Z] Scanning dependencies of target device-counter [2021-02-22T14:59:31.331Z] [ 77%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-02-22T14:59:31.331Z] [ 79%] Linking C executable device-counter [2021-02-22T14:59:31.593Z] [ 79%] Built target device-counter [2021-02-22T14:59:31.593Z] Scanning dependencies of target device-random [2021-02-22T14:59:31.593Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-02-22T14:59:31.593Z] [ 83%] Linking C executable device-random [2021-02-22T14:59:31.857Z] [ 83%] Built target device-random [2021-02-22T14:59:31.857Z] Scanning dependencies of target device-gyro [2021-02-22T14:59:31.857Z] [ 84%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-02-22T14:59:31.857Z] [ 86%] Linking C executable device-gyro [2021-02-22T14:59:31.857Z] [ 86%] Built target device-gyro [2021-02-22T14:59:31.857Z] Scanning dependencies of target device-bitfields [2021-02-22T14:59:31.857Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-02-22T14:59:32.122Z] [ 89%] Linking C executable device-bitfields [2021-02-22T14:59:32.122Z] [ 89%] Built target device-bitfields [2021-02-22T14:59:32.122Z] Scanning dependencies of target template-discovery [2021-02-22T14:59:32.122Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-02-22T14:59:32.387Z] [ 93%] Linking C executable template-discovery [2021-02-22T14:59:32.387Z] [ 93%] Built target template-discovery [2021-02-22T14:59:32.387Z] Scanning dependencies of target device-file [2021-02-22T14:59:32.387Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-02-22T14:59:32.649Z] [ 96%] Linking C executable device-file [2021-02-22T14:59:32.649Z] [ 96%] Built target device-file [2021-02-22T14:59:32.649Z] Scanning dependencies of target device-terminal [2021-02-22T14:59:32.649Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-02-22T14:59:32.913Z] [100%] Linking C executable device-terminal [2021-02-22T14:59:32.913Z] [100%] Built target device-terminal [2021-02-22T14:59:32.913Z] + tee -a release.log+ [2021-02-22T14:59:32.913Z] make package [2021-02-22T14:59:32.913Z] [ 72%] Built target csdk [2021-02-22T14:59:32.913Z] [ 76%] Built target template [2021-02-22T14:59:32.913Z] [ 79%] Built target device-counter [2021-02-22T14:59:32.913Z] [ 83%] Built target device-random [2021-02-22T14:59:32.913Z] [ 86%] Built target device-gyro [2021-02-22T14:59:33.177Z] [ 89%] Built target device-bitfields [2021-02-22T14:59:33.177Z] [ 93%] Built target template-discovery [2021-02-22T14:59:33.177Z] [ 96%] Built target device-file [2021-02-22T14:59:33.177Z] [100%] Built target device-terminal [2021-02-22T14:59:33.177Z] Run CPack packaging tool... [2021-02-22T14:59:33.177Z] CPack: Create package using TGZ [2021-02-22T14:59:33.177Z] CPack: Install projects [2021-02-22T14:59:33.177Z] CPack: - Run preinstall target for: Csdk [2021-02-22T14:59:33.202Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-02-22T14:59:33.202Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-02-22T14:59:33.440Z] CPack: - Install project: Csdk [2021-02-22T14:59:33.440Z] CPack: Create package [2021-02-22T14:59:33.440Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-02-22T14:59:33.440Z] + '[' false '=' true ] [2021-02-22T14:59:33.440Z] + '[' false '=' true ] [2021-02-22T14:59:33.440Z] + mkdir -p /tmp/sdk/build/debug [2021-02-22T14:59:33.440Z] + cd /tmp/sdk/build/debug [2021-02-22T14:59:33.440Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-02-22T14:59:33.440Z] -- The C compiler identification is GNU 8.3.0 [2021-02-22T14:59:33.440Z] -- Check for working C compiler: /usr/bin/cc [2021-02-22T14:59:33.704Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-02-22T14:59:33.704Z] -- Detecting C compiler ABI info [2021-02-22T14:59:33.704Z] -- Detecting C compiler ABI info - done [2021-02-22T14:59:33.704Z] -- Detecting C compile features [2021-02-22T14:59:33.795Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-02-22T14:59:33.970Z] -- Detecting C compile features - done [2021-02-22T14:59:33.970Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-02-22T14:59:33.970Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-02-22T14:59:33.970Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-02-22T14:59:33.970Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-02-22T14:59:33.970Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-02-22T14:59:33.970Z] -- C SDK 0.0.0 for Linux [2021-02-22T14:59:33.970Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-02-22T14:59:33.970Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-02-22T14:59:33.970Z] -- Found Curses: /usr/lib/libcurses.so [2021-02-22T14:59:33.970Z] -- Configuring done [2021-02-22T14:59:34.233Z] -- Generating done [2021-02-22T14:59:34.233Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-02-22T14:59:34.233Z] + make [2021-02-22T14:59:34.233Z] + tee debug.log [2021-02-22T14:59:34.233Z] Scanning dependencies of target csdk [2021-02-22T14:59:34.233Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-02-22T14:59:34.233Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-02-22T14:59:34.386Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-02-22T14:59:34.513Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-02-22T14:59:34.513Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-02-22T14:59:34.660Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-02-22T14:59:34.775Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-02-22T14:59:34.775Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-02-22T14:59:34.775Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-02-22T14:59:34.931Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-02-22T14:59:35.037Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-02-22T14:59:35.037Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-02-22T14:59:35.037Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-02-22T14:59:35.203Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-02-22T14:59:35.299Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-02-22T14:59:35.300Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-02-22T14:59:35.300Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-02-22T14:59:35.300Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-02-22T14:59:35.562Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-02-22T14:59:35.823Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-02-22T14:59:35.823Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-02-22T14:59:35.823Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-02-22T14:59:35.823Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-02-22T14:59:36.090Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-02-22T14:59:36.090Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-02-22T14:59:36.353Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-02-22T14:59:36.353Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-02-22T14:59:36.353Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-02-22T14:59:36.353Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-02-22T14:59:36.615Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-02-22T14:59:36.615Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-02-22T14:59:36.615Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-02-22T14:59:36.615Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-02-22T14:59:36.877Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-02-22T14:59:36.877Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-02-22T14:59:36.877Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-02-22T14:59:37.139Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-02-22T14:59:37.402Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-02-22T14:59:37.402Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-02-22T14:59:37.402Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-02-22T14:59:37.663Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-02-22T14:59:37.663Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-02-22T14:59:37.925Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-02-22T14:59:38.186Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-02-22T14:59:38.186Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-02-22T14:59:38.448Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-02-22T14:59:38.448Z] [ 72%] Linking C shared library libcsdk.so [2021-02-22T14:59:38.448Z] [ 72%] Built target csdk [2021-02-22T14:59:38.448Z] Scanning dependencies of target template [2021-02-22T14:59:38.448Z] [ 74%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-02-22T14:59:38.574Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-02-22T14:59:38.574Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-02-22T14:59:38.709Z] [ 76%] Linking C executable template [2021-02-22T14:59:38.710Z] [ 76%] Built target template [2021-02-22T14:59:38.710Z] Scanning dependencies of target device-counter [2021-02-22T14:59:38.710Z] [ 77%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-02-22T14:59:38.710Z] [ 79%] Linking C executable device-counter [2021-02-22T14:59:38.710Z] [ 79%] Built target device-counter [2021-02-22T14:59:38.710Z] Scanning dependencies of target device-random [2021-02-22T14:59:38.710Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-02-22T14:59:38.845Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-02-22T14:59:38.971Z] [ 83%] Linking C executable device-random [2021-02-22T14:59:38.971Z] [ 83%] Built target device-random [2021-02-22T14:59:38.971Z] Scanning dependencies of target device-gyro [2021-02-22T14:59:38.971Z] [ 84%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-02-22T14:59:38.971Z] [ 86%] Linking C executable device-gyro [2021-02-22T14:59:39.232Z] [ 86%] Built target device-gyro [2021-02-22T14:59:39.232Z] Scanning dependencies of target device-bitfields [2021-02-22T14:59:39.232Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-02-22T14:59:39.232Z] [ 89%] Linking C executable device-bitfields [2021-02-22T14:59:39.232Z] [ 89%] Built target device-bitfields [2021-02-22T14:59:39.232Z] Scanning dependencies of target template-discovery [2021-02-22T14:59:39.232Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-02-22T14:59:39.441Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-02-22T14:59:39.494Z] [ 93%] Linking C executable template-discovery [2021-02-22T14:59:39.494Z] [ 93%] Built target template-discovery [2021-02-22T14:59:39.494Z] Scanning dependencies of target device-file [2021-02-22T14:59:39.494Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-02-22T14:59:39.494Z] [ 96%] Linking C executable device-file [2021-02-22T14:59:39.494Z] [ 96%] Built target device-file [2021-02-22T14:59:39.755Z] Scanning dependencies of target device-terminal [2021-02-22T14:59:39.755Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-02-22T14:59:39.755Z] [100%] Linking C executable device-terminal [2021-02-22T14:59:39.755Z] [100%] Built target device-terminal [2021-02-22T14:59:39.755Z] make: Entering directory '/tmp/sdk/build/release' [2021-02-22T14:59:39.755Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-02-22T14:59:39.755Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-22T14:59:39.755Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-22T14:59:39.755Z] [ 72%] Built target csdk [2021-02-22T14:59:39.755Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-22T14:59:39.755Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-22T14:59:39.755Z] [ 76%] Built target template [2021-02-22T14:59:39.755Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-22T14:59:39.755Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-22T14:59:39.755Z] [ 79%] Built target device-counter [2021-02-22T14:59:39.755Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-22T14:59:40.017Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-22T14:59:40.017Z] [ 83%] Built target device-random [2021-02-22T14:59:40.017Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-22T14:59:40.017Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-22T14:59:40.017Z] [ 86%] Built target device-gyro [2021-02-22T14:59:40.017Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-22T14:59:40.017Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-22T14:59:40.017Z] [ 89%] Built target device-bitfields [2021-02-22T14:59:40.017Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-22T14:59:40.017Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-22T14:59:40.017Z] [ 93%] Built target template-discovery [2021-02-22T14:59:40.017Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-22T14:59:40.017Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-22T14:59:40.017Z] [ 96%] Built target device-file [2021-02-22T14:59:40.017Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-22T14:59:40.017Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-22T14:59:40.017Z] [100%] Built target device-terminal [2021-02-22T14:59:40.017Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-02-22T14:59:40.017Z] Install the project... [2021-02-22T14:59:40.017Z] -- Install configuration: "Release" [2021-02-22T14:59:40.017Z] -- Installing: /usr/local/lib/libcsdk.so [2021-02-22T14:59:40.017Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-02-22T14:59:40.017Z] -- Up-to-date: /usr/local/include [2021-02-22T14:59:40.017Z] -- Installing: /usr/local/include/devsdk [2021-02-22T14:59:40.017Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-02-22T14:59:40.017Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-02-22T14:59:40.017Z] -- Installing: /usr/local/include/edgex [2021-02-22T14:59:40.017Z] -- Installing: /usr/local/include/edgex/devices.h [2021-02-22T14:59:40.017Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-02-22T14:59:40.017Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-02-22T14:59:40.017Z] -- Installing: /usr/local/include/edgex/error.h [2021-02-22T14:59:40.017Z] -- Installing: /usr/local/include/edgex/os.h [2021-02-22T14:59:40.017Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-02-22T14:59:40.017Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-02-22T14:59:40.017Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-02-22T14:59:40.017Z] -- Installing: /usr/local/include/iot [2021-02-22T14:59:40.017Z] -- Installing: /usr/local/include/iot/base64.h [2021-02-22T14:59:40.017Z] -- Installing: /usr/local/include/iot/component.h [2021-02-22T14:59:40.017Z] -- Installing: /usr/local/include/iot/config.h [2021-02-22T14:59:40.017Z] -- Installing: /usr/local/include/iot/container.h [2021-02-22T14:59:40.017Z] -- Installing: /usr/local/include/iot/data.h [2021-02-22T14:59:40.017Z] -- Installing: /usr/local/include/iot/hash.h [2021-02-22T14:59:40.017Z] -- Installing: /usr/local/include/iot/iot.h [2021-02-22T14:59:40.017Z] -- Installing: /usr/local/include/iot/json.h [2021-02-22T14:59:40.017Z] -- Installing: /usr/local/include/iot/logger.h [2021-02-22T14:59:40.017Z] -- Installing: /usr/local/include/iot/os.h [2021-02-22T14:59:40.017Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-02-22T14:59:40.017Z] -- Installing: /usr/local/include/iot/thread.h [2021-02-22T14:59:40.017Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-02-22T14:59:40.017Z] -- Installing: /usr/local/include/iot/time.h [2021-02-22T14:59:40.017Z] -- Installing: /usr/local/include/iot/typecode.h [2021-02-22T14:59:40.017Z] -- Installing: /usr/local/include/iot/os [2021-02-22T14:59:40.017Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-02-22T14:59:40.017Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-02-22T14:59:40.017Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-02-22T14:59:40.017Z] -- Installing: /usr/local/include/iot/defs.h [2021-02-22T14:59:40.017Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-02-22T14:59:40.017Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-02-22T14:59:40.017Z] make: Leaving directory '/tmp/sdk/build/release' [2021-02-22T14:59:40.035Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-02-22T14:59:42.588Z] Removing intermediate container baec1beafaab [2021-02-22T14:59:42.588Z] ---> a412139fb87c [2021-02-22T14:59:42.588Z] Step 14/21 : FROM ${BASE} [2021-02-22T14:59:42.588Z] ---> 5eabd8fd8ba2 [2021-02-22T14:59:42.588Z] Step 15/21 : LABEL maintainer="IOTech " [2021-02-22T14:59:42.588Z] ---> Running in 7b4aa77d8d36 [2021-02-22T14:59:42.588Z] Removing intermediate container 7b4aa77d8d36 [2021-02-22T14:59:42.588Z] ---> 9df2858f422d [2021-02-22T14:59:42.588Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2021-02-22T14:59:42.588Z] ---> Running in fde3f5780730 [2021-02-22T14:59:42.644Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-02-22T14:59:42.644Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-02-22T14:59:42.850Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-02-22T14:59:42.921Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-02-22T14:59:43.514Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-02-22T14:59:43.786Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-02-22T14:59:43.800Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-02-22T14:59:43.800Z] (1/3) Installing curl (7.64.0-r5) [2021-02-22T14:59:44.060Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-02-22T14:59:44.061Z] (2/3) Installing libuuid (2.33-r0) [2021-02-22T14:59:44.061Z] (3/3) Installing wget (1.20.3-r0) [2021-02-22T14:59:44.061Z] Executing busybox-1.29.3-r10.trigger [2021-02-22T14:59:44.061Z] OK: 268 MiB in 78 packages [2021-02-22T14:59:44.638Z] Removing intermediate container fde3f5780730 [2021-02-22T14:59:44.638Z] ---> ccf449c2e51a [2021-02-22T14:59:44.638Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-02-22T14:59:44.909Z] ---> 0636bba0986d [2021-02-22T14:59:44.909Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-02-22T14:59:45.057Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-02-22T14:59:45.177Z] ---> 634467c6d271 [2021-02-22T14:59:45.177Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-02-22T14:59:45.177Z] ---> ec7381655f0c [2021-02-22T14:59:45.177Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-02-22T14:59:45.329Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-02-22T14:59:45.449Z] ---> 728d21f0462f [2021-02-22T14:59:45.449Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-02-22T14:59:45.717Z] ---> 6beb272c2edb [2021-02-22T14:59:45.717Z] Successfully built 6beb272c2edb [2021-02-22T14:59:45.717Z] Successfully tagged ci-base-image-x86_64:latest [2021-02-22T14:59:45.924Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [Pipeline] } [Pipeline] // script [Pipeline] } [2021-02-22T14:59:46.202Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-22T14:59:46.874Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-22T14:59:46.874Z] . [Pipeline] withDockerContainer [2021-02-22T14:59:47.003Z] prd-centos7-docker-4c-2g-27164 does not seem to be running inside a container [2021-02-22T14:59:47.054Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2021-02-22T14:59:48.131Z] $ docker top 78af558db3ada8c87f480c4b7e811f948f5b40dcf103324711c3bf005549d717 -eo pid,comm [2021-02-22T14:59:48.172Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [Pipeline] { [Pipeline] sh [2021-02-22T14:59:48.446Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-02-22T14:59:48.696Z] + make test [2021-02-22T14:59:48.696Z] echo "make test" [2021-02-22T14:59:48.696Z] make test [Pipeline] } [2021-02-22T14:59:48.725Z] $ docker stop --time=1 78af558db3ada8c87f480c4b7e811f948f5b40dcf103324711c3bf005549d717 [2021-02-22T14:59:49.038Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-02-22T14:59:49.310Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-02-22T14:59:50.082Z] $ docker rm -f 78af558db3ada8c87f480c4b7e811f948f5b40dcf103324711c3bf005549d717 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-22T14:59:53.428Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-22T14:59:53.598Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-02-22T14:59:53.763Z] + ls -al . [2021-02-22T14:59:53.763Z] total 160 [2021-02-22T14:59:53.763Z] drwxrwxr-x. 8 jenkins jenkins 260 Feb 22 14:58 . [2021-02-22T14:59:53.763Z] drwxrwxr-x. 4 jenkins jenkins 28 Feb 22 14:58 .. [2021-02-22T14:59:53.763Z] -rw-rw-r--. 1 jenkins jenkins 3104 Feb 22 14:58 Attribution.txt [2021-02-22T14:59:53.763Z] -rw-rw-r--. 1 jenkins jenkins 6735 Feb 22 14:58 CHANGES [2021-02-22T14:59:53.763Z] drwxrwxr-x. 2 jenkins jenkins 144 Feb 22 14:58 docs [2021-02-22T14:59:53.763Z] -rw-rw-r--. 1 jenkins jenkins 108574 Feb 22 14:58 Doxyfile [2021-02-22T14:59:53.763Z] drwxrwxr-x. 8 jenkins jenkins 179 Feb 22 14:58 .git [2021-02-22T14:59:53.763Z] drwxrwxr-x. 2 jenkins jenkins 81 Feb 22 14:58 .github [2021-02-22T14:59:53.763Z] -rw-rw-r--. 1 jenkins jenkins 176 Feb 22 14:58 .gitignore [2021-02-22T14:59:53.763Z] drwxrwxr-x. 4 jenkins jenkins 33 Feb 22 14:58 include [2021-02-22T14:59:53.763Z] -rw-rw-r--. 1 jenkins jenkins 784 Feb 22 14:58 Jenkinsfile [2021-02-22T14:59:53.763Z] -rw-rw-r--. 1 jenkins jenkins 10174 Feb 22 14:58 LICENSE [2021-02-22T14:59:53.763Z] -rw-rw-r--. 1 jenkins jenkins 449 Feb 22 14:58 Makefile [2021-02-22T14:59:53.763Z] -rw-rw-r--. 1 jenkins jenkins 2697 Feb 22 14:58 README.md [2021-02-22T14:59:53.763Z] -rw-rw-r--. 1 jenkins jenkins 6341 Feb 22 14:58 README.v2.md [2021-02-22T14:59:53.763Z] drwxrwxr-x. 2 jenkins jenkins 98 Feb 22 14:58 scripts [2021-02-22T14:59:53.763Z] drwxrwxr-x. 4 jenkins jenkins 50 Feb 22 14:58 src [2021-02-22T14:59:53.763Z] -rw-rw-r--. 1 jenkins jenkins 5 Feb 22 14:55 VERSION [Pipeline] isUnix [Pipeline] sh [2021-02-22T14:59:53.871Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-02-22T14:59:54.106Z] + 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=c6a9da567f257928d81b6c3cd1c2cb1e0ea900d5 --label arch=amd64 --label version=0.0.0 . [2021-02-22T14:59:54.106Z] Sending build context to Docker daemon 2.551MB [2021-02-22T14:59:54.106Z] Step 1/15 : ARG BASE=alpine:3.12 [2021-02-22T14:59:54.106Z] Step 2/15 : FROM ${BASE} [2021-02-22T14:59:54.106Z] ---> 6beb272c2edb [2021-02-22T14:59:54.106Z] Step 3/15 : LABEL maintainer="IOTech " [2021-02-22T14:59:54.465Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-02-22T14:59:54.681Z] ---> Running in 7e3b3b6fa500 [2021-02-22T14:59:54.741Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-02-22T14:59:54.944Z] Removing intermediate container 7e3b3b6fa500 [2021-02-22T14:59:54.944Z] ---> cdf0fdf2e1a5 [2021-02-22T14:59:54.944Z] 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-02-22T14:59:54.944Z] ---> Running in c9715fc90477 [2021-02-22T14:59:55.518Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-02-22T14:59:55.716Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-02-22T14:59:56.090Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-02-22T14:59:56.361Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-02-22T14:59:56.361Z] (2/6) Installing libblkid (2.33-r0) [2021-02-22T14:59:56.622Z] (3/6) Installing libfdisk (2.33-r0) [2021-02-22T14:59:56.622Z] (4/6) Installing libmount (2.33-r0) [2021-02-22T14:59:56.622Z] (5/6) Installing libsmartcols (2.33-r0) [2021-02-22T14:59:56.884Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-02-22T14:59:57.141Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-02-22T14:59:57.151Z] Executing busybox-1.29.3-r10.trigger [2021-02-22T14:59:57.151Z] OK: 272 MiB in 84 packages [2021-02-22T14:59:57.722Z] Removing intermediate container c9715fc90477 [2021-02-22T14:59:57.722Z] ---> 6e7ac83afbeb [2021-02-22T14:59:57.722Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2021-02-22T14:59:57.984Z] ---> c8b1978e8004 [2021-02-22T14:59:57.984Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2021-02-22T14:59:58.557Z] ---> bddac9e56c94 [2021-02-22T14:59:58.557Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2021-02-22T14:59:58.570Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-02-22T14:59:58.819Z] ---> 47c40584b90f [2021-02-22T14:59:58.819Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2021-02-22T14:59:59.081Z] ---> 740feac98c51 [2021-02-22T14:59:59.081Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2021-02-22T14:59:59.342Z] ---> 719788720935 [2021-02-22T14:59:59.342Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2021-02-22T14:59:59.342Z] ---> 2f535bc2be13 [2021-02-22T14:59:59.342Z] Step 11/15 : WORKDIR /edgex-c-sdk [2021-02-22T14:59:59.604Z] ---> Running in 97719e456c45 [2021-02-22T14:59:59.604Z] Removing intermediate container 97719e456c45 [2021-02-22T14:59:59.604Z] ---> ccf94632dd01 [2021-02-22T14:59:59.604Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-02-22T14:59:59.867Z] ---> Running in 04ad0fe26b2a [2021-02-22T14:59:59.867Z] Removing intermediate container 04ad0fe26b2a [2021-02-22T14:59:59.867Z] ---> aeed16f7aafa [2021-02-22T14:59:59.867Z] Step 13/15 : LABEL arch=amd64 [2021-02-22T14:59:59.867Z] ---> Running in 23fb237c3d9d [2021-02-22T15:00:00.128Z] Removing intermediate container 23fb237c3d9d [2021-02-22T15:00:00.128Z] ---> ddbd90712b35 [2021-02-22T15:00:00.128Z] Step 14/15 : LABEL git_sha=c6a9da567f257928d81b6c3cd1c2cb1e0ea900d5 [2021-02-22T15:00:00.128Z] ---> Running in 6693b2b9703d [2021-02-22T15:00:00.390Z] Removing intermediate container 6693b2b9703d [2021-02-22T15:00:00.390Z] ---> 4ba00300525c [2021-02-22T15:00:00.390Z] Step 15/15 : LABEL version=0.0.0 [2021-02-22T15:00:00.390Z] ---> Running in 6346abcf8a1d [2021-02-22T15:00:00.652Z] Removing intermediate container 6346abcf8a1d [2021-02-22T15:00:00.652Z] ---> d692771c5dbb [2021-02-22T15:00:00.652Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-02-22T15:00:00.652Z] Successfully built d692771c5dbb [2021-02-22T15:00:00.652Z] Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [2021-02-22T15:00:01.953Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [2021-02-22T15:00:02.560Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [Pipeline] } [Pipeline] // node [2021-02-22T15:00:02.841Z] [ 72%] Linking C shared library libcsdk.so [Pipeline] } [Pipeline] // stage [2021-02-22T15:00:03.117Z] [ 72%] Built target csdk [2021-02-22T15:00:03.117Z] Scanning dependencies of target template [2021-02-22T15:00:03.117Z] [ 74%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [Pipeline] } [2021-02-22T15:00:03.717Z] [ 76%] Linking C executable template [2021-02-22T15:00:03.989Z] [ 76%] Built target template [2021-02-22T15:00:03.990Z] Scanning dependencies of target device-counter [2021-02-22T15:00:03.990Z] [ 77%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-02-22T15:00:04.583Z] [ 79%] Linking C executable device-counter [2021-02-22T15:00:04.583Z] [ 79%] Built target device-counter [2021-02-22T15:00:04.583Z] Scanning dependencies of target device-random [2021-02-22T15:00:04.583Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-02-22T15:00:05.206Z] [ 83%] Linking C executable device-random [2021-02-22T15:00:05.479Z] [ 83%] Built target device-random [2021-02-22T15:00:05.479Z] Scanning dependencies of target device-gyro [2021-02-22T15:00:05.479Z] [ 84%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-02-22T15:00:05.750Z] [ 86%] Linking C executable device-gyro [2021-02-22T15:00:06.024Z] [ 86%] Built target device-gyro [2021-02-22T15:00:06.024Z] Scanning dependencies of target device-bitfields [2021-02-22T15:00:06.024Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-02-22T15:00:06.621Z] [ 89%] Linking C executable device-bitfields [2021-02-22T15:00:06.895Z] [ 89%] Built target device-bitfields [2021-02-22T15:00:06.895Z] Scanning dependencies of target template-discovery [2021-02-22T15:00:06.895Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-02-22T15:00:07.496Z] [ 93%] Linking C executable template-discovery [2021-02-22T15:00:07.768Z] [ 93%] Built target template-discovery [2021-02-22T15:00:07.768Z] Scanning dependencies of target device-file [2021-02-22T15:00:07.768Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-02-22T15:00:08.364Z] [ 96%] Linking C executable device-file [2021-02-22T15:00:08.638Z] [ 96%] Built target device-file [2021-02-22T15:00:08.638Z] Scanning dependencies of target device-terminal [2021-02-22T15:00:08.638Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-02-22T15:00:09.235Z] [100%] Linking C executable device-terminal [2021-02-22T15:00:09.509Z] [100%] Built target device-terminal [2021-02-22T15:00:09.509Z] + + maketee package -a [2021-02-22T15:00:09.509Z] release.log [2021-02-22T15:00:09.509Z] [ 72%] Built target csdk [2021-02-22T15:00:09.509Z] [ 76%] Built target template [2021-02-22T15:00:09.782Z] [ 79%] Built target device-counter [2021-02-22T15:00:09.782Z] [ 83%] Built target device-random [2021-02-22T15:00:09.782Z] [ 86%] Built target device-gyro [2021-02-22T15:00:09.782Z] [ 89%] Built target device-bitfields [2021-02-22T15:00:09.782Z] [ 93%] Built target template-discovery [2021-02-22T15:00:09.782Z] [ 96%] Built target device-file [2021-02-22T15:00:09.782Z] [100%] Built target device-terminal [2021-02-22T15:00:10.055Z] Run CPack packaging tool... [2021-02-22T15:00:10.055Z] CPack: Create package using TGZ [2021-02-22T15:00:10.055Z] CPack: Install projects [2021-02-22T15:00:10.055Z] CPack: - Run preinstall target for: Csdk [2021-02-22T15:00:10.659Z] CPack: - Install project: Csdk [2021-02-22T15:00:10.659Z] CPack: Create package [2021-02-22T15:00:10.659Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-02-22T15:00:10.659Z] + '[' false '=' true ] [2021-02-22T15:00:10.659Z] + '[' false '=' true ] [2021-02-22T15:00:10.659Z] + mkdir -p /tmp/sdk/build/debug [2021-02-22T15:00:10.659Z] + cd /tmp/sdk/build/debug [2021-02-22T15:00:10.659Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-02-22T15:00:10.935Z] -- The C compiler identification is GNU 8.3.0 [2021-02-22T15:00:10.935Z] -- Check for working C compiler: /usr/bin/cc [2021-02-22T15:00:11.209Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-02-22T15:00:11.209Z] -- Detecting C compiler ABI info [2021-02-22T15:00:11.484Z] -- Detecting C compiler ABI info - done [2021-02-22T15:00:11.484Z] -- Detecting C compile features [2021-02-22T15:00:12.465Z] -- Detecting C compile features - done [2021-02-22T15:00:12.465Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-02-22T15:00:12.465Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-02-22T15:00:12.465Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-02-22T15:00:12.465Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-02-22T15:00:12.465Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-02-22T15:00:12.465Z] -- C SDK 0.0.0 for Linux [2021-02-22T15:00:12.465Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-02-22T15:00:12.465Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-02-22T15:00:12.465Z] -- Found Curses: /usr/lib/libcurses.so [2021-02-22T15:00:12.739Z] -- Configuring done [2021-02-22T15:00:13.013Z] -- Generating done [2021-02-22T15:00:13.013Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-02-22T15:00:13.013Z] + make [2021-02-22T15:00:13.013Z] + tee debug.log [2021-02-22T15:00:13.013Z] Scanning dependencies of target csdk [2021-02-22T15:00:13.287Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-02-22T15:00:13.560Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-02-22T15:00:13.833Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-02-22T15:00:14.430Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-02-22T15:00:14.705Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-02-22T15:00:14.978Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-02-22T15:00:15.252Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-02-22T15:00:15.850Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-02-22T15:00:16.123Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-02-22T15:00:16.397Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-02-22T15:00:16.673Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-02-22T15:00:16.947Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-02-22T15:00:17.220Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-02-22T15:00:17.493Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-02-22T15:00:18.089Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-02-22T15:00:18.361Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-02-22T15:00:18.643Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-02-22T15:00:18.915Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-02-22T15:00:19.188Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-02-22T15:00:19.784Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-02-22T15:00:20.058Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-02-22T15:00:20.333Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-02-22T15:00:20.333Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-02-22T15:00:20.609Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-02-22T15:00:20.883Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-02-22T15:00:21.156Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-02-22T15:00:21.430Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-02-22T15:00:21.700Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-02-22T15:00:21.700Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-02-22T15:00:22.294Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-02-22T15:00:22.294Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-02-22T15:00:22.888Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-02-22T15:00:22.888Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-02-22T15:00:23.864Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-02-22T15:00:24.136Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-02-22T15:00:24.409Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-02-22T15:00:24.682Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-02-22T15:00:24.956Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-02-22T15:00:25.932Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-02-22T15:00:26.531Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-02-22T15:00:27.127Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-02-22T15:00:27.402Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-02-22T15:00:27.675Z] [ 72%] Linking C shared library libcsdk.so [2021-02-22T15:00:27.948Z] [ 72%] Built target csdk [2021-02-22T15:00:27.948Z] Scanning dependencies of target template [2021-02-22T15:00:27.948Z] [ 74%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-02-22T15:00:28.220Z] [ 76%] Linking C executable template [2021-02-22T15:00:28.497Z] [ 76%] Built target template [2021-02-22T15:00:28.497Z] Scanning dependencies of target device-counter [2021-02-22T15:00:28.497Z] [ 77%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-02-22T15:00:28.771Z] [ 79%] Linking C executable device-counter [2021-02-22T15:00:29.045Z] [ 79%] Built target device-counter [2021-02-22T15:00:29.045Z] Scanning dependencies of target device-random [2021-02-22T15:00:29.045Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-02-22T15:00:29.320Z] [ 83%] Linking C executable device-random [2021-02-22T15:00:29.320Z] [ 83%] Built target device-random [2021-02-22T15:00:29.598Z] Scanning dependencies of target device-gyro [2021-02-22T15:00:29.598Z] [ 84%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-02-22T15:00:29.598Z] [ 86%] Linking C executable device-gyro [2021-02-22T15:00:29.873Z] [ 86%] Built target device-gyro [2021-02-22T15:00:29.873Z] Scanning dependencies of target device-bitfields [2021-02-22T15:00:29.873Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-02-22T15:00:30.148Z] [ 89%] Linking C executable device-bitfields [2021-02-22T15:00:30.427Z] [ 89%] Built target device-bitfields [2021-02-22T15:00:30.427Z] Scanning dependencies of target template-discovery [2021-02-22T15:00:30.427Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-02-22T15:00:30.701Z] [ 93%] Linking C executable template-discovery [2021-02-22T15:00:30.980Z] [ 93%] Built target template-discovery [2021-02-22T15:00:30.980Z] Scanning dependencies of target device-file [2021-02-22T15:00:30.980Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-02-22T15:00:31.258Z] [ 96%] Linking C executable device-file [2021-02-22T15:00:31.534Z] [ 96%] Built target device-file [2021-02-22T15:00:31.534Z] Scanning dependencies of target device-terminal [2021-02-22T15:00:31.534Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-02-22T15:00:31.808Z] [100%] Linking C executable device-terminal [2021-02-22T15:00:32.080Z] [100%] Built target device-terminal [2021-02-22T15:00:32.080Z] make: Entering directory '/tmp/sdk/build/release' [2021-02-22T15:00:32.080Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-02-22T15:00:32.080Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-22T15:00:32.354Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-22T15:00:32.354Z] [ 72%] Built target csdk [2021-02-22T15:00:32.354Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-22T15:00:32.354Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-22T15:00:32.354Z] [ 76%] Built target template [2021-02-22T15:00:32.354Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-22T15:00:32.354Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-22T15:00:32.354Z] [ 79%] Built target device-counter [2021-02-22T15:00:32.354Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-22T15:00:32.354Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-22T15:00:32.354Z] [ 83%] Built target device-random [2021-02-22T15:00:32.354Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-22T15:00:32.354Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-22T15:00:32.354Z] [ 86%] Built target device-gyro [2021-02-22T15:00:32.354Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-22T15:00:32.354Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-22T15:00:32.628Z] [ 89%] Built target device-bitfields [2021-02-22T15:00:32.628Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-22T15:00:32.628Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-22T15:00:32.628Z] [ 93%] Built target template-discovery [2021-02-22T15:00:32.628Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-22T15:00:32.628Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-22T15:00:32.628Z] [ 96%] Built target device-file [2021-02-22T15:00:32.628Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-22T15:00:32.628Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-22T15:00:32.628Z] [100%] Built target device-terminal [2021-02-22T15:00:32.628Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-02-22T15:00:32.628Z] Install the project... [2021-02-22T15:00:32.628Z] -- Install configuration: "Release" [2021-02-22T15:00:32.628Z] -- Installing: /usr/local/lib/libcsdk.so [2021-02-22T15:00:32.628Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-02-22T15:00:32.628Z] -- Up-to-date: /usr/local/include [2021-02-22T15:00:32.628Z] -- Installing: /usr/local/include/edgex [2021-02-22T15:00:32.628Z] -- Installing: /usr/local/include/edgex/error.h [2021-02-22T15:00:32.628Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-02-22T15:00:32.628Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-02-22T15:00:32.628Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-02-22T15:00:32.628Z] -- Installing: /usr/local/include/edgex/devices.h [2021-02-22T15:00:32.628Z] -- Installing: /usr/local/include/edgex/os.h [2021-02-22T15:00:32.628Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-02-22T15:00:32.628Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-02-22T15:00:32.628Z] -- Installing: /usr/local/include/devsdk [2021-02-22T15:00:32.628Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-02-22T15:00:32.628Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-02-22T15:00:32.628Z] -- Installing: /usr/local/include/iot [2021-02-22T15:00:32.628Z] -- Installing: /usr/local/include/iot/json.h [2021-02-22T15:00:32.628Z] -- Installing: /usr/local/include/iot/container.h [2021-02-22T15:00:32.628Z] -- Installing: /usr/local/include/iot/component.h [2021-02-22T15:00:32.628Z] -- Installing: /usr/local/include/iot/typecode.h [2021-02-22T15:00:32.628Z] -- Installing: /usr/local/include/iot/iot.h [2021-02-22T15:00:32.628Z] -- Installing: /usr/local/include/iot/time.h [2021-02-22T15:00:32.628Z] -- Installing: /usr/local/include/iot/hash.h [2021-02-22T15:00:32.628Z] -- Installing: /usr/local/include/iot/logger.h [2021-02-22T15:00:32.628Z] -- Installing: /usr/local/include/iot/os [2021-02-22T15:00:32.628Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-02-22T15:00:32.628Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-02-22T15:00:32.628Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-02-22T15:00:32.628Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-02-22T15:00:32.628Z] -- Installing: /usr/local/include/iot/data.h [2021-02-22T15:00:32.628Z] -- Installing: /usr/local/include/iot/thread.h [2021-02-22T15:00:32.628Z] -- Installing: /usr/local/include/iot/os.h [2021-02-22T15:00:32.628Z] -- Installing: /usr/local/include/iot/base64.h [2021-02-22T15:00:32.628Z] -- Installing: /usr/local/include/iot/defs.h [2021-02-22T15:00:32.628Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-02-22T15:00:32.628Z] -- Installing: /usr/local/include/iot/config.h [2021-02-22T15:00:32.628Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-02-22T15:00:32.628Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-02-22T15:00:32.628Z] make: Leaving directory '/tmp/sdk/build/release' [2021-02-22T15:00:35.259Z] Removing intermediate container 7a8248ad3077 [2021-02-22T15:00:35.259Z] ---> fab6178f3a9e [2021-02-22T15:00:35.259Z] Step 14/21 : FROM ${BASE} [2021-02-22T15:00:35.259Z] ---> b23d30803547 [2021-02-22T15:00:35.259Z] Step 15/21 : LABEL maintainer="IOTech " [2021-02-22T15:00:35.259Z] ---> Running in 00212f0ead4a [2021-02-22T15:00:35.544Z] Removing intermediate container 00212f0ead4a [2021-02-22T15:00:35.544Z] ---> 337e5fac1818 [2021-02-22T15:00:35.544Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2021-02-22T15:00:35.544Z] ---> Running in 6de87a249a11 [2021-02-22T15:00:37.001Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-02-22T15:00:37.598Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-02-22T15:00:37.871Z] (1/3) Installing curl (7.64.0-r5) [2021-02-22T15:00:38.146Z] (2/3) Installing libuuid (2.33-r0) [2021-02-22T15:00:38.146Z] (3/3) Installing wget (1.20.3-r0) [2021-02-22T15:00:38.146Z] Executing busybox-1.29.3-r10.trigger [2021-02-22T15:00:38.421Z] OK: 281 MiB in 78 packages [2021-02-22T15:00:39.399Z] Removing intermediate container 6de87a249a11 [2021-02-22T15:00:39.399Z] ---> 041d78b17d27 [2021-02-22T15:00:39.399Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-02-22T15:00:40.385Z] ---> 4197b4903913 [2021-02-22T15:00:40.385Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-02-22T15:00:40.990Z] ---> a79fa145e3b6 [2021-02-22T15:00:40.990Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-02-22T15:00:41.589Z] ---> 50a9b16d8503 [2021-02-22T15:00:41.589Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-02-22T15:00:42.574Z] ---> af7377d067da [2021-02-22T15:00:42.574Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-02-22T15:00:43.174Z] ---> d5471144f8ba [2021-02-22T15:00:43.174Z] Successfully built d5471144f8ba [2021-02-22T15:00:43.174Z] 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-02-22T15:00:44.307Z] + docker inspect -f . ci-base-image-arm64 [2021-02-22T15:00:44.307Z] . [Pipeline] withDockerContainer [2021-02-22T15:00:44.633Z] prd-ubuntu18.04-docker-arm64-4c-16g-27163 does not seem to be running inside a container [2021-02-22T15:00:44.723Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2021-02-22T15:00:46.315Z] $ docker top 1d10d11c337593206ad908c78b7ee968b0c8ee7a1106fab4cef6ac1ae8c35931 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-22T15:00:47.405Z] + make test [2021-02-22T15:00:47.405Z] echo "make test" [2021-02-22T15:00:47.405Z] make test [Pipeline] } [2021-02-22T15:00:47.444Z] $ docker stop --time=1 1d10d11c337593206ad908c78b7ee968b0c8ee7a1106fab4cef6ac1ae8c35931 [2021-02-22T15:00:49.410Z] $ docker rm -f 1d10d11c337593206ad908c78b7ee968b0c8ee7a1106fab4cef6ac1ae8c35931 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-22T15:00:50.667Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-22T15:00:51.026Z] + ls -al . [2021-02-22T15:00:51.026Z] total 192 [2021-02-22T15:00:51.026Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 22 14:58 . [2021-02-22T15:00:51.026Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 14:58 .. [2021-02-22T15:00:51.026Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 22 14:58 .git [2021-02-22T15:00:51.026Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 14:58 .github [2021-02-22T15:00:51.026Z] -rw-rw-r-- 1 jenkins jenkins 176 Feb 22 14:58 .gitignore [2021-02-22T15:00:51.026Z] -rw-rw-r-- 1 jenkins jenkins 3104 Feb 22 14:58 Attribution.txt [2021-02-22T15:00:51.026Z] -rw-rw-r-- 1 jenkins jenkins 6735 Feb 22 14:58 CHANGES [2021-02-22T15:00:51.026Z] -rw-rw-r-- 1 jenkins jenkins 108574 Feb 22 14:58 Doxyfile [2021-02-22T15:00:51.026Z] -rw-rw-r-- 1 jenkins jenkins 784 Feb 22 14:58 Jenkinsfile [2021-02-22T15:00:51.026Z] -rw-rw-r-- 1 jenkins jenkins 10174 Feb 22 14:58 LICENSE [2021-02-22T15:00:51.026Z] -rw-rw-r-- 1 jenkins jenkins 449 Feb 22 14:58 Makefile [2021-02-22T15:00:51.026Z] -rw-rw-r-- 1 jenkins jenkins 2697 Feb 22 14:58 README.md [2021-02-22T15:00:51.026Z] -rw-rw-r-- 1 jenkins jenkins 6341 Feb 22 14:58 README.v2.md [2021-02-22T15:00:51.026Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 22 14:55 VERSION [2021-02-22T15:00:51.026Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 14:58 docs [2021-02-22T15:00:51.026Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 14:58 include [2021-02-22T15:00:51.026Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 14:58 scripts [2021-02-22T15:00:51.026Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 14:58 src [Pipeline] isUnix [Pipeline] sh [2021-02-22T15:00:51.405Z] + 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=c6a9da567f257928d81b6c3cd1c2cb1e0ea900d5 --label arch=arm64 --label version=0.0.0 . [2021-02-22T15:00:52.014Z] Sending build context to Docker daemon 2.55MB [2021-02-22T15:00:52.014Z] Step 1/15 : ARG BASE=alpine:3.12 [2021-02-22T15:00:52.014Z] Step 2/15 : FROM ${BASE} [2021-02-22T15:00:52.014Z] ---> d5471144f8ba [2021-02-22T15:00:52.014Z] Step 3/15 : LABEL maintainer="IOTech " [2021-02-22T15:00:52.014Z] ---> Running in c1372cc2e896 [2021-02-22T15:00:52.611Z] Removing intermediate container c1372cc2e896 [2021-02-22T15:00:52.611Z] ---> 63a7f5eb8e92 [2021-02-22T15:00:52.611Z] 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-02-22T15:00:52.884Z] ---> Running in 90ba47661672 [2021-02-22T15:00:53.864Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-02-22T15:00:54.844Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-02-22T15:00:55.117Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-02-22T15:00:55.117Z] (2/6) Installing libblkid (2.33-r0) [2021-02-22T15:00:55.400Z] (3/6) Installing libfdisk (2.33-r0) [2021-02-22T15:00:55.400Z] (4/6) Installing libmount (2.33-r0) [2021-02-22T15:00:55.400Z] (5/6) Installing libsmartcols (2.33-r0) [2021-02-22T15:00:55.673Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-02-22T15:00:55.953Z] Executing busybox-1.29.3-r10.trigger [2021-02-22T15:00:55.953Z] OK: 286 MiB in 84 packages [2021-02-22T15:00:57.406Z] Removing intermediate container 90ba47661672 [2021-02-22T15:00:57.406Z] ---> 95d55e22882d [2021-02-22T15:00:57.406Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2021-02-22T15:00:58.006Z] ---> a429c1310a89 [2021-02-22T15:00:58.006Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2021-02-22T15:00:58.990Z] ---> 64be0bccde80 [2021-02-22T15:00:58.990Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2021-02-22T15:00:59.586Z] ---> 82d11c480b11 [2021-02-22T15:00:59.586Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2021-02-22T15:01:00.585Z] ---> 71fe7e2a8f5d [2021-02-22T15:01:00.585Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2021-02-22T15:01:00.861Z] ---> 62d6680aa95e [2021-02-22T15:01:00.861Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2021-02-22T15:01:01.846Z] ---> d07d754bdf22 [2021-02-22T15:01:01.846Z] Step 11/15 : WORKDIR /edgex-c-sdk [2021-02-22T15:01:01.846Z] ---> Running in 691430fe0162 [2021-02-22T15:01:02.448Z] Removing intermediate container 691430fe0162 [2021-02-22T15:01:02.448Z] ---> 2c2eb50a1cbf [2021-02-22T15:01:02.448Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-02-22T15:01:02.723Z] ---> Running in f17b5d73f1dc [2021-02-22T15:01:02.996Z] Removing intermediate container f17b5d73f1dc [2021-02-22T15:01:02.996Z] ---> df021134f520 [2021-02-22T15:01:02.996Z] Step 13/15 : LABEL arch=arm64 [2021-02-22T15:01:03.271Z] ---> Running in 71b857763a5b [2021-02-22T15:01:03.869Z] Removing intermediate container 71b857763a5b [2021-02-22T15:01:03.869Z] ---> 537ffc0c6a9d [2021-02-22T15:01:03.869Z] Step 14/15 : LABEL git_sha=c6a9da567f257928d81b6c3cd1c2cb1e0ea900d5 [2021-02-22T15:01:03.869Z] ---> Running in 4439c5613826 [2021-02-22T15:01:04.467Z] Removing intermediate container 4439c5613826 [2021-02-22T15:01:04.467Z] ---> 91534f5faddd [2021-02-22T15:01:04.467Z] Step 15/15 : LABEL version=0.0.0 [2021-02-22T15:01:04.467Z] ---> Running in 895dbc77ceca [2021-02-22T15:01:05.062Z] Removing intermediate container 895dbc77ceca [2021-02-22T15:01:05.062Z] ---> 29fcd70ffaeb [2021-02-22T15:01:05.062Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-02-22T15:01:05.062Z] Successfully built 29fcd70ffaeb [2021-02-22T15:01:05.062Z] 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] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-02-22T15:01:08.934Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-22T15:01:09.287Z] ---> package-listing.sh [2021-02-22T15:01:09.287Z] ++ facter osfamily [2021-02-22T15:01:09.287Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-22T15:01:09.287Z] + OS_FAMILY=redhat [2021-02-22T15:01:09.287Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-324 [2021-02-22T15:01:09.287Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-22T15:01:09.287Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-22T15:01:09.287Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-22T15:01:09.287Z] + PACKAGES=/tmp/packages_start.txt [2021-02-22T15:01:09.287Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-324 ']' [2021-02-22T15:01:09.287Z] + PACKAGES=/tmp/packages_end.txt [2021-02-22T15:01:09.287Z] + case "${OS_FAMILY}" in [2021-02-22T15:01:09.287Z] + rpm -qa [2021-02-22T15:01:09.287Z] + sort [2021-02-22T15:01:14.617Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-22T15:01:14.618Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-22T15:01:14.618Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-22T15:01:14.618Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-324 ']' [2021-02-22T15:01:14.618Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-324/archives/ [2021-02-22T15:01:14.618Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-324/archives/ [Pipeline] echo [2021-02-22T15:01:14.659Z] 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-324/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-22T15:01:14.995Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-22T15:01:15.360Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-22T15:01:15.360Z] [2021-02-22T15:01:15.360Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-22T15:01:15.863Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-22T15:01:15.863Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-22T15:01:15.863Z] df20fa9351a1: Pulling fs layer [2021-02-22T15:01:15.863Z] 36b3adc4ff6f: Pulling fs layer [2021-02-22T15:01:15.863Z] 8ad3a11d3b57: Pulling fs layer [2021-02-22T15:01:15.863Z] 46f8f816bc3b: Pulling fs layer [2021-02-22T15:01:15.863Z] 93b61091891f: Pulling fs layer [2021-02-22T15:01:15.863Z] 93b9cdb0e59b: Pulling fs layer [2021-02-22T15:01:15.863Z] 5e14af77c1be: Pulling fs layer [2021-02-22T15:01:15.863Z] 01666e4c0597: Pulling fs layer [2021-02-22T15:01:15.863Z] aa168da1d23b: Pulling fs layer [2021-02-22T15:01:15.863Z] 46f8f816bc3b: Waiting [2021-02-22T15:01:15.863Z] 93b61091891f: Waiting [2021-02-22T15:01:15.863Z] 93b9cdb0e59b: Waiting [2021-02-22T15:01:15.863Z] 5e14af77c1be: Waiting [2021-02-22T15:01:15.863Z] 01666e4c0597: Waiting [2021-02-22T15:01:15.863Z] aa168da1d23b: Waiting [2021-02-22T15:01:15.863Z] 36b3adc4ff6f: Verifying Checksum [2021-02-22T15:01:15.863Z] 36b3adc4ff6f: Download complete [2021-02-22T15:01:16.131Z] 46f8f816bc3b: Download complete [2021-02-22T15:01:16.131Z] df20fa9351a1: Verifying Checksum [2021-02-22T15:01:16.131Z] df20fa9351a1: Download complete [2021-02-22T15:01:16.131Z] 93b9cdb0e59b: Verifying Checksum [2021-02-22T15:01:16.131Z] 93b9cdb0e59b: Download complete [2021-02-22T15:01:16.131Z] 93b61091891f: Verifying Checksum [2021-02-22T15:01:16.131Z] 93b61091891f: Download complete [2021-02-22T15:01:16.131Z] 01666e4c0597: Verifying Checksum [2021-02-22T15:01:16.131Z] 01666e4c0597: Download complete [2021-02-22T15:01:16.131Z] 8ad3a11d3b57: Verifying Checksum [2021-02-22T15:01:16.131Z] 8ad3a11d3b57: Download complete [2021-02-22T15:01:16.131Z] 5e14af77c1be: Verifying Checksum [2021-02-22T15:01:16.131Z] 5e14af77c1be: Download complete [2021-02-22T15:01:16.400Z] df20fa9351a1: Pull complete [2021-02-22T15:01:16.400Z] 36b3adc4ff6f: Pull complete [2021-02-22T15:01:17.360Z] 8ad3a11d3b57: Pull complete [2021-02-22T15:01:17.360Z] 46f8f816bc3b: Pull complete [2021-02-22T15:01:17.942Z] 93b61091891f: Pull complete [2021-02-22T15:01:17.942Z] 93b9cdb0e59b: Pull complete [2021-02-22T15:01:18.207Z] aa168da1d23b: Verifying Checksum [2021-02-22T15:01:18.207Z] aa168da1d23b: Download complete [2021-02-22T15:01:18.468Z] 5e14af77c1be: Pull complete [2021-02-22T15:01:18.468Z] 01666e4c0597: Pull complete [2021-02-22T15:01:25.077Z] aa168da1d23b: Pull complete [2021-02-22T15:01:25.077Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-22T15:01:25.077Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-22T15:01:25.077Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-22T15:01:25.227Z] prd-centos7-docker-4c-2g-27162 does not seem to be running inside a container [2021-02-22T15:01:25.274Z] $ 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-324/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-324 -v /w/workspace/edgexfoundry_device-sdk-c_PR-324:/w/workspace/edgexfoundry_device-sdk-c_PR-324:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-324@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-324@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-02-22T15:01:28.724Z] $ docker top f8f8ca027cf213f28b82af205d867cf8c6aa5c5c35ff0b5c8e8e02e0905c5f1c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-22T15:01:29.272Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-22T15:01:29.587Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-22T15:01:29.907Z] + ls /var/log/sa-host [2021-02-22T15:01:29.908Z] + sadf -c /var/log/sa-host/sa22 [2021-02-22T15:01:29.908Z] file_magic: OK [2021-02-22T15:01:29.908Z] HZ: Using current value: 100 [2021-02-22T15:01:29.908Z] file_header: OK [2021-02-22T15:01:29.908Z] 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-02-22T15:01:29.908Z] Statistics: [2021-02-22T15:01:29.908Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-22T15:01:29.908Z] File successfully converted to sysstat format version 12.2.1 [2021-02-22T15:01:29.908Z] + sadf -c /var/log/sa-host/sa23 [2021-02-22T15:01:29.908Z] file_magic: OK [2021-02-22T15:01:29.908Z] HZ: Using current value: 100 [2021-02-22T15:01:29.908Z] file_header: OK [2021-02-22T15:01:29.908Z] 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-02-22T15:01:29.908Z] Statistics: [2021-02-22T15:01:29.908Z] Hnuu...uuuununununu... [2021-02-22T15:01:29.908Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-22T15:01:32.156Z] provisioning config files... [2021-02-22T15:01:32.182Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-324@tmp/config1288226796939005675tmp [Pipeline] { [Pipeline] echo [2021-02-22T15:01:32.333Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-22T15:01:32.663Z] ---> create-netrc.sh [Pipeline] } [2021-02-22T15:01:32.692Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-22T15:01:32.839Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-22T15:01:33.165Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-22T15:01:33.192Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-22T15:01:33.523Z] ---> sudo-logs.sh [2021-02-22T15:01:33.523Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-02-22T15:01:33.645Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-22T15:01:33.977Z] ---> job-cost.sh [2021-02-22T15:01:33.977Z] lf-activate-venv: SKIPPING [2021-02-22T15:01:33.977Z] INFO: No Stack... [2021-02-22T15:01:36.519Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-22T15:01:36.779Z] INFO: Archiving Costs [Pipeline] echo [2021-02-22T15:01:36.811Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-22T15:01:37.146Z] ---> logs-deploy.sh [2021-02-22T15:01:37.146Z] lf-activate-venv: SKIPPING [2021-02-22T15:01:37.146Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-324/1 [2021-02-22T15:01:37.146Z] INFO: archiving workspace using pattern(s): [2021-02-22T15:01:38.535Z] Archives upload complete. [2021-02-22T15:01:38.799Z] INFO: archiving logs to Nexus