Pull request #341 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 soda480 for edgexfoundry/device-sdk-c Obtained Jenkinsfile from ffca8a7f173e4af129b56382ea7724f2eb516e06+3a634a1c00d95d9219bb951cd4c22fd9c49f79ac (07b29d8511bbae22cf9fb84f88172d1d398ae928) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-341/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-341/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-c DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-856’ Running on prd-centos7-docker-4c-2g-869 in /w/workspace/edgexfoundry_device-sdk-c_PR-341 [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-341 # 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 3a634a1c00d95d9219bb951cd4c22fd9c49f79ac into PR head commit ffca8a7f173e4af129b56382ea7724f2eb516e06 Merge succeeded, producing ffca8a7f173e4af129b56382ea7724f2eb516e06 Checking out Revision ffca8a7f173e4af129b56382ea7724f2eb516e06 (PR-341) > 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/341/head:refs/remotes/origin/PR-341 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ffca8a7f173e4af129b56382ea7724f2eb516e06 # 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 3a634a1c00d95d9219bb951cd4c22fd9c49f79ac # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ffca8a7f173e4af129b56382ea7724f2eb516e06 # timeout=10 Commit message: "docs: Add badges to readme" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-19T18:36:54.025Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-19T18:36:54.219Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-19T18:36:54.326Z] ========================================================= [2021-04-19T18:36:54.326Z] EdgeX Global Pipelines Version Info [2021-04-19T18:36:54.326Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:36:56.427Z] ------------------- [2021-04-19T18:36:56.427Z] stable info: [2021-04-19T18:36:56.427Z] ------------------- [2021-04-19T18:36:56.427Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-19T18:36:56.427Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-19T18:36:56.427Z] Message: update stable to v1.0.186 [2021-04-19T18:36:57.021Z] ------------------- [2021-04-19T18:36:57.021Z] experimental info: [2021-04-19T18:36:57.021Z] ------------------- [2021-04-19T18:36:57.021Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-19T18:36:57.021Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-19T18:36:57.021Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-19T18:36:57.304Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-04-19T18:36:57.367Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-04-19T18:36:57.437Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-19T18:36:57.518Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-19T18:36:57.570Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-19T18:36:57.624Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-04-19T18:36:57.700Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-04-19T18:36:57.756Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-04-19T18:36:57.822Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-19T18:36:57.875Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-c [Pipeline] echo [2021-04-19T18:36:57.923Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-19T18:36:57.976Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-19T18:36:58.021Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-19T18:36:58.069Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-19T18:36:58.116Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-19T18:36:58.166Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-19T18:36:58.225Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-19T18:36:58.277Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-341 [Pipeline] echo [2021-04-19T18:36:58.325Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-341 [Pipeline] echo [2021-04-19T18:36:58.376Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-341 [Pipeline] echo [2021-04-19T18:36:58.429Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ffca8a7f173e4af129b56382ea7724f2eb516e06 [Pipeline] echo [2021-04-19T18:36:58.491Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ffca8a7 [Pipeline] echo [2021-04-19T18:36:58.549Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T18:36:58.717Z] provisioning config files... [2021-04-19T18:36:58.747Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-341@tmp/config3183478547582379806tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:36:59.139Z] ---> docker-login.sh [2021-04-19T18:36:59.139Z] nexus3.edgexfoundry.org:10001 [2021-04-19T18:36:59.420Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:36:59.420Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:36:59.420Z] Configure a credential helper to remove this warning. See [2021-04-19T18:36:59.420Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:36:59.420Z] [2021-04-19T18:36:59.420Z] Login Succeeded [2021-04-19T18:36:59.691Z] nexus3.edgexfoundry.org:10002 [2021-04-19T18:36:59.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:36:59.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:36:59.691Z] Configure a credential helper to remove this warning. See [2021-04-19T18:36:59.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:36:59.691Z] [2021-04-19T18:36:59.691Z] Login Succeeded [2021-04-19T18:36:59.691Z] nexus3.edgexfoundry.org:10003 [2021-04-19T18:36:59.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:36:59.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:36:59.960Z] Configure a credential helper to remove this warning. See [2021-04-19T18:36:59.960Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:36:59.960Z] [2021-04-19T18:36:59.960Z] Login Succeeded [2021-04-19T18:36:59.960Z] nexus3.edgexfoundry.org:10004 [2021-04-19T18:37:00.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:37:00.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:37:00.224Z] Configure a credential helper to remove this warning. See [2021-04-19T18:37:00.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:37:00.224Z] [2021-04-19T18:37:00.224Z] Login Succeeded [2021-04-19T18:37:00.224Z] docker.io [2021-04-19T18:37:00.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:37:00.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:37:00.489Z] Configure a credential helper to remove this warning. See [2021-04-19T18:37:00.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:37:00.489Z] [2021-04-19T18:37:00.489Z] Login Succeeded [2021-04-19T18:37:00.489Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T18:37:00.519Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:37:01.550Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T18:37:01.550Z] [2021-04-19T18:37:01.550Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:37:02.001Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T18:37:02.001Z] latest: Pulling from edgex-devops/git-semver [2021-04-19T18:37:02.001Z] 31603596830f: Pulling fs layer [2021-04-19T18:37:02.001Z] 2a8b12db71e7: Pulling fs layer [2021-04-19T18:37:02.001Z] 6ca5941a6612: Pulling fs layer [2021-04-19T18:37:02.001Z] ecc8261a40a4: Pulling fs layer [2021-04-19T18:37:02.001Z] ecc8261a40a4: Waiting [2021-04-19T18:37:02.001Z] 2a8b12db71e7: Download complete [2021-04-19T18:37:02.001Z] 31603596830f: Download complete [2021-04-19T18:37:02.279Z] ecc8261a40a4: Verifying Checksum [2021-04-19T18:37:02.279Z] ecc8261a40a4: Download complete [2021-04-19T18:37:02.279Z] 6ca5941a6612: Verifying Checksum [2021-04-19T18:37:02.279Z] 6ca5941a6612: Download complete [2021-04-19T18:37:02.550Z] 31603596830f: Pull complete [2021-04-19T18:37:02.550Z] 2a8b12db71e7: Pull complete [2021-04-19T18:37:03.502Z] 6ca5941a6612: Pull complete [2021-04-19T18:37:03.502Z] ecc8261a40a4: Pull complete [2021-04-19T18:37:03.764Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-19T18:37:03.764Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T18:37:03.764Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-19T18:37:03.912Z] prd-centos7-docker-4c-2g-869 does not seem to be running inside a container [2021-04-19T18:37:03.966Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-341 -v /w/workspace/edgexfoundry_device-sdk-c_PR-341:/w/workspace/edgexfoundry_device-sdk-c_PR-341:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-341@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-341@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-19T18:37:06.023Z] $ docker top 2464ffdde48d9923d3940d200a27fe9bc1bcc0adfd8fc507d64ccfa6cb86a60a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-19T18:37:06.364Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-19T18:37:06.364Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-19T18:37:06.647Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-19T18:37:06.654Z] $ docker exec 2464ffdde48d9923d3940d200a27fe9bc1bcc0adfd8fc507d64ccfa6cb86a60a ssh-agent [2021-04-19T18:37:06.838Z] SSH_AUTH_SOCK=/tmp/ssh-iaDESqHXtANt/agent.12 [2021-04-19T18:37:06.838Z] SSH_AGENT_PID=17 [2021-04-19T18:37:06.850Z] Running ssh-add (command line suppressed) [2021-04-19T18:37:06.981Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-341@tmp/private_key_453089698576230469.key (/w/workspace/edgexfoundry_device-sdk-c_PR-341@tmp/private_key_453089698576230469.key) [2021-04-19T18:37:07.044Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-19T18:37:07.411Z] + git tag --points-at HEAD [Pipeline] } [2021-04-19T18:37:07.504Z] $ docker exec --env ******** --env ******** 2464ffdde48d9923d3940d200a27fe9bc1bcc0adfd8fc507d64ccfa6cb86a60a ssh-agent -k [2021-04-19T18:37:07.629Z] unset SSH_AUTH_SOCK; [2021-04-19T18:37:07.629Z] unset SSH_AGENT_PID; [2021-04-19T18:37:07.629Z] echo Agent pid 17 killed; [2021-04-19T18:37:07.677Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-19T18:37:07.770Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-19T18:37:07.770Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-19T18:37:07.987Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-19T18:37:07.996Z] $ docker exec 2464ffdde48d9923d3940d200a27fe9bc1bcc0adfd8fc507d64ccfa6cb86a60a ssh-agent [2021-04-19T18:37:08.233Z] SSH_AUTH_SOCK=/tmp/ssh-Hy75KxaGMJqr/agent.47 [2021-04-19T18:37:08.233Z] SSH_AGENT_PID=52 [2021-04-19T18:37:08.240Z] Running ssh-add (command line suppressed) [2021-04-19T18:37:08.391Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-341@tmp/private_key_4897104705473290888.key (/w/workspace/edgexfoundry_device-sdk-c_PR-341@tmp/private_key_4897104705473290888.key) [2021-04-19T18:37:08.440Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-19T18:37:09.350Z] + git semver init [2021-04-19T18:37:09.350Z] # -> Open(): unable to determine branch for HEAD [2021-04-19T18:37:09.350Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-341/.git [2021-04-19T18:37:09.350Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-341 [2021-04-19T18:37:09.350Z] # $SEMVER_REMOTE_NAME = origin [2021-04-19T18:37:09.350Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-19T18:37:09.350Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-19T18:37:09.350Z] # $SEMVER_BRANCH = PR-341 [2021-04-19T18:37:09.350Z] # $SEMVER_TEMP = /tmp/semver-426068743 [2021-04-19T18:37:09.350Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-04-19T18:37:09.940Z] # '/tmp/semver-426068743' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-341/.semver' [2021-04-19T18:37:09.940Z] # -> Force: false [2021-04-19T18:37:09.940Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-341/.semver [Pipeline] } [2021-04-19T18:37:09.969Z] $ docker exec --env ******** --env ******** 2464ffdde48d9923d3940d200a27fe9bc1bcc0adfd8fc507d64ccfa6cb86a60a ssh-agent -k [2021-04-19T18:37:10.120Z] unset SSH_AUTH_SOCK; [2021-04-19T18:37:10.122Z] unset SSH_AGENT_PID; [2021-04-19T18:37:10.122Z] echo Agent pid 52 killed; [2021-04-19T18:37:10.173Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-19T18:37:10.635Z] + git semver [Pipeline] } [2021-04-19T18:37:10.690Z] $ docker stop --time=1 2464ffdde48d9923d3940d200a27fe9bc1bcc0adfd8fc507d64ccfa6cb86a60a [2021-04-19T18:37:12.089Z] $ docker rm -f 2464ffdde48d9923d3940d200a27fe9bc1bcc0adfd8fc507d64ccfa6cb86a60a [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-19T18:37:12.584Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-19T18:37:12.963Z] Stashed 1 file(s) [Pipeline] echo [2021-04-19T18:37:12.984Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-04-19T18:37:28.340Z] Still waiting to schedule task [2021-04-19T18:37:28.340Z] ‘prd-centos7-blackbox-4c-2g-542’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-873’ is offline [2021-04-19T18:37:28.370Z] Still waiting to schedule task [2021-04-19T18:37:28.371Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-865’ [2021-04-19T18:40:36.602Z] Running on prd-centos7-docker-4c-2g-886 in /w/workspace/edgexfoundry_device-sdk-c_PR-341 [Pipeline] { [Pipeline] ws [2021-04-19T18:40:36.667Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2021-04-19T18:40:39.680Z] using credential edgex-jenkins-ssh [2021-04-19T18:40:39.693Z] Cloning the remote Git repository [2021-04-19T18:40:39.626Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-04-19T18:40:39.701Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2021-04-19T18:40:39.771Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-04-19T18:40:39.771Z] > git --version # timeout=10 [2021-04-19T18:40:39.806Z] > git --version # 'git version 2.24.3' [2021-04-19T18:40:39.807Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T18:40:39.873Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T18:40:41.182Z] Merging remotes/origin/master commit 3a634a1c00d95d9219bb951cd4c22fd9c49f79ac into PR head commit ffca8a7f173e4af129b56382ea7724f2eb516e06 [2021-04-19T18:40:40.610Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-04-19T18:40:40.620Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T18:40:40.658Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-04-19T18:40:40.678Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-04-19T18:40:40.678Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T18:40:40.686Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/341/head:refs/remotes/origin/PR-341 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-19T18:40:41.193Z] > git config core.sparsecheckout # timeout=10 [2021-04-19T18:40:41.199Z] > git checkout -f ffca8a7f173e4af129b56382ea7724f2eb516e06 # timeout=10 [2021-04-19T18:40:41.261Z] > git remote # timeout=10 [2021-04-19T18:40:41.267Z] > git config --get remote.origin.url # timeout=10 [2021-04-19T18:40:41.272Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T18:40:41.276Z] > git merge 3a634a1c00d95d9219bb951cd4c22fd9c49f79ac # timeout=10 [2021-04-19T18:40:41.289Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-19T18:40:41.294Z] Merge succeeded, producing ffca8a7f173e4af129b56382ea7724f2eb516e06 [2021-04-19T18:40:41.294Z] Checking out Revision ffca8a7f173e4af129b56382ea7724f2eb516e06 (PR-341) [2021-04-19T18:40:41.299Z] > git config core.sparsecheckout # timeout=10 [2021-04-19T18:40:41.305Z] > git checkout -f ffca8a7f173e4af129b56382ea7724f2eb516e06 # timeout=10 [2021-04-19T18:40:45.008Z] Commit message: "docs: Add badges to readme" [2021-04-19T18:40:45.045Z] > git --version # timeout=10 [2021-04-19T18:40:45.052Z] > git --version # 'git version 2.24.3' [2021-04-19T18:40:45.062Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T18:40:45.754Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-882 in /w/workspace/edgexfoundry_device-sdk-c_PR-341 [Pipeline] { [Pipeline] ws [2021-04-19T18:40:46.111Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2021-04-19T18:40:46.321Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-19T18:40:46.677Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-19T18:40:47.001Z] + sudo service docker restart [2021-04-19T18:40:47.001Z] + true [2021-04-19T18:40:47.001Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T18:40:48.082Z] provisioning config files... [2021-04-19T18:40:48.118Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config5604924834053549041tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:40:48.513Z] ---> docker-login.sh [2021-04-19T18:40:48.513Z] nexus3.edgexfoundry.org:10001 [2021-04-19T18:40:48.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:40:48.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:40:48.803Z] Configure a credential helper to remove this warning. See [2021-04-19T18:40:48.803Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:40:48.803Z] [2021-04-19T18:40:48.803Z] Login Succeeded [2021-04-19T18:40:48.803Z] nexus3.edgexfoundry.org:10002 [2021-04-19T18:40:49.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:40:49.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:40:49.075Z] Configure a credential helper to remove this warning. See [2021-04-19T18:40:49.075Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:40:49.075Z] [2021-04-19T18:40:49.075Z] Login Succeeded [2021-04-19T18:40:49.075Z] nexus3.edgexfoundry.org:10003 [2021-04-19T18:40:49.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:40:49.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:40:49.362Z] Configure a credential helper to remove this warning. See [2021-04-19T18:40:49.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:40:49.362Z] [2021-04-19T18:40:49.362Z] Login Succeeded [2021-04-19T18:40:49.362Z] nexus3.edgexfoundry.org:10004 [2021-04-19T18:40:49.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:40:49.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:40:49.644Z] Configure a credential helper to remove this warning. See [2021-04-19T18:40:49.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:40:49.644Z] [2021-04-19T18:40:49.644Z] Login Succeeded [2021-04-19T18:40:49.644Z] docker.io [2021-04-19T18:40:49.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:40:49.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:40:49.911Z] Configure a credential helper to remove this warning. See [2021-04-19T18:40:49.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:40:49.911Z] [2021-04-19T18:40:49.911Z] Login Succeeded [2021-04-19T18:40:49.911Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T18:40:49.935Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-19T18:40:50.265Z] ========================================================= [2021-04-19T18:40:50.265Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-04-19T18:40:50.265Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:40:50.619Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2021-04-19T18:40:50.620Z] Sending build context to Docker daemon 2.353MB [2021-04-19T18:40:50.620Z] Step 1/21 : ARG BASE=alpine:3.12 [2021-04-19T18:40:50.620Z] Step 2/21 : FROM ${BASE} as builder [2021-04-19T18:40:50.893Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-04-19T18:40:50.893Z] e7c96db7181b: Pulling fs layer [2021-04-19T18:40:50.893Z] 4c13bbce0fe7: Pulling fs layer [2021-04-19T18:40:50.893Z] 6059c847ac2f: Pulling fs layer [2021-04-19T18:40:50.893Z] 4c13bbce0fe7: Verifying Checksum [2021-04-19T18:40:50.893Z] 4c13bbce0fe7: Download complete [2021-04-19T18:40:50.893Z] e7c96db7181b: Verifying Checksum [2021-04-19T18:40:50.893Z] e7c96db7181b: Download complete [2021-04-19T18:40:51.160Z] e7c96db7181b: Pull complete [2021-04-19T18:40:51.434Z] 4c13bbce0fe7: Pull complete [2021-04-19T18:40:52.030Z] using credential edgex-jenkins-ssh [2021-04-19T18:40:52.048Z] Cloning the remote Git repository [2021-04-19T18:40:52.401Z] 6059c847ac2f: Verifying Checksum [2021-04-19T18:40:52.401Z] 6059c847ac2f: Download complete [2021-04-19T18:40:52.116Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-04-19T18:40:52.241Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2021-04-19T18:40:52.369Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-04-19T18:40:52.369Z] > git --version # timeout=10 [2021-04-19T18:40:52.414Z] > git --version # 'git version 2.17.1' [2021-04-19T18:40:52.417Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T18:40:52.524Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T18:40:53.769Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-04-19T18:40:53.788Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T18:40:53.818Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-04-19T18:40:53.867Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-04-19T18:40:53.868Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T18:40:54.429Z] Merging remotes/origin/master commit 3a634a1c00d95d9219bb951cd4c22fd9c49f79ac into PR head commit ffca8a7f173e4af129b56382ea7724f2eb516e06 [2021-04-19T18:40:54.683Z] Merge succeeded, producing ffca8a7f173e4af129b56382ea7724f2eb516e06 [2021-04-19T18:40:54.683Z] Checking out Revision ffca8a7f173e4af129b56382ea7724f2eb516e06 (PR-341) [2021-04-19T18:40:53.884Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/341/head:refs/remotes/origin/PR-341 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-19T18:40:54.461Z] > git config core.sparsecheckout # timeout=10 [2021-04-19T18:40:54.477Z] > git checkout -f ffca8a7f173e4af129b56382ea7724f2eb516e06 # timeout=10 [2021-04-19T18:40:54.599Z] > git remote # timeout=10 [2021-04-19T18:40:54.620Z] > git config --get remote.origin.url # timeout=10 [2021-04-19T18:40:54.638Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T18:40:54.650Z] > git merge 3a634a1c00d95d9219bb951cd4c22fd9c49f79ac # timeout=10 [2021-04-19T18:40:54.677Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-19T18:40:54.702Z] > git config core.sparsecheckout # timeout=10 [2021-04-19T18:40:54.721Z] > git checkout -f ffca8a7f173e4af129b56382ea7724f2eb516e06 # timeout=10 [2021-04-19T18:40:57.766Z] 6059c847ac2f: Pull complete [2021-04-19T18:40:57.766Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2021-04-19T18:40:57.766Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-04-19T18:40:57.766Z] ---> 5eabd8fd8ba2 [2021-04-19T18:40:57.766Z] Step 3/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev [2021-04-19T18:40:59.298Z] Commit message: "docs: Add badges to readme" [2021-04-19T18:40:59.325Z] ---> Running in dafa3754d405 [2021-04-19T18:40:59.382Z] > git --version # timeout=10 [2021-04-19T18:40:59.392Z] > git --version # 'git version 2.17.1' [2021-04-19T18:40:59.409Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2021-04-19T18:40:59.920Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T18:41:00.948Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-04-19T18:41:01.133Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [2021-04-19T18:41:01.219Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2021-04-19T18:41:01.219Z] (2/8) Installing libuuid (2.33-r0) [Pipeline] sh [2021-04-19T18:41:01.513Z] (3/8) Installing libblkid (2.33-r0) [2021-04-19T18:41:01.513Z] (4/8) Installing libfdisk (2.33-r0) [2021-04-19T18:41:01.513Z] (5/8) Installing libmount (2.33-r0) [2021-04-19T18:41:01.648Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-19T18:41:02.054Z] + sudo service docker restart+ [2021-04-19T18:41:02.054Z] true [2021-04-19T18:41:02.128Z] (6/8) Installing libsmartcols (2.33-r0) [2021-04-19T18:41:02.128Z] (7/8) Installing util-linux-dev (2.33-r0) [2021-04-19T18:41:02.394Z] (8/8) Installing wget (1.20.3-r0) [2021-04-19T18:41:02.658Z] Executing busybox-1.29.3-r10.trigger [2021-04-19T18:41:02.658Z] OK: 272 MiB in 83 packages [2021-04-19T18:41:03.643Z] Removing intermediate container dafa3754d405 [2021-04-19T18:41:03.643Z] ---> 88529c9fbb1f [2021-04-19T18:41:03.643Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2021-04-19T18:41:03.643Z] ---> Running in c9904e1ab75e [2021-04-19T18:41:03.643Z] Removing intermediate container c9904e1ab75e [2021-04-19T18:41:03.643Z] ---> fbcad2ee66b2 [2021-04-19T18:41:03.643Z] Step 5/21 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2021-04-19T18:41:03.643Z] ---> Running in dd5cf153cf88 [2021-04-19T18:41:04.224Z] --2021-04-19 18:41:04-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-04-19T18:41:04.224Z] Resolving github.com... 140.82.112.3 [2021-04-19T18:41:04.224Z] Connecting to github.com|140.82.112.3|:443... connected. [2021-04-19T18:41:04.490Z] HTTP request sent, awaiting response... 302 Found [2021-04-19T18:41:04.490Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-04-19T18:41:04.490Z] --2021-04-19 18:41:04-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-04-19T18:41:04.490Z] Resolving codeload.github.com... 140.82.114.9 [2021-04-19T18:41:04.490Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-04-19T18:41:04.490Z] HTTP request sent, awaiting response... 200 OK [2021-04-19T18:41:04.490Z] Length: unspecified [application/x-gzip] [2021-04-19T18:41:04.490Z] Saving to: 'STDOUT' [2021-04-19T18:41:04.490Z] [2021-04-19T18:41:04.490Z] 0K .......... .......... .......... .......... .......... 1.21M [2021-04-19T18:41:04.762Z] 50K .......... .......... .......... .......... .......... 2.51M [2021-04-19T18:41:04.762Z] 100K .......... .......... .......... .......... .......... 29.3M [2021-04-19T18:41:04.762Z] 150K .......... .......... .......... .......... .......... 2.41M [2021-04-19T18:41:04.762Z] 200K .......... .......... .......... .......... .......... 45.9M [2021-04-19T18:41:04.762Z] 250K .......... .......... .......... .......... .......... 2.74M [2021-04-19T18:41:04.762Z] 300K .......... .......... .......... .......... .......... 29.7M [2021-04-19T18:41:04.762Z] 350K .......... .......... .......... .......... .......... 14.5M [2021-04-19T18:41:04.762Z] 400K .......... .......... .......... .......... .......... 3.99M [2021-04-19T18:41:04.762Z] 450K .......... .......... .......... .......... .......... 34.5M [2021-04-19T18:41:04.762Z] 500K .......... .......... .......... .......... .......... 8.20M [2021-04-19T18:41:04.762Z] 550K .......... .......... .......... .......... .......... 3.22M [2021-04-19T18:41:04.762Z] 600K .......... .......... .......... .......... .......... 1.82M [2021-04-19T18:41:04.762Z] 650K .......... .......... .......... .......... .......... 4.51M [2021-04-19T18:41:04.762Z] 700K .. 44.9M=0.2s [2021-04-19T18:41:04.762Z] [2021-04-19T18:41:04.762Z] 2021-04-19 18:41:04 (3.85 MB/s) - written to stdout [719348] [2021-04-19T18:41:04.762Z] [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T18:41:04.867Z] provisioning config files... [2021-04-19T18:41:04.913Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config8873562360803031525tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:41:05.025Z] -- The C compiler identification is GNU 8.3.0 [2021-04-19T18:41:05.025Z] -- The CXX compiler identification is GNU 8.3.0 [2021-04-19T18:41:05.025Z] -- Check for working C compiler: /usr/bin/cc [2021-04-19T18:41:05.025Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-04-19T18:41:05.025Z] -- Detecting C compiler ABI info [2021-04-19T18:41:05.290Z] -- Detecting C compiler ABI info - done [2021-04-19T18:41:05.290Z] -- Detecting C compile features [2021-04-19T18:41:05.365Z] ---> docker-login.sh [2021-04-19T18:41:05.365Z] nexus3.edgexfoundry.org:10001 [2021-04-19T18:41:05.556Z] -- Detecting C compile features - done [2021-04-19T18:41:05.556Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-04-19T18:41:05.556Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-04-19T18:41:05.556Z] -- Detecting CXX compiler ABI info [2021-04-19T18:41:05.556Z] -- Detecting CXX compiler ABI info - done [2021-04-19T18:41:05.556Z] -- Detecting CXX compile features [2021-04-19T18:41:06.144Z] -- Detecting CXX compile features - done [2021-04-19T18:41:06.144Z] -- Looking for include file endian.h [2021-04-19T18:41:06.144Z] -- Looking for include file endian.h - found [2021-04-19T18:41:06.144Z] -- Check if the system is big endian [2021-04-19T18:41:06.144Z] -- Searching 16 bit integer [2021-04-19T18:41:06.144Z] -- Looking for sys/types.h [2021-04-19T18:41:06.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:41:06.416Z] -- Looking for sys/types.h - found [2021-04-19T18:41:06.416Z] -- Looking for stdint.h [2021-04-19T18:41:06.416Z] -- Looking for stdint.h - found [2021-04-19T18:41:06.416Z] -- Looking for stddef.h [2021-04-19T18:41:06.416Z] -- Looking for stddef.h - found [2021-04-19T18:41:06.416Z] -- Check size of unsigned short [2021-04-19T18:41:06.416Z] -- Check size of unsigned short - done [2021-04-19T18:41:06.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:41:06.652Z] Configure a credential helper to remove this warning. See [2021-04-19T18:41:06.652Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:41:06.652Z] [2021-04-19T18:41:06.652Z] Login Succeeded [2021-04-19T18:41:06.652Z] nexus3.edgexfoundry.org:10002 [2021-04-19T18:41:06.686Z] -- Using unsigned short [2021-04-19T18:41:06.686Z] -- Check if the system is big endian - little endian [2021-04-19T18:41:06.686Z] -- Check size of size_t [2021-04-19T18:41:06.686Z] -- Check size of size_t - done [2021-04-19T18:41:06.686Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-04-19T18:41:06.686Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-04-19T18:41:06.686Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-04-19T18:41:06.686Z] CMake did not find one. [2021-04-19T18:41:06.686Z] [2021-04-19T18:41:06.686Z] Could not find a package configuration file provided by "cJSON" with any of [2021-04-19T18:41:06.686Z] the following names: [2021-04-19T18:41:06.686Z] [2021-04-19T18:41:06.686Z] cJSONConfig.cmake [2021-04-19T18:41:06.686Z] cjson-config.cmake [2021-04-19T18:41:06.686Z] [2021-04-19T18:41:06.686Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-04-19T18:41:06.686Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-04-19T18:41:06.686Z] provides a separate development package or SDK, be sure it has been [2021-04-19T18:41:06.686Z] installed. [2021-04-19T18:41:06.686Z] [2021-04-19T18:41:06.686Z] [2021-04-19T18:41:06.686Z] -- Configuring done [2021-04-19T18:41:06.953Z] -- Generating done [2021-04-19T18:41:06.953Z] -- Build files have been written to: /tmp/cbor [2021-04-19T18:41:06.953Z] Scanning dependencies of target cbor_shared [2021-04-19T18:41:06.953Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-04-19T18:41:07.226Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-04-19T18:41:07.226Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-04-19T18:41:07.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:41:07.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:41:07.256Z] Configure a credential helper to remove this warning. See [2021-04-19T18:41:07.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:41:07.256Z] [2021-04-19T18:41:07.256Z] Login Succeeded [2021-04-19T18:41:07.256Z] nexus3.edgexfoundry.org:10003 [2021-04-19T18:41:07.498Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-04-19T18:41:07.498Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-04-19T18:41:07.769Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-04-19T18:41:07.769Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-04-19T18:41:07.769Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-04-19T18:41:07.769Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-04-19T18:41:07.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:41:07.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:41:07.856Z] Configure a credential helper to remove this warning. See [2021-04-19T18:41:07.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:41:07.856Z] [2021-04-19T18:41:07.856Z] Login Succeeded [2021-04-19T18:41:07.856Z] nexus3.edgexfoundry.org:10004 [2021-04-19T18:41:08.034Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-04-19T18:41:08.034Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-04-19T18:41:08.034Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-04-19T18:41:08.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:41:08.296Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-04-19T18:41:08.296Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-04-19T18:41:08.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:41:08.403Z] Configure a credential helper to remove this warning. See [2021-04-19T18:41:08.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:41:08.403Z] [2021-04-19T18:41:08.403Z] Login Succeeded [2021-04-19T18:41:08.403Z] docker.io [2021-04-19T18:41:08.563Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-04-19T18:41:08.563Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-04-19T18:41:08.563Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-04-19T18:41:08.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:41:08.828Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-04-19T18:41:08.828Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-04-19T18:41:08.828Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-04-19T18:41:08.828Z] [ 40%] Linking C shared library libcbor.so [2021-04-19T18:41:08.828Z] [ 40%] Built target cbor_shared [2021-04-19T18:41:08.828Z] Scanning dependencies of target cbor [2021-04-19T18:41:08.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:41:08.952Z] Configure a credential helper to remove this warning. See [2021-04-19T18:41:08.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:41:08.952Z] [2021-04-19T18:41:08.952Z] Login Succeeded [2021-04-19T18:41:08.952Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T18:41:08.988Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [2021-04-19T18:41:09.090Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-04-19T18:41:09.090Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [Pipeline] unstash [2021-04-19T18:41:09.353Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-04-19T18:41:09.353Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [Pipeline] echo [2021-04-19T18:41:09.414Z] ========================================================= [2021-04-19T18:41:09.414Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-04-19T18:41:09.414Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:41:09.617Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-04-19T18:41:09.801Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2021-04-19T18:41:09.879Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-04-19T18:41:09.879Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-04-19T18:41:09.879Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-04-19T18:41:09.879Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-04-19T18:41:10.085Z] Sending build context to Docker daemon 2.352MB [2021-04-19T18:41:10.085Z] Step 1/21 : ARG BASE=alpine:3.12 [2021-04-19T18:41:10.085Z] Step 2/21 : FROM ${BASE} as builder [2021-04-19T18:41:10.144Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-04-19T18:41:10.144Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-04-19T18:41:10.368Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-04-19T18:41:10.368Z] 0362ad1dd800: Pulling fs layer [2021-04-19T18:41:10.368Z] f2cdb1532d8b: Pulling fs layer [2021-04-19T18:41:10.368Z] 37ed683be191: Pulling fs layer [2021-04-19T18:41:10.368Z] f2cdb1532d8b: Verifying Checksum [2021-04-19T18:41:10.368Z] f2cdb1532d8b: Download complete [2021-04-19T18:41:10.368Z] 0362ad1dd800: Download complete [2021-04-19T18:41:10.410Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-04-19T18:41:10.410Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-04-19T18:41:10.674Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-04-19T18:41:10.674Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-04-19T18:41:10.674Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-04-19T18:41:10.674Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-04-19T18:41:10.937Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-04-19T18:41:10.937Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-04-19T18:41:10.937Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-04-19T18:41:10.977Z] 0362ad1dd800: Pull complete [2021-04-19T18:41:11.206Z] [ 80%] Linking C static library libcbor.a [2021-04-19T18:41:11.206Z] [ 80%] Built target cbor [2021-04-19T18:41:11.206Z] Scanning dependencies of target create_items [2021-04-19T18:41:11.206Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-04-19T18:41:11.206Z] [ 84%] Linking C executable create_items [2021-04-19T18:41:11.206Z] [ 84%] Built target create_items [2021-04-19T18:41:11.206Z] Scanning dependencies of target readfile [2021-04-19T18:41:11.206Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-04-19T18:41:11.471Z] [ 88%] Linking C executable readfile [2021-04-19T18:41:11.471Z] [ 88%] Built target readfile [2021-04-19T18:41:11.471Z] Scanning dependencies of target streaming_parser [2021-04-19T18:41:11.471Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-04-19T18:41:11.471Z] [ 92%] Linking C executable streaming_parser [2021-04-19T18:41:11.471Z] [ 92%] Built target streaming_parser [2021-04-19T18:41:11.471Z] Scanning dependencies of target sort [2021-04-19T18:41:11.471Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-04-19T18:41:11.471Z] [ 96%] Linking C executable sort [2021-04-19T18:41:11.578Z] f2cdb1532d8b: Pull complete [2021-04-19T18:41:11.735Z] [ 96%] Built target sort [2021-04-19T18:41:11.735Z] Scanning dependencies of target hello [2021-04-19T18:41:11.735Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-04-19T18:41:11.735Z] [100%] Linking C executable hello [2021-04-19T18:41:11.735Z] [100%] Built target hello [2021-04-19T18:41:11.735Z] Install the project... [2021-04-19T18:41:11.735Z] -- Install configuration: "Release" [2021-04-19T18:41:11.735Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-04-19T18:41:11.735Z] -- Installing: /usr/local/lib64/libcbor.a [2021-04-19T18:41:11.735Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-04-19T18:41:11.735Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-04-19T18:41:11.735Z] -- Installing: /usr/local/lib64/libcbor.so [2021-04-19T18:41:11.735Z] -- Up-to-date: /usr/local/include/cbor [2021-04-19T18:41:11.735Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-04-19T18:41:11.735Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-04-19T18:41:11.735Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-04-19T18:41:11.735Z] -- Installing: /usr/local/include/cbor/common.h [2021-04-19T18:41:11.735Z] -- Installing: /usr/local/include/cbor/data.h [2021-04-19T18:41:11.735Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-04-19T18:41:11.735Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-04-19T18:41:11.735Z] -- Installing: /usr/local/include/cbor/internal [2021-04-19T18:41:11.735Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-04-19T18:41:11.735Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-04-19T18:41:11.735Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-04-19T18:41:11.735Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-04-19T18:41:11.735Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-04-19T18:41:11.735Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-04-19T18:41:11.735Z] -- Installing: /usr/local/include/cbor/ints.h [2021-04-19T18:41:11.735Z] -- Installing: /usr/local/include/cbor/maps.h [2021-04-19T18:41:11.735Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-04-19T18:41:11.735Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-04-19T18:41:11.735Z] -- Installing: /usr/local/include/cbor/strings.h [2021-04-19T18:41:11.735Z] -- Installing: /usr/local/include/cbor/tags.h [2021-04-19T18:41:11.735Z] -- Installing: /usr/local/include/cbor.h [2021-04-19T18:41:11.735Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-04-19T18:41:12.574Z] 37ed683be191: Verifying Checksum [2021-04-19T18:41:12.574Z] 37ed683be191: Download complete [2021-04-19T18:41:13.740Z] Removing intermediate container dd5cf153cf88 [2021-04-19T18:41:13.740Z] ---> 715610e0db2f [2021-04-19T18:41:13.740Z] Step 6/21 : RUN mkdir /tmp/sdk [2021-04-19T18:41:13.740Z] ---> Running in b81a04e8abc4 [2021-04-19T18:41:15.152Z] Removing intermediate container b81a04e8abc4 [2021-04-19T18:41:15.152Z] ---> e095e5a24bdf [2021-04-19T18:41:15.152Z] Step 7/21 : COPY VERSION /tmp/sdk [2021-04-19T18:41:15.152Z] ---> eb082f6ef48e [2021-04-19T18:41:15.152Z] Step 8/21 : COPY src /tmp/sdk/src [2021-04-19T18:41:16.104Z] ---> 866c6129a4da [2021-04-19T18:41:16.104Z] Step 9/21 : COPY include /tmp/sdk/include [2021-04-19T18:41:16.370Z] ---> 78e177ac636a [2021-04-19T18:41:16.370Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2021-04-19T18:41:16.636Z] ---> 65e39ecfeed6 [2021-04-19T18:41:16.636Z] Step 11/21 : COPY LICENSE /tmp/sdk [2021-04-19T18:41:16.906Z] ---> c963a5535966 [2021-04-19T18:41:16.906Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2021-04-19T18:41:16.906Z] ---> 75f494a22221 [2021-04-19T18:41:16.906Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-04-19T18:41:17.171Z] ---> Running in 7d6bfabbcacb [2021-04-19T18:41:17.759Z] + CPPCHECK=false [2021-04-19T18:41:17.759Z] + DOCGEN=false [2021-04-19T18:41:17.759Z] + TOMLVER=SDK-0.2 [2021-04-19T18:41:17.759Z] + CUTILVER=1.1.4 [2021-04-19T18:41:17.759Z] + '[' 0 -gt 0 ] [2021-04-19T18:41:17.759Z] + readlink -f ./scripts/build.sh [2021-04-19T18:41:17.759Z] + dirname /tmp/sdk/scripts/build.sh [2021-04-19T18:41:17.759Z] + dirname /tmp/sdk/scripts [2021-04-19T18:41:17.759Z] + ROOT=/tmp/sdk [2021-04-19T18:41:17.759Z] + cd /tmp/sdk [2021-04-19T18:41:17.759Z] + '[' '!' -d deps ] [2021-04-19T18:41:17.759Z] + mkdir deps [2021-04-19T18:41:17.759Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-04-19T18:41:17.759Z] + tar -C deps -z -x -f - [2021-04-19T18:41:17.759Z] --2021-04-19 18:41:17-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-04-19T18:41:17.759Z] Resolving github.com... 140.82.113.4 [2021-04-19T18:41:17.759Z] Connecting to github.com|140.82.113.4|:443... connected. [2021-04-19T18:41:17.759Z] HTTP request sent, awaiting response... 302 Found [2021-04-19T18:41:17.759Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-04-19T18:41:17.759Z] --2021-04-19 18:41:17-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-04-19T18:41:17.759Z] Resolving codeload.github.com... 140.82.114.9 [2021-04-19T18:41:17.759Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-04-19T18:41:17.759Z] HTTP request sent, awaiting response... 200 OK [2021-04-19T18:41:17.759Z] Length: 16451 (16K) [application/x-gzip] [2021-04-19T18:41:17.759Z] Saving to: 'STDOUT' [2021-04-19T18:41:17.759Z] [2021-04-19T18:41:17.759Z] 0K .......... ......  100% 891K=0.02s [2021-04-19T18:41:17.759Z] [2021-04-19T18:41:17.759Z] 2021-04-19 18:41:17 (891 KB/s) - written to stdout [16451/16451] [2021-04-19T18:41:17.759Z] [2021-04-19T18:41:17.759Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-04-19T18:41:17.759Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-04-19T18:41:17.759Z] + tar -C deps -z -x -f - [2021-04-19T18:41:17.759Z] --2021-04-19 18:41:17-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-04-19T18:41:17.759Z] Resolving github.com... 140.82.113.4 [2021-04-19T18:41:17.759Z] Connecting to github.com|140.82.113.4|:443... connected. [2021-04-19T18:41:18.026Z] HTTP request sent, awaiting response... 302 Found [2021-04-19T18:41:18.026Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-04-19T18:41:18.026Z] --2021-04-19 18:41:17-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-04-19T18:41:18.026Z] Resolving codeload.github.com... 140.82.114.9 [2021-04-19T18:41:18.026Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-04-19T18:41:18.026Z] HTTP request sent, awaiting response... 200 OK [2021-04-19T18:41:18.026Z] Length: 181796 (178K) [application/x-gzip] [2021-04-19T18:41:18.026Z] Saving to: 'STDOUT' [2021-04-19T18:41:18.026Z] [2021-04-19T18:41:18.026Z] 0K .......... .......... .......... .......... .......... 28% 1.31M 0s [2021-04-19T18:41:18.026Z] 50K .......... .......... .......... .......... .......... 56% 2.82M 0s [2021-04-19T18:41:18.026Z] 100K .......... .......... .......... .......... .......... 84% 10.5M 0s [2021-04-19T18:41:18.026Z] 150K .......... .......... ....... 100% 2.50M=0.07s [2021-04-19T18:41:18.026Z] [2021-04-19T18:41:18.026Z] 2021-04-19 18:41:17 (2.48 MB/s) - written to stdout [181796/181796] [2021-04-19T18:41:18.026Z] [2021-04-19T18:41:18.026Z] + mkdir -p src/c/iot [2021-04-19T18:41:18.026Z] + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot [2021-04-19T18:41:18.026Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-04-19T18:41:18.026Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-04-19T18:41:18.027Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-04-19T18:41:18.027Z] + mkdir -p include/iot [2021-04-19T18:41:18.027Z] + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot [2021-04-19T18:41:18.027Z] + mkdir -p include/iot/os [2021-04-19T18:41:18.027Z] + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os [2021-04-19T18:41:18.027Z] + mkdir -p /tmp/sdk/build/release [2021-04-19T18:41:18.027Z] + cd /tmp/sdk/build/release [2021-04-19T18:41:18.027Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-04-19T18:41:18.294Z] -- The C compiler identification is GNU 8.3.0 [2021-04-19T18:41:18.294Z] -- Check for working C compiler: /usr/bin/cc [2021-04-19T18:41:18.294Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-04-19T18:41:18.294Z] -- Detecting C compiler ABI info [2021-04-19T18:41:18.557Z] -- Detecting C compiler ABI info - done [2021-04-19T18:41:18.557Z] -- Detecting C compile features [2021-04-19T18:41:18.823Z] -- Detecting C compile features - done [2021-04-19T18:41:18.823Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-04-19T18:41:18.823Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-04-19T18:41:18.823Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-04-19T18:41:18.823Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-04-19T18:41:18.823Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-04-19T18:41:18.823Z] -- C SDK 0.0.0 for Linux [2021-04-19T18:41:18.823Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-04-19T18:41:18.823Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-04-19T18:41:18.823Z] -- Found Curses: /usr/lib/libcurses.so [2021-04-19T18:41:18.823Z] -- Configuring done [2021-04-19T18:41:19.084Z] -- Generating done [2021-04-19T18:41:19.084Z] -- Build files have been written to: /tmp/sdk/build/release [2021-04-19T18:41:19.084Z] + make [2021-04-19T18:41:19.084Z] + tee release.log [2021-04-19T18:41:19.084Z] Scanning dependencies of target csdk [2021-04-19T18:41:19.084Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-04-19T18:41:19.348Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-04-19T18:41:19.348Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-04-19T18:41:19.926Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-04-19T18:41:19.926Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-04-19T18:41:20.189Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-04-19T18:41:20.463Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-04-19T18:41:20.727Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-04-19T18:41:20.991Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-04-19T18:41:20.992Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-04-19T18:41:21.257Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-04-19T18:41:21.257Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-04-19T18:41:21.306Z] 37ed683be191: Pull complete [2021-04-19T18:41:21.306Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2021-04-19T18:41:21.306Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-04-19T18:41:21.306Z] ---> b23d30803547 [2021-04-19T18:41:21.306Z] Step 3/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev [2021-04-19T18:41:21.519Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-04-19T18:41:21.519Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-04-19T18:41:22.097Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-04-19T18:41:22.308Z] ---> Running in b29e533a1904 [2021-04-19T18:41:22.367Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-04-19T18:41:22.367Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-04-19T18:41:22.631Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-04-19T18:41:22.631Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-04-19T18:41:23.578Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-04-19T18:41:23.578Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-04-19T18:41:23.578Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-04-19T18:41:23.578Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-04-19T18:41:23.738Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-04-19T18:41:23.843Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-04-19T18:41:23.843Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-04-19T18:41:24.107Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-04-19T18:41:24.107Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-04-19T18:41:24.375Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-04-19T18:41:24.375Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-04-19T18:41:24.716Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-04-19T18:41:24.953Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-04-19T18:41:25.219Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-04-19T18:41:25.219Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-04-19T18:41:25.305Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2021-04-19T18:41:25.306Z] (2/8) Installing libuuid (2.33-r0) [2021-04-19T18:41:25.306Z] (3/8) Installing libblkid (2.33-r0) [2021-04-19T18:41:25.489Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-04-19T18:41:25.577Z] (4/8) Installing libfdisk (2.33-r0) [2021-04-19T18:41:25.852Z] (5/8) Installing libmount (2.33-r0) [2021-04-19T18:41:25.852Z] (6/8) Installing libsmartcols (2.33-r0) [2021-04-19T18:41:26.128Z] (7/8) Installing util-linux-dev (2.33-r0) [2021-04-19T18:41:26.440Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-04-19T18:41:26.703Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-04-19T18:41:26.703Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-04-19T18:41:26.965Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-04-19T18:41:27.112Z] (8/8) Installing wget (1.20.3-r0) [2021-04-19T18:41:27.227Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-04-19T18:41:27.405Z] Executing busybox-1.29.3-r10.trigger [2021-04-19T18:41:27.405Z] OK: 285 MiB in 83 packages [2021-04-19T18:41:27.491Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-04-19T18:41:28.074Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-04-19T18:41:29.022Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-04-19T18:41:29.022Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-04-19T18:41:29.286Z] [ 72%] Linking C shared library libcsdk.so [2021-04-19T18:41:29.286Z] [ 72%] Built target csdk [2021-04-19T18:41:29.286Z] Scanning dependencies of target template [2021-04-19T18:41:29.286Z] [ 74%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-04-19T18:41:29.388Z] Removing intermediate container b29e533a1904 [2021-04-19T18:41:29.388Z] ---> 306e1aca3927 [2021-04-19T18:41:29.388Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2021-04-19T18:41:29.388Z] ---> Running in eb7ddc709fa1 [2021-04-19T18:41:29.547Z] [ 76%] Linking C executable template [2021-04-19T18:41:29.547Z] [ 76%] Built target template [2021-04-19T18:41:29.547Z] Scanning dependencies of target device-counter [2021-04-19T18:41:29.547Z] [ 77%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-04-19T18:41:29.671Z] Removing intermediate container eb7ddc709fa1 [2021-04-19T18:41:29.671Z] ---> 8ab4d54116fe [2021-04-19T18:41:29.671Z] Step 5/21 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2021-04-19T18:41:29.671Z] ---> Running in 6696e9d7c269 [2021-04-19T18:41:29.809Z] [ 79%] Linking C executable device-counter [2021-04-19T18:41:29.809Z] [ 79%] Built target device-counter [2021-04-19T18:41:29.809Z] Scanning dependencies of target device-random [2021-04-19T18:41:29.809Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-04-19T18:41:30.071Z] [ 83%] Linking C executable device-random [2021-04-19T18:41:30.071Z] [ 83%] Built target device-random [2021-04-19T18:41:30.071Z] Scanning dependencies of target device-gyro [2021-04-19T18:41:30.071Z] [ 84%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-04-19T18:41:30.071Z] [ 86%] Linking C executable device-gyro [2021-04-19T18:41:30.332Z] [ 86%] Built target device-gyro [2021-04-19T18:41:30.332Z] Scanning dependencies of target device-bitfields [2021-04-19T18:41:30.332Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-04-19T18:41:30.332Z] [ 89%] Linking C executable device-bitfields [2021-04-19T18:41:30.332Z] [ 89%] Built target device-bitfields [2021-04-19T18:41:30.596Z] Scanning dependencies of target template-discovery [2021-04-19T18:41:30.596Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-04-19T18:41:30.596Z] [ 93%] Linking C executable template-discovery [2021-04-19T18:41:30.860Z] [ 93%] Built target template-discovery [2021-04-19T18:41:30.860Z] Scanning dependencies of target device-file [2021-04-19T18:41:31.142Z] --2021-04-19 18:41:30-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-04-19T18:41:31.142Z] Resolving github.com... 140.82.113.4 [2021-04-19T18:41:31.142Z] Connecting to github.com|140.82.113.4|:443... connected. [2021-04-19T18:41:31.142Z] HTTP request sent, awaiting response... 302 Found [2021-04-19T18:41:31.142Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-04-19T18:41:31.142Z] --2021-04-19 18:41:30-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-04-19T18:41:31.142Z] Resolving codeload.github.com... 140.82.114.9 [2021-04-19T18:41:31.142Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-04-19T18:41:31.142Z] HTTP request sent, awaiting response... 200 OK [2021-04-19T18:41:31.142Z] Length: unspecified [application/x-gzip] [2021-04-19T18:41:31.142Z] Saving to: 'STDOUT' [2021-04-19T18:41:31.142Z]  [2021-04-19T18:41:31.142Z] 0K .......... .......... .......... .......... .......... 1.23M [2021-04-19T18:41:31.142Z] 50K .......... .......... .......... .......... .......... 2.49M [2021-04-19T18:41:31.142Z] 100K .......... .......... .......... .......... .......... 12.0M [2021-04-19T18:41:31.142Z] 150K .......... .......... .......... .......... .......... 2.92M [2021-04-19T18:41:31.142Z] 200K .......... .......... .......... .......... .......... 9.66M [2021-04-19T18:41:31.142Z] 250K .......... .......... .......... .......... .......... 4.99M [2021-04-19T18:41:31.149Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-04-19T18:41:31.149Z] [ 96%] Linking C executable device-file [2021-04-19T18:41:31.149Z] [ 96%] Built target device-file [2021-04-19T18:41:31.149Z] Scanning dependencies of target device-terminal [2021-04-19T18:41:31.149Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-04-19T18:41:31.411Z] [100%] Linking C executable device-terminal [2021-04-19T18:41:31.411Z] [100%] Built target device-terminal [2021-04-19T18:41:31.411Z] + make package [2021-04-19T18:41:31.411Z] + tee -a release.log [2021-04-19T18:41:31.418Z] 300K .......... .......... .......... .......... .......... 3.46M [2021-04-19T18:41:31.418Z] 350K .......... .......... .......... .......... .......... 5.86M [2021-04-19T18:41:31.418Z] 400K .......... .......... .......... .......... .......... 3.66M [2021-04-19T18:41:31.418Z] 450K .......... .......... .......... .......... .......... 4.11M [2021-04-19T18:41:31.418Z] 500K .......... .......... .......... .......... .......... 7.75M [2021-04-19T18:41:31.418Z] 550K .......... .......... .......... .......... .......... 2.43M [2021-04-19T18:41:31.418Z] 600K .......... .......... .......... .......... .......... 823K [2021-04-19T18:41:31.418Z] 650K .......... .......... .......... .......... .......... 2.15M [2021-04-19T18:41:31.418Z] 700K ..     558K=0.3s [2021-04-19T18:41:31.418Z] [2021-04-19T18:41:31.418Z] 2021-04-19 18:41:31 (2.67 MB/s) - written to stdout [719348] [2021-04-19T18:41:31.418Z] [2021-04-19T18:41:31.672Z] [ 72%] Built target csdk [2021-04-19T18:41:31.672Z] [ 76%] Built target template [2021-04-19T18:41:31.672Z] [ 79%] Built target device-counter [2021-04-19T18:41:31.672Z] [ 83%] Built target device-random [2021-04-19T18:41:31.672Z] [ 86%] Built target device-gyro [2021-04-19T18:41:31.672Z] [ 89%] Built target device-bitfields [2021-04-19T18:41:31.672Z] [ 93%] Built target template-discovery [2021-04-19T18:41:31.672Z] [ 96%] Built target device-file [2021-04-19T18:41:31.672Z] [100%] Built target device-terminal [2021-04-19T18:41:31.672Z] Run CPack packaging tool... [2021-04-19T18:41:31.672Z] CPack: Create package using TGZ [2021-04-19T18:41:31.672Z] CPack: Install projects [2021-04-19T18:41:31.672Z] CPack: - Run preinstall target for: Csdk [2021-04-19T18:41:31.692Z] -- The C compiler identification is GNU 8.3.0 [2021-04-19T18:41:31.933Z] CPack: - Install project: Csdk [2021-04-19T18:41:31.934Z] CPack: Create package [2021-04-19T18:41:31.934Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-04-19T18:41:31.934Z] + '[' false '=' true ] [2021-04-19T18:41:31.934Z] + '[' false '=' true ] [2021-04-19T18:41:31.934Z] + mkdir -p /tmp/sdk/build/debug [2021-04-19T18:41:31.934Z] + cd /tmp/sdk/build/debug [2021-04-19T18:41:31.934Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-04-19T18:41:31.968Z] -- The CXX compiler identification is GNU 8.3.0 [2021-04-19T18:41:31.968Z] -- Check for working C compiler: /usr/bin/cc [2021-04-19T18:41:32.196Z] -- The C compiler identification is GNU 8.3.0 [2021-04-19T18:41:32.196Z] -- Check for working C compiler: /usr/bin/cc [2021-04-19T18:41:32.196Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-04-19T18:41:32.196Z] -- Detecting C compiler ABI info [2021-04-19T18:41:32.196Z] -- Detecting C compiler ABI info - done [2021-04-19T18:41:32.196Z] -- Detecting C compile features [2021-04-19T18:41:32.240Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-04-19T18:41:32.240Z] -- Detecting C compiler ABI info [2021-04-19T18:41:32.458Z] -- Detecting C compile features - done [2021-04-19T18:41:32.458Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-04-19T18:41:32.458Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-04-19T18:41:32.458Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-04-19T18:41:32.458Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-04-19T18:41:32.458Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-04-19T18:41:32.458Z] -- C SDK 0.0.0 for Linux [2021-04-19T18:41:32.458Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-04-19T18:41:32.521Z] -- Detecting C compiler ABI info - done [2021-04-19T18:41:32.521Z] -- Detecting C compile features [2021-04-19T18:41:32.720Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-04-19T18:41:32.720Z] -- Found Curses: /usr/lib/libcurses.so [2021-04-19T18:41:32.720Z] -- Configuring done [2021-04-19T18:41:32.720Z] -- Generating done [2021-04-19T18:41:32.720Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-04-19T18:41:32.720Z] + make [2021-04-19T18:41:32.720Z] + tee debug.log [2021-04-19T18:41:32.720Z] Scanning dependencies of target csdk [2021-04-19T18:41:32.720Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-04-19T18:41:32.989Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-04-19T18:41:32.989Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-04-19T18:41:33.250Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-04-19T18:41:33.250Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-04-19T18:41:33.250Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-04-19T18:41:33.512Z] -- Detecting C compile features - done [2021-04-19T18:41:33.512Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-04-19T18:41:33.524Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-04-19T18:41:33.524Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-04-19T18:41:33.789Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-04-19T18:41:33.789Z] -- Detecting CXX compiler ABI info [2021-04-19T18:41:33.805Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-04-19T18:41:33.806Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-04-19T18:41:33.806Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-04-19T18:41:34.067Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-04-19T18:41:34.067Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-04-19T18:41:34.067Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-04-19T18:41:34.067Z] -- Detecting CXX compiler ABI info - done [2021-04-19T18:41:34.068Z] -- Detecting CXX compile features [2021-04-19T18:41:34.329Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-04-19T18:41:34.329Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-04-19T18:41:34.329Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-04-19T18:41:34.591Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-04-19T18:41:34.591Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-04-19T18:41:34.854Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-04-19T18:41:34.855Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-04-19T18:41:34.855Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-04-19T18:41:34.855Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-04-19T18:41:35.117Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-04-19T18:41:35.117Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-04-19T18:41:35.117Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-04-19T18:41:35.117Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-04-19T18:41:35.388Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-04-19T18:41:35.388Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-04-19T18:41:35.388Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-04-19T18:41:35.660Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-04-19T18:41:35.660Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-04-19T18:41:35.660Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-04-19T18:41:36.042Z] -- Detecting CXX compile features - done [2021-04-19T18:41:36.042Z] -- Looking for include file endian.h [2021-04-19T18:41:36.042Z] -- Looking for include file endian.h - found [2021-04-19T18:41:36.042Z] -- Check if the system is big endian [2021-04-19T18:41:36.042Z] -- Searching 16 bit integer [2021-04-19T18:41:36.042Z] -- Looking for sys/types.h [2021-04-19T18:41:36.232Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-04-19T18:41:36.232Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-04-19T18:41:36.232Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-04-19T18:41:36.232Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-04-19T18:41:36.318Z] -- Looking for sys/types.h - found [2021-04-19T18:41:36.318Z] -- Looking for stdint.h [2021-04-19T18:41:36.493Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-04-19T18:41:36.591Z] -- Looking for stdint.h - found [2021-04-19T18:41:36.591Z] -- Looking for stddef.h [2021-04-19T18:41:36.754Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-04-19T18:41:36.754Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-04-19T18:41:36.866Z] -- Looking for stddef.h - found [2021-04-19T18:41:36.866Z] -- Check size of unsigned short [2021-04-19T18:41:37.014Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-04-19T18:41:37.015Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-04-19T18:41:37.141Z] -- Check size of unsigned short - done [2021-04-19T18:41:37.141Z] -- Using unsigned short [2021-04-19T18:41:37.277Z] [ 72%] Linking C shared library libcsdk.so [2021-04-19T18:41:37.277Z] [ 72%] Built target csdk [2021-04-19T18:41:37.277Z] Scanning dependencies of target template [2021-04-19T18:41:37.277Z] [ 74%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-04-19T18:41:37.277Z] [ 76%] Linking C executable template [2021-04-19T18:41:37.413Z] -- Check if the system is big endian - little endian [2021-04-19T18:41:37.413Z] -- Check size of size_t [2021-04-19T18:41:37.542Z] [ 76%] Built target template [2021-04-19T18:41:37.542Z] Scanning dependencies of target device-counter [2021-04-19T18:41:37.542Z] [ 77%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-04-19T18:41:37.542Z] [ 79%] Linking C executable device-counter [2021-04-19T18:41:37.542Z] [ 79%] Built target device-counter [2021-04-19T18:41:37.543Z] Scanning dependencies of target device-random [2021-04-19T18:41:37.543Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-04-19T18:41:37.685Z] -- Check size of size_t - done [2021-04-19T18:41:37.685Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-04-19T18:41:37.686Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-04-19T18:41:37.686Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-04-19T18:41:37.686Z] CMake did not find one. [2021-04-19T18:41:37.686Z] [2021-04-19T18:41:37.686Z] Could not find a package configuration file provided by "cJSON" with any of [2021-04-19T18:41:37.686Z] the following names: [2021-04-19T18:41:37.686Z] [2021-04-19T18:41:37.686Z] cJSONConfig.cmake [2021-04-19T18:41:37.686Z] cjson-config.cmake [2021-04-19T18:41:37.686Z] [2021-04-19T18:41:37.686Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-04-19T18:41:37.686Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-04-19T18:41:37.686Z] provides a separate development package or SDK, be sure it has been [2021-04-19T18:41:37.686Z] installed. [2021-04-19T18:41:37.686Z] [2021-04-19T18:41:37.686Z] [2021-04-19T18:41:37.686Z] -- Configuring done [2021-04-19T18:41:37.804Z] [ 83%] Linking C executable device-random [2021-04-19T18:41:37.804Z] [ 83%] Built target device-random [2021-04-19T18:41:37.804Z] Scanning dependencies of target device-gyro [2021-04-19T18:41:37.804Z] [ 84%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-04-19T18:41:37.804Z] [ 86%] Linking C executable device-gyro [2021-04-19T18:41:37.961Z] -- Generating done [2021-04-19T18:41:37.961Z] -- Build files have been written to: /tmp/cbor [2021-04-19T18:41:37.961Z] Scanning dependencies of target cbor_shared [2021-04-19T18:41:38.070Z] [ 86%] Built target device-gyro [2021-04-19T18:41:38.070Z] Scanning dependencies of target device-bitfields [2021-04-19T18:41:38.070Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-04-19T18:41:38.070Z] [ 89%] Linking C executable device-bitfields [2021-04-19T18:41:38.070Z] [ 89%] Built target device-bitfields [2021-04-19T18:41:38.070Z] Scanning dependencies of target template-discovery [2021-04-19T18:41:38.070Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-04-19T18:41:38.234Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-04-19T18:41:38.338Z] [ 93%] Linking C executable template-discovery [2021-04-19T18:41:38.338Z] [ 93%] Built target template-discovery [2021-04-19T18:41:38.338Z] Scanning dependencies of target device-file [2021-04-19T18:41:38.338Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-04-19T18:41:38.338Z] [ 96%] Linking C executable device-file [2021-04-19T18:41:38.600Z] [ 96%] Built target device-file [2021-04-19T18:41:38.600Z] Scanning dependencies of target device-terminal [2021-04-19T18:41:38.600Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-04-19T18:41:38.600Z] [100%] Linking C executable device-terminal [2021-04-19T18:41:38.600Z] [100%] Built target device-terminal [2021-04-19T18:41:38.600Z] make: Entering directory '/tmp/sdk/build/release' [2021-04-19T18:41:38.600Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-04-19T18:41:38.600Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-19T18:41:38.600Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-19T18:41:38.831Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-04-19T18:41:38.860Z] [ 72%] Built target csdk [2021-04-19T18:41:38.860Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-19T18:41:38.860Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-19T18:41:38.860Z] [ 76%] Built target template [2021-04-19T18:41:38.860Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-19T18:41:38.860Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-19T18:41:38.860Z] [ 79%] Built target device-counter [2021-04-19T18:41:38.860Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-19T18:41:38.860Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-19T18:41:38.860Z] [ 83%] Built target device-random [2021-04-19T18:41:38.860Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-19T18:41:38.860Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-19T18:41:38.860Z] [ 86%] Built target device-gyro [2021-04-19T18:41:38.860Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-19T18:41:38.860Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-19T18:41:38.860Z] [ 89%] Built target device-bitfields [2021-04-19T18:41:38.860Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-19T18:41:38.860Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-19T18:41:38.860Z] [ 93%] Built target template-discovery [2021-04-19T18:41:38.860Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-19T18:41:38.860Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-19T18:41:38.860Z] [ 96%] Built target device-file [2021-04-19T18:41:38.860Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-19T18:41:38.860Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-19T18:41:38.860Z] [100%] Built target device-terminal [2021-04-19T18:41:38.860Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-04-19T18:41:38.860Z] Install the project... [2021-04-19T18:41:38.860Z] -- Install configuration: "Release" [2021-04-19T18:41:38.860Z] -- Installing: /usr/local/lib/libcsdk.so [2021-04-19T18:41:38.860Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-04-19T18:41:38.860Z] -- Up-to-date: /usr/local/include [2021-04-19T18:41:38.860Z] -- Installing: /usr/local/include/devsdk [2021-04-19T18:41:38.860Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-04-19T18:41:38.860Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-04-19T18:41:38.860Z] -- Installing: /usr/local/include/edgex [2021-04-19T18:41:38.860Z] -- Installing: /usr/local/include/edgex/devices.h [2021-04-19T18:41:38.860Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-04-19T18:41:38.860Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-04-19T18:41:38.860Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-04-19T18:41:38.860Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-04-19T18:41:38.860Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-04-19T18:41:38.860Z] -- Installing: /usr/local/include/iot [2021-04-19T18:41:38.860Z] -- Installing: /usr/local/include/iot/base64.h [2021-04-19T18:41:38.860Z] -- Installing: /usr/local/include/iot/component.h [2021-04-19T18:41:38.860Z] -- Installing: /usr/local/include/iot/config.h [2021-04-19T18:41:38.860Z] -- Installing: /usr/local/include/iot/container.h [2021-04-19T18:41:38.860Z] -- Installing: /usr/local/include/iot/data.h [2021-04-19T18:41:38.860Z] -- Installing: /usr/local/include/iot/hash.h [2021-04-19T18:41:38.860Z] -- Installing: /usr/local/include/iot/iot.h [2021-04-19T18:41:38.860Z] -- Installing: /usr/local/include/iot/json.h [2021-04-19T18:41:38.860Z] -- Installing: /usr/local/include/iot/logger.h [2021-04-19T18:41:38.860Z] -- Installing: /usr/local/include/iot/os.h [2021-04-19T18:41:38.860Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-04-19T18:41:38.860Z] -- Installing: /usr/local/include/iot/thread.h [2021-04-19T18:41:38.860Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-04-19T18:41:38.860Z] -- Installing: /usr/local/include/iot/time.h [2021-04-19T18:41:38.860Z] -- Installing: /usr/local/include/iot/typecode.h [2021-04-19T18:41:38.860Z] -- Installing: /usr/local/include/iot/os [2021-04-19T18:41:38.860Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-04-19T18:41:38.860Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-04-19T18:41:38.860Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-04-19T18:41:38.860Z] -- Installing: /usr/local/include/iot/defs.h [2021-04-19T18:41:38.860Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-04-19T18:41:38.860Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-04-19T18:41:38.860Z] make: Leaving directory '/tmp/sdk/build/release' [2021-04-19T18:41:39.423Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-04-19T18:41:39.701Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-04-19T18:41:40.338Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-04-19T18:41:40.610Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-04-19T18:41:40.783Z] Removing intermediate container 7d6bfabbcacb [2021-04-19T18:41:40.783Z] ---> e92deaf34829 [2021-04-19T18:41:40.783Z] Step 14/21 : FROM ${BASE} [2021-04-19T18:41:40.783Z] ---> 5eabd8fd8ba2 [2021-04-19T18:41:40.783Z] Step 15/21 : LABEL maintainer="IOTech " [2021-04-19T18:41:40.882Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-04-19T18:41:41.044Z] ---> Running in 7b5d4843bdf6 [2021-04-19T18:41:41.044Z] Removing intermediate container 7b5d4843bdf6 [2021-04-19T18:41:41.044Z] ---> 8d7098b44e7a [2021-04-19T18:41:41.044Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2021-04-19T18:41:41.160Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-04-19T18:41:41.311Z] ---> Running in bfba01bf7cd7 [2021-04-19T18:41:41.434Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-04-19T18:41:41.707Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-04-19T18:41:41.887Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-04-19T18:41:42.303Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-04-19T18:41:42.577Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-04-19T18:41:42.834Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-04-19T18:41:43.100Z] (1/3) Installing curl (7.64.0-r5) [2021-04-19T18:41:43.100Z] (2/3) Installing libuuid (2.33-r0) [2021-04-19T18:41:43.100Z] (3/3) Installing wget (1.20.3-r0) [2021-04-19T18:41:43.168Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-04-19T18:41:43.364Z] Executing busybox-1.29.3-r10.trigger [2021-04-19T18:41:43.364Z] OK: 268 MiB in 78 packages [2021-04-19T18:41:43.440Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-04-19T18:41:43.714Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-04-19T18:41:43.941Z] Removing intermediate container bfba01bf7cd7 [2021-04-19T18:41:43.941Z] ---> b37474055e7f [2021-04-19T18:41:43.941Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-04-19T18:41:43.941Z] ---> f6b08cdd48b6 [2021-04-19T18:41:43.941Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-04-19T18:41:43.986Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-04-19T18:41:44.203Z] ---> 520ad69d3f91 [2021-04-19T18:41:44.203Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-04-19T18:41:44.260Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-04-19T18:41:44.471Z] ---> 60fbd2dd4fda [2021-04-19T18:41:44.471Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-04-19T18:41:44.535Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-04-19T18:41:44.733Z] ---> 0fef44ddd11e [2021-04-19T18:41:44.733Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-04-19T18:41:44.807Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-04-19T18:41:45.020Z] ---> c137e4a6bcb0 [2021-04-19T18:41:45.020Z] Successfully built c137e4a6bcb0 [2021-04-19T18:41:45.020Z] Successfully tagged ci-base-image-x86_64:latest [2021-04-19T18:41:45.080Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [2021-04-19T18:41:45.353Z] [ 40%] Linking C shared library libcbor.so [2021-04-19T18:41:45.353Z] [ 40%] Built target cbor_shared [2021-04-19T18:41:45.353Z] Scanning dependencies of target cbor [2021-04-19T18:41:45.353Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:41:45.754Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-19T18:41:45.754Z] . [Pipeline] withDockerContainer [2021-04-19T18:41:45.980Z] prd-centos7-docker-4c-2g-886 does not seem to be running inside a container [2021-04-19T18:41:46.072Z] $ 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-x86_64 cat [2021-04-19T18:41:46.337Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-04-19T18:41:46.896Z] $ docker top 8db5961fd567b81d40c1ae263f859c5fb755d6c9fa1feddd26674d88ee813fe8 -eo pid,comm [2021-04-19T18:41:46.934Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [Pipeline] { [Pipeline] sh [2021-04-19T18:41:47.207Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-04-19T18:41:47.428Z] + make test [2021-04-19T18:41:47.429Z] echo "make test" [2021-04-19T18:41:47.429Z] make test [Pipeline] } [2021-04-19T18:41:47.486Z] $ docker stop --time=1 8db5961fd567b81d40c1ae263f859c5fb755d6c9fa1feddd26674d88ee813fe8 [2021-04-19T18:41:48.633Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-04-19T18:41:48.904Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-04-19T18:41:48.915Z] $ docker rm -f 8db5961fd567b81d40c1ae263f859c5fb755d6c9fa1feddd26674d88ee813fe8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2021-04-19T18:41:49.180Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-04-19T18:41:49.180Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2021-04-19T18:41:49.451Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [Pipeline] sh [2021-04-19T18:41:50.044Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-04-19T18:41:50.254Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-19T18:41:50.579Z] + ls -al . [2021-04-19T18:41:50.579Z] total 160 [2021-04-19T18:41:50.579Z] drwxrwxr-x. 8 jenkins jenkins 260 Apr 19 18:40 . [2021-04-19T18:41:50.579Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 19 18:40 .. [2021-04-19T18:41:50.579Z] -rw-rw-r--. 1 jenkins jenkins 3104 Apr 19 18:40 Attribution.txt [2021-04-19T18:41:50.579Z] -rw-rw-r--. 1 jenkins jenkins 6927 Apr 19 18:40 CHANGES [2021-04-19T18:41:50.579Z] drwxrwxr-x. 2 jenkins jenkins 144 Apr 19 18:40 docs [2021-04-19T18:41:50.579Z] -rw-rw-r--. 1 jenkins jenkins 108574 Apr 19 18:40 Doxyfile [2021-04-19T18:41:50.579Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 19 18:40 .git [2021-04-19T18:41:50.579Z] drwxrwxr-x. 2 jenkins jenkins 81 Apr 19 18:40 .github [2021-04-19T18:41:50.579Z] -rw-rw-r--. 1 jenkins jenkins 176 Apr 19 18:40 .gitignore [2021-04-19T18:41:50.579Z] drwxrwxr-x. 4 jenkins jenkins 33 Apr 19 18:40 include [2021-04-19T18:41:50.579Z] -rw-rw-r--. 1 jenkins jenkins 784 Apr 19 18:40 Jenkinsfile [2021-04-19T18:41:50.579Z] -rw-rw-r--. 1 jenkins jenkins 10174 Apr 19 18:40 LICENSE [2021-04-19T18:41:50.579Z] -rw-rw-r--. 1 jenkins jenkins 444 Apr 19 18:40 Makefile [2021-04-19T18:41:50.579Z] -rw-rw-r--. 1 jenkins jenkins 4008 Apr 19 18:40 README.md [2021-04-19T18:41:50.579Z] -rw-rw-r--. 1 jenkins jenkins 6654 Apr 19 18:40 README.v2.md [2021-04-19T18:41:50.579Z] drwxrwxr-x. 2 jenkins jenkins 98 Apr 19 18:40 scripts [2021-04-19T18:41:50.579Z] drwxrwxr-x. 4 jenkins jenkins 50 Apr 19 18:40 src [2021-04-19T18:41:50.579Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 19 18:37 VERSION [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:41:50.637Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-04-19T18:41:50.924Z] + 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=ffca8a7f173e4af129b56382ea7724f2eb516e06 --label arch=amd64 --label version=0.0.0 . [2021-04-19T18:41:50.924Z] Sending build context to Docker daemon 2.353MB [2021-04-19T18:41:50.924Z] Step 1/15 : ARG BASE=alpine:3.12 [2021-04-19T18:41:50.924Z] Step 2/15 : FROM ${BASE} [2021-04-19T18:41:50.924Z] ---> c137e4a6bcb0 [2021-04-19T18:41:50.924Z] Step 3/15 : LABEL maintainer="IOTech " [2021-04-19T18:41:51.231Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-04-19T18:41:51.502Z] ---> Running in 72efe9fe7743 [2021-04-19T18:41:51.505Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-04-19T18:41:51.767Z] Removing intermediate container 72efe9fe7743 [2021-04-19T18:41:51.767Z] ---> 2dd5abcb5181 [2021-04-19T18:41:51.767Z] Step 4/15 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev && mkdir -p /edgex-c-sdk/build [2021-04-19T18:41:51.767Z] ---> Running in 301387ce6725 [2021-04-19T18:41:52.100Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-04-19T18:41:52.343Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-04-19T18:41:52.372Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-04-19T18:41:52.645Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-04-19T18:41:52.916Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-04-19T18:41:52.918Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-04-19T18:41:53.191Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-04-19T18:41:53.461Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-04-19T18:41:53.492Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-04-19T18:41:53.492Z] (2/6) Installing libblkid (2.33-r0) [2021-04-19T18:41:53.492Z] (3/6) Installing libfdisk (2.33-r0) [2021-04-19T18:41:53.492Z] (4/6) Installing libmount (2.33-r0) [2021-04-19T18:41:53.734Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-04-19T18:41:53.755Z] (5/6) Installing libsmartcols (2.33-r0) [2021-04-19T18:41:53.756Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-04-19T18:41:54.006Z] [ 80%] Linking C static library libcbor.a [2021-04-19T18:41:54.006Z] [ 80%] Built target cbor [2021-04-19T18:41:54.006Z] Scanning dependencies of target create_items [2021-04-19T18:41:54.006Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-04-19T18:41:54.019Z] Executing busybox-1.29.3-r10.trigger [2021-04-19T18:41:54.278Z] [ 84%] Linking C executable create_items [2021-04-19T18:41:54.278Z] [ 84%] Built target create_items [2021-04-19T18:41:54.283Z] OK: 272 MiB in 84 packages [2021-04-19T18:41:54.553Z] Scanning dependencies of target readfile [2021-04-19T18:41:54.553Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-04-19T18:41:54.825Z] [ 88%] Linking C executable readfile [2021-04-19T18:41:54.825Z] [ 88%] Built target readfile [2021-04-19T18:41:54.825Z] Scanning dependencies of target streaming_parser [2021-04-19T18:41:54.825Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-04-19T18:41:54.858Z] Removing intermediate container 301387ce6725 [2021-04-19T18:41:54.858Z] ---> 178d486b96a7 [2021-04-19T18:41:54.858Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2021-04-19T18:41:54.858Z] ---> 2d00f386617e [2021-04-19T18:41:54.858Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2021-04-19T18:41:55.097Z] [ 92%] Linking C executable streaming_parser [2021-04-19T18:41:55.097Z] [ 92%] Built target streaming_parser [2021-04-19T18:41:55.097Z] Scanning dependencies of target sort [2021-04-19T18:41:55.097Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-04-19T18:41:55.370Z] [ 96%] Linking C executable sort [2021-04-19T18:41:55.642Z] [ 96%] Built target sort [2021-04-19T18:41:55.642Z] Scanning dependencies of target hello [2021-04-19T18:41:55.642Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-04-19T18:41:55.642Z] [100%] Linking C executable hello [2021-04-19T18:41:55.811Z] ---> a2b9a2d9eaa3 [2021-04-19T18:41:55.811Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2021-04-19T18:41:55.916Z] [100%] Built target hello [2021-04-19T18:41:55.916Z] Install the project... [2021-04-19T18:41:55.916Z] -- Install configuration: "Release" [2021-04-19T18:41:55.916Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-04-19T18:41:55.916Z] -- Installing: /usr/local/lib64/libcbor.a [2021-04-19T18:41:55.916Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-04-19T18:41:55.916Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-04-19T18:41:55.916Z] -- Installing: /usr/local/lib64/libcbor.so [2021-04-19T18:41:55.916Z] -- Up-to-date: /usr/local/include/cbor [2021-04-19T18:41:55.916Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-04-19T18:41:55.916Z] -- Installing: /usr/local/include/cbor/ints.h [2021-04-19T18:41:55.916Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-04-19T18:41:55.916Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-04-19T18:41:55.916Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-04-19T18:41:55.916Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-04-19T18:41:55.916Z] -- Installing: /usr/local/include/cbor/data.h [2021-04-19T18:41:55.916Z] -- Installing: /usr/local/include/cbor/common.h [2021-04-19T18:41:55.916Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-04-19T18:41:55.916Z] -- Installing: /usr/local/include/cbor/strings.h [2021-04-19T18:41:55.916Z] -- Installing: /usr/local/include/cbor/tags.h [2021-04-19T18:41:55.916Z] -- Installing: /usr/local/include/cbor/internal [2021-04-19T18:41:55.916Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-04-19T18:41:55.916Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-04-19T18:41:55.916Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-04-19T18:41:55.916Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-04-19T18:41:55.916Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-04-19T18:41:55.916Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-04-19T18:41:55.916Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-04-19T18:41:55.916Z] -- Installing: /usr/local/include/cbor/maps.h [2021-04-19T18:41:55.916Z] -- Installing: /usr/local/include/cbor.h [2021-04-19T18:41:55.916Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-04-19T18:41:56.073Z] ---> 023d7f3368e6 [2021-04-19T18:41:56.073Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2021-04-19T18:41:56.073Z] ---> 9f911336a65e [2021-04-19T18:41:56.073Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2021-04-19T18:41:56.336Z] ---> de8750357ca7 [2021-04-19T18:41:56.336Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2021-04-19T18:41:56.599Z] ---> 411bb0446881 [2021-04-19T18:41:56.599Z] Step 11/15 : WORKDIR /edgex-c-sdk [2021-04-19T18:41:56.599Z] ---> Running in 00867fd6773f [2021-04-19T18:41:56.860Z] Removing intermediate container 00867fd6773f [2021-04-19T18:41:56.860Z] ---> 50074037a343 [2021-04-19T18:41:56.860Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-04-19T18:41:56.860Z] ---> Running in 244263cb1594 [2021-04-19T18:41:57.122Z] Removing intermediate container 244263cb1594 [2021-04-19T18:41:57.122Z] ---> fc936b75cc6c [2021-04-19T18:41:57.122Z] Step 13/15 : LABEL arch=amd64 [2021-04-19T18:41:57.122Z] ---> Running in 0010e48db3c8 [2021-04-19T18:41:57.122Z] Removing intermediate container 0010e48db3c8 [2021-04-19T18:41:57.122Z] ---> 87af48d0c245 [2021-04-19T18:41:57.123Z] Step 14/15 : LABEL git_sha=ffca8a7f173e4af129b56382ea7724f2eb516e06 [2021-04-19T18:41:57.386Z] ---> Running in eb26bc5c2242 [2021-04-19T18:41:57.386Z] Removing intermediate container eb26bc5c2242 [2021-04-19T18:41:57.386Z] ---> ca7eca5a0ec9 [2021-04-19T18:41:57.386Z] Step 15/15 : LABEL version=0.0.0 [2021-04-19T18:41:57.667Z] ---> Running in 13b528433d0f [2021-04-19T18:41:57.667Z] Removing intermediate container 13b528433d0f [2021-04-19T18:41:57.667Z] ---> c549c699e986 [2021-04-19T18:41:57.667Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-19T18:41:57.667Z] Successfully built c549c699e986 [2021-04-19T18:41:57.667Z] Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2021-04-19T18:41:57.898Z] Removing intermediate container 6696e9d7c269 [2021-04-19T18:41:57.898Z] ---> 47f07ccd085e [2021-04-19T18:41:57.898Z] Step 6/21 : RUN mkdir /tmp/sdk 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] } [2021-04-19T18:41:58.172Z] ---> Running in 03fdc6c73bab [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-19T18:42:00.139Z] Removing intermediate container 03fdc6c73bab [2021-04-19T18:42:00.139Z] ---> ab7609d7320b [2021-04-19T18:42:00.139Z] Step 7/21 : COPY VERSION /tmp/sdk [2021-04-19T18:42:01.117Z] ---> 106802c695ac [2021-04-19T18:42:01.117Z] Step 8/21 : COPY src /tmp/sdk/src [2021-04-19T18:42:01.714Z] ---> 65e3e2f81687 [2021-04-19T18:42:01.714Z] Step 9/21 : COPY include /tmp/sdk/include [2021-04-19T18:42:02.695Z] ---> 73b63fdbe7d0 [2021-04-19T18:42:02.695Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2021-04-19T18:42:03.288Z] ---> 6bb33d2a7913 [2021-04-19T18:42:03.288Z] Step 11/21 : COPY LICENSE /tmp/sdk [2021-04-19T18:42:03.892Z] ---> 390546f98d1d [2021-04-19T18:42:03.892Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2021-04-19T18:42:04.488Z] ---> d7fd70dc667e [2021-04-19T18:42:04.488Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-04-19T18:42:04.765Z] ---> Running in d121eb1a7bd5 [2021-04-19T18:42:05.745Z] + CPPCHECK=false [2021-04-19T18:42:05.745Z] + DOCGEN=false [2021-04-19T18:42:05.745Z] + TOMLVER=SDK-0.2 [2021-04-19T18:42:05.745Z] + CUTILVER=1.1.4 [2021-04-19T18:42:05.745Z] + '[' 0 -gt 0 ] [2021-04-19T18:42:05.745Z] + readlink -f ./scripts/build.sh [2021-04-19T18:42:05.745Z] + dirname /tmp/sdk/scripts/build.sh [2021-04-19T18:42:05.745Z] + dirname /tmp/sdk/scripts [2021-04-19T18:42:05.745Z] + ROOT=/tmp/sdk [2021-04-19T18:42:05.745Z] + cd /tmp/sdk [2021-04-19T18:42:05.745Z] + '[' '!' -d deps ] [2021-04-19T18:42:05.745Z] + mkdir deps [2021-04-19T18:42:05.745Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-04-19T18:42:05.745Z] + tar -C deps -z -x -f - [2021-04-19T18:42:05.745Z] --2021-04-19 18:42:05-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-04-19T18:42:05.745Z] Resolving github.com... 140.82.113.4 [2021-04-19T18:42:05.745Z] Connecting to github.com|140.82.113.4|:443... connected. [2021-04-19T18:42:05.745Z] HTTP request sent, awaiting response... 302 Found [2021-04-19T18:42:05.745Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-04-19T18:42:05.745Z] --2021-04-19 18:42:05-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-04-19T18:42:06.030Z] Resolving codeload.github.com... 140.82.113.10 [2021-04-19T18:42:06.030Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2021-04-19T18:42:06.311Z] HTTP request sent, awaiting response... 200 OK [2021-04-19T18:42:06.311Z] Length: unspecified [application/x-gzip] [2021-04-19T18:42:06.311Z] Saving to: 'STDOUT' [2021-04-19T18:42:06.311Z]  [2021-04-19T18:42:06.583Z] 0K .......... ......  555K=0.03s [2021-04-19T18:42:06.583Z] [2021-04-19T18:42:06.583Z] 2021-04-19 18:42:06 (555 KB/s) - written to stdout [16451] [2021-04-19T18:42:06.583Z] [2021-04-19T18:42:06.583Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-04-19T18:42:06.583Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-04-19T18:42:06.583Z] + tar -C deps -z -x -f - [2021-04-19T18:42:06.583Z] --2021-04-19 18:42:06-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-04-19T18:42:06.583Z] Resolving github.com... 140.82.113.4 [2021-04-19T18:42:06.583Z] Connecting to github.com|140.82.113.4|:443... connected. [2021-04-19T18:42:06.583Z] HTTP request sent, awaiting response... 302 Found [2021-04-19T18:42:06.583Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-04-19T18:42:06.583Z] --2021-04-19 18:42:06-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-04-19T18:42:06.583Z] Resolving codeload.github.com... 140.82.113.10 [2021-04-19T18:42:06.583Z] Connecting to codeload.github.com|140.82.113.10|:443... connected. [2021-04-19T18:42:06.855Z] HTTP request sent, awaiting response... 200 OK [2021-04-19T18:42:06.855Z] Length: unspecified [application/x-gzip] [2021-04-19T18:42:06.855Z] Saving to: 'STDOUT' [2021-04-19T18:42:06.855Z]  [2021-04-19T18:42:06.855Z] 0K .......... .......... .......... .......... .......... 1.31M [2021-04-19T18:42:06.855Z] 50K .......... .......... .......... .......... .......... 2.41M [2021-04-19T18:42:06.855Z] 100K .......... .......... .......... .......... .......... 7.33M [2021-04-19T18:42:06.855Z] 150K .......... .......... ....... 1.32M=0.08s [2021-04-19T18:42:06.855Z] [2021-04-19T18:42:06.855Z] 2021-04-19 18:42:06 (2.05 MB/s) - written to stdout [181796] [2021-04-19T18:42:06.855Z] [2021-04-19T18:42:06.855Z] + mkdir -p src/c/iot [2021-04-19T18:42:06.855Z] + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot [2021-04-19T18:42:06.855Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-04-19T18:42:06.855Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-04-19T18:42:06.855Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-04-19T18:42:06.855Z] + mkdir -p include/iot [2021-04-19T18:42:06.855Z] + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot [2021-04-19T18:42:06.855Z] + mkdir -p include/iot/os [2021-04-19T18:42:06.855Z] + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os [2021-04-19T18:42:06.855Z] + mkdir -p /tmp/sdk/build/release [2021-04-19T18:42:06.855Z] + cd /tmp/sdk/build/release [2021-04-19T18:42:06.855Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-04-19T18:42:07.450Z] -- The C compiler identification is GNU 8.3.0 [2021-04-19T18:42:07.450Z] -- Check for working C compiler: /usr/bin/cc [2021-04-19T18:42:07.723Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-04-19T18:42:07.723Z] -- Detecting C compiler ABI info [2021-04-19T18:42:07.997Z] -- Detecting C compiler ABI info - done [2021-04-19T18:42:07.997Z] -- Detecting C compile features [2021-04-19T18:42:08.976Z] -- Detecting C compile features - done [2021-04-19T18:42:08.976Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-04-19T18:42:08.976Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-04-19T18:42:08.976Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-04-19T18:42:08.976Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-04-19T18:42:08.976Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-04-19T18:42:08.976Z] -- C SDK 0.0.0 for Linux [2021-04-19T18:42:08.976Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-04-19T18:42:08.976Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-04-19T18:42:08.976Z] -- Found Curses: /usr/lib/libcurses.so [2021-04-19T18:42:09.249Z] -- Configuring done [2021-04-19T18:42:09.522Z] -- Generating done [2021-04-19T18:42:09.522Z] -- Build files have been written to: /tmp/sdk/build/release [2021-04-19T18:42:09.522Z] + make [2021-04-19T18:42:09.522Z] + tee release.log [2021-04-19T18:42:09.522Z] Scanning dependencies of target csdk [2021-04-19T18:42:09.794Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-04-19T18:42:10.392Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-04-19T18:42:11.000Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-04-19T18:42:13.613Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-04-19T18:42:14.211Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-04-19T18:42:14.486Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-04-19T18:42:15.918Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-04-19T18:42:17.884Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-04-19T18:42:18.158Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-04-19T18:42:19.138Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-04-19T18:42:19.412Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-04-19T18:42:20.012Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-04-19T18:42:20.285Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-04-19T18:42:20.561Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-04-19T18:42:23.947Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-04-19T18:42:24.539Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-04-19T18:42:24.813Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-04-19T18:42:25.408Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-04-19T18:42:26.004Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-04-19T18:42:29.395Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-04-19T18:42:29.395Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-04-19T18:42:29.395Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-04-19T18:42:30.370Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-04-19T18:42:30.647Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-04-19T18:42:30.921Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-04-19T18:42:32.457Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-04-19T18:42:32.457Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-04-19T18:42:33.472Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-04-19T18:42:33.472Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-04-19T18:42:36.138Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-04-19T18:42:36.138Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-04-19T18:42:37.111Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-04-19T18:42:37.384Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-04-19T18:42:42.781Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-04-19T18:42:43.058Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-04-19T18:42:43.656Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-04-19T18:42:44.250Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-04-19T18:42:45.224Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-04-19T18:42:47.186Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-04-19T18:42:49.157Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-04-19T18:42:53.455Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-04-19T18:42:54.050Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-04-19T18:42:54.647Z] [ 72%] Linking C shared library libcsdk.so [2021-04-19T18:42:54.647Z] [ 72%] Built target csdk [2021-04-19T18:42:54.920Z] Scanning dependencies of target template [2021-04-19T18:42:54.920Z] [ 74%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-04-19T18:42:55.515Z] [ 76%] Linking C executable template [2021-04-19T18:42:55.790Z] [ 76%] Built target template [2021-04-19T18:42:55.790Z] Scanning dependencies of target device-counter [2021-04-19T18:42:55.790Z] [ 77%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-04-19T18:42:56.385Z] [ 79%] Linking C executable device-counter [2021-04-19T18:42:56.658Z] [ 79%] Built target device-counter [2021-04-19T18:42:56.658Z] Scanning dependencies of target device-random [2021-04-19T18:42:56.658Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-04-19T18:42:57.251Z] [ 83%] Linking C executable device-random [2021-04-19T18:42:57.524Z] [ 83%] Built target device-random [2021-04-19T18:42:57.524Z] Scanning dependencies of target device-gyro [2021-04-19T18:42:57.524Z] [ 84%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-04-19T18:42:57.797Z] [ 86%] Linking C executable device-gyro [2021-04-19T18:42:58.070Z] [ 86%] Built target device-gyro [2021-04-19T18:42:58.070Z] Scanning dependencies of target device-bitfields [2021-04-19T18:42:58.070Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-04-19T18:42:58.664Z] [ 89%] Linking C executable device-bitfields [2021-04-19T18:42:58.937Z] [ 89%] Built target device-bitfields [2021-04-19T18:42:58.937Z] Scanning dependencies of target template-discovery [2021-04-19T18:42:58.937Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-04-19T18:42:59.529Z] [ 93%] Linking C executable template-discovery [2021-04-19T18:42:59.802Z] [ 93%] Built target template-discovery [2021-04-19T18:42:59.802Z] Scanning dependencies of target device-file [2021-04-19T18:42:59.802Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-04-19T18:43:00.392Z] [ 96%] Linking C executable device-file [2021-04-19T18:43:00.666Z] [ 96%] Built target device-file [2021-04-19T18:43:00.666Z] Scanning dependencies of target device-terminal [2021-04-19T18:43:00.666Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-04-19T18:43:01.642Z] [100%] Linking C executable device-terminal [2021-04-19T18:43:01.643Z] [100%] Built target device-terminal [2021-04-19T18:43:01.643Z] + make package [2021-04-19T18:43:01.643Z] + tee -a release.log [2021-04-19T18:43:01.921Z] [ 72%] Built target csdk [2021-04-19T18:43:01.921Z] [ 76%] Built target template [2021-04-19T18:43:01.921Z] [ 79%] Built target device-counter [2021-04-19T18:43:01.921Z] [ 83%] Built target device-random [2021-04-19T18:43:01.921Z] [ 86%] Built target device-gyro [2021-04-19T18:43:02.195Z] [ 89%] Built target device-bitfields [2021-04-19T18:43:02.195Z] [ 93%] Built target template-discovery [2021-04-19T18:43:02.195Z] [ 96%] Built target device-file [2021-04-19T18:43:02.195Z] [100%] Built target device-terminal [2021-04-19T18:43:02.195Z] Run CPack packaging tool... [2021-04-19T18:43:02.195Z] CPack: Create package using TGZ [2021-04-19T18:43:02.195Z] CPack: Install projects [2021-04-19T18:43:02.195Z] CPack: - Run preinstall target for: Csdk [2021-04-19T18:43:02.789Z] CPack: - Install project: Csdk [2021-04-19T18:43:02.789Z] CPack: Create package [2021-04-19T18:43:03.063Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-04-19T18:43:03.063Z] + '[' false '=' true ] [2021-04-19T18:43:03.063Z] + '[' false '=' true ] [2021-04-19T18:43:03.063Z] + mkdir -p /tmp/sdk/build/debug [2021-04-19T18:43:03.063Z] + cd /tmp/sdk/build/debug [2021-04-19T18:43:03.063Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-04-19T18:43:03.333Z] -- The C compiler identification is GNU 8.3.0 [2021-04-19T18:43:03.333Z] -- Check for working C compiler: /usr/bin/cc [2021-04-19T18:43:03.617Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-04-19T18:43:03.617Z] -- Detecting C compiler ABI info [2021-04-19T18:43:03.888Z] -- Detecting C compiler ABI info - done [2021-04-19T18:43:04.169Z] -- Detecting C compile features [2021-04-19T18:43:04.766Z] -- Detecting C compile features - done [2021-04-19T18:43:04.766Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-04-19T18:43:05.038Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-04-19T18:43:05.038Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-04-19T18:43:05.038Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-04-19T18:43:05.038Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-04-19T18:43:05.038Z] -- C SDK 0.0.0 for Linux [2021-04-19T18:43:05.038Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-04-19T18:43:05.310Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-04-19T18:43:05.310Z] -- Found Curses: /usr/lib/libcurses.so [2021-04-19T18:43:05.310Z] -- Configuring done [2021-04-19T18:43:05.582Z] -- Generating done [2021-04-19T18:43:05.582Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-04-19T18:43:05.582Z] + make [2021-04-19T18:43:05.582Z] + tee debug.log [2021-04-19T18:43:05.856Z] Scanning dependencies of target csdk [2021-04-19T18:43:05.856Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-04-19T18:43:06.450Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-04-19T18:43:06.723Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-04-19T18:43:07.341Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-04-19T18:43:07.934Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-04-19T18:43:07.934Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-04-19T18:43:08.528Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-04-19T18:43:09.121Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-04-19T18:43:09.393Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-04-19T18:43:09.989Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-04-19T18:43:10.262Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-04-19T18:43:10.539Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-04-19T18:43:10.539Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-04-19T18:43:10.810Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-04-19T18:43:11.787Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-04-19T18:43:11.787Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-04-19T18:43:12.062Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-04-19T18:43:12.334Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-04-19T18:43:12.929Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-04-19T18:43:13.905Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-04-19T18:43:13.905Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-04-19T18:43:14.177Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-04-19T18:43:14.177Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-04-19T18:43:14.449Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-04-19T18:43:14.720Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-04-19T18:43:14.992Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-04-19T18:43:15.265Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-04-19T18:43:15.537Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-04-19T18:43:15.807Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-04-19T18:43:16.081Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-04-19T18:43:16.352Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-04-19T18:43:16.623Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-04-19T18:43:16.899Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-04-19T18:43:17.865Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-04-19T18:43:18.138Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-04-19T18:43:18.412Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-04-19T18:43:18.684Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-04-19T18:43:19.282Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-04-19T18:43:20.268Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-04-19T18:43:20.859Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-04-19T18:43:21.451Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-04-19T18:43:21.729Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-04-19T18:43:22.002Z] [ 72%] Linking C shared library libcsdk.so [2021-04-19T18:43:22.273Z] [ 72%] Built target csdk [2021-04-19T18:43:22.273Z] Scanning dependencies of target template [2021-04-19T18:43:22.273Z] [ 74%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-04-19T18:43:22.869Z] [ 76%] Linking C executable template [2021-04-19T18:43:22.869Z] [ 76%] Built target template [2021-04-19T18:43:22.869Z] Scanning dependencies of target device-counter [2021-04-19T18:43:22.869Z] [ 77%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-04-19T18:43:23.462Z] [ 79%] Linking C executable device-counter [2021-04-19T18:43:23.462Z] [ 79%] Built target device-counter [2021-04-19T18:43:23.462Z] Scanning dependencies of target device-random [2021-04-19T18:43:23.462Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-04-19T18:43:23.735Z] [ 83%] Linking C executable device-random [2021-04-19T18:43:24.006Z] [ 83%] Built target device-random [2021-04-19T18:43:24.006Z] Scanning dependencies of target device-gyro [2021-04-19T18:43:24.006Z] [ 84%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-04-19T18:43:24.278Z] [ 86%] Linking C executable device-gyro [2021-04-19T18:43:24.549Z] [ 86%] Built target device-gyro [2021-04-19T18:43:24.549Z] Scanning dependencies of target device-bitfields [2021-04-19T18:43:24.549Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-04-19T18:43:24.821Z] [ 89%] Linking C executable device-bitfields [2021-04-19T18:43:25.094Z] [ 89%] Built target device-bitfields [2021-04-19T18:43:25.094Z] Scanning dependencies of target template-discovery [2021-04-19T18:43:25.094Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-04-19T18:43:25.367Z] [ 93%] Linking C executable template-discovery [2021-04-19T18:43:25.639Z] [ 93%] Built target template-discovery [2021-04-19T18:43:25.639Z] Scanning dependencies of target device-file [2021-04-19T18:43:25.639Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-04-19T18:43:25.910Z] [ 96%] Linking C executable device-file [2021-04-19T18:43:26.183Z] [ 96%] Built target device-file [2021-04-19T18:43:26.183Z] Scanning dependencies of target device-terminal [2021-04-19T18:43:26.183Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-04-19T18:43:26.776Z] [100%] Linking C executable device-terminal [2021-04-19T18:43:26.776Z] [100%] Built target device-terminal [2021-04-19T18:43:26.776Z] make: Entering directory '/tmp/sdk/build/release' [2021-04-19T18:43:27.048Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-04-19T18:43:27.048Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-19T18:43:27.048Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-19T18:43:27.048Z] [ 72%] Built target csdk [2021-04-19T18:43:27.048Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-19T18:43:27.048Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-19T18:43:27.048Z] [ 76%] Built target template [2021-04-19T18:43:27.048Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-19T18:43:27.048Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-19T18:43:27.048Z] [ 79%] Built target device-counter [2021-04-19T18:43:27.048Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-19T18:43:27.048Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-19T18:43:27.048Z] [ 83%] Built target device-random [2021-04-19T18:43:27.320Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-19T18:43:27.320Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-19T18:43:27.320Z] [ 86%] Built target device-gyro [2021-04-19T18:43:27.320Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-19T18:43:27.320Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-19T18:43:27.320Z] [ 89%] Built target device-bitfields [2021-04-19T18:43:27.320Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-19T18:43:27.320Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-19T18:43:27.320Z] [ 93%] Built target template-discovery [2021-04-19T18:43:27.320Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-19T18:43:27.320Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-19T18:43:27.320Z] [ 96%] Built target device-file [2021-04-19T18:43:27.320Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-19T18:43:27.320Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-19T18:43:27.320Z] [100%] Built target device-terminal [2021-04-19T18:43:27.320Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-04-19T18:43:27.320Z] Install the project... [2021-04-19T18:43:27.320Z] -- Install configuration: "Release" [2021-04-19T18:43:27.320Z] -- Installing: /usr/local/lib/libcsdk.so [2021-04-19T18:43:27.594Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-04-19T18:43:27.594Z] -- Up-to-date: /usr/local/include [2021-04-19T18:43:27.594Z] -- Installing: /usr/local/include/edgex [2021-04-19T18:43:27.594Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-04-19T18:43:27.594Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-04-19T18:43:27.594Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-04-19T18:43:27.594Z] -- Installing: /usr/local/include/edgex/devices.h [2021-04-19T18:43:27.594Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-04-19T18:43:27.594Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-04-19T18:43:27.594Z] -- Installing: /usr/local/include/devsdk [2021-04-19T18:43:27.594Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-04-19T18:43:27.594Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-04-19T18:43:27.594Z] -- Installing: /usr/local/include/iot [2021-04-19T18:43:27.594Z] -- Installing: /usr/local/include/iot/json.h [2021-04-19T18:43:27.594Z] -- Installing: /usr/local/include/iot/container.h [2021-04-19T18:43:27.594Z] -- Installing: /usr/local/include/iot/component.h [2021-04-19T18:43:27.594Z] -- Installing: /usr/local/include/iot/typecode.h [2021-04-19T18:43:27.594Z] -- Installing: /usr/local/include/iot/iot.h [2021-04-19T18:43:27.594Z] -- Installing: /usr/local/include/iot/time.h [2021-04-19T18:43:27.594Z] -- Installing: /usr/local/include/iot/hash.h [2021-04-19T18:43:27.594Z] -- Installing: /usr/local/include/iot/logger.h [2021-04-19T18:43:27.594Z] -- Installing: /usr/local/include/iot/os [2021-04-19T18:43:27.594Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-04-19T18:43:27.594Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-04-19T18:43:27.594Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-04-19T18:43:27.594Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-04-19T18:43:27.594Z] -- Installing: /usr/local/include/iot/data.h [2021-04-19T18:43:27.594Z] -- Installing: /usr/local/include/iot/thread.h [2021-04-19T18:43:27.594Z] -- Installing: /usr/local/include/iot/os.h [2021-04-19T18:43:27.594Z] -- Installing: /usr/local/include/iot/base64.h [2021-04-19T18:43:27.594Z] -- Installing: /usr/local/include/iot/defs.h [2021-04-19T18:43:27.594Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-04-19T18:43:27.594Z] -- Installing: /usr/local/include/iot/config.h [2021-04-19T18:43:27.594Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-04-19T18:43:27.594Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-04-19T18:43:27.594Z] make: Leaving directory '/tmp/sdk/build/release' [2021-04-19T18:43:30.211Z] Removing intermediate container d121eb1a7bd5 [2021-04-19T18:43:30.211Z] ---> 8c9c1f4c7380 [2021-04-19T18:43:30.211Z] Step 14/21 : FROM ${BASE} [2021-04-19T18:43:30.211Z] ---> b23d30803547 [2021-04-19T18:43:30.211Z] Step 15/21 : LABEL maintainer="IOTech " [2021-04-19T18:43:30.211Z] ---> Running in 0c21ba01abc4 [2021-04-19T18:43:30.211Z] Removing intermediate container 0c21ba01abc4 [2021-04-19T18:43:30.211Z] ---> 6d1bbadd1d0d [2021-04-19T18:43:30.211Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2021-04-19T18:43:30.485Z] ---> Running in 43681ba7d911 [2021-04-19T18:43:31.470Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-04-19T18:43:32.448Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-04-19T18:43:33.441Z] (1/3) Installing curl (7.64.0-r5) [2021-04-19T18:43:33.441Z] (2/3) Installing libuuid (2.33-r0) [2021-04-19T18:43:33.441Z] (3/3) Installing wget (1.20.3-r0) [2021-04-19T18:43:33.715Z] Executing busybox-1.29.3-r10.trigger [2021-04-19T18:43:33.715Z] OK: 281 MiB in 78 packages [2021-04-19T18:43:35.150Z] Removing intermediate container 43681ba7d911 [2021-04-19T18:43:35.150Z] ---> e98e610e705c [2021-04-19T18:43:35.150Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-04-19T18:43:35.744Z] ---> 79fbacfaf2bf [2021-04-19T18:43:35.744Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-04-19T18:43:36.340Z] ---> 19d65ba48556 [2021-04-19T18:43:36.340Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-04-19T18:43:36.936Z] ---> 1404521a0b39 [2021-04-19T18:43:36.936Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-04-19T18:43:37.922Z] ---> f4f5d3b539f4 [2021-04-19T18:43:37.922Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-04-19T18:43:38.516Z] ---> 6551fbba9210 [2021-04-19T18:43:38.516Z] Successfully built 6551fbba9210 [2021-04-19T18:43:38.787Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:43:39.410Z] + docker inspect -f . ci-base-image-arm64 [2021-04-19T18:43:39.410Z] . [Pipeline] withDockerContainer [2021-04-19T18:43:39.682Z] prd-ubuntu18.04-docker-arm64-4c-16g-882 does not seem to be running inside a container [2021-04-19T18:43:39.771Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-19T18:43:41.274Z] $ docker top f149b55e39983e14e4663b1a98e1fa04432e51d03ff6da69d10bf80070315b1f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T18:43:42.241Z] + make test [2021-04-19T18:43:42.241Z] echo "make test" [2021-04-19T18:43:42.241Z] make test [Pipeline] } [2021-04-19T18:43:42.284Z] $ docker stop --time=1 f149b55e39983e14e4663b1a98e1fa04432e51d03ff6da69d10bf80070315b1f [2021-04-19T18:43:44.217Z] $ docker rm -f f149b55e39983e14e4663b1a98e1fa04432e51d03ff6da69d10bf80070315b1f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T18:43:45.147Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-19T18:43:45.512Z] + ls -al . [2021-04-19T18:43:45.512Z] total 192 [2021-04-19T18:43:45.512Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 18:40 . [2021-04-19T18:43:45.512Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 18:40 .. [2021-04-19T18:43:45.512Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 18:40 .git [2021-04-19T18:43:45.512Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 18:40 .github [2021-04-19T18:43:45.512Z] -rw-rw-r-- 1 jenkins jenkins 176 Apr 19 18:40 .gitignore [2021-04-19T18:43:45.512Z] -rw-rw-r-- 1 jenkins jenkins 3104 Apr 19 18:40 Attribution.txt [2021-04-19T18:43:45.512Z] -rw-rw-r-- 1 jenkins jenkins 6927 Apr 19 18:40 CHANGES [2021-04-19T18:43:45.512Z] -rw-rw-r-- 1 jenkins jenkins 108574 Apr 19 18:40 Doxyfile [2021-04-19T18:43:45.512Z] -rw-rw-r-- 1 jenkins jenkins 784 Apr 19 18:40 Jenkinsfile [2021-04-19T18:43:45.512Z] -rw-rw-r-- 1 jenkins jenkins 10174 Apr 19 18:40 LICENSE [2021-04-19T18:43:45.512Z] -rw-rw-r-- 1 jenkins jenkins 444 Apr 19 18:40 Makefile [2021-04-19T18:43:45.512Z] -rw-rw-r-- 1 jenkins jenkins 4008 Apr 19 18:40 README.md [2021-04-19T18:43:45.512Z] -rw-rw-r-- 1 jenkins jenkins 6654 Apr 19 18:40 README.v2.md [2021-04-19T18:43:45.512Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 18:37 VERSION [2021-04-19T18:43:45.512Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 18:40 docs [2021-04-19T18:43:45.512Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 18:40 include [2021-04-19T18:43:45.512Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 18:40 scripts [2021-04-19T18:43:45.512Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 18:40 src [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:43:45.893Z] + 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=ffca8a7f173e4af129b56382ea7724f2eb516e06 --label arch=arm64 --label version=0.0.0 . [2021-04-19T18:43:46.495Z] Sending build context to Docker daemon 2.352MB [2021-04-19T18:43:46.495Z] Step 1/15 : ARG BASE=alpine:3.12 [2021-04-19T18:43:46.495Z] Step 2/15 : FROM ${BASE} [2021-04-19T18:43:46.495Z] ---> 6551fbba9210 [2021-04-19T18:43:46.495Z] Step 3/15 : LABEL maintainer="IOTech " [2021-04-19T18:43:46.495Z] ---> Running in 3e99555884da [2021-04-19T18:43:47.102Z] Removing intermediate container 3e99555884da [2021-04-19T18:43:47.102Z] ---> 27a17a04b2a6 [2021-04-19T18:43:47.102Z] Step 4/15 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev && mkdir -p /edgex-c-sdk/build [2021-04-19T18:43:47.392Z] ---> Running in 425b43327592 [2021-04-19T18:43:48.380Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-04-19T18:43:49.811Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-04-19T18:43:50.085Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-04-19T18:43:50.359Z] (2/6) Installing libblkid (2.33-r0) [2021-04-19T18:43:50.359Z] (3/6) Installing libfdisk (2.33-r0) [2021-04-19T18:43:50.359Z] (4/6) Installing libmount (2.33-r0) [2021-04-19T18:43:50.631Z] (5/6) Installing libsmartcols (2.33-r0) [2021-04-19T18:43:50.631Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-04-19T18:43:50.907Z] Executing busybox-1.29.3-r10.trigger [2021-04-19T18:43:50.907Z] OK: 286 MiB in 84 packages [2021-04-19T18:43:52.347Z] Removing intermediate container 425b43327592 [2021-04-19T18:43:52.347Z] ---> 4eba2f0cf976 [2021-04-19T18:43:52.347Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2021-04-19T18:43:52.945Z] ---> 60089cad9fe1 [2021-04-19T18:43:52.945Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2021-04-19T18:43:53.924Z] ---> b3405e631c1f [2021-04-19T18:43:53.924Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2021-04-19T18:43:54.904Z] ---> c7d465e84b34 [2021-04-19T18:43:54.904Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2021-04-19T18:43:55.501Z] ---> 764027f5290a [2021-04-19T18:43:55.501Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2021-04-19T18:43:56.099Z] ---> 963ab52c494e [2021-04-19T18:43:56.099Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2021-04-19T18:43:56.785Z] ---> 59e0a7a23899 [2021-04-19T18:43:56.785Z] Step 11/15 : WORKDIR /edgex-c-sdk [2021-04-19T18:43:57.058Z] ---> Running in cd7e91f85e6d [2021-04-19T18:43:57.657Z] Removing intermediate container cd7e91f85e6d [2021-04-19T18:43:57.657Z] ---> 0cc4564a8b7c [2021-04-19T18:43:57.657Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-04-19T18:43:57.657Z] ---> Running in 05b8435f81fa [2021-04-19T18:43:58.256Z] Removing intermediate container 05b8435f81fa [2021-04-19T18:43:58.256Z] ---> eb38d0a755d2 [2021-04-19T18:43:58.256Z] Step 13/15 : LABEL arch=arm64 [2021-04-19T18:43:58.256Z] ---> Running in ba655d400ddc [2021-04-19T18:43:58.852Z] Removing intermediate container ba655d400ddc [2021-04-19T18:43:58.852Z] ---> 7d7fa359b168 [2021-04-19T18:43:58.852Z] Step 14/15 : LABEL git_sha=ffca8a7f173e4af129b56382ea7724f2eb516e06 [2021-04-19T18:43:58.852Z] ---> Running in 93d72b55b52f [2021-04-19T18:43:59.448Z] Removing intermediate container 93d72b55b52f [2021-04-19T18:43:59.448Z] ---> fb52649cca34 [2021-04-19T18:43:59.448Z] Step 15/15 : LABEL version=0.0.0 [2021-04-19T18:43:59.448Z] ---> Running in 18691b02fa4f [2021-04-19T18:44:00.041Z] Removing intermediate container 18691b02fa4f [2021-04-19T18:44:00.041Z] ---> f0865c64ec95 [2021-04-19T18:44:00.041Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-19T18:44:00.041Z] Successfully built f0865c64ec95 [2021-04-19T18:44:00.041Z] Successfully tagged docker-device-sdk-c-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:44:01.722Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:44:02.418Z] ---> package-listing.sh [2021-04-19T18:44:02.418Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-19T18:44:02.418Z] ++ facter osfamily [2021-04-19T18:44:02.418Z] + OS_FAMILY=redhat [2021-04-19T18:44:02.418Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-341 [2021-04-19T18:44:02.418Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-19T18:44:02.418Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-19T18:44:02.418Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-19T18:44:02.418Z] + PACKAGES=/tmp/packages_start.txt [2021-04-19T18:44:02.418Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-341 ']' [2021-04-19T18:44:02.418Z] + PACKAGES=/tmp/packages_end.txt [2021-04-19T18:44:02.418Z] + case "${OS_FAMILY}" in [2021-04-19T18:44:02.418Z] + rpm -qa [2021-04-19T18:44:02.418Z] + sort [2021-04-19T18:44:07.777Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-19T18:44:07.777Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-19T18:44:07.777Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-19T18:44:07.777Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-341 ']' [2021-04-19T18:44:07.777Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-341/archives/ [2021-04-19T18:44:07.777Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-341/archives/ [Pipeline] echo [2021-04-19T18:44:07.816Z] 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-341/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-19T18:44:08.146Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:44:08.493Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-19T18:44:08.493Z] [2021-04-19T18:44:08.493Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:44:08.846Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-19T18:44:08.846Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-19T18:44:08.846Z] df20fa9351a1: Pulling fs layer [2021-04-19T18:44:08.846Z] 36b3adc4ff6f: Pulling fs layer [2021-04-19T18:44:08.846Z] 8ad3a11d3b57: Pulling fs layer [2021-04-19T18:44:08.846Z] 46f8f816bc3b: Pulling fs layer [2021-04-19T18:44:08.846Z] 93b61091891f: Pulling fs layer [2021-04-19T18:44:08.846Z] 93b9cdb0e59b: Pulling fs layer [2021-04-19T18:44:08.846Z] 5e14af77c1be: Pulling fs layer [2021-04-19T18:44:08.846Z] 01666e4c0597: Pulling fs layer [2021-04-19T18:44:08.846Z] aa168da1d23b: Pulling fs layer [2021-04-19T18:44:08.846Z] 46f8f816bc3b: Waiting [2021-04-19T18:44:08.846Z] 93b9cdb0e59b: Waiting [2021-04-19T18:44:08.846Z] 5e14af77c1be: Waiting [2021-04-19T18:44:08.846Z] 01666e4c0597: Waiting [2021-04-19T18:44:08.846Z] aa168da1d23b: Waiting [2021-04-19T18:44:08.846Z] 36b3adc4ff6f: Download complete [2021-04-19T18:44:08.846Z] 46f8f816bc3b: Verifying Checksum [2021-04-19T18:44:08.846Z] 46f8f816bc3b: Download complete [2021-04-19T18:44:08.846Z] df20fa9351a1: Download complete [2021-04-19T18:44:09.115Z] 93b9cdb0e59b: Verifying Checksum [2021-04-19T18:44:09.115Z] 93b9cdb0e59b: Download complete [2021-04-19T18:44:09.115Z] 5e14af77c1be: Verifying Checksum [2021-04-19T18:44:09.115Z] 5e14af77c1be: Download complete [2021-04-19T18:44:09.115Z] 01666e4c0597: Verifying Checksum [2021-04-19T18:44:09.115Z] 01666e4c0597: Download complete [2021-04-19T18:44:09.115Z] 93b61091891f: Verifying Checksum [2021-04-19T18:44:09.115Z] 93b61091891f: Download complete [2021-04-19T18:44:09.115Z] 8ad3a11d3b57: Verifying Checksum [2021-04-19T18:44:09.115Z] 8ad3a11d3b57: Download complete [2021-04-19T18:44:09.379Z] df20fa9351a1: Pull complete [2021-04-19T18:44:09.646Z] 36b3adc4ff6f: Pull complete [2021-04-19T18:44:10.230Z] 8ad3a11d3b57: Pull complete [2021-04-19T18:44:10.522Z] 46f8f816bc3b: Pull complete [2021-04-19T18:44:11.107Z] 93b61091891f: Pull complete [2021-04-19T18:44:11.370Z] 93b9cdb0e59b: Pull complete [2021-04-19T18:44:11.370Z] aa168da1d23b: Verifying Checksum [2021-04-19T18:44:11.370Z] aa168da1d23b: Download complete [2021-04-19T18:44:11.635Z] 5e14af77c1be: Pull complete [2021-04-19T18:44:11.635Z] 01666e4c0597: Pull complete [2021-04-19T18:44:19.812Z] aa168da1d23b: Pull complete [2021-04-19T18:44:19.812Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-19T18:44:19.812Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-19T18:44:19.812Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-19T18:44:19.975Z] prd-centos7-docker-4c-2g-869 does not seem to be running inside a container [2021-04-19T18:44:20.030Z] $ 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-341/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-341 -v /w/workspace/edgexfoundry_device-sdk-c_PR-341:/w/workspace/edgexfoundry_device-sdk-c_PR-341:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-341@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-341@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-19T18:44:23.113Z] $ docker top 881b92deb78283604f2b8e1ebae2a7d7cac223f4f3377d8cf8489a591aa38b64 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T18:44:23.626Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-19T18:44:23.953Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-19T18:44:24.278Z] + ls /var/log/sa-host [2021-04-19T18:44:24.278Z] + sadf -c /var/log/sa-host/sa19 [2021-04-19T18:44:24.278Z] file_magic: OK [2021-04-19T18:44:24.278Z] HZ: Using current value: 100 [2021-04-19T18:44:24.278Z] file_header: OK [2021-04-19T18:44:24.278Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-04-19T18:44:24.278Z] Statistics: [2021-04-19T18:44:24.278Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-19T18:44:24.278Z] File successfully converted to sysstat format version 12.2.1 [2021-04-19T18:44:24.278Z] + sadf -c /var/log/sa-host/sa23 [2021-04-19T18:44:24.278Z] file_magic: OK [2021-04-19T18:44:24.278Z] HZ: Using current value: 100 [2021-04-19T18:44:24.278Z] file_header: OK [2021-04-19T18:44:24.278Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-04-19T18:44:24.278Z] Statistics: [2021-04-19T18:44:24.278Z] Hnuu...uuuununununu... [2021-04-19T18:44:24.278Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-19T18:44:24.494Z] provisioning config files... [2021-04-19T18:44:24.513Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-341@tmp/config5323461690195926952tmp [Pipeline] { [Pipeline] echo [2021-04-19T18:44:24.565Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:44:24.907Z] ---> create-netrc.sh [Pipeline] } [2021-04-19T18:44:24.964Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-19T18:44:25.054Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:44:25.409Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-19T18:44:25.440Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:44:25.780Z] ---> sudo-logs.sh [2021-04-19T18:44:25.780Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-19T18:44:25.873Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:44:26.219Z] ---> job-cost.sh [2021-04-19T18:44:26.219Z] lf-activate-venv: SKIPPING [2021-04-19T18:44:26.219Z] INFO: No Stack... [2021-04-19T18:44:27.613Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-19T18:44:27.877Z] INFO: Archiving Costs [Pipeline] echo [2021-04-19T18:44:27.916Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:44:28.250Z] ---> logs-deploy.sh [2021-04-19T18:44:28.250Z] lf-activate-venv: SKIPPING [2021-04-19T18:44:28.250Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-341/1 [2021-04-19T18:44:28.250Z] INFO: archiving workspace using pattern(s): [2021-04-19T18:44:30.175Z] Archives upload complete. [2021-04-19T18:44:30.175Z] INFO: archiving logs to Nexus