Pull request #331 updated 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 faf7e9b42be0248c17063f68c1f9b8916e20c11f+603e15a22e98ad0ffc0e9ce671b1afa02ea84060 (02e7d2fb182f4760d6cc8246c87a2df70ca2aefd) Running in Durability level: PERFORMANCE_OPTIMIZED 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 Checking out Revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > 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 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-c DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-29653 in /w/workspace/edgexfoundry_device-sdk-c_PR-331 [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-331 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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/331/head:refs/remotes/origin/PR-331 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 into PR head commit faf7e9b42be0248c17063f68c1f9b8916e20c11f Merge succeeded, producing faf7e9b42be0248c17063f68c1f9b8916e20c11f Checking out Revision faf7e9b42be0248c17063f68c1f9b8916e20c11f (PR-331) > git config core.sparsecheckout # timeout=10 > git checkout -f faf7e9b42be0248c17063f68c1f9b8916e20c11f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f faf7e9b42be0248c17063f68c1f9b8916e20c11f # timeout=10 Commit message: "feat: create new devices from json/toml files in configured directory fix: update AutoEvent marshaling for v2 fix: null-terminate incoming http data docs: update metrics documentation for v2" First time build. Skipping changelog. > git rev-list --no-walk 06ade1fa7729c29c4541d63534fa6253b829bfc5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-12T16:40:43.839Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-12T16:40:44.197Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-12T16:40:44.355Z] ========================================================= [2021-03-12T16:40:44.355Z] EdgeX Global Pipelines Version Info [2021-03-12T16:40:44.355Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-12T16:40:46.807Z] ------------------- [2021-03-12T16:40:46.807Z] stable info: [2021-03-12T16:40:46.807Z] ------------------- [2021-03-12T16:40:46.807Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-12T16:40:46.807Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-12T16:40:46.807Z] Message: update stable to v1.0.184 [2021-03-12T16:40:47.766Z] ------------------- [2021-03-12T16:40:47.766Z] experimental info: [2021-03-12T16:40:47.766Z] ------------------- [2021-03-12T16:40:47.766Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-12T16:40:47.766Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-12T16:40:47.766Z] Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-12T16:40:48.094Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-03-12T16:40:48.253Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-03-12T16:40:48.364Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-12T16:40:48.475Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-12T16:40:48.589Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-12T16:40:48.740Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-03-12T16:40:48.846Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-03-12T16:40:49.195Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-03-12T16:40:49.301Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-12T16:40:49.665Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-c [Pipeline] echo [2021-03-12T16:40:49.762Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-12T16:40:49.867Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-12T16:40:49.991Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-12T16:40:50.130Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-12T16:40:50.306Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-12T16:40:50.410Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-12T16:40:50.574Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-12T16:40:50.695Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-331 [Pipeline] echo [2021-03-12T16:40:50.794Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-331 [Pipeline] echo [2021-03-12T16:40:51.047Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-331 [Pipeline] echo [2021-03-12T16:40:51.161Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = faf7e9b42be0248c17063f68c1f9b8916e20c11f [Pipeline] echo [2021-03-12T16:40:51.261Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = faf7e9b [Pipeline] echo [2021-03-12T16:40:51.385Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-12T16:40:51.614Z] provisioning config files... [2021-03-12T16:40:51.647Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp/config1134648696586721083tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-12T16:40:52.009Z] ---> docker-login.sh [2021-03-12T16:40:52.009Z] nexus3.edgexfoundry.org:10001 [2021-03-12T16:40:52.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T16:40:52.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T16:40:52.273Z] Configure a credential helper to remove this warning. See [2021-03-12T16:40:52.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T16:40:52.273Z] [2021-03-12T16:40:52.273Z] Login Succeeded [2021-03-12T16:40:52.273Z] nexus3.edgexfoundry.org:10002 [2021-03-12T16:40:52.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T16:40:52.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T16:40:52.537Z] Configure a credential helper to remove this warning. See [2021-03-12T16:40:52.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T16:40:52.537Z] [2021-03-12T16:40:52.537Z] Login Succeeded [2021-03-12T16:40:52.537Z] nexus3.edgexfoundry.org:10003 [2021-03-12T16:40:52.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T16:40:52.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T16:40:52.801Z] Configure a credential helper to remove this warning. See [2021-03-12T16:40:52.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T16:40:52.801Z] [2021-03-12T16:40:52.801Z] Login Succeeded [2021-03-12T16:40:52.801Z] nexus3.edgexfoundry.org:10004 [2021-03-12T16:40:52.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T16:40:53.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T16:40:53.068Z] Configure a credential helper to remove this warning. See [2021-03-12T16:40:53.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T16:40:53.068Z] [2021-03-12T16:40:53.068Z] Login Succeeded [2021-03-12T16:40:53.068Z] docker.io [2021-03-12T16:40:53.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T16:40:53.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T16:40:53.332Z] Configure a credential helper to remove this warning. See [2021-03-12T16:40:53.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T16:40:53.332Z] [2021-03-12T16:40:53.332Z] Login Succeeded [2021-03-12T16:40:53.332Z] ---> docker-login.sh ends [Pipeline] } [2021-03-12T16:40:53.343Z] 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-03-12T16:40:55.252Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-12T16:40:55.252Z] [2021-03-12T16:40:55.252Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-12T16:40:55.650Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-12T16:40:55.650Z] latest: Pulling from edgex-devops/git-semver [2021-03-12T16:40:55.650Z] 31603596830f: Pulling fs layer [2021-03-12T16:40:55.650Z] 2a8b12db71e7: Pulling fs layer [2021-03-12T16:40:55.650Z] 6ca5941a6612: Pulling fs layer [2021-03-12T16:40:55.650Z] ecc8261a40a4: Pulling fs layer [2021-03-12T16:40:55.650Z] ecc8261a40a4: Waiting [2021-03-12T16:40:55.650Z] 2a8b12db71e7: Verifying Checksum [2021-03-12T16:40:55.650Z] 2a8b12db71e7: Download complete [2021-03-12T16:40:55.914Z] 31603596830f: Verifying Checksum [2021-03-12T16:40:55.914Z] 31603596830f: Download complete [2021-03-12T16:40:55.914Z] ecc8261a40a4: Verifying Checksum [2021-03-12T16:40:55.914Z] ecc8261a40a4: Download complete [2021-03-12T16:40:56.177Z] 6ca5941a6612: Verifying Checksum [2021-03-12T16:40:56.178Z] 6ca5941a6612: Download complete [2021-03-12T16:40:56.178Z] 31603596830f: Pull complete [2021-03-12T16:40:56.456Z] 2a8b12db71e7: Pull complete [2021-03-12T16:40:57.411Z] 6ca5941a6612: Pull complete [2021-03-12T16:40:57.411Z] ecc8261a40a4: Pull complete [2021-03-12T16:40:57.673Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-12T16:40:57.673Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-12T16:40:57.673Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-12T16:40:57.797Z] prd-centos7-docker-4c-2g-29653 does not seem to be running inside a container [2021-03-12T16:40:57.851Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-331 -v /w/workspace/edgexfoundry_device-sdk-c_PR-331:/w/workspace/edgexfoundry_device-sdk-c_PR-331:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-331@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-12T16:40:59.923Z] $ docker top e30c50430ff0d2acc861776529f9fe6481123e60528706b7fbbd9806ff01a4e9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-12T16:41:00.239Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-12T16:41:00.239Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-12T16:41:00.467Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-12T16:41:00.471Z] $ docker exec e30c50430ff0d2acc861776529f9fe6481123e60528706b7fbbd9806ff01a4e9 ssh-agent [2021-03-12T16:41:00.656Z] SSH_AUTH_SOCK=/tmp/ssh-Gi5iNymugCJ2/agent.11 [2021-03-12T16:41:00.656Z] SSH_AGENT_PID=16 [2021-03-12T16:41:00.666Z] Running ssh-add (command line suppressed) [2021-03-12T16:41:00.803Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp/private_key_5248350159903569917.key (/w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp/private_key_5248350159903569917.key) [2021-03-12T16:41:00.860Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-12T16:41:01.208Z] + git tag --points-at HEAD [Pipeline] } [2021-03-12T16:41:01.276Z] $ docker exec --env ******** --env ******** e30c50430ff0d2acc861776529f9fe6481123e60528706b7fbbd9806ff01a4e9 ssh-agent -k [2021-03-12T16:41:01.401Z] unset SSH_AUTH_SOCK; [2021-03-12T16:41:01.401Z] unset SSH_AGENT_PID; [2021-03-12T16:41:01.401Z] echo Agent pid 16 killed; [2021-03-12T16:41:01.456Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-12T16:41:01.636Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-12T16:41:01.636Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-12T16:41:01.815Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-12T16:41:01.819Z] $ docker exec e30c50430ff0d2acc861776529f9fe6481123e60528706b7fbbd9806ff01a4e9 ssh-agent [2021-03-12T16:41:01.999Z] SSH_AUTH_SOCK=/tmp/ssh-DdfgYQZzdAhT/agent.44 [2021-03-12T16:41:01.999Z] SSH_AGENT_PID=49 [2021-03-12T16:41:02.007Z] Running ssh-add (command line suppressed) [2021-03-12T16:41:02.140Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp/private_key_4284043501241848571.key (/w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp/private_key_4284043501241848571.key) [2021-03-12T16:41:02.193Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-12T16:41:02.530Z] + git semver init [2021-03-12T16:41:02.530Z] # -> Open(): unable to determine branch for HEAD [2021-03-12T16:41:02.530Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-331/.git [2021-03-12T16:41:02.530Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-331 [2021-03-12T16:41:02.530Z] # $SEMVER_REMOTE_NAME = origin [2021-03-12T16:41:02.530Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-12T16:41:02.530Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-12T16:41:02.530Z] # $SEMVER_BRANCH = PR-331 [2021-03-12T16:41:02.530Z] # $SEMVER_TEMP = /tmp/semver-082575621 [2021-03-12T16:41:02.530Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-03-12T16:41:05.087Z] # '/tmp/semver-082575621' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-331/.semver' [2021-03-12T16:41:05.087Z] # -> Force: false [2021-03-12T16:41:05.087Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-331/.semver [Pipeline] } [2021-03-12T16:41:05.100Z] $ docker exec --env ******** --env ******** e30c50430ff0d2acc861776529f9fe6481123e60528706b7fbbd9806ff01a4e9 ssh-agent -k [2021-03-12T16:41:05.238Z] unset SSH_AUTH_SOCK; [2021-03-12T16:41:05.239Z] unset SSH_AGENT_PID; [2021-03-12T16:41:05.239Z] echo Agent pid 49 killed; [2021-03-12T16:41:05.286Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-12T16:41:05.764Z] + git semver [Pipeline] } [2021-03-12T16:41:05.781Z] $ docker stop --time=1 e30c50430ff0d2acc861776529f9fe6481123e60528706b7fbbd9806ff01a4e9 [2021-03-12T16:41:07.169Z] $ docker rm -f e30c50430ff0d2acc861776529f9fe6481123e60528706b7fbbd9806ff01a4e9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-12T16:41:07.670Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-12T16:41:08.167Z] Stashed 1 file(s) [Pipeline] echo [2021-03-12T16:41:08.170Z] [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-03-12T16:41:23.569Z] Still waiting to schedule task [2021-03-12T16:41:23.569Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-29653’ [2021-03-12T16:41:23.572Z] Still waiting to schedule task [2021-03-12T16:41:23.572Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-12T16:43:12.221Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-29654 in /w/workspace/edgexfoundry_device-sdk-c_PR-331 [Pipeline] { [Pipeline] ws [2021-03-12T16:43:12.281Z] Running in /w/workspace/device-sdk-c/3 [Pipeline] { [Pipeline] checkout [2021-03-12T16:43:17.160Z] using credential edgex-jenkins-ssh [2021-03-12T16:43:17.227Z] Cloning the remote Git repository [2021-03-12T16:43:17.271Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-03-12T16:43:17.386Z] > git init /w/workspace/device-sdk-c/3 # timeout=10 [2021-03-12T16:43:17.475Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-03-12T16:43:17.475Z] > git --version # timeout=10 [2021-03-12T16:43:17.492Z] > git --version # 'git version 2.17.1' [2021-03-12T16:43:17.494Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-12T16:43:17.542Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-12T16:43:18.540Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-03-12T16:43:19.340Z] Merging remotes/origin/master commit 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 into PR head commit faf7e9b42be0248c17063f68c1f9b8916e20c11f [2021-03-12T16:43:19.620Z] Merge succeeded, producing faf7e9b42be0248c17063f68c1f9b8916e20c11f [2021-03-12T16:43:19.621Z] Checking out Revision faf7e9b42be0248c17063f68c1f9b8916e20c11f (PR-331) [2021-03-12T16:43:18.561Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-12T16:43:18.601Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-03-12T16:43:18.651Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-03-12T16:43:18.652Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-12T16:43:18.664Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/331/head:refs/remotes/origin/PR-331 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-12T16:43:19.350Z] > git config core.sparsecheckout # timeout=10 [2021-03-12T16:43:19.374Z] > git checkout -f faf7e9b42be0248c17063f68c1f9b8916e20c11f # timeout=10 [2021-03-12T16:43:19.496Z] > git remote # timeout=10 [2021-03-12T16:43:19.515Z] > git config --get remote.origin.url # timeout=10 [2021-03-12T16:43:19.539Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-12T16:43:19.550Z] > git merge 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 # timeout=10 [2021-03-12T16:43:19.578Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-12T16:43:19.616Z] > git config core.sparsecheckout # timeout=10 [2021-03-12T16:43:19.636Z] > git checkout -f faf7e9b42be0248c17063f68c1f9b8916e20c11f # timeout=10 [2021-03-12T16:43:24.074Z] Commit message: "feat: create new devices from json/toml files in configured directory fix: update AutoEvent marshaling for v2 fix: null-terminate incoming http data docs: update metrics documentation for v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-12T16:43:25.781Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-12T16:43:26.195Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-12T16:43:26.585Z] + sudo service docker restart [2021-03-12T16:43:26.585Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-12T16:43:29.306Z] provisioning config files... [2021-03-12T16:43:29.342Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/3@tmp/config4620717129634572441tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-12T16:43:29.744Z] ---> docker-login.sh [2021-03-12T16:43:29.744Z] nexus3.edgexfoundry.org:10001 [2021-03-12T16:43:30.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T16:43:30.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T16:43:30.997Z] Configure a credential helper to remove this warning. See [2021-03-12T16:43:30.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T16:43:30.997Z] [2021-03-12T16:43:30.997Z] Login Succeeded [2021-03-12T16:43:30.997Z] nexus3.edgexfoundry.org:10002 [2021-03-12T16:43:31.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T16:43:31.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T16:43:31.545Z] Configure a credential helper to remove this warning. See [2021-03-12T16:43:31.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T16:43:31.545Z] [2021-03-12T16:43:31.545Z] Login Succeeded [2021-03-12T16:43:31.545Z] nexus3.edgexfoundry.org:10003 [2021-03-12T16:43:31.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T16:43:32.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T16:43:32.101Z] Configure a credential helper to remove this warning. See [2021-03-12T16:43:32.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T16:43:32.101Z] [2021-03-12T16:43:32.101Z] Login Succeeded [2021-03-12T16:43:32.101Z] nexus3.edgexfoundry.org:10004 [2021-03-12T16:43:32.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T16:43:32.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T16:43:32.653Z] Configure a credential helper to remove this warning. See [2021-03-12T16:43:32.653Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T16:43:32.653Z] [2021-03-12T16:43:32.653Z] Login Succeeded [2021-03-12T16:43:32.653Z] docker.io [2021-03-12T16:43:32.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T16:43:33.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T16:43:33.198Z] Configure a credential helper to remove this warning. See [2021-03-12T16:43:33.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T16:43:33.198Z] [2021-03-12T16:43:33.198Z] Login Succeeded [2021-03-12T16:43:33.198Z] ---> docker-login.sh ends [Pipeline] } [2021-03-12T16:43:33.215Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-12T16:43:33.673Z] ========================================================= [2021-03-12T16:43:33.673Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-03-12T16:43:33.673Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-12T16:43:34.052Z] + 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-03-12T16:43:34.666Z] Sending build context to Docker daemon 2.515MB [2021-03-12T16:43:34.666Z] Step 1/21 : ARG BASE=alpine:3.12 [2021-03-12T16:43:34.666Z] Step 2/21 : FROM ${BASE} as builder [2021-03-12T16:43:34.666Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-03-12T16:43:34.666Z] 0362ad1dd800: Pulling fs layer [2021-03-12T16:43:34.666Z] f2cdb1532d8b: Pulling fs layer [2021-03-12T16:43:34.666Z] 37ed683be191: Pulling fs layer [2021-03-12T16:43:34.666Z] f2cdb1532d8b: Verifying Checksum [2021-03-12T16:43:34.666Z] f2cdb1532d8b: Download complete [2021-03-12T16:43:35.264Z] 0362ad1dd800: Verifying Checksum [2021-03-12T16:43:35.264Z] 0362ad1dd800: Download complete [2021-03-12T16:43:36.260Z] 0362ad1dd800: Pull complete [2021-03-12T16:43:36.534Z] f2cdb1532d8b: Pull complete [2021-03-12T16:43:37.521Z] 37ed683be191: Verifying Checksum [2021-03-12T16:43:37.522Z] 37ed683be191: Download complete [2021-03-12T16:43:47.702Z] 37ed683be191: Pull complete [2021-03-12T16:43:47.702Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2021-03-12T16:43:47.702Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-03-12T16:43:47.702Z] ---> b23d30803547 [2021-03-12T16:43:47.702Z] 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-03-12T16:43:48.297Z] ---> Running in d0cbd44ea20b [2021-03-12T16:43:49.287Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-03-12T16:43:50.262Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-03-12T16:43:50.537Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2021-03-12T16:43:50.808Z] (2/8) Installing libuuid (2.33-r0) [2021-03-12T16:43:50.808Z] (3/8) Installing libblkid (2.33-r0) [2021-03-12T16:43:50.808Z] (4/8) Installing libfdisk (2.33-r0) [2021-03-12T16:43:51.078Z] (5/8) Installing libmount (2.33-r0) [2021-03-12T16:43:51.078Z] (6/8) Installing libsmartcols (2.33-r0) [2021-03-12T16:43:51.078Z] (7/8) Installing util-linux-dev (2.33-r0) [2021-03-12T16:43:51.670Z] (8/8) Installing wget (1.20.3-r0) [2021-03-12T16:43:51.670Z] Executing busybox-1.29.3-r10.trigger [2021-03-12T16:43:51.670Z] OK: 285 MiB in 83 packages [2021-03-12T16:43:53.113Z] Removing intermediate container d0cbd44ea20b [2021-03-12T16:43:53.113Z] ---> b154b35aa128 [2021-03-12T16:43:53.113Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2021-03-12T16:43:53.113Z] ---> Running in bbe722e5a9c2 [2021-03-12T16:43:53.384Z] Removing intermediate container bbe722e5a9c2 [2021-03-12T16:43:53.384Z] ---> 51cafdd54ae5 [2021-03-12T16:43:53.384Z] 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-03-12T16:43:53.660Z] ---> Running in 332c6c6456fd [2021-03-12T16:43:54.633Z] --2021-03-12 16:43:54-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-03-12T16:43:54.633Z] Resolving github.com... 140.82.113.3 [2021-03-12T16:43:54.633Z] Connecting to github.com|140.82.113.3|:443... connected. [2021-03-12T16:43:54.633Z] HTTP request sent, awaiting response... 302 Found [2021-03-12T16:43:54.633Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-03-12T16:43:54.633Z] --2021-03-12 16:43:54-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-03-12T16:43:54.633Z] Resolving codeload.github.com... 140.82.113.9 [2021-03-12T16:43:54.903Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2021-03-12T16:43:54.903Z] HTTP request sent, awaiting response... 200 OK [2021-03-12T16:43:54.903Z] Length: unspecified [application/x-gzip] [2021-03-12T16:43:54.903Z] Saving to: 'STDOUT' [2021-03-12T16:43:54.903Z] [2021-03-12T16:43:55.175Z] 0K .......... .......... .......... .......... .......... 1.31M [2021-03-12T16:43:55.175Z] 50K .......... .......... .......... .......... .......... 2.53M [2021-03-12T16:43:55.175Z] 100K .......... .......... .......... .......... .......... 2.88M [2021-03-12T16:43:55.175Z] 150K .......... .......... .......... .......... .......... 12.6M [2021-03-12T16:43:55.175Z] 200K .......... .......... .......... .......... .......... 9.75M [2021-03-12T16:43:55.175Z] 250K .......... .......... .......... .......... .......... 3.30M [2021-03-12T16:43:55.175Z] 300K .......... .......... .......... .......... .......... 3.71M [2021-03-12T16:43:55.175Z] 350K .......... .......... .......... .......... .......... 4.16M [2021-03-12T16:43:55.175Z] 400K .......... .......... .......... .......... .......... 4.40M [2021-03-12T16:43:55.175Z] 450K .......... .......... .......... .......... .......... 3.85M [2021-03-12T16:43:55.175Z] 500K .......... .......... .......... .......... .......... 10.5M [2021-03-12T16:43:55.176Z] 550K .......... .......... .......... .......... .......... 1.74M [2021-03-12T16:43:55.176Z] 600K .......... .......... .......... .......... .......... 1.02M [2021-03-12T16:43:55.176Z] 650K .......... .......... .......... .......... .......... 2.39M [2021-03-12T16:43:55.176Z] 700K .. 9.11M=0.2s [2021-03-12T16:43:55.176Z] [2021-03-12T16:43:55.176Z] 2021-03-12 16:43:55 (2.77 MB/s) - written to stdout [719348] [2021-03-12T16:43:55.176Z] [2021-03-12T16:43:55.452Z] -- The C compiler identification is GNU 8.3.0 [2021-03-12T16:43:55.731Z] -- The CXX compiler identification is GNU 8.3.0 [2021-03-12T16:43:55.731Z] -- Check for working C compiler: /usr/bin/cc [2021-03-12T16:43:56.008Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-03-12T16:43:56.008Z] -- Detecting C compiler ABI info [2021-03-12T16:43:56.287Z] -- Detecting C compiler ABI info - done [2021-03-12T16:43:56.287Z] -- Detecting C compile features [2021-03-12T16:43:56.888Z] -- Detecting C compile features - done [2021-03-12T16:43:57.161Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-03-12T16:43:57.161Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-03-12T16:43:57.161Z] -- Detecting CXX compiler ABI info [2021-03-12T16:43:57.434Z] -- Detecting CXX compiler ABI info - done [2021-03-12T16:43:57.708Z] -- Detecting CXX compile features [2021-03-12T16:43:59.150Z] -- Detecting CXX compile features - done [2021-03-12T16:43:59.150Z] -- Looking for include file endian.h [2021-03-12T16:43:59.150Z] -- Looking for include file endian.h - found [2021-03-12T16:43:59.150Z] -- Check if the system is big endian [2021-03-12T16:43:59.150Z] -- Searching 16 bit integer [2021-03-12T16:43:59.150Z] -- Looking for sys/types.h [2021-03-12T16:43:59.426Z] -- Looking for sys/types.h - found [2021-03-12T16:43:59.426Z] -- Looking for stdint.h [2021-03-12T16:43:59.700Z] -- Looking for stdint.h - found [2021-03-12T16:43:59.700Z] -- Looking for stddef.h [2021-03-12T16:43:59.975Z] -- Looking for stddef.h - found [2021-03-12T16:43:59.975Z] -- Check size of unsigned short [2021-03-12T16:44:00.252Z] -- Check size of unsigned short - done [2021-03-12T16:44:00.252Z] -- Using unsigned short [2021-03-12T16:44:00.524Z] -- Check if the system is big endian - little endian [2021-03-12T16:44:00.524Z] -- Check size of size_t [2021-03-12T16:44:00.796Z] -- Check size of size_t - done [2021-03-12T16:44:00.796Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-03-12T16:44:00.796Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-03-12T16:44:00.796Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-03-12T16:44:00.796Z] CMake did not find one. [2021-03-12T16:44:00.796Z] [2021-03-12T16:44:00.796Z] Could not find a package configuration file provided by "cJSON" with any of [2021-03-12T16:44:00.796Z] the following names: [2021-03-12T16:44:00.796Z] [2021-03-12T16:44:00.796Z] cJSONConfig.cmake [2021-03-12T16:44:00.796Z] cjson-config.cmake [2021-03-12T16:44:00.796Z] [2021-03-12T16:44:00.796Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-03-12T16:44:00.796Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-03-12T16:44:00.796Z] provides a separate development package or SDK, be sure it has been [2021-03-12T16:44:00.796Z] installed. [2021-03-12T16:44:00.796Z] [2021-03-12T16:44:00.796Z] [2021-03-12T16:44:00.796Z] -- Configuring done [2021-03-12T16:44:01.068Z] -- Generating done [2021-03-12T16:44:01.068Z] -- Build files have been written to: /tmp/cbor [2021-03-12T16:44:01.068Z] Scanning dependencies of target cbor_shared [2021-03-12T16:44:01.068Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-03-12T16:44:02.040Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-03-12T16:44:02.634Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-03-12T16:44:02.634Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-03-12T16:44:03.229Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-03-12T16:44:03.498Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-03-12T16:44:03.769Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-03-12T16:44:03.769Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-03-12T16:44:04.046Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-03-12T16:44:04.318Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-03-12T16:44:04.915Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-03-12T16:44:05.201Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-03-12T16:44:05.475Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-03-12T16:44:05.749Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-03-12T16:44:06.031Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-03-12T16:44:06.303Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-03-12T16:44:06.577Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-03-12T16:44:06.852Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-03-12T16:44:07.135Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-03-12T16:44:07.424Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-03-12T16:44:07.424Z] [ 40%] Linking C shared library libcbor.so [2021-03-12T16:44:07.563Z] Running on prd-centos7-docker-4c-2g-29655 in /w/workspace/edgexfoundry_device-sdk-c_PR-331 [Pipeline] { [Pipeline] ws [2021-03-12T16:44:07.623Z] Running in /w/workspace/device-sdk-c/3 [Pipeline] { [Pipeline] checkout [2021-03-12T16:44:07.698Z] [ 40%] Built target cbor_shared [2021-03-12T16:44:07.698Z] Scanning dependencies of target cbor [2021-03-12T16:44:07.698Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-03-12T16:44:08.314Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-03-12T16:44:08.909Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-03-12T16:44:09.182Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-03-12T16:44:09.926Z] using credential edgex-jenkins-ssh [2021-03-12T16:44:10.065Z] Cloning the remote Git repository [2021-03-12T16:44:10.156Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-03-12T16:44:10.430Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-03-12T16:44:10.704Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-03-12T16:44:10.977Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-03-12T16:44:10.977Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-03-12T16:44:10.092Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-03-12T16:44:10.161Z] > git init /w/workspace/device-sdk-c/3 # timeout=10 [2021-03-12T16:44:10.221Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-03-12T16:44:10.221Z] > git --version # timeout=10 [2021-03-12T16:44:10.229Z] > git --version # 'git version 2.24.3' [2021-03-12T16:44:10.230Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-12T16:44:10.255Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-12T16:44:10.958Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-03-12T16:44:10.968Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-12T16:44:10.984Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-03-12T16:44:10.999Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-03-12T16:44:10.999Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-12T16:44:11.003Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/331/head:refs/remotes/origin/PR-331 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-12T16:44:11.477Z] Merging remotes/origin/master commit 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 into PR head commit faf7e9b42be0248c17063f68c1f9b8916e20c11f [2021-03-12T16:44:11.568Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-03-12T16:44:11.604Z] Merge succeeded, producing faf7e9b42be0248c17063f68c1f9b8916e20c11f [2021-03-12T16:44:11.605Z] Checking out Revision faf7e9b42be0248c17063f68c1f9b8916e20c11f (PR-331) [2021-03-12T16:44:12.159Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-03-12T16:44:11.486Z] > git config core.sparsecheckout # timeout=10 [2021-03-12T16:44:11.490Z] > git checkout -f faf7e9b42be0248c17063f68c1f9b8916e20c11f # timeout=10 [2021-03-12T16:44:11.553Z] > git remote # timeout=10 [2021-03-12T16:44:11.564Z] > git config --get remote.origin.url # timeout=10 [2021-03-12T16:44:11.578Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-12T16:44:11.583Z] > git merge 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 # timeout=10 [2021-03-12T16:44:11.596Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-12T16:44:11.608Z] > git config core.sparsecheckout # timeout=10 [2021-03-12T16:44:11.616Z] > git checkout -f faf7e9b42be0248c17063f68c1f9b8916e20c11f # timeout=10 [2021-03-12T16:44:12.432Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-03-12T16:44:12.703Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-03-12T16:44:12.974Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-03-12T16:44:13.245Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-03-12T16:44:13.517Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-03-12T16:44:13.787Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-03-12T16:44:14.059Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-03-12T16:44:14.331Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-03-12T16:44:14.604Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-03-12T16:44:14.882Z] [ 80%] Linking C static library libcbor.a [2021-03-12T16:44:14.882Z] [ 80%] Built target cbor [2021-03-12T16:44:14.882Z] Scanning dependencies of target create_items [2021-03-12T16:44:14.882Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-03-12T16:44:15.157Z] [ 84%] Linking C executable create_items [2021-03-12T16:44:15.157Z] [ 84%] Built target create_items [2021-03-12T16:44:15.157Z] Scanning dependencies of target readfile [2021-03-12T16:44:15.157Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-03-12T16:44:15.268Z] Commit message: "feat: create new devices from json/toml files in configured directory fix: update AutoEvent marshaling for v2 fix: null-terminate incoming http data docs: update metrics documentation for v2" [2021-03-12T16:44:15.429Z] [ 88%] Linking C executable readfile [2021-03-12T16:44:15.430Z] [ 88%] Built target readfile [2021-03-12T16:44:15.430Z] Scanning dependencies of target streaming_parser [Pipeline] withEnv [Pipeline] { [2021-03-12T16:44:15.703Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-03-12T16:44:15.703Z] [ 92%] Linking C executable streaming_parser [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-12T16:44:15.975Z] [ 92%] Built target streaming_parser [2021-03-12T16:44:15.975Z] Scanning dependencies of target sort [2021-03-12T16:44:15.975Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-03-12T16:44:16.269Z] [ 96%] Linking C executable sort [2021-03-12T16:44:16.269Z] [ 96%] Built target sort [2021-03-12T16:44:16.269Z] Scanning dependencies of target hello [2021-03-12T16:44:16.269Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-03-12T16:44:16.269Z] [100%] Linking C executable hello [2021-03-12T16:44:16.478Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-12T16:44:16.542Z] [100%] Built target hello [2021-03-12T16:44:16.542Z] Install the project... [2021-03-12T16:44:16.542Z] -- Install configuration: "Release" [2021-03-12T16:44:16.542Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-03-12T16:44:16.542Z] -- Installing: /usr/local/lib64/libcbor.a [2021-03-12T16:44:16.542Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-03-12T16:44:16.542Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-03-12T16:44:16.542Z] -- Installing: /usr/local/lib64/libcbor.so [2021-03-12T16:44:16.542Z] -- Up-to-date: /usr/local/include/cbor [2021-03-12T16:44:16.542Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-03-12T16:44:16.542Z] -- Installing: /usr/local/include/cbor/ints.h [2021-03-12T16:44:16.542Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-03-12T16:44:16.542Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-03-12T16:44:16.542Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-03-12T16:44:16.542Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-03-12T16:44:16.542Z] -- Installing: /usr/local/include/cbor/data.h [2021-03-12T16:44:16.542Z] -- Installing: /usr/local/include/cbor/common.h [2021-03-12T16:44:16.542Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-03-12T16:44:16.542Z] -- Installing: /usr/local/include/cbor/strings.h [2021-03-12T16:44:16.542Z] -- Installing: /usr/local/include/cbor/tags.h [2021-03-12T16:44:16.542Z] -- Installing: /usr/local/include/cbor/internal [2021-03-12T16:44:16.542Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-03-12T16:44:16.542Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-03-12T16:44:16.542Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-03-12T16:44:16.542Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-03-12T16:44:16.542Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-03-12T16:44:16.542Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-03-12T16:44:16.542Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-03-12T16:44:16.542Z] -- Installing: /usr/local/include/cbor/maps.h [2021-03-12T16:44:16.542Z] -- Installing: /usr/local/include/cbor.h [2021-03-12T16:44:16.542Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-03-12T16:44:16.814Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-12T16:44:17.122Z] + sudo service docker restart [2021-03-12T16:44:17.122Z] + true [2021-03-12T16:44:17.122Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-12T16:44:18.136Z] provisioning config files... [2021-03-12T16:44:18.195Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/3@tmp/config3395148365957900927tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-12T16:44:18.563Z] ---> docker-login.sh [2021-03-12T16:44:18.563Z] nexus3.edgexfoundry.org:10001 [2021-03-12T16:44:18.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T16:44:18.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T16:44:18.825Z] Configure a credential helper to remove this warning. See [2021-03-12T16:44:18.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T16:44:18.825Z] [2021-03-12T16:44:18.825Z] Login Succeeded [2021-03-12T16:44:18.825Z] nexus3.edgexfoundry.org:10002 [2021-03-12T16:44:19.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T16:44:19.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T16:44:19.087Z] Configure a credential helper to remove this warning. See [2021-03-12T16:44:19.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T16:44:19.087Z] [2021-03-12T16:44:19.087Z] Login Succeeded [2021-03-12T16:44:19.087Z] nexus3.edgexfoundry.org:10003 [2021-03-12T16:44:19.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T16:44:19.161Z] Removing intermediate container 332c6c6456fd [2021-03-12T16:44:19.161Z] ---> 2750c087fdd7 [2021-03-12T16:44:19.161Z] Step 6/21 : RUN mkdir /tmp/sdk [2021-03-12T16:44:19.161Z] ---> Running in 420d74d06bc7 [2021-03-12T16:44:19.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T16:44:19.349Z] Configure a credential helper to remove this warning. See [2021-03-12T16:44:19.349Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T16:44:19.349Z] [2021-03-12T16:44:19.349Z] Login Succeeded [2021-03-12T16:44:19.349Z] nexus3.edgexfoundry.org:10004 [2021-03-12T16:44:19.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T16:44:19.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T16:44:19.349Z] Configure a credential helper to remove this warning. See [2021-03-12T16:44:19.349Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T16:44:19.349Z] [2021-03-12T16:44:19.349Z] Login Succeeded [2021-03-12T16:44:19.349Z] docker.io [2021-03-12T16:44:19.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T16:44:19.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T16:44:19.872Z] Configure a credential helper to remove this warning. See [2021-03-12T16:44:19.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T16:44:19.872Z] [2021-03-12T16:44:19.872Z] Login Succeeded [2021-03-12T16:44:19.872Z] ---> docker-login.sh ends [Pipeline] } [2021-03-12T16:44:19.882Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-12T16:44:20.294Z] ========================================================= [2021-03-12T16:44:20.294Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-03-12T16:44:20.294Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-12T16:44:20.674Z] + 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-03-12T16:44:20.936Z] Sending build context to Docker daemon 2.516MB [2021-03-12T16:44:20.936Z] Step 1/21 : ARG BASE=alpine:3.12 [2021-03-12T16:44:20.936Z] Step 2/21 : FROM ${BASE} as builder [2021-03-12T16:44:20.936Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-03-12T16:44:20.936Z] e7c96db7181b: Pulling fs layer [2021-03-12T16:44:20.936Z] 4c13bbce0fe7: Pulling fs layer [2021-03-12T16:44:20.936Z] 6059c847ac2f: Pulling fs layer [2021-03-12T16:44:20.936Z] 4c13bbce0fe7: Verifying Checksum [2021-03-12T16:44:20.936Z] 4c13bbce0fe7: Download complete [2021-03-12T16:44:21.134Z] Removing intermediate container 420d74d06bc7 [2021-03-12T16:44:21.134Z] ---> f87297604215 [2021-03-12T16:44:21.134Z] Step 7/21 : COPY VERSION /tmp/sdk [2021-03-12T16:44:21.199Z] e7c96db7181b: Verifying Checksum [2021-03-12T16:44:21.199Z] e7c96db7181b: Download complete [2021-03-12T16:44:21.408Z] ---> 3b1e75962c47 [2021-03-12T16:44:21.408Z] Step 8/21 : COPY src /tmp/sdk/src [2021-03-12T16:44:21.463Z] e7c96db7181b: Pull complete [2021-03-12T16:44:21.463Z] 4c13bbce0fe7: Pull complete [2021-03-12T16:44:22.387Z] ---> 002576bd2379 [2021-03-12T16:44:22.388Z] Step 9/21 : COPY include /tmp/sdk/include [2021-03-12T16:44:22.857Z] 6059c847ac2f: Verifying Checksum [2021-03-12T16:44:22.857Z] 6059c847ac2f: Download complete [2021-03-12T16:44:22.984Z] ---> 7bec846e33d0 [2021-03-12T16:44:22.984Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2021-03-12T16:44:23.581Z] ---> 25e613cc038c [2021-03-12T16:44:23.581Z] Step 11/21 : COPY LICENSE /tmp/sdk [2021-03-12T16:44:24.559Z] ---> 770433514621 [2021-03-12T16:44:24.559Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2021-03-12T16:44:25.158Z] ---> 2275575fece4 [2021-03-12T16:44:25.158Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-03-12T16:44:25.158Z] ---> Running in eed74693a8fe [2021-03-12T16:44:26.137Z] + CPPCHECK=false [2021-03-12T16:44:26.137Z] + DOCGEN=false [2021-03-12T16:44:26.137Z] + TOMLVER=SDK-0.2 [2021-03-12T16:44:26.137Z] + CUTILVER=1.1.4 [2021-03-12T16:44:26.137Z] + '[' 0 -gt 0 ] [2021-03-12T16:44:26.137Z] + readlink -f ./scripts/build.sh [2021-03-12T16:44:26.137Z] + dirname /tmp/sdk/scripts/build.sh [2021-03-12T16:44:26.137Z] + dirname /tmp/sdk/scripts [2021-03-12T16:44:26.137Z] + ROOT=/tmp/sdk [2021-03-12T16:44:26.137Z] + cd /tmp/sdk [2021-03-12T16:44:26.137Z] + '[' '!' -d deps ] [2021-03-12T16:44:26.137Z] + mkdir deps [2021-03-12T16:44:26.137Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-03-12T16:44:26.137Z] --2021-03-12 16:44:26-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-03-12T16:44:26.137Z] + tar -C deps -z -x -f - [2021-03-12T16:44:26.137Z] Resolving github.com... 140.82.114.4 [2021-03-12T16:44:26.137Z] Connecting to github.com|140.82.114.4|:443... connected. [2021-03-12T16:44:26.406Z] HTTP request sent, awaiting response... 302 Found [2021-03-12T16:44:26.406Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-03-12T16:44:26.406Z] --2021-03-12 16:44:26-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-03-12T16:44:26.406Z] Resolving codeload.github.com... 140.82.113.9 [2021-03-12T16:44:26.406Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2021-03-12T16:44:26.680Z] HTTP request sent, awaiting response... 200 OK [2021-03-12T16:44:26.680Z] Length: unspecified [application/x-gzip] [2021-03-12T16:44:26.680Z] Saving to: 'STDOUT' [2021-03-12T16:44:26.680Z]  [2021-03-12T16:44:26.680Z] 0K .......... ......  862K=0.02s [2021-03-12T16:44:26.680Z] [2021-03-12T16:44:26.680Z] 2021-03-12 16:44:26 (862 KB/s) - written to stdout [16451] [2021-03-12T16:44:26.680Z] [2021-03-12T16:44:26.680Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-03-12T16:44:26.680Z] + + tarwget -C -O deps - -z https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-03-12T16:44:26.680Z] -x -f - [2021-03-12T16:44:26.680Z] --2021-03-12 16:44:26-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-03-12T16:44:26.680Z] Resolving github.com... 140.82.114.4 [2021-03-12T16:44:26.680Z] Connecting to github.com|140.82.114.4|:443... connected. [2021-03-12T16:44:26.680Z] HTTP request sent, awaiting response... 302 Found [2021-03-12T16:44:26.680Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-03-12T16:44:26.680Z] --2021-03-12 16:44:26-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-03-12T16:44:26.951Z] Resolving codeload.github.com... 140.82.113.9 [2021-03-12T16:44:26.951Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2021-03-12T16:44:26.951Z] HTTP request sent, awaiting response... 200 OK [2021-03-12T16:44:26.951Z] Length: unspecified [application/x-gzip] [2021-03-12T16:44:26.951Z] Saving to: 'STDOUT' [2021-03-12T16:44:26.951Z]  [2021-03-12T16:44:26.951Z] 0K .......... .......... .......... .......... .......... 1.19M [2021-03-12T16:44:26.951Z] 50K .......... .......... .......... .......... .......... 2.44M [2021-03-12T16:44:27.231Z] 100K .......... .......... .......... .......... .......... 2.52M [2021-03-12T16:44:27.231Z] 150K .......... .......... .......                    6.89M=0.08s [2021-03-12T16:44:27.231Z] [2021-03-12T16:44:27.231Z] 2021-03-12 16:44:26 (2.06 MB/s) - written to stdout [181796] [2021-03-12T16:44:27.231Z] [2021-03-12T16:44:27.231Z] + mkdir -p src/c/iot [2021-03-12T16:44:27.231Z] + 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-03-12T16:44:27.231Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-03-12T16:44:27.231Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-03-12T16:44:27.231Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-03-12T16:44:27.231Z] + mkdir -p include/iot [2021-03-12T16:44:27.231Z] + 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-03-12T16:44:27.231Z] + mkdir -p include/iot/os [2021-03-12T16:44:27.231Z] + 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-03-12T16:44:27.231Z] + mkdir -p /tmp/sdk/build/release [2021-03-12T16:44:27.231Z] + cd /tmp/sdk/build/release [2021-03-12T16:44:27.231Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-03-12T16:44:27.508Z] -- The C compiler identification is GNU 8.3.0 [2021-03-12T16:44:27.508Z] -- Check for working C compiler: /usr/bin/cc [2021-03-12T16:44:27.780Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-03-12T16:44:27.780Z] -- Detecting C compiler ABI info [2021-03-12T16:44:28.051Z] -- Detecting C compiler ABI info - done [2021-03-12T16:44:28.051Z] -- Detecting C compile features [2021-03-12T16:44:28.182Z] 6059c847ac2f: Pull complete [2021-03-12T16:44:28.182Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2021-03-12T16:44:28.182Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-03-12T16:44:28.182Z] ---> 5eabd8fd8ba2 [2021-03-12T16:44:28.182Z] 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-03-12T16:44:28.645Z] -- Detecting C compile features - done [2021-03-12T16:44:28.645Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-03-12T16:44:28.645Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-03-12T16:44:28.645Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-03-12T16:44:28.645Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-03-12T16:44:28.645Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-03-12T16:44:28.645Z] -- C SDK 0.0.0 for Linux [2021-03-12T16:44:28.645Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-03-12T16:44:28.916Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-03-12T16:44:28.916Z] -- Found Curses: /usr/lib/libcurses.so [2021-03-12T16:44:29.134Z] ---> Running in eb23dc438061 [2021-03-12T16:44:29.187Z] -- Configuring done [2021-03-12T16:44:29.458Z] -- Generating done [2021-03-12T16:44:29.458Z] -- Build files have been written to: /tmp/sdk/build/release [2021-03-12T16:44:29.458Z] + make all package [2021-03-12T16:44:29.458Z] + tee release.log [2021-03-12T16:44:29.458Z] Scanning dependencies of target csdk [2021-03-12T16:44:29.709Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-03-12T16:44:29.728Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-03-12T16:44:30.287Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-03-12T16:44:30.328Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-03-12T16:44:30.550Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2021-03-12T16:44:30.599Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-03-12T16:44:30.812Z] (2/8) Installing libuuid (2.33-r0) [2021-03-12T16:44:30.812Z] (3/8) Installing libblkid (2.33-r0) [2021-03-12T16:44:30.812Z] (4/8) Installing libfdisk (2.33-r0) [2021-03-12T16:44:31.075Z] (5/8) Installing libmount (2.33-r0) [2021-03-12T16:44:31.337Z] (6/8) Installing libsmartcols (2.33-r0) [2021-03-12T16:44:31.337Z] (7/8) Installing util-linux-dev (2.33-r0) [2021-03-12T16:44:32.282Z] (8/8) Installing wget (1.20.3-r0) [2021-03-12T16:44:32.282Z] Executing busybox-1.29.3-r10.trigger [2021-03-12T16:44:32.282Z] OK: 272 MiB in 83 packages [2021-03-12T16:44:32.556Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-03-12T16:44:32.829Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-03-12T16:44:32.856Z] Removing intermediate container eb23dc438061 [2021-03-12T16:44:32.856Z] ---> ef5c9d378dc3 [2021-03-12T16:44:32.856Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2021-03-12T16:44:32.856Z] ---> Running in f1aa6079a616 [2021-03-12T16:44:33.101Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-03-12T16:44:33.118Z] Removing intermediate container f1aa6079a616 [2021-03-12T16:44:33.118Z] ---> 98ff17046342 [2021-03-12T16:44:33.118Z] 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-03-12T16:44:33.118Z] ---> Running in 43d86a20fea8 [2021-03-12T16:44:33.379Z] --2021-03-12 16:44:33-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-03-12T16:44:33.641Z] Resolving github.com... 140.82.114.4 [2021-03-12T16:44:33.641Z] Connecting to github.com|140.82.114.4|:443... connected. [2021-03-12T16:44:33.641Z] HTTP request sent, awaiting response... 302 Found [2021-03-12T16:44:33.641Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-03-12T16:44:33.641Z] --2021-03-12 16:44:33-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-03-12T16:44:33.641Z] Resolving codeload.github.com... 140.82.113.9 [2021-03-12T16:44:33.641Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2021-03-12T16:44:33.641Z] HTTP request sent, awaiting response... 200 OK [2021-03-12T16:44:33.641Z] Length: unspecified [application/x-gzip] [2021-03-12T16:44:33.641Z] Saving to: 'STDOUT' [2021-03-12T16:44:33.641Z] [2021-03-12T16:44:33.907Z] 0K .......... .......... .......... .......... .......... 1.45M [2021-03-12T16:44:33.907Z] 50K .......... .......... .......... .......... .......... 2.91M [2021-03-12T16:44:33.907Z] 100K .......... .......... .......... .......... .......... 24.4M [2021-03-12T16:44:33.907Z] 150K .......... .......... .......... .......... .......... 21.6M [2021-03-12T16:44:33.907Z] 200K .......... .......... .......... .......... .......... 3.35M [2021-03-12T16:44:33.907Z] 250K .......... .......... .......... .......... .......... 9.61M [2021-03-12T16:44:33.907Z] 300K .......... .......... .......... .......... .......... 9.32M [2021-03-12T16:44:33.907Z] 350K .......... .......... .......... .......... .......... 9.98M [2021-03-12T16:44:33.907Z] 400K .......... .......... .......... .......... .......... 9.85M [2021-03-12T16:44:33.907Z] 450K .......... .......... .......... .......... .......... 8.06M [2021-03-12T16:44:33.907Z] 500K .......... .......... .......... .......... .......... 17.1M [2021-03-12T16:44:33.907Z] 550K .......... .......... .......... .......... .......... 8.73M [2021-03-12T16:44:33.907Z] 600K .......... .......... .......... .......... .......... 1.97M [2021-03-12T16:44:33.907Z] 650K .......... .......... .......... .......... .......... 4.61M [2021-03-12T16:44:33.907Z] 700K .. 40.8M=0.1s [2021-03-12T16:44:33.907Z] [2021-03-12T16:44:33.907Z] 2021-03-12 16:44:33 (4.92 MB/s) - written to stdout [719348] [2021-03-12T16:44:33.907Z] [2021-03-12T16:44:33.907Z] -- The C compiler identification is GNU 8.3.0 [2021-03-12T16:44:34.072Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-03-12T16:44:34.169Z] -- The CXX compiler identification is GNU 8.3.0 [2021-03-12T16:44:34.169Z] -- Check for working C compiler: /usr/bin/cc [2021-03-12T16:44:34.169Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-03-12T16:44:34.169Z] -- Detecting C compiler ABI info [2021-03-12T16:44:34.169Z] -- Detecting C compiler ABI info - done [2021-03-12T16:44:34.169Z] -- Detecting C compile features [2021-03-12T16:44:34.432Z] -- Detecting C compile features - done [2021-03-12T16:44:34.432Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-03-12T16:44:34.693Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-03-12T16:44:34.693Z] -- Detecting CXX compiler ABI info [2021-03-12T16:44:34.693Z] -- Detecting CXX compiler ABI info - done [2021-03-12T16:44:34.693Z] -- Detecting CXX compile features [2021-03-12T16:44:35.268Z] -- Detecting CXX compile features - done [2021-03-12T16:44:35.268Z] -- Looking for include file endian.h [2021-03-12T16:44:35.268Z] -- Looking for include file endian.h - found [2021-03-12T16:44:35.268Z] -- Check if the system is big endian [2021-03-12T16:44:35.268Z] -- Searching 16 bit integer [2021-03-12T16:44:35.268Z] -- Looking for sys/types.h [2021-03-12T16:44:35.268Z] -- Looking for sys/types.h - found [2021-03-12T16:44:35.268Z] -- Looking for stdint.h [2021-03-12T16:44:35.268Z] -- Looking for stdint.h - found [2021-03-12T16:44:35.268Z] -- Looking for stddef.h [2021-03-12T16:44:35.496Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-03-12T16:44:35.530Z] -- Looking for stddef.h - found [2021-03-12T16:44:35.530Z] -- Check size of unsigned short [2021-03-12T16:44:35.530Z] -- Check size of unsigned short - done [2021-03-12T16:44:35.530Z] -- Using unsigned short [2021-03-12T16:44:35.530Z] -- Check if the system is big endian - little endian [2021-03-12T16:44:35.530Z] -- Check size of size_t [2021-03-12T16:44:35.791Z] -- Check size of size_t - done [2021-03-12T16:44:35.791Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-03-12T16:44:35.791Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-03-12T16:44:35.791Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-03-12T16:44:35.791Z] CMake did not find one. [2021-03-12T16:44:35.791Z] [2021-03-12T16:44:35.792Z] Could not find a package configuration file provided by "cJSON" with any of [2021-03-12T16:44:35.792Z] the following names: [2021-03-12T16:44:35.792Z] [2021-03-12T16:44:35.792Z] cJSONConfig.cmake [2021-03-12T16:44:35.792Z] cjson-config.cmake [2021-03-12T16:44:35.792Z] [2021-03-12T16:44:35.792Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-03-12T16:44:35.792Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-03-12T16:44:35.792Z] provides a separate development package or SDK, be sure it has been [2021-03-12T16:44:35.792Z] installed. [2021-03-12T16:44:35.792Z] [2021-03-12T16:44:35.792Z] [2021-03-12T16:44:35.792Z] -- Configuring done [2021-03-12T16:44:35.792Z] -- Generating done [2021-03-12T16:44:35.792Z] -- Build files have been written to: /tmp/cbor [2021-03-12T16:44:35.792Z] Scanning dependencies of target cbor_shared [2021-03-12T16:44:35.792Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-03-12T16:44:36.055Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-03-12T16:44:36.055Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-03-12T16:44:36.086Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-03-12T16:44:36.318Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-03-12T16:44:36.318Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-03-12T16:44:36.580Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-03-12T16:44:36.581Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-03-12T16:44:36.581Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-03-12T16:44:36.581Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-03-12T16:44:36.581Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-03-12T16:44:36.677Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-03-12T16:44:36.843Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-03-12T16:44:36.843Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-03-12T16:44:37.106Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-03-12T16:44:37.106Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-03-12T16:44:37.106Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-03-12T16:44:37.268Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-03-12T16:44:37.368Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-03-12T16:44:37.368Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-03-12T16:44:37.368Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-03-12T16:44:37.368Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-03-12T16:44:37.554Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-03-12T16:44:37.555Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-03-12T16:44:37.630Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-03-12T16:44:37.630Z] [ 40%] Linking C shared library libcbor.so [2021-03-12T16:44:37.630Z] [ 40%] Built target cbor_shared [2021-03-12T16:44:37.630Z] Scanning dependencies of target cbor [2021-03-12T16:44:37.630Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-03-12T16:44:37.828Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-03-12T16:44:37.892Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-03-12T16:44:37.892Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-03-12T16:44:38.154Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-03-12T16:44:38.417Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-03-12T16:44:38.417Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-03-12T16:44:38.417Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-03-12T16:44:38.417Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-03-12T16:44:38.679Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-03-12T16:44:38.679Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-03-12T16:44:38.942Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-03-12T16:44:38.942Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-03-12T16:44:38.942Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-03-12T16:44:39.203Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-03-12T16:44:39.203Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-03-12T16:44:39.203Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-03-12T16:44:39.466Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-03-12T16:44:39.466Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-03-12T16:44:39.466Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-03-12T16:44:39.729Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-03-12T16:44:39.729Z] [ 80%] Linking C static library libcbor.a [2021-03-12T16:44:39.729Z] [ 80%] Built target cbor [2021-03-12T16:44:39.729Z] Scanning dependencies of target create_items [2021-03-12T16:44:39.729Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-03-12T16:44:39.729Z] [ 84%] Linking C executable create_items [2021-03-12T16:44:39.729Z] [ 84%] Built target create_items [2021-03-12T16:44:39.729Z] Scanning dependencies of target readfile [2021-03-12T16:44:39.729Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-03-12T16:44:39.729Z] [ 88%] Linking C executable readfile [2021-03-12T16:44:39.993Z] [ 88%] Built target readfile [2021-03-12T16:44:39.993Z] Scanning dependencies of target streaming_parser [2021-03-12T16:44:39.993Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-03-12T16:44:39.993Z] [ 92%] Linking C executable streaming_parser [2021-03-12T16:44:39.993Z] [ 92%] Built target streaming_parser [2021-03-12T16:44:39.993Z] Scanning dependencies of target sort [2021-03-12T16:44:39.993Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-03-12T16:44:39.993Z] [ 96%] Linking C executable sort [2021-03-12T16:44:39.993Z] [ 96%] Built target sort [2021-03-12T16:44:39.993Z] Scanning dependencies of target hello [2021-03-12T16:44:39.993Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-03-12T16:44:40.255Z] [100%] Linking C executable hello [2021-03-12T16:44:40.255Z] [100%] Built target hello [2021-03-12T16:44:40.256Z] Install the project... [2021-03-12T16:44:40.256Z] -- Install configuration: "Release" [2021-03-12T16:44:40.256Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-03-12T16:44:40.256Z] -- Installing: /usr/local/lib64/libcbor.a [2021-03-12T16:44:40.256Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-03-12T16:44:40.256Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-03-12T16:44:40.256Z] -- Installing: /usr/local/lib64/libcbor.so [2021-03-12T16:44:40.256Z] -- Up-to-date: /usr/local/include/cbor [2021-03-12T16:44:40.256Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-03-12T16:44:40.256Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-03-12T16:44:40.256Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-03-12T16:44:40.256Z] -- Installing: /usr/local/include/cbor/common.h [2021-03-12T16:44:40.256Z] -- Installing: /usr/local/include/cbor/data.h [2021-03-12T16:44:40.256Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-03-12T16:44:40.256Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-03-12T16:44:40.256Z] -- Installing: /usr/local/include/cbor/internal [2021-03-12T16:44:40.256Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-03-12T16:44:40.256Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-03-12T16:44:40.256Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-03-12T16:44:40.256Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-03-12T16:44:40.256Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-03-12T16:44:40.256Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-03-12T16:44:40.256Z] -- Installing: /usr/local/include/cbor/ints.h [2021-03-12T16:44:40.256Z] -- Installing: /usr/local/include/cbor/maps.h [2021-03-12T16:44:40.256Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-03-12T16:44:40.256Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-03-12T16:44:40.256Z] -- Installing: /usr/local/include/cbor/strings.h [2021-03-12T16:44:40.256Z] -- Installing: /usr/local/include/cbor/tags.h [2021-03-12T16:44:40.256Z] -- Installing: /usr/local/include/cbor.h [2021-03-12T16:44:40.256Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-03-12T16:44:40.438Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-03-12T16:44:40.714Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-03-12T16:44:41.305Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-03-12T16:44:41.577Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-03-12T16:44:41.847Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-03-12T16:44:42.197Z] Removing intermediate container 43d86a20fea8 [2021-03-12T16:44:42.197Z] ---> 9fda66b88f47 [2021-03-12T16:44:42.197Z] Step 6/21 : RUN mkdir /tmp/sdk [2021-03-12T16:44:42.197Z] ---> Running in 1cd5f183ff22 [2021-03-12T16:44:42.441Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-03-12T16:44:43.201Z] Removing intermediate container 1cd5f183ff22 [2021-03-12T16:44:43.201Z] ---> a0547358664f [2021-03-12T16:44:43.201Z] Step 7/21 : COPY VERSION /tmp/sdk [2021-03-12T16:44:43.201Z] ---> fc1ba33540e5 [2021-03-12T16:44:43.201Z] Step 8/21 : COPY src /tmp/sdk/src [2021-03-12T16:44:44.234Z] ---> 6b7b1711e38b [2021-03-12T16:44:44.234Z] Step 9/21 : COPY include /tmp/sdk/include [2021-03-12T16:44:44.496Z] ---> 6b1c977ec500 [2021-03-12T16:44:44.496Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2021-03-12T16:44:44.496Z] ---> a9cfa2687d72 [2021-03-12T16:44:44.496Z] Step 11/21 : COPY LICENSE /tmp/sdk [2021-03-12T16:44:44.759Z] ---> ab28fbfd3fa7 [2021-03-12T16:44:44.759Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2021-03-12T16:44:45.026Z] ---> 4182b0c404d1 [2021-03-12T16:44:45.026Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-03-12T16:44:45.026Z] ---> Running in ee39856fb7ee [2021-03-12T16:44:45.044Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-03-12T16:44:45.044Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-03-12T16:44:45.316Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-03-12T16:44:45.910Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-03-12T16:44:45.975Z] + CPPCHECK=false [2021-03-12T16:44:45.975Z] + DOCGEN=false [2021-03-12T16:44:45.975Z] + TOMLVER=SDK-0.2 [2021-03-12T16:44:45.975Z] + CUTILVER=1.1.4 [2021-03-12T16:44:45.975Z] + '[' 0 -gt 0 ] [2021-03-12T16:44:45.975Z] + readlink -f ./scripts/build.sh [2021-03-12T16:44:45.975Z] + dirname /tmp/sdk/scripts/build.sh [2021-03-12T16:44:45.975Z] + dirname /tmp/sdk/scripts [2021-03-12T16:44:45.975Z] + ROOT=/tmp/sdk [2021-03-12T16:44:45.975Z] + cd /tmp/sdk [2021-03-12T16:44:45.975Z] + '[' '!' -d deps ] [2021-03-12T16:44:45.975Z] + mkdir deps [2021-03-12T16:44:45.975Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-03-12T16:44:45.975Z] + tar -C deps -z -x -f - [2021-03-12T16:44:45.975Z] --2021-03-12 16:44:45-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-03-12T16:44:45.975Z] Resolving github.com... 140.82.114.4 [2021-03-12T16:44:45.975Z] Connecting to github.com|140.82.114.4|:443... connected. [2021-03-12T16:44:45.975Z] HTTP request sent, awaiting response... 302 Found [2021-03-12T16:44:45.975Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-03-12T16:44:45.975Z] --2021-03-12 16:44:45-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-03-12T16:44:45.975Z] Resolving codeload.github.com... 140.82.113.9 [2021-03-12T16:44:45.975Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2021-03-12T16:44:45.975Z] HTTP request sent, awaiting response... 200 OK [2021-03-12T16:44:45.975Z] Length: unspecified [application/x-gzip] [2021-03-12T16:44:45.975Z] Saving to: 'STDOUT' [2021-03-12T16:44:45.975Z]  [2021-03-12T16:44:45.975Z] 0K .......... ...... 1.06M=0.01s [2021-03-12T16:44:45.975Z] [2021-03-12T16:44:45.975Z] 2021-03-12 16:44:45 (1.06 MB/s) - written to stdout [16451] [2021-03-12T16:44:45.975Z] [2021-03-12T16:44:45.975Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-03-12T16:44:45.975Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-03-12T16:44:45.975Z] + tar -C deps -z -x -f - [2021-03-12T16:44:45.975Z] --2021-03-12 16:44:45-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-03-12T16:44:46.238Z] Resolving github.com... 140.82.114.4 [2021-03-12T16:44:46.238Z] Connecting to github.com|140.82.114.4|:443... connected. [2021-03-12T16:44:46.238Z] HTTP request sent, awaiting response... 302 Found [2021-03-12T16:44:46.238Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-03-12T16:44:46.238Z] --2021-03-12 16:44:46-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-03-12T16:44:46.238Z] Resolving codeload.github.com... 140.82.113.9 [2021-03-12T16:44:46.238Z] Connecting to codeload.github.com|140.82.113.9|:443... connected. [2021-03-12T16:44:46.238Z] HTTP request sent, awaiting response... 200 OK [2021-03-12T16:44:46.238Z] Length: unspecified [application/x-gzip] [2021-03-12T16:44:46.238Z] Saving to: 'STDOUT' [2021-03-12T16:44:46.238Z] [2021-03-12T16:44:46.238Z] 0K .......... .......... .......... .......... .......... 1.51M [2021-03-12T16:44:46.238Z] 50K .......... .......... .......... .......... .......... 2.78M [2021-03-12T16:44:46.238Z] 100K .......... .......... .......... .......... .......... 32.2M [2021-03-12T16:44:46.238Z] 150K .......... .......... ....... 1.76M=0.07s [2021-03-12T16:44:46.238Z] [2021-03-12T16:44:46.238Z] 2021-03-12 16:44:46 (2.60 MB/s) - written to stdout [181796] [2021-03-12T16:44:46.238Z] [2021-03-12T16:44:46.238Z] + mkdir -p src/c/iot [2021-03-12T16:44:46.238Z] + 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-03-12T16:44:46.238Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-03-12T16:44:46.238Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-03-12T16:44:46.238Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-03-12T16:44:46.238Z] + mkdir -p include/iot [2021-03-12T16:44:46.238Z] + 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-03-12T16:44:46.238Z] + mkdir -p include/iot/os [2021-03-12T16:44:46.238Z] + 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-03-12T16:44:46.500Z] + mkdir -p /tmp/sdk/build/release [2021-03-12T16:44:46.500Z] + cd /tmp/sdk/build/release [2021-03-12T16:44:46.500Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-03-12T16:44:46.500Z] -- The C compiler identification is GNU 8.3.0 [2021-03-12T16:44:46.500Z] -- Check for working C compiler: /usr/bin/cc [2021-03-12T16:44:46.500Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-03-12T16:44:46.500Z] -- Detecting C compiler ABI info [2021-03-12T16:44:46.504Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-03-12T16:44:46.504Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-03-12T16:44:46.761Z] -- Detecting C compiler ABI info - done [2021-03-12T16:44:46.761Z] -- Detecting C compile features [2021-03-12T16:44:47.023Z] -- Detecting C compile features - done [2021-03-12T16:44:47.023Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-03-12T16:44:47.023Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-03-12T16:44:47.023Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-03-12T16:44:47.023Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-03-12T16:44:47.023Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-03-12T16:44:47.023Z] -- C SDK 0.0.0 for Linux [2021-03-12T16:44:47.023Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-03-12T16:44:47.023Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-03-12T16:44:47.023Z] -- Found Curses: /usr/lib/libcurses.so [2021-03-12T16:44:47.023Z] -- Configuring done [2021-03-12T16:44:47.023Z] -- Generating done [2021-03-12T16:44:47.023Z] -- Build files have been written to: /tmp/sdk/build/release [2021-03-12T16:44:47.023Z] + make all package [2021-03-12T16:44:47.023Z] + tee release.log [2021-03-12T16:44:47.286Z] Scanning dependencies of target csdk [2021-03-12T16:44:47.286Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-03-12T16:44:47.286Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-03-12T16:44:47.483Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-03-12T16:44:47.547Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-03-12T16:44:47.761Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-03-12T16:44:47.808Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-03-12T16:44:48.069Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-03-12T16:44:48.069Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-03-12T16:44:48.336Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-03-12T16:44:48.366Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-03-12T16:44:48.366Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-03-12T16:44:48.605Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-03-12T16:44:48.868Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-03-12T16:44:49.130Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-03-12T16:44:49.130Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-03-12T16:44:49.392Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-03-12T16:44:49.392Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-03-12T16:44:49.392Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-03-12T16:44:49.965Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-03-12T16:44:50.228Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-03-12T16:44:50.228Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-03-12T16:44:50.228Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-03-12T16:44:50.338Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-03-12T16:44:50.494Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-03-12T16:44:50.610Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-03-12T16:44:50.755Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-03-12T16:44:51.330Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-03-12T16:44:51.330Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-03-12T16:44:51.330Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-03-12T16:44:51.582Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-03-12T16:44:51.592Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-03-12T16:44:51.592Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-03-12T16:44:51.592Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-03-12T16:44:51.854Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-03-12T16:44:51.855Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-03-12T16:44:52.117Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-03-12T16:44:52.117Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-03-12T16:44:52.117Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-03-12T16:44:52.690Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-03-12T16:44:52.690Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-03-12T16:44:52.952Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-03-12T16:44:53.214Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-03-12T16:44:54.162Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-03-12T16:44:54.162Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-03-12T16:44:54.425Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-03-12T16:44:54.425Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-03-12T16:44:54.688Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-03-12T16:44:55.263Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-03-12T16:44:55.525Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-03-12T16:44:56.139Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-03-12T16:44:56.139Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-03-12T16:44:56.531Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-03-12T16:44:56.531Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-03-12T16:44:56.796Z] [ 73%] Linking C shared library libcsdk.so [2021-03-12T16:44:56.796Z] [ 73%] Built target csdk [2021-03-12T16:44:56.796Z] Scanning dependencies of target template [2021-03-12T16:44:56.796Z] [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-03-12T16:44:56.796Z] [ 76%] Linking C executable template [2021-03-12T16:44:56.835Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-03-12T16:44:57.057Z] [ 76%] Built target template [2021-03-12T16:44:57.057Z] Scanning dependencies of target device-counter [2021-03-12T16:44:57.057Z] [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-03-12T16:44:57.057Z] [ 80%] Linking C executable device-counter [2021-03-12T16:44:57.143Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-03-12T16:44:57.318Z] [ 80%] Built target device-counter [2021-03-12T16:44:57.318Z] Scanning dependencies of target device-random [2021-03-12T16:44:57.318Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-03-12T16:44:57.318Z] [ 83%] Linking C executable device-random [2021-03-12T16:44:57.318Z] [ 83%] Built target device-random [2021-03-12T16:44:57.318Z] Scanning dependencies of target device-gyro [2021-03-12T16:44:57.318Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-03-12T16:44:57.579Z] [ 86%] Linking C executable device-gyro [2021-03-12T16:44:57.579Z] [ 86%] Built target device-gyro [2021-03-12T16:44:57.579Z] Scanning dependencies of target device-bitfields [2021-03-12T16:44:57.579Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-03-12T16:44:57.579Z] [ 90%] Linking C executable device-bitfields [2021-03-12T16:44:57.840Z] [ 90%] Built target device-bitfields [2021-03-12T16:44:57.840Z] Scanning dependencies of target template-discovery [2021-03-12T16:44:57.840Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-03-12T16:44:57.840Z] [ 93%] Linking C executable template-discovery [2021-03-12T16:44:58.101Z] [ 93%] Built target template-discovery [2021-03-12T16:44:58.101Z] Scanning dependencies of target device-file [2021-03-12T16:44:58.101Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-03-12T16:44:58.101Z] [ 96%] Linking C executable device-file [2021-03-12T16:44:58.164Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-03-12T16:44:58.362Z] [ 96%] Built target device-file [2021-03-12T16:44:58.362Z] Scanning dependencies of target device-terminal [2021-03-12T16:44:58.362Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-03-12T16:44:58.362Z] [100%] Linking C executable device-terminal [2021-03-12T16:44:58.362Z] [100%] Built target device-terminal [2021-03-12T16:44:58.362Z] Run CPack packaging tool... [2021-03-12T16:44:58.624Z] CPack: Create package using TGZ [2021-03-12T16:44:58.624Z] CPack: Install projects [2021-03-12T16:44:58.624Z] CPack: - Run preinstall target for: Csdk [2021-03-12T16:44:58.624Z] CPack: - Install project: Csdk [2021-03-12T16:44:58.885Z] CPack: Create package [2021-03-12T16:44:58.885Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-03-12T16:44:58.885Z] + '[' false '=' true ] [2021-03-12T16:44:58.885Z] + '[' false '=' true ] [2021-03-12T16:44:58.885Z] + mkdir -p /tmp/sdk/build/debug [2021-03-12T16:44:58.885Z] + cd /tmp/sdk/build/debug [2021-03-12T16:44:58.885Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-03-12T16:44:58.885Z] -- The C compiler identification is GNU 8.3.0 [2021-03-12T16:44:58.885Z] -- Check for working C compiler: /usr/bin/cc [2021-03-12T16:44:58.885Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-03-12T16:44:58.885Z] -- Detecting C compiler ABI info [2021-03-12T16:44:59.147Z] -- Detecting C compiler ABI info - done [2021-03-12T16:44:59.147Z] -- Detecting C compile features [2021-03-12T16:44:59.409Z] -- Detecting C compile features - done [2021-03-12T16:44:59.409Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-03-12T16:44:59.409Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-03-12T16:44:59.409Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-03-12T16:44:59.409Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-03-12T16:44:59.409Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-03-12T16:44:59.409Z] -- C SDK 0.0.0 for Linux [2021-03-12T16:44:59.409Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-03-12T16:44:59.409Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-03-12T16:44:59.409Z] -- Found Curses: /usr/lib/libcurses.so [2021-03-12T16:44:59.409Z] -- Configuring done [2021-03-12T16:44:59.637Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-03-12T16:44:59.669Z] -- Generating done [2021-03-12T16:44:59.669Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-03-12T16:44:59.669Z] + make [2021-03-12T16:44:59.669Z] + tee debug.log [2021-03-12T16:44:59.669Z] Scanning dependencies of target csdk [2021-03-12T16:44:59.669Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-03-12T16:44:59.669Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-03-12T16:44:59.931Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-03-12T16:44:59.931Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-03-12T16:45:00.193Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-03-12T16:45:00.193Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-03-12T16:45:00.193Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-03-12T16:45:00.455Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-03-12T16:45:00.455Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-03-12T16:45:00.455Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-03-12T16:45:00.717Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-03-12T16:45:00.717Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-03-12T16:45:00.717Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-03-12T16:45:00.717Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-03-12T16:45:00.979Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-03-12T16:45:00.979Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-03-12T16:45:00.979Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-03-12T16:45:01.243Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-03-12T16:45:01.243Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-03-12T16:45:01.243Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-03-12T16:45:01.507Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-03-12T16:45:01.507Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-03-12T16:45:01.613Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-03-12T16:45:01.774Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-03-12T16:45:01.774Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-03-12T16:45:01.774Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-03-12T16:45:01.774Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-03-12T16:45:02.037Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-03-12T16:45:02.037Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-03-12T16:45:02.037Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-03-12T16:45:02.037Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-03-12T16:45:02.300Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-03-12T16:45:02.300Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-03-12T16:45:02.300Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-03-12T16:45:02.562Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-03-12T16:45:02.826Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-03-12T16:45:02.826Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-03-12T16:45:02.826Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-03-12T16:45:03.091Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-03-12T16:45:03.091Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-03-12T16:45:03.353Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-03-12T16:45:03.614Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-03-12T16:45:03.614Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-03-12T16:45:03.876Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-03-12T16:45:03.876Z] [ 73%] Linking C shared library libcsdk.so [2021-03-12T16:45:03.876Z] [ 73%] Built target csdk [2021-03-12T16:45:03.876Z] Scanning dependencies of target template [2021-03-12T16:45:03.876Z] [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-03-12T16:45:04.140Z] [ 76%] Linking C executable template [2021-03-12T16:45:04.140Z] [ 76%] Built target template [2021-03-12T16:45:04.140Z] Scanning dependencies of target device-counter [2021-03-12T16:45:04.140Z] [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-03-12T16:45:04.140Z] [ 80%] Linking C executable device-counter [2021-03-12T16:45:04.140Z] [ 80%] Built target device-counter [2021-03-12T16:45:04.140Z] Scanning dependencies of target device-random [2021-03-12T16:45:04.402Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-03-12T16:45:04.402Z] [ 83%] Linking C executable device-random [2021-03-12T16:45:04.402Z] [ 83%] Built target device-random [2021-03-12T16:45:04.402Z] Scanning dependencies of target device-gyro [2021-03-12T16:45:04.402Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-03-12T16:45:04.402Z] [ 86%] Linking C executable device-gyro [2021-03-12T16:45:04.663Z] [ 86%] Built target device-gyro [2021-03-12T16:45:04.663Z] Scanning dependencies of target device-bitfields [2021-03-12T16:45:04.663Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-03-12T16:45:04.663Z] [ 90%] Linking C executable device-bitfields [2021-03-12T16:45:04.663Z] [ 90%] Built target device-bitfields [2021-03-12T16:45:04.663Z] Scanning dependencies of target template-discovery [2021-03-12T16:45:04.663Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-03-12T16:45:04.925Z] [ 93%] Linking C executable template-discovery [2021-03-12T16:45:04.925Z] [ 93%] Built target template-discovery [2021-03-12T16:45:04.925Z] Scanning dependencies of target device-file [2021-03-12T16:45:04.925Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-03-12T16:45:04.925Z] [ 96%] Linking C executable device-file [2021-03-12T16:45:04.989Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-03-12T16:45:04.989Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-03-12T16:45:05.186Z] [ 96%] Built target device-file [2021-03-12T16:45:05.187Z] Scanning dependencies of target device-terminal [2021-03-12T16:45:05.187Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-03-12T16:45:05.187Z] [100%] Linking C executable device-terminal [2021-03-12T16:45:05.187Z] [100%] Built target device-terminal [2021-03-12T16:45:05.187Z] make: Entering directory '/tmp/sdk/build/release' [2021-03-12T16:45:05.187Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-03-12T16:45:05.187Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-12T16:45:05.187Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-12T16:45:05.187Z] [ 73%] Built target csdk [2021-03-12T16:45:05.187Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-12T16:45:05.187Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-12T16:45:05.187Z] [ 76%] Built target template [2021-03-12T16:45:05.187Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-12T16:45:05.187Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-12T16:45:05.448Z] [ 80%] Built target device-counter [2021-03-12T16:45:05.448Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-12T16:45:05.448Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-12T16:45:05.448Z] [ 83%] Built target device-random [2021-03-12T16:45:05.448Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-12T16:45:05.448Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-12T16:45:05.448Z] [ 86%] Built target device-gyro [2021-03-12T16:45:05.448Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-12T16:45:05.448Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-12T16:45:05.448Z] [ 90%] Built target device-bitfields [2021-03-12T16:45:05.448Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-12T16:45:05.448Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-12T16:45:05.448Z] [ 93%] Built target template-discovery [2021-03-12T16:45:05.448Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-12T16:45:05.448Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-12T16:45:05.448Z] [ 96%] Built target device-file [2021-03-12T16:45:05.448Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-12T16:45:05.448Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-12T16:45:05.448Z] [100%] Built target device-terminal [2021-03-12T16:45:05.448Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-03-12T16:45:05.448Z] Install the project... [2021-03-12T16:45:05.448Z] -- Install configuration: "Release" [2021-03-12T16:45:05.448Z] -- Installing: /usr/local/lib/libcsdk.so [2021-03-12T16:45:05.448Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-03-12T16:45:05.448Z] -- Up-to-date: /usr/local/include [2021-03-12T16:45:05.448Z] -- Installing: /usr/local/include/devsdk [2021-03-12T16:45:05.448Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-03-12T16:45:05.448Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-03-12T16:45:05.448Z] -- Installing: /usr/local/include/edgex [2021-03-12T16:45:05.448Z] -- Installing: /usr/local/include/edgex/devices.h [2021-03-12T16:45:05.448Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-03-12T16:45:05.448Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-03-12T16:45:05.448Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-03-12T16:45:05.448Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-03-12T16:45:05.448Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-03-12T16:45:05.448Z] -- Installing: /usr/local/include/iot [2021-03-12T16:45:05.448Z] -- Installing: /usr/local/include/iot/base64.h [2021-03-12T16:45:05.448Z] -- Installing: /usr/local/include/iot/component.h [2021-03-12T16:45:05.448Z] -- Installing: /usr/local/include/iot/config.h [2021-03-12T16:45:05.448Z] -- Installing: /usr/local/include/iot/container.h [2021-03-12T16:45:05.448Z] -- Installing: /usr/local/include/iot/data.h [2021-03-12T16:45:05.448Z] -- Installing: /usr/local/include/iot/hash.h [2021-03-12T16:45:05.448Z] -- Installing: /usr/local/include/iot/iot.h [2021-03-12T16:45:05.448Z] -- Installing: /usr/local/include/iot/json.h [2021-03-12T16:45:05.448Z] -- Installing: /usr/local/include/iot/logger.h [2021-03-12T16:45:05.448Z] -- Installing: /usr/local/include/iot/os.h [2021-03-12T16:45:05.448Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-03-12T16:45:05.448Z] -- Installing: /usr/local/include/iot/thread.h [2021-03-12T16:45:05.448Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-03-12T16:45:05.448Z] -- Installing: /usr/local/include/iot/time.h [2021-03-12T16:45:05.448Z] -- Installing: /usr/local/include/iot/typecode.h [2021-03-12T16:45:05.448Z] -- Installing: /usr/local/include/iot/os [2021-03-12T16:45:05.448Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-03-12T16:45:05.448Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-03-12T16:45:05.448Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-03-12T16:45:05.448Z] -- Installing: /usr/local/include/iot/defs.h [2021-03-12T16:45:05.448Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-03-12T16:45:05.448Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-03-12T16:45:05.448Z] make: Leaving directory '/tmp/sdk/build/release' [2021-03-12T16:45:05.584Z] [ 73%] Linking C shared library libcsdk.so [2021-03-12T16:45:05.584Z] [ 73%] Built target csdk [2021-03-12T16:45:05.859Z] Scanning dependencies of target template [2021-03-12T16:45:05.859Z] [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-03-12T16:45:06.453Z] [ 76%] Linking C executable template [2021-03-12T16:45:06.729Z] [ 76%] Built target template [2021-03-12T16:45:06.729Z] Scanning dependencies of target device-counter [2021-03-12T16:45:06.729Z] [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-03-12T16:45:07.001Z] [ 80%] Linking C executable device-counter [2021-03-12T16:45:07.274Z] [ 80%] Built target device-counter [2021-03-12T16:45:07.274Z] Scanning dependencies of target device-random [2021-03-12T16:45:07.274Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-03-12T16:45:07.372Z] Removing intermediate container ee39856fb7ee [2021-03-12T16:45:07.372Z] ---> f8d1299a1191 [2021-03-12T16:45:07.372Z] Step 14/21 : FROM ${BASE} [2021-03-12T16:45:07.372Z] ---> 5eabd8fd8ba2 [2021-03-12T16:45:07.372Z] Step 15/21 : LABEL maintainer="IOTech " [2021-03-12T16:45:07.633Z] ---> Running in 6bd759aff73c [2021-03-12T16:45:07.633Z] Removing intermediate container 6bd759aff73c [2021-03-12T16:45:07.633Z] ---> 3a7fca532501 [2021-03-12T16:45:07.633Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2021-03-12T16:45:07.865Z] [ 83%] Linking C executable device-random [2021-03-12T16:45:07.898Z] ---> Running in e625db789b62 [2021-03-12T16:45:08.138Z] [ 83%] Built target device-random [2021-03-12T16:45:08.138Z] Scanning dependencies of target device-gyro [2021-03-12T16:45:08.138Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-03-12T16:45:08.409Z] [ 86%] Linking C executable device-gyro [2021-03-12T16:45:08.681Z] [ 86%] Built target device-gyro [2021-03-12T16:45:08.681Z] Scanning dependencies of target device-bitfields [2021-03-12T16:45:08.681Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-03-12T16:45:08.844Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-03-12T16:45:09.275Z] [ 90%] Linking C executable device-bitfields [2021-03-12T16:45:09.275Z] [ 90%] Built target device-bitfields [2021-03-12T16:45:09.275Z] Scanning dependencies of target template-discovery [2021-03-12T16:45:09.275Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-03-12T16:45:09.420Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-03-12T16:45:09.683Z] (1/3) Installing curl (7.64.0-r5) [2021-03-12T16:45:09.683Z] (2/3) Installing libuuid (2.33-r0) [2021-03-12T16:45:09.873Z] [ 93%] Linking C executable template-discovery [2021-03-12T16:45:09.945Z] (3/3) Installing wget (1.20.3-r0) [2021-03-12T16:45:09.945Z] Executing busybox-1.29.3-r10.trigger [2021-03-12T16:45:09.945Z] OK: 268 MiB in 78 packages [2021-03-12T16:45:10.197Z] [ 93%] Built target template-discovery [2021-03-12T16:45:10.198Z] Scanning dependencies of target device-file [2021-03-12T16:45:10.198Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-03-12T16:45:10.519Z] Removing intermediate container e625db789b62 [2021-03-12T16:45:10.519Z] ---> c8012dc8a976 [2021-03-12T16:45:10.519Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-03-12T16:45:10.781Z] ---> 58773527b84d [2021-03-12T16:45:10.781Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-03-12T16:45:10.792Z] [ 96%] Linking C executable device-file [2021-03-12T16:45:11.043Z] ---> dea8222f989c [2021-03-12T16:45:11.043Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-03-12T16:45:11.062Z] [ 96%] Built target device-file [2021-03-12T16:45:11.062Z] Scanning dependencies of target device-terminal [2021-03-12T16:45:11.062Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-03-12T16:45:11.306Z] ---> 5e4e50f08f03 [2021-03-12T16:45:11.306Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-03-12T16:45:11.567Z] ---> 0b89c347632c [2021-03-12T16:45:11.567Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-03-12T16:45:11.655Z] [100%] Linking C executable device-terminal [2021-03-12T16:45:11.829Z] ---> 385ebc3f84cf [2021-03-12T16:45:11.829Z] Successfully built 385ebc3f84cf [2021-03-12T16:45:11.829Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [2021-03-12T16:45:11.928Z] [100%] Built target device-terminal [2021-03-12T16:45:11.928Z] Run CPack packaging tool... [2021-03-12T16:45:11.928Z] CPack: Create package using TGZ [2021-03-12T16:45:11.928Z] CPack: Install projects [2021-03-12T16:45:11.928Z] CPack: - Run preinstall target for: Csdk [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-12T16:45:12.498Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-12T16:45:12.498Z] . [Pipeline] withDockerContainer [2021-03-12T16:45:12.520Z] CPack: - Install project: Csdk [2021-03-12T16:45:12.520Z] CPack: Create package [2021-03-12T16:45:12.520Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-03-12T16:45:12.520Z] + '[' false '=' true ] [2021-03-12T16:45:12.520Z] + '[' false '=' true ] [2021-03-12T16:45:12.520Z] + mkdir -p /tmp/sdk/build/debug [2021-03-12T16:45:12.520Z] + cd /tmp/sdk/build/debug [2021-03-12T16:45:12.520Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-03-12T16:45:12.610Z] prd-centos7-docker-4c-2g-29655 does not seem to be running inside a container [2021-03-12T16:45:12.660Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@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 ******** -e ******** ci-base-image-x86_64 cat [2021-03-12T16:45:12.789Z] -- The C compiler identification is GNU 8.3.0 [2021-03-12T16:45:12.789Z] -- Check for working C compiler: /usr/bin/cc [2021-03-12T16:45:13.062Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-03-12T16:45:13.062Z] -- Detecting C compiler ABI info [2021-03-12T16:45:13.276Z] $ docker top 5154610f492743ef4c17958cd322f5fb89103657a2a215d439b35e8095cda398 -eo pid,comm [2021-03-12T16:45:13.335Z] -- Detecting C compiler ABI info - done [2021-03-12T16:45:13.335Z] -- Detecting C compile features [Pipeline] { [Pipeline] sh [2021-03-12T16:45:13.766Z] + make test [2021-03-12T16:45:13.766Z] echo "make test" [2021-03-12T16:45:13.766Z] make test [Pipeline] } [2021-03-12T16:45:13.781Z] $ docker stop --time=1 5154610f492743ef4c17958cd322f5fb89103657a2a215d439b35e8095cda398 [2021-03-12T16:45:14.312Z] -- Detecting C compile features - done [2021-03-12T16:45:14.312Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-03-12T16:45:14.312Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-03-12T16:45:14.312Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-03-12T16:45:14.312Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-03-12T16:45:14.312Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-03-12T16:45:14.312Z] -- C SDK 0.0.0 for Linux [2021-03-12T16:45:14.312Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-03-12T16:45:14.312Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-03-12T16:45:14.312Z] -- Found Curses: /usr/lib/libcurses.so [2021-03-12T16:45:14.583Z] -- Configuring done [2021-03-12T16:45:14.853Z] -- Generating done [2021-03-12T16:45:14.853Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-03-12T16:45:14.853Z] + + teemake [2021-03-12T16:45:14.853Z] debug.log [2021-03-12T16:45:14.853Z] Scanning dependencies of target csdk [2021-03-12T16:45:15.116Z] $ docker rm -f 5154610f492743ef4c17958cd322f5fb89103657a2a215d439b35e8095cda398 [2021-03-12T16:45:15.125Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2021-03-12T16:45:15.398Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2021-03-12T16:45:15.670Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-03-12T16:45:16.261Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-03-12T16:45:16.534Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-03-12T16:45:16.534Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-03-12T16:45:17.136Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-03-12T16:45:17.415Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-03-12T16:45:17.689Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [Pipeline] sh [2021-03-12T16:45:18.282Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-03-12T16:45:18.282Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-03-12T16:45:18.440Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-12T16:45:18.554Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-03-12T16:45:18.746Z] + ls -al . [2021-03-12T16:45:18.746Z] total 160 [2021-03-12T16:45:18.746Z] drwxrwxr-x. 8 jenkins jenkins 260 Mar 12 16:44 . [2021-03-12T16:45:18.746Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 12 16:44 .. [2021-03-12T16:45:18.746Z] -rw-rw-r--. 1 jenkins jenkins 3104 Mar 12 16:44 Attribution.txt [2021-03-12T16:45:18.746Z] -rw-rw-r--. 1 jenkins jenkins 6927 Mar 12 16:44 CHANGES [2021-03-12T16:45:18.746Z] drwxrwxr-x. 2 jenkins jenkins 121 Mar 12 16:44 docs [2021-03-12T16:45:18.746Z] -rw-rw-r--. 1 jenkins jenkins 108574 Mar 12 16:44 Doxyfile [2021-03-12T16:45:18.746Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 12 16:44 .git [2021-03-12T16:45:18.746Z] drwxrwxr-x. 2 jenkins jenkins 81 Mar 12 16:44 .github [2021-03-12T16:45:18.746Z] -rw-rw-r--. 1 jenkins jenkins 176 Mar 12 16:44 .gitignore [2021-03-12T16:45:18.746Z] drwxrwxr-x. 4 jenkins jenkins 33 Mar 12 16:44 include [2021-03-12T16:45:18.746Z] -rw-rw-r--. 1 jenkins jenkins 784 Mar 12 16:44 Jenkinsfile [2021-03-12T16:45:18.746Z] -rw-rw-r--. 1 jenkins jenkins 10174 Mar 12 16:44 LICENSE [2021-03-12T16:45:18.746Z] -rw-rw-r--. 1 jenkins jenkins 444 Mar 12 16:44 Makefile [2021-03-12T16:45:18.746Z] -rw-rw-r--. 1 jenkins jenkins 2694 Mar 12 16:44 README.md [2021-03-12T16:45:18.746Z] -rw-rw-r--. 1 jenkins jenkins 6654 Mar 12 16:44 README.v2.md [2021-03-12T16:45:18.746Z] drwxrwxr-x. 2 jenkins jenkins 98 Mar 12 16:44 scripts [2021-03-12T16:45:18.746Z] drwxrwxr-x. 4 jenkins jenkins 50 Mar 12 16:44 src [2021-03-12T16:45:18.746Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 12 16:41 VERSION [Pipeline] isUnix [Pipeline] sh [2021-03-12T16:45:18.826Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-03-12T16:45:19.050Z] + 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=faf7e9b42be0248c17063f68c1f9b8916e20c11f --label arch=amd64 --label version=0.0.0 . [2021-03-12T16:45:19.050Z] Sending build context to Docker daemon 2.516MB [2021-03-12T16:45:19.050Z] Step 1/15 : ARG BASE=alpine:3.12 [2021-03-12T16:45:19.050Z] Step 2/15 : FROM ${BASE} [2021-03-12T16:45:19.050Z] ---> 385ebc3f84cf [2021-03-12T16:45:19.050Z] Step 3/15 : LABEL maintainer="IOTech " [2021-03-12T16:45:19.098Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-03-12T16:45:19.631Z] ---> Running in 40b13771baed [2021-03-12T16:45:19.689Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-03-12T16:45:19.892Z] Removing intermediate container 40b13771baed [2021-03-12T16:45:19.892Z] ---> 2e93973f0ecc [2021-03-12T16:45:19.892Z] 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-03-12T16:45:19.892Z] ---> Running in 8c8f0de96211 [2021-03-12T16:45:19.962Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-03-12T16:45:19.962Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-03-12T16:45:20.233Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-03-12T16:45:20.467Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-03-12T16:45:20.503Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-03-12T16:45:20.772Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-03-12T16:45:21.040Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-03-12T16:45:21.303Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-03-12T16:45:21.566Z] (2/6) Installing libblkid (2.33-r0) [2021-03-12T16:45:21.566Z] (3/6) Installing libfdisk (2.33-r0) [2021-03-12T16:45:21.566Z] (4/6) Installing libmount (2.33-r0) [2021-03-12T16:45:21.743Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-03-12T16:45:21.743Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-03-12T16:45:21.743Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-03-12T16:45:21.827Z] (5/6) Installing libsmartcols (2.33-r0) [2021-03-12T16:45:21.828Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-03-12T16:45:22.016Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-03-12T16:45:22.090Z] Executing busybox-1.29.3-r10.trigger [2021-03-12T16:45:22.090Z] OK: 272 MiB in 84 packages [2021-03-12T16:45:22.288Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-03-12T16:45:22.556Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-03-12T16:45:22.826Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-03-12T16:45:22.826Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-03-12T16:45:23.035Z] Removing intermediate container 8c8f0de96211 [2021-03-12T16:45:23.035Z] ---> c9e1a127892e [2021-03-12T16:45:23.035Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2021-03-12T16:45:23.035Z] ---> 2982410add2d [2021-03-12T16:45:23.035Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2021-03-12T16:45:23.098Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-03-12T16:45:23.367Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-03-12T16:45:23.639Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-03-12T16:45:23.908Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-03-12T16:45:23.979Z] ---> d2330f0efc24 [2021-03-12T16:45:23.979Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2021-03-12T16:45:23.979Z] ---> 2eeefe9b5d2f [2021-03-12T16:45:23.979Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2021-03-12T16:45:24.242Z] ---> 3ffd695df7aa [2021-03-12T16:45:24.242Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2021-03-12T16:45:24.501Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-03-12T16:45:24.501Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-03-12T16:45:24.503Z] ---> 98cb2d9b94a8 [2021-03-12T16:45:24.503Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2021-03-12T16:45:24.765Z] ---> 9ac6b40da149 [2021-03-12T16:45:24.765Z] Step 11/15 : WORKDIR /edgex-c-sdk [2021-03-12T16:45:24.765Z] ---> Running in d87a0924e727 [2021-03-12T16:45:25.027Z] Removing intermediate container d87a0924e727 [2021-03-12T16:45:25.027Z] ---> 81d5ab721d2c [2021-03-12T16:45:25.027Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-03-12T16:45:25.027Z] ---> Running in 836aaf67dfc5 [2021-03-12T16:45:25.027Z] Removing intermediate container 836aaf67dfc5 [2021-03-12T16:45:25.027Z] ---> 57f25626591a [2021-03-12T16:45:25.027Z] Step 13/15 : LABEL arch=amd64 [2021-03-12T16:45:25.288Z] ---> Running in f89ca0931ccf [2021-03-12T16:45:25.288Z] Removing intermediate container f89ca0931ccf [2021-03-12T16:45:25.288Z] ---> 507f3a14f56b [2021-03-12T16:45:25.288Z] Step 14/15 : LABEL git_sha=faf7e9b42be0248c17063f68c1f9b8916e20c11f [2021-03-12T16:45:25.469Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-03-12T16:45:25.549Z] ---> Running in 974f7632fc17 [2021-03-12T16:45:25.549Z] Removing intermediate container 974f7632fc17 [2021-03-12T16:45:25.549Z] ---> 0eaf7bd6d44e [2021-03-12T16:45:25.549Z] Step 15/15 : LABEL version=0.0.0 [2021-03-12T16:45:25.738Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-03-12T16:45:25.811Z] ---> Running in fcdb9e34f2d9 [2021-03-12T16:45:25.811Z] Removing intermediate container fcdb9e34f2d9 [2021-03-12T16:45:25.811Z] ---> 88ab77ca4ae3 [2021-03-12T16:45:25.811Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-03-12T16:45:25.811Z] Successfully built 88ab77ca4ae3 [2021-03-12T16:45:25.811Z] Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } [2021-03-12T16:45:26.009Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [2021-03-12T16:45:26.283Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [2021-03-12T16:45:26.553Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-12T16:45:27.551Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-03-12T16:45:27.822Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-03-12T16:45:28.797Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-03-12T16:45:28.797Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-03-12T16:45:29.067Z] [ 73%] Linking C shared library libcsdk.so [2021-03-12T16:45:29.339Z] [ 73%] Built target csdk [2021-03-12T16:45:29.339Z] Scanning dependencies of target template [2021-03-12T16:45:29.339Z] [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-03-12T16:45:29.608Z] [ 76%] Linking C executable template [2021-03-12T16:45:29.877Z] [ 76%] Built target template [2021-03-12T16:45:29.877Z] Scanning dependencies of target device-counter [2021-03-12T16:45:29.877Z] [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-03-12T16:45:30.148Z] [ 80%] Linking C executable device-counter [2021-03-12T16:45:30.421Z] [ 80%] Built target device-counter [2021-03-12T16:45:30.421Z] Scanning dependencies of target device-random [2021-03-12T16:45:30.421Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-03-12T16:45:30.693Z] [ 83%] Linking C executable device-random [2021-03-12T16:45:30.966Z] [ 83%] Built target device-random [2021-03-12T16:45:30.966Z] Scanning dependencies of target device-gyro [2021-03-12T16:45:30.966Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-03-12T16:45:31.238Z] [ 86%] Linking C executable device-gyro [2021-03-12T16:45:31.238Z] [ 86%] Built target device-gyro [2021-03-12T16:45:31.238Z] Scanning dependencies of target device-bitfields [2021-03-12T16:45:31.799Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-03-12T16:45:31.799Z] [ 90%] Linking C executable device-bitfields [2021-03-12T16:45:31.799Z] [ 90%] Built target device-bitfields [2021-03-12T16:45:31.799Z] Scanning dependencies of target template-discovery [2021-03-12T16:45:31.799Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-03-12T16:45:32.071Z] [ 93%] Linking C executable template-discovery [2021-03-12T16:45:32.341Z] [ 93%] Built target template-discovery [2021-03-12T16:45:32.341Z] Scanning dependencies of target device-file [2021-03-12T16:45:32.341Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-03-12T16:45:32.616Z] [ 96%] Linking C executable device-file [2021-03-12T16:45:32.886Z] [ 96%] Built target device-file [2021-03-12T16:45:32.886Z] Scanning dependencies of target device-terminal [2021-03-12T16:45:32.886Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-03-12T16:45:33.172Z] [100%] Linking C executable device-terminal [2021-03-12T16:45:33.444Z] [100%] Built target device-terminal [2021-03-12T16:45:33.444Z] make: Entering directory '/tmp/sdk/build/release' [2021-03-12T16:45:33.444Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-03-12T16:45:33.444Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-12T16:45:33.714Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-12T16:45:33.714Z] [ 73%] Built target csdk [2021-03-12T16:45:33.714Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-12T16:45:33.714Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-12T16:45:33.714Z] [ 76%] Built target template [2021-03-12T16:45:33.714Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-12T16:45:33.714Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-12T16:45:33.714Z] [ 80%] Built target device-counter [2021-03-12T16:45:33.714Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-12T16:45:33.714Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-12T16:45:33.714Z] [ 83%] Built target device-random [2021-03-12T16:45:33.714Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-12T16:45:33.714Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-12T16:45:33.714Z] [ 86%] Built target device-gyro [2021-03-12T16:45:33.714Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-12T16:45:33.714Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-12T16:45:33.986Z] [ 90%] Built target device-bitfields [2021-03-12T16:45:33.986Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-12T16:45:33.986Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-12T16:45:33.986Z] [ 93%] Built target template-discovery [2021-03-12T16:45:33.986Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-12T16:45:33.986Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-12T16:45:33.986Z] [ 96%] Built target device-file [2021-03-12T16:45:33.986Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-03-12T16:45:33.986Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-03-12T16:45:33.986Z] [100%] Built target device-terminal [2021-03-12T16:45:33.986Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-03-12T16:45:33.986Z] Install the project... [2021-03-12T16:45:33.986Z] -- Install configuration: "Release" [2021-03-12T16:45:33.986Z] -- Installing: /usr/local/lib/libcsdk.so [2021-03-12T16:45:33.986Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-03-12T16:45:33.986Z] -- Up-to-date: /usr/local/include [2021-03-12T16:45:33.986Z] -- Installing: /usr/local/include/edgex [2021-03-12T16:45:33.986Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-03-12T16:45:33.986Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-03-12T16:45:33.986Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-03-12T16:45:33.986Z] -- Installing: /usr/local/include/edgex/devices.h [2021-03-12T16:45:33.986Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-03-12T16:45:33.986Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-03-12T16:45:33.986Z] -- Installing: /usr/local/include/devsdk [2021-03-12T16:45:33.986Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-03-12T16:45:33.986Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-03-12T16:45:33.986Z] -- Installing: /usr/local/include/iot [2021-03-12T16:45:33.986Z] -- Installing: /usr/local/include/iot/json.h [2021-03-12T16:45:33.986Z] -- Installing: /usr/local/include/iot/container.h [2021-03-12T16:45:33.986Z] -- Installing: /usr/local/include/iot/component.h [2021-03-12T16:45:33.986Z] -- Installing: /usr/local/include/iot/typecode.h [2021-03-12T16:45:33.986Z] -- Installing: /usr/local/include/iot/iot.h [2021-03-12T16:45:33.986Z] -- Installing: /usr/local/include/iot/time.h [2021-03-12T16:45:33.986Z] -- Installing: /usr/local/include/iot/hash.h [2021-03-12T16:45:33.986Z] -- Installing: /usr/local/include/iot/logger.h [2021-03-12T16:45:33.986Z] -- Installing: /usr/local/include/iot/os [2021-03-12T16:45:33.986Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-03-12T16:45:33.986Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-03-12T16:45:33.986Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-03-12T16:45:33.986Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-03-12T16:45:33.986Z] -- Installing: /usr/local/include/iot/data.h [2021-03-12T16:45:33.986Z] -- Installing: /usr/local/include/iot/thread.h [2021-03-12T16:45:33.986Z] -- Installing: /usr/local/include/iot/os.h [2021-03-12T16:45:33.986Z] -- Installing: /usr/local/include/iot/base64.h [2021-03-12T16:45:33.986Z] -- Installing: /usr/local/include/iot/defs.h [2021-03-12T16:45:33.986Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-03-12T16:45:33.986Z] -- Installing: /usr/local/include/iot/config.h [2021-03-12T16:45:33.986Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-03-12T16:45:33.986Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-03-12T16:45:33.986Z] make: Leaving directory '/tmp/sdk/build/release' [2021-03-12T16:45:36.605Z] Removing intermediate container eed74693a8fe [2021-03-12T16:45:36.605Z] ---> 8cc0c85c3e8f [2021-03-12T16:45:36.605Z] Step 14/21 : FROM ${BASE} [2021-03-12T16:45:36.605Z] ---> b23d30803547 [2021-03-12T16:45:36.605Z] Step 15/21 : LABEL maintainer="IOTech " [2021-03-12T16:45:36.605Z] ---> Running in c14abbc424fa [2021-03-12T16:45:36.884Z] Removing intermediate container c14abbc424fa [2021-03-12T16:45:36.884Z] ---> 94b3335051c0 [2021-03-12T16:45:36.884Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2021-03-12T16:45:36.884Z] ---> Running in c972b240073a [2021-03-12T16:45:38.317Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-03-12T16:45:38.905Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-03-12T16:45:39.493Z] (1/3) Installing curl (7.64.0-r5) [2021-03-12T16:45:39.493Z] (2/3) Installing libuuid (2.33-r0) [2021-03-12T16:45:39.493Z] (3/3) Installing wget (1.20.3-r0) [2021-03-12T16:45:39.493Z] Executing busybox-1.29.3-r10.trigger [2021-03-12T16:45:39.765Z] OK: 281 MiB in 78 packages [2021-03-12T16:45:40.748Z] Removing intermediate container c972b240073a [2021-03-12T16:45:40.748Z] ---> 779b1fe8c1aa [2021-03-12T16:45:40.748Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-03-12T16:45:41.723Z] ---> 4b16fa90444b [2021-03-12T16:45:41.723Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-03-12T16:45:42.315Z] ---> 381d51e1f093 [2021-03-12T16:45:42.315Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-03-12T16:45:42.922Z] ---> 52523fc34807 [2021-03-12T16:45:42.922Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-03-12T16:45:43.900Z] ---> 75cfdf99e8c4 [2021-03-12T16:45:43.900Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-03-12T16:45:44.492Z] ---> f64a6e7e0130 [2021-03-12T16:45:44.492Z] Successfully built f64a6e7e0130 [2021-03-12T16:45:44.762Z] 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-03-12T16:45:45.508Z] + docker inspect -f . ci-base-image-arm64 [2021-03-12T16:45:45.508Z] . [Pipeline] withDockerContainer [2021-03-12T16:45:45.740Z] prd-ubuntu18.04-docker-arm64-4c-16g-29654 does not seem to be running inside a container [2021-03-12T16:45:45.869Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@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 ******** -e ******** ci-base-image-arm64 cat [2021-03-12T16:45:47.502Z] $ docker top ad15ced5e211d5fe4daa392b4f052cd8eb585d22f57066593fd6644d476f0152 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-12T16:45:48.606Z] + make test [2021-03-12T16:45:48.606Z] echo "make test" [2021-03-12T16:45:48.606Z] make test [Pipeline] } [2021-03-12T16:45:48.627Z] $ docker stop --time=1 ad15ced5e211d5fe4daa392b4f052cd8eb585d22f57066593fd6644d476f0152 [2021-03-12T16:45:50.592Z] $ docker rm -f ad15ced5e211d5fe4daa392b4f052cd8eb585d22f57066593fd6644d476f0152 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-12T16:45:51.633Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-12T16:45:51.964Z] + ls -al . [2021-03-12T16:45:51.964Z] total 192 [2021-03-12T16:45:51.964Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 16:43 . [2021-03-12T16:45:51.964Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 16:43 .. [2021-03-12T16:45:51.964Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 16:43 .git [2021-03-12T16:45:51.964Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 16:43 .github [2021-03-12T16:45:51.964Z] -rw-rw-r-- 1 jenkins jenkins 176 Mar 12 16:43 .gitignore [2021-03-12T16:45:51.964Z] -rw-rw-r-- 1 jenkins jenkins 3104 Mar 12 16:43 Attribution.txt [2021-03-12T16:45:51.964Z] -rw-rw-r-- 1 jenkins jenkins 6927 Mar 12 16:43 CHANGES [2021-03-12T16:45:51.964Z] -rw-rw-r-- 1 jenkins jenkins 108574 Mar 12 16:43 Doxyfile [2021-03-12T16:45:51.964Z] -rw-rw-r-- 1 jenkins jenkins 784 Mar 12 16:43 Jenkinsfile [2021-03-12T16:45:51.964Z] -rw-rw-r-- 1 jenkins jenkins 10174 Mar 12 16:43 LICENSE [2021-03-12T16:45:51.964Z] -rw-rw-r-- 1 jenkins jenkins 444 Mar 12 16:43 Makefile [2021-03-12T16:45:51.964Z] -rw-rw-r-- 1 jenkins jenkins 2694 Mar 12 16:43 README.md [2021-03-12T16:45:51.964Z] -rw-rw-r-- 1 jenkins jenkins 6654 Mar 12 16:43 README.v2.md [2021-03-12T16:45:51.964Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 12 16:41 VERSION [2021-03-12T16:45:51.964Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 16:43 docs [2021-03-12T16:45:51.964Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 16:43 include [2021-03-12T16:45:51.964Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 16:43 scripts [2021-03-12T16:45:51.964Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 16:43 src [Pipeline] isUnix [Pipeline] sh [2021-03-12T16:45:52.303Z] + 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=faf7e9b42be0248c17063f68c1f9b8916e20c11f --label arch=arm64 --label version=0.0.0 . [2021-03-12T16:45:52.896Z] Sending build context to Docker daemon 2.515MB [2021-03-12T16:45:52.896Z] Step 1/15 : ARG BASE=alpine:3.12 [2021-03-12T16:45:52.896Z] Step 2/15 : FROM ${BASE} [2021-03-12T16:45:52.896Z] ---> f64a6e7e0130 [2021-03-12T16:45:52.896Z] Step 3/15 : LABEL maintainer="IOTech " [2021-03-12T16:45:53.166Z] ---> Running in b44d0e91ed60 [2021-03-12T16:45:53.443Z] Removing intermediate container b44d0e91ed60 [2021-03-12T16:45:53.443Z] ---> 5bb85b38957c [2021-03-12T16:45:53.443Z] 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-03-12T16:45:53.715Z] ---> Running in 69953090bd86 [2021-03-12T16:45:54.689Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-03-12T16:45:55.653Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-03-12T16:45:55.924Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-03-12T16:45:55.924Z] (2/6) Installing libblkid (2.33-r0) [2021-03-12T16:45:56.195Z] (3/6) Installing libfdisk (2.33-r0) [2021-03-12T16:45:56.195Z] (4/6) Installing libmount (2.33-r0) [2021-03-12T16:45:56.195Z] (5/6) Installing libsmartcols (2.33-r0) [2021-03-12T16:45:56.466Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-03-12T16:45:56.735Z] Executing busybox-1.29.3-r10.trigger [2021-03-12T16:45:56.735Z] OK: 286 MiB in 84 packages [2021-03-12T16:45:58.170Z] Removing intermediate container 69953090bd86 [2021-03-12T16:45:58.170Z] ---> 19c42b2a97a8 [2021-03-12T16:45:58.170Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2021-03-12T16:45:58.762Z] ---> 2de6d23319b8 [2021-03-12T16:45:58.762Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2021-03-12T16:45:59.734Z] ---> 2e8590322b4b [2021-03-12T16:45:59.734Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2021-03-12T16:46:00.326Z] ---> 3ed3bf484c24 [2021-03-12T16:46:00.326Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2021-03-12T16:46:00.920Z] ---> f7dcdb3cd5cf [2021-03-12T16:46:00.921Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2021-03-12T16:46:01.900Z] ---> 66ba91120a8a [2021-03-12T16:46:01.900Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2021-03-12T16:46:02.491Z] ---> d81be0e50364 [2021-03-12T16:46:02.491Z] Step 11/15 : WORKDIR /edgex-c-sdk [2021-03-12T16:46:02.491Z] ---> Running in f343d6743b14 [2021-03-12T16:46:03.081Z] Removing intermediate container f343d6743b14 [2021-03-12T16:46:03.081Z] ---> c81433ea24ac [2021-03-12T16:46:03.081Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-03-12T16:46:03.353Z] ---> Running in b3868ffd0cd7 [2021-03-12T16:46:03.623Z] Removing intermediate container b3868ffd0cd7 [2021-03-12T16:46:03.623Z] ---> 02f3237c026e [2021-03-12T16:46:03.623Z] Step 13/15 : LABEL arch=arm64 [2021-03-12T16:46:03.895Z] ---> Running in 7011a9379428 [2021-03-12T16:46:04.164Z] Removing intermediate container 7011a9379428 [2021-03-12T16:46:04.164Z] ---> c0d462802852 [2021-03-12T16:46:04.164Z] Step 14/15 : LABEL git_sha=faf7e9b42be0248c17063f68c1f9b8916e20c11f [2021-03-12T16:46:04.436Z] ---> Running in dd8be1a08b7b [2021-03-12T16:46:05.029Z] Removing intermediate container dd8be1a08b7b [2021-03-12T16:46:05.029Z] ---> 69d4ac0ba628 [2021-03-12T16:46:05.029Z] Step 15/15 : LABEL version=0.0.0 [2021-03-12T16:46:05.029Z] ---> Running in 70194606ed7d [2021-03-12T16:46:05.620Z] Removing intermediate container 70194606ed7d [2021-03-12T16:46:05.620Z] ---> 05cc31523d50 [2021-03-12T16:46:05.620Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-03-12T16:46:05.620Z] Successfully built 05cc31523d50 [2021-03-12T16:46:05.620Z] Successfully tagged docker-device-sdk-c-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-03-12T16:46:08.179Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-12T16:46:08.482Z] ---> package-listing.sh [2021-03-12T16:46:08.482Z] ++ facter osfamily [2021-03-12T16:46:08.482Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-12T16:46:08.482Z] + OS_FAMILY=redhat [2021-03-12T16:46:08.482Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-331 [2021-03-12T16:46:08.482Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-12T16:46:08.482Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-12T16:46:08.482Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-12T16:46:08.482Z] + PACKAGES=/tmp/packages_start.txt [2021-03-12T16:46:08.482Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-331 ']' [2021-03-12T16:46:08.482Z] + PACKAGES=/tmp/packages_end.txt [2021-03-12T16:46:08.482Z] + case "${OS_FAMILY}" in [2021-03-12T16:46:08.482Z] + sort [2021-03-12T16:46:08.482Z] + rpm -qa [2021-03-12T16:46:13.790Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-12T16:46:13.790Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-12T16:46:13.790Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-12T16:46:13.790Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-331 ']' [2021-03-12T16:46:13.790Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-331/archives/ [2021-03-12T16:46:13.790Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-331/archives/ [Pipeline] echo [2021-03-12T16:46:13.806Z] 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-331/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-12T16:46:14.103Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-12T16:46:14.408Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-12T16:46:14.408Z] [2021-03-12T16:46:14.408Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-12T16:46:14.755Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-12T16:46:14.755Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-12T16:46:14.755Z] df20fa9351a1: Pulling fs layer [2021-03-12T16:46:14.755Z] 36b3adc4ff6f: Pulling fs layer [2021-03-12T16:46:14.755Z] 8ad3a11d3b57: Pulling fs layer [2021-03-12T16:46:14.755Z] 46f8f816bc3b: Pulling fs layer [2021-03-12T16:46:14.755Z] 93b61091891f: Pulling fs layer [2021-03-12T16:46:14.755Z] 93b9cdb0e59b: Pulling fs layer [2021-03-12T16:46:14.755Z] 5e14af77c1be: Pulling fs layer [2021-03-12T16:46:14.755Z] 01666e4c0597: Pulling fs layer [2021-03-12T16:46:14.755Z] aa168da1d23b: Pulling fs layer [2021-03-12T16:46:14.755Z] 93b61091891f: Waiting [2021-03-12T16:46:14.755Z] 93b9cdb0e59b: Waiting [2021-03-12T16:46:14.755Z] 5e14af77c1be: Waiting [2021-03-12T16:46:14.755Z] 01666e4c0597: Waiting [2021-03-12T16:46:14.755Z] aa168da1d23b: Waiting [2021-03-12T16:46:14.755Z] 46f8f816bc3b: Waiting [2021-03-12T16:46:14.755Z] 36b3adc4ff6f: Verifying Checksum [2021-03-12T16:46:14.755Z] 36b3adc4ff6f: Download complete [2021-03-12T16:46:14.755Z] 46f8f816bc3b: Verifying Checksum [2021-03-12T16:46:14.755Z] 46f8f816bc3b: Download complete [2021-03-12T16:46:15.020Z] df20fa9351a1: Verifying Checksum [2021-03-12T16:46:15.020Z] df20fa9351a1: Download complete [2021-03-12T16:46:15.020Z] 93b61091891f: Verifying Checksum [2021-03-12T16:46:15.020Z] 93b61091891f: Download complete [2021-03-12T16:46:15.020Z] 93b9cdb0e59b: Verifying Checksum [2021-03-12T16:46:15.020Z] 93b9cdb0e59b: Download complete [2021-03-12T16:46:15.020Z] 5e14af77c1be: Verifying Checksum [2021-03-12T16:46:15.020Z] 5e14af77c1be: Download complete [2021-03-12T16:46:15.020Z] 01666e4c0597: Verifying Checksum [2021-03-12T16:46:15.020Z] 01666e4c0597: Download complete [2021-03-12T16:46:15.282Z] df20fa9351a1: Pull complete [2021-03-12T16:46:15.282Z] 8ad3a11d3b57: Verifying Checksum [2021-03-12T16:46:15.282Z] 8ad3a11d3b57: Download complete [2021-03-12T16:46:15.550Z] 36b3adc4ff6f: Pull complete [2021-03-12T16:46:16.138Z] 8ad3a11d3b57: Pull complete [2021-03-12T16:46:16.412Z] 46f8f816bc3b: Pull complete [2021-03-12T16:46:16.676Z] 93b61091891f: Pull complete [2021-03-12T16:46:17.621Z] 93b9cdb0e59b: Pull complete [2021-03-12T16:46:17.621Z] aa168da1d23b: Verifying Checksum [2021-03-12T16:46:17.621Z] aa168da1d23b: Download complete [2021-03-12T16:46:17.621Z] 5e14af77c1be: Pull complete [2021-03-12T16:46:17.621Z] 01666e4c0597: Pull complete [2021-03-12T16:46:25.791Z] aa168da1d23b: Pull complete [2021-03-12T16:46:25.791Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-12T16:46:25.791Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-12T16:46:25.791Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-12T16:46:25.961Z] prd-centos7-docker-4c-2g-29653 does not seem to be running inside a container [2021-03-12T16:46:26.011Z] $ 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-331/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-331 -v /w/workspace/edgexfoundry_device-sdk-c_PR-331:/w/workspace/edgexfoundry_device-sdk-c_PR-331:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-331@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-12T16:46:28.234Z] $ docker top 8d36fcff97d35c36050cab0ea4a51417861ad96feafc31f8462c62c2cdc69490 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-12T16:46:28.718Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-12T16:46:29.017Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-12T16:46:29.311Z] + ls /var/log/sa-host [2021-03-12T16:46:29.311Z] + sadf -c /var/log/sa-host/sa12 [2021-03-12T16:46:29.311Z] file_magic: OK [2021-03-12T16:46:29.311Z] HZ: Using current value: 100 [2021-03-12T16:46:29.311Z] file_header: OK [2021-03-12T16:46:29.311Z] 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-03-12T16:46:29.311Z] Statistics: [2021-03-12T16:46:29.311Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-12T16:46:29.311Z] File successfully converted to sysstat format version 12.2.1 [2021-03-12T16:46:29.311Z] + sadf -c /var/log/sa-host/sa23 [2021-03-12T16:46:29.311Z] file_magic: OK [2021-03-12T16:46:29.311Z] HZ: Using current value: 100 [2021-03-12T16:46:29.311Z] file_header: OK [2021-03-12T16:46:29.311Z] 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-03-12T16:46:29.311Z] Statistics: [2021-03-12T16:46:29.311Z] Hnuu...uuuununununu... [2021-03-12T16:46:29.311Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-12T16:46:29.892Z] provisioning config files... [2021-03-12T16:46:29.909Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp/config7190662586874131053tmp [Pipeline] { [Pipeline] echo [2021-03-12T16:46:29.996Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-12T16:46:30.292Z] ---> create-netrc.sh [Pipeline] } [2021-03-12T16:46:30.303Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-12T16:46:30.411Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-12T16:46:30.706Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-12T16:46:30.718Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-12T16:46:31.013Z] ---> sudo-logs.sh [2021-03-12T16:46:31.013Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-12T16:46:31.073Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-12T16:46:31.368Z] ---> job-cost.sh [2021-03-12T16:46:31.369Z] lf-activate-venv: SKIPPING [2021-03-12T16:46:31.369Z] INFO: No Stack... [2021-03-12T16:46:32.314Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-12T16:46:32.887Z] INFO: Archiving Costs [Pipeline] echo [2021-03-12T16:46:32.901Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-12T16:46:33.197Z] ---> logs-deploy.sh [2021-03-12T16:46:33.197Z] lf-activate-venv: SKIPPING [2021-03-12T16:46:33.197Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-331/3 [2021-03-12T16:46:33.197Z] INFO: archiving workspace using pattern(s): [2021-03-12T16:46:35.120Z] Archives upload complete. [2021-03-12T16:46:35.120Z] INFO: archiving logs to Nexus