Pull request #328 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 78329c8033a2ce03c85d5a5b077be3701705694e+77b44f9ce19bf03ca56dfec0e2f5fdf00e6705bc (fc4d40be7f316d5e08ce5a9ffd616ad7df3d0692) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e55c21c0f0e4c0e00d8e3e099bac5676b1b4b763 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 e55c21c0f0e4c0e00d8e3e099bac5676b1b4b763 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-328/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e55c21c0f0e4c0e00d8e3e099bac5676b1b4b763 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e55c21c0f0e4c0e00d8e3e099bac5676b1b4b763 # timeout=10 Commit message: "Merge pull request #316 from ernestojeda/email-notifications" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-328/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e55c21c0f0e4c0e00d8e3e099bac5676b1b4b763 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-27730’ Running on prd-centos7-docker-4c-2g-27732 in /w/workspace/edgexfoundry_device-sdk-c_PR-328 [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-328 # 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 77b44f9ce19bf03ca56dfec0e2f5fdf00e6705bc into PR head commit 78329c8033a2ce03c85d5a5b077be3701705694e Merge succeeded, producing 78329c8033a2ce03c85d5a5b077be3701705694e Checking out Revision 78329c8033a2ce03c85d5a5b077be3701705694e (PR-328) > 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/328/head:refs/remotes/origin/PR-328 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 78329c8033a2ce03c85d5a5b077be3701705694e # 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 77b44f9ce19bf03ca56dfec0e2f5fdf00e6705bc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 78329c8033a2ce03c85d5a5b077be3701705694e # timeout=10 Commit message: "feat: provide functions for populating callback structure (#326) feat: add placeholder for extended discovery options" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object e55c21c0f0e4c0e00d8e3e099bac5676b1b4b763 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-25T23:33:05.309Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-25T23:33:05.674Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-25T23:33:05.879Z] ========================================================= [2021-02-25T23:33:05.879Z] EdgeX Global Pipelines Version Info [2021-02-25T23:33:05.879Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-25T23:33:07.414Z] ------------------- [2021-02-25T23:33:07.414Z] stable info: [2021-02-25T23:33:07.414Z] ------------------- [2021-02-25T23:33:07.414Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-25T23:33:07.414Z] Commit SHA: e55c21c0f0e4c0e00d8e3e099bac5676b1b4b763 [2021-02-25T23:33:07.414Z] Message: update stable to v1.0.182 [2021-02-25T23:33:08.360Z] ------------------- [2021-02-25T23:33:08.360Z] experimental info: [2021-02-25T23:33:08.360Z] ------------------- [2021-02-25T23:33:08.360Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-02-25T23:33:08.360Z] Commit SHA: e55c21c0f0e4c0e00d8e3e099bac5676b1b4b763 [2021-02-25T23:33:08.360Z] Message: update experimental to v1.0.182 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-25T23:33:08.769Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-02-25T23:33:08.880Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-02-25T23:33:09.014Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-25T23:33:09.149Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-25T23:33:09.270Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-25T23:33:09.451Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-02-25T23:33:09.626Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-02-25T23:33:09.740Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-02-25T23:33:09.852Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-25T23:33:09.979Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-c [Pipeline] echo [2021-02-25T23:33:10.121Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-25T23:33:10.256Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-25T23:33:10.409Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-25T23:33:10.534Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-25T23:33:10.650Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-25T23:33:10.769Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-25T23:33:10.893Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-02-25T23:33:11.006Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-328 [Pipeline] echo [2021-02-25T23:33:11.139Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-328 [Pipeline] echo [2021-02-25T23:33:11.251Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-328 [Pipeline] echo [2021-02-25T23:33:11.390Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 78329c8033a2ce03c85d5a5b077be3701705694e [Pipeline] echo [2021-02-25T23:33:11.512Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 78329c8 [Pipeline] echo [2021-02-25T23:33:11.638Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-25T23:33:11.944Z] provisioning config files... [2021-02-25T23:33:11.972Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-328@tmp/config3448018831384491619tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-25T23:33:12.380Z] ---> docker-login.sh [2021-02-25T23:33:12.380Z] nexus3.edgexfoundry.org:10001 [2021-02-25T23:33:12.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T23:33:12.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T23:33:12.905Z] Configure a credential helper to remove this warning. See [2021-02-25T23:33:12.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T23:33:12.905Z] [2021-02-25T23:33:12.905Z] Login Succeeded [2021-02-25T23:33:12.905Z] nexus3.edgexfoundry.org:10002 [2021-02-25T23:33:12.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T23:33:12.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T23:33:12.905Z] Configure a credential helper to remove this warning. See [2021-02-25T23:33:12.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T23:33:12.905Z] [2021-02-25T23:33:12.905Z] Login Succeeded [2021-02-25T23:33:12.905Z] nexus3.edgexfoundry.org:10003 [2021-02-25T23:33:13.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T23:33:13.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T23:33:13.169Z] Configure a credential helper to remove this warning. See [2021-02-25T23:33:13.169Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T23:33:13.169Z] [2021-02-25T23:33:13.169Z] Login Succeeded [2021-02-25T23:33:13.169Z] nexus3.edgexfoundry.org:10004 [2021-02-25T23:33:13.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T23:33:13.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T23:33:13.431Z] Configure a credential helper to remove this warning. See [2021-02-25T23:33:13.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T23:33:13.431Z] [2021-02-25T23:33:13.431Z] Login Succeeded [2021-02-25T23:33:13.431Z] docker.io [2021-02-25T23:33:13.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T23:33:13.698Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T23:33:13.698Z] Configure a credential helper to remove this warning. See [2021-02-25T23:33:13.698Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T23:33:13.698Z] [2021-02-25T23:33:13.698Z] Login Succeeded [2021-02-25T23:33:13.698Z] ---> docker-login.sh ends [Pipeline] } [2021-02-25T23:33:13.723Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2021-02-25T23:33:15.157Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-25T23:33:15.157Z] [2021-02-25T23:33:15.157Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-25T23:33:15.555Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-25T23:33:15.556Z] latest: Pulling from edgex-devops/git-semver [2021-02-25T23:33:15.556Z] 31603596830f: Pulling fs layer [2021-02-25T23:33:15.556Z] 2a8b12db71e7: Pulling fs layer [2021-02-25T23:33:15.556Z] 6ca5941a6612: Pulling fs layer [2021-02-25T23:33:15.556Z] ecc8261a40a4: Pulling fs layer [2021-02-25T23:33:15.556Z] ecc8261a40a4: Waiting [2021-02-25T23:33:15.556Z] 2a8b12db71e7: Verifying Checksum [2021-02-25T23:33:15.556Z] 2a8b12db71e7: Download complete [2021-02-25T23:33:15.556Z] 31603596830f: Verifying Checksum [2021-02-25T23:33:15.556Z] 31603596830f: Download complete [2021-02-25T23:33:15.820Z] ecc8261a40a4: Verifying Checksum [2021-02-25T23:33:15.820Z] ecc8261a40a4: Download complete [2021-02-25T23:33:15.820Z] 6ca5941a6612: Verifying Checksum [2021-02-25T23:33:15.820Z] 6ca5941a6612: Download complete [2021-02-25T23:33:16.085Z] 31603596830f: Pull complete [2021-02-25T23:33:16.085Z] 2a8b12db71e7: Pull complete [2021-02-25T23:33:17.039Z] 6ca5941a6612: Pull complete [2021-02-25T23:33:17.305Z] ecc8261a40a4: Pull complete [2021-02-25T23:33:17.305Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-25T23:33:17.305Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-25T23:33:17.305Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-25T23:33:17.509Z] prd-centos7-docker-4c-2g-27732 does not seem to be running inside a container [2021-02-25T23:33:17.561Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-328 -v /w/workspace/edgexfoundry_device-sdk-c_PR-328:/w/workspace/edgexfoundry_device-sdk-c_PR-328:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-328@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-328@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-25T23:33:19.506Z] $ docker top 57583c48e66827711b50f09283c3babdaf8e9dddb4175674e78a20c7f8b5457b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-25T23:33:19.924Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-25T23:33:19.924Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-25T23:33:20.141Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-25T23:33:20.145Z] $ docker exec 57583c48e66827711b50f09283c3babdaf8e9dddb4175674e78a20c7f8b5457b ssh-agent [2021-02-25T23:33:20.303Z] SSH_AUTH_SOCK=/tmp/ssh-QPGTIkrZlZ1Z/agent.11 [2021-02-25T23:33:20.303Z] SSH_AGENT_PID=16 [2021-02-25T23:33:20.315Z] Running ssh-add (command line suppressed) [2021-02-25T23:33:20.445Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-328@tmp/private_key_4945120150530744639.key (/w/workspace/edgexfoundry_device-sdk-c_PR-328@tmp/private_key_4945120150530744639.key) [2021-02-25T23:33:20.493Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-25T23:33:20.864Z] + git tag --points-at HEAD [Pipeline] } [2021-02-25T23:33:20.966Z] $ docker exec --env ******** --env ******** 57583c48e66827711b50f09283c3babdaf8e9dddb4175674e78a20c7f8b5457b ssh-agent -k [2021-02-25T23:33:21.075Z] unset SSH_AUTH_SOCK; [2021-02-25T23:33:21.076Z] unset SSH_AGENT_PID; [2021-02-25T23:33:21.076Z] echo Agent pid 16 killed; [2021-02-25T23:33:21.122Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-25T23:33:21.345Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-25T23:33:21.345Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-25T23:33:21.509Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-25T23:33:21.513Z] $ docker exec 57583c48e66827711b50f09283c3babdaf8e9dddb4175674e78a20c7f8b5457b ssh-agent [2021-02-25T23:33:21.669Z] SSH_AUTH_SOCK=/tmp/ssh-lqbDscXC6y19/agent.44 [2021-02-25T23:33:21.669Z] SSH_AGENT_PID=49 [2021-02-25T23:33:21.676Z] Running ssh-add (command line suppressed) [2021-02-25T23:33:21.789Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-328@tmp/private_key_4659241775666597742.key (/w/workspace/edgexfoundry_device-sdk-c_PR-328@tmp/private_key_4659241775666597742.key) [2021-02-25T23:33:21.843Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-25T23:33:22.223Z] + git semver init [2021-02-25T23:33:22.223Z] # -> Open(): unable to determine branch for HEAD [2021-02-25T23:33:22.223Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-328/.git [2021-02-25T23:33:22.223Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-328 [2021-02-25T23:33:22.223Z] # $SEMVER_REMOTE_NAME = origin [2021-02-25T23:33:22.223Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-25T23:33:22.223Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-25T23:33:22.223Z] # $SEMVER_BRANCH = PR-328 [2021-02-25T23:33:22.223Z] # $SEMVER_TEMP = /tmp/semver-680665860 [2021-02-25T23:33:22.223Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-02-25T23:33:22.802Z] # '/tmp/semver-680665860' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-328/.semver' [2021-02-25T23:33:22.802Z] # -> Force: false [2021-02-25T23:33:22.802Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-328/.semver [Pipeline] } [2021-02-25T23:33:22.822Z] $ docker exec --env ******** --env ******** 57583c48e66827711b50f09283c3babdaf8e9dddb4175674e78a20c7f8b5457b ssh-agent -k [2021-02-25T23:33:22.976Z] unset SSH_AUTH_SOCK; [2021-02-25T23:33:22.977Z] unset SSH_AGENT_PID; [2021-02-25T23:33:22.977Z] echo Agent pid 49 killed; [2021-02-25T23:33:23.020Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-25T23:33:23.575Z] + git semver [Pipeline] } [2021-02-25T23:33:23.605Z] $ docker stop --time=1 57583c48e66827711b50f09283c3babdaf8e9dddb4175674e78a20c7f8b5457b [2021-02-25T23:33:25.132Z] $ docker rm -f 57583c48e66827711b50f09283c3babdaf8e9dddb4175674e78a20c7f8b5457b [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-25T23:33:25.694Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-25T23:33:26.193Z] Stashed 1 file(s) [Pipeline] echo [2021-02-25T23:33:26.217Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-02-25T23:33:41.850Z] Still waiting to schedule task [2021-02-25T23:33:41.850Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-02-25T23:33:41.877Z] Still waiting to schedule task [2021-02-25T23:33:41.877Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-02-25T23:36:17.898Z] Running on prd-centos7-docker-4c-2g-27733 in /w/workspace/edgexfoundry_device-sdk-c_PR-328 [Pipeline] { [Pipeline] ws [2021-02-25T23:36:18.011Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2021-02-25T23:36:20.522Z] using credential edgex-jenkins-ssh [2021-02-25T23:36:20.606Z] Cloning the remote Git repository [2021-02-25T23:36:20.609Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-02-25T23:36:20.690Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2021-02-25T23:36:20.763Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-02-25T23:36:20.764Z] > git --version # timeout=10 [2021-02-25T23:36:20.771Z] > git --version # 'git version 2.24.3' [2021-02-25T23:36:20.772Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-25T23:36:20.806Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-25T23:36:22.110Z] Merging remotes/origin/master commit 77b44f9ce19bf03ca56dfec0e2f5fdf00e6705bc into PR head commit 78329c8033a2ce03c85d5a5b077be3701705694e [2021-02-25T23:36:22.231Z] Merge succeeded, producing 78329c8033a2ce03c85d5a5b077be3701705694e [2021-02-25T23:36:22.231Z] Checking out Revision 78329c8033a2ce03c85d5a5b077be3701705694e (PR-328) [2021-02-25T23:36:21.605Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-02-25T23:36:21.613Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-25T23:36:21.626Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-02-25T23:36:21.646Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-02-25T23:36:21.646Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-25T23:36:21.652Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/328/head:refs/remotes/origin/PR-328 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-25T23:36:22.122Z] > git config core.sparsecheckout # timeout=10 [2021-02-25T23:36:22.130Z] > git checkout -f 78329c8033a2ce03c85d5a5b077be3701705694e # timeout=10 [2021-02-25T23:36:22.188Z] > git remote # timeout=10 [2021-02-25T23:36:22.197Z] > git config --get remote.origin.url # timeout=10 [2021-02-25T23:36:22.207Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-25T23:36:22.211Z] > git merge 77b44f9ce19bf03ca56dfec0e2f5fdf00e6705bc # timeout=10 [2021-02-25T23:36:22.222Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-25T23:36:22.237Z] > git config core.sparsecheckout # timeout=10 [2021-02-25T23:36:22.246Z] > git checkout -f 78329c8033a2ce03c85d5a5b077be3701705694e # timeout=10 [2021-02-25T23:36:26.034Z] Commit message: "feat: provide functions for populating callback structure (#326) feat: add placeholder for extended discovery options" [2021-02-25T23:36:26.110Z] > git --version # timeout=10 [2021-02-25T23:36:26.115Z] > git --version # 'git version 2.24.3' [2021-02-25T23:36:26.121Z] fatal: bad object e55c21c0f0e4c0e00d8e3e099bac5676b1b4b763 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-25T23:36:27.971Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-25T23:36:28.377Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-25T23:36:28.729Z] + sudo service docker restart [2021-02-25T23:36:28.729Z] + true [2021-02-25T23:36:28.729Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-25T23:36:30.317Z] provisioning config files... [2021-02-25T23:36:30.348Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config2020120899645438585tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-25T23:36:30.818Z] ---> docker-login.sh [2021-02-25T23:36:30.818Z] nexus3.edgexfoundry.org:10001 [2021-02-25T23:36:31.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T23:36:31.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T23:36:31.089Z] Configure a credential helper to remove this warning. See [2021-02-25T23:36:31.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T23:36:31.089Z] [2021-02-25T23:36:31.089Z] Login Succeeded [2021-02-25T23:36:31.089Z] nexus3.edgexfoundry.org:10002 [2021-02-25T23:36:31.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T23:36:31.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T23:36:31.366Z] Configure a credential helper to remove this warning. See [2021-02-25T23:36:31.366Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T23:36:31.366Z] [2021-02-25T23:36:31.366Z] Login Succeeded [2021-02-25T23:36:31.366Z] nexus3.edgexfoundry.org:10003 [2021-02-25T23:36:31.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T23:36:31.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T23:36:31.655Z] Configure a credential helper to remove this warning. See [2021-02-25T23:36:31.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T23:36:31.655Z] [2021-02-25T23:36:31.655Z] Login Succeeded [2021-02-25T23:36:31.655Z] nexus3.edgexfoundry.org:10004 [2021-02-25T23:36:31.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T23:36:31.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T23:36:31.940Z] Configure a credential helper to remove this warning. See [2021-02-25T23:36:31.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T23:36:31.940Z] [2021-02-25T23:36:31.940Z] Login Succeeded [2021-02-25T23:36:31.940Z] docker.io [2021-02-25T23:36:31.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T23:36:32.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T23:36:32.220Z] Configure a credential helper to remove this warning. See [2021-02-25T23:36:32.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T23:36:32.220Z] [2021-02-25T23:36:32.220Z] Login Succeeded [2021-02-25T23:36:32.220Z] ---> docker-login.sh ends [Pipeline] } [2021-02-25T23:36:32.261Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-25T23:36:32.956Z] ========================================================= [2021-02-25T23:36:32.956Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-02-25T23:36:32.956Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-25T23:36:33.368Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2021-02-25T23:36:33.368Z] Sending build context to Docker daemon 2.519MB [2021-02-25T23:36:33.646Z] Step 1/21 : ARG BASE=alpine:3.12 [2021-02-25T23:36:33.646Z] Step 2/21 : FROM ${BASE} as builder [2021-02-25T23:36:33.646Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-02-25T23:36:33.646Z] e7c96db7181b: Pulling fs layer [2021-02-25T23:36:33.646Z] 4c13bbce0fe7: Pulling fs layer [2021-02-25T23:36:33.646Z] 6059c847ac2f: Pulling fs layer [2021-02-25T23:36:33.646Z] 4c13bbce0fe7: Verifying Checksum [2021-02-25T23:36:33.646Z] 4c13bbce0fe7: Download complete [2021-02-25T23:36:33.646Z] e7c96db7181b: Verifying Checksum [2021-02-25T23:36:33.646Z] e7c96db7181b: Download complete [2021-02-25T23:36:33.936Z] e7c96db7181b: Pull complete [2021-02-25T23:36:34.211Z] 4c13bbce0fe7: Pull complete [2021-02-25T23:36:37.621Z] 6059c847ac2f: Verifying Checksum [2021-02-25T23:36:37.621Z] 6059c847ac2f: Download complete [2021-02-25T23:36:41.866Z] 6059c847ac2f: Pull complete [2021-02-25T23:36:41.866Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2021-02-25T23:36:41.866Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-02-25T23:36:41.866Z] ---> 5eabd8fd8ba2 [2021-02-25T23:36:41.866Z] Step 3/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev [2021-02-25T23:36:43.275Z] ---> Running in 3328d6aa2f1f [2021-02-25T23:36:43.859Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-02-25T23:36:44.811Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-02-25T23:36:44.811Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2021-02-25T23:36:45.076Z] (2/8) Installing libuuid (2.33-r0) [2021-02-25T23:36:45.076Z] (3/8) Installing libblkid (2.33-r0) [2021-02-25T23:36:45.076Z] (4/8) Installing libfdisk (2.33-r0) [2021-02-25T23:36:45.340Z] (5/8) Installing libmount (2.33-r0) [2021-02-25T23:36:45.340Z] (6/8) Installing libsmartcols (2.33-r0) [2021-02-25T23:36:45.340Z] (7/8) Installing util-linux-dev (2.33-r0) [2021-02-25T23:36:45.605Z] (8/8) Installing wget (1.20.3-r0) [2021-02-25T23:36:45.869Z] Executing busybox-1.29.3-r10.trigger [2021-02-25T23:36:45.869Z] OK: 272 MiB in 83 packages [2021-02-25T23:36:46.456Z] Removing intermediate container 3328d6aa2f1f [2021-02-25T23:36:46.456Z] ---> 50783783c979 [2021-02-25T23:36:46.456Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2021-02-25T23:36:46.456Z] ---> Running in 912891474b33 [2021-02-25T23:36:46.722Z] Removing intermediate container 912891474b33 [2021-02-25T23:36:46.722Z] ---> 3738e4101110 [2021-02-25T23:36:46.722Z] Step 5/21 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2021-02-25T23:36:46.722Z] ---> Running in d7ac490f9f39 [2021-02-25T23:36:47.303Z] --2021-02-25 23:36:47-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-02-25T23:36:47.303Z] Resolving github.com... 140.82.113.4 [2021-02-25T23:36:47.303Z] Connecting to github.com|140.82.113.4|:443... connected. [2021-02-25T23:36:47.303Z] HTTP request sent, awaiting response... 302 Found [2021-02-25T23:36:47.303Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-02-25T23:36:47.303Z] --2021-02-25 23:36:47-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-02-25T23:36:47.303Z] Resolving codeload.github.com... 140.82.114.10 [2021-02-25T23:36:47.303Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2021-02-25T23:36:47.567Z] HTTP request sent, awaiting response... 200 OK [2021-02-25T23:36:47.567Z] Length: unspecified [application/x-gzip] [2021-02-25T23:36:47.567Z] Saving to: 'STDOUT' [2021-02-25T23:36:47.567Z]  [2021-02-25T23:36:47.567Z] 0K .......... .......... .......... .......... .......... 1.58M [2021-02-25T23:36:47.567Z] 50K .......... .......... .......... .......... .......... 3.20M [2021-02-25T23:36:47.567Z] 100K .......... .......... .......... .......... .......... 17.8M [2021-02-25T23:36:47.567Z] 150K .......... .......... .......... .......... .......... 26.5M [2021-02-25T23:36:47.567Z] 200K .......... .......... .......... .......... .......... 4.17M [2021-02-25T23:36:47.567Z] 250K .......... .......... .......... .......... .......... 7.33M [2021-02-25T23:36:47.568Z] 300K .......... .......... .......... .......... .......... 5.72M [2021-02-25T23:36:47.568Z] 350K .......... .......... .......... .......... .......... 9.32M [2021-02-25T23:36:47.568Z] 400K .......... .......... .......... .......... .......... 2.04M [2021-02-25T23:36:47.568Z] 450K .......... .......... .......... .......... .......... 28.0M [2021-02-25T23:36:47.568Z] 500K .......... .......... .......... .......... .......... 18.7M [2021-02-25T23:36:47.568Z] 550K .......... .......... .......... .......... .......... 3.94M [2021-02-25T23:36:47.568Z] 600K .......... .......... .......... .......... .......... 2.39M [2021-02-25T23:36:47.568Z] 650K .......... .......... .......... .......... .......... 4.69M [2021-02-25T23:36:47.568Z] 700K .. 18.0M=0.2s [2021-02-25T23:36:47.568Z] [2021-02-25T23:36:47.568Z] 2021-02-25 23:36:47 (4.44 MB/s) - written to stdout [719348] [2021-02-25T23:36:47.568Z] [2021-02-25T23:36:47.831Z] -- The C compiler identification is GNU 8.3.0 [2021-02-25T23:36:47.831Z] -- The CXX compiler identification is GNU 8.3.0 [2021-02-25T23:36:47.831Z] -- Check for working C compiler: /usr/bin/cc [2021-02-25T23:36:48.099Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-02-25T23:36:48.099Z] -- Detecting C compiler ABI info [2021-02-25T23:36:48.099Z] -- Detecting C compiler ABI info - done [2021-02-25T23:36:48.099Z] -- Detecting C compile features [2021-02-25T23:36:48.363Z] -- Detecting C compile features - done [2021-02-25T23:36:48.363Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-02-25T23:36:48.363Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-02-25T23:36:48.363Z] -- Detecting CXX compiler ABI info [2021-02-25T23:36:48.626Z] -- Detecting CXX compiler ABI info - done [2021-02-25T23:36:48.626Z] -- Detecting CXX compile features [2021-02-25T23:36:49.202Z] -- Detecting CXX compile features - done [2021-02-25T23:36:49.202Z] -- Looking for include file endian.h [2021-02-25T23:36:49.202Z] -- Looking for include file endian.h - found [2021-02-25T23:36:49.202Z] -- Check if the system is big endian [2021-02-25T23:36:49.202Z] -- Searching 16 bit integer [2021-02-25T23:36:49.202Z] -- Looking for sys/types.h [2021-02-25T23:36:49.202Z] -- Looking for sys/types.h - found [2021-02-25T23:36:49.202Z] -- Looking for stdint.h [2021-02-25T23:36:49.202Z] -- Looking for stdint.h - found [2021-02-25T23:36:49.202Z] -- Looking for stddef.h [2021-02-25T23:36:49.469Z] -- Looking for stddef.h - found [2021-02-25T23:36:49.469Z] -- Check size of unsigned short [2021-02-25T23:36:49.469Z] -- Check size of unsigned short - done [2021-02-25T23:36:49.469Z] -- Using unsigned short [2021-02-25T23:36:49.469Z] -- Check if the system is big endian - little endian [2021-02-25T23:36:49.469Z] -- Check size of size_t [2021-02-25T23:36:49.734Z] -- Check size of size_t - done [2021-02-25T23:36:49.734Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-02-25T23:36:49.734Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-02-25T23:36:49.734Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-02-25T23:36:49.734Z] CMake did not find one. [2021-02-25T23:36:49.734Z] [2021-02-25T23:36:49.734Z] Could not find a package configuration file provided by "cJSON" with any of [2021-02-25T23:36:49.734Z] the following names: [2021-02-25T23:36:49.734Z] [2021-02-25T23:36:49.734Z] cJSONConfig.cmake [2021-02-25T23:36:49.734Z] cjson-config.cmake [2021-02-25T23:36:49.734Z] [2021-02-25T23:36:49.734Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-02-25T23:36:49.734Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-02-25T23:36:49.734Z] provides a separate development package or SDK, be sure it has been [2021-02-25T23:36:49.734Z] installed. [2021-02-25T23:36:49.734Z] [2021-02-25T23:36:49.734Z] [2021-02-25T23:36:49.734Z] -- Configuring done [2021-02-25T23:36:49.734Z] -- Generating done [2021-02-25T23:36:49.734Z] -- Build files have been written to: /tmp/cbor [2021-02-25T23:36:49.734Z] Scanning dependencies of target cbor_shared [2021-02-25T23:36:49.734Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-02-25T23:36:50.010Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-02-25T23:36:50.274Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-02-25T23:36:50.274Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-02-25T23:36:50.274Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-02-25T23:36:50.536Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-02-25T23:36:50.536Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-02-25T23:36:50.536Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-02-25T23:36:50.536Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-02-25T23:36:50.802Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-02-25T23:36:50.802Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-02-25T23:36:51.066Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-02-25T23:36:51.066Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-02-25T23:36:51.066Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-02-25T23:36:51.330Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-02-25T23:36:51.330Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-02-25T23:36:51.330Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-02-25T23:36:51.594Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-02-25T23:36:51.594Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-02-25T23:36:51.594Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-02-25T23:36:51.594Z] [ 40%] Linking C shared library libcbor.so [2021-02-25T23:36:51.594Z] [ 40%] Built target cbor_shared [2021-02-25T23:36:51.859Z] Scanning dependencies of target cbor [2021-02-25T23:36:51.859Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-02-25T23:36:51.859Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-02-25T23:36:52.131Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-02-25T23:36:52.131Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-02-25T23:36:52.394Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-02-25T23:36:52.658Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-02-25T23:36:52.658Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-02-25T23:36:52.658Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-02-25T23:36:52.658Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-02-25T23:36:52.925Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-02-25T23:36:52.925Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-02-25T23:36:53.195Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-02-25T23:36:53.195Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-02-25T23:36:53.195Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-02-25T23:36:53.463Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-02-25T23:36:53.464Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-02-25T23:36:53.464Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-02-25T23:36:53.727Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-02-25T23:36:53.727Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-02-25T23:36:53.727Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-02-25T23:36:53.727Z] [ 80%] Linking C static library libcbor.a [2021-02-25T23:36:53.990Z] [ 80%] Built target cbor [2021-02-25T23:36:53.990Z] Scanning dependencies of target create_items [2021-02-25T23:36:53.990Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-02-25T23:36:53.990Z] [ 84%] Linking C executable create_items [2021-02-25T23:36:53.990Z] [ 84%] Built target create_items [2021-02-25T23:36:53.990Z] Scanning dependencies of target readfile [2021-02-25T23:36:53.990Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-02-25T23:36:53.990Z] [ 88%] Linking C executable readfile [2021-02-25T23:36:54.253Z] [ 88%] Built target readfile [2021-02-25T23:36:54.253Z] Scanning dependencies of target streaming_parser [2021-02-25T23:36:54.253Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-02-25T23:36:54.253Z] [ 92%] Linking C executable streaming_parser [2021-02-25T23:36:54.253Z] [ 92%] Built target streaming_parser [2021-02-25T23:36:54.253Z] Scanning dependencies of target sort [2021-02-25T23:36:54.253Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-02-25T23:36:54.253Z] [ 96%] Linking C executable sort [2021-02-25T23:36:54.253Z] [ 96%] Built target sort [2021-02-25T23:36:54.253Z] Scanning dependencies of target hello [2021-02-25T23:36:54.253Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-02-25T23:36:54.529Z] [100%] Linking C executable hello [2021-02-25T23:36:54.529Z] [100%] Built target hello [2021-02-25T23:36:54.529Z] Install the project... [2021-02-25T23:36:54.529Z] -- Install configuration: "Release" [2021-02-25T23:36:54.529Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-02-25T23:36:54.529Z] -- Installing: /usr/local/lib64/libcbor.a [2021-02-25T23:36:54.529Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-02-25T23:36:54.529Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-02-25T23:36:54.529Z] -- Installing: /usr/local/lib64/libcbor.so [2021-02-25T23:36:54.529Z] -- Up-to-date: /usr/local/include/cbor [2021-02-25T23:36:54.529Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-02-25T23:36:54.529Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-02-25T23:36:54.529Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-02-25T23:36:54.529Z] -- Installing: /usr/local/include/cbor/common.h [2021-02-25T23:36:54.529Z] -- Installing: /usr/local/include/cbor/data.h [2021-02-25T23:36:54.529Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-02-25T23:36:54.529Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-02-25T23:36:54.529Z] -- Installing: /usr/local/include/cbor/internal [2021-02-25T23:36:54.529Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-02-25T23:36:54.529Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-02-25T23:36:54.529Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-02-25T23:36:54.529Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-02-25T23:36:54.529Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-02-25T23:36:54.529Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-02-25T23:36:54.529Z] -- Installing: /usr/local/include/cbor/ints.h [2021-02-25T23:36:54.529Z] -- Installing: /usr/local/include/cbor/maps.h [2021-02-25T23:36:54.529Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-02-25T23:36:54.529Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-02-25T23:36:54.529Z] -- Installing: /usr/local/include/cbor/strings.h [2021-02-25T23:36:54.529Z] -- Installing: /usr/local/include/cbor/tags.h [2021-02-25T23:36:54.529Z] -- Installing: /usr/local/include/cbor.h [2021-02-25T23:36:54.529Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-02-25T23:36:56.457Z] Removing intermediate container d7ac490f9f39 [2021-02-25T23:36:56.457Z] ---> 33e758e8a0b1 [2021-02-25T23:36:56.457Z] Step 6/21 : RUN mkdir /tmp/sdk [2021-02-25T23:36:56.726Z] ---> Running in b7c36ffb59a5 [2021-02-25T23:36:58.124Z] Removing intermediate container b7c36ffb59a5 [2021-02-25T23:36:58.124Z] ---> fbf72736c63e [2021-02-25T23:36:58.124Z] Step 7/21 : COPY VERSION /tmp/sdk [2021-02-25T23:36:58.390Z] ---> 7465bfc11e76 [2021-02-25T23:36:58.390Z] Step 8/21 : COPY src /tmp/sdk/src [2021-02-25T23:36:59.341Z] ---> ca8515253ebf [2021-02-25T23:36:59.341Z] Step 9/21 : COPY include /tmp/sdk/include [2021-02-25T23:36:59.605Z] ---> 2604fd018bc7 [2021-02-25T23:36:59.605Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2021-02-25T23:36:59.875Z] ---> 6bff463ef1d1 [2021-02-25T23:36:59.875Z] Step 11/21 : COPY LICENSE /tmp/sdk [2021-02-25T23:37:00.141Z] ---> 5d3e63b23adb [2021-02-25T23:37:00.141Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2021-02-25T23:37:00.141Z] ---> 413988c34eed [2021-02-25T23:37:00.141Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-02-25T23:37:00.411Z] ---> Running in 8ce6fba92be8 [2021-02-25T23:37:00.676Z] + CPPCHECK=false [2021-02-25T23:37:00.676Z] + DOCGEN=false [2021-02-25T23:37:00.676Z] + TOMLVER=SDK-0.2 [2021-02-25T23:37:00.676Z] + CUTILVER=1.1.4 [2021-02-25T23:37:00.676Z] + '[' 0 -gt 0 ] [2021-02-25T23:37:00.676Z] + readlink -f ./scripts/build.sh [2021-02-25T23:37:00.676Z] + dirname /tmp/sdk/scripts/build.sh [2021-02-25T23:37:00.676Z] + dirname /tmp/sdk/scripts [2021-02-25T23:37:00.676Z] + ROOT=/tmp/sdk [2021-02-25T23:37:00.676Z] + cd /tmp/sdk [2021-02-25T23:37:00.676Z] + '[' '!' -d deps ] [2021-02-25T23:37:00.676Z] + mkdir deps [2021-02-25T23:37:00.676Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-02-25T23:37:00.676Z] + tar -C deps -z -x -f - [2021-02-25T23:37:00.676Z] --2021-02-25 23:37:00-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-02-25T23:37:00.676Z] Resolving github.com... 140.82.114.4 [2021-02-25T23:37:00.676Z] Connecting to github.com|140.82.114.4|:443... connected. [2021-02-25T23:37:00.940Z] HTTP request sent, awaiting response... 302 Found [2021-02-25T23:37:00.940Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-02-25T23:37:00.940Z] --2021-02-25 23:37:00-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-02-25T23:37:00.940Z] Resolving codeload.github.com... 140.82.114.10 [2021-02-25T23:37:00.940Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2021-02-25T23:37:00.940Z] HTTP request sent, awaiting response... 200 OK [2021-02-25T23:37:00.940Z] Length: unspecified [application/x-gzip] [2021-02-25T23:37:00.940Z] Saving to: 'STDOUT' [2021-02-25T23:37:00.940Z]  [2021-02-25T23:37:00.940Z] 0K .......... ......  1.08M=0.01s [2021-02-25T23:37:00.940Z] [2021-02-25T23:37:00.940Z] 2021-02-25 23:37:00 (1.08 MB/s) - written to stdout [16451] [2021-02-25T23:37:00.940Z] [2021-02-25T23:37:00.940Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-02-25T23:37:00.940Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-02-25T23:37:00.940Z] + tar -C deps -z -x -f - [2021-02-25T23:37:00.940Z] --2021-02-25 23:37:00-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-02-25T23:37:01.216Z] Resolving github.com... 140.82.114.4 [2021-02-25T23:37:01.216Z] Connecting to github.com|140.82.114.4|:443... connected. [2021-02-25T23:37:01.216Z] HTTP request sent, awaiting response... 302 Found [2021-02-25T23:37:01.216Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-02-25T23:37:01.216Z] --2021-02-25 23:37:01-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-02-25T23:37:01.216Z] Resolving codeload.github.com... 140.82.114.10 [2021-02-25T23:37:01.216Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2021-02-25T23:37:01.488Z] HTTP request sent, awaiting response... 200 OK [2021-02-25T23:37:01.488Z] Length: unspecified [application/x-gzip] [2021-02-25T23:37:01.488Z] Saving to: 'STDOUT' [2021-02-25T23:37:01.488Z]  [2021-02-25T23:37:01.488Z] 0K .......... .......... .......... .......... .......... 1.45M [2021-02-25T23:37:01.488Z] 50K .......... .......... .......... .......... .......... 2.93M [2021-02-25T23:37:01.488Z] 100K .......... .......... .......... .......... .......... 41.0M [2021-02-25T23:37:01.488Z] 150K .......... .......... ....... 2.07M=0.06s [2021-02-25T23:37:01.488Z] [2021-02-25T23:37:01.488Z] 2021-02-25 23:37:01 (2.69 MB/s) - written to stdout [181796] [2021-02-25T23:37:01.488Z] [2021-02-25T23:37:01.488Z] + mkdir -p src/c/iot [2021-02-25T23:37:01.488Z] + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot [2021-02-25T23:37:01.488Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-02-25T23:37:01.488Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-02-25T23:37:01.488Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-02-25T23:37:01.488Z] + mkdir -p include/iot [2021-02-25T23:37:01.488Z] + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot [2021-02-25T23:37:01.488Z] + mkdir -p include/iot/os [2021-02-25T23:37:01.488Z] + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os [2021-02-25T23:37:01.488Z] + mkdir -p /tmp/sdk/build/release [2021-02-25T23:37:01.488Z] + cd /tmp/sdk/build/release [2021-02-25T23:37:01.488Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-02-25T23:37:01.752Z] -- The C compiler identification is GNU 8.3.0 [2021-02-25T23:37:01.752Z] -- Check for working C compiler: /usr/bin/cc [2021-02-25T23:37:01.752Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-02-25T23:37:01.752Z] -- Detecting C compiler ABI info [2021-02-25T23:37:01.752Z] -- Detecting C compiler ABI info - done [2021-02-25T23:37:01.752Z] -- Detecting C compile features [2021-02-25T23:37:02.015Z] -- Detecting C compile features - done [2021-02-25T23:37:02.016Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-02-25T23:37:02.016Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-02-25T23:37:02.016Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-02-25T23:37:02.016Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-02-25T23:37:02.016Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-02-25T23:37:02.016Z] -- C SDK 0.0.0 for Linux [2021-02-25T23:37:02.278Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-02-25T23:37:02.278Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-02-25T23:37:02.278Z] -- Found Curses: /usr/lib/libcurses.so [2021-02-25T23:37:02.278Z] -- Configuring done [2021-02-25T23:37:02.278Z] -- Generating done [2021-02-25T23:37:02.278Z] -- Build files have been written to: /tmp/sdk/build/release [2021-02-25T23:37:02.278Z] + make [2021-02-25T23:37:02.278Z] + tee release.log [2021-02-25T23:37:02.550Z] Scanning dependencies of target csdk [2021-02-25T23:37:02.550Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-02-25T23:37:02.550Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-02-25T23:37:02.814Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-02-25T23:37:03.082Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-02-25T23:37:03.352Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-02-25T23:37:03.352Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-02-25T23:37:03.617Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-02-25T23:37:04.198Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-02-25T23:37:04.198Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-02-25T23:37:04.464Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-02-25T23:37:04.464Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-02-25T23:37:04.728Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-02-25T23:37:04.728Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-02-25T23:37:04.728Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-02-25T23:37:05.678Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-02-25T23:37:05.678Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-02-25T23:37:05.678Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-02-25T23:37:05.678Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-02-25T23:37:05.942Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-02-25T23:37:06.520Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-02-25T23:37:06.785Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-02-25T23:37:06.785Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-02-25T23:37:06.785Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-02-25T23:37:07.051Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-02-25T23:37:07.051Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-02-25T23:37:07.319Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-02-25T23:37:07.319Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-02-25T23:37:07.582Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-02-25T23:37:07.582Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-02-25T23:37:08.156Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-02-25T23:37:08.156Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-02-25T23:37:08.419Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-02-25T23:37:08.419Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-02-25T23:37:09.812Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-02-25T23:37:09.812Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-02-25T23:37:09.812Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-02-25T23:37:10.114Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-02-25T23:37:10.114Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-02-25T23:37:10.691Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-02-25T23:37:10.954Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-02-25T23:37:11.905Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-02-25T23:37:12.173Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-02-25T23:37:12.173Z] [ 72%] Linking C shared library libcsdk.so [2021-02-25T23:37:12.173Z] [ 72%] Built target csdk [2021-02-25T23:37:12.173Z] Scanning dependencies of target template [2021-02-25T23:37:12.173Z] [ 74%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-02-25T23:37:12.440Z] [ 76%] Linking C executable template [2021-02-25T23:37:12.440Z] [ 76%] Built target template [2021-02-25T23:37:12.440Z] Scanning dependencies of target device-counter [2021-02-25T23:37:12.440Z] [ 77%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-02-25T23:37:12.703Z] [ 79%] Linking C executable device-counter [2021-02-25T23:37:12.703Z] [ 79%] Built target device-counter [2021-02-25T23:37:12.703Z] Scanning dependencies of target device-random [2021-02-25T23:37:12.703Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-02-25T23:37:12.967Z] [ 83%] Linking C executable device-random [2021-02-25T23:37:13.230Z] [ 83%] Built target device-random [2021-02-25T23:37:13.230Z] Scanning dependencies of target device-gyro [2021-02-25T23:37:13.230Z] [ 84%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-02-25T23:37:13.230Z] [ 86%] Linking C executable device-gyro [2021-02-25T23:37:13.492Z] [ 86%] Built target device-gyro [2021-02-25T23:37:13.492Z] Scanning dependencies of target device-bitfields [2021-02-25T23:37:13.492Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-02-25T23:37:13.492Z] [ 89%] Linking C executable device-bitfields [2021-02-25T23:37:13.755Z] [ 89%] Built target device-bitfields [2021-02-25T23:37:13.755Z] Scanning dependencies of target template-discovery [2021-02-25T23:37:13.755Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-02-25T23:37:13.755Z] [ 93%] Linking C executable template-discovery [2021-02-25T23:37:14.021Z] [ 93%] Built target template-discovery [2021-02-25T23:37:14.021Z] Scanning dependencies of target device-file [2021-02-25T23:37:14.021Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-02-25T23:37:14.021Z] [ 96%] Linking C executable device-file [2021-02-25T23:37:14.021Z] [ 96%] Built target device-file [2021-02-25T23:37:14.284Z] Scanning dependencies of target device-terminal [2021-02-25T23:37:14.284Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-02-25T23:37:14.284Z] [100%] Linking C executable device-terminal [2021-02-25T23:37:14.284Z] [100%] Built target device-terminal [2021-02-25T23:37:14.284Z] + make package [2021-02-25T23:37:14.284Z] + tee -a release.log [2021-02-25T23:37:14.550Z] [ 72%] Built target csdk [2021-02-25T23:37:14.550Z] [ 76%] Built target template [2021-02-25T23:37:14.550Z] [ 79%] Built target device-counter [2021-02-25T23:37:14.550Z] [ 83%] Built target device-random [2021-02-25T23:37:14.550Z] [ 86%] Built target device-gyro [2021-02-25T23:37:14.550Z] [ 89%] Built target device-bitfields [2021-02-25T23:37:14.550Z] [ 93%] Built target template-discovery [2021-02-25T23:37:14.550Z] [ 96%] Built target device-file [2021-02-25T23:37:14.550Z] [100%] Built target device-terminal [2021-02-25T23:37:14.550Z] Run CPack packaging tool... [2021-02-25T23:37:14.550Z] CPack: Create package using TGZ [2021-02-25T23:37:14.550Z] CPack: Install projects [2021-02-25T23:37:14.550Z] CPack: - Run preinstall target for: Csdk [2021-02-25T23:37:14.813Z] CPack: - Install project: Csdk [2021-02-25T23:37:14.813Z] CPack: Create package [2021-02-25T23:37:14.813Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-02-25T23:37:14.813Z] + '[' false '=' true ] [2021-02-25T23:37:14.813Z] + '[' false '=' true ] [2021-02-25T23:37:14.813Z] + mkdir -p /tmp/sdk/build/debug [2021-02-25T23:37:14.813Z] + cd /tmp/sdk/build/debug [2021-02-25T23:37:14.813Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-02-25T23:37:15.075Z] -- The C compiler identification is GNU 8.3.0 [2021-02-25T23:37:15.075Z] -- Check for working C compiler: /usr/bin/cc [2021-02-25T23:37:15.075Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-02-25T23:37:15.075Z] -- Detecting C compiler ABI info [2021-02-25T23:37:15.338Z] -- Detecting C compiler ABI info - done [2021-02-25T23:37:15.338Z] -- Detecting C compile features [2021-02-25T23:37:15.338Z] -- Detecting C compile features - done [2021-02-25T23:37:15.338Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-02-25T23:37:15.602Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-02-25T23:37:15.602Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-02-25T23:37:15.602Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-02-25T23:37:15.602Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-02-25T23:37:15.602Z] -- C SDK 0.0.0 for Linux [2021-02-25T23:37:15.602Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-02-25T23:37:15.602Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-02-25T23:37:15.602Z] -- Found Curses: /usr/lib/libcurses.so [2021-02-25T23:37:15.602Z] -- Configuring done [2021-02-25T23:37:15.602Z] -- Generating done [2021-02-25T23:37:15.602Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-02-25T23:37:15.602Z] + make [2021-02-25T23:37:15.602Z] + tee debug.log [2021-02-25T23:37:15.602Z] Scanning dependencies of target csdk [2021-02-25T23:37:15.864Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-02-25T23:37:15.864Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-02-25T23:37:15.864Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-02-25T23:37:16.132Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-02-25T23:37:16.132Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-02-25T23:37:16.132Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-02-25T23:37:16.395Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-02-25T23:37:16.657Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-02-25T23:37:16.657Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-02-25T23:37:16.657Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-02-25T23:37:16.933Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-02-25T23:37:16.934Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-02-25T23:37:16.934Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-02-25T23:37:16.934Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-02-25T23:37:17.196Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-02-25T23:37:17.196Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-02-25T23:37:17.460Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-02-25T23:37:17.460Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-02-25T23:37:17.460Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-02-25T23:37:17.724Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-02-25T23:37:17.724Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-02-25T23:37:17.724Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-02-25T23:37:17.989Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-02-25T23:37:17.989Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-02-25T23:37:17.989Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-02-25T23:37:17.989Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-02-25T23:37:18.252Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-02-25T23:37:18.252Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-02-25T23:37:18.252Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-02-25T23:37:18.515Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-02-25T23:37:18.515Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-02-25T23:37:18.515Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-02-25T23:37:18.779Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-02-25T23:37:19.042Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-02-25T23:37:19.042Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-02-25T23:37:19.042Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-02-25T23:37:19.305Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-02-25T23:37:19.305Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-02-25T23:37:19.569Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-02-25T23:37:19.833Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-02-25T23:37:20.096Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-02-25T23:37:20.097Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-02-25T23:37:20.097Z] [ 72%] Linking C shared library libcsdk.so [2021-02-25T23:37:20.097Z] [ 72%] Built target csdk [2021-02-25T23:37:20.097Z] Scanning dependencies of target template [2021-02-25T23:37:20.097Z] [ 74%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-02-25T23:37:20.359Z] [ 76%] Linking C executable template [2021-02-25T23:37:20.359Z] [ 76%] Built target template [2021-02-25T23:37:20.359Z] Scanning dependencies of target device-counter [2021-02-25T23:37:20.359Z] [ 77%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-02-25T23:37:20.359Z] [ 79%] Linking C executable device-counter [2021-02-25T23:37:20.624Z] [ 79%] Built target device-counter [2021-02-25T23:37:20.624Z] Scanning dependencies of target device-random [2021-02-25T23:37:20.624Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-02-25T23:37:20.624Z] [ 83%] Linking C executable device-random [2021-02-25T23:37:20.624Z] [ 83%] Built target device-random [2021-02-25T23:37:20.624Z] Scanning dependencies of target device-gyro [2021-02-25T23:37:20.624Z] [ 84%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-02-25T23:37:20.889Z] [ 86%] Linking C executable device-gyro [2021-02-25T23:37:20.889Z] [ 86%] Built target device-gyro [2021-02-25T23:37:20.889Z] Scanning dependencies of target device-bitfields [2021-02-25T23:37:20.889Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-02-25T23:37:20.889Z] [ 89%] Linking C executable device-bitfields [2021-02-25T23:37:21.152Z] [ 89%] Built target device-bitfields [2021-02-25T23:37:21.152Z] Scanning dependencies of target template-discovery [2021-02-25T23:37:21.152Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-02-25T23:37:21.152Z] [ 93%] Linking C executable template-discovery [2021-02-25T23:37:21.152Z] [ 93%] Built target template-discovery [2021-02-25T23:37:21.152Z] Scanning dependencies of target device-file [2021-02-25T23:37:21.152Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-02-25T23:37:21.415Z] [ 96%] Linking C executable device-file [2021-02-25T23:37:21.415Z] [ 96%] Built target device-file [2021-02-25T23:37:21.415Z] Scanning dependencies of target device-terminal [2021-02-25T23:37:21.415Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-02-25T23:37:21.415Z] [100%] Linking C executable device-terminal [2021-02-25T23:37:21.685Z] [100%] Built target device-terminal [2021-02-25T23:37:21.685Z] make: Entering directory '/tmp/sdk/build/release' [2021-02-25T23:37:21.685Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-02-25T23:37:21.685Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-25T23:37:21.685Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-25T23:37:21.685Z] [ 72%] Built target csdk [2021-02-25T23:37:21.685Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-25T23:37:21.685Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-25T23:37:21.685Z] [ 76%] Built target template [2021-02-25T23:37:21.685Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-25T23:37:21.685Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-25T23:37:21.685Z] [ 79%] Built target device-counter [2021-02-25T23:37:21.685Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-25T23:37:21.685Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-25T23:37:21.685Z] [ 83%] Built target device-random [2021-02-25T23:37:21.685Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-25T23:37:21.685Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-25T23:37:21.685Z] [ 86%] Built target device-gyro [2021-02-25T23:37:21.685Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-25T23:37:21.685Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-25T23:37:21.685Z] [ 89%] Built target device-bitfields [2021-02-25T23:37:21.685Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-25T23:37:21.685Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-25T23:37:21.685Z] [ 93%] Built target template-discovery [2021-02-25T23:37:21.685Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-25T23:37:21.685Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-25T23:37:21.685Z] [ 96%] Built target device-file [2021-02-25T23:37:21.685Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-25T23:37:21.685Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-25T23:37:21.685Z] [100%] Built target device-terminal [2021-02-25T23:37:21.685Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-02-25T23:37:21.685Z] Install the project... [2021-02-25T23:37:21.685Z] -- Install configuration: "Release" [2021-02-25T23:37:21.685Z] -- Installing: /usr/local/lib/libcsdk.so [2021-02-25T23:37:21.685Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-02-25T23:37:21.685Z] -- Up-to-date: /usr/local/include [2021-02-25T23:37:21.685Z] -- Installing: /usr/local/include/devsdk [2021-02-25T23:37:21.685Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-02-25T23:37:21.685Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-02-25T23:37:21.685Z] -- Installing: /usr/local/include/edgex [2021-02-25T23:37:21.685Z] -- Installing: /usr/local/include/edgex/devices.h [2021-02-25T23:37:21.685Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-02-25T23:37:21.685Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-02-25T23:37:21.685Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-02-25T23:37:21.685Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-02-25T23:37:21.685Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-02-25T23:37:21.685Z] -- Installing: /usr/local/include/iot [2021-02-25T23:37:21.685Z] -- Installing: /usr/local/include/iot/base64.h [2021-02-25T23:37:21.685Z] -- Installing: /usr/local/include/iot/component.h [2021-02-25T23:37:21.685Z] -- Installing: /usr/local/include/iot/config.h [2021-02-25T23:37:21.685Z] -- Installing: /usr/local/include/iot/container.h [2021-02-25T23:37:21.685Z] -- Installing: /usr/local/include/iot/data.h [2021-02-25T23:37:21.685Z] -- Installing: /usr/local/include/iot/hash.h [2021-02-25T23:37:21.685Z] -- Installing: /usr/local/include/iot/iot.h [2021-02-25T23:37:21.685Z] -- Installing: /usr/local/include/iot/json.h [2021-02-25T23:37:21.685Z] -- Installing: /usr/local/include/iot/logger.h [2021-02-25T23:37:21.685Z] -- Installing: /usr/local/include/iot/os.h [2021-02-25T23:37:21.685Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-02-25T23:37:21.685Z] -- Installing: /usr/local/include/iot/thread.h [2021-02-25T23:37:21.685Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-02-25T23:37:21.685Z] -- Installing: /usr/local/include/iot/time.h [2021-02-25T23:37:21.685Z] -- Installing: /usr/local/include/iot/typecode.h [2021-02-25T23:37:21.685Z] -- Installing: /usr/local/include/iot/os [2021-02-25T23:37:21.685Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-02-25T23:37:21.685Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-02-25T23:37:21.685Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-02-25T23:37:21.685Z] -- Installing: /usr/local/include/iot/defs.h [2021-02-25T23:37:21.685Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-02-25T23:37:21.685Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-02-25T23:37:21.685Z] make: Leaving directory '/tmp/sdk/build/release' [2021-02-25T23:37:24.261Z] Removing intermediate container 8ce6fba92be8 [2021-02-25T23:37:24.262Z] ---> 78ed7d2b8fe8 [2021-02-25T23:37:24.262Z] Step 14/21 : FROM ${BASE} [2021-02-25T23:37:24.262Z] ---> 5eabd8fd8ba2 [2021-02-25T23:37:24.262Z] Step 15/21 : LABEL maintainer="IOTech " [2021-02-25T23:37:24.262Z] ---> Running in b11df2ee82e8 [2021-02-25T23:37:24.262Z] Removing intermediate container b11df2ee82e8 [2021-02-25T23:37:24.262Z] ---> 7a707221d620 [2021-02-25T23:37:24.262Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2021-02-25T23:37:24.262Z] ---> Running in d2314dda30b6 [2021-02-25T23:37:24.841Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-02-25T23:37:25.789Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-02-25T23:37:25.789Z] (1/3) Installing curl (7.64.0-r5) [2021-02-25T23:37:25.789Z] (2/3) Installing libuuid (2.33-r0) [2021-02-25T23:37:26.056Z] (3/3) Installing wget (1.20.3-r0) [2021-02-25T23:37:26.056Z] Executing busybox-1.29.3-r10.trigger [2021-02-25T23:37:26.056Z] OK: 268 MiB in 78 packages [2021-02-25T23:37:26.638Z] Removing intermediate container d2314dda30b6 [2021-02-25T23:37:26.638Z] ---> 21b942099b1a [2021-02-25T23:37:26.638Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-02-25T23:37:26.901Z] ---> 94c493b451ce [2021-02-25T23:37:26.901Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-02-25T23:37:27.167Z] ---> e6869c3d8bd2 [2021-02-25T23:37:27.167Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-02-25T23:37:27.167Z] ---> 7688d5c58699 [2021-02-25T23:37:27.167Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-02-25T23:37:27.176Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-27734 in /w/workspace/edgexfoundry_device-sdk-c_PR-328 [Pipeline] { [Pipeline] ws [2021-02-25T23:37:27.273Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2021-02-25T23:37:27.436Z] ---> cdae9088fb06 [2021-02-25T23:37:27.436Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-02-25T23:37:27.700Z] ---> f04bf72ad39e [2021-02-25T23:37:27.700Z] Successfully built f04bf72ad39e [2021-02-25T23:37:27.964Z] 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-02-25T23:37:28.799Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-25T23:37:28.799Z] . [Pipeline] withDockerContainer [2021-02-25T23:37:28.936Z] prd-centos7-docker-4c-2g-27733 does not seem to be running inside a container [2021-02-25T23:37:28.997Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-25T23:37:29.777Z] $ docker top 283abce3c9eea49a1d2ee66755872b8fa4c96c1c7e5ee4bb467ff15fd56a08af -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-25T23:37:30.429Z] + make test [2021-02-25T23:37:30.429Z] echo "make test" [2021-02-25T23:37:30.429Z] make test [Pipeline] } [2021-02-25T23:37:30.469Z] $ docker stop --time=1 283abce3c9eea49a1d2ee66755872b8fa4c96c1c7e5ee4bb467ff15fd56a08af [2021-02-25T23:37:31.828Z] $ docker rm -f 283abce3c9eea49a1d2ee66755872b8fa4c96c1c7e5ee4bb467ff15fd56a08af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2021-02-25T23:37:32.588Z] using credential edgex-jenkins-ssh [2021-02-25T23:37:32.652Z] Cloning the remote Git repository [2021-02-25T23:37:32.719Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-02-25T23:37:34.162Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2021-02-25T23:37:34.259Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-02-25T23:37:34.262Z] > git --version # timeout=10 [2021-02-25T23:37:34.290Z] > git --version # 'git version 2.17.1' [2021-02-25T23:37:34.292Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-25T23:37:34.400Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] sh [2021-02-25T23:37:35.534Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-25T23:37:35.862Z] + ls -al . [2021-02-25T23:37:35.862Z] total 160 [2021-02-25T23:37:35.862Z] drwxrwxr-x. 8 jenkins jenkins 260 Feb 25 23:36 . [2021-02-25T23:37:35.862Z] drwxrwxr-x. 4 jenkins jenkins 28 Feb 25 23:36 .. [2021-02-25T23:37:35.862Z] -rw-rw-r--. 1 jenkins jenkins 3104 Feb 25 23:36 Attribution.txt [2021-02-25T23:37:35.862Z] -rw-rw-r--. 1 jenkins jenkins 6927 Feb 25 23:36 CHANGES [2021-02-25T23:37:35.862Z] drwxrwxr-x. 2 jenkins jenkins 144 Feb 25 23:36 docs [2021-02-25T23:37:35.862Z] -rw-rw-r--. 1 jenkins jenkins 108574 Feb 25 23:36 Doxyfile [2021-02-25T23:37:35.862Z] drwxrwxr-x. 8 jenkins jenkins 179 Feb 25 23:36 .git [2021-02-25T23:37:35.862Z] drwxrwxr-x. 2 jenkins jenkins 81 Feb 25 23:36 .github [2021-02-25T23:37:35.862Z] -rw-rw-r--. 1 jenkins jenkins 176 Feb 25 23:36 .gitignore [2021-02-25T23:37:35.862Z] drwxrwxr-x. 4 jenkins jenkins 33 Feb 25 23:36 include [2021-02-25T23:37:35.862Z] -rw-rw-r--. 1 jenkins jenkins 784 Feb 25 23:36 Jenkinsfile [2021-02-25T23:37:35.862Z] -rw-rw-r--. 1 jenkins jenkins 10174 Feb 25 23:36 LICENSE [2021-02-25T23:37:35.862Z] -rw-rw-r--. 1 jenkins jenkins 444 Feb 25 23:36 Makefile [2021-02-25T23:37:35.862Z] -rw-rw-r--. 1 jenkins jenkins 2697 Feb 25 23:36 README.md [2021-02-25T23:37:35.862Z] -rw-rw-r--. 1 jenkins jenkins 6654 Feb 25 23:36 README.v2.md [2021-02-25T23:37:35.862Z] drwxrwxr-x. 2 jenkins jenkins 98 Feb 25 23:36 scripts [2021-02-25T23:37:35.862Z] drwxrwxr-x. 4 jenkins jenkins 50 Feb 25 23:36 src [2021-02-25T23:37:35.862Z] -rw-rw-r--. 1 jenkins jenkins 5 Feb 25 23:33 VERSION [Pipeline] isUnix [Pipeline] sh [2021-02-25T23:37:36.211Z] + 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=78329c8033a2ce03c85d5a5b077be3701705694e --label arch=amd64 --label version=0.0.0 . [2021-02-25T23:37:36.211Z] Sending build context to Docker daemon 2.519MB [2021-02-25T23:37:36.211Z] Step 1/15 : ARG BASE=alpine:3.12 [2021-02-25T23:37:36.211Z] Step 2/15 : FROM ${BASE} [2021-02-25T23:37:36.211Z] ---> f04bf72ad39e [2021-02-25T23:37:36.211Z] Step 3/15 : LABEL maintainer="IOTech " [2021-02-25T23:37:35.717Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-02-25T23:37:35.741Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-25T23:37:35.790Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-02-25T23:37:35.831Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-02-25T23:37:35.832Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-25T23:37:35.847Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/328/head:refs/remotes/origin/PR-328 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-25T23:37:36.460Z] Merging remotes/origin/master commit 77b44f9ce19bf03ca56dfec0e2f5fdf00e6705bc into PR head commit 78329c8033a2ce03c85d5a5b077be3701705694e [2021-02-25T23:37:36.746Z] Merge succeeded, producing 78329c8033a2ce03c85d5a5b077be3701705694e [2021-02-25T23:37:36.746Z] Checking out Revision 78329c8033a2ce03c85d5a5b077be3701705694e (PR-328) [2021-02-25T23:37:37.162Z] ---> Running in c133c26af130 [2021-02-25T23:37:37.162Z] Removing intermediate container c133c26af130 [2021-02-25T23:37:37.162Z] ---> 767a51784603 [2021-02-25T23:37:37.162Z] Step 4/15 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev && mkdir -p /edgex-c-sdk/build [2021-02-25T23:37:37.162Z] ---> Running in 92a89a4e5fb6 [2021-02-25T23:37:36.483Z] > git config core.sparsecheckout # timeout=10 [2021-02-25T23:37:36.503Z] > git checkout -f 78329c8033a2ce03c85d5a5b077be3701705694e # timeout=10 [2021-02-25T23:37:36.612Z] > git remote # timeout=10 [2021-02-25T23:37:36.630Z] > git config --get remote.origin.url # timeout=10 [2021-02-25T23:37:36.647Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-25T23:37:36.657Z] > git merge 77b44f9ce19bf03ca56dfec0e2f5fdf00e6705bc # timeout=10 [2021-02-25T23:37:36.683Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-25T23:37:36.759Z] > git config core.sparsecheckout # timeout=10 [2021-02-25T23:37:36.787Z] > git checkout -f 78329c8033a2ce03c85d5a5b077be3701705694e # timeout=10 [2021-02-25T23:37:38.113Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-02-25T23:37:39.061Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-02-25T23:37:39.061Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-02-25T23:37:39.324Z] (2/6) Installing libblkid (2.33-r0) [2021-02-25T23:37:39.324Z] (3/6) Installing libfdisk (2.33-r0) [2021-02-25T23:37:39.324Z] (4/6) Installing libmount (2.33-r0) [2021-02-25T23:37:39.586Z] (5/6) Installing libsmartcols (2.33-r0) [2021-02-25T23:37:39.586Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-02-25T23:37:39.855Z] Executing busybox-1.29.3-r10.trigger [2021-02-25T23:37:39.855Z] OK: 272 MiB in 84 packages [2021-02-25T23:37:40.431Z] Removing intermediate container 92a89a4e5fb6 [2021-02-25T23:37:40.431Z] ---> 8315ee7a52a4 [2021-02-25T23:37:40.431Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2021-02-25T23:37:40.696Z] ---> 4425b4bb86b7 [2021-02-25T23:37:40.696Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2021-02-25T23:37:41.215Z] Commit message: "feat: provide functions for populating callback structure (#326) feat: add placeholder for extended discovery options" [2021-02-25T23:37:41.274Z] ---> fc04dcb9ecce [2021-02-25T23:37:41.274Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2021-02-25T23:37:41.283Z] > git --version # timeout=10 [2021-02-25T23:37:41.297Z] > git --version # 'git version 2.17.1' [2021-02-25T23:37:41.313Z] fatal: bad object e55c21c0f0e4c0e00d8e3e099bac5676b1b4b763 [2021-02-25T23:37:41.537Z] ---> 084867c5cb4f [2021-02-25T23:37:41.537Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [Pipeline] withEnv [Pipeline] { [2021-02-25T23:37:41.805Z] ---> f6f8adcc0b97 [2021-02-25T23:37:41.805Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2021-02-25T23:37:41.805Z] ---> eb72e475c97c [2021-02-25T23:37:41.805Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2021-02-25T23:37:42.072Z] ---> 5cd82ba0914a [2021-02-25T23:37:42.072Z] Step 11/15 : WORKDIR /edgex-c-sdk [Pipeline] sh [2021-02-25T23:37:42.336Z] ---> Running in 8790eb2ed93f [2021-02-25T23:37:42.336Z] Removing intermediate container 8790eb2ed93f [2021-02-25T23:37:42.336Z] ---> 59869037e1cd [2021-02-25T23:37:42.336Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-02-25T23:37:42.336Z] ---> Running in da087c2c38c7 [2021-02-25T23:37:42.602Z] Removing intermediate container da087c2c38c7 [2021-02-25T23:37:42.602Z] ---> 1e703e1c00fb [2021-02-25T23:37:42.602Z] Step 13/15 : LABEL arch=amd64 [2021-02-25T23:37:42.602Z] ---> Running in 2ebbdcd455bd [2021-02-25T23:37:42.865Z] Removing intermediate container 2ebbdcd455bd [2021-02-25T23:37:42.865Z] ---> 49c60951c3b0 [2021-02-25T23:37:42.865Z] Step 14/15 : LABEL git_sha=78329c8033a2ce03c85d5a5b077be3701705694e [2021-02-25T23:37:42.865Z] ---> Running in ed57d8fb3850 [2021-02-25T23:37:42.983Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-25T23:37:43.440Z] Removing intermediate container ed57d8fb3850 [2021-02-25T23:37:43.440Z] ---> 00287e354162 [2021-02-25T23:37:43.440Z] Step 15/15 : LABEL version=0.0.0 [2021-02-25T23:37:43.440Z] ---> Running in fd6090ef29a5 [2021-02-25T23:37:43.499Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-25T23:37:43.703Z] Removing intermediate container fd6090ef29a5 [2021-02-25T23:37:43.703Z] ---> 48a79c1c333f [2021-02-25T23:37:43.703Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-02-25T23:37:43.703Z] Successfully built 48a79c1c333f [2021-02-25T23:37:43.703Z] Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } [2021-02-25T23:37:43.855Z] + true [2021-02-25T23:37:43.855Z] + sudo service docker restart [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-02-25T23:37:46.617Z] provisioning config files... [2021-02-25T23:37:46.661Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config4028747136663114827tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-25T23:37:47.113Z] ---> docker-login.sh [2021-02-25T23:37:47.113Z] nexus3.edgexfoundry.org:10001 [2021-02-25T23:37:47.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T23:37:48.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T23:37:48.329Z] Configure a credential helper to remove this warning. See [2021-02-25T23:37:48.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T23:37:48.329Z] [2021-02-25T23:37:48.329Z] Login Succeeded [2021-02-25T23:37:48.329Z] nexus3.edgexfoundry.org:10002 [2021-02-25T23:37:48.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T23:37:48.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T23:37:48.883Z] Configure a credential helper to remove this warning. See [2021-02-25T23:37:48.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T23:37:48.883Z] [2021-02-25T23:37:48.883Z] Login Succeeded [2021-02-25T23:37:48.883Z] nexus3.edgexfoundry.org:10003 [2021-02-25T23:37:49.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T23:37:49.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T23:37:49.433Z] Configure a credential helper to remove this warning. See [2021-02-25T23:37:49.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T23:37:49.433Z] [2021-02-25T23:37:49.433Z] Login Succeeded [2021-02-25T23:37:49.433Z] nexus3.edgexfoundry.org:10004 [2021-02-25T23:37:49.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T23:37:49.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T23:37:49.982Z] Configure a credential helper to remove this warning. See [2021-02-25T23:37:49.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T23:37:49.982Z] [2021-02-25T23:37:49.982Z] Login Succeeded [2021-02-25T23:37:49.982Z] docker.io [2021-02-25T23:37:50.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T23:37:50.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T23:37:50.530Z] Configure a credential helper to remove this warning. See [2021-02-25T23:37:50.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T23:37:50.530Z] [2021-02-25T23:37:50.530Z] Login Succeeded [2021-02-25T23:37:50.530Z] ---> docker-login.sh ends [Pipeline] } [2021-02-25T23:37:50.568Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-25T23:37:51.140Z] ========================================================= [2021-02-25T23:37:51.140Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-02-25T23:37:51.140Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-25T23:37:51.631Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2021-02-25T23:37:52.243Z] Sending build context to Docker daemon 2.518MB [2021-02-25T23:37:52.243Z] Step 1/21 : ARG BASE=alpine:3.12 [2021-02-25T23:37:52.243Z] Step 2/21 : FROM ${BASE} as builder [2021-02-25T23:37:52.243Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-02-25T23:37:52.243Z] 0362ad1dd800: Pulling fs layer [2021-02-25T23:37:52.243Z] f2cdb1532d8b: Pulling fs layer [2021-02-25T23:37:52.243Z] 37ed683be191: Pulling fs layer [2021-02-25T23:37:52.243Z] f2cdb1532d8b: Verifying Checksum [2021-02-25T23:37:52.243Z] f2cdb1532d8b: Download complete [2021-02-25T23:37:52.518Z] 0362ad1dd800: Verifying Checksum [2021-02-25T23:37:53.135Z] 0362ad1dd800: Pull complete [2021-02-25T23:37:53.422Z] f2cdb1532d8b: Pull complete [2021-02-25T23:37:54.882Z] 37ed683be191: Download complete [2021-02-25T23:38:05.079Z] 37ed683be191: Pull complete [2021-02-25T23:38:05.079Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2021-02-25T23:38:05.079Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-02-25T23:38:05.079Z] ---> b23d30803547 [2021-02-25T23:38:05.079Z] Step 3/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev [2021-02-25T23:38:05.363Z] ---> Running in db4df4d09ba7 [2021-02-25T23:38:06.401Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-02-25T23:38:07.431Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-02-25T23:38:07.718Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2021-02-25T23:38:07.718Z] (2/8) Installing libuuid (2.33-r0) [2021-02-25T23:38:07.718Z] (3/8) Installing libblkid (2.33-r0) [2021-02-25T23:38:07.998Z] (4/8) Installing libfdisk (2.33-r0) [2021-02-25T23:38:07.998Z] (5/8) Installing libmount (2.33-r0) [2021-02-25T23:38:07.998Z] (6/8) Installing libsmartcols (2.33-r0) [2021-02-25T23:38:08.279Z] (7/8) Installing util-linux-dev (2.33-r0) [2021-02-25T23:38:08.599Z] (8/8) Installing wget (1.20.3-r0) [2021-02-25T23:38:08.599Z] Executing busybox-1.29.3-r10.trigger [2021-02-25T23:38:08.599Z] OK: 285 MiB in 83 packages [2021-02-25T23:38:10.109Z] Removing intermediate container db4df4d09ba7 [2021-02-25T23:38:10.109Z] ---> ab69fd85061f [2021-02-25T23:38:10.109Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2021-02-25T23:38:10.109Z] ---> Running in 4bdc7557fd4f [2021-02-25T23:38:10.706Z] Removing intermediate container 4bdc7557fd4f [2021-02-25T23:38:10.707Z] ---> 988c7dbb0690 [2021-02-25T23:38:10.707Z] Step 5/21 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2021-02-25T23:38:10.707Z] ---> Running in f33b922dd316 [2021-02-25T23:38:11.721Z] --2021-02-25 23:38:11-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-02-25T23:38:11.721Z] Resolving github.com... 140.82.113.3 [2021-02-25T23:38:11.998Z] Connecting to github.com|140.82.113.3|:443... connected. [2021-02-25T23:38:11.998Z] HTTP request sent, awaiting response... 302 Found [2021-02-25T23:38:11.998Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-02-25T23:38:11.998Z] --2021-02-25 23:38:11-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-02-25T23:38:11.999Z] Resolving codeload.github.com... 140.82.112.10 [2021-02-25T23:38:11.999Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2021-02-25T23:38:11.999Z] HTTP request sent, awaiting response... 200 OK [2021-02-25T23:38:11.999Z] Length: unspecified [application/x-gzip] [2021-02-25T23:38:11.999Z] Saving to: 'STDOUT' [2021-02-25T23:38:11.999Z]  [2021-02-25T23:38:11.999Z] 0K .......... .......... .......... .......... .......... 1.48M [2021-02-25T23:38:12.276Z] 50K .......... .......... .......... .......... .......... 2.87M [2021-02-25T23:38:12.276Z] 100K .......... .......... .......... .......... .......... 3.10M [2021-02-25T23:38:12.276Z] 150K .......... .......... .......... .......... .......... 16.0M [2021-02-25T23:38:12.276Z] 200K .......... .......... .......... .......... .......... 14.8M [2021-02-25T23:38:12.276Z] 250K .......... .......... .......... .......... .......... 3.16M [2021-02-25T23:38:12.276Z] 300K .......... .......... .......... .......... .......... 4.35M [2021-02-25T23:38:12.276Z] 350K .......... .......... .......... .......... .......... 3.65M [2021-02-25T23:38:12.276Z] 400K .......... .......... .......... .......... .......... 4.50M [2021-02-25T23:38:12.276Z] 450K .......... .......... .......... .......... .......... 4.15M [2021-02-25T23:38:12.276Z] 500K .......... .......... .......... .......... .......... 6.66M [2021-02-25T23:38:12.276Z] 550K .......... .......... .......... .......... .......... 1.96M [2021-02-25T23:38:12.276Z] 600K .......... .......... .......... .......... .......... 1006K [2021-02-25T23:38:12.276Z] 650K .......... .......... .......... .......... .......... 2.04M [2021-02-25T23:38:12.276Z] 700K ..    12.8M=0.2s [2021-02-25T23:38:12.276Z] [2021-02-25T23:38:12.276Z] 2021-02-25 23:38:12 (2.85 MB/s) - written to stdout [719348] [2021-02-25T23:38:12.276Z] [2021-02-25T23:38:12.555Z] -- The C compiler identification is GNU 8.3.0 [2021-02-25T23:38:12.831Z] -- The CXX compiler identification is GNU 8.3.0 [2021-02-25T23:38:12.832Z] -- Check for working C compiler: /usr/bin/cc [2021-02-25T23:38:13.107Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-02-25T23:38:13.108Z] -- Detecting C compiler ABI info [2021-02-25T23:38:13.384Z] -- Detecting C compiler ABI info - done [2021-02-25T23:38:13.384Z] -- Detecting C compile features [2021-02-25T23:38:13.993Z] -- Detecting C compile features - done [2021-02-25T23:38:13.993Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-02-25T23:38:14.268Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-02-25T23:38:14.268Z] -- Detecting CXX compiler ABI info [2021-02-25T23:38:14.544Z] -- Detecting CXX compiler ABI info - done [2021-02-25T23:38:14.544Z] -- Detecting CXX compile features [2021-02-25T23:38:16.524Z] -- Detecting CXX compile features - done [2021-02-25T23:38:16.524Z] -- Looking for include file endian.h [2021-02-25T23:38:16.524Z] -- Looking for include file endian.h - found [2021-02-25T23:38:16.524Z] -- Check if the system is big endian [2021-02-25T23:38:16.524Z] -- Searching 16 bit integer [2021-02-25T23:38:16.524Z] -- Looking for sys/types.h [2021-02-25T23:38:16.524Z] -- Looking for sys/types.h - found [2021-02-25T23:38:16.524Z] -- Looking for stdint.h [2021-02-25T23:38:16.797Z] -- Looking for stdint.h - found [2021-02-25T23:38:16.798Z] -- Looking for stddef.h [2021-02-25T23:38:17.069Z] -- Looking for stddef.h - found [2021-02-25T23:38:17.069Z] -- Check size of unsigned short [2021-02-25T23:38:17.350Z] -- Check size of unsigned short - done [2021-02-25T23:38:17.350Z] -- Using unsigned short [2021-02-25T23:38:17.627Z] -- Check if the system is big endian - little endian [2021-02-25T23:38:17.627Z] -- Check size of size_t [2021-02-25T23:38:17.902Z] -- Check size of size_t - done [2021-02-25T23:38:17.902Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-02-25T23:38:17.902Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-02-25T23:38:17.902Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-02-25T23:38:17.902Z] CMake did not find one. [2021-02-25T23:38:17.902Z] [2021-02-25T23:38:17.902Z] Could not find a package configuration file provided by "cJSON" with any of [2021-02-25T23:38:17.902Z] the following names: [2021-02-25T23:38:17.902Z] [2021-02-25T23:38:17.902Z] cJSONConfig.cmake [2021-02-25T23:38:17.902Z] cjson-config.cmake [2021-02-25T23:38:17.902Z] [2021-02-25T23:38:17.902Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-02-25T23:38:17.902Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-02-25T23:38:17.902Z] provides a separate development package or SDK, be sure it has been [2021-02-25T23:38:17.902Z] installed. [2021-02-25T23:38:17.902Z] [2021-02-25T23:38:17.902Z] [2021-02-25T23:38:17.902Z] -- Configuring done [2021-02-25T23:38:18.184Z] -- Generating done [2021-02-25T23:38:18.184Z] -- Build files have been written to: /tmp/cbor [2021-02-25T23:38:18.184Z] Scanning dependencies of target cbor_shared [2021-02-25T23:38:18.184Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-02-25T23:38:19.197Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-02-25T23:38:19.505Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-02-25T23:38:19.796Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-02-25T23:38:20.419Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-02-25T23:38:20.713Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-02-25T23:38:20.713Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-02-25T23:38:20.996Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-02-25T23:38:21.284Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-02-25T23:38:21.567Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-02-25T23:38:22.172Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-02-25T23:38:22.172Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-02-25T23:38:22.804Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-02-25T23:38:23.081Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-02-25T23:38:23.361Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-02-25T23:38:23.361Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-02-25T23:38:23.637Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-02-25T23:38:23.916Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-02-25T23:38:24.194Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-02-25T23:38:24.474Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-02-25T23:38:24.474Z] [ 40%] Linking C shared library libcbor.so [2021-02-25T23:38:24.765Z] [ 40%] Built target cbor_shared [2021-02-25T23:38:24.765Z] Scanning dependencies of target cbor [2021-02-25T23:38:24.765Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-02-25T23:38:25.407Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-02-25T23:38:26.016Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-02-25T23:38:26.300Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-02-25T23:38:27.285Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-02-25T23:38:27.556Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-02-25T23:38:27.830Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-02-25T23:38:28.107Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-02-25T23:38:28.107Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-02-25T23:38:28.380Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-02-25T23:38:29.363Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-02-25T23:38:29.363Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-02-25T23:38:29.963Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-02-25T23:38:30.239Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-02-25T23:38:30.522Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-02-25T23:38:30.522Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-02-25T23:38:30.809Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-02-25T23:38:31.095Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-02-25T23:38:31.384Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-02-25T23:38:31.668Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-02-25T23:38:31.955Z] [ 80%] Linking C static library libcbor.a [2021-02-25T23:38:31.955Z] [ 80%] Built target cbor [2021-02-25T23:38:31.955Z] Scanning dependencies of target create_items [2021-02-25T23:38:31.955Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-02-25T23:38:32.261Z] [ 84%] Linking C executable create_items [2021-02-25T23:38:32.261Z] [ 84%] Built target create_items [2021-02-25T23:38:32.261Z] Scanning dependencies of target readfile [2021-02-25T23:38:32.261Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-02-25T23:38:32.554Z] [ 88%] Linking C executable readfile [2021-02-25T23:38:32.554Z] [ 88%] Built target readfile [2021-02-25T23:38:32.554Z] Scanning dependencies of target streaming_parser [2021-02-25T23:38:32.554Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-02-25T23:38:32.835Z] [ 92%] Linking C executable streaming_parser [2021-02-25T23:38:32.835Z] [ 92%] Built target streaming_parser [2021-02-25T23:38:32.835Z] Scanning dependencies of target sort [2021-02-25T23:38:32.835Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-02-25T23:38:33.119Z] [ 96%] Linking C executable sort [2021-02-25T23:38:33.119Z] [ 96%] Built target sort [2021-02-25T23:38:33.119Z] Scanning dependencies of target hello [2021-02-25T23:38:33.394Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-02-25T23:38:33.394Z] [100%] Linking C executable hello [2021-02-25T23:38:33.394Z] [100%] Built target hello [2021-02-25T23:38:33.673Z] Install the project... [2021-02-25T23:38:33.673Z] -- Install configuration: "Release" [2021-02-25T23:38:33.673Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-02-25T23:38:33.673Z] -- Installing: /usr/local/lib64/libcbor.a [2021-02-25T23:38:33.673Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-02-25T23:38:33.673Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-02-25T23:38:33.673Z] -- Installing: /usr/local/lib64/libcbor.so [2021-02-25T23:38:33.673Z] -- Up-to-date: /usr/local/include/cbor [2021-02-25T23:38:33.673Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-02-25T23:38:33.673Z] -- Installing: /usr/local/include/cbor/ints.h [2021-02-25T23:38:33.673Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-02-25T23:38:33.673Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-02-25T23:38:33.673Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-02-25T23:38:33.673Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-02-25T23:38:33.673Z] -- Installing: /usr/local/include/cbor/data.h [2021-02-25T23:38:33.673Z] -- Installing: /usr/local/include/cbor/common.h [2021-02-25T23:38:33.673Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-02-25T23:38:33.673Z] -- Installing: /usr/local/include/cbor/strings.h [2021-02-25T23:38:33.673Z] -- Installing: /usr/local/include/cbor/tags.h [2021-02-25T23:38:33.673Z] -- Installing: /usr/local/include/cbor/internal [2021-02-25T23:38:33.673Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-02-25T23:38:33.673Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-02-25T23:38:33.673Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-02-25T23:38:33.673Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-02-25T23:38:33.673Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-02-25T23:38:33.673Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-02-25T23:38:33.673Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-02-25T23:38:33.673Z] -- Installing: /usr/local/include/cbor/maps.h [2021-02-25T23:38:33.673Z] -- Installing: /usr/local/include/cbor.h [2021-02-25T23:38:33.673Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-02-25T23:38:35.671Z] Removing intermediate container f33b922dd316 [2021-02-25T23:38:35.671Z] ---> 506ff776be0b [2021-02-25T23:38:35.671Z] Step 6/21 : RUN mkdir /tmp/sdk [2021-02-25T23:38:35.951Z] ---> Running in 7c379de83cd0 [2021-02-25T23:38:37.961Z] Removing intermediate container 7c379de83cd0 [2021-02-25T23:38:37.961Z] ---> 0d394f077cb3 [2021-02-25T23:38:37.961Z] Step 7/21 : COPY VERSION /tmp/sdk [2021-02-25T23:38:38.941Z] ---> 901a2675d942 [2021-02-25T23:38:38.941Z] Step 8/21 : COPY src /tmp/sdk/src [2021-02-25T23:38:39.930Z] ---> cf4a3c2fb8da [2021-02-25T23:38:39.930Z] Step 9/21 : COPY include /tmp/sdk/include [2021-02-25T23:38:40.539Z] ---> a95b60dcbf85 [2021-02-25T23:38:40.539Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2021-02-25T23:38:41.533Z] ---> c52fcfb27384 [2021-02-25T23:38:41.533Z] Step 11/21 : COPY LICENSE /tmp/sdk [2021-02-25T23:38:42.134Z] ---> b2b34d887d35 [2021-02-25T23:38:42.134Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2021-02-25T23:38:43.123Z] ---> 699e9b440e0d [2021-02-25T23:38:43.123Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-02-25T23:38:43.406Z] ---> Running in 5b074c89e5b9 [2021-02-25T23:38:44.408Z] + CPPCHECK=false [2021-02-25T23:38:44.408Z] + DOCGEN=false [2021-02-25T23:38:44.408Z] + TOMLVER=SDK-0.2 [2021-02-25T23:38:44.408Z] + CUTILVER=1.1.4 [2021-02-25T23:38:44.408Z] + '[' 0 -gt 0 ] [2021-02-25T23:38:44.408Z] + readlink -f ./scripts/build.sh [2021-02-25T23:38:44.408Z] + dirname /tmp/sdk/scripts/build.sh [2021-02-25T23:38:44.408Z] + dirname /tmp/sdk/scripts [2021-02-25T23:38:44.408Z] + ROOT=/tmp/sdk [2021-02-25T23:38:44.408Z] + cd /tmp/sdk [2021-02-25T23:38:44.408Z] + '[' '!' -d deps ] [2021-02-25T23:38:44.408Z] + mkdir deps [2021-02-25T23:38:44.408Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-02-25T23:38:44.408Z] + tar -C deps -z -x -f - [2021-02-25T23:38:44.408Z] --2021-02-25 23:38:44-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-02-25T23:38:44.408Z] Resolving github.com... 140.82.113.3 [2021-02-25T23:38:44.408Z] Connecting to github.com|140.82.113.3|:443... connected. [2021-02-25T23:38:44.686Z] HTTP request sent, awaiting response... 302 Found [2021-02-25T23:38:44.686Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-02-25T23:38:44.686Z] --2021-02-25 23:38:44-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-02-25T23:38:44.686Z] Resolving codeload.github.com... 140.82.112.10 [2021-02-25T23:38:44.686Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2021-02-25T23:38:44.686Z] HTTP request sent, awaiting response... 200 OK [2021-02-25T23:38:44.686Z] Length: unspecified [application/x-gzip] [2021-02-25T23:38:44.686Z] Saving to: 'STDOUT' [2021-02-25T23:38:44.686Z]  [2021-02-25T23:38:44.686Z] 0K .......... ......  1.07M=0.01s [2021-02-25T23:38:44.686Z] [2021-02-25T23:38:44.686Z] 2021-02-25 23:38:44 (1.07 MB/s) - written to stdout [16451] [2021-02-25T23:38:44.686Z] [2021-02-25T23:38:44.686Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-02-25T23:38:44.686Z] + wget -O -+ https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gztar [2021-02-25T23:38:44.686Z] -C deps -z -x -f - [2021-02-25T23:38:44.686Z] --2021-02-25 23:38:44-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-02-25T23:38:44.962Z] Resolving github.com... 140.82.113.3 [2021-02-25T23:38:44.962Z] Connecting to github.com|140.82.113.3|:443... connected. [2021-02-25T23:38:44.962Z] HTTP request sent, awaiting response... 302 Found [2021-02-25T23:38:44.962Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-02-25T23:38:44.962Z] --2021-02-25 23:38:44-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-02-25T23:38:44.962Z] Resolving codeload.github.com... 140.82.112.10 [2021-02-25T23:38:44.962Z] Connecting to codeload.github.com|140.82.112.10|:443... connected. [2021-02-25T23:38:45.245Z] HTTP request sent, awaiting response... 200 OK [2021-02-25T23:38:45.245Z] Length: unspecified [application/x-gzip] [2021-02-25T23:38:45.245Z] Saving to: 'STDOUT' [2021-02-25T23:38:45.245Z]  [2021-02-25T23:38:45.245Z] 0K .......... .......... .......... .......... .......... 1.35M [2021-02-25T23:38:45.245Z] 50K .......... .......... .......... .......... .......... 3.34M [2021-02-25T23:38:45.245Z] 100K .......... .......... .......... .......... .......... 4.17M [2021-02-25T23:38:45.245Z] 150K .......... .......... ....... 1.51M=0.08s [2021-02-25T23:38:45.245Z] [2021-02-25T23:38:45.245Z] 2021-02-25 23:38:45 (2.16 MB/s) - written to stdout [181796] [2021-02-25T23:38:45.245Z] [2021-02-25T23:38:45.245Z] + mkdir -p src/c/iot [2021-02-25T23:38:45.245Z] + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot [2021-02-25T23:38:45.245Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-02-25T23:38:45.245Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-02-25T23:38:45.245Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-02-25T23:38:45.245Z] + mkdir -p include/iot [2021-02-25T23:38:45.245Z] + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot [2021-02-25T23:38:45.245Z] + mkdir -p include/iot/os [2021-02-25T23:38:45.245Z] + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os [2021-02-25T23:38:45.245Z] + mkdir -p /tmp/sdk/build/release [2021-02-25T23:38:45.245Z] + cd /tmp/sdk/build/release [2021-02-25T23:38:45.245Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-02-25T23:38:45.531Z] -- The C compiler identification is GNU 8.3.0 [2021-02-25T23:38:45.531Z] -- Check for working C compiler: /usr/bin/cc [2021-02-25T23:38:45.813Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-02-25T23:38:45.813Z] -- Detecting C compiler ABI info [2021-02-25T23:38:46.091Z] -- Detecting C compiler ABI info - done [2021-02-25T23:38:46.091Z] -- Detecting C compile features [2021-02-25T23:38:46.717Z] -- Detecting C compile features - done [2021-02-25T23:38:46.717Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-02-25T23:38:46.717Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-02-25T23:38:47.000Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-02-25T23:38:47.000Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-02-25T23:38:47.000Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-02-25T23:38:47.000Z] -- C SDK 0.0.0 for Linux [2021-02-25T23:38:47.000Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-02-25T23:38:47.000Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-02-25T23:38:47.000Z] -- Found Curses: /usr/lib/libcurses.so [2021-02-25T23:38:47.291Z] -- Configuring done [2021-02-25T23:38:47.580Z] -- Generating done [2021-02-25T23:38:47.580Z] -- Build files have been written to: /tmp/sdk/build/release [2021-02-25T23:38:47.580Z] + + teemake release.log [2021-02-25T23:38:47.580Z] [2021-02-25T23:38:47.580Z] Scanning dependencies of target csdk [2021-02-25T23:38:47.859Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-02-25T23:38:48.459Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-02-25T23:38:48.734Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-02-25T23:38:50.713Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-02-25T23:38:50.987Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-02-25T23:38:51.266Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-02-25T23:38:52.259Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-02-25T23:38:53.699Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-02-25T23:38:53.976Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-02-25T23:38:54.591Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-02-25T23:38:55.190Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-02-25T23:38:55.467Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-02-25T23:38:55.741Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-02-25T23:38:56.017Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-02-25T23:38:58.637Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-02-25T23:38:58.912Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-02-25T23:38:59.186Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-02-25T23:38:59.807Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-02-25T23:39:00.408Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-02-25T23:39:03.024Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-02-25T23:39:03.024Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-02-25T23:39:03.024Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-02-25T23:39:03.616Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-02-25T23:39:04.208Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-02-25T23:39:04.208Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-02-25T23:39:05.183Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-02-25T23:39:05.456Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-02-25T23:39:06.051Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-02-25T23:39:06.328Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-02-25T23:39:08.299Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-02-25T23:39:08.570Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-02-25T23:39:09.163Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-02-25T23:39:09.437Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-02-25T23:39:13.814Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-02-25T23:39:14.089Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-02-25T23:39:14.364Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-02-25T23:39:14.961Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-02-25T23:39:15.560Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-02-25T23:39:17.011Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-02-25T23:39:18.993Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-02-25T23:39:22.380Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-02-25T23:39:22.380Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-02-25T23:39:22.674Z] [ 72%] Linking C shared library libcsdk.so [2021-02-25T23:39:22.961Z] [ 72%] Built target csdk [2021-02-25T23:39:22.961Z] Scanning dependencies of target template [2021-02-25T23:39:22.961Z] [ 74%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-02-25T23:39:23.558Z] [ 76%] Linking C executable template [2021-02-25T23:39:23.833Z] [ 76%] Built target template [2021-02-25T23:39:23.833Z] Scanning dependencies of target device-counter [2021-02-25T23:39:23.833Z] [ 77%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-02-25T23:39:24.430Z] [ 79%] Linking C executable device-counter [2021-02-25T23:39:24.430Z] [ 79%] Built target device-counter [2021-02-25T23:39:24.703Z] Scanning dependencies of target device-random [2021-02-25T23:39:24.703Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-02-25T23:39:24.976Z] [ 83%] Linking C executable device-random [2021-02-25T23:39:25.250Z] [ 83%] Built target device-random [2021-02-25T23:39:25.250Z] Scanning dependencies of target device-gyro [2021-02-25T23:39:25.250Z] [ 84%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-02-25T23:39:25.859Z] [ 86%] Linking C executable device-gyro [2021-02-25T23:39:25.859Z] [ 86%] Built target device-gyro [2021-02-25T23:39:25.859Z] Scanning dependencies of target device-bitfields [2021-02-25T23:39:25.859Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-02-25T23:39:26.466Z] [ 89%] Linking C executable device-bitfields [2021-02-25T23:39:26.466Z] [ 89%] Built target device-bitfields [2021-02-25T23:39:26.466Z] Scanning dependencies of target template-discovery [2021-02-25T23:39:26.742Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-02-25T23:39:27.362Z] [ 93%] Linking C executable template-discovery [2021-02-25T23:39:27.362Z] [ 93%] Built target template-discovery [2021-02-25T23:39:27.362Z] Scanning dependencies of target device-file [2021-02-25T23:39:27.678Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-02-25T23:39:27.967Z] [ 96%] Linking C executable device-file [2021-02-25T23:39:28.243Z] [ 96%] Built target device-file [2021-02-25T23:39:28.243Z] Scanning dependencies of target device-terminal [2021-02-25T23:39:28.243Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-02-25T23:39:28.846Z] [100%] Linking C executable device-terminal [2021-02-25T23:39:29.122Z] [100%] Built target device-terminal [2021-02-25T23:39:29.122Z] + + teemake -a package release.log [2021-02-25T23:39:29.122Z] [2021-02-25T23:39:29.122Z] [ 72%] Built target csdk [2021-02-25T23:39:29.122Z] [ 76%] Built target template [2021-02-25T23:39:29.396Z] [ 79%] Built target device-counter [2021-02-25T23:39:29.396Z] [ 83%] Built target device-random [2021-02-25T23:39:29.396Z] [ 86%] Built target device-gyro [2021-02-25T23:39:29.396Z] [ 89%] Built target device-bitfields [2021-02-25T23:39:29.396Z] [ 93%] Built target template-discovery [2021-02-25T23:39:29.396Z] [ 96%] Built target device-file [2021-02-25T23:39:29.396Z] [100%] Built target device-terminal [2021-02-25T23:39:29.669Z] Run CPack packaging tool... [2021-02-25T23:39:29.669Z] CPack: Create package using TGZ [2021-02-25T23:39:29.669Z] CPack: Install projects [2021-02-25T23:39:29.669Z] CPack: - Run preinstall target for: Csdk [2021-02-25T23:39:30.281Z] CPack: - Install project: Csdk [2021-02-25T23:39:30.281Z] CPack: Create package [2021-02-25T23:39:30.281Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-02-25T23:39:30.281Z] + '[' false '=' true ] [2021-02-25T23:39:30.281Z] + '[' false '=' true ] [2021-02-25T23:39:30.281Z] + mkdir -p /tmp/sdk/build/debug [2021-02-25T23:39:30.281Z] + cd /tmp/sdk/build/debug [2021-02-25T23:39:30.281Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-02-25T23:39:30.557Z] -- The C compiler identification is GNU 8.3.0 [2021-02-25T23:39:30.557Z] -- Check for working C compiler: /usr/bin/cc [2021-02-25T23:39:30.834Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-02-25T23:39:30.834Z] -- Detecting C compiler ABI info [2021-02-25T23:39:31.112Z] -- Detecting C compiler ABI info - done [2021-02-25T23:39:31.112Z] -- Detecting C compile features [2021-02-25T23:39:31.718Z] -- Detecting C compile features - done [2021-02-25T23:39:31.718Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-02-25T23:39:31.718Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-02-25T23:39:31.996Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-02-25T23:39:31.996Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-02-25T23:39:31.996Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-02-25T23:39:31.996Z] -- C SDK 0.0.0 for Linux [2021-02-25T23:39:31.996Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-02-25T23:39:31.996Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-02-25T23:39:31.996Z] -- Found Curses: /usr/lib/libcurses.so [2021-02-25T23:39:32.271Z] -- Configuring done [2021-02-25T23:39:32.546Z] -- Generating done [2021-02-25T23:39:32.546Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-02-25T23:39:32.546Z] + make [2021-02-25T23:39:32.546Z] + tee debug.log [2021-02-25T23:39:32.546Z] Scanning dependencies of target csdk [2021-02-25T23:39:32.822Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-02-25T23:39:33.098Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-02-25T23:39:33.373Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-02-25T23:39:33.970Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-02-25T23:39:34.247Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-02-25T23:39:34.247Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-02-25T23:39:34.843Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-02-25T23:39:35.117Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-02-25T23:39:35.394Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-02-25T23:39:35.995Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-02-25T23:39:35.995Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-02-25T23:39:36.289Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-02-25T23:39:36.570Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-02-25T23:39:36.570Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-02-25T23:39:37.550Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-02-25T23:39:37.550Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-02-25T23:39:37.825Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-02-25T23:39:38.101Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-02-25T23:39:38.375Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-02-25T23:39:39.359Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-02-25T23:39:39.359Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-02-25T23:39:39.359Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-02-25T23:39:39.634Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-02-25T23:39:39.913Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-02-25T23:39:40.188Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-02-25T23:39:40.464Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-02-25T23:39:40.464Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-02-25T23:39:40.740Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-02-25T23:39:41.014Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-02-25T23:39:41.290Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-02-25T23:39:41.565Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-02-25T23:39:42.163Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-02-25T23:39:42.163Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-02-25T23:39:43.199Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-02-25T23:39:43.480Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-02-25T23:39:43.762Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-02-25T23:39:44.046Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-02-25T23:39:44.323Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-02-25T23:39:45.305Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-02-25T23:39:45.579Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-02-25T23:39:46.559Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-02-25T23:39:46.559Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-02-25T23:39:46.848Z] [ 72%] Linking C shared library libcsdk.so [2021-02-25T23:39:47.122Z] [ 72%] Built target csdk [2021-02-25T23:39:47.122Z] Scanning dependencies of target template [2021-02-25T23:39:47.122Z] [ 74%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-02-25T23:39:47.397Z] [ 76%] Linking C executable template [2021-02-25T23:39:47.673Z] [ 76%] Built target template [2021-02-25T23:39:47.673Z] Scanning dependencies of target device-counter [2021-02-25T23:39:47.673Z] [ 77%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-02-25T23:39:47.948Z] [ 79%] Linking C executable device-counter [2021-02-25T23:39:48.225Z] [ 79%] Built target device-counter [2021-02-25T23:39:48.225Z] Scanning dependencies of target device-random [2021-02-25T23:39:48.225Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-02-25T23:39:48.500Z] [ 83%] Linking C executable device-random [2021-02-25T23:39:48.776Z] [ 83%] Built target device-random [2021-02-25T23:39:48.776Z] Scanning dependencies of target device-gyro [2021-02-25T23:39:48.776Z] [ 84%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-02-25T23:39:49.052Z] [ 86%] Linking C executable device-gyro [2021-02-25T23:39:49.052Z] [ 86%] Built target device-gyro [2021-02-25T23:39:49.052Z] Scanning dependencies of target device-bitfields [2021-02-25T23:39:49.052Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-02-25T23:39:49.327Z] [ 89%] Linking C executable device-bitfields [2021-02-25T23:39:49.601Z] [ 89%] Built target device-bitfields [2021-02-25T23:39:49.601Z] Scanning dependencies of target template-discovery [2021-02-25T23:39:49.601Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-02-25T23:39:49.879Z] [ 93%] Linking C executable template-discovery [2021-02-25T23:39:50.156Z] [ 93%] Built target template-discovery [2021-02-25T23:39:50.156Z] Scanning dependencies of target device-file [2021-02-25T23:39:50.156Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-02-25T23:39:50.452Z] [ 96%] Linking C executable device-file [2021-02-25T23:39:50.753Z] [ 96%] Built target device-file [2021-02-25T23:39:50.753Z] Scanning dependencies of target device-terminal [2021-02-25T23:39:50.753Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-02-25T23:39:51.031Z] [100%] Linking C executable device-terminal [2021-02-25T23:39:51.309Z] [100%] Built target device-terminal [2021-02-25T23:39:51.309Z] make: Entering directory '/tmp/sdk/build/release' [2021-02-25T23:39:51.309Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-02-25T23:39:51.309Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-25T23:39:51.309Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-25T23:39:51.601Z] [ 72%] Built target csdk [2021-02-25T23:39:51.601Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-25T23:39:51.601Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-25T23:39:51.601Z] [ 76%] Built target template [2021-02-25T23:39:51.601Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-25T23:39:51.601Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-25T23:39:51.601Z] [ 79%] Built target device-counter [2021-02-25T23:39:51.601Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-25T23:39:51.601Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-25T23:39:51.601Z] [ 83%] Built target device-random [2021-02-25T23:39:51.601Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-25T23:39:51.601Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-25T23:39:51.601Z] [ 86%] Built target device-gyro [2021-02-25T23:39:51.601Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-25T23:39:51.601Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-25T23:39:51.601Z] [ 89%] Built target device-bitfields [2021-02-25T23:39:51.601Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-25T23:39:51.601Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-25T23:39:51.601Z] [ 93%] Built target template-discovery [2021-02-25T23:39:51.601Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-25T23:39:51.601Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-25T23:39:51.888Z] [ 96%] Built target device-file [2021-02-25T23:39:51.888Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-02-25T23:39:51.888Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-02-25T23:39:51.888Z] [100%] Built target device-terminal [2021-02-25T23:39:51.888Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-02-25T23:39:51.888Z] Install the project... [2021-02-25T23:39:51.888Z] -- Install configuration: "Release" [2021-02-25T23:39:51.888Z] -- Installing: /usr/local/lib/libcsdk.so [2021-02-25T23:39:51.888Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-02-25T23:39:51.888Z] -- Up-to-date: /usr/local/include [2021-02-25T23:39:51.888Z] -- Installing: /usr/local/include/edgex [2021-02-25T23:39:51.888Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-02-25T23:39:51.888Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-02-25T23:39:51.888Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-02-25T23:39:51.888Z] -- Installing: /usr/local/include/edgex/devices.h [2021-02-25T23:39:51.888Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-02-25T23:39:51.888Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-02-25T23:39:51.888Z] -- Installing: /usr/local/include/devsdk [2021-02-25T23:39:51.888Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-02-25T23:39:51.888Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-02-25T23:39:51.888Z] -- Installing: /usr/local/include/iot [2021-02-25T23:39:51.888Z] -- Installing: /usr/local/include/iot/json.h [2021-02-25T23:39:51.888Z] -- Installing: /usr/local/include/iot/container.h [2021-02-25T23:39:51.888Z] -- Installing: /usr/local/include/iot/component.h [2021-02-25T23:39:51.888Z] -- Installing: /usr/local/include/iot/typecode.h [2021-02-25T23:39:51.888Z] -- Installing: /usr/local/include/iot/iot.h [2021-02-25T23:39:51.888Z] -- Installing: /usr/local/include/iot/time.h [2021-02-25T23:39:51.888Z] -- Installing: /usr/local/include/iot/hash.h [2021-02-25T23:39:51.888Z] -- Installing: /usr/local/include/iot/logger.h [2021-02-25T23:39:51.888Z] -- Installing: /usr/local/include/iot/os [2021-02-25T23:39:51.888Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-02-25T23:39:51.888Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-02-25T23:39:51.888Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-02-25T23:39:51.888Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-02-25T23:39:51.888Z] -- Installing: /usr/local/include/iot/data.h [2021-02-25T23:39:51.888Z] -- Installing: /usr/local/include/iot/thread.h [2021-02-25T23:39:51.888Z] -- Installing: /usr/local/include/iot/os.h [2021-02-25T23:39:51.888Z] -- Installing: /usr/local/include/iot/base64.h [2021-02-25T23:39:51.888Z] -- Installing: /usr/local/include/iot/defs.h [2021-02-25T23:39:51.888Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-02-25T23:39:51.888Z] -- Installing: /usr/local/include/iot/config.h [2021-02-25T23:39:51.888Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-02-25T23:39:51.888Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-02-25T23:39:51.888Z] make: Leaving directory '/tmp/sdk/build/release' [2021-02-25T23:39:54.591Z] Removing intermediate container 5b074c89e5b9 [2021-02-25T23:39:54.591Z] ---> 15b11eb5e407 [2021-02-25T23:39:54.591Z] Step 14/21 : FROM ${BASE} [2021-02-25T23:39:54.591Z] ---> b23d30803547 [2021-02-25T23:39:54.591Z] Step 15/21 : LABEL maintainer="IOTech " [2021-02-25T23:39:54.591Z] ---> Running in 151fac392657 [2021-02-25T23:39:55.206Z] Removing intermediate container 151fac392657 [2021-02-25T23:39:55.206Z] ---> 6b8d7089a8d2 [2021-02-25T23:39:55.206Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2021-02-25T23:39:55.530Z] ---> Running in 58fc2d9ed0a2 [2021-02-25T23:39:56.618Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-02-25T23:39:57.250Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-02-25T23:39:57.555Z] (1/3) Installing curl (7.64.0-r5) [2021-02-25T23:39:57.555Z] (2/3) Installing libuuid (2.33-r0) [2021-02-25T23:39:57.848Z] (3/3) Installing wget (1.20.3-r0) [2021-02-25T23:39:57.848Z] Executing busybox-1.29.3-r10.trigger [2021-02-25T23:39:57.848Z] OK: 281 MiB in 78 packages [2021-02-25T23:39:59.380Z] Removing intermediate container 58fc2d9ed0a2 [2021-02-25T23:39:59.380Z] ---> c4a9671a5d55 [2021-02-25T23:39:59.380Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-02-25T23:40:00.036Z] ---> 13be86ef3d8e [2021-02-25T23:40:00.036Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-02-25T23:40:00.639Z] ---> a087b6b82024 [2021-02-25T23:40:00.639Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-02-25T23:40:01.702Z] ---> e57fa95f566d [2021-02-25T23:40:01.702Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-02-25T23:40:02.362Z] ---> 284103215a33 [2021-02-25T23:40:02.362Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-02-25T23:40:03.347Z] ---> 38880b234520 [2021-02-25T23:40:03.347Z] Successfully built 38880b234520 [2021-02-25T23:40:03.347Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-25T23:40:04.285Z] + docker inspect -f . ci-base-image-arm64 [2021-02-25T23:40:04.285Z] . [Pipeline] withDockerContainer [2021-02-25T23:40:04.564Z] prd-ubuntu18.04-docker-arm64-4c-16g-27734 does not seem to be running inside a container [2021-02-25T23:40:04.659Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-25T23:40:06.313Z] $ docker top 556ec92b17942865ac8f17ac1742c95e447d19f14acbfb8c4ecfe0cb6351741d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-25T23:40:07.437Z] + make test [2021-02-25T23:40:07.437Z] echo "make test" [2021-02-25T23:40:07.437Z] make test [Pipeline] } [2021-02-25T23:40:07.472Z] $ docker stop --time=1 556ec92b17942865ac8f17ac1742c95e447d19f14acbfb8c4ecfe0cb6351741d [2021-02-25T23:40:09.358Z] $ docker rm -f 556ec92b17942865ac8f17ac1742c95e447d19f14acbfb8c4ecfe0cb6351741d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-25T23:40:10.617Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-25T23:40:10.977Z] + ls -al . [2021-02-25T23:40:10.977Z] total 192 [2021-02-25T23:40:10.977Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 25 23:37 . [2021-02-25T23:40:10.977Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 25 23:37 .. [2021-02-25T23:40:10.977Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 25 23:37 .git [2021-02-25T23:40:10.977Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 23:37 .github [2021-02-25T23:40:10.977Z] -rw-rw-r-- 1 jenkins jenkins 176 Feb 25 23:37 .gitignore [2021-02-25T23:40:10.977Z] -rw-rw-r-- 1 jenkins jenkins 3104 Feb 25 23:37 Attribution.txt [2021-02-25T23:40:10.977Z] -rw-rw-r-- 1 jenkins jenkins 6927 Feb 25 23:37 CHANGES [2021-02-25T23:40:10.977Z] -rw-rw-r-- 1 jenkins jenkins 108574 Feb 25 23:37 Doxyfile [2021-02-25T23:40:10.977Z] -rw-rw-r-- 1 jenkins jenkins 784 Feb 25 23:37 Jenkinsfile [2021-02-25T23:40:10.977Z] -rw-rw-r-- 1 jenkins jenkins 10174 Feb 25 23:37 LICENSE [2021-02-25T23:40:10.977Z] -rw-rw-r-- 1 jenkins jenkins 444 Feb 25 23:37 Makefile [2021-02-25T23:40:10.977Z] -rw-rw-r-- 1 jenkins jenkins 2697 Feb 25 23:37 README.md [2021-02-25T23:40:10.977Z] -rw-rw-r-- 1 jenkins jenkins 6654 Feb 25 23:37 README.v2.md [2021-02-25T23:40:10.977Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 25 23:33 VERSION [2021-02-25T23:40:10.977Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 23:37 docs [2021-02-25T23:40:10.977Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 25 23:37 include [2021-02-25T23:40:10.977Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 23:37 scripts [2021-02-25T23:40:10.977Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 25 23:37 src [Pipeline] isUnix [Pipeline] sh [2021-02-25T23:40:11.358Z] + 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=78329c8033a2ce03c85d5a5b077be3701705694e --label arch=arm64 --label version=0.0.0 . [2021-02-25T23:40:11.633Z] Sending build context to Docker daemon 2.518MB [2021-02-25T23:40:11.633Z] Step 1/15 : ARG BASE=alpine:3.12 [2021-02-25T23:40:11.633Z] Step 2/15 : FROM ${BASE} [2021-02-25T23:40:11.633Z] ---> 38880b234520 [2021-02-25T23:40:11.633Z] Step 3/15 : LABEL maintainer="IOTech " [2021-02-25T23:40:11.909Z] ---> Running in 920430f25a0f [2021-02-25T23:40:12.504Z] Removing intermediate container 920430f25a0f [2021-02-25T23:40:12.504Z] ---> be7307da8915 [2021-02-25T23:40:12.504Z] Step 4/15 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev && mkdir -p /edgex-c-sdk/build [2021-02-25T23:40:12.504Z] ---> Running in 88c27285af13 [2021-02-25T23:40:13.958Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-02-25T23:40:14.578Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-02-25T23:40:14.861Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-02-25T23:40:14.861Z] (2/6) Installing libblkid (2.33-r0) [2021-02-25T23:40:15.143Z] (3/6) Installing libfdisk (2.33-r0) [2021-02-25T23:40:15.143Z] (4/6) Installing libmount (2.33-r0) [2021-02-25T23:40:15.143Z] (5/6) Installing libsmartcols (2.33-r0) [2021-02-25T23:40:15.437Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-02-25T23:40:15.730Z] Executing busybox-1.29.3-r10.trigger [2021-02-25T23:40:15.730Z] OK: 286 MiB in 84 packages [2021-02-25T23:40:17.230Z] Removing intermediate container 88c27285af13 [2021-02-25T23:40:17.230Z] ---> d1f37ba98a59 [2021-02-25T23:40:17.230Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2021-02-25T23:40:17.509Z] ---> 235fc71ada87 [2021-02-25T23:40:17.509Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2021-02-25T23:40:18.545Z] ---> 71f2a3ecb76a [2021-02-25T23:40:18.545Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2021-02-25T23:40:19.175Z] ---> 69615b1b4db7 [2021-02-25T23:40:19.175Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2021-02-25T23:40:20.199Z] ---> 73b2ae093494 [2021-02-25T23:40:20.199Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2021-02-25T23:40:20.837Z] ---> 0bf7e83a9922 [2021-02-25T23:40:20.837Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2021-02-25T23:40:21.478Z] ---> 0bf474438ffe [2021-02-25T23:40:21.479Z] Step 11/15 : WORKDIR /edgex-c-sdk [2021-02-25T23:40:21.479Z] ---> Running in bcc7fdb1e733 [2021-02-25T23:40:22.487Z] Removing intermediate container bcc7fdb1e733 [2021-02-25T23:40:22.487Z] ---> 717e3063ebd0 [2021-02-25T23:40:22.487Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-02-25T23:40:22.487Z] ---> Running in 55984ff6bc24 [2021-02-25T23:40:22.797Z] Removing intermediate container 55984ff6bc24 [2021-02-25T23:40:22.797Z] ---> 1c6d623ba3b3 [2021-02-25T23:40:22.797Z] Step 13/15 : LABEL arch=arm64 [2021-02-25T23:40:23.077Z] ---> Running in 510003f4b86e [2021-02-25T23:40:23.697Z] Removing intermediate container 510003f4b86e [2021-02-25T23:40:23.697Z] ---> ab7cbc1f256e [2021-02-25T23:40:23.697Z] Step 14/15 : LABEL git_sha=78329c8033a2ce03c85d5a5b077be3701705694e [2021-02-25T23:40:23.697Z] ---> Running in c6626cfd44be [2021-02-25T23:40:24.351Z] Removing intermediate container c6626cfd44be [2021-02-25T23:40:24.351Z] ---> 4ab711569699 [2021-02-25T23:40:24.351Z] Step 15/15 : LABEL version=0.0.0 [2021-02-25T23:40:24.351Z] ---> Running in 5408519dec0f [2021-02-25T23:40:24.956Z] Removing intermediate container 5408519dec0f [2021-02-25T23:40:24.956Z] ---> b686fb73bf9e [2021-02-25T23:40:24.956Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-02-25T23:40:24.956Z] Successfully built b686fb73bf9e [2021-02-25T23:40:24.956Z] 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-02-25T23:40:28.915Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-25T23:40:29.254Z] ---> package-listing.sh [2021-02-25T23:40:29.254Z] ++ facter osfamily [2021-02-25T23:40:29.254Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-25T23:40:29.254Z] + OS_FAMILY=redhat [2021-02-25T23:40:29.254Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-328 [2021-02-25T23:40:29.254Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-25T23:40:29.254Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-25T23:40:29.254Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-25T23:40:29.254Z] + PACKAGES=/tmp/packages_start.txt [2021-02-25T23:40:29.254Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-328 ']' [2021-02-25T23:40:29.254Z] + PACKAGES=/tmp/packages_end.txt [2021-02-25T23:40:29.254Z] + case "${OS_FAMILY}" in [2021-02-25T23:40:29.254Z] + rpm -qa [2021-02-25T23:40:29.254Z] + sort [2021-02-25T23:40:34.566Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-25T23:40:34.566Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-25T23:40:34.566Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-25T23:40:34.566Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-328 ']' [2021-02-25T23:40:34.566Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-328/archives/ [2021-02-25T23:40:34.566Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-328/archives/ [Pipeline] echo [2021-02-25T23:40:34.602Z] 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-328/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-25T23:40:34.915Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-25T23:40:35.263Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-25T23:40:35.264Z] [2021-02-25T23:40:35.264Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-25T23:40:35.663Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-25T23:40:35.663Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-25T23:40:35.663Z] df20fa9351a1: Pulling fs layer [2021-02-25T23:40:35.663Z] 36b3adc4ff6f: Pulling fs layer [2021-02-25T23:40:35.663Z] 8ad3a11d3b57: Pulling fs layer [2021-02-25T23:40:35.663Z] 46f8f816bc3b: Pulling fs layer [2021-02-25T23:40:35.663Z] 93b61091891f: Pulling fs layer [2021-02-25T23:40:35.663Z] 93b9cdb0e59b: Pulling fs layer [2021-02-25T23:40:35.663Z] 5e14af77c1be: Pulling fs layer [2021-02-25T23:40:35.663Z] 01666e4c0597: Pulling fs layer [2021-02-25T23:40:35.663Z] aa168da1d23b: Pulling fs layer [2021-02-25T23:40:35.663Z] 93b9cdb0e59b: Waiting [2021-02-25T23:40:35.663Z] 5e14af77c1be: Waiting [2021-02-25T23:40:35.663Z] 01666e4c0597: Waiting [2021-02-25T23:40:35.663Z] aa168da1d23b: Waiting [2021-02-25T23:40:35.663Z] 46f8f816bc3b: Waiting [2021-02-25T23:40:35.663Z] 93b61091891f: Waiting [2021-02-25T23:40:35.663Z] 36b3adc4ff6f: Verifying Checksum [2021-02-25T23:40:35.663Z] 36b3adc4ff6f: Download complete [2021-02-25T23:40:35.663Z] 46f8f816bc3b: Verifying Checksum [2021-02-25T23:40:35.663Z] 46f8f816bc3b: Download complete [2021-02-25T23:40:35.663Z] df20fa9351a1: Verifying Checksum [2021-02-25T23:40:35.663Z] df20fa9351a1: Download complete [2021-02-25T23:40:35.938Z] 93b61091891f: Verifying Checksum [2021-02-25T23:40:35.938Z] 93b61091891f: Download complete [2021-02-25T23:40:35.938Z] 93b9cdb0e59b: Verifying Checksum [2021-02-25T23:40:35.938Z] 93b9cdb0e59b: Download complete [2021-02-25T23:40:35.938Z] 5e14af77c1be: Verifying Checksum [2021-02-25T23:40:35.938Z] 5e14af77c1be: Download complete [2021-02-25T23:40:35.938Z] 01666e4c0597: Verifying Checksum [2021-02-25T23:40:35.938Z] 01666e4c0597: Download complete [2021-02-25T23:40:35.938Z] 8ad3a11d3b57: Verifying Checksum [2021-02-25T23:40:35.938Z] 8ad3a11d3b57: Download complete [2021-02-25T23:40:36.202Z] df20fa9351a1: Pull complete [2021-02-25T23:40:36.468Z] 36b3adc4ff6f: Pull complete [2021-02-25T23:40:37.058Z] 8ad3a11d3b57: Pull complete [2021-02-25T23:40:37.326Z] 46f8f816bc3b: Pull complete [2021-02-25T23:40:38.284Z] aa168da1d23b: Verifying Checksum [2021-02-25T23:40:38.284Z] aa168da1d23b: Download complete [2021-02-25T23:40:38.547Z] 93b61091891f: Pull complete [2021-02-25T23:40:39.123Z] 93b9cdb0e59b: Pull complete [2021-02-25T23:40:39.123Z] 5e14af77c1be: Pull complete [2021-02-25T23:40:39.386Z] 01666e4c0597: Pull complete [2021-02-25T23:40:46.039Z] aa168da1d23b: Pull complete [2021-02-25T23:40:46.040Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-25T23:40:46.040Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-25T23:40:46.040Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-25T23:40:46.191Z] prd-centos7-docker-4c-2g-27732 does not seem to be running inside a container [2021-02-25T23:40:46.239Z] $ 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-328/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-328 -v /w/workspace/edgexfoundry_device-sdk-c_PR-328:/w/workspace/edgexfoundry_device-sdk-c_PR-328:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-328@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-328@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-25T23:40:49.584Z] $ docker top 2ec6ea28cbded0aa5d06e564ff6b180e45909c7c32c01c87d532c113923728ae -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-25T23:40:50.220Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-25T23:40:50.546Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-25T23:40:50.898Z] + ls /var/log/sa-host [2021-02-25T23:40:50.898Z] + sadf -c /var/log/sa-host/sa23 [2021-02-25T23:40:50.898Z] file_magic: OK [2021-02-25T23:40:50.898Z] HZ: Using current value: 100 [2021-02-25T23:40:50.898Z] file_header: OK [2021-02-25T23:40:50.898Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-02-25T23:40:50.898Z] Statistics: [2021-02-25T23:40:50.898Z] Hnuu...uuuununununu... [2021-02-25T23:40:50.898Z] File successfully converted to sysstat format version 12.2.1 [2021-02-25T23:40:50.898Z] + sadf -c /var/log/sa-host/sa25 [2021-02-25T23:40:50.898Z] file_magic: OK [2021-02-25T23:40:50.898Z] HZ: Using current value: 100 [2021-02-25T23:40:50.898Z] file_header: OK [2021-02-25T23:40:50.898Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-02-25T23:40:50.898Z] Statistics: [2021-02-25T23:40:50.898Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-25T23:40:50.898Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-25T23:40:51.587Z] provisioning config files... [2021-02-25T23:40:51.613Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-328@tmp/config6437179175347939181tmp [Pipeline] { [Pipeline] echo [2021-02-25T23:40:51.727Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-25T23:40:52.072Z] ---> create-netrc.sh [Pipeline] } [2021-02-25T23:40:52.098Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-25T23:40:52.260Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-25T23:40:52.599Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-25T23:40:52.630Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-25T23:40:52.970Z] ---> sudo-logs.sh [2021-02-25T23:40:52.970Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-02-25T23:40:53.115Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-25T23:40:53.453Z] ---> job-cost.sh [2021-02-25T23:40:53.453Z] lf-activate-venv: SKIPPING [2021-02-25T23:40:53.453Z] INFO: No Stack... [2021-02-25T23:40:54.401Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-25T23:40:54.975Z] INFO: Archiving Costs [Pipeline] echo [2021-02-25T23:40:55.013Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-25T23:40:55.356Z] ---> logs-deploy.sh [2021-02-25T23:40:55.356Z] lf-activate-venv: SKIPPING [2021-02-25T23:40:55.356Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-328/1 [2021-02-25T23:40:55.356Z] INFO: archiving workspace using pattern(s): [2021-02-25T23:40:57.276Z] Archives upload complete. [2021-02-25T23:40:57.276Z] INFO: archiving logs to Nexus