Pull request #336 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 c287dc2702fb2c9f0ad3a1562b19ddf2b340bcfd+0a87d407e041d20f1864a55fff042c6ab73963fc (4bf3c60ffcbdc4cbda0291c64efd493c2fa01df6) 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1288’ Running on prd-centos7-docker-4c-2g-1291 in /w/workspace/edgexfoundry_device-sdk-c_PR-336 [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-336 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 0a87d407e041d20f1864a55fff042c6ab73963fc into PR head commit c287dc2702fb2c9f0ad3a1562b19ddf2b340bcfd Merge succeeded, producing c287dc2702fb2c9f0ad3a1562b19ddf2b340bcfd Checking out Revision c287dc2702fb2c9f0ad3a1562b19ddf2b340bcfd (PR-336) > 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/336/head:refs/remotes/origin/PR-336 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c287dc2702fb2c9f0ad3a1562b19ddf2b340bcfd # 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 0a87d407e041d20f1864a55fff042c6ab73963fc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c287dc2702fb2c9f0ad3a1562b19ddf2b340bcfd # timeout=10 Commit message: "feat: create new devices from json/toml files in configured directory (#47)" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-20T22:55:43.632Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 3368c6102e343318f874eea1e60513bd5090189e # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-20T22:55:43.751Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-20T22:55:43.780Z] ========================================================= [2021-04-20T22:55:43.780Z] EdgeX Global Pipelines Version Info [2021-04-20T22:55:43.780Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-20T22:55:45.313Z] ------------------- [2021-04-20T22:55:45.313Z] stable info: [2021-04-20T22:55:45.313Z] ------------------- [2021-04-20T22:55:45.313Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-20T22:55:45.313Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-20T22:55:45.313Z] Message: update stable to v1.0.186 [2021-04-20T22:55:46.260Z] ------------------- [2021-04-20T22:55:46.260Z] experimental info: [2021-04-20T22:55:46.260Z] ------------------- [2021-04-20T22:55:46.260Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-20T22:55:46.260Z] Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 [2021-04-20T22:55:46.260Z] Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-20T22:55:46.384Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-04-20T22:55:46.417Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-04-20T22:55:46.437Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-20T22:55:46.456Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-20T22:55:46.487Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-20T22:55:46.507Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-04-20T22:55:46.525Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-04-20T22:55:46.557Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-04-20T22:55:46.577Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-20T22:55:46.598Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-c [Pipeline] echo [2021-04-20T22:55:46.629Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-20T22:55:46.650Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-20T22:55:46.670Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-20T22:55:46.700Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-20T22:55:46.720Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-20T22:55:46.740Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-20T22:55:46.773Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-20T22:55:46.793Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-336 [Pipeline] echo [2021-04-20T22:55:46.816Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-336 [Pipeline] echo [2021-04-20T22:55:46.855Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-336 [Pipeline] echo [2021-04-20T22:55:46.874Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c287dc2702fb2c9f0ad3a1562b19ddf2b340bcfd [Pipeline] echo [2021-04-20T22:55:46.894Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c287dc2 [Pipeline] echo [2021-04-20T22:55:46.926Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-20T22:55:47.011Z] provisioning config files... [2021-04-20T22:55:47.043Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp/config5571865639294708451tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-20T22:55:47.361Z] ---> docker-login.sh [2021-04-20T22:55:47.361Z] nexus3.edgexfoundry.org:10001 [2021-04-20T22:55:47.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T22:55:47.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T22:55:47.886Z] Configure a credential helper to remove this warning. See [2021-04-20T22:55:47.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T22:55:47.886Z] [2021-04-20T22:55:47.886Z] Login Succeeded [2021-04-20T22:55:47.886Z] nexus3.edgexfoundry.org:10002 [2021-04-20T22:55:47.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T22:55:47.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T22:55:47.886Z] Configure a credential helper to remove this warning. See [2021-04-20T22:55:47.887Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T22:55:47.887Z] [2021-04-20T22:55:47.887Z] Login Succeeded [2021-04-20T22:55:47.887Z] nexus3.edgexfoundry.org:10003 [2021-04-20T22:55:48.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T22:55:48.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T22:55:48.152Z] Configure a credential helper to remove this warning. See [2021-04-20T22:55:48.152Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T22:55:48.152Z] [2021-04-20T22:55:48.152Z] Login Succeeded [2021-04-20T22:55:48.152Z] nexus3.edgexfoundry.org:10004 [2021-04-20T22:55:48.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T22:55:48.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T22:55:48.413Z] Configure a credential helper to remove this warning. See [2021-04-20T22:55:48.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T22:55:48.413Z] [2021-04-20T22:55:48.413Z] Login Succeeded [2021-04-20T22:55:48.413Z] docker.io [2021-04-20T22:55:48.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T22:55:48.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T22:55:48.676Z] Configure a credential helper to remove this warning. See [2021-04-20T22:55:48.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T22:55:48.676Z] [2021-04-20T22:55:48.676Z] Login Succeeded [2021-04-20T22:55:48.676Z] ---> docker-login.sh ends [Pipeline] } [2021-04-20T22:55:48.687Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2021-04-20T22:55:49.367Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-20T22:55:49.367Z] [2021-04-20T22:55:49.367Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-20T22:55:49.694Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-20T22:55:49.694Z] latest: Pulling from edgex-devops/git-semver [2021-04-20T22:55:49.694Z] 31603596830f: Pulling fs layer [2021-04-20T22:55:49.694Z] 2a8b12db71e7: Pulling fs layer [2021-04-20T22:55:49.694Z] 6ca5941a6612: Pulling fs layer [2021-04-20T22:55:49.694Z] ecc8261a40a4: Pulling fs layer [2021-04-20T22:55:49.694Z] ecc8261a40a4: Waiting [2021-04-20T22:55:49.694Z] 2a8b12db71e7: Download complete [2021-04-20T22:55:49.694Z] 31603596830f: Download complete [2021-04-20T22:55:49.956Z] 6ca5941a6612: Verifying Checksum [2021-04-20T22:55:49.956Z] 6ca5941a6612: Download complete [2021-04-20T22:55:49.956Z] ecc8261a40a4: Verifying Checksum [2021-04-20T22:55:49.956Z] ecc8261a40a4: Download complete [2021-04-20T22:55:50.219Z] 31603596830f: Pull complete [2021-04-20T22:55:50.219Z] 2a8b12db71e7: Pull complete [2021-04-20T22:55:51.171Z] 6ca5941a6612: Pull complete [2021-04-20T22:55:51.171Z] ecc8261a40a4: Pull complete [2021-04-20T22:55:51.171Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-20T22:55:51.171Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-20T22:55:51.171Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-20T22:55:51.290Z] prd-centos7-docker-4c-2g-1291 does not seem to be running inside a container [2021-04-20T22:55:51.333Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-336 -v /w/workspace/edgexfoundry_device-sdk-c_PR-336:/w/workspace/edgexfoundry_device-sdk-c_PR-336:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-20T22:55:53.434Z] $ docker top ae1ca623b4da5ca648eb67d05266c91fa31f1a3f9f9f20fdf9a502c39b020ab2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-20T22:55:53.601Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-20T22:55:53.601Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-20T22:55:53.861Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-20T22:55:53.864Z] $ docker exec ae1ca623b4da5ca648eb67d05266c91fa31f1a3f9f9f20fdf9a502c39b020ab2 ssh-agent [2021-04-20T22:55:54.108Z] SSH_AUTH_SOCK=/tmp/ssh-2PEOt7hLa5yK/agent.12 [2021-04-20T22:55:54.108Z] SSH_AGENT_PID=18 [2021-04-20T22:55:54.119Z] Running ssh-add (command line suppressed) [2021-04-20T22:55:54.245Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp/private_key_4382555684117160730.key (/w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp/private_key_4382555684117160730.key) [2021-04-20T22:55:54.298Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-20T22:55:54.602Z] + git tag --points-at HEAD [Pipeline] } [2021-04-20T22:55:54.671Z] $ docker exec --env ******** --env ******** ae1ca623b4da5ca648eb67d05266c91fa31f1a3f9f9f20fdf9a502c39b020ab2 ssh-agent -k [2021-04-20T22:55:54.792Z] unset SSH_AUTH_SOCK; [2021-04-20T22:55:54.793Z] unset SSH_AGENT_PID; [2021-04-20T22:55:54.793Z] echo Agent pid 18 killed; [2021-04-20T22:55:54.840Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-20T22:55:54.876Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-20T22:55:54.876Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-20T22:55:55.045Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-20T22:55:55.048Z] $ docker exec ae1ca623b4da5ca648eb67d05266c91fa31f1a3f9f9f20fdf9a502c39b020ab2 ssh-agent [2021-04-20T22:55:55.209Z] SSH_AUTH_SOCK=/tmp/ssh-bdqfo1eQImiI/agent.49 [2021-04-20T22:55:55.209Z] SSH_AGENT_PID=54 [2021-04-20T22:55:55.216Z] Running ssh-add (command line suppressed) [2021-04-20T22:55:55.333Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp/private_key_5097513857970320070.key (/w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp/private_key_5097513857970320070.key) [2021-04-20T22:55:55.388Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-20T22:55:55.690Z] + git semver init [2021-04-20T22:55:55.690Z] # -> Open(): unable to determine branch for HEAD [2021-04-20T22:55:55.690Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-336/.git [2021-04-20T22:55:55.690Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-336 [2021-04-20T22:55:55.690Z] # $SEMVER_REMOTE_NAME = origin [2021-04-20T22:55:55.690Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-20T22:55:55.690Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-20T22:55:55.690Z] # $SEMVER_BRANCH = PR-336 [2021-04-20T22:55:55.690Z] # $SEMVER_TEMP = /tmp/semver-527546017 [2021-04-20T22:55:55.690Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-04-20T22:55:56.639Z] # '/tmp/semver-527546017' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-336/.semver' [2021-04-20T22:55:56.639Z] # -> Force: false [2021-04-20T22:55:56.639Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-336/.semver [Pipeline] } [2021-04-20T22:55:56.652Z] $ docker exec --env ******** --env ******** ae1ca623b4da5ca648eb67d05266c91fa31f1a3f9f9f20fdf9a502c39b020ab2 ssh-agent -k [2021-04-20T22:55:56.762Z] unset SSH_AUTH_SOCK; [2021-04-20T22:55:56.763Z] unset SSH_AGENT_PID; [2021-04-20T22:55:56.763Z] echo Agent pid 54 killed; [2021-04-20T22:55:56.808Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-20T22:55:57.156Z] + git semver [Pipeline] } [2021-04-20T22:55:57.171Z] $ docker stop --time=1 ae1ca623b4da5ca648eb67d05266c91fa31f1a3f9f9f20fdf9a502c39b020ab2 [2021-04-20T22:55:58.837Z] $ docker rm -f ae1ca623b4da5ca648eb67d05266c91fa31f1a3f9f9f20fdf9a502c39b020ab2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-20T22:55:59.271Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-20T22:55:59.601Z] Stashed 1 file(s) [Pipeline] echo [2021-04-20T22:55:59.605Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-04-20T22:56:14.751Z] Still waiting to schedule task [2021-04-20T22:56:14.751Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-20T22:56:14.754Z] Still waiting to schedule task [2021-04-20T22:56:14.754Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1289’ [2021-04-20T22:58:07.430Z] Running on prd-centos7-docker-4c-2g-1292 in /w/workspace/edgexfoundry_device-sdk-c_PR-336 [Pipeline] { [Pipeline] ws [2021-04-20T22:58:07.446Z] Running in /w/workspace/device-sdk-c/5 [Pipeline] { [Pipeline] checkout [2021-04-20T22:58:10.089Z] using credential edgex-jenkins-ssh [2021-04-20T22:58:10.108Z] Cloning the remote Git repository [2021-04-20T22:58:09.916Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-04-20T22:58:09.998Z] > git init /w/workspace/device-sdk-c/5 # timeout=10 [2021-04-20T22:58:10.062Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-04-20T22:58:10.063Z] > git --version # timeout=10 [2021-04-20T22:58:10.070Z] > git --version # 'git version 2.24.3' [2021-04-20T22:58:10.070Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-20T22:58:10.100Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-20T22:58:11.486Z] Merging remotes/origin/master commit 0a87d407e041d20f1864a55fff042c6ab73963fc into PR head commit c287dc2702fb2c9f0ad3a1562b19ddf2b340bcfd [2021-04-20T22:58:11.608Z] Merge succeeded, producing c287dc2702fb2c9f0ad3a1562b19ddf2b340bcfd [2021-04-20T22:58:11.609Z] Checking out Revision c287dc2702fb2c9f0ad3a1562b19ddf2b340bcfd (PR-336) [2021-04-20T22:58:10.828Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-04-20T22:58:10.839Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-20T22:58:10.854Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-04-20T22:58:10.875Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-04-20T22:58:10.876Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-20T22:58:10.886Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/336/head:refs/remotes/origin/PR-336 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-20T22:58:11.389Z] > git config core.sparsecheckout # timeout=10 [2021-04-20T22:58:11.401Z] > git checkout -f c287dc2702fb2c9f0ad3a1562b19ddf2b340bcfd # timeout=10 [2021-04-20T22:58:11.462Z] > git remote # timeout=10 [2021-04-20T22:58:11.471Z] > git config --get remote.origin.url # timeout=10 [2021-04-20T22:58:11.478Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-20T22:58:11.483Z] > git merge 0a87d407e041d20f1864a55fff042c6ab73963fc # timeout=10 [2021-04-20T22:58:11.496Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-20T22:58:11.515Z] > git config core.sparsecheckout # timeout=10 [2021-04-20T22:58:11.524Z] > git checkout -f c287dc2702fb2c9f0ad3a1562b19ddf2b340bcfd # timeout=10 [2021-04-20T22:58:15.309Z] Commit message: "feat: create new devices from json/toml files in configured directory (#47)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-20T22:58:16.453Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-20T22:58:16.791Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-20T22:58:17.097Z] + sudo service docker restart [2021-04-20T22:58:17.097Z] + true [2021-04-20T22:58:17.097Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-20T22:58:19.056Z] provisioning config files... [2021-04-20T22:58:19.086Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/5@tmp/config5905714303199859634tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-20T22:58:19.415Z] ---> docker-login.sh [2021-04-20T22:58:19.415Z] nexus3.edgexfoundry.org:10001 [2021-04-20T22:58:19.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T22:58:19.681Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T22:58:19.681Z] Configure a credential helper to remove this warning. See [2021-04-20T22:58:19.681Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T22:58:19.681Z] [2021-04-20T22:58:19.681Z] Login Succeeded [2021-04-20T22:58:19.681Z] nexus3.edgexfoundry.org:10002 [2021-04-20T22:58:19.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T22:58:19.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T22:58:19.945Z] Configure a credential helper to remove this warning. See [2021-04-20T22:58:19.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T22:58:19.945Z] [2021-04-20T22:58:19.945Z] Login Succeeded [2021-04-20T22:58:19.945Z] nexus3.edgexfoundry.org:10003 [2021-04-20T22:58:20.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T22:58:20.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T22:58:20.215Z] Configure a credential helper to remove this warning. See [2021-04-20T22:58:20.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T22:58:20.215Z] [2021-04-20T22:58:20.215Z] Login Succeeded [2021-04-20T22:58:20.215Z] nexus3.edgexfoundry.org:10004 [2021-04-20T22:58:20.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T22:58:20.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T22:58:20.479Z] Configure a credential helper to remove this warning. See [2021-04-20T22:58:20.479Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T22:58:20.479Z] [2021-04-20T22:58:20.479Z] Login Succeeded [2021-04-20T22:58:20.479Z] docker.io [2021-04-20T22:58:20.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T22:58:20.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T22:58:20.742Z] Configure a credential helper to remove this warning. See [2021-04-20T22:58:20.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T22:58:20.742Z] [2021-04-20T22:58:20.742Z] Login Succeeded [2021-04-20T22:58:20.742Z] ---> docker-login.sh ends [Pipeline] } [2021-04-20T22:58:20.753Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-20T22:58:20.955Z] ========================================================= [2021-04-20T22:58:20.955Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-04-20T22:58:20.955Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-20T22:58:21.267Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2021-04-20T22:58:21.538Z] Sending build context to Docker daemon 2.547MB [2021-04-20T22:58:21.538Z] Step 1/21 : ARG BASE=alpine:3.12 [2021-04-20T22:58:21.538Z] Step 2/21 : FROM ${BASE} as builder [2021-04-20T22:58:21.538Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-04-20T22:58:21.538Z] e7c96db7181b: Pulling fs layer [2021-04-20T22:58:21.538Z] 4c13bbce0fe7: Pulling fs layer [2021-04-20T22:58:21.538Z] 6059c847ac2f: Pulling fs layer [2021-04-20T22:58:21.538Z] 4c13bbce0fe7: Verifying Checksum [2021-04-20T22:58:21.538Z] 4c13bbce0fe7: Download complete [2021-04-20T22:58:21.538Z] e7c96db7181b: Verifying Checksum [2021-04-20T22:58:21.538Z] e7c96db7181b: Download complete [2021-04-20T22:58:21.804Z] e7c96db7181b: Pull complete [2021-04-20T22:58:22.067Z] 4c13bbce0fe7: Pull complete [2021-04-20T22:58:23.020Z] 6059c847ac2f: Verifying Checksum [2021-04-20T22:58:23.020Z] 6059c847ac2f: Download complete [2021-04-20T22:58:28.375Z] 6059c847ac2f: Pull complete [2021-04-20T22:58:28.641Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2021-04-20T22:58:28.641Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-04-20T22:58:28.641Z] ---> 5eabd8fd8ba2 [2021-04-20T22:58:28.641Z] Step 3/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev [2021-04-20T22:58:30.578Z] ---> Running in 882e70511d40 [2021-04-20T22:58:31.155Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-04-20T22:58:31.732Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-04-20T22:58:32.310Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2021-04-20T22:58:32.310Z] (2/8) Installing libuuid (2.33-r0) [2021-04-20T22:58:32.310Z] (3/8) Installing libblkid (2.33-r0) [2021-04-20T22:58:32.579Z] (4/8) Installing libfdisk (2.33-r0) [2021-04-20T22:58:32.579Z] (5/8) Installing libmount (2.33-r0) [2021-04-20T22:58:32.579Z] (6/8) Installing libsmartcols (2.33-r0) [2021-04-20T22:58:32.842Z] (7/8) Installing util-linux-dev (2.33-r0) [2021-04-20T22:58:33.105Z] (8/8) Installing wget (1.20.3-r0) [2021-04-20T22:58:33.105Z] Executing busybox-1.29.3-r10.trigger [2021-04-20T22:58:33.105Z] OK: 272 MiB in 83 packages [2021-04-20T22:58:33.686Z] Removing intermediate container 882e70511d40 [2021-04-20T22:58:33.686Z] ---> 62b9cc696906 [2021-04-20T22:58:33.686Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2021-04-20T22:58:33.965Z] ---> Running in 20301a28f12b [2021-04-20T22:58:33.965Z] Removing intermediate container 20301a28f12b [2021-04-20T22:58:33.965Z] ---> ad531646cf58 [2021-04-20T22:58:33.965Z] Step 5/21 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2021-04-20T22:58:33.965Z] ---> Running in e9a059c9108e [2021-04-20T22:58:34.924Z] --2021-04-20 22:58:34-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-04-20T22:58:34.924Z] Resolving github.com... 140.82.114.3 [2021-04-20T22:58:34.924Z] Connecting to github.com|140.82.114.3|:443... connected. [2021-04-20T22:58:34.924Z] HTTP request sent, awaiting response... 302 Found [2021-04-20T22:58:34.924Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-04-20T22:58:34.924Z] --2021-04-20 22:58:34-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-04-20T22:58:34.924Z] Resolving codeload.github.com... 140.82.113.10 [2021-04-20T22:58:34.924Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2021-04-20T22:58:34.924Z] HTTP request sent, awaiting response... 200 OK [2021-04-20T22:58:34.924Z] Length: unspecified [application/x-gzip] [2021-04-20T22:58:34.924Z] Saving to: 'STDOUT' [2021-04-20T22:58:34.924Z]  [2021-04-20T22:58:35.189Z] 0K .......... .......... .......... .......... .......... 1.35M [2021-04-20T22:58:35.189Z] 50K .......... .......... .......... .......... .......... 2.73M [2021-04-20T22:58:35.189Z] 100K .......... .......... .......... .......... .......... 38.2M [2021-04-20T22:58:35.189Z] 150K .......... .......... .......... .......... .......... 2.97M [2021-04-20T22:58:35.189Z] 200K .......... .......... .......... .......... .......... 35.8M [2021-04-20T22:58:35.189Z] 250K .......... .......... .......... .......... .......... 6.89M [2021-04-20T22:58:35.189Z] 300K .......... .......... .......... .......... .......... 4.48M [2021-04-20T22:58:35.189Z] 350K .......... .......... .......... .......... .......... 8.63M [2021-04-20T22:58:35.189Z] 400K .......... .......... .......... .......... .......... 7.96M [2021-04-20T22:58:35.189Z] 450K .......... .......... .......... .......... .......... 10.1M [2021-04-20T22:58:35.189Z] 500K .......... .......... .......... .......... .......... 22.7M [2021-04-20T22:58:35.189Z] 550K .......... .......... .......... .......... .......... 6.05M [2021-04-20T22:58:35.189Z] 600K .......... .......... .......... .......... .......... 2.05M [2021-04-20T22:58:35.189Z] 650K .......... .......... .......... .......... .......... 5.04M [2021-04-20T22:58:35.189Z] 700K .. 30.2M=0.2s [2021-04-20T22:58:35.189Z] [2021-04-20T22:58:35.189Z] 2021-04-20 22:58:35 (4.53 MB/s) - written to stdout [719348] [2021-04-20T22:58:35.189Z] [2021-04-20T22:58:35.453Z] -- The C compiler identification is GNU 8.3.0 [2021-04-20T22:58:35.453Z] -- The CXX compiler identification is GNU 8.3.0 [2021-04-20T22:58:35.453Z] -- Check for working C compiler: /usr/bin/cc [2021-04-20T22:58:35.453Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-04-20T22:58:35.453Z] -- Detecting C compiler ABI info [2021-04-20T22:58:35.716Z] -- Detecting C compiler ABI info - done [2021-04-20T22:58:35.716Z] -- Detecting C compile features [2021-04-20T22:58:35.979Z] -- Detecting C compile features - done [2021-04-20T22:58:35.979Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-04-20T22:58:35.979Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-04-20T22:58:35.979Z] -- Detecting CXX compiler ABI info [2021-04-20T22:58:35.979Z] -- Detecting CXX compiler ABI info - done [2021-04-20T22:58:35.979Z] -- Detecting CXX compile features [2021-04-20T22:58:36.559Z] -- Detecting CXX compile features - done [2021-04-20T22:58:36.559Z] -- Looking for include file endian.h [2021-04-20T22:58:36.559Z] -- Looking for include file endian.h - found [2021-04-20T22:58:36.559Z] -- Check if the system is big endian [2021-04-20T22:58:36.559Z] -- Searching 16 bit integer [2021-04-20T22:58:36.559Z] -- Looking for sys/types.h [2021-04-20T22:58:36.823Z] -- Looking for sys/types.h - found [2021-04-20T22:58:36.824Z] -- Looking for stdint.h [2021-04-20T22:58:36.824Z] -- Looking for stdint.h - found [2021-04-20T22:58:36.824Z] -- Looking for stddef.h [2021-04-20T22:58:36.824Z] -- Looking for stddef.h - found [2021-04-20T22:58:36.824Z] -- Check size of unsigned short [2021-04-20T22:58:37.087Z] -- Check size of unsigned short - done [2021-04-20T22:58:37.087Z] -- Using unsigned short [2021-04-20T22:58:37.087Z] -- Check if the system is big endian - little endian [2021-04-20T22:58:37.087Z] -- Check size of size_t [2021-04-20T22:58:37.087Z] -- Check size of size_t - done [2021-04-20T22:58:37.349Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-04-20T22:58:37.349Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-04-20T22:58:37.349Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-04-20T22:58:37.349Z] CMake did not find one. [2021-04-20T22:58:37.349Z] [2021-04-20T22:58:37.349Z] Could not find a package configuration file provided by "cJSON" with any of [2021-04-20T22:58:37.349Z] the following names: [2021-04-20T22:58:37.349Z] [2021-04-20T22:58:37.349Z] cJSONConfig.cmake [2021-04-20T22:58:37.350Z] cjson-config.cmake [2021-04-20T22:58:37.350Z] [2021-04-20T22:58:37.350Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-04-20T22:58:37.350Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-04-20T22:58:37.350Z] provides a separate development package or SDK, be sure it has been [2021-04-20T22:58:37.350Z] installed. [2021-04-20T22:58:37.350Z] [2021-04-20T22:58:37.350Z] [2021-04-20T22:58:37.350Z] -- Configuring done [2021-04-20T22:58:37.350Z] -- Generating done [2021-04-20T22:58:37.350Z] -- Build files have been written to: /tmp/cbor [2021-04-20T22:58:37.350Z] Scanning dependencies of target cbor_shared [2021-04-20T22:58:37.350Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-04-20T22:58:37.614Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-04-20T22:58:37.878Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-04-20T22:58:37.878Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-04-20T22:58:37.878Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-04-20T22:58:38.145Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-04-20T22:58:38.145Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-04-20T22:58:38.145Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-04-20T22:58:38.145Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-04-20T22:58:38.407Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-04-20T22:58:38.407Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-04-20T22:58:38.670Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-04-20T22:58:38.670Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-04-20T22:58:38.670Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-04-20T22:58:38.933Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-04-20T22:58:38.933Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-04-20T22:58:38.933Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-04-20T22:58:39.195Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-04-20T22:58:39.195Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-04-20T22:58:39.195Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-04-20T22:58:39.195Z] [ 40%] Linking C shared library libcbor.so [2021-04-20T22:58:39.459Z] [ 40%] Built target cbor_shared [2021-04-20T22:58:39.459Z] Scanning dependencies of target cbor [2021-04-20T22:58:39.459Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-04-20T22:58:39.721Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-04-20T22:58:39.721Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-04-20T22:58:39.721Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-04-20T22:58:40.298Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-04-20T22:58:40.298Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-04-20T22:58:40.298Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-04-20T22:58:40.298Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-04-20T22:58:40.298Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-04-20T22:58:40.562Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-04-20T22:58:40.562Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-04-20T22:58:40.828Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-04-20T22:58:40.828Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-04-20T22:58:41.092Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-04-20T22:58:41.092Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-04-20T22:58:41.092Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-04-20T22:58:41.354Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-04-20T22:58:41.354Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-04-20T22:58:41.354Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-04-20T22:58:41.616Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-04-20T22:58:41.616Z] [ 80%] Linking C static library libcbor.a [2021-04-20T22:58:41.616Z] [ 80%] Built target cbor [2021-04-20T22:58:41.616Z] Scanning dependencies of target create_items [2021-04-20T22:58:41.616Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-04-20T22:58:41.616Z] [ 84%] Linking C executable create_items [2021-04-20T22:58:41.880Z] [ 84%] Built target create_items [2021-04-20T22:58:41.880Z] Scanning dependencies of target readfile [2021-04-20T22:58:41.880Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-04-20T22:58:41.880Z] [ 88%] Linking C executable readfile [2021-04-20T22:58:41.880Z] [ 88%] Built target readfile [2021-04-20T22:58:41.880Z] Scanning dependencies of target streaming_parser [2021-04-20T22:58:41.880Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-04-20T22:58:41.880Z] [ 92%] Linking C executable streaming_parser [2021-04-20T22:58:41.880Z] [ 92%] Built target streaming_parser [2021-04-20T22:58:41.880Z] Scanning dependencies of target sort [2021-04-20T22:58:42.144Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-04-20T22:58:42.144Z] [ 96%] Linking C executable sort [2021-04-20T22:58:42.144Z] [ 96%] Built target sort [2021-04-20T22:58:42.144Z] Scanning dependencies of target hello [2021-04-20T22:58:42.144Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-04-20T22:58:42.144Z] [100%] Linking C executable hello [2021-04-20T22:58:42.144Z] [100%] Built target hello [2021-04-20T22:58:42.144Z] Install the project... [2021-04-20T22:58:42.144Z] -- Install configuration: "Release" [2021-04-20T22:58:42.144Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-04-20T22:58:42.144Z] -- Installing: /usr/local/lib64/libcbor.a [2021-04-20T22:58:42.144Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-04-20T22:58:42.144Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-04-20T22:58:42.144Z] -- Installing: /usr/local/lib64/libcbor.so [2021-04-20T22:58:42.144Z] -- Up-to-date: /usr/local/include/cbor [2021-04-20T22:58:42.144Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-04-20T22:58:42.144Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-04-20T22:58:42.144Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-04-20T22:58:42.144Z] -- Installing: /usr/local/include/cbor/common.h [2021-04-20T22:58:42.144Z] -- Installing: /usr/local/include/cbor/data.h [2021-04-20T22:58:42.144Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-04-20T22:58:42.144Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-04-20T22:58:42.144Z] -- Installing: /usr/local/include/cbor/internal [2021-04-20T22:58:42.144Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-04-20T22:58:42.144Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-04-20T22:58:42.144Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-04-20T22:58:42.144Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-04-20T22:58:42.144Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-04-20T22:58:42.144Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-04-20T22:58:42.144Z] -- Installing: /usr/local/include/cbor/ints.h [2021-04-20T22:58:42.144Z] -- Installing: /usr/local/include/cbor/maps.h [2021-04-20T22:58:42.144Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-04-20T22:58:42.144Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-04-20T22:58:42.144Z] -- Installing: /usr/local/include/cbor/strings.h [2021-04-20T22:58:42.144Z] -- Installing: /usr/local/include/cbor/tags.h [2021-04-20T22:58:42.144Z] -- Installing: /usr/local/include/cbor.h [2021-04-20T22:58:42.144Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-04-20T22:58:45.475Z] Removing intermediate container e9a059c9108e [2021-04-20T22:58:45.475Z] ---> 35f7f212cc7d [2021-04-20T22:58:45.475Z] Step 6/21 : RUN mkdir /tmp/sdk [2021-04-20T22:58:45.475Z] ---> Running in df30fde796f4 [2021-04-20T22:58:45.740Z] Removing intermediate container df30fde796f4 [2021-04-20T22:58:45.740Z] ---> 89f21ddaac0a [2021-04-20T22:58:45.740Z] Step 7/21 : COPY VERSION /tmp/sdk [2021-04-20T22:58:46.003Z] ---> c3dfce65c38c [2021-04-20T22:58:46.003Z] Step 8/21 : COPY src /tmp/sdk/src [2021-04-20T22:58:46.951Z] ---> db3fa93b780d [2021-04-20T22:58:46.951Z] Step 9/21 : COPY include /tmp/sdk/include [2021-04-20T22:58:47.215Z] ---> 634973b32619 [2021-04-20T22:58:47.215Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2021-04-20T22:58:47.215Z] ---> 5642a8656d8e [2021-04-20T22:58:47.215Z] Step 11/21 : COPY LICENSE /tmp/sdk [2021-04-20T22:58:47.479Z] ---> ba6bb1c943e6 [2021-04-20T22:58:47.479Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2021-04-20T22:58:47.743Z] ---> 7ce390fe6871 [2021-04-20T22:58:47.743Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-04-20T22:58:47.743Z] ---> Running in b2fbc98261fa [2021-04-20T22:58:48.321Z] + CPPCHECK=false [2021-04-20T22:58:48.321Z] + DOCGEN=false [2021-04-20T22:58:48.321Z] + TOMLVER=SDK-0.2 [2021-04-20T22:58:48.321Z] + CUTILVER=1.1.4 [2021-04-20T22:58:48.321Z] + '[' 0 -gt 0 ] [2021-04-20T22:58:48.321Z] + readlink -f ./scripts/build.sh [2021-04-20T22:58:48.321Z] + dirname /tmp/sdk/scripts/build.sh [2021-04-20T22:58:48.321Z] + dirname /tmp/sdk/scripts [2021-04-20T22:58:48.321Z] + ROOT=/tmp/sdk [2021-04-20T22:58:48.321Z] + cd /tmp/sdk [2021-04-20T22:58:48.321Z] + '[' '!' -d deps ] [2021-04-20T22:58:48.321Z] + mkdir deps [2021-04-20T22:58:48.321Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-04-20T22:58:48.321Z] + tar -C deps -z -x -f - [2021-04-20T22:58:48.321Z] --2021-04-20 22:58:48-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-04-20T22:58:48.321Z] Resolving github.com... 140.82.112.3 [2021-04-20T22:58:48.321Z] Connecting to github.com|140.82.112.3|:443... connected. [2021-04-20T22:58:48.584Z] HTTP request sent, awaiting response... 302 Found [2021-04-20T22:58:48.584Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-04-20T22:58:48.584Z] --2021-04-20 22:58:48-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-04-20T22:58:48.584Z] Resolving codeload.github.com... 140.82.113.10 [2021-04-20T22:58:48.584Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2021-04-20T22:58:48.849Z] HTTP request sent, awaiting response... 200 OK [2021-04-20T22:58:48.849Z] Length: unspecified [application/x-gzip] [2021-04-20T22:58:48.849Z] Saving to: 'STDOUT' [2021-04-20T22:58:48.849Z]  [2021-04-20T22:58:48.849Z] 0K .......... ...... 912K=0.02s [2021-04-20T22:58:48.849Z] [2021-04-20T22:58:48.849Z] 2021-04-20 22:58:48 (912 KB/s) - written to stdout [16451] [2021-04-20T22:58:48.849Z] [2021-04-20T22:58:48.849Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-04-20T22:58:48.849Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-04-20T22:58:48.849Z] + tar -C deps -z -x -f - [2021-04-20T22:58:48.849Z] --2021-04-20 22:58:48-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-04-20T22:58:48.849Z] Resolving github.com... 140.82.112.3 [2021-04-20T22:58:48.849Z] Connecting to github.com|140.82.112.3|:443... connected. [2021-04-20T22:58:48.849Z] HTTP request sent, awaiting response... 302 Found [2021-04-20T22:58:48.849Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-04-20T22:58:48.849Z] --2021-04-20 22:58:48-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-04-20T22:58:48.849Z] Resolving codeload.github.com... 140.82.113.10 [2021-04-20T22:58:49.112Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2021-04-20T22:58:49.112Z] HTTP request sent, awaiting response... 200 OK [2021-04-20T22:58:49.112Z] Length: unspecified [application/x-gzip] [2021-04-20T22:58:49.112Z] Saving to: 'STDOUT' [2021-04-20T22:58:49.112Z] [2021-04-20T22:58:49.112Z] 0K .......... .......... .......... .......... .......... 1.43M [2021-04-20T22:58:49.112Z] 50K .......... .......... .......... .......... .......... 2.89M [2021-04-20T22:58:49.112Z] 100K .......... .......... .......... .......... .......... 43.6M [2021-04-20T22:58:49.112Z] 150K .......... .......... ....... 6.44M=0.06s [2021-04-20T22:58:49.112Z] [2021-04-20T22:58:49.112Z] 2021-04-20 22:58:49 (3.08 MB/s) - written to stdout [181796] [2021-04-20T22:58:49.112Z] [2021-04-20T22:58:49.112Z] + mkdir -p src/c/iot [2021-04-20T22:58:49.112Z] + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot [2021-04-20T22:58:49.112Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-04-20T22:58:49.112Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-04-20T22:58:49.113Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-04-20T22:58:49.113Z] + mkdir -p include/iot [2021-04-20T22:58:49.113Z] + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot [2021-04-20T22:58:49.113Z] + mkdir -p include/iot/os [2021-04-20T22:58:49.113Z] + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os [2021-04-20T22:58:49.113Z] + mkdir -p /tmp/sdk/build/release [2021-04-20T22:58:49.376Z] + cd /tmp/sdk/build/release [2021-04-20T22:58:49.376Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-04-20T22:58:49.376Z] -- The C compiler identification is GNU 8.3.0 [2021-04-20T22:58:49.376Z] -- Check for working C compiler: /usr/bin/cc [2021-04-20T22:58:49.376Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-04-20T22:58:49.376Z] -- Detecting C compiler ABI info [2021-04-20T22:58:49.641Z] -- Detecting C compiler ABI info - done [2021-04-20T22:58:49.641Z] -- Detecting C compile features [2021-04-20T22:58:49.903Z] -- Detecting C compile features - done [2021-04-20T22:58:49.903Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-04-20T22:58:49.903Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-04-20T22:58:49.903Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-04-20T22:58:49.903Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-04-20T22:58:49.903Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-04-20T22:58:49.903Z] -- C SDK 0.0.0 for Linux [2021-04-20T22:58:49.903Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-04-20T22:58:49.903Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-04-20T22:58:49.903Z] -- Found Curses: /usr/lib/libcurses.so [2021-04-20T22:58:49.903Z] -- Configuring done [2021-04-20T22:58:50.166Z] -- Generating done [2021-04-20T22:58:50.166Z] -- Build files have been written to: /tmp/sdk/build/release [2021-04-20T22:58:50.166Z] + make all package [2021-04-20T22:58:50.166Z] + tee release.log [2021-04-20T22:58:50.166Z] Scanning dependencies of target csdk [2021-04-20T22:58:50.166Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-04-20T22:58:50.429Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-04-20T22:58:50.429Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-04-20T22:58:51.014Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-04-20T22:58:51.278Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-04-20T22:58:51.278Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-04-20T22:58:51.540Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-04-20T22:58:51.804Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-04-20T22:58:52.070Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-04-20T22:58:52.334Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-04-20T22:58:52.334Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-04-20T22:58:52.596Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-04-20T22:58:52.596Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-04-20T22:58:52.596Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-04-20T22:58:53.547Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-04-20T22:58:53.547Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-04-20T22:58:53.547Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-04-20T22:58:53.810Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-04-20T22:58:53.810Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-04-20T22:58:54.074Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-04-20T22:58:54.652Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-04-20T22:58:54.652Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-04-20T22:58:54.915Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-04-20T22:58:54.915Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-04-20T22:58:55.179Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-04-20T22:58:55.179Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-04-20T22:58:55.441Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-04-20T22:58:55.441Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-04-20T22:58:55.704Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-04-20T22:58:55.704Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-04-20T22:58:56.286Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-04-20T22:58:56.286Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-04-20T22:58:56.550Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-04-20T22:58:56.550Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-04-20T22:58:57.946Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-04-20T22:58:57.946Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-04-20T22:58:57.946Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-04-20T22:58:58.209Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-04-20T22:58:58.471Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-04-20T22:58:58.735Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-04-20T22:58:59.312Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-04-20T22:59:00.264Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-04-20T22:59:00.264Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-04-20T22:59:00.527Z] [ 73%] Linking C shared library libcsdk.so [2021-04-20T22:59:00.527Z] [ 73%] Built target csdk [2021-04-20T22:59:00.527Z] Scanning dependencies of target template [2021-04-20T22:59:00.527Z] [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-04-20T22:59:00.794Z] [ 76%] Linking C executable template [2021-04-20T22:59:00.794Z] [ 76%] Built target template [2021-04-20T22:59:00.794Z] Scanning dependencies of target device-counter [2021-04-20T22:59:00.794Z] [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-04-20T22:59:01.057Z] [ 80%] Linking C executable device-counter [2021-04-20T22:59:01.057Z] [ 80%] Built target device-counter [2021-04-20T22:59:01.057Z] Scanning dependencies of target device-random [2021-04-20T22:59:01.057Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-04-20T22:59:01.319Z] [ 83%] Linking C executable device-random [2021-04-20T22:59:01.319Z] [ 83%] Built target device-random [2021-04-20T22:59:01.319Z] Scanning dependencies of target device-gyro [2021-04-20T22:59:01.319Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-04-20T22:59:01.584Z] [ 86%] Linking C executable device-gyro [2021-04-20T22:59:01.584Z] [ 86%] Built target device-gyro [2021-04-20T22:59:01.584Z] Scanning dependencies of target device-bitfields [2021-04-20T22:59:01.584Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-04-20T22:59:01.847Z] [ 90%] Linking C executable device-bitfields [2021-04-20T22:59:01.847Z] [ 90%] Built target device-bitfields [2021-04-20T22:59:01.847Z] Scanning dependencies of target template-discovery [2021-04-20T22:59:01.847Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-04-20T22:59:02.109Z] [ 93%] Linking C executable template-discovery [2021-04-20T22:59:02.109Z] [ 93%] Built target template-discovery [2021-04-20T22:59:02.109Z] Scanning dependencies of target device-file [2021-04-20T22:59:02.109Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-04-20T22:59:02.371Z] [ 96%] Linking C executable device-file [2021-04-20T22:59:02.371Z] [ 96%] Built target device-file [2021-04-20T22:59:02.371Z] Scanning dependencies of target device-terminal [2021-04-20T22:59:02.371Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-04-20T22:59:02.634Z] [100%] Linking C executable device-terminal [2021-04-20T22:59:02.634Z] [100%] Built target device-terminal [2021-04-20T22:59:02.634Z] Run CPack packaging tool... [2021-04-20T22:59:02.634Z] CPack: Create package using TGZ [2021-04-20T22:59:02.634Z] CPack: Install projects [2021-04-20T22:59:02.634Z] CPack: - Run preinstall target for: Csdk [2021-04-20T22:59:02.898Z] CPack: - Install project: Csdk [2021-04-20T22:59:02.898Z] CPack: Create package [2021-04-20T22:59:02.898Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-04-20T22:59:02.898Z] + '[' false '=' true ] [2021-04-20T22:59:02.898Z] + '[' false '=' true ] [2021-04-20T22:59:02.898Z] + mkdir -p /tmp/sdk/build/debug [2021-04-20T22:59:02.898Z] + cd /tmp/sdk/build/debug [2021-04-20T22:59:02.898Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-04-20T22:59:03.162Z] -- The C compiler identification is GNU 8.3.0 [2021-04-20T22:59:03.162Z] -- Check for working C compiler: /usr/bin/cc [2021-04-20T22:59:03.162Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-04-20T22:59:03.162Z] -- Detecting C compiler ABI info [2021-04-20T22:59:03.162Z] -- Detecting C compiler ABI info - done [2021-04-20T22:59:03.162Z] -- Detecting C compile features [2021-04-20T22:59:03.425Z] -- Detecting C compile features - done [2021-04-20T22:59:03.425Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-04-20T22:59:03.425Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-04-20T22:59:03.425Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-04-20T22:59:03.425Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-04-20T22:59:03.425Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-04-20T22:59:03.425Z] -- C SDK 0.0.0 for Linux [2021-04-20T22:59:03.425Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-04-20T22:59:03.687Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-04-20T22:59:03.687Z] -- Found Curses: /usr/lib/libcurses.so [2021-04-20T22:59:03.687Z] -- Configuring done [2021-04-20T22:59:03.687Z] -- Generating done [2021-04-20T22:59:03.687Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-04-20T22:59:03.687Z] + make [2021-04-20T22:59:03.687Z] + tee debug.log [2021-04-20T22:59:03.687Z] Scanning dependencies of target csdk [2021-04-20T22:59:03.950Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-04-20T22:59:03.950Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-04-20T22:59:03.950Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-04-20T22:59:04.213Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-04-20T22:59:04.213Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-04-20T22:59:04.213Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-04-20T22:59:04.477Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-04-20T22:59:04.477Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-04-20T22:59:04.743Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-04-20T22:59:04.743Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-04-20T22:59:04.743Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-04-20T22:59:05.009Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-04-20T22:59:05.009Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-04-20T22:59:05.009Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-04-20T22:59:05.272Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-04-20T22:59:05.272Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-04-20T22:59:05.535Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-04-20T22:59:05.535Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-04-20T22:59:05.535Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-04-20T22:59:05.798Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-04-20T22:59:06.061Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-04-20T22:59:06.061Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-04-20T22:59:06.061Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-04-20T22:59:06.061Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-04-20T22:59:06.334Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-04-20T22:59:06.334Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-04-20T22:59:06.334Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-04-20T22:59:06.334Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-04-20T22:59:06.599Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-04-20T22:59:06.599Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-04-20T22:59:06.599Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-04-20T22:59:06.599Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-04-20T22:59:06.863Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-04-20T22:59:06.863Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-04-20T22:59:07.128Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-04-20T22:59:07.390Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-04-20T22:59:07.390Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-04-20T22:59:07.390Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-04-20T22:59:07.653Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-04-20T22:59:07.918Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-04-20T22:59:07.918Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-04-20T22:59:08.181Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-04-20T22:59:08.444Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-04-20T22:59:08.444Z] [ 73%] Linking C shared library libcsdk.so [2021-04-20T22:59:08.444Z] [ 73%] Built target csdk [2021-04-20T22:59:08.444Z] Scanning dependencies of target template [2021-04-20T22:59:08.444Z] [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-04-20T22:59:08.444Z] [ 76%] Linking C executable template [2021-04-20T22:59:08.708Z] [ 76%] Built target template [2021-04-20T22:59:08.708Z] Scanning dependencies of target device-counter [2021-04-20T22:59:08.708Z] [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-04-20T22:59:08.708Z] [ 80%] Linking C executable device-counter [2021-04-20T22:59:08.708Z] [ 80%] Built target device-counter [2021-04-20T22:59:08.972Z] Scanning dependencies of target device-random [2021-04-20T22:59:08.972Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-04-20T22:59:08.972Z] [ 83%] Linking C executable device-random [2021-04-20T22:59:08.972Z] [ 83%] Built target device-random [2021-04-20T22:59:08.972Z] Scanning dependencies of target device-gyro [2021-04-20T22:59:08.972Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-04-20T22:59:09.236Z] [ 86%] Linking C executable device-gyro [2021-04-20T22:59:09.236Z] [ 86%] Built target device-gyro [2021-04-20T22:59:09.236Z] Scanning dependencies of target device-bitfields [2021-04-20T22:59:09.236Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-04-20T22:59:09.236Z] [ 90%] Linking C executable device-bitfields [2021-04-20T22:59:09.236Z] [ 90%] Built target device-bitfields [2021-04-20T22:59:09.497Z] Scanning dependencies of target template-discovery [2021-04-20T22:59:09.497Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-04-20T22:59:09.497Z] [ 93%] Linking C executable template-discovery [2021-04-20T22:59:09.497Z] [ 93%] Built target template-discovery [2021-04-20T22:59:09.497Z] Scanning dependencies of target device-file [2021-04-20T22:59:09.497Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-04-20T22:59:09.761Z] [ 96%] Linking C executable device-file [2021-04-20T22:59:09.761Z] [ 96%] Built target device-file [2021-04-20T22:59:09.761Z] Scanning dependencies of target device-terminal [2021-04-20T22:59:09.761Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-04-20T22:59:09.761Z] [100%] Linking C executable device-terminal [2021-04-20T22:59:10.022Z] [100%] Built target device-terminal [2021-04-20T22:59:10.022Z] make: Entering directory '/tmp/sdk/build/release' [2021-04-20T22:59:10.022Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-04-20T22:59:10.022Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T22:59:10.022Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T22:59:10.022Z] [ 73%] Built target csdk [2021-04-20T22:59:10.022Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T22:59:10.022Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T22:59:10.022Z] [ 76%] Built target template [2021-04-20T22:59:10.022Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T22:59:10.022Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T22:59:10.022Z] [ 80%] Built target device-counter [2021-04-20T22:59:10.022Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T22:59:10.022Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T22:59:10.022Z] [ 83%] Built target device-random [2021-04-20T22:59:10.022Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T22:59:10.022Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T22:59:10.022Z] [ 86%] Built target device-gyro [2021-04-20T22:59:10.022Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T22:59:10.022Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T22:59:10.022Z] [ 90%] Built target device-bitfields [2021-04-20T22:59:10.022Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T22:59:10.022Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T22:59:10.022Z] [ 93%] Built target template-discovery [2021-04-20T22:59:10.022Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T22:59:10.022Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T22:59:10.022Z] [ 96%] Built target device-file [2021-04-20T22:59:10.022Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T22:59:10.022Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T22:59:10.022Z] [100%] Built target device-terminal [2021-04-20T22:59:10.022Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T22:59:10.284Z] Install the project... [2021-04-20T22:59:10.284Z] -- Install configuration: "Release" [2021-04-20T22:59:10.284Z] -- Installing: /usr/local/lib/libcsdk.so [2021-04-20T22:59:10.284Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-04-20T22:59:10.284Z] -- Up-to-date: /usr/local/include [2021-04-20T22:59:10.284Z] -- Installing: /usr/local/include/devsdk [2021-04-20T22:59:10.284Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-04-20T22:59:10.284Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-04-20T22:59:10.284Z] -- Installing: /usr/local/include/edgex [2021-04-20T22:59:10.284Z] -- Installing: /usr/local/include/edgex/devices.h [2021-04-20T22:59:10.284Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-04-20T22:59:10.284Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-04-20T22:59:10.284Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-04-20T22:59:10.284Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-04-20T22:59:10.284Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-04-20T22:59:10.284Z] -- Installing: /usr/local/include/iot [2021-04-20T22:59:10.284Z] -- Installing: /usr/local/include/iot/base64.h [2021-04-20T22:59:10.284Z] -- Installing: /usr/local/include/iot/component.h [2021-04-20T22:59:10.284Z] -- Installing: /usr/local/include/iot/config.h [2021-04-20T22:59:10.284Z] -- Installing: /usr/local/include/iot/container.h [2021-04-20T22:59:10.284Z] -- Installing: /usr/local/include/iot/data.h [2021-04-20T22:59:10.284Z] -- Installing: /usr/local/include/iot/hash.h [2021-04-20T22:59:10.284Z] -- Installing: /usr/local/include/iot/iot.h [2021-04-20T22:59:10.284Z] -- Installing: /usr/local/include/iot/json.h [2021-04-20T22:59:10.284Z] -- Installing: /usr/local/include/iot/logger.h [2021-04-20T22:59:10.284Z] -- Installing: /usr/local/include/iot/os.h [2021-04-20T22:59:10.284Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-04-20T22:59:10.284Z] -- Installing: /usr/local/include/iot/thread.h [2021-04-20T22:59:10.284Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-04-20T22:59:10.284Z] -- Installing: /usr/local/include/iot/time.h [2021-04-20T22:59:10.284Z] -- Installing: /usr/local/include/iot/typecode.h [2021-04-20T22:59:10.284Z] -- Installing: /usr/local/include/iot/os [2021-04-20T22:59:10.284Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-04-20T22:59:10.284Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-04-20T22:59:10.284Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-04-20T22:59:10.284Z] -- Installing: /usr/local/include/iot/defs.h [2021-04-20T22:59:10.284Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-04-20T22:59:10.284Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-04-20T22:59:10.284Z] make: Leaving directory '/tmp/sdk/build/release' [2021-04-20T22:59:12.838Z] Removing intermediate container b2fbc98261fa [2021-04-20T22:59:12.838Z] ---> 45a422f2940f [2021-04-20T22:59:12.838Z] Step 14/21 : FROM ${BASE} [2021-04-20T22:59:12.838Z] ---> 5eabd8fd8ba2 [2021-04-20T22:59:12.838Z] Step 15/21 : LABEL maintainer="IOTech " [2021-04-20T22:59:12.838Z] ---> Running in 6843f5fcc15f [2021-04-20T22:59:12.838Z] Removing intermediate container 6843f5fcc15f [2021-04-20T22:59:12.838Z] ---> 294f2af3276f [2021-04-20T22:59:12.838Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2021-04-20T22:59:12.838Z] ---> Running in 803ccc400c45 [2021-04-20T22:59:13.187Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1293 in /w/workspace/edgexfoundry_device-sdk-c_PR-336 [Pipeline] { [Pipeline] ws [2021-04-20T22:59:13.209Z] Running in /w/workspace/device-sdk-c/5 [Pipeline] { [Pipeline] checkout [2021-04-20T22:59:13.449Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-04-20T22:59:14.393Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-04-20T22:59:14.677Z] (1/3) Installing curl (7.64.0-r5) [2021-04-20T22:59:14.677Z] (2/3) Installing libuuid (2.33-r0) [2021-04-20T22:59:14.950Z] (3/3) Installing wget (1.20.3-r0) [2021-04-20T22:59:14.950Z] Executing busybox-1.29.3-r10.trigger [2021-04-20T22:59:14.950Z] OK: 268 MiB in 78 packages [2021-04-20T22:59:15.569Z] Removing intermediate container 803ccc400c45 [2021-04-20T22:59:15.569Z] ---> 353e7640d4aa [2021-04-20T22:59:15.569Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-04-20T22:59:15.845Z] ---> 420f15c9b771 [2021-04-20T22:59:15.845Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-04-20T22:59:16.139Z] ---> 75ec49d5c39a [2021-04-20T22:59:16.139Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-04-20T22:59:16.139Z] ---> 9e917e5544c2 [2021-04-20T22:59:16.139Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-04-20T22:59:16.436Z] ---> b567596f2907 [2021-04-20T22:59:16.436Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-04-20T22:59:16.698Z] ---> 48d78b26cf4f [2021-04-20T22:59:16.698Z] Successfully built 48d78b26cf4f [2021-04-20T22:59:16.698Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-20T22:59:17.096Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-20T22:59:17.096Z] . [Pipeline] withDockerContainer [2021-04-20T22:59:17.213Z] prd-centos7-docker-4c-2g-1292 does not seem to be running inside a container [2021-04-20T22:59:17.262Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/5 -v /w/workspace/device-sdk-c/5:/w/workspace/device-sdk-c/5:rw,z -v /w/workspace/device-sdk-c/5@tmp:/w/workspace/device-sdk-c/5@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-04-20T22:59:18.137Z] $ docker top 87da7acefa7814f2921fa2745581e7da685a846b35fede22f348253204a90e31 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-20T22:59:18.569Z] + make test [2021-04-20T22:59:18.569Z] echo "make test" [2021-04-20T22:59:18.569Z] make test [Pipeline] } [2021-04-20T22:59:18.584Z] $ docker stop --time=1 87da7acefa7814f2921fa2745581e7da685a846b35fede22f348253204a90e31 [2021-04-20T22:59:18.687Z] using credential edgex-jenkins-ssh [2021-04-20T22:59:18.706Z] Cloning the remote Git repository [2021-04-20T22:59:18.747Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-04-20T22:59:18.842Z] > git init /w/workspace/device-sdk-c/5 # timeout=10 [2021-04-20T22:59:18.930Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-04-20T22:59:18.931Z] > git --version # timeout=10 [2021-04-20T22:59:18.954Z] > git --version # 'git version 2.17.1' [2021-04-20T22:59:18.955Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-20T22:59:19.014Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-20T22:59:19.959Z] $ docker rm -f 87da7acefa7814f2921fa2745581e7da685a846b35fede22f348253204a90e31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-20T22:59:20.163Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-04-20T22:59:20.197Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-20T22:59:20.218Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-04-20T22:59:20.246Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-04-20T22:59:20.247Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-20T22:59:20.258Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/336/head:refs/remotes/origin/PR-336 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-20T22:59:20.840Z] Merging remotes/origin/master commit 0a87d407e041d20f1864a55fff042c6ab73963fc into PR head commit c287dc2702fb2c9f0ad3a1562b19ddf2b340bcfd [2021-04-20T22:59:21.065Z] Merge succeeded, producing c287dc2702fb2c9f0ad3a1562b19ddf2b340bcfd [2021-04-20T22:59:21.066Z] Checking out Revision c287dc2702fb2c9f0ad3a1562b19ddf2b340bcfd (PR-336) [2021-04-20T22:59:21.084Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-20T22:59:21.391Z] + ls -al . [2021-04-20T22:59:21.391Z] total 160 [2021-04-20T22:59:21.391Z] drwxrwxr-x. 8 jenkins jenkins 260 Apr 20 22:58 . [2021-04-20T22:59:21.391Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 20 22:58 .. [2021-04-20T22:59:21.391Z] -rw-rw-r--. 1 jenkins jenkins 3104 Apr 20 22:58 Attribution.txt [2021-04-20T22:59:21.391Z] -rw-rw-r--. 1 jenkins jenkins 7129 Apr 20 22:58 CHANGES [2021-04-20T22:59:21.391Z] drwxrwxr-x. 2 jenkins jenkins 121 Apr 20 22:58 docs [2021-04-20T22:59:21.391Z] -rw-rw-r--. 1 jenkins jenkins 108574 Apr 20 22:58 Doxyfile [2021-04-20T22:59:21.391Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 20 22:58 .git [2021-04-20T22:59:21.391Z] drwxrwxr-x. 2 jenkins jenkins 81 Apr 20 22:58 .github [2021-04-20T22:59:21.391Z] -rw-rw-r--. 1 jenkins jenkins 176 Apr 20 22:58 .gitignore [2021-04-20T22:59:21.391Z] drwxrwxr-x. 4 jenkins jenkins 33 Apr 20 22:58 include [2021-04-20T22:59:21.391Z] -rw-rw-r--. 1 jenkins jenkins 784 Apr 20 22:58 Jenkinsfile [2021-04-20T22:59:21.391Z] -rw-rw-r--. 1 jenkins jenkins 10174 Apr 20 22:58 LICENSE [2021-04-20T22:59:21.391Z] -rw-rw-r--. 1 jenkins jenkins 444 Apr 20 22:58 Makefile [2021-04-20T22:59:21.391Z] -rw-rw-r--. 1 jenkins jenkins 4005 Apr 20 22:58 README.md [2021-04-20T22:59:21.391Z] -rw-rw-r--. 1 jenkins jenkins 6654 Apr 20 22:58 README.v2.md [2021-04-20T22:59:21.391Z] drwxrwxr-x. 2 jenkins jenkins 98 Apr 20 22:58 scripts [2021-04-20T22:59:21.391Z] drwxrwxr-x. 4 jenkins jenkins 50 Apr 20 22:58 src [2021-04-20T22:59:21.391Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 20 22:55 VERSION [Pipeline] isUnix [Pipeline] sh [2021-04-20T22:59:21.699Z] + 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=c287dc2702fb2c9f0ad3a1562b19ddf2b340bcfd --label arch=amd64 --label version=0.0.0 . [2021-04-20T22:59:21.699Z] Sending build context to Docker daemon 2.547MB [2021-04-20T22:59:21.699Z] Step 1/15 : ARG BASE=alpine:3.12 [2021-04-20T22:59:21.699Z] Step 2/15 : FROM ${BASE} [2021-04-20T22:59:21.699Z] ---> 48d78b26cf4f [2021-04-20T22:59:21.699Z] Step 3/15 : LABEL maintainer="IOTech " [2021-04-20T22:59:20.852Z] > git config core.sparsecheckout # timeout=10 [2021-04-20T22:59:20.870Z] > git checkout -f c287dc2702fb2c9f0ad3a1562b19ddf2b340bcfd # timeout=10 [2021-04-20T22:59:20.979Z] > git remote # timeout=10 [2021-04-20T22:59:20.999Z] > git config --get remote.origin.url # timeout=10 [2021-04-20T22:59:21.019Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-20T22:59:21.029Z] > git merge 0a87d407e041d20f1864a55fff042c6ab73963fc # timeout=10 [2021-04-20T22:59:21.049Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-20T22:59:21.068Z] > git config core.sparsecheckout # timeout=10 [2021-04-20T22:59:21.077Z] > git checkout -f c287dc2702fb2c9f0ad3a1562b19ddf2b340bcfd # timeout=10 [2021-04-20T22:59:22.647Z] ---> Running in ab94d14be4af [2021-04-20T22:59:22.647Z] Removing intermediate container ab94d14be4af [2021-04-20T22:59:22.647Z] ---> 104d61d6d87a [2021-04-20T22:59:22.647Z] Step 4/15 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev && mkdir -p /edgex-c-sdk/build [2021-04-20T22:59:22.647Z] ---> Running in 3f59c4c5e5b3 [2021-04-20T22:59:23.232Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-04-20T22:59:23.808Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-04-20T22:59:24.384Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-04-20T22:59:24.384Z] (2/6) Installing libblkid (2.33-r0) [2021-04-20T22:59:24.646Z] (3/6) Installing libfdisk (2.33-r0) [2021-04-20T22:59:24.646Z] (4/6) Installing libmount (2.33-r0) [2021-04-20T22:59:24.646Z] (5/6) Installing libsmartcols (2.33-r0) [2021-04-20T22:59:24.909Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-04-20T22:59:25.292Z] Commit message: "feat: create new devices from json/toml files in configured directory (#47)" [2021-04-20T22:59:25.487Z] Executing busybox-1.29.3-r10.trigger [2021-04-20T22:59:25.487Z] OK: 272 MiB in 84 packages [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-20T22:59:26.062Z] Removing intermediate container 3f59c4c5e5b3 [2021-04-20T22:59:26.062Z] ---> 340bc4ead809 [2021-04-20T22:59:26.062Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2021-04-20T22:59:26.324Z] ---> c9866322b046 [2021-04-20T22:59:26.324Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2021-04-20T22:59:26.657Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-20T22:59:27.066Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-20T22:59:27.273Z] ---> 5199d2f5a05c [2021-04-20T22:59:27.273Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2021-04-20T22:59:27.273Z] ---> 0b6cbcce5b8b [2021-04-20T22:59:27.273Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2021-04-20T22:59:27.409Z] + true [2021-04-20T22:59:27.409Z] + sudo service docker restart [2021-04-20T22:59:27.535Z] ---> e96f66e2bc9e [2021-04-20T22:59:27.535Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2021-04-20T22:59:27.798Z] ---> a975173596ee [2021-04-20T22:59:27.798Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2021-04-20T22:59:28.060Z] ---> fa19ccb59411 [2021-04-20T22:59:28.060Z] Step 11/15 : WORKDIR /edgex-c-sdk [2021-04-20T22:59:28.060Z] ---> Running in 8bd20a11b1a5 [2021-04-20T22:59:28.325Z] Removing intermediate container 8bd20a11b1a5 [2021-04-20T22:59:28.325Z] ---> 25b5707ab0c9 [2021-04-20T22:59:28.325Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-04-20T22:59:28.326Z] ---> Running in 8471ef48242d [2021-04-20T22:59:28.590Z] Removing intermediate container 8471ef48242d [2021-04-20T22:59:28.590Z] ---> 4cbb6e1db672 [2021-04-20T22:59:28.590Z] Step 13/15 : LABEL arch=amd64 [2021-04-20T22:59:28.590Z] ---> Running in 6669629d8d4c [2021-04-20T22:59:28.590Z] Removing intermediate container 6669629d8d4c [2021-04-20T22:59:28.590Z] ---> 655c60e82379 [2021-04-20T22:59:28.590Z] Step 14/15 : LABEL git_sha=c287dc2702fb2c9f0ad3a1562b19ddf2b340bcfd [2021-04-20T22:59:28.853Z] ---> Running in a8c5fd23ce7d [2021-04-20T22:59:28.853Z] Removing intermediate container a8c5fd23ce7d [2021-04-20T22:59:28.853Z] ---> 11a4fd132a20 [2021-04-20T22:59:28.853Z] Step 15/15 : LABEL version=0.0.0 [2021-04-20T22:59:29.118Z] ---> Running in 511d02487575 [2021-04-20T22:59:29.119Z] Removing intermediate container 511d02487575 [2021-04-20T22:59:29.119Z] ---> 4cebac6da6db [2021-04-20T22:59:29.119Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-20T22:59:29.119Z] Successfully built 4cebac6da6db [2021-04-20T22:59:29.119Z] Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-20T22:59:30.080Z] provisioning config files... [2021-04-20T22:59:30.122Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/5@tmp/config515123715709257873tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-20T22:59:30.490Z] ---> docker-login.sh [2021-04-20T22:59:30.490Z] nexus3.edgexfoundry.org:10001 [2021-04-20T22:59:31.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T22:59:31.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T22:59:31.761Z] Configure a credential helper to remove this warning. See [2021-04-20T22:59:31.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T22:59:31.761Z] [2021-04-20T22:59:31.761Z] Login Succeeded [2021-04-20T22:59:31.761Z] nexus3.edgexfoundry.org:10002 [2021-04-20T22:59:32.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T22:59:32.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T22:59:32.307Z] Configure a credential helper to remove this warning. See [2021-04-20T22:59:32.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T22:59:32.307Z] [2021-04-20T22:59:32.307Z] Login Succeeded [2021-04-20T22:59:32.308Z] nexus3.edgexfoundry.org:10003 [2021-04-20T22:59:32.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T22:59:32.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T22:59:32.905Z] Configure a credential helper to remove this warning. See [2021-04-20T22:59:32.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T22:59:32.905Z] [2021-04-20T22:59:32.905Z] Login Succeeded [2021-04-20T22:59:32.905Z] nexus3.edgexfoundry.org:10004 [2021-04-20T22:59:33.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T22:59:33.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T22:59:33.505Z] Configure a credential helper to remove this warning. See [2021-04-20T22:59:33.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T22:59:33.505Z] [2021-04-20T22:59:33.505Z] Login Succeeded [2021-04-20T22:59:33.505Z] docker.io [2021-04-20T22:59:33.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T22:59:34.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T22:59:34.375Z] Configure a credential helper to remove this warning. See [2021-04-20T22:59:34.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T22:59:34.375Z] [2021-04-20T22:59:34.375Z] Login Succeeded [2021-04-20T22:59:34.375Z] ---> docker-login.sh ends [Pipeline] } [2021-04-20T22:59:34.393Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-20T22:59:34.685Z] ========================================================= [2021-04-20T22:59:34.685Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-04-20T22:59:34.685Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-20T22:59:35.032Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2021-04-20T22:59:35.660Z] Sending build context to Docker daemon 2.546MB [2021-04-20T22:59:35.660Z] Step 1/21 : ARG BASE=alpine:3.12 [2021-04-20T22:59:35.660Z] Step 2/21 : FROM ${BASE} as builder [2021-04-20T22:59:35.660Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-04-20T22:59:35.660Z] 0362ad1dd800: Pulling fs layer [2021-04-20T22:59:35.660Z] f2cdb1532d8b: Pulling fs layer [2021-04-20T22:59:35.660Z] 37ed683be191: Pulling fs layer [2021-04-20T22:59:35.660Z] f2cdb1532d8b: Verifying Checksum [2021-04-20T22:59:35.660Z] f2cdb1532d8b: Download complete [2021-04-20T22:59:35.660Z] 0362ad1dd800: Verifying Checksum [2021-04-20T22:59:35.660Z] 0362ad1dd800: Download complete [2021-04-20T22:59:36.265Z] 0362ad1dd800: Pull complete [2021-04-20T22:59:36.867Z] f2cdb1532d8b: Pull complete [2021-04-20T22:59:37.849Z] 37ed683be191: Verifying Checksum [2021-04-20T22:59:37.849Z] 37ed683be191: Download complete [2021-04-20T22:59:48.008Z] 37ed683be191: Pull complete [2021-04-20T22:59:48.008Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2021-04-20T22:59:48.008Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-04-20T22:59:48.008Z] ---> b23d30803547 [2021-04-20T22:59:48.008Z] Step 3/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev [2021-04-20T22:59:48.280Z] ---> Running in c721f75220e1 [2021-04-20T22:59:49.719Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-04-20T22:59:50.312Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-04-20T22:59:51.285Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2021-04-20T22:59:51.285Z] (2/8) Installing libuuid (2.33-r0) [2021-04-20T22:59:51.285Z] (3/8) Installing libblkid (2.33-r0) [2021-04-20T22:59:51.558Z] (4/8) Installing libfdisk (2.33-r0) [2021-04-20T22:59:51.558Z] (5/8) Installing libmount (2.33-r0) [2021-04-20T22:59:51.558Z] (6/8) Installing libsmartcols (2.33-r0) [2021-04-20T22:59:51.829Z] (7/8) Installing util-linux-dev (2.33-r0) [2021-04-20T22:59:52.099Z] (8/8) Installing wget (1.20.3-r0) [2021-04-20T22:59:52.369Z] Executing busybox-1.29.3-r10.trigger [2021-04-20T22:59:52.369Z] OK: 285 MiB in 83 packages [2021-04-20T22:59:53.805Z] Removing intermediate container c721f75220e1 [2021-04-20T22:59:53.805Z] ---> 152df08dcc64 [2021-04-20T22:59:53.805Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2021-04-20T22:59:53.805Z] ---> Running in c14069c8cc8a [2021-04-20T22:59:54.079Z] Removing intermediate container c14069c8cc8a [2021-04-20T22:59:54.079Z] ---> ed13f69b18d3 [2021-04-20T22:59:54.079Z] Step 5/21 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2021-04-20T22:59:54.353Z] ---> Running in 026c9a74efe1 [2021-04-20T22:59:55.353Z] --2021-04-20 22:59:55-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-04-20T22:59:55.354Z] Resolving github.com... 140.82.112.3 [2021-04-20T22:59:55.354Z] Connecting to github.com|140.82.112.3|:443... connected. [2021-04-20T22:59:55.630Z] HTTP request sent, awaiting response... 302 Found [2021-04-20T22:59:55.630Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-04-20T22:59:55.630Z] --2021-04-20 22:59:55-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-04-20T22:59:55.630Z] Resolving codeload.github.com... 140.82.114.10 [2021-04-20T22:59:55.630Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2021-04-20T22:59:55.630Z] HTTP request sent, awaiting response... 200 OK [2021-04-20T22:59:55.630Z] Length: 719348 (702K) [application/x-gzip] [2021-04-20T22:59:55.630Z] Saving to: 'STDOUT' [2021-04-20T22:59:55.630Z]  [2021-04-20T22:59:55.630Z] 0K .......... .......... .......... .......... .......... 7% 1.44M 0s [2021-04-20T22:59:55.630Z] 50K .......... .......... .......... .......... .......... 14% 3.02M 0s [2021-04-20T22:59:55.630Z] 100K .......... .......... .......... .......... .......... 21% 12.4M 0s [2021-04-20T22:59:55.630Z] 150K .......... .......... .......... .......... .......... 28% 4.16M 0s [2021-04-20T22:59:55.630Z] 200K .......... .......... .......... .......... .......... 35% 11.7M 0s [2021-04-20T22:59:55.913Z] 250K .......... .......... .......... .......... .......... 42% 2.98M 0s [2021-04-20T22:59:55.913Z] 300K .......... .......... .......... .......... .......... 49% 3.06M 0s [2021-04-20T22:59:55.913Z] 350K .......... .......... .......... .......... .......... 56% 6.54M 0s [2021-04-20T22:59:55.913Z] 400K .......... .......... .......... .......... .......... 64% 3.29M 0s [2021-04-20T22:59:55.913Z] 450K .......... .......... .......... .......... .......... 71% 5.63M 0s [2021-04-20T22:59:55.913Z] 500K .......... .......... .......... .......... .......... 78% 7.18M 0s [2021-04-20T22:59:55.913Z] 550K .......... .......... .......... .......... .......... 85% 2.84M 0s [2021-04-20T22:59:55.913Z] 600K .......... .......... .......... .......... .......... 92% 1.38M 0s [2021-04-20T22:59:55.913Z] 650K .......... .......... .......... .......... .......... 99% 1.63M 0s [2021-04-20T22:59:55.913Z] 700K .. 100% 4746G=0.2s [2021-04-20T22:59:55.913Z] [2021-04-20T22:59:55.913Z] 2021-04-20 22:59:55 (3.08 MB/s) - written to stdout [719348/719348] [2021-04-20T22:59:55.913Z] [2021-04-20T22:59:56.187Z] -- The C compiler identification is GNU 8.3.0 [2021-04-20T22:59:56.459Z] -- The CXX compiler identification is GNU 8.3.0 [2021-04-20T22:59:56.459Z] -- Check for working C compiler: /usr/bin/cc [2021-04-20T22:59:56.732Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-04-20T22:59:56.732Z] -- Detecting C compiler ABI info [2021-04-20T22:59:57.009Z] -- Detecting C compiler ABI info - done [2021-04-20T22:59:57.009Z] -- Detecting C compile features [2021-04-20T22:59:57.992Z] -- Detecting C compile features - done [2021-04-20T22:59:57.992Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-04-20T22:59:57.992Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-04-20T22:59:57.992Z] -- Detecting CXX compiler ABI info [2021-04-20T22:59:58.264Z] -- Detecting CXX compiler ABI info - done [2021-04-20T22:59:58.264Z] -- Detecting CXX compile features [2021-04-20T22:59:59.696Z] -- Detecting CXX compile features - done [2021-04-20T22:59:59.969Z] -- Looking for include file endian.h [2021-04-20T22:59:59.969Z] -- Looking for include file endian.h - found [2021-04-20T22:59:59.969Z] -- Check if the system is big endian [2021-04-20T22:59:59.969Z] -- Searching 16 bit integer [2021-04-20T22:59:59.969Z] -- Looking for sys/types.h [2021-04-20T23:00:00.240Z] -- Looking for sys/types.h - found [2021-04-20T23:00:00.240Z] -- Looking for stdint.h [2021-04-20T23:00:00.513Z] -- Looking for stdint.h - found [2021-04-20T23:00:00.513Z] -- Looking for stddef.h [2021-04-20T23:00:00.789Z] -- Looking for stddef.h - found [2021-04-20T23:00:00.789Z] -- Check size of unsigned short [2021-04-20T23:00:01.063Z] -- Check size of unsigned short - done [2021-04-20T23:00:01.063Z] -- Using unsigned short [2021-04-20T23:00:01.336Z] -- Check if the system is big endian - little endian [2021-04-20T23:00:01.336Z] -- Check size of size_t [2021-04-20T23:00:01.609Z] -- Check size of size_t - done [2021-04-20T23:00:01.609Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-04-20T23:00:01.609Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-04-20T23:00:01.609Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-04-20T23:00:01.609Z] CMake did not find one. [2021-04-20T23:00:01.609Z] [2021-04-20T23:00:01.609Z] Could not find a package configuration file provided by "cJSON" with any of [2021-04-20T23:00:01.609Z] the following names: [2021-04-20T23:00:01.609Z] [2021-04-20T23:00:01.609Z] cJSONConfig.cmake [2021-04-20T23:00:01.609Z] cjson-config.cmake [2021-04-20T23:00:01.609Z] [2021-04-20T23:00:01.609Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-04-20T23:00:01.609Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-04-20T23:00:01.609Z] provides a separate development package or SDK, be sure it has been [2021-04-20T23:00:01.609Z] installed. [2021-04-20T23:00:01.609Z] [2021-04-20T23:00:01.609Z] [2021-04-20T23:00:01.609Z] -- Configuring done [2021-04-20T23:00:01.882Z] -- Generating done [2021-04-20T23:00:01.882Z] -- Build files have been written to: /tmp/cbor [2021-04-20T23:00:01.882Z] Scanning dependencies of target cbor_shared [2021-04-20T23:00:02.153Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-04-20T23:00:02.745Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-04-20T23:00:03.340Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-04-20T23:00:03.615Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-04-20T23:00:04.209Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-04-20T23:00:04.482Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-04-20T23:00:04.482Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-04-20T23:00:04.754Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-04-20T23:00:05.030Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-04-20T23:00:05.305Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-04-20T23:00:05.899Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-04-20T23:00:06.172Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-04-20T23:00:06.445Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-04-20T23:00:06.721Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-04-20T23:00:06.995Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-04-20T23:00:07.270Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-04-20T23:00:07.544Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-04-20T23:00:07.817Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-04-20T23:00:08.088Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-04-20T23:00:08.361Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-04-20T23:00:08.633Z] [ 40%] Linking C shared library libcbor.so [2021-04-20T23:00:08.633Z] [ 40%] Built target cbor_shared [2021-04-20T23:00:08.633Z] Scanning dependencies of target cbor [2021-04-20T23:00:08.633Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-04-20T23:00:09.612Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-04-20T23:00:10.204Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-04-20T23:00:10.204Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-04-20T23:00:11.632Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-04-20T23:00:11.632Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-04-20T23:00:11.904Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-04-20T23:00:12.176Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-04-20T23:00:12.176Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-04-20T23:00:12.775Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-04-20T23:00:13.367Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-04-20T23:00:13.640Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-04-20T23:00:13.913Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-04-20T23:00:14.186Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-04-20T23:00:14.459Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-04-20T23:00:14.732Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-04-20T23:00:15.004Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-04-20T23:00:15.275Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-04-20T23:00:15.548Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-04-20T23:00:15.819Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-04-20T23:00:16.092Z] [ 80%] Linking C static library libcbor.a [2021-04-20T23:00:16.092Z] [ 80%] Built target cbor [2021-04-20T23:00:16.092Z] Scanning dependencies of target create_items [2021-04-20T23:00:16.092Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-04-20T23:00:16.363Z] [ 84%] Linking C executable create_items [2021-04-20T23:00:16.363Z] [ 84%] Built target create_items [2021-04-20T23:00:16.363Z] Scanning dependencies of target readfile [2021-04-20T23:00:16.363Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-04-20T23:00:16.635Z] [ 88%] Linking C executable readfile [2021-04-20T23:00:16.908Z] [ 88%] Built target readfile [2021-04-20T23:00:16.908Z] Scanning dependencies of target streaming_parser [2021-04-20T23:00:16.908Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-04-20T23:00:17.179Z] [ 92%] Linking C executable streaming_parser [2021-04-20T23:00:17.179Z] [ 92%] Built target streaming_parser [2021-04-20T23:00:17.179Z] Scanning dependencies of target sort [2021-04-20T23:00:17.179Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-04-20T23:00:17.450Z] [ 96%] Linking C executable sort [2021-04-20T23:00:17.450Z] [ 96%] Built target sort [2021-04-20T23:00:17.450Z] Scanning dependencies of target hello [2021-04-20T23:00:17.450Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-04-20T23:00:17.722Z] [100%] Linking C executable hello [2021-04-20T23:00:17.722Z] [100%] Built target hello [2021-04-20T23:00:17.722Z] Install the project... [2021-04-20T23:00:17.722Z] -- Install configuration: "Release" [2021-04-20T23:00:17.722Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-04-20T23:00:17.722Z] -- Installing: /usr/local/lib64/libcbor.a [2021-04-20T23:00:17.722Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-04-20T23:00:17.722Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-04-20T23:00:17.722Z] -- Installing: /usr/local/lib64/libcbor.so [2021-04-20T23:00:17.722Z] -- Up-to-date: /usr/local/include/cbor [2021-04-20T23:00:17.722Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-04-20T23:00:17.722Z] -- Installing: /usr/local/include/cbor/ints.h [2021-04-20T23:00:17.722Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-04-20T23:00:17.722Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-04-20T23:00:17.722Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-04-20T23:00:17.722Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-04-20T23:00:17.722Z] -- Installing: /usr/local/include/cbor/data.h [2021-04-20T23:00:17.722Z] -- Installing: /usr/local/include/cbor/common.h [2021-04-20T23:00:17.722Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-04-20T23:00:17.722Z] -- Installing: /usr/local/include/cbor/strings.h [2021-04-20T23:00:17.722Z] -- Installing: /usr/local/include/cbor/tags.h [2021-04-20T23:00:17.722Z] -- Installing: /usr/local/include/cbor/internal [2021-04-20T23:00:17.722Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-04-20T23:00:17.722Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-04-20T23:00:17.722Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-04-20T23:00:17.722Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-04-20T23:00:17.722Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-04-20T23:00:17.722Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-04-20T23:00:17.722Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-04-20T23:00:17.722Z] -- Installing: /usr/local/include/cbor/maps.h [2021-04-20T23:00:17.722Z] -- Installing: /usr/local/include/cbor.h [2021-04-20T23:00:17.722Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-04-20T23:00:20.348Z] Removing intermediate container 026c9a74efe1 [2021-04-20T23:00:20.348Z] ---> e95884c2bf60 [2021-04-20T23:00:20.348Z] Step 6/21 : RUN mkdir /tmp/sdk [2021-04-20T23:00:20.348Z] ---> Running in b6fada79f793 [2021-04-20T23:00:22.323Z] Removing intermediate container b6fada79f793 [2021-04-20T23:00:22.324Z] ---> aa57ef89fdd3 [2021-04-20T23:00:22.324Z] Step 7/21 : COPY VERSION /tmp/sdk [2021-04-20T23:00:22.921Z] ---> da7e9dc51f9e [2021-04-20T23:00:22.921Z] Step 8/21 : COPY src /tmp/sdk/src [2021-04-20T23:00:23.900Z] ---> 2eb0fd9bbe94 [2021-04-20T23:00:23.900Z] Step 9/21 : COPY include /tmp/sdk/include [2021-04-20T23:00:24.493Z] ---> d6826d466fdd [2021-04-20T23:00:24.493Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2021-04-20T23:00:25.087Z] ---> 5b56b22918c4 [2021-04-20T23:00:25.087Z] Step 11/21 : COPY LICENSE /tmp/sdk [2021-04-20T23:00:25.681Z] ---> bd8b5f41fadc [2021-04-20T23:00:25.681Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2021-04-20T23:00:26.656Z] ---> 699749e3a795 [2021-04-20T23:00:26.656Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-04-20T23:00:26.656Z] ---> Running in fa20c2864d5e [2021-04-20T23:00:27.629Z] + CPPCHECK=false [2021-04-20T23:00:27.629Z] + DOCGEN=false [2021-04-20T23:00:27.629Z] + TOMLVER=SDK-0.2 [2021-04-20T23:00:27.629Z] + CUTILVER=1.1.4 [2021-04-20T23:00:27.629Z] + '[' 0 -gt 0 ] [2021-04-20T23:00:27.629Z] + readlink -f ./scripts/build.sh [2021-04-20T23:00:27.629Z] + dirname /tmp/sdk/scripts/build.sh [2021-04-20T23:00:27.629Z] + dirname /tmp/sdk/scripts [2021-04-20T23:00:27.629Z] + ROOT=/tmp/sdk [2021-04-20T23:00:27.629Z] + cd /tmp/sdk [2021-04-20T23:00:27.629Z] + '[' '!' -d deps ] [2021-04-20T23:00:27.629Z] + mkdir deps [2021-04-20T23:00:27.629Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-04-20T23:00:27.629Z] + tar -C deps -z -x -f - [2021-04-20T23:00:27.629Z] --2021-04-20 23:00:27-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-04-20T23:00:27.629Z] Resolving github.com... 140.82.112.3 [2021-04-20T23:00:27.629Z] Connecting to github.com|140.82.112.3|:443... connected. [2021-04-20T23:00:27.901Z] HTTP request sent, awaiting response... 302 Found [2021-04-20T23:00:27.901Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-04-20T23:00:27.901Z] --2021-04-20 23:00:27-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-04-20T23:00:27.901Z] Resolving codeload.github.com... 140.82.114.10 [2021-04-20T23:00:27.901Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2021-04-20T23:00:27.901Z] HTTP request sent, awaiting response... 200 OK [2021-04-20T23:00:27.901Z] Length: 16451 (16K) [application/x-gzip] [2021-04-20T23:00:27.901Z] Saving to: 'STDOUT' [2021-04-20T23:00:27.901Z]  [2021-04-20T23:00:27.901Z] 0K .......... ......   100% 980K=0.02s [2021-04-20T23:00:27.901Z] [2021-04-20T23:00:27.901Z] 2021-04-20 23:00:27 (980 KB/s) - written to stdout [16451/16451] [2021-04-20T23:00:27.901Z] [2021-04-20T23:00:27.901Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-04-20T23:00:27.901Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-04-20T23:00:27.901Z] + tar -C deps -z -x -f - [2021-04-20T23:00:27.901Z] --2021-04-20 23:00:27-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-04-20T23:00:28.179Z] Resolving github.com... 140.82.112.3 [2021-04-20T23:00:28.179Z] Connecting to github.com|140.82.112.3|:443... connected. [2021-04-20T23:00:28.179Z] HTTP request sent, awaiting response... 302 Found [2021-04-20T23:00:28.179Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-04-20T23:00:28.179Z] --2021-04-20 23:00:27-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-04-20T23:00:28.179Z] Resolving codeload.github.com... 140.82.114.10 [2021-04-20T23:00:28.179Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2021-04-20T23:00:28.179Z] HTTP request sent, awaiting response... 200 OK [2021-04-20T23:00:28.179Z] Length: 181796 (178K) [application/x-gzip] [2021-04-20T23:00:28.179Z] Saving to: 'STDOUT' [2021-04-20T23:00:28.179Z]  [2021-04-20T23:00:28.179Z] 0K .......... .......... .......... .......... .......... 28% 1.48M 0s [2021-04-20T23:00:28.179Z] 50K .......... .......... .......... .......... .......... 56% 2.43M 0s [2021-04-20T23:00:28.179Z] 100K .......... .......... .......... .......... .......... 84% 4.28M 0s [2021-04-20T23:00:28.452Z] 150K .......... .......... .......  100% 2.03M=0.08s [2021-04-20T23:00:28.452Z] [2021-04-20T23:00:28.452Z] 2021-04-20 23:00:28 (2.23 MB/s) - written to stdout [181796/181796] [2021-04-20T23:00:28.452Z] [2021-04-20T23:00:28.452Z] + mkdir -p src/c/iot [2021-04-20T23:00:28.452Z] + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot [2021-04-20T23:00:28.452Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-04-20T23:00:28.452Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-04-20T23:00:28.452Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-04-20T23:00:28.452Z] + mkdir -p include/iot [2021-04-20T23:00:28.452Z] + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot [2021-04-20T23:00:28.452Z] + mkdir -p include/iot/os [2021-04-20T23:00:28.453Z] + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os [2021-04-20T23:00:28.453Z] + mkdir -p /tmp/sdk/build/release [2021-04-20T23:00:28.453Z] + cd /tmp/sdk/build/release [2021-04-20T23:00:28.453Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-04-20T23:00:28.725Z] -- The C compiler identification is GNU 8.3.0 [2021-04-20T23:00:28.725Z] -- Check for working C compiler: /usr/bin/cc [2021-04-20T23:00:28.998Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-04-20T23:00:28.998Z] -- Detecting C compiler ABI info [2021-04-20T23:00:29.271Z] -- Detecting C compiler ABI info - done [2021-04-20T23:00:29.271Z] -- Detecting C compile features [2021-04-20T23:00:29.866Z] -- Detecting C compile features - done [2021-04-20T23:00:29.866Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-04-20T23:00:30.139Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-04-20T23:00:30.139Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-04-20T23:00:30.139Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-04-20T23:00:30.139Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-04-20T23:00:30.139Z] -- C SDK 0.0.0 for Linux [2021-04-20T23:00:30.139Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-04-20T23:00:30.139Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-04-20T23:00:30.408Z] -- Found Curses: /usr/lib/libcurses.so [2021-04-20T23:00:30.408Z] -- Configuring done [2021-04-20T23:00:30.680Z] -- Generating done [2021-04-20T23:00:30.680Z] -- Build files have been written to: /tmp/sdk/build/release [2021-04-20T23:00:30.680Z] + make all package [2021-04-20T23:00:30.680Z] + tee release.log [2021-04-20T23:00:30.680Z] Scanning dependencies of target csdk [2021-04-20T23:00:30.952Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-04-20T23:00:31.542Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-04-20T23:00:32.153Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-04-20T23:00:33.575Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-04-20T23:00:34.550Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-04-20T23:00:34.550Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-04-20T23:00:35.520Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-04-20T23:00:36.944Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-04-20T23:00:37.537Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-04-20T23:00:38.131Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-04-20T23:00:38.406Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-04-20T23:00:39.008Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-04-20T23:00:39.008Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-04-20T23:00:39.282Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-04-20T23:00:41.912Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-04-20T23:00:42.183Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-04-20T23:00:42.456Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-04-20T23:00:43.052Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-04-20T23:00:43.324Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-04-20T23:00:43.918Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-04-20T23:00:46.525Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-04-20T23:00:46.525Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-04-20T23:00:46.800Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-04-20T23:00:47.393Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-04-20T23:00:47.664Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-04-20T23:00:47.937Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-04-20T23:00:48.909Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-04-20T23:00:49.181Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-04-20T23:00:49.772Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-04-20T23:00:50.043Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-04-20T23:00:52.011Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-04-20T23:00:52.285Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-04-20T23:00:52.876Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-04-20T23:00:53.149Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-04-20T23:00:57.462Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-04-20T23:00:57.462Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-04-20T23:00:58.057Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-04-20T23:00:58.332Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-04-20T23:00:59.310Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-04-20T23:01:00.757Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-04-20T23:01:02.723Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-04-20T23:01:06.100Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-04-20T23:01:06.100Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-04-20T23:01:06.697Z] [ 73%] Linking C shared library libcsdk.so [2021-04-20T23:01:06.697Z] [ 73%] Built target csdk [2021-04-20T23:01:06.697Z] Scanning dependencies of target template [2021-04-20T23:01:06.697Z] [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-04-20T23:01:07.291Z] [ 76%] Linking C executable template [2021-04-20T23:01:07.562Z] [ 76%] Built target template [2021-04-20T23:01:07.562Z] Scanning dependencies of target device-counter [2021-04-20T23:01:07.562Z] [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-04-20T23:01:08.155Z] [ 80%] Linking C executable device-counter [2021-04-20T23:01:08.436Z] [ 80%] Built target device-counter [2021-04-20T23:01:08.436Z] Scanning dependencies of target device-random [2021-04-20T23:01:08.436Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-04-20T23:01:08.708Z] [ 83%] Linking C executable device-random [2021-04-20T23:01:08.980Z] [ 83%] Built target device-random [2021-04-20T23:01:08.980Z] Scanning dependencies of target device-gyro [2021-04-20T23:01:08.980Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-04-20T23:01:09.575Z] [ 86%] Linking C executable device-gyro [2021-04-20T23:01:09.575Z] [ 86%] Built target device-gyro [2021-04-20T23:01:09.575Z] Scanning dependencies of target device-bitfields [2021-04-20T23:01:09.575Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-04-20T23:01:10.173Z] [ 90%] Linking C executable device-bitfields [2021-04-20T23:01:10.173Z] [ 90%] Built target device-bitfields [2021-04-20T23:01:10.446Z] Scanning dependencies of target template-discovery [2021-04-20T23:01:10.446Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-04-20T23:01:11.047Z] [ 93%] Linking C executable template-discovery [2021-04-20T23:01:11.320Z] [ 93%] Built target template-discovery [2021-04-20T23:01:11.320Z] Scanning dependencies of target device-file [2021-04-20T23:01:11.320Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-04-20T23:01:11.919Z] [ 96%] Linking C executable device-file [2021-04-20T23:01:11.919Z] [ 96%] Built target device-file [2021-04-20T23:01:12.192Z] Scanning dependencies of target device-terminal [2021-04-20T23:01:12.192Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-04-20T23:01:12.465Z] [100%] Linking C executable device-terminal [2021-04-20T23:01:12.739Z] [100%] Built target device-terminal [2021-04-20T23:01:12.739Z] Run CPack packaging tool... [2021-04-20T23:01:13.013Z] CPack: Create package using TGZ [2021-04-20T23:01:13.013Z] CPack: Install projects [2021-04-20T23:01:13.013Z] CPack: - Run preinstall target for: Csdk [2021-04-20T23:01:13.285Z] CPack: - Install project: Csdk [2021-04-20T23:01:13.565Z] CPack: Create package [2021-04-20T23:01:13.565Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-04-20T23:01:13.565Z] + '[' false '=' true ] [2021-04-20T23:01:13.565Z] + '[' false '=' true ] [2021-04-20T23:01:13.565Z] + mkdir -p /tmp/sdk/build/debug [2021-04-20T23:01:13.565Z] + cd /tmp/sdk/build/debug [2021-04-20T23:01:13.565Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-04-20T23:01:13.840Z] -- The C compiler identification is GNU 8.3.0 [2021-04-20T23:01:13.840Z] -- Check for working C compiler: /usr/bin/cc [2021-04-20T23:01:14.113Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-04-20T23:01:14.113Z] -- Detecting C compiler ABI info [2021-04-20T23:01:14.388Z] -- Detecting C compiler ABI info - done [2021-04-20T23:01:14.388Z] -- Detecting C compile features [2021-04-20T23:01:15.370Z] -- Detecting C compile features - done [2021-04-20T23:01:15.370Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-04-20T23:01:15.370Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-04-20T23:01:15.370Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-04-20T23:01:15.370Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-04-20T23:01:15.370Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-04-20T23:01:15.370Z] -- C SDK 0.0.0 for Linux [2021-04-20T23:01:15.370Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-04-20T23:01:15.370Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-04-20T23:01:15.370Z] -- Found Curses: /usr/lib/libcurses.so [2021-04-20T23:01:15.642Z] -- Configuring done [2021-04-20T23:01:15.914Z] -- Generating done [2021-04-20T23:01:15.914Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-04-20T23:01:15.914Z] + make+ [2021-04-20T23:01:15.914Z] tee debug.log [2021-04-20T23:01:15.914Z] Scanning dependencies of target csdk [2021-04-20T23:01:16.187Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-04-20T23:01:16.459Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-04-20T23:01:16.733Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-04-20T23:01:17.326Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-04-20T23:01:17.597Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-04-20T23:01:17.597Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-04-20T23:01:18.198Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-04-20T23:01:18.472Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-04-20T23:01:18.747Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-04-20T23:01:19.343Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-04-20T23:01:19.343Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-04-20T23:01:19.616Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-04-20T23:01:19.890Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-04-20T23:01:19.890Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-04-20T23:01:20.877Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-04-20T23:01:20.877Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-04-20T23:01:21.152Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-04-20T23:01:21.424Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-04-20T23:01:21.424Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-04-20T23:01:21.697Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-04-20T23:01:22.671Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-04-20T23:01:22.671Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-04-20T23:01:22.944Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-04-20T23:01:23.217Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-04-20T23:01:23.488Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-04-20T23:01:23.488Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-04-20T23:01:23.761Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-04-20T23:01:24.035Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-04-20T23:01:24.309Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-04-20T23:01:24.581Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-04-20T23:01:24.853Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-04-20T23:01:25.127Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-04-20T23:01:25.401Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-04-20T23:01:25.675Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-04-20T23:01:26.673Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-04-20T23:01:26.947Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-04-20T23:01:27.224Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-04-20T23:01:27.499Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-04-20T23:01:27.772Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-04-20T23:01:28.758Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-04-20T23:01:29.036Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-04-20T23:01:30.014Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-04-20T23:01:30.014Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-04-20T23:01:30.288Z] [ 73%] Linking C shared library libcsdk.so [2021-04-20T23:01:30.559Z] [ 73%] Built target csdk [2021-04-20T23:01:30.559Z] Scanning dependencies of target template [2021-04-20T23:01:30.559Z] [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-04-20T23:01:30.834Z] [ 76%] Linking C executable template [2021-04-20T23:01:31.107Z] [ 76%] Built target template [2021-04-20T23:01:31.107Z] Scanning dependencies of target device-counter [2021-04-20T23:01:31.107Z] [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-04-20T23:01:31.382Z] [ 80%] Linking C executable device-counter [2021-04-20T23:01:31.653Z] [ 80%] Built target device-counter [2021-04-20T23:01:31.653Z] Scanning dependencies of target device-random [2021-04-20T23:01:31.653Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-04-20T23:01:31.926Z] [ 83%] Linking C executable device-random [2021-04-20T23:01:32.199Z] [ 83%] Built target device-random [2021-04-20T23:01:32.199Z] Scanning dependencies of target device-gyro [2021-04-20T23:01:32.199Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-04-20T23:01:32.472Z] [ 86%] Linking C executable device-gyro [2021-04-20T23:01:32.472Z] [ 86%] Built target device-gyro [2021-04-20T23:01:32.472Z] Scanning dependencies of target device-bitfields [2021-04-20T23:01:32.744Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-04-20T23:01:32.744Z] [ 90%] Linking C executable device-bitfields [2021-04-20T23:01:33.018Z] [ 90%] Built target device-bitfields [2021-04-20T23:01:33.018Z] Scanning dependencies of target template-discovery [2021-04-20T23:01:33.018Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-04-20T23:01:33.289Z] [ 93%] Linking C executable template-discovery [2021-04-20T23:01:33.562Z] [ 93%] Built target template-discovery [2021-04-20T23:01:33.562Z] Scanning dependencies of target device-file [2021-04-20T23:01:33.562Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-04-20T23:01:33.836Z] [ 96%] Linking C executable device-file [2021-04-20T23:01:34.110Z] [ 96%] Built target device-file [2021-04-20T23:01:34.110Z] Scanning dependencies of target device-terminal [2021-04-20T23:01:34.110Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-04-20T23:01:34.382Z] [100%] Linking C executable device-terminal [2021-04-20T23:01:34.654Z] [100%] Built target device-terminal [2021-04-20T23:01:34.654Z] make: Entering directory '/tmp/sdk/build/release' [2021-04-20T23:01:34.654Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-04-20T23:01:34.654Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T23:01:34.928Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T23:01:34.928Z] [ 73%] Built target csdk [2021-04-20T23:01:34.928Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T23:01:34.928Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T23:01:34.928Z] [ 76%] Built target template [2021-04-20T23:01:34.928Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T23:01:34.928Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T23:01:34.928Z] [ 80%] Built target device-counter [2021-04-20T23:01:34.928Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T23:01:34.928Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T23:01:34.928Z] [ 83%] Built target device-random [2021-04-20T23:01:34.928Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T23:01:34.929Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T23:01:34.929Z] [ 86%] Built target device-gyro [2021-04-20T23:01:34.929Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T23:01:34.929Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T23:01:35.202Z] [ 90%] Built target device-bitfields [2021-04-20T23:01:35.202Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T23:01:35.202Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T23:01:35.202Z] [ 93%] Built target template-discovery [2021-04-20T23:01:35.202Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T23:01:35.202Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T23:01:35.202Z] [ 96%] Built target device-file [2021-04-20T23:01:35.202Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T23:01:35.202Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T23:01:35.202Z] [100%] Built target device-terminal [2021-04-20T23:01:35.202Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T23:01:35.202Z] Install the project... [2021-04-20T23:01:35.202Z] -- Install configuration: "Release" [2021-04-20T23:01:35.202Z] -- Installing: /usr/local/lib/libcsdk.so [2021-04-20T23:01:35.202Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-04-20T23:01:35.202Z] -- Up-to-date: /usr/local/include [2021-04-20T23:01:35.202Z] -- Installing: /usr/local/include/edgex [2021-04-20T23:01:35.202Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-04-20T23:01:35.202Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-04-20T23:01:35.202Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-04-20T23:01:35.202Z] -- Installing: /usr/local/include/edgex/devices.h [2021-04-20T23:01:35.202Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-04-20T23:01:35.202Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-04-20T23:01:35.202Z] -- Installing: /usr/local/include/devsdk [2021-04-20T23:01:35.202Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-04-20T23:01:35.202Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-04-20T23:01:35.202Z] -- Installing: /usr/local/include/iot [2021-04-20T23:01:35.202Z] -- Installing: /usr/local/include/iot/json.h [2021-04-20T23:01:35.202Z] -- Installing: /usr/local/include/iot/container.h [2021-04-20T23:01:35.202Z] -- Installing: /usr/local/include/iot/component.h [2021-04-20T23:01:35.202Z] -- Installing: /usr/local/include/iot/typecode.h [2021-04-20T23:01:35.202Z] -- Installing: /usr/local/include/iot/iot.h [2021-04-20T23:01:35.202Z] -- Installing: /usr/local/include/iot/time.h [2021-04-20T23:01:35.202Z] -- Installing: /usr/local/include/iot/hash.h [2021-04-20T23:01:35.202Z] -- Installing: /usr/local/include/iot/logger.h [2021-04-20T23:01:35.202Z] -- Installing: /usr/local/include/iot/os [2021-04-20T23:01:35.202Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-04-20T23:01:35.202Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-04-20T23:01:35.202Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-04-20T23:01:35.202Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-04-20T23:01:35.202Z] -- Installing: /usr/local/include/iot/data.h [2021-04-20T23:01:35.202Z] -- Installing: /usr/local/include/iot/thread.h [2021-04-20T23:01:35.202Z] -- Installing: /usr/local/include/iot/os.h [2021-04-20T23:01:35.202Z] -- Installing: /usr/local/include/iot/base64.h [2021-04-20T23:01:35.202Z] -- Installing: /usr/local/include/iot/defs.h [2021-04-20T23:01:35.202Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-04-20T23:01:35.202Z] -- Installing: /usr/local/include/iot/config.h [2021-04-20T23:01:35.202Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-04-20T23:01:35.202Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-04-20T23:01:35.202Z] make: Leaving directory '/tmp/sdk/build/release' [2021-04-20T23:01:37.830Z] Removing intermediate container fa20c2864d5e [2021-04-20T23:01:37.830Z] ---> d7cf8832716f [2021-04-20T23:01:37.830Z] Step 14/21 : FROM ${BASE} [2021-04-20T23:01:37.830Z] ---> b23d30803547 [2021-04-20T23:01:37.830Z] Step 15/21 : LABEL maintainer="IOTech " [2021-04-20T23:01:37.830Z] ---> Running in 63f2c8786255 [2021-04-20T23:01:38.102Z] Removing intermediate container 63f2c8786255 [2021-04-20T23:01:38.102Z] ---> 289f23381c29 [2021-04-20T23:01:38.102Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2021-04-20T23:01:38.102Z] ---> Running in 05088f6ea93f [2021-04-20T23:01:39.081Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-04-20T23:01:40.509Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-04-20T23:01:41.103Z] (1/3) Installing curl (7.64.0-r5) [2021-04-20T23:01:41.103Z] (2/3) Installing libuuid (2.33-r0) [2021-04-20T23:01:41.103Z] (3/3) Installing wget (1.20.3-r0) [2021-04-20T23:01:41.376Z] Executing busybox-1.29.3-r10.trigger [2021-04-20T23:01:41.376Z] OK: 281 MiB in 78 packages [2021-04-20T23:01:42.356Z] Removing intermediate container 05088f6ea93f [2021-04-20T23:01:42.356Z] ---> 03a5a868df32 [2021-04-20T23:01:42.356Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-04-20T23:01:43.335Z] ---> 8417da863e04 [2021-04-20T23:01:43.335Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-04-20T23:01:43.931Z] ---> 69025d7b97eb [2021-04-20T23:01:43.931Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-04-20T23:01:44.907Z] ---> 87da0f085b72 [2021-04-20T23:01:44.907Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-04-20T23:01:45.503Z] ---> 4b6126221ffb [2021-04-20T23:01:45.503Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-04-20T23:01:46.483Z] ---> 1b465d35e374 [2021-04-20T23:01:46.483Z] Successfully built 1b465d35e374 [2021-04-20T23:01:46.483Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-20T23:01:46.924Z] + docker inspect -f . ci-base-image-arm64 [2021-04-20T23:01:46.924Z] . [Pipeline] withDockerContainer [2021-04-20T23:01:47.171Z] prd-ubuntu18.04-docker-arm64-4c-16g-1293 does not seem to be running inside a container [2021-04-20T23:01:47.255Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/5 -v /w/workspace/device-sdk-c/5:/w/workspace/device-sdk-c/5:rw,z -v /w/workspace/device-sdk-c/5@tmp:/w/workspace/device-sdk-c/5@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-04-20T23:01:48.704Z] $ docker top 2acaf6522cff626575a19c07766a236b07bc3321f2d34d9ff77051a6645809b9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-20T23:01:49.647Z] + make test [2021-04-20T23:01:49.647Z] echo "make test" [2021-04-20T23:01:49.647Z] make test [Pipeline] } [2021-04-20T23:01:49.665Z] $ docker stop --time=1 2acaf6522cff626575a19c07766a236b07bc3321f2d34d9ff77051a6645809b9 [2021-04-20T23:01:51.582Z] $ docker rm -f 2acaf6522cff626575a19c07766a236b07bc3321f2d34d9ff77051a6645809b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-20T23:01:52.292Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-20T23:01:52.632Z] + ls -al . [2021-04-20T23:01:52.632Z] total 192 [2021-04-20T23:01:52.632Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 22:59 . [2021-04-20T23:01:52.632Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 22:59 .. [2021-04-20T23:01:52.632Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 22:59 .git [2021-04-20T23:01:52.632Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 22:59 .github [2021-04-20T23:01:52.632Z] -rw-rw-r-- 1 jenkins jenkins 176 Apr 20 22:59 .gitignore [2021-04-20T23:01:52.632Z] -rw-rw-r-- 1 jenkins jenkins 3104 Apr 20 22:59 Attribution.txt [2021-04-20T23:01:52.632Z] -rw-rw-r-- 1 jenkins jenkins 7129 Apr 20 22:59 CHANGES [2021-04-20T23:01:52.632Z] -rw-rw-r-- 1 jenkins jenkins 108574 Apr 20 22:59 Doxyfile [2021-04-20T23:01:52.632Z] -rw-rw-r-- 1 jenkins jenkins 784 Apr 20 22:59 Jenkinsfile [2021-04-20T23:01:52.632Z] -rw-rw-r-- 1 jenkins jenkins 10174 Apr 20 22:59 LICENSE [2021-04-20T23:01:52.632Z] -rw-rw-r-- 1 jenkins jenkins 444 Apr 20 22:59 Makefile [2021-04-20T23:01:52.632Z] -rw-rw-r-- 1 jenkins jenkins 4005 Apr 20 22:59 README.md [2021-04-20T23:01:52.632Z] -rw-rw-r-- 1 jenkins jenkins 6654 Apr 20 22:59 README.v2.md [2021-04-20T23:01:52.632Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 20 22:55 VERSION [2021-04-20T23:01:52.632Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 22:59 docs [2021-04-20T23:01:52.632Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 22:59 include [2021-04-20T23:01:52.632Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 22:59 scripts [2021-04-20T23:01:52.632Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 22:59 src [Pipeline] isUnix [Pipeline] sh [2021-04-20T23:01:52.976Z] + 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=c287dc2702fb2c9f0ad3a1562b19ddf2b340bcfd --label arch=arm64 --label version=0.0.0 . [2021-04-20T23:01:53.580Z] Sending build context to Docker daemon 2.546MB [2021-04-20T23:01:53.580Z] Step 1/15 : ARG BASE=alpine:3.12 [2021-04-20T23:01:53.580Z] Step 2/15 : FROM ${BASE} [2021-04-20T23:01:53.580Z] ---> 1b465d35e374 [2021-04-20T23:01:53.580Z] Step 3/15 : LABEL maintainer="IOTech " [2021-04-20T23:01:53.580Z] ---> Running in 8edfaffae385 [2021-04-20T23:01:54.180Z] Removing intermediate container 8edfaffae385 [2021-04-20T23:01:54.180Z] ---> 208ebdcb4f2d [2021-04-20T23:01:54.180Z] Step 4/15 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev && mkdir -p /edgex-c-sdk/build [2021-04-20T23:01:54.180Z] ---> Running in 55d8f54ada43 [2021-04-20T23:01:55.620Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-04-20T23:01:56.213Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-04-20T23:01:56.485Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-04-20T23:01:56.758Z] (2/6) Installing libblkid (2.33-r0) [2021-04-20T23:01:56.758Z] (3/6) Installing libfdisk (2.33-r0) [2021-04-20T23:01:56.758Z] (4/6) Installing libmount (2.33-r0) [2021-04-20T23:01:57.028Z] (5/6) Installing libsmartcols (2.33-r0) [2021-04-20T23:01:57.028Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-04-20T23:01:57.643Z] Executing busybox-1.29.3-r10.trigger [2021-04-20T23:01:57.643Z] OK: 286 MiB in 84 packages [2021-04-20T23:01:58.625Z] Removing intermediate container 55d8f54ada43 [2021-04-20T23:01:58.625Z] ---> 7eea50e41577 [2021-04-20T23:01:58.626Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2021-04-20T23:01:59.606Z] ---> 1bac09c1733b [2021-04-20T23:01:59.606Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2021-04-20T23:02:00.585Z] ---> 9b47fdc68ced [2021-04-20T23:02:00.585Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2021-04-20T23:02:01.180Z] ---> a7e95a614a2c [2021-04-20T23:02:01.180Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2021-04-20T23:02:01.776Z] ---> 1d30b7706622 [2021-04-20T23:02:01.776Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2021-04-20T23:02:02.370Z] ---> f38b6276fef5 [2021-04-20T23:02:02.370Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2021-04-20T23:02:03.347Z] ---> f3505f7968c6 [2021-04-20T23:02:03.347Z] Step 11/15 : WORKDIR /edgex-c-sdk [2021-04-20T23:02:03.347Z] ---> Running in 47fe4cf8c5ca [2021-04-20T23:02:03.941Z] Removing intermediate container 47fe4cf8c5ca [2021-04-20T23:02:03.941Z] ---> 3880a6c2d495 [2021-04-20T23:02:03.941Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-04-20T23:02:03.941Z] ---> Running in 57ff62558752 [2021-04-20T23:02:04.535Z] Removing intermediate container 57ff62558752 [2021-04-20T23:02:04.535Z] ---> b0b4c6cb5b08 [2021-04-20T23:02:04.535Z] Step 13/15 : LABEL arch=arm64 [2021-04-20T23:02:04.535Z] ---> Running in eeb91f52feb8 [2021-04-20T23:02:05.129Z] Removing intermediate container eeb91f52feb8 [2021-04-20T23:02:05.129Z] ---> fc1565596669 [2021-04-20T23:02:05.129Z] Step 14/15 : LABEL git_sha=c287dc2702fb2c9f0ad3a1562b19ddf2b340bcfd [2021-04-20T23:02:05.129Z] ---> Running in 378dc23dc3fc [2021-04-20T23:02:05.724Z] Removing intermediate container 378dc23dc3fc [2021-04-20T23:02:05.724Z] ---> 5e9217689853 [2021-04-20T23:02:05.724Z] Step 15/15 : LABEL version=0.0.0 [2021-04-20T23:02:05.724Z] ---> Running in e4628cad2fec [2021-04-20T23:02:06.318Z] Removing intermediate container e4628cad2fec [2021-04-20T23:02:06.318Z] ---> 99e0d54c6bd8 [2021-04-20T23:02:06.318Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-20T23:02:06.318Z] Successfully built 99e0d54c6bd8 [2021-04-20T23:02:06.318Z] Successfully tagged docker-device-sdk-c-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-04-20T23:02:07.247Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-20T23:02:07.553Z] ---> package-listing.sh [2021-04-20T23:02:07.553Z] ++ facter osfamily [2021-04-20T23:02:07.553Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-20T23:02:07.553Z] + OS_FAMILY=redhat [2021-04-20T23:02:07.553Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-336 [2021-04-20T23:02:07.553Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-20T23:02:07.553Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-20T23:02:07.553Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-20T23:02:07.553Z] + PACKAGES=/tmp/packages_start.txt [2021-04-20T23:02:07.553Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-336 ']' [2021-04-20T23:02:07.553Z] + PACKAGES=/tmp/packages_end.txt [2021-04-20T23:02:07.553Z] + case "${OS_FAMILY}" in [2021-04-20T23:02:07.553Z] + rpm -qa [2021-04-20T23:02:07.553Z] + sort [2021-04-20T23:02:12.889Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-20T23:02:12.889Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-20T23:02:12.889Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-20T23:02:12.889Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-336 ']' [2021-04-20T23:02:12.889Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-336/archives/ [2021-04-20T23:02:12.889Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-336/archives/ [Pipeline] echo [2021-04-20T23:02:12.904Z] 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-336/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-20T23:02:13.201Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-20T23:02:13.508Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-20T23:02:13.508Z] [2021-04-20T23:02:13.508Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-20T23:02:13.831Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-20T23:02:13.831Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-20T23:02:13.831Z] df20fa9351a1: Pulling fs layer [2021-04-20T23:02:13.831Z] 36b3adc4ff6f: Pulling fs layer [2021-04-20T23:02:13.831Z] 8ad3a11d3b57: Pulling fs layer [2021-04-20T23:02:13.831Z] 46f8f816bc3b: Pulling fs layer [2021-04-20T23:02:13.831Z] 93b61091891f: Pulling fs layer [2021-04-20T23:02:13.831Z] 93b9cdb0e59b: Pulling fs layer [2021-04-20T23:02:13.831Z] 5e14af77c1be: Pulling fs layer [2021-04-20T23:02:13.831Z] 01666e4c0597: Pulling fs layer [2021-04-20T23:02:13.831Z] aa168da1d23b: Pulling fs layer [2021-04-20T23:02:13.831Z] 46f8f816bc3b: Waiting [2021-04-20T23:02:13.831Z] 93b61091891f: Waiting [2021-04-20T23:02:13.831Z] 93b9cdb0e59b: Waiting [2021-04-20T23:02:13.831Z] 01666e4c0597: Waiting [2021-04-20T23:02:13.831Z] aa168da1d23b: Waiting [2021-04-20T23:02:13.831Z] 5e14af77c1be: Waiting [2021-04-20T23:02:13.831Z] 36b3adc4ff6f: Download complete [2021-04-20T23:02:13.831Z] 46f8f816bc3b: Verifying Checksum [2021-04-20T23:02:13.831Z] 46f8f816bc3b: Download complete [2021-04-20T23:02:13.832Z] df20fa9351a1: Verifying Checksum [2021-04-20T23:02:13.832Z] 93b9cdb0e59b: Verifying Checksum [2021-04-20T23:02:13.832Z] 93b9cdb0e59b: Download complete [2021-04-20T23:02:14.099Z] 5e14af77c1be: Verifying Checksum [2021-04-20T23:02:14.099Z] 5e14af77c1be: Download complete [2021-04-20T23:02:14.099Z] 93b61091891f: Verifying Checksum [2021-04-20T23:02:14.099Z] 93b61091891f: Download complete [2021-04-20T23:02:14.099Z] 01666e4c0597: Verifying Checksum [2021-04-20T23:02:14.099Z] 01666e4c0597: Download complete [2021-04-20T23:02:14.099Z] 8ad3a11d3b57: Verifying Checksum [2021-04-20T23:02:14.099Z] 8ad3a11d3b57: Download complete [2021-04-20T23:02:14.359Z] df20fa9351a1: Pull complete [2021-04-20T23:02:14.634Z] 36b3adc4ff6f: Pull complete [2021-04-20T23:02:15.222Z] 8ad3a11d3b57: Pull complete [2021-04-20T23:02:15.488Z] 46f8f816bc3b: Pull complete [2021-04-20T23:02:16.124Z] 93b61091891f: Pull complete [2021-04-20T23:02:16.124Z] aa168da1d23b: Verifying Checksum [2021-04-20T23:02:16.124Z] aa168da1d23b: Download complete [2021-04-20T23:02:16.395Z] 93b9cdb0e59b: Pull complete [2021-04-20T23:02:16.396Z] 5e14af77c1be: Pull complete [2021-04-20T23:02:16.396Z] 01666e4c0597: Pull complete [2021-04-20T23:02:23.033Z] aa168da1d23b: Pull complete [2021-04-20T23:02:23.033Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-20T23:02:23.033Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-20T23:02:23.033Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-20T23:02:23.175Z] prd-centos7-docker-4c-2g-1291 does not seem to be running inside a container [2021-04-20T23:02:23.228Z] $ 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-336/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-336 -v /w/workspace/edgexfoundry_device-sdk-c_PR-336:/w/workspace/edgexfoundry_device-sdk-c_PR-336:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-336@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-20T23:02:26.526Z] $ docker top 9ba921abe0074a173cc47098d5b4d5d407fcec6543976dcedab8b897a5a1ad12 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-20T23:02:27.018Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-20T23:02:27.322Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-20T23:02:27.624Z] + ls /var/log/sa-host [2021-04-20T23:02:27.624Z] + sadf -c /var/log/sa-host/sa20 [2021-04-20T23:02:27.624Z] file_magic: OK [2021-04-20T23:02:27.624Z] HZ: Using current value: 100 [2021-04-20T23:02:27.624Z] file_header: OK [2021-04-20T23:02:27.624Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-04-20T23:02:27.624Z] Statistics: [2021-04-20T23:02:27.624Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-20T23:02:27.624Z] File successfully converted to sysstat format version 12.2.1 [2021-04-20T23:02:27.624Z] + sadf -c /var/log/sa-host/sa23 [2021-04-20T23:02:27.624Z] file_magic: OK [2021-04-20T23:02:27.624Z] HZ: Using current value: 100 [2021-04-20T23:02:27.624Z] file_header: OK [2021-04-20T23:02:27.624Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-04-20T23:02:27.624Z] Statistics: [2021-04-20T23:02:27.624Z] Hnuu...uuuununununu... [2021-04-20T23:02:27.624Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-20T23:02:27.810Z] provisioning config files... [2021-04-20T23:02:27.826Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp/config4541128559031147554tmp [Pipeline] { [Pipeline] echo [2021-04-20T23:02:27.847Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-20T23:02:28.145Z] ---> create-netrc.sh [Pipeline] } [2021-04-20T23:02:28.155Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-20T23:02:28.187Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-20T23:02:28.485Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-20T23:02:28.496Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-20T23:02:28.795Z] ---> sudo-logs.sh [2021-04-20T23:02:28.795Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-20T23:02:28.820Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-20T23:02:29.120Z] ---> job-cost.sh [2021-04-20T23:02:29.120Z] lf-activate-venv: SKIPPING [2021-04-20T23:02:29.120Z] INFO: No Stack... [2021-04-20T23:02:30.528Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-20T23:02:31.108Z] INFO: Archiving Costs [Pipeline] echo [2021-04-20T23:02:31.123Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-20T23:02:31.427Z] ---> logs-deploy.sh [2021-04-20T23:02:31.427Z] lf-activate-venv: SKIPPING [2021-04-20T23:02:31.427Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-336/5 [2021-04-20T23:02:31.427Z] INFO: archiving workspace using pattern(s): [2021-04-20T23:02:33.353Z] Archives upload complete. [2021-04-20T23:02:33.353Z] INFO: archiving logs to Nexus