Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f+1a58ea05ec7eb3db9f90d47fb79c2f2571766c40 (998ad8209e67abfe5c64ae7d183290b227e6a32b) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-c DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1059 in /w/workspace/edgexfoundry_device-sdk-c_PR-336 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-336 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 1a58ea05ec7eb3db9f90d47fb79c2f2571766c40 into PR head commit 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f Merge succeeded, producing 3368c6102e343318f874eea1e60513bd5090189e Checking out Revision 3368c6102e343318f874eea1e60513bd5090189e (PR-336) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/336/head:refs/remotes/origin/PR-336 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f # 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 1a58ea05ec7eb3db9f90d47fb79c2f2571766c40 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3368c6102e343318f874eea1e60513bd5090189e # timeout=10 Commit message: "Merge commit '1a58ea05ec7eb3db9f90d47fb79c2f2571766c40' into HEAD" > git rev-list --no-walk 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-20T02:55:37.346Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-20T02:55:37.443Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-20T02:55:37.467Z] ========================================================= [2021-04-20T02:55:37.467Z] EdgeX Global Pipelines Version Info [2021-04-20T02:55:37.467Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-20T02:55:39.084Z] ------------------- [2021-04-20T02:55:39.084Z] stable info: [2021-04-20T02:55:39.084Z] ------------------- [2021-04-20T02:55:39.084Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-20T02:55:39.084Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-20T02:55:39.084Z] Message: update stable to v1.0.186 [2021-04-20T02:55:40.032Z] ------------------- [2021-04-20T02:55:40.032Z] experimental info: [2021-04-20T02:55:40.032Z] ------------------- [2021-04-20T02:55:40.032Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-20T02:55:40.032Z] Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 [2021-04-20T02:55:40.032Z] Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-20T02:55:40.153Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-04-20T02:55:40.197Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-04-20T02:55:40.217Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-20T02:55:40.238Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-20T02:55:40.277Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-20T02:55:40.297Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-04-20T02:55:40.318Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-04-20T02:55:40.355Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-04-20T02:55:40.377Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-20T02:55:40.397Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-c [Pipeline] echo [2021-04-20T02:55:40.435Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-20T02:55:40.461Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-20T02:55:40.482Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-20T02:55:40.521Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-20T02:55:40.543Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-20T02:55:40.566Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-20T02:55:40.606Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-20T02:55:40.627Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-336 [Pipeline] echo [2021-04-20T02:55:40.647Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-336 [Pipeline] echo [2021-04-20T02:55:40.684Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-336 [Pipeline] echo [2021-04-20T02:55:40.707Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3368c6102e343318f874eea1e60513bd5090189e [Pipeline] echo [2021-04-20T02:55:40.728Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3368c61 [Pipeline] echo [2021-04-20T02:55:40.768Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-20T02:55:40.837Z] provisioning config files... [2021-04-20T02:55:40.872Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp/config8499560084183604972tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-20T02:55:41.190Z] ---> docker-login.sh [2021-04-20T02:55:41.190Z] nexus3.edgexfoundry.org:10001 [2021-04-20T02:55:41.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T02:55:41.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T02:55:41.718Z] Configure a credential helper to remove this warning. See [2021-04-20T02:55:41.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T02:55:41.718Z] [2021-04-20T02:55:41.718Z] Login Succeeded [2021-04-20T02:55:41.718Z] nexus3.edgexfoundry.org:10002 [2021-04-20T02:55:41.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T02:55:41.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T02:55:41.980Z] Configure a credential helper to remove this warning. See [2021-04-20T02:55:41.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T02:55:41.980Z] [2021-04-20T02:55:41.980Z] Login Succeeded [2021-04-20T02:55:41.980Z] nexus3.edgexfoundry.org:10003 [2021-04-20T02:55:41.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T02:55:41.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T02:55:41.980Z] Configure a credential helper to remove this warning. See [2021-04-20T02:55:41.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T02:55:41.980Z] [2021-04-20T02:55:41.980Z] Login Succeeded [2021-04-20T02:55:41.980Z] nexus3.edgexfoundry.org:10004 [2021-04-20T02:55:42.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T02:55:42.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T02:55:42.243Z] Configure a credential helper to remove this warning. See [2021-04-20T02:55:42.243Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T02:55:42.243Z] [2021-04-20T02:55:42.243Z] Login Succeeded [2021-04-20T02:55:42.243Z] docker.io [2021-04-20T02:55:42.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T02:55:42.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T02:55:42.505Z] Configure a credential helper to remove this warning. See [2021-04-20T02:55:42.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T02:55:42.505Z] [2021-04-20T02:55:42.505Z] Login Succeeded [2021-04-20T02:55:42.505Z] ---> docker-login.sh ends [Pipeline] } [2021-04-20T02:55:42.514Z] 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-20T02:55:43.860Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-20T02:55:43.860Z] [2021-04-20T02:55:43.860Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-20T02:55:44.188Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-20T02:55:44.188Z] latest: Pulling from edgex-devops/git-semver [2021-04-20T02:55:44.188Z] 31603596830f: Pulling fs layer [2021-04-20T02:55:44.188Z] 2a8b12db71e7: Pulling fs layer [2021-04-20T02:55:44.188Z] 6ca5941a6612: Pulling fs layer [2021-04-20T02:55:44.188Z] ecc8261a40a4: Pulling fs layer [2021-04-20T02:55:44.188Z] ecc8261a40a4: Waiting [2021-04-20T02:55:44.188Z] 2a8b12db71e7: Verifying Checksum [2021-04-20T02:55:44.188Z] 2a8b12db71e7: Download complete [2021-04-20T02:55:44.188Z] 31603596830f: Verifying Checksum [2021-04-20T02:55:44.188Z] 31603596830f: Download complete [2021-04-20T02:55:44.452Z] 6ca5941a6612: Verifying Checksum [2021-04-20T02:55:44.452Z] 6ca5941a6612: Download complete [2021-04-20T02:55:44.452Z] ecc8261a40a4: Verifying Checksum [2021-04-20T02:55:44.452Z] ecc8261a40a4: Download complete [2021-04-20T02:55:44.713Z] 31603596830f: Pull complete [2021-04-20T02:55:44.713Z] 2a8b12db71e7: Pull complete [2021-04-20T02:55:45.661Z] 6ca5941a6612: Pull complete [2021-04-20T02:55:45.924Z] ecc8261a40a4: Pull complete [2021-04-20T02:55:45.924Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-20T02:55:45.924Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-20T02:55:45.924Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-20T02:55:46.040Z] prd-centos7-docker-4c-2g-1059 does not seem to be running inside a container [2021-04-20T02:55:46.086Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-336 -v /w/workspace/edgexfoundry_device-sdk-c_PR-336:/w/workspace/edgexfoundry_device-sdk-c_PR-336:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-20T02:55:48.405Z] $ docker top 5265bd64a6ff781eb02e68e24757f550856b4e761ed4588c9eb7227c960e57f9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-20T02:55:48.547Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-20T02:55:48.547Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-20T02:55:48.755Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-20T02:55:48.759Z] $ docker exec 5265bd64a6ff781eb02e68e24757f550856b4e761ed4588c9eb7227c960e57f9 ssh-agent [2021-04-20T02:55:48.942Z] SSH_AUTH_SOCK=/tmp/ssh-NlJGsxUk8BiE/agent.12 [2021-04-20T02:55:48.942Z] SSH_AGENT_PID=17 [2021-04-20T02:55:48.951Z] Running ssh-add (command line suppressed) [2021-04-20T02:55:49.070Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp/private_key_4135414449028416747.key (/w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp/private_key_4135414449028416747.key) [2021-04-20T02:55:49.123Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-20T02:55:49.425Z] + git tag --points-at HEAD [Pipeline] } [2021-04-20T02:55:49.487Z] $ docker exec --env ******** --env ******** 5265bd64a6ff781eb02e68e24757f550856b4e761ed4588c9eb7227c960e57f9 ssh-agent -k [2021-04-20T02:55:49.617Z] unset SSH_AUTH_SOCK; [2021-04-20T02:55:49.617Z] unset SSH_AGENT_PID; [2021-04-20T02:55:49.618Z] echo Agent pid 17 killed; [2021-04-20T02:55:49.668Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-20T02:55:49.701Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-20T02:55:49.701Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-20T02:55:49.888Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-20T02:55:49.891Z] $ docker exec 5265bd64a6ff781eb02e68e24757f550856b4e761ed4588c9eb7227c960e57f9 ssh-agent [2021-04-20T02:55:50.054Z] SSH_AUTH_SOCK=/tmp/ssh-Db0iTjjHArwF/agent.48 [2021-04-20T02:55:50.054Z] SSH_AGENT_PID=53 [2021-04-20T02:55:50.060Z] Running ssh-add (command line suppressed) [2021-04-20T02:55:50.177Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp/private_key_3443768518940466295.key (/w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp/private_key_3443768518940466295.key) [2021-04-20T02:55:50.225Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-20T02:55:50.524Z] + git semver init [2021-04-20T02:55:50.524Z] # -> Open(): unable to determine branch for HEAD [2021-04-20T02:55:50.524Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-336/.git [2021-04-20T02:55:50.524Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-336 [2021-04-20T02:55:50.524Z] # $SEMVER_REMOTE_NAME = origin [2021-04-20T02:55:50.524Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-20T02:55:50.524Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-20T02:55:50.524Z] # $SEMVER_BRANCH = PR-336 [2021-04-20T02:55:50.524Z] # $SEMVER_TEMP = /tmp/semver-686995029 [2021-04-20T02:55:50.524Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-04-20T02:55:51.099Z] # '/tmp/semver-686995029' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-336/.semver' [2021-04-20T02:55:51.099Z] # -> Force: false [2021-04-20T02:55:51.099Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-336/.semver [Pipeline] } [2021-04-20T02:55:51.111Z] $ docker exec --env ******** --env ******** 5265bd64a6ff781eb02e68e24757f550856b4e761ed4588c9eb7227c960e57f9 ssh-agent -k [2021-04-20T02:55:51.226Z] unset SSH_AUTH_SOCK; [2021-04-20T02:55:51.226Z] unset SSH_AGENT_PID; [2021-04-20T02:55:51.226Z] echo Agent pid 53 killed; [2021-04-20T02:55:51.274Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-20T02:55:51.602Z] + git semver [Pipeline] } [2021-04-20T02:55:51.619Z] $ docker stop --time=1 5265bd64a6ff781eb02e68e24757f550856b4e761ed4588c9eb7227c960e57f9 [2021-04-20T02:55:53.022Z] $ docker rm -f 5265bd64a6ff781eb02e68e24757f550856b4e761ed4588c9eb7227c960e57f9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-20T02:55:53.416Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-20T02:55:53.713Z] Stashed 1 file(s) [Pipeline] echo [2021-04-20T02:55:53.716Z] [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-20T02:56:08.852Z] Still waiting to schedule task [2021-04-20T02:56:08.852Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1059’ [2021-04-20T02:56:08.855Z] Still waiting to schedule task [2021-04-20T02:56:08.855Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-04-20T02:58:04.010Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1060 in /w/workspace/edgexfoundry_device-sdk-c_PR-336 [Pipeline] { [Pipeline] ws [2021-04-20T02:58:04.030Z] Running in /w/workspace/device-sdk-c/4 [Pipeline] { [Pipeline] checkout [2021-04-20T02:58:09.410Z] using credential edgex-jenkins-ssh [2021-04-20T02:58:09.427Z] Cloning the remote Git repository [2021-04-20T02:58:09.475Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-04-20T02:58:09.576Z] > git init /w/workspace/device-sdk-c/4 # timeout=10 [2021-04-20T02:58:09.667Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-04-20T02:58:09.668Z] > git --version # timeout=10 [2021-04-20T02:58:09.689Z] > git --version # 'git version 2.17.1' [2021-04-20T02:58:09.692Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-20T02:58:09.744Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-20T02:58:11.541Z] Merging remotes/origin/master commit 1a58ea05ec7eb3db9f90d47fb79c2f2571766c40 into PR head commit 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f [2021-04-20T02:58:10.837Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-04-20T02:58:10.857Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-20T02:58:10.881Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-04-20T02:58:10.912Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-04-20T02:58:10.913Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-20T02:58:10.925Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/336/head:refs/remotes/origin/PR-336 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-20T02:58:11.560Z] > git config core.sparsecheckout # timeout=10 [2021-04-20T02:58:11.574Z] > git checkout -f 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f # timeout=10 [2021-04-20T02:58:11.682Z] > git remote # timeout=10 [2021-04-20T02:58:11.700Z] > git config --get remote.origin.url # timeout=10 [2021-04-20T02:58:11.712Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-20T02:58:11.722Z] > git merge 1a58ea05ec7eb3db9f90d47fb79c2f2571766c40 # timeout=10 [2021-04-20T02:58:11.838Z] Merge succeeded, producing 4f6c1f8649e74517d3ea15ebf2af0f5eac8ba7fb [2021-04-20T02:58:11.838Z] Checking out Revision 4f6c1f8649e74517d3ea15ebf2af0f5eac8ba7fb (PR-336) [2021-04-20T02:58:11.825Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-20T02:58:11.844Z] > git config core.sparsecheckout # timeout=10 [2021-04-20T02:58:11.857Z] > git checkout -f 4f6c1f8649e74517d3ea15ebf2af0f5eac8ba7fb # timeout=10 [2021-04-20T02:58:16.083Z] Commit message: "Merge commit '1a58ea05ec7eb3db9f90d47fb79c2f2571766c40' into HEAD" [2021-04-20T02:58:16.090Z] > git rev-list --no-walk 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-20T02:58:17.656Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-20T02:58:18.058Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-20T02:58:18.398Z] + sudo service docker restart [2021-04-20T02:58:18.398Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-20T02:58:21.067Z] provisioning config files... [2021-04-20T02:58:21.110Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/4@tmp/config512503850632679327tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-20T02:58:21.483Z] ---> docker-login.sh [2021-04-20T02:58:21.483Z] nexus3.edgexfoundry.org:10001 [2021-04-20T02:58:22.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T02:58:22.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T02:58:22.736Z] Configure a credential helper to remove this warning. See [2021-04-20T02:58:22.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T02:58:22.736Z] [2021-04-20T02:58:22.736Z] Login Succeeded [2021-04-20T02:58:22.736Z] nexus3.edgexfoundry.org:10002 [2021-04-20T02:58:23.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T02:58:23.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T02:58:23.280Z] Configure a credential helper to remove this warning. See [2021-04-20T02:58:23.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T02:58:23.281Z] [2021-04-20T02:58:23.281Z] Login Succeeded [2021-04-20T02:58:23.281Z] nexus3.edgexfoundry.org:10003 [2021-04-20T02:58:23.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T02:58:23.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T02:58:23.556Z] Configure a credential helper to remove this warning. See [2021-04-20T02:58:23.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T02:58:23.556Z] [2021-04-20T02:58:23.556Z] Login Succeeded [2021-04-20T02:58:23.556Z] nexus3.edgexfoundry.org:10004 [2021-04-20T02:58:24.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T02:58:24.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T02:58:24.152Z] Configure a credential helper to remove this warning. See [2021-04-20T02:58:24.152Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T02:58:24.152Z] [2021-04-20T02:58:24.152Z] Login Succeeded [2021-04-20T02:58:24.152Z] docker.io [2021-04-20T02:58:24.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T02:58:24.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T02:58:24.696Z] Configure a credential helper to remove this warning. See [2021-04-20T02:58:24.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T02:58:24.696Z] [2021-04-20T02:58:24.696Z] Login Succeeded [2021-04-20T02:58:24.696Z] ---> docker-login.sh ends [Pipeline] } [2021-04-20T02:58:24.714Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-20T02:58:24.989Z] ========================================================= [2021-04-20T02:58:24.989Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-04-20T02:58:24.989Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-20T02:58:25.328Z] + 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-20T02:58:25.929Z] Sending build context to Docker daemon 2.533MB [2021-04-20T02:58:25.929Z] Step 1/21 : ARG BASE=alpine:3.12 [2021-04-20T02:58:25.929Z] Step 2/21 : FROM ${BASE} as builder [2021-04-20T02:58:25.929Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-04-20T02:58:25.929Z] 0362ad1dd800: Pulling fs layer [2021-04-20T02:58:25.929Z] f2cdb1532d8b: Pulling fs layer [2021-04-20T02:58:25.929Z] 37ed683be191: Pulling fs layer [2021-04-20T02:58:25.929Z] f2cdb1532d8b: Verifying Checksum [2021-04-20T02:58:25.929Z] f2cdb1532d8b: Download complete [2021-04-20T02:58:26.203Z] 0362ad1dd800: Verifying Checksum [2021-04-20T02:58:26.203Z] 0362ad1dd800: Download complete [2021-04-20T02:58:26.804Z] 0362ad1dd800: Pull complete [2021-04-20T02:58:27.082Z] f2cdb1532d8b: Pull complete [2021-04-20T02:58:28.530Z] 37ed683be191: Verifying Checksum [2021-04-20T02:58:28.530Z] 37ed683be191: Download complete [2021-04-20T02:58:38.707Z] 37ed683be191: Pull complete [2021-04-20T02:58:38.707Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2021-04-20T02:58:38.707Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-04-20T02:58:38.707Z] ---> b23d30803547 [2021-04-20T02:58:38.707Z] 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-20T02:58:38.980Z] ---> Running in 2dfd1990ae24 [2021-04-20T02:58:40.409Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-04-20T02:58:41.006Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-04-20T02:58:41.982Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2021-04-20T02:58:41.982Z] (2/8) Installing libuuid (2.33-r0) [2021-04-20T02:58:41.982Z] (3/8) Installing libblkid (2.33-r0) [2021-04-20T02:58:42.251Z] (4/8) Installing libfdisk (2.33-r0) [2021-04-20T02:58:42.251Z] (5/8) Installing libmount (2.33-r0) [2021-04-20T02:58:42.251Z] (6/8) Installing libsmartcols (2.33-r0) [2021-04-20T02:58:42.523Z] (7/8) Installing util-linux-dev (2.33-r0) [2021-04-20T02:58:42.801Z] (8/8) Installing wget (1.20.3-r0) [2021-04-20T02:58:43.099Z] Executing busybox-1.29.3-r10.trigger [2021-04-20T02:58:43.099Z] OK: 285 MiB in 83 packages [2021-04-20T02:58:43.300Z] Running on prd-centos7-docker-4c-2g-1061 in /w/workspace/edgexfoundry_device-sdk-c_PR-336 [Pipeline] { [Pipeline] ws [2021-04-20T02:58:43.316Z] Running in /w/workspace/device-sdk-c/4 [Pipeline] { [Pipeline] checkout [2021-04-20T02:58:44.536Z] Removing intermediate container 2dfd1990ae24 [2021-04-20T02:58:44.536Z] ---> 7d59b74939c8 [2021-04-20T02:58:44.536Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2021-04-20T02:58:44.536Z] ---> Running in 7d1a68c7e92d [2021-04-20T02:58:44.809Z] Removing intermediate container 7d1a68c7e92d [2021-04-20T02:58:44.809Z] ---> 7bb0f25c9408 [2021-04-20T02:58:44.809Z] 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-20T02:58:45.082Z] ---> Running in 4b0ffb54d5f3 [2021-04-20T02:58:45.885Z] using credential edgex-jenkins-ssh [2021-04-20T02:58:45.897Z] Cloning the remote Git repository [2021-04-20T02:58:46.065Z] --2021-04-20 02:58:46-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-04-20T02:58:46.337Z] Resolving github.com... 140.82.112.3 [2021-04-20T02:58:46.337Z] Connecting to github.com|140.82.112.3|:443... connected. [2021-04-20T02:58:46.337Z] HTTP request sent, awaiting response... 302 Found [2021-04-20T02:58:46.337Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-04-20T02:58:46.337Z] --2021-04-20 02:58:46-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-04-20T02:58:46.337Z] Resolving codeload.github.com... 140.82.114.9 [2021-04-20T02:58:46.337Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-04-20T02:58:46.609Z] HTTP request sent, awaiting response... 200 OK [2021-04-20T02:58:46.609Z] Length: unspecified [application/x-gzip] [2021-04-20T02:58:46.609Z] Saving to: 'STDOUT' [2021-04-20T02:58:46.609Z]  [2021-04-20T02:58:46.609Z] 0K .......... .......... .......... .......... .......... 1.56M [2021-04-20T02:58:46.609Z] 50K .......... .......... .......... .......... .......... 2.91M [2021-04-20T02:58:46.609Z] 100K .......... .......... .......... .......... .......... 10.7M [2021-04-20T02:58:46.610Z] 150K .......... .......... .......... .......... .......... 5.10M [2021-04-20T02:58:46.610Z] 200K .......... .......... .......... .......... .......... 13.9M [2021-04-20T02:58:46.610Z] 250K .......... .......... .......... .......... .......... 2.73M [2021-04-20T02:58:46.610Z] 300K .......... .......... .......... .......... .......... 5.19M [2021-04-20T02:58:46.610Z] 350K .......... .......... .......... .......... .......... 5.61M [2021-04-20T02:58:46.610Z] 400K .......... .......... .......... .......... .......... 3.24M [2021-04-20T02:58:46.610Z] 450K .......... .......... .......... .......... .......... 3.50M [2021-04-20T02:58:46.610Z] 500K .......... .......... .......... .......... .......... 6.89M [2021-04-20T02:58:46.610Z] 550K .......... .......... .......... .......... .......... 2.83M [2021-04-20T02:58:46.610Z] 600K .......... .......... .......... .......... .......... 873K [2021-04-20T02:58:46.610Z] 650K .......... .......... .......... .......... .......... 2.06M [2021-04-20T02:58:46.610Z] 700K ..               995K=0.2s [2021-04-20T02:58:46.610Z] [2021-04-20T02:58:46.610Z] 2021-04-20 02:58:46 (2.88 MB/s) - written to stdout [719348] [2021-04-20T02:58:46.610Z] [2021-04-20T02:58:45.922Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-04-20T02:58:45.987Z] > git init /w/workspace/device-sdk-c/4 # timeout=10 [2021-04-20T02:58:46.048Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-04-20T02:58:46.049Z] > git --version # timeout=10 [2021-04-20T02:58:46.055Z] > git --version # 'git version 2.24.3' [2021-04-20T02:58:46.055Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-20T02:58:46.083Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-20T02:58:47.207Z] -- The C compiler identification is GNU 8.3.0 [2021-04-20T02:58:47.207Z] -- The CXX compiler identification is GNU 8.3.0 [2021-04-20T02:58:47.207Z] -- Check for working C compiler: /usr/bin/cc [2021-04-20T02:58:47.258Z] Merging remotes/origin/master commit 1a58ea05ec7eb3db9f90d47fb79c2f2571766c40 into PR head commit 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f [2021-04-20T02:58:47.429Z] Merge succeeded, producing 44033a8acd54ed9c354d9bd53853c00664285088 [2021-04-20T02:58:47.430Z] Checking out Revision 44033a8acd54ed9c354d9bd53853c00664285088 (PR-336) [2021-04-20T02:58:47.481Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-04-20T02:58:47.481Z] -- Detecting C compiler ABI info [2021-04-20T02:58:47.757Z] -- Detecting C compiler ABI info - done [2021-04-20T02:58:47.757Z] -- Detecting C compile features [2021-04-20T02:58:46.779Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-04-20T02:58:46.787Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-20T02:58:46.798Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-04-20T02:58:46.813Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-04-20T02:58:46.813Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-20T02:58:46.817Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/336/head:refs/remotes/origin/PR-336 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-20T02:58:47.268Z] > git config core.sparsecheckout # timeout=10 [2021-04-20T02:58:47.277Z] > git checkout -f 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f # timeout=10 [2021-04-20T02:58:47.344Z] > git remote # timeout=10 [2021-04-20T02:58:47.354Z] > git config --get remote.origin.url # timeout=10 [2021-04-20T02:58:47.361Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-20T02:58:47.368Z] > git merge 1a58ea05ec7eb3db9f90d47fb79c2f2571766c40 # timeout=10 [2021-04-20T02:58:47.420Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-20T02:58:47.434Z] > git config core.sparsecheckout # timeout=10 [2021-04-20T02:58:47.440Z] > git checkout -f 44033a8acd54ed9c354d9bd53853c00664285088 # timeout=10 [2021-04-20T02:58:48.736Z] -- Detecting C compile features - done [2021-04-20T02:58:48.736Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-04-20T02:58:48.736Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-04-20T02:58:48.736Z] -- Detecting CXX compiler ABI info [2021-04-20T02:58:49.012Z] -- Detecting CXX compiler ABI info - done [2021-04-20T02:58:49.012Z] -- Detecting CXX compile features [2021-04-20T02:58:50.447Z] -- Detecting CXX compile features - done [2021-04-20T02:58:50.718Z] -- Looking for include file endian.h [2021-04-20T02:58:50.718Z] -- Looking for include file endian.h - found [2021-04-20T02:58:50.718Z] -- Check if the system is big endian [2021-04-20T02:58:50.718Z] -- Searching 16 bit integer [2021-04-20T02:58:50.718Z] -- Looking for sys/types.h [2021-04-20T02:58:50.991Z] -- Looking for sys/types.h - found [2021-04-20T02:58:50.991Z] -- Looking for stdint.h [2021-04-20T02:58:51.019Z] Commit message: "Merge commit '1a58ea05ec7eb3db9f90d47fb79c2f2571766c40' into HEAD" [2021-04-20T02:58:51.023Z] > git rev-list --no-walk 5d9e0ef528d52de985d8f8fd8bf0c31ab6e0f15f # timeout=10 [2021-04-20T02:58:51.265Z] -- Looking for stdint.h - found [2021-04-20T02:58:51.265Z] -- Looking for stddef.h [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-20T02:58:51.541Z] -- Looking for stddef.h - found [2021-04-20T02:58:51.541Z] -- Check size of unsigned short [2021-04-20T02:58:51.816Z] -- Check size of unsigned short - done [2021-04-20T02:58:51.816Z] -- Using unsigned short [2021-04-20T02:58:52.077Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [2021-04-20T02:58:52.087Z] -- Check if the system is big endian - little endian [2021-04-20T02:58:52.087Z] -- Check size of size_t [Pipeline] sh [2021-04-20T02:58:52.359Z] -- Check size of size_t - done [2021-04-20T02:58:52.359Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-04-20T02:58:52.359Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-04-20T02:58:52.359Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-04-20T02:58:52.359Z] CMake did not find one. [2021-04-20T02:58:52.359Z] [2021-04-20T02:58:52.359Z] Could not find a package configuration file provided by "cJSON" with any of [2021-04-20T02:58:52.359Z] the following names: [2021-04-20T02:58:52.359Z] [2021-04-20T02:58:52.359Z] cJSONConfig.cmake [2021-04-20T02:58:52.359Z] cjson-config.cmake [2021-04-20T02:58:52.359Z] [2021-04-20T02:58:52.359Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-04-20T02:58:52.359Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-04-20T02:58:52.359Z] provides a separate development package or SDK, be sure it has been [2021-04-20T02:58:52.359Z] installed. [2021-04-20T02:58:52.359Z] [2021-04-20T02:58:52.359Z] [2021-04-20T02:58:52.359Z] -- Configuring done [2021-04-20T02:58:52.402Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-20T02:58:52.630Z] -- Generating done [2021-04-20T02:58:52.630Z] -- Build files have been written to: /tmp/cbor [2021-04-20T02:58:52.630Z] Scanning dependencies of target cbor_shared [2021-04-20T02:58:52.703Z] + sudo service docker restart [2021-04-20T02:58:52.703Z] + true [2021-04-20T02:58:52.703Z] Redirecting to /bin/systemctl restart docker.service [2021-04-20T02:58:52.902Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-04-20T02:58:53.492Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-04-20T02:58:54.086Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-20T02:58:54.120Z] provisioning config files... [2021-04-20T02:58:54.149Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/4@tmp/config8424584086535798935tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-20T02:58:54.358Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-04-20T02:58:54.478Z] ---> docker-login.sh [2021-04-20T02:58:54.478Z] nexus3.edgexfoundry.org:10001 [2021-04-20T02:58:54.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T02:58:54.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T02:58:54.739Z] Configure a credential helper to remove this warning. See [2021-04-20T02:58:54.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T02:58:54.739Z] [2021-04-20T02:58:54.739Z] Login Succeeded [2021-04-20T02:58:54.739Z] nexus3.edgexfoundry.org:10002 [2021-04-20T02:58:54.952Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-04-20T02:58:55.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T02:58:55.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T02:58:55.002Z] Configure a credential helper to remove this warning. See [2021-04-20T02:58:55.002Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T02:58:55.002Z] [2021-04-20T02:58:55.002Z] Login Succeeded [2021-04-20T02:58:55.002Z] nexus3.edgexfoundry.org:10003 [2021-04-20T02:58:55.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T02:58:55.225Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-04-20T02:58:55.225Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-04-20T02:58:55.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T02:58:55.264Z] Configure a credential helper to remove this warning. See [2021-04-20T02:58:55.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T02:58:55.264Z] [2021-04-20T02:58:55.264Z] Login Succeeded [2021-04-20T02:58:55.264Z] nexus3.edgexfoundry.org:10004 [2021-04-20T02:58:55.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T02:58:55.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T02:58:55.264Z] Configure a credential helper to remove this warning. See [2021-04-20T02:58:55.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T02:58:55.264Z] [2021-04-20T02:58:55.264Z] Login Succeeded [2021-04-20T02:58:55.264Z] docker.io [2021-04-20T02:58:55.495Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-04-20T02:58:55.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T02:58:55.767Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-04-20T02:58:55.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T02:58:55.789Z] Configure a credential helper to remove this warning. See [2021-04-20T02:58:55.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T02:58:55.789Z] [2021-04-20T02:58:55.789Z] Login Succeeded [2021-04-20T02:58:55.789Z] ---> docker-login.sh ends [Pipeline] } [2021-04-20T02:58:55.798Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-20T02:58:55.982Z] ========================================================= [2021-04-20T02:58:55.982Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-04-20T02:58:55.982Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-20T02:58:56.038Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-04-20T02:58:56.292Z] + 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-20T02:58:56.292Z] Sending build context to Docker daemon 2.534MB [2021-04-20T02:58:56.292Z] Step 1/21 : ARG BASE=alpine:3.12 [2021-04-20T02:58:56.292Z] Step 2/21 : FROM ${BASE} as builder [2021-04-20T02:58:56.556Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-04-20T02:58:56.556Z] e7c96db7181b: Pulling fs layer [2021-04-20T02:58:56.556Z] 4c13bbce0fe7: Pulling fs layer [2021-04-20T02:58:56.556Z] 6059c847ac2f: Pulling fs layer [2021-04-20T02:58:56.556Z] 4c13bbce0fe7: Download complete [2021-04-20T02:58:56.556Z] e7c96db7181b: Verifying Checksum [2021-04-20T02:58:56.556Z] e7c96db7181b: Download complete [2021-04-20T02:58:56.630Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-04-20T02:58:56.818Z] e7c96db7181b: Pull complete [2021-04-20T02:58:56.902Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-04-20T02:58:57.079Z] 4c13bbce0fe7: Pull complete [2021-04-20T02:58:57.175Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-04-20T02:58:57.447Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-04-20T02:58:57.720Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-04-20T02:58:57.991Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-04-20T02:58:58.024Z] 6059c847ac2f: Verifying Checksum [2021-04-20T02:58:58.024Z] 6059c847ac2f: Download complete [2021-04-20T02:58:58.267Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-04-20T02:58:58.540Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-04-20T02:58:58.814Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-04-20T02:58:59.087Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-04-20T02:58:59.359Z] [ 40%] Linking C shared library libcbor.so [2021-04-20T02:58:59.359Z] [ 40%] Built target cbor_shared [2021-04-20T02:58:59.359Z] Scanning dependencies of target cbor [2021-04-20T02:58:59.359Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-04-20T02:59:00.331Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-04-20T02:59:00.925Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-04-20T02:59:00.925Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-04-20T02:59:02.350Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-04-20T02:59:02.350Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-04-20T02:59:02.623Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-04-20T02:59:02.623Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-04-20T02:59:02.894Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-04-20T02:59:03.165Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-04-20T02:59:03.363Z] 6059c847ac2f: Pull complete [2021-04-20T02:59:03.363Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2021-04-20T02:59:03.363Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-04-20T02:59:03.363Z] ---> 5eabd8fd8ba2 [2021-04-20T02:59:03.363Z] 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-20T02:59:04.139Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-04-20T02:59:04.139Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-04-20T02:59:04.312Z] ---> Running in 6e4b82fe6cdd [2021-04-20T02:59:04.731Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-04-20T02:59:04.889Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-04-20T02:59:05.003Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-04-20T02:59:05.276Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-04-20T02:59:05.548Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-04-20T02:59:05.820Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-04-20T02:59:05.835Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-04-20T02:59:06.094Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-04-20T02:59:06.094Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-04-20T02:59:06.096Z] (1/8) Installing ncurses-dev (6.1_p20190105-r0) [2021-04-20T02:59:06.096Z] (2/8) Installing libuuid (2.33-r0) [2021-04-20T02:59:06.358Z] (3/8) Installing libblkid (2.33-r0) [2021-04-20T02:59:06.358Z] (4/8) Installing libfdisk (2.33-r0) [2021-04-20T02:59:06.358Z] (5/8) Installing libmount (2.33-r0) [2021-04-20T02:59:06.624Z] (6/8) Installing libsmartcols (2.33-r0) [2021-04-20T02:59:06.624Z] (7/8) Installing util-linux-dev (2.33-r0) [2021-04-20T02:59:06.688Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-04-20T02:59:06.688Z] [ 80%] Linking C static library libcbor.a [2021-04-20T02:59:06.688Z] [ 80%] Built target cbor [2021-04-20T02:59:06.688Z] Scanning dependencies of target create_items [2021-04-20T02:59:06.897Z] (8/8) Installing wget (1.20.3-r0) [2021-04-20T02:59:06.998Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-04-20T02:59:06.998Z] [ 84%] Linking C executable create_items [2021-04-20T02:59:06.998Z] [ 84%] Built target create_items [2021-04-20T02:59:06.998Z] Scanning dependencies of target readfile [2021-04-20T02:59:07.159Z] Executing busybox-1.29.3-r10.trigger [2021-04-20T02:59:07.159Z] OK: 272 MiB in 83 packages [2021-04-20T02:59:07.270Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-04-20T02:59:07.270Z] [ 88%] Linking C executable readfile [2021-04-20T02:59:07.542Z] [ 88%] Built target readfile [2021-04-20T02:59:07.542Z] Scanning dependencies of target streaming_parser [2021-04-20T02:59:07.542Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-04-20T02:59:07.814Z] [ 92%] Linking C executable streaming_parser [2021-04-20T02:59:07.814Z] [ 92%] Built target streaming_parser [2021-04-20T02:59:07.814Z] Scanning dependencies of target sort [2021-04-20T02:59:07.814Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-04-20T02:59:08.085Z] [ 96%] Linking C executable sort [2021-04-20T02:59:08.085Z] [ 96%] Built target sort [2021-04-20T02:59:08.085Z] Scanning dependencies of target hello [2021-04-20T02:59:08.085Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-04-20T02:59:08.110Z] Removing intermediate container 6e4b82fe6cdd [2021-04-20T02:59:08.111Z] ---> 95b0058f84c3 [2021-04-20T02:59:08.111Z] Step 4/21 : ENV CBOR_VERSION=0.5.0 [2021-04-20T02:59:08.111Z] ---> Running in f4f23b6c18bf [2021-04-20T02:59:08.111Z] Removing intermediate container f4f23b6c18bf [2021-04-20T02:59:08.111Z] ---> 027e0d817f08 [2021-04-20T02:59:08.111Z] 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-20T02:59:08.111Z] ---> Running in 5cb0b095a355 [2021-04-20T02:59:08.357Z] [100%] Linking C executable hello [2021-04-20T02:59:08.357Z] [100%] Built target hello [2021-04-20T02:59:08.357Z] Install the project... [2021-04-20T02:59:08.357Z] -- Install configuration: "Release" [2021-04-20T02:59:08.357Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-04-20T02:59:08.357Z] -- Installing: /usr/local/lib64/libcbor.a [2021-04-20T02:59:08.357Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-04-20T02:59:08.357Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-04-20T02:59:08.357Z] -- Installing: /usr/local/lib64/libcbor.so [2021-04-20T02:59:08.357Z] -- Up-to-date: /usr/local/include/cbor [2021-04-20T02:59:08.357Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-04-20T02:59:08.357Z] -- Installing: /usr/local/include/cbor/ints.h [2021-04-20T02:59:08.357Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-04-20T02:59:08.357Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-04-20T02:59:08.357Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-04-20T02:59:08.357Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-04-20T02:59:08.357Z] -- Installing: /usr/local/include/cbor/data.h [2021-04-20T02:59:08.357Z] -- Installing: /usr/local/include/cbor/common.h [2021-04-20T02:59:08.357Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-04-20T02:59:08.357Z] -- Installing: /usr/local/include/cbor/strings.h [2021-04-20T02:59:08.357Z] -- Installing: /usr/local/include/cbor/tags.h [2021-04-20T02:59:08.357Z] -- Installing: /usr/local/include/cbor/internal [2021-04-20T02:59:08.357Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-04-20T02:59:08.357Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-04-20T02:59:08.357Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-04-20T02:59:08.357Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-04-20T02:59:08.357Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-04-20T02:59:08.357Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-04-20T02:59:08.357Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-04-20T02:59:08.357Z] -- Installing: /usr/local/include/cbor/maps.h [2021-04-20T02:59:08.357Z] -- Installing: /usr/local/include/cbor.h [2021-04-20T02:59:08.357Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-04-20T02:59:08.684Z] --2021-04-20 02:59:08-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-04-20T02:59:08.684Z] Resolving github.com... 140.82.112.3 [2021-04-20T02:59:08.684Z] Connecting to github.com|140.82.112.3|:443... connected. [2021-04-20T02:59:08.684Z] HTTP request sent, awaiting response... 302 Found [2021-04-20T02:59:08.684Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-04-20T02:59:08.684Z] --2021-04-20 02:59:08-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-04-20T02:59:08.684Z] Resolving codeload.github.com... 140.82.114.9 [2021-04-20T02:59:08.684Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-04-20T02:59:08.948Z] HTTP request sent, awaiting response... 200 OK [2021-04-20T02:59:08.948Z] Length: unspecified [application/x-gzip] [2021-04-20T02:59:08.948Z] Saving to: 'STDOUT' [2021-04-20T02:59:08.948Z] [2021-04-20T02:59:08.948Z] 0K .......... .......... .......... .......... .......... 1.62M [2021-04-20T02:59:08.948Z] 50K .......... .......... .......... .......... .......... 3.25M [2021-04-20T02:59:08.948Z] 100K .......... .......... .......... .......... .......... 23.7M [2021-04-20T02:59:08.948Z] 150K .......... .......... .......... .......... .......... 3.70M [2021-04-20T02:59:08.948Z] 200K .......... .......... .......... .......... .......... 19.8M [2021-04-20T02:59:08.948Z] 250K .......... .......... .......... .......... .......... 11.4M [2021-04-20T02:59:08.948Z] 300K .......... .......... .......... .......... .......... 7.83M [2021-04-20T02:59:08.948Z] 350K .......... .......... .......... .......... .......... 7.19M [2021-04-20T02:59:08.948Z] 400K .......... .......... .......... .......... .......... 6.21M [2021-04-20T02:59:08.948Z] 450K .......... .......... .......... .......... .......... 8.92M [2021-04-20T02:59:08.948Z] 500K .......... .......... .......... .......... .......... 23.7M [2021-04-20T02:59:08.948Z] 550K .......... .......... .......... .......... .......... 4.28M [2021-04-20T02:59:08.948Z] 600K .......... .......... .......... .......... .......... 2.55M [2021-04-20T02:59:08.948Z] 650K .......... .......... .......... .......... .......... 5.29M [2021-04-20T02:59:08.948Z] 700K .. 46.7M=0.1s [2021-04-20T02:59:08.948Z] [2021-04-20T02:59:08.948Z] 2021-04-20 02:59:08 (5.06 MB/s) - written to stdout [719348] [2021-04-20T02:59:08.948Z] [2021-04-20T02:59:09.211Z] -- The C compiler identification is GNU 8.3.0 [2021-04-20T02:59:09.211Z] -- The CXX compiler identification is GNU 8.3.0 [2021-04-20T02:59:09.211Z] -- Check for working C compiler: /usr/bin/cc [2021-04-20T02:59:09.211Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-04-20T02:59:09.211Z] -- Detecting C compiler ABI info [2021-04-20T02:59:09.474Z] -- Detecting C compiler ABI info - done [2021-04-20T02:59:09.474Z] -- Detecting C compile features [2021-04-20T02:59:09.474Z] -- Detecting C compile features - done [2021-04-20T02:59:09.474Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-04-20T02:59:09.737Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-04-20T02:59:09.737Z] -- Detecting CXX compiler ABI info [2021-04-20T02:59:09.737Z] -- Detecting CXX compiler ABI info - done [2021-04-20T02:59:09.737Z] -- Detecting CXX compile features [2021-04-20T02:59:10.311Z] -- Detecting CXX compile features - done [2021-04-20T02:59:10.311Z] -- Looking for include file endian.h [2021-04-20T02:59:10.311Z] -- Looking for include file endian.h - found [2021-04-20T02:59:10.311Z] -- Check if the system is big endian [2021-04-20T02:59:10.311Z] -- Searching 16 bit integer [2021-04-20T02:59:10.311Z] -- Looking for sys/types.h [2021-04-20T02:59:10.311Z] -- Looking for sys/types.h - found [2021-04-20T02:59:10.311Z] -- Looking for stdint.h [2021-04-20T02:59:10.574Z] -- Looking for stdint.h - found [2021-04-20T02:59:10.574Z] -- Looking for stddef.h [2021-04-20T02:59:10.574Z] -- Looking for stddef.h - found [2021-04-20T02:59:10.574Z] -- Check size of unsigned short [2021-04-20T02:59:10.574Z] -- Check size of unsigned short - done [2021-04-20T02:59:10.574Z] -- Using unsigned short [2021-04-20T02:59:10.837Z] -- Check if the system is big endian - little endian [2021-04-20T02:59:10.837Z] -- Check size of size_t [2021-04-20T02:59:10.837Z] -- Check size of size_t - done [2021-04-20T02:59:10.837Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-04-20T02:59:10.837Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-04-20T02:59:10.837Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-04-20T02:59:10.837Z] CMake did not find one. [2021-04-20T02:59:10.837Z] [2021-04-20T02:59:10.837Z] Could not find a package configuration file provided by "cJSON" with any of [2021-04-20T02:59:10.837Z] the following names: [2021-04-20T02:59:10.837Z] [2021-04-20T02:59:10.837Z] cJSONConfig.cmake [2021-04-20T02:59:10.837Z] cjson-config.cmake [2021-04-20T02:59:10.837Z] [2021-04-20T02:59:10.837Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-04-20T02:59:10.837Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-04-20T02:59:10.837Z] provides a separate development package or SDK, be sure it has been [2021-04-20T02:59:10.837Z] installed. [2021-04-20T02:59:10.837Z] [2021-04-20T02:59:10.837Z] [2021-04-20T02:59:10.837Z] -- Configuring done [2021-04-20T02:59:10.837Z] -- Generating done [2021-04-20T02:59:10.837Z] -- Build files have been written to: /tmp/cbor [2021-04-20T02:59:10.978Z] Removing intermediate container 4b0ffb54d5f3 [2021-04-20T02:59:10.978Z] ---> b618b03a4595 [2021-04-20T02:59:10.978Z] Step 6/21 : RUN mkdir /tmp/sdk [2021-04-20T02:59:10.978Z] ---> Running in 05e628a985ac [2021-04-20T02:59:11.100Z] Scanning dependencies of target cbor_shared [2021-04-20T02:59:11.100Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-04-20T02:59:11.100Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-04-20T02:59:11.363Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-04-20T02:59:11.363Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-04-20T02:59:11.625Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-04-20T02:59:11.625Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-04-20T02:59:11.625Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-04-20T02:59:11.888Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-04-20T02:59:11.888Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-04-20T02:59:11.888Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-04-20T02:59:12.150Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-04-20T02:59:12.150Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-04-20T02:59:12.150Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-04-20T02:59:12.413Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-04-20T02:59:12.413Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-04-20T02:59:12.413Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-04-20T02:59:12.676Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-04-20T02:59:12.676Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-04-20T02:59:12.676Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-04-20T02:59:12.676Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-04-20T02:59:12.938Z] [ 40%] Linking C shared library libcbor.so [2021-04-20T02:59:12.938Z] [ 40%] Built target cbor_shared [2021-04-20T02:59:12.938Z] Scanning dependencies of target cbor [2021-04-20T02:59:12.938Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-04-20T02:59:12.952Z] Removing intermediate container 05e628a985ac [2021-04-20T02:59:12.952Z] ---> 82705759b90d [2021-04-20T02:59:12.952Z] Step 7/21 : COPY VERSION /tmp/sdk [2021-04-20T02:59:13.201Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-04-20T02:59:13.201Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-04-20T02:59:13.201Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-04-20T02:59:13.464Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-04-20T02:59:13.548Z] ---> 0b7b80ed2ea2 [2021-04-20T02:59:13.548Z] Step 8/21 : COPY src /tmp/sdk/src [2021-04-20T02:59:13.726Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-04-20T02:59:13.726Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-04-20T02:59:13.726Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-04-20T02:59:13.726Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-04-20T02:59:13.989Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-04-20T02:59:13.989Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-04-20T02:59:14.251Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-04-20T02:59:14.251Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-04-20T02:59:14.513Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-04-20T02:59:14.513Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-04-20T02:59:14.513Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-04-20T02:59:14.513Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-04-20T02:59:14.523Z] ---> e794f7d916ee [2021-04-20T02:59:14.523Z] Step 9/21 : COPY include /tmp/sdk/include [2021-04-20T02:59:14.776Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-04-20T02:59:14.777Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-04-20T02:59:14.777Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-04-20T02:59:14.777Z] [ 80%] Linking C static library libcbor.a [2021-04-20T02:59:15.039Z] [ 80%] Built target cbor [2021-04-20T02:59:15.039Z] Scanning dependencies of target create_items [2021-04-20T02:59:15.039Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-04-20T02:59:15.039Z] [ 84%] Linking C executable create_items [2021-04-20T02:59:15.039Z] [ 84%] Built target create_items [2021-04-20T02:59:15.039Z] Scanning dependencies of target readfile [2021-04-20T02:59:15.039Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-04-20T02:59:15.039Z] [ 88%] Linking C executable readfile [2021-04-20T02:59:15.039Z] [ 88%] Built target readfile [2021-04-20T02:59:15.039Z] Scanning dependencies of target streaming_parser [2021-04-20T02:59:15.039Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-04-20T02:59:15.116Z] ---> 4fb196861b8d [2021-04-20T02:59:15.116Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2021-04-20T02:59:15.302Z] [ 92%] Linking C executable streaming_parser [2021-04-20T02:59:15.302Z] [ 92%] Built target streaming_parser [2021-04-20T02:59:15.302Z] Scanning dependencies of target sort [2021-04-20T02:59:15.302Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-04-20T02:59:15.302Z] [ 96%] Linking C executable sort [2021-04-20T02:59:15.302Z] [ 96%] Built target sort [2021-04-20T02:59:15.302Z] Scanning dependencies of target hello [2021-04-20T02:59:15.302Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-04-20T02:59:15.302Z] [100%] Linking C executable hello [2021-04-20T02:59:15.584Z] [100%] Built target hello [2021-04-20T02:59:15.584Z] Install the project... [2021-04-20T02:59:15.584Z] -- Install configuration: "Release" [2021-04-20T02:59:15.584Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-04-20T02:59:15.584Z] -- Installing: /usr/local/lib64/libcbor.a [2021-04-20T02:59:15.584Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-04-20T02:59:15.584Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-04-20T02:59:15.584Z] -- Installing: /usr/local/lib64/libcbor.so [2021-04-20T02:59:15.584Z] -- Up-to-date: /usr/local/include/cbor [2021-04-20T02:59:15.584Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-04-20T02:59:15.584Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-04-20T02:59:15.584Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-04-20T02:59:15.584Z] -- Installing: /usr/local/include/cbor/common.h [2021-04-20T02:59:15.584Z] -- Installing: /usr/local/include/cbor/data.h [2021-04-20T02:59:15.584Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-04-20T02:59:15.584Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-04-20T02:59:15.584Z] -- Installing: /usr/local/include/cbor/internal [2021-04-20T02:59:15.584Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-04-20T02:59:15.584Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-04-20T02:59:15.584Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-04-20T02:59:15.584Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-04-20T02:59:15.584Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-04-20T02:59:15.584Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-04-20T02:59:15.584Z] -- Installing: /usr/local/include/cbor/ints.h [2021-04-20T02:59:15.584Z] -- Installing: /usr/local/include/cbor/maps.h [2021-04-20T02:59:15.584Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-04-20T02:59:15.584Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-04-20T02:59:15.584Z] -- Installing: /usr/local/include/cbor/strings.h [2021-04-20T02:59:15.584Z] -- Installing: /usr/local/include/cbor/tags.h [2021-04-20T02:59:15.584Z] -- Installing: /usr/local/include/cbor.h [2021-04-20T02:59:15.584Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-04-20T02:59:16.105Z] ---> 369660a36441 [2021-04-20T02:59:16.105Z] Step 11/21 : COPY LICENSE /tmp/sdk [2021-04-20T02:59:16.696Z] ---> 0f684a7e0e51 [2021-04-20T02:59:16.696Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2021-04-20T02:59:17.288Z] ---> 3619aaa538fc [2021-04-20T02:59:17.288Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-04-20T02:59:17.582Z] ---> Running in 2d255806868c [2021-04-20T02:59:18.147Z] Removing intermediate container 5cb0b095a355 [2021-04-20T02:59:18.147Z] ---> 5e28bab58a9f [2021-04-20T02:59:18.147Z] Step 6/21 : RUN mkdir /tmp/sdk [2021-04-20T02:59:18.147Z] ---> Running in c8fd337136c5 [2021-04-20T02:59:18.556Z] + CPPCHECK=false [2021-04-20T02:59:18.556Z] + DOCGEN=false [2021-04-20T02:59:18.556Z] + TOMLVER=SDK-0.2 [2021-04-20T02:59:18.556Z] + CUTILVER=1.1.4 [2021-04-20T02:59:18.556Z] + '[' 0 -gt 0 ] [2021-04-20T02:59:18.556Z] + readlink -f ./scripts/build.sh [2021-04-20T02:59:18.556Z] + dirname /tmp/sdk/scripts/build.sh [2021-04-20T02:59:18.556Z] + dirname /tmp/sdk/scripts [2021-04-20T02:59:18.556Z] + ROOT=/tmp/sdk [2021-04-20T02:59:18.556Z] + cd /tmp/sdk [2021-04-20T02:59:18.556Z] + '[' '!' -d deps ] [2021-04-20T02:59:18.556Z] + mkdir deps [2021-04-20T02:59:18.556Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-04-20T02:59:18.556Z] + tar -C deps -z -x -f - [2021-04-20T02:59:18.556Z] --2021-04-20 02:59:18-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-04-20T02:59:18.556Z] Resolving github.com... 140.82.112.3 [2021-04-20T02:59:18.556Z] Connecting to github.com|140.82.112.3|:443... connected. [2021-04-20T02:59:18.556Z] HTTP request sent, awaiting response... 302 Found [2021-04-20T02:59:18.556Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-04-20T02:59:18.556Z] --2021-04-20 02:59:18-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-04-20T02:59:18.556Z] Resolving codeload.github.com... 140.82.114.9 [2021-04-20T02:59:18.828Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-04-20T02:59:18.828Z] HTTP request sent, awaiting response... 200 OK [2021-04-20T02:59:18.828Z] Length: unspecified [application/x-gzip] [2021-04-20T02:59:18.828Z] Saving to: 'STDOUT' [2021-04-20T02:59:18.828Z]  [2021-04-20T02:59:18.828Z] 0K .......... ......  1.07M=0.01s [2021-04-20T02:59:18.828Z] [2021-04-20T02:59:18.828Z] 2021-04-20 02:59:18 (1.07 MB/s) - written to stdout [16451] [2021-04-20T02:59:18.828Z] [2021-04-20T02:59:18.828Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-04-20T02:59:18.828Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-04-20T02:59:18.828Z] + tar -C deps -z -x -f - [2021-04-20T02:59:18.828Z] --2021-04-20 02:59:18-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-04-20T02:59:18.828Z] Resolving github.com... 140.82.112.3 [2021-04-20T02:59:18.828Z] Connecting to github.com|140.82.112.3|:443... connected. [2021-04-20T02:59:19.093Z] Removing intermediate container c8fd337136c5 [2021-04-20T02:59:19.093Z] ---> 07a0f88e9556 [2021-04-20T02:59:19.093Z] Step 7/21 : COPY VERSION /tmp/sdk [2021-04-20T02:59:19.099Z] HTTP request sent, awaiting response... 302 Found [2021-04-20T02:59:19.099Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-04-20T02:59:19.099Z] --2021-04-20 02:59:18-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-04-20T02:59:19.099Z] Resolving codeload.github.com... 140.82.114.9 [2021-04-20T02:59:19.099Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-04-20T02:59:19.099Z] HTTP request sent, awaiting response... 200 OK [2021-04-20T02:59:19.099Z] Length: unspecified [application/x-gzip] [2021-04-20T02:59:19.099Z] Saving to: 'STDOUT' [2021-04-20T02:59:19.099Z]  [2021-04-20T02:59:19.355Z] ---> 8fb865e6d261 [2021-04-20T02:59:19.356Z] Step 8/21 : COPY src /tmp/sdk/src [2021-04-20T02:59:19.369Z] 0K .......... .......... .......... .......... .......... 1.43M [2021-04-20T02:59:19.369Z] 50K .......... .......... .......... .......... .......... 2.68M [2021-04-20T02:59:19.369Z] 100K .......... .......... .......... .......... .......... 3.19M [2021-04-20T02:59:19.369Z] 150K .......... .......... ....... 4.02M=0.07s [2021-04-20T02:59:19.369Z] [2021-04-20T02:59:19.369Z] 2021-04-20 02:59:19 (2.33 MB/s) - written to stdout [181796] [2021-04-20T02:59:19.369Z] [2021-04-20T02:59:19.369Z] + mkdir -p src/c/iot [2021-04-20T02:59:19.369Z] + 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-20T02:59:19.369Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-04-20T02:59:19.369Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-04-20T02:59:19.369Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-04-20T02:59:19.369Z] + mkdir -p include/iot [2021-04-20T02:59:19.369Z] + 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-20T02:59:19.369Z] + mkdir -p include/iot/os [2021-04-20T02:59:19.369Z] + 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-20T02:59:19.369Z] + mkdir -p /tmp/sdk/build/release [2021-04-20T02:59:19.369Z] + cd /tmp/sdk/build/release [2021-04-20T02:59:19.369Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-04-20T02:59:19.640Z] -- The C compiler identification is GNU 8.3.0 [2021-04-20T02:59:19.640Z] -- Check for working C compiler: /usr/bin/cc [2021-04-20T02:59:19.912Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-04-20T02:59:19.912Z] -- Detecting C compiler ABI info [2021-04-20T02:59:20.183Z] -- Detecting C compiler ABI info - done [2021-04-20T02:59:20.183Z] -- Detecting C compile features [2021-04-20T02:59:20.304Z] ---> 7c3aee641a5e [2021-04-20T02:59:20.304Z] Step 9/21 : COPY include /tmp/sdk/include [2021-04-20T02:59:20.565Z] ---> 468d045ffc71 [2021-04-20T02:59:20.565Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2021-04-20T02:59:20.829Z] ---> 194e0138899c [2021-04-20T02:59:20.829Z] Step 11/21 : COPY LICENSE /tmp/sdk [2021-04-20T02:59:20.829Z] ---> d4aa0dc030ed [2021-04-20T02:59:20.829Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2021-04-20T02:59:21.093Z] ---> 92e37813d9fb [2021-04-20T02:59:21.093Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-04-20T02:59:21.093Z] ---> Running in bc89cab72122 [2021-04-20T02:59:21.156Z] -- Detecting C compile features - done [2021-04-20T02:59:21.156Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-04-20T02:59:21.156Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-04-20T02:59:21.156Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-04-20T02:59:21.156Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-04-20T02:59:21.156Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-04-20T02:59:21.156Z] -- C SDK 0.0.0 for Linux [2021-04-20T02:59:21.156Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-04-20T02:59:21.156Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-04-20T02:59:21.156Z] -- Found Curses: /usr/lib/libcurses.so [2021-04-20T02:59:21.427Z] -- Configuring done [2021-04-20T02:59:21.671Z] + CPPCHECK=false [2021-04-20T02:59:21.671Z] + DOCGEN=false [2021-04-20T02:59:21.671Z] + TOMLVER=SDK-0.2 [2021-04-20T02:59:21.671Z] + CUTILVER=1.1.4 [2021-04-20T02:59:21.671Z] + '[' 0 -gt 0 ] [2021-04-20T02:59:21.671Z] + readlink -f ./scripts/build.sh [2021-04-20T02:59:21.671Z] + dirname /tmp/sdk/scripts/build.sh [2021-04-20T02:59:21.671Z] + dirname /tmp/sdk/scripts [2021-04-20T02:59:21.671Z] + ROOT=/tmp/sdk [2021-04-20T02:59:21.671Z] + cd /tmp/sdk [2021-04-20T02:59:21.671Z] + '[' '!' -d deps ] [2021-04-20T02:59:21.671Z] + mkdir deps [2021-04-20T02:59:21.671Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-04-20T02:59:21.671Z] + tar -C deps -z -x -f - [2021-04-20T02:59:21.671Z] --2021-04-20 02:59:21-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-04-20T02:59:21.671Z] Resolving github.com... 140.82.112.3 [2021-04-20T02:59:21.671Z] Connecting to github.com|140.82.112.3|:443... connected. [2021-04-20T02:59:21.671Z] HTTP request sent, awaiting response... 302 Found [2021-04-20T02:59:21.671Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-04-20T02:59:21.671Z] --2021-04-20 02:59:21-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-04-20T02:59:21.671Z] Resolving codeload.github.com... 140.82.114.9 [2021-04-20T02:59:21.671Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-04-20T02:59:21.671Z] HTTP request sent, awaiting response... 200 OK [2021-04-20T02:59:21.671Z] Length: unspecified [application/x-gzip] [2021-04-20T02:59:21.671Z] Saving to: 'STDOUT' [2021-04-20T02:59:21.671Z]  [2021-04-20T02:59:21.671Z] 0K .......... ...... 1.05M=0.01s [2021-04-20T02:59:21.671Z] [2021-04-20T02:59:21.671Z] 2021-04-20 02:59:21 (1.05 MB/s) - written to stdout [16451] [2021-04-20T02:59:21.671Z] [2021-04-20T02:59:21.671Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-04-20T02:59:21.671Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-04-20T02:59:21.671Z] + tar -C deps -z -x -f - [2021-04-20T02:59:21.671Z] --2021-04-20 02:59:21-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-04-20T02:59:21.698Z] -- Generating done [2021-04-20T02:59:21.698Z] -- Build files have been written to: /tmp/sdk/build/release [2021-04-20T02:59:21.698Z] + make all package [2021-04-20T02:59:21.698Z] + tee release.log [2021-04-20T02:59:21.698Z] Scanning dependencies of target csdk [2021-04-20T02:59:21.934Z] Resolving github.com... 140.82.112.3 [2021-04-20T02:59:21.934Z] Connecting to github.com|140.82.112.3|:443... connected. [2021-04-20T02:59:21.934Z] HTTP request sent, awaiting response... 302 Found [2021-04-20T02:59:21.934Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-04-20T02:59:21.934Z] --2021-04-20 02:59:21-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-04-20T02:59:21.934Z] Resolving codeload.github.com... 140.82.114.9 [2021-04-20T02:59:21.934Z] Connecting to codeload.github.com|140.82.114.9|:443... connected. [2021-04-20T02:59:21.934Z] HTTP request sent, awaiting response... 200 OK [2021-04-20T02:59:21.934Z] Length: unspecified [application/x-gzip] [2021-04-20T02:59:21.934Z] Saving to: 'STDOUT' [2021-04-20T02:59:21.934Z] [2021-04-20T02:59:21.934Z] 0K .......... .......... .......... .......... .......... 1.42M [2021-04-20T02:59:21.934Z] 50K .......... .......... .......... .......... .......... 2.82M [2021-04-20T02:59:21.934Z] 100K .......... .......... .......... .......... .......... 41.3M [2021-04-20T02:59:21.934Z] 150K .......... .......... .......  3.50M=0.06s [2021-04-20T02:59:21.934Z] [2021-04-20T02:59:21.934Z] 2021-04-20 02:59:21 (2.86 MB/s) - written to stdout [181796] [2021-04-20T02:59:21.934Z] [2021-04-20T02:59:21.934Z] + mkdir -p src/c/iot [2021-04-20T02:59:21.934Z] + 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-20T02:59:21.934Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-04-20T02:59:21.934Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-04-20T02:59:21.934Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-04-20T02:59:21.934Z] + mkdir -p include/iot [2021-04-20T02:59:21.934Z] + 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-20T02:59:21.934Z] + mkdir -p include/iot/os [2021-04-20T02:59:21.934Z] + 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-20T02:59:21.934Z] + mkdir -p /tmp/sdk/build/release [2021-04-20T02:59:21.934Z] + cd /tmp/sdk/build/release [2021-04-20T02:59:21.934Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-04-20T02:59:21.969Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-04-20T02:59:22.196Z] -- The C compiler identification is GNU 8.3.0 [2021-04-20T02:59:22.196Z] -- Check for working C compiler: /usr/bin/cc [2021-04-20T02:59:22.196Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-04-20T02:59:22.196Z] -- Detecting C compiler ABI info [2021-04-20T02:59:22.458Z] -- Detecting C compiler ABI info - done [2021-04-20T02:59:22.458Z] -- Detecting C compile features [2021-04-20T02:59:22.561Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-04-20T02:59:22.719Z] -- Detecting C compile features - done [2021-04-20T02:59:22.719Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-04-20T02:59:22.719Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-04-20T02:59:22.719Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-04-20T02:59:22.719Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-04-20T02:59:22.719Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-04-20T02:59:22.719Z] -- C SDK 0.0.0 for Linux [2021-04-20T02:59:22.719Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-04-20T02:59:22.719Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-04-20T02:59:22.719Z] -- Found Curses: /usr/lib/libcurses.so [2021-04-20T02:59:22.719Z] -- Configuring done [2021-04-20T02:59:22.719Z] -- Generating done [2021-04-20T02:59:22.719Z] -- Build files have been written to: /tmp/sdk/build/release [2021-04-20T02:59:22.719Z] + make all package [2021-04-20T02:59:22.719Z] + tee release.log [2021-04-20T02:59:22.719Z] Scanning dependencies of target csdk [2021-04-20T02:59:22.833Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-04-20T02:59:22.980Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-04-20T02:59:22.980Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-04-20T02:59:23.242Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-04-20T02:59:23.503Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-04-20T02:59:23.765Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-04-20T02:59:23.765Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-04-20T02:59:24.027Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-04-20T02:59:24.599Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-04-20T02:59:24.599Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-04-20T02:59:24.794Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-04-20T02:59:24.861Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-04-20T02:59:24.861Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-04-20T02:59:25.122Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-04-20T02:59:25.122Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-04-20T02:59:25.122Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-04-20T02:59:25.384Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-04-20T02:59:25.384Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-04-20T02:59:26.069Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-04-20T02:59:26.069Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-04-20T02:59:26.069Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-04-20T02:59:26.069Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-04-20T02:59:26.331Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-04-20T02:59:26.331Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-04-20T02:59:26.433Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-04-20T02:59:26.903Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-04-20T02:59:27.164Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-04-20T02:59:27.164Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-04-20T02:59:27.425Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-04-20T02:59:27.425Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-04-20T02:59:27.425Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-04-20T02:59:27.686Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-04-20T02:59:27.686Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-04-20T02:59:27.947Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-04-20T02:59:27.947Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-04-20T02:59:28.441Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-04-20T02:59:28.441Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-04-20T02:59:28.524Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-04-20T02:59:28.524Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-04-20T02:59:28.785Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-04-20T02:59:28.785Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-04-20T02:59:29.437Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-04-20T02:59:30.031Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-04-20T02:59:30.171Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-04-20T02:59:30.172Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-04-20T02:59:30.172Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-04-20T02:59:30.308Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-04-20T02:59:30.308Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-04-20T02:59:30.434Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-04-20T02:59:30.434Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-04-20T02:59:30.579Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-04-20T02:59:31.007Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-04-20T02:59:31.269Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-04-20T02:59:32.218Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-04-20T02:59:32.479Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-04-20T02:59:32.479Z] [ 73%] Linking C shared library libcsdk.so [2021-04-20T02:59:32.741Z] [ 73%] Built target csdk [2021-04-20T02:59:32.741Z] Scanning dependencies of target template [2021-04-20T02:59:32.741Z] [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-04-20T02:59:32.741Z] [ 76%] Linking C executable template [2021-04-20T02:59:33.003Z] [ 76%] Built target template [2021-04-20T02:59:33.003Z] Scanning dependencies of target device-counter [2021-04-20T02:59:33.003Z] [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-04-20T02:59:33.003Z] [ 80%] Linking C executable device-counter [2021-04-20T02:59:33.003Z] [ 80%] Built target device-counter [2021-04-20T02:59:33.003Z] Scanning dependencies of target device-random [2021-04-20T02:59:33.003Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-04-20T02:59:33.181Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-04-20T02:59:33.266Z] [ 83%] Linking C executable device-random [2021-04-20T02:59:33.266Z] [ 83%] Built target device-random [2021-04-20T02:59:33.266Z] Scanning dependencies of target device-gyro [2021-04-20T02:59:33.266Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-04-20T02:59:33.455Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-04-20T02:59:33.528Z] [ 86%] Linking C executable device-gyro [2021-04-20T02:59:33.528Z] [ 86%] Built target device-gyro [2021-04-20T02:59:33.528Z] Scanning dependencies of target device-bitfields [2021-04-20T02:59:33.528Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-04-20T02:59:33.528Z] [ 90%] Linking C executable device-bitfields [2021-04-20T02:59:33.789Z] [ 90%] Built target device-bitfields [2021-04-20T02:59:33.789Z] Scanning dependencies of target template-discovery [2021-04-20T02:59:33.789Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-04-20T02:59:33.789Z] [ 93%] Linking C executable template-discovery [2021-04-20T02:59:34.047Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-04-20T02:59:34.050Z] [ 93%] Built target template-discovery [2021-04-20T02:59:34.050Z] Scanning dependencies of target device-file [2021-04-20T02:59:34.050Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-04-20T02:59:34.050Z] [ 96%] Linking C executable device-file [2021-04-20T02:59:34.314Z] [ 96%] Built target device-file [2021-04-20T02:59:34.314Z] Scanning dependencies of target device-terminal [2021-04-20T02:59:34.314Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-04-20T02:59:34.314Z] [100%] Linking C executable device-terminal [2021-04-20T02:59:34.314Z] [100%] Built target device-terminal [2021-04-20T02:59:34.318Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-04-20T02:59:34.575Z] Run CPack packaging tool... [2021-04-20T02:59:34.575Z] CPack: Create package using TGZ [2021-04-20T02:59:34.575Z] CPack: Install projects [2021-04-20T02:59:34.575Z] CPack: - Run preinstall target for: Csdk [2021-04-20T02:59:34.589Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-04-20T02:59:34.836Z] CPack: - Install project: Csdk [2021-04-20T02:59:34.837Z] CPack: Create package [2021-04-20T02:59:34.837Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-04-20T02:59:34.837Z] + '[' false '=' true ] [2021-04-20T02:59:34.837Z] + '[' false '=' true ] [2021-04-20T02:59:34.837Z] + mkdir -p /tmp/sdk/build/debug [2021-04-20T02:59:34.837Z] + cd /tmp/sdk/build/debug [2021-04-20T02:59:34.837Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-04-20T02:59:34.837Z] -- The C compiler identification is GNU 8.3.0 [2021-04-20T02:59:34.837Z] -- Check for working C compiler: /usr/bin/cc [2021-04-20T02:59:34.837Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-04-20T02:59:34.837Z] -- Detecting C compiler ABI info [2021-04-20T02:59:35.098Z] -- Detecting C compiler ABI info - done [2021-04-20T02:59:35.098Z] -- Detecting C compile features [2021-04-20T02:59:35.176Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-04-20T02:59:35.359Z] -- Detecting C compile features - done [2021-04-20T02:59:35.359Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-04-20T02:59:35.359Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-04-20T02:59:35.359Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-04-20T02:59:35.359Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-04-20T02:59:35.359Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-04-20T02:59:35.359Z] -- C SDK 0.0.0 for Linux [2021-04-20T02:59:35.359Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-04-20T02:59:35.359Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-04-20T02:59:35.359Z] -- Found Curses: /usr/lib/libcurses.so [2021-04-20T02:59:35.360Z] -- Configuring done [2021-04-20T02:59:35.360Z] -- Generating done [2021-04-20T02:59:35.360Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-04-20T02:59:35.360Z] + make [2021-04-20T02:59:35.360Z] + tee debug.log [2021-04-20T02:59:35.621Z] Scanning dependencies of target csdk [2021-04-20T02:59:35.621Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-04-20T02:59:35.621Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-04-20T02:59:35.886Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-04-20T02:59:35.886Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-04-20T02:59:36.151Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-04-20T02:59:36.151Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-04-20T02:59:36.151Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-04-20T02:59:36.415Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-04-20T02:59:36.415Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-04-20T02:59:36.415Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-04-20T02:59:36.677Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-04-20T02:59:36.677Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-04-20T02:59:36.677Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-04-20T02:59:36.677Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-04-20T02:59:36.940Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-04-20T02:59:37.203Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-04-20T02:59:37.203Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-04-20T02:59:37.203Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-04-20T02:59:37.203Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-04-20T02:59:37.469Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-04-20T02:59:37.731Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-04-20T02:59:37.731Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-04-20T02:59:37.731Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-04-20T02:59:37.731Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-04-20T02:59:37.779Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-04-20T02:59:37.779Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-04-20T02:59:37.993Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-04-20T02:59:37.993Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-04-20T02:59:37.993Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-04-20T02:59:37.993Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-04-20T02:59:38.049Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-04-20T02:59:38.254Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-04-20T02:59:38.254Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-04-20T02:59:38.254Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-04-20T02:59:38.254Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-04-20T02:59:38.522Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-04-20T02:59:38.522Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-04-20T02:59:38.639Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-04-20T02:59:38.786Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-04-20T02:59:38.910Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-04-20T02:59:39.048Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-04-20T02:59:39.048Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-04-20T02:59:39.048Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-04-20T02:59:39.180Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-04-20T02:59:39.314Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-04-20T02:59:39.576Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-04-20T02:59:39.576Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-04-20T02:59:39.838Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-04-20T02:59:39.838Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-04-20T02:59:40.100Z] [ 73%] Linking C shared library libcsdk.so [2021-04-20T02:59:40.100Z] [ 73%] Built target csdk [2021-04-20T02:59:40.100Z] Scanning dependencies of target template [2021-04-20T02:59:40.100Z] [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-04-20T02:59:40.100Z] [ 76%] Linking C executable template [2021-04-20T02:59:40.145Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-04-20T02:59:40.361Z] [ 76%] Built target template [2021-04-20T02:59:40.361Z] Scanning dependencies of target device-counter [2021-04-20T02:59:40.361Z] [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-04-20T02:59:40.361Z] [ 80%] Linking C executable device-counter [2021-04-20T02:59:40.361Z] [ 80%] Built target device-counter [2021-04-20T02:59:40.361Z] Scanning dependencies of target device-random [2021-04-20T02:59:40.361Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-04-20T02:59:40.361Z] [ 83%] Linking C executable device-random [2021-04-20T02:59:40.415Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-04-20T02:59:40.623Z] [ 83%] Built target device-random [2021-04-20T02:59:40.623Z] Scanning dependencies of target device-gyro [2021-04-20T02:59:40.623Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-04-20T02:59:40.623Z] [ 86%] Linking C executable device-gyro [2021-04-20T02:59:40.623Z] [ 86%] Built target device-gyro [2021-04-20T02:59:40.623Z] Scanning dependencies of target device-bitfields [2021-04-20T02:59:40.623Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-04-20T02:59:40.885Z] [ 90%] Linking C executable device-bitfields [2021-04-20T02:59:40.885Z] [ 90%] Built target device-bitfields [2021-04-20T02:59:40.885Z] Scanning dependencies of target template-discovery [2021-04-20T02:59:40.885Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-04-20T02:59:40.885Z] [ 93%] Linking C executable template-discovery [2021-04-20T02:59:41.005Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-04-20T02:59:41.149Z] [ 93%] Built target template-discovery [2021-04-20T02:59:41.150Z] Scanning dependencies of target device-file [2021-04-20T02:59:41.150Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-04-20T02:59:41.150Z] [ 96%] Linking C executable device-file [2021-04-20T02:59:41.150Z] [ 96%] Built target device-file [2021-04-20T02:59:41.150Z] Scanning dependencies of target device-terminal [2021-04-20T02:59:41.150Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-04-20T02:59:41.276Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-04-20T02:59:41.411Z] [100%] Linking C executable device-terminal [2021-04-20T02:59:41.411Z] [100%] Built target device-terminal [2021-04-20T02:59:41.411Z] make: Entering directory '/tmp/sdk/build/release' [2021-04-20T02:59:41.411Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-04-20T02:59:41.411Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T02:59:41.411Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T02:59:41.411Z] [ 73%] Built target csdk [2021-04-20T02:59:41.411Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T02:59:41.411Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T02:59:41.411Z] [ 76%] Built target template [2021-04-20T02:59:41.411Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T02:59:41.411Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T02:59:41.411Z] [ 80%] Built target device-counter [2021-04-20T02:59:41.411Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T02:59:41.411Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T02:59:41.411Z] [ 83%] Built target device-random [2021-04-20T02:59:41.411Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T02:59:41.411Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T02:59:41.676Z] [ 86%] Built target device-gyro [2021-04-20T02:59:41.676Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T02:59:41.676Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T02:59:41.676Z] [ 90%] Built target device-bitfields [2021-04-20T02:59:41.676Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T02:59:41.676Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T02:59:41.676Z] [ 93%] Built target template-discovery [2021-04-20T02:59:41.676Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T02:59:41.676Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T02:59:41.676Z] [ 96%] Built target device-file [2021-04-20T02:59:41.676Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T02:59:41.676Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T02:59:41.676Z] [100%] Built target device-terminal [2021-04-20T02:59:41.676Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T02:59:41.676Z] Install the project... [2021-04-20T02:59:41.676Z] -- Install configuration: "Release" [2021-04-20T02:59:41.676Z] -- Installing: /usr/local/lib/libcsdk.so [2021-04-20T02:59:41.676Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-04-20T02:59:41.676Z] -- Up-to-date: /usr/local/include [2021-04-20T02:59:41.676Z] -- Installing: /usr/local/include/devsdk [2021-04-20T02:59:41.676Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-04-20T02:59:41.676Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-04-20T02:59:41.676Z] -- Installing: /usr/local/include/edgex [2021-04-20T02:59:41.676Z] -- Installing: /usr/local/include/edgex/devices.h [2021-04-20T02:59:41.676Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-04-20T02:59:41.676Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-04-20T02:59:41.676Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-04-20T02:59:41.676Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-04-20T02:59:41.676Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-04-20T02:59:41.676Z] -- Installing: /usr/local/include/iot [2021-04-20T02:59:41.676Z] -- Installing: /usr/local/include/iot/base64.h [2021-04-20T02:59:41.676Z] -- Installing: /usr/local/include/iot/component.h [2021-04-20T02:59:41.676Z] -- Installing: /usr/local/include/iot/config.h [2021-04-20T02:59:41.676Z] -- Installing: /usr/local/include/iot/container.h [2021-04-20T02:59:41.676Z] -- Installing: /usr/local/include/iot/data.h [2021-04-20T02:59:41.676Z] -- Installing: /usr/local/include/iot/hash.h [2021-04-20T02:59:41.676Z] -- Installing: /usr/local/include/iot/iot.h [2021-04-20T02:59:41.676Z] -- Installing: /usr/local/include/iot/json.h [2021-04-20T02:59:41.676Z] -- Installing: /usr/local/include/iot/logger.h [2021-04-20T02:59:41.676Z] -- Installing: /usr/local/include/iot/os.h [2021-04-20T02:59:41.676Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-04-20T02:59:41.676Z] -- Installing: /usr/local/include/iot/thread.h [2021-04-20T02:59:41.676Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-04-20T02:59:41.676Z] -- Installing: /usr/local/include/iot/time.h [2021-04-20T02:59:41.676Z] -- Installing: /usr/local/include/iot/typecode.h [2021-04-20T02:59:41.676Z] -- Installing: /usr/local/include/iot/os [2021-04-20T02:59:41.676Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-04-20T02:59:41.676Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-04-20T02:59:41.676Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-04-20T02:59:41.676Z] -- Installing: /usr/local/include/iot/defs.h [2021-04-20T02:59:41.676Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-04-20T02:59:41.676Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-04-20T02:59:41.676Z] make: Leaving directory '/tmp/sdk/build/release' [2021-04-20T02:59:43.232Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-04-20T02:59:43.503Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-04-20T02:59:44.092Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-04-20T02:59:44.237Z] Removing intermediate container bc89cab72122 [2021-04-20T02:59:44.237Z] ---> c2598feea437 [2021-04-20T02:59:44.237Z] Step 14/21 : FROM ${BASE} [2021-04-20T02:59:44.237Z] ---> 5eabd8fd8ba2 [2021-04-20T02:59:44.237Z] Step 15/21 : LABEL maintainer="IOTech " [2021-04-20T02:59:44.237Z] ---> Running in 5003370031b3 [2021-04-20T02:59:44.237Z] Removing intermediate container 5003370031b3 [2021-04-20T02:59:44.237Z] ---> b6d41f16821e [2021-04-20T02:59:44.237Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2021-04-20T02:59:44.237Z] ---> Running in cad98562fae9 [2021-04-20T02:59:44.363Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-04-20T02:59:44.811Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-04-20T02:59:45.384Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-04-20T02:59:46.772Z] (1/3) Installing curl (7.64.0-r5) [2021-04-20T02:59:46.772Z] (2/3) Installing libuuid (2.33-r0) [2021-04-20T02:59:46.772Z] (3/3) Installing wget (1.20.3-r0) [2021-04-20T02:59:46.772Z] Executing busybox-1.29.3-r10.trigger [2021-04-20T02:59:46.772Z] OK: 268 MiB in 78 packages [2021-04-20T02:59:47.345Z] Removing intermediate container cad98562fae9 [2021-04-20T02:59:47.345Z] ---> e862eaf25dcc [2021-04-20T02:59:47.345Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-04-20T02:59:47.669Z] ---> a039139b026e [2021-04-20T02:59:47.669Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-04-20T02:59:47.962Z] ---> fc1ddcc61319 [2021-04-20T02:59:47.962Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-04-20T02:59:47.962Z] ---> a13b73adcefe [2021-04-20T02:59:47.962Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-04-20T02:59:48.246Z] ---> edbcbd903da9 [2021-04-20T02:59:48.246Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-04-20T02:59:48.549Z] ---> 9b5855e32d74 [2021-04-20T02:59:48.549Z] Successfully built 9b5855e32d74 [2021-04-20T02:59:48.549Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-20T02:59:48.656Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-04-20T02:59:48.657Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-04-20T02:59:48.988Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-20T02:59:48.988Z] . [Pipeline] withDockerContainer [2021-04-20T02:59:49.117Z] prd-centos7-docker-4c-2g-1061 does not seem to be running inside a container [2021-04-20T02:59:49.169Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/4 -v /w/workspace/device-sdk-c/4:/w/workspace/device-sdk-c/4:rw,z -v /w/workspace/device-sdk-c/4@tmp:/w/workspace/device-sdk-c/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-20T02:59:49.254Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-04-20T02:59:49.525Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-04-20T02:59:50.159Z] $ docker top cdb0f9984a5a7feaf8fd1534b4d8db18055fae7d280470f0494381b1cf82ec64 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-20T02:59:50.499Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-04-20T02:59:50.560Z] + make test [2021-04-20T02:59:50.560Z] echo "make test" [2021-04-20T02:59:50.560Z] make test [Pipeline] } [2021-04-20T02:59:50.576Z] $ docker stop --time=1 cdb0f9984a5a7feaf8fd1534b4d8db18055fae7d280470f0494381b1cf82ec64 [2021-04-20T02:59:51.921Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-04-20T02:59:51.925Z] $ docker rm -f cdb0f9984a5a7feaf8fd1534b4d8db18055fae7d280470f0494381b1cf82ec64 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2021-04-20T02:59:53.385Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [Pipeline] sh [2021-04-20T02:59:54.735Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-20T02:59:55.038Z] + ls -al . [2021-04-20T02:59:55.038Z] total 160 [2021-04-20T02:59:55.038Z] drwxrwxr-x. 8 jenkins jenkins 260 Apr 20 02:58 . [2021-04-20T02:59:55.038Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 20 02:58 .. [2021-04-20T02:59:55.038Z] -rw-rw-r--. 1 jenkins jenkins 3104 Apr 20 02:58 Attribution.txt [2021-04-20T02:59:55.038Z] -rw-rw-r--. 1 jenkins jenkins 7129 Apr 20 02:58 CHANGES [2021-04-20T02:59:55.038Z] drwxrwxr-x. 2 jenkins jenkins 121 Apr 20 02:58 docs [2021-04-20T02:59:55.038Z] -rw-rw-r--. 1 jenkins jenkins 108574 Apr 20 02:58 Doxyfile [2021-04-20T02:59:55.038Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 20 02:58 .git [2021-04-20T02:59:55.038Z] drwxrwxr-x. 2 jenkins jenkins 81 Apr 20 02:58 .github [2021-04-20T02:59:55.038Z] -rw-rw-r--. 1 jenkins jenkins 176 Apr 20 02:58 .gitignore [2021-04-20T02:59:55.038Z] drwxrwxr-x. 4 jenkins jenkins 33 Apr 20 02:58 include [2021-04-20T02:59:55.038Z] -rw-rw-r--. 1 jenkins jenkins 784 Apr 20 02:58 Jenkinsfile [2021-04-20T02:59:55.038Z] -rw-rw-r--. 1 jenkins jenkins 10174 Apr 20 02:58 LICENSE [2021-04-20T02:59:55.038Z] -rw-rw-r--. 1 jenkins jenkins 444 Apr 20 02:58 Makefile [2021-04-20T02:59:55.038Z] -rw-rw-r--. 1 jenkins jenkins 4005 Apr 20 02:58 README.md [2021-04-20T02:59:55.038Z] -rw-rw-r--. 1 jenkins jenkins 6654 Apr 20 02:58 README.v2.md [2021-04-20T02:59:55.038Z] drwxrwxr-x. 2 jenkins jenkins 98 Apr 20 02:58 scripts [2021-04-20T02:59:55.038Z] drwxrwxr-x. 4 jenkins jenkins 50 Apr 20 02:58 src [2021-04-20T02:59:55.038Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 20 02:55 VERSION [Pipeline] isUnix [Pipeline] sh [2021-04-20T02:59:55.345Z] + 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=3368c6102e343318f874eea1e60513bd5090189e --label arch=amd64 --label version=0.0.0 . [2021-04-20T02:59:55.345Z] Sending build context to Docker daemon 2.534MB [2021-04-20T02:59:55.345Z] Step 1/15 : ARG BASE=alpine:3.12 [2021-04-20T02:59:55.345Z] Step 2/15 : FROM ${BASE} [2021-04-20T02:59:55.345Z] ---> 9b5855e32d74 [2021-04-20T02:59:55.345Z] Step 3/15 : LABEL maintainer="IOTech " [2021-04-20T02:59:56.292Z] ---> Running in 767ac37e5994 [2021-04-20T02:59:56.292Z] Removing intermediate container 767ac37e5994 [2021-04-20T02:59:56.292Z] ---> 2df95b86b117 [2021-04-20T02:59:56.292Z] 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-20T02:59:56.292Z] ---> Running in 8809d6c96f09 [2021-04-20T02:59:56.751Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-04-20T02:59:56.869Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-04-20T02:59:57.023Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-04-20T02:59:57.443Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-04-20T02:59:57.616Z] [ 73%] Linking C shared library libcsdk.so [2021-04-20T02:59:57.616Z] [ 73%] Built target csdk [2021-04-20T02:59:57.616Z] Scanning dependencies of target template [2021-04-20T02:59:57.616Z] [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-04-20T02:59:58.018Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-04-20T02:59:58.018Z] (2/6) Installing libblkid (2.33-r0) [2021-04-20T02:59:58.018Z] (3/6) Installing libfdisk (2.33-r0) [2021-04-20T02:59:58.018Z] (4/6) Installing libmount (2.33-r0) [2021-04-20T02:59:58.210Z] [ 76%] Linking C executable template [2021-04-20T02:59:58.282Z] (5/6) Installing libsmartcols (2.33-r0) [2021-04-20T02:59:58.283Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-04-20T02:59:58.485Z] [ 76%] Built target template [2021-04-20T02:59:58.485Z] Scanning dependencies of target device-counter [2021-04-20T02:59:58.485Z] [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-04-20T02:59:58.545Z] Executing busybox-1.29.3-r10.trigger [2021-04-20T02:59:58.545Z] OK: 272 MiB in 84 packages [2021-04-20T02:59:59.077Z] [ 80%] Linking C executable device-counter [2021-04-20T02:59:59.350Z] [ 80%] Built target device-counter [2021-04-20T02:59:59.350Z] Scanning dependencies of target device-random [2021-04-20T02:59:59.350Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-04-20T02:59:59.498Z] Removing intermediate container 8809d6c96f09 [2021-04-20T02:59:59.499Z] ---> 67b94516e812 [2021-04-20T02:59:59.499Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2021-04-20T02:59:59.499Z] ---> a6926b1fb434 [2021-04-20T02:59:59.499Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2021-04-20T02:59:59.946Z] [ 83%] Linking C executable device-random [2021-04-20T02:59:59.946Z] [ 83%] Built target device-random [2021-04-20T02:59:59.946Z] Scanning dependencies of target device-gyro [2021-04-20T02:59:59.946Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-04-20T03:00:00.450Z] ---> 1df3a788654c [2021-04-20T03:00:00.450Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2021-04-20T03:00:00.450Z] ---> 1f448edc00b9 [2021-04-20T03:00:00.450Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2021-04-20T03:00:00.543Z] [ 86%] Linking C executable device-gyro [2021-04-20T03:00:00.543Z] [ 86%] Built target device-gyro [2021-04-20T03:00:00.712Z] ---> 8b39fe8eb37a [2021-04-20T03:00:00.712Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2021-04-20T03:00:00.815Z] Scanning dependencies of target device-bitfields [2021-04-20T03:00:00.815Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-04-20T03:00:00.975Z] ---> f11e7338ddfa [2021-04-20T03:00:00.975Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2021-04-20T03:00:01.093Z] [ 90%] Linking C executable device-bitfields [2021-04-20T03:00:01.240Z] ---> 5b9859e6e9e2 [2021-04-20T03:00:01.240Z] Step 11/15 : WORKDIR /edgex-c-sdk [2021-04-20T03:00:01.240Z] ---> Running in 61c62605fcca [2021-04-20T03:00:01.365Z] [ 90%] Built target device-bitfields [2021-04-20T03:00:01.366Z] Scanning dependencies of target template-discovery [2021-04-20T03:00:01.366Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-04-20T03:00:01.503Z] Removing intermediate container 61c62605fcca [2021-04-20T03:00:01.503Z] ---> 6137755459bc [2021-04-20T03:00:01.503Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-04-20T03:00:01.503Z] ---> Running in fd2bce597ccb [2021-04-20T03:00:01.765Z] Removing intermediate container fd2bce597ccb [2021-04-20T03:00:01.765Z] ---> f00196be3b39 [2021-04-20T03:00:01.765Z] Step 13/15 : LABEL arch=amd64 [2021-04-20T03:00:01.765Z] ---> Running in 4934e8e042a6 [2021-04-20T03:00:01.765Z] Removing intermediate container 4934e8e042a6 [2021-04-20T03:00:01.765Z] ---> 051d4f9d85f5 [2021-04-20T03:00:01.765Z] Step 14/15 : LABEL git_sha=3368c6102e343318f874eea1e60513bd5090189e [2021-04-20T03:00:01.974Z] [ 93%] Linking C executable template-discovery [2021-04-20T03:00:02.038Z] ---> Running in 9ccfee9d6f71 [2021-04-20T03:00:02.038Z] Removing intermediate container 9ccfee9d6f71 [2021-04-20T03:00:02.038Z] ---> 67b0e4107c5f [2021-04-20T03:00:02.038Z] Step 15/15 : LABEL version=0.0.0 [2021-04-20T03:00:02.038Z] ---> Running in d8ecedb97061 [2021-04-20T03:00:02.247Z] [ 93%] Built target template-discovery [2021-04-20T03:00:02.247Z] Scanning dependencies of target device-file [2021-04-20T03:00:02.247Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-04-20T03:00:02.302Z] Removing intermediate container d8ecedb97061 [2021-04-20T03:00:02.302Z] ---> aba7197ea538 [2021-04-20T03:00:02.302Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-04-20T03:00:02.302Z] Successfully built aba7197ea538 [2021-04-20T03:00:02.302Z] Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-20T03:00:02.845Z] [ 96%] Linking C executable device-file [2021-04-20T03:00:03.118Z] [ 96%] Built target device-file [2021-04-20T03:00:03.118Z] Scanning dependencies of target device-terminal [2021-04-20T03:00:03.118Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-04-20T03:00:03.711Z] [100%] Linking C executable device-terminal [2021-04-20T03:00:03.712Z] [100%] Built target device-terminal [2021-04-20T03:00:03.984Z] Run CPack packaging tool... [2021-04-20T03:00:03.985Z] CPack: Create package using TGZ [2021-04-20T03:00:03.985Z] CPack: Install projects [2021-04-20T03:00:03.985Z] CPack: - Run preinstall target for: Csdk [2021-04-20T03:00:04.576Z] CPack: - Install project: Csdk [2021-04-20T03:00:04.577Z] CPack: Create package [2021-04-20T03:00:04.577Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-04-20T03:00:04.577Z] + '[' false '=' true ] [2021-04-20T03:00:04.577Z] + '[' false '=' true ] [2021-04-20T03:00:04.577Z] + mkdir -p /tmp/sdk/build/debug [2021-04-20T03:00:04.577Z] + cd /tmp/sdk/build/debug [2021-04-20T03:00:04.577Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-04-20T03:00:04.849Z] -- The C compiler identification is GNU 8.3.0 [2021-04-20T03:00:04.849Z] -- Check for working C compiler: /usr/bin/cc [2021-04-20T03:00:05.120Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-04-20T03:00:05.120Z] -- Detecting C compiler ABI info [2021-04-20T03:00:05.390Z] -- Detecting C compiler ABI info - done [2021-04-20T03:00:05.390Z] -- Detecting C compile features [2021-04-20T03:00:05.983Z] -- Detecting C compile features - done [2021-04-20T03:00:06.255Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-04-20T03:00:06.255Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-04-20T03:00:06.255Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-04-20T03:00:06.255Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-04-20T03:00:06.255Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-04-20T03:00:06.255Z] -- C SDK 0.0.0 for Linux [2021-04-20T03:00:06.255Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-04-20T03:00:06.255Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-04-20T03:00:06.527Z] -- Found Curses: /usr/lib/libcurses.so [2021-04-20T03:00:06.527Z] -- Configuring done [2021-04-20T03:00:06.801Z] -- Generating done [2021-04-20T03:00:06.801Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-04-20T03:00:06.801Z] + make [2021-04-20T03:00:06.801Z] + tee debug.log [2021-04-20T03:00:06.801Z] Scanning dependencies of target csdk [2021-04-20T03:00:07.073Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-04-20T03:00:07.346Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-04-20T03:00:07.620Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-04-20T03:00:08.214Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-04-20T03:00:08.487Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-04-20T03:00:08.759Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-04-20T03:00:09.039Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-04-20T03:00:09.636Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-04-20T03:00:09.907Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-04-20T03:00:10.177Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-04-20T03:00:10.450Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-04-20T03:00:10.723Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-04-20T03:00:10.723Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-04-20T03:00:10.995Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-04-20T03:00:11.590Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-04-20T03:00:11.862Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-04-20T03:00:12.132Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-04-20T03:00:12.405Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-04-20T03:00:12.405Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-04-20T03:00:12.680Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-04-20T03:00:13.653Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-04-20T03:00:13.653Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-04-20T03:00:13.925Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-04-20T03:00:14.201Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-04-20T03:00:14.472Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-04-20T03:00:14.472Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-04-20T03:00:14.741Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-04-20T03:00:15.010Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-04-20T03:00:15.281Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-04-20T03:00:15.281Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-04-20T03:00:15.872Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-04-20T03:00:15.872Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-04-20T03:00:16.461Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-04-20T03:00:16.462Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-04-20T03:00:17.431Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-04-20T03:00:17.700Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-04-20T03:00:17.973Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-04-20T03:00:18.244Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-04-20T03:00:18.516Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-04-20T03:00:19.489Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-04-20T03:00:20.087Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-04-20T03:00:20.684Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-04-20T03:00:20.957Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-04-20T03:00:21.226Z] [ 73%] Linking C shared library libcsdk.so [2021-04-20T03:00:21.226Z] [ 73%] Built target csdk [2021-04-20T03:00:21.226Z] Scanning dependencies of target template [2021-04-20T03:00:21.503Z] [ 75%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-04-20T03:00:21.775Z] [ 76%] Linking C executable template [2021-04-20T03:00:21.775Z] [ 76%] Built target template [2021-04-20T03:00:21.775Z] Scanning dependencies of target device-counter [2021-04-20T03:00:21.775Z] [ 78%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-04-20T03:00:22.051Z] [ 80%] Linking C executable device-counter [2021-04-20T03:00:22.322Z] [ 80%] Built target device-counter [2021-04-20T03:00:22.322Z] Scanning dependencies of target device-random [2021-04-20T03:00:22.322Z] [ 81%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-04-20T03:00:22.592Z] [ 83%] Linking C executable device-random [2021-04-20T03:00:22.864Z] [ 83%] Built target device-random [2021-04-20T03:00:22.864Z] Scanning dependencies of target device-gyro [2021-04-20T03:00:22.864Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-04-20T03:00:23.135Z] [ 86%] Linking C executable device-gyro [2021-04-20T03:00:23.406Z] [ 86%] Built target device-gyro [2021-04-20T03:00:23.406Z] Scanning dependencies of target device-bitfields [2021-04-20T03:00:23.406Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-04-20T03:00:23.676Z] [ 90%] Linking C executable device-bitfields [2021-04-20T03:00:23.676Z] [ 90%] Built target device-bitfields [2021-04-20T03:00:23.947Z] Scanning dependencies of target template-discovery [2021-04-20T03:00:23.947Z] [ 91%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-04-20T03:00:24.220Z] [ 93%] Linking C executable template-discovery [2021-04-20T03:00:24.492Z] [ 93%] Built target template-discovery [2021-04-20T03:00:24.492Z] Scanning dependencies of target device-file [2021-04-20T03:00:24.492Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-04-20T03:00:24.762Z] [ 96%] Linking C executable device-file [2021-04-20T03:00:24.762Z] [ 96%] Built target device-file [2021-04-20T03:00:25.034Z] Scanning dependencies of target device-terminal [2021-04-20T03:00:25.034Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-04-20T03:00:25.304Z] [100%] Linking C executable device-terminal [2021-04-20T03:00:25.576Z] [100%] Built target device-terminal [2021-04-20T03:00:25.576Z] make: Entering directory '/tmp/sdk/build/release' [2021-04-20T03:00:25.576Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-04-20T03:00:25.576Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T03:00:25.576Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T03:00:25.576Z] [ 73%] Built target csdk [2021-04-20T03:00:25.576Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T03:00:25.576Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T03:00:25.576Z] [ 76%] Built target template [2021-04-20T03:00:25.576Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T03:00:25.576Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T03:00:25.576Z] [ 80%] Built target device-counter [2021-04-20T03:00:25.576Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T03:00:25.848Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T03:00:25.849Z] [ 83%] Built target device-random [2021-04-20T03:00:25.849Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T03:00:25.849Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T03:00:25.849Z] [ 86%] Built target device-gyro [2021-04-20T03:00:25.849Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T03:00:25.849Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T03:00:25.849Z] [ 90%] Built target device-bitfields [2021-04-20T03:00:25.849Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T03:00:25.849Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T03:00:25.849Z] [ 93%] Built target template-discovery [2021-04-20T03:00:25.849Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T03:00:25.849Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T03:00:25.849Z] [ 96%] Built target device-file [2021-04-20T03:00:25.849Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-04-20T03:00:25.849Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T03:00:25.849Z] [100%] Built target device-terminal [2021-04-20T03:00:25.849Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-04-20T03:00:25.849Z] Install the project... [2021-04-20T03:00:26.121Z] -- Install configuration: "Release" [2021-04-20T03:00:26.121Z] -- Installing: /usr/local/lib/libcsdk.so [2021-04-20T03:00:26.121Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-04-20T03:00:26.121Z] -- Up-to-date: /usr/local/include [2021-04-20T03:00:26.121Z] -- Installing: /usr/local/include/edgex [2021-04-20T03:00:26.121Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-04-20T03:00:26.121Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-04-20T03:00:26.121Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-04-20T03:00:26.121Z] -- Installing: /usr/local/include/edgex/devices.h [2021-04-20T03:00:26.122Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-04-20T03:00:26.122Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-04-20T03:00:26.122Z] -- Installing: /usr/local/include/devsdk [2021-04-20T03:00:26.122Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-04-20T03:00:26.122Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-04-20T03:00:26.122Z] -- Installing: /usr/local/include/iot [2021-04-20T03:00:26.122Z] -- Installing: /usr/local/include/iot/json.h [2021-04-20T03:00:26.122Z] -- Installing: /usr/local/include/iot/container.h [2021-04-20T03:00:26.122Z] -- Installing: /usr/local/include/iot/component.h [2021-04-20T03:00:26.122Z] -- Installing: /usr/local/include/iot/typecode.h [2021-04-20T03:00:26.122Z] -- Installing: /usr/local/include/iot/iot.h [2021-04-20T03:00:26.122Z] -- Installing: /usr/local/include/iot/time.h [2021-04-20T03:00:26.122Z] -- Installing: /usr/local/include/iot/hash.h [2021-04-20T03:00:26.122Z] -- Installing: /usr/local/include/iot/logger.h [2021-04-20T03:00:26.122Z] -- Installing: /usr/local/include/iot/os [2021-04-20T03:00:26.122Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-04-20T03:00:26.122Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-04-20T03:00:26.122Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-04-20T03:00:26.122Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-04-20T03:00:26.122Z] -- Installing: /usr/local/include/iot/data.h [2021-04-20T03:00:26.122Z] -- Installing: /usr/local/include/iot/thread.h [2021-04-20T03:00:26.122Z] -- Installing: /usr/local/include/iot/os.h [2021-04-20T03:00:26.122Z] -- Installing: /usr/local/include/iot/base64.h [2021-04-20T03:00:26.122Z] -- Installing: /usr/local/include/iot/defs.h [2021-04-20T03:00:26.122Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-04-20T03:00:26.122Z] -- Installing: /usr/local/include/iot/config.h [2021-04-20T03:00:26.122Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-04-20T03:00:26.122Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-04-20T03:00:26.122Z] make: Leaving directory '/tmp/sdk/build/release' [2021-04-20T03:00:28.094Z] Removing intermediate container 2d255806868c [2021-04-20T03:00:28.094Z] ---> 6b80423beb70 [2021-04-20T03:00:28.094Z] Step 14/21 : FROM ${BASE} [2021-04-20T03:00:28.094Z] ---> b23d30803547 [2021-04-20T03:00:28.094Z] Step 15/21 : LABEL maintainer="IOTech " [2021-04-20T03:00:28.407Z] ---> Running in 3c6dd93f7f44 [2021-04-20T03:00:29.015Z] Removing intermediate container 3c6dd93f7f44 [2021-04-20T03:00:29.015Z] ---> 990b0482a60a [2021-04-20T03:00:29.015Z] Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid [2021-04-20T03:00:29.015Z] ---> Running in 81f33a9d9b39 [2021-04-20T03:00:30.510Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-04-20T03:00:31.110Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-04-20T03:00:31.379Z] (1/3) Installing curl (7.64.0-r5) [2021-04-20T03:00:31.652Z] (2/3) Installing libuuid (2.33-r0) [2021-04-20T03:00:31.652Z] (3/3) Installing wget (1.20.3-r0) [2021-04-20T03:00:31.652Z] Executing busybox-1.29.3-r10.trigger [2021-04-20T03:00:31.652Z] OK: 281 MiB in 78 packages [2021-04-20T03:00:33.079Z] Removing intermediate container 81f33a9d9b39 [2021-04-20T03:00:33.079Z] ---> d12a57616c62 [2021-04-20T03:00:33.079Z] Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-04-20T03:00:33.676Z] ---> 09ebc955a618 [2021-04-20T03:00:33.676Z] Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-04-20T03:00:34.650Z] ---> 2f7d75f33a60 [2021-04-20T03:00:34.650Z] Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-04-20T03:00:35.249Z] ---> 1455518b2ece [2021-04-20T03:00:35.249Z] Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-04-20T03:00:36.230Z] ---> 982bd22de93c [2021-04-20T03:00:36.230Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-04-20T03:00:36.822Z] ---> 78cc99ba4f6e [2021-04-20T03:00:36.822Z] Successfully built 78cc99ba4f6e [2021-04-20T03:00:36.822Z] 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-20T03:00:37.505Z] + docker inspect -f . ci-base-image-arm64 [2021-04-20T03:00:37.505Z] . [Pipeline] withDockerContainer [2021-04-20T03:00:37.735Z] prd-ubuntu18.04-docker-arm64-4c-16g-1060 does not seem to be running inside a container [2021-04-20T03:00:37.822Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/4 -v /w/workspace/device-sdk-c/4:/w/workspace/device-sdk-c/4:rw,z -v /w/workspace/device-sdk-c/4@tmp:/w/workspace/device-sdk-c/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-20T03:00:39.237Z] $ docker top d6494d46afc0d1a172fbda9d20e7bfe2111372dd1ae1d37fd2b06b69ed3b4d7c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-20T03:00:40.134Z] + make test [2021-04-20T03:00:40.134Z] echo "make test" [2021-04-20T03:00:40.134Z] make test [Pipeline] } [2021-04-20T03:00:40.153Z] $ docker stop --time=1 d6494d46afc0d1a172fbda9d20e7bfe2111372dd1ae1d37fd2b06b69ed3b4d7c [2021-04-20T03:00:42.162Z] $ docker rm -f d6494d46afc0d1a172fbda9d20e7bfe2111372dd1ae1d37fd2b06b69ed3b4d7c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-20T03:00:42.809Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-20T03:00:43.150Z] + ls -al . [2021-04-20T03:00:43.150Z] total 192 [2021-04-20T03:00:43.150Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 02:58 . [2021-04-20T03:00:43.150Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 02:58 .. [2021-04-20T03:00:43.150Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 02:58 .git [2021-04-20T03:00:43.150Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 02:58 .github [2021-04-20T03:00:43.150Z] -rw-rw-r-- 1 jenkins jenkins 176 Apr 20 02:58 .gitignore [2021-04-20T03:00:43.150Z] -rw-rw-r-- 1 jenkins jenkins 3104 Apr 20 02:58 Attribution.txt [2021-04-20T03:00:43.150Z] -rw-rw-r-- 1 jenkins jenkins 7129 Apr 20 02:58 CHANGES [2021-04-20T03:00:43.150Z] -rw-rw-r-- 1 jenkins jenkins 108574 Apr 20 02:58 Doxyfile [2021-04-20T03:00:43.150Z] -rw-rw-r-- 1 jenkins jenkins 784 Apr 20 02:58 Jenkinsfile [2021-04-20T03:00:43.150Z] -rw-rw-r-- 1 jenkins jenkins 10174 Apr 20 02:58 LICENSE [2021-04-20T03:00:43.150Z] -rw-rw-r-- 1 jenkins jenkins 444 Apr 20 02:58 Makefile [2021-04-20T03:00:43.150Z] -rw-rw-r-- 1 jenkins jenkins 4005 Apr 20 02:58 README.md [2021-04-20T03:00:43.150Z] -rw-rw-r-- 1 jenkins jenkins 6654 Apr 20 02:58 README.v2.md [2021-04-20T03:00:43.150Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 20 02:55 VERSION [2021-04-20T03:00:43.150Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 02:58 docs [2021-04-20T03:00:43.150Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 02:58 include [2021-04-20T03:00:43.150Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 02:58 scripts [2021-04-20T03:00:43.150Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 02:58 src [Pipeline] isUnix [Pipeline] sh [2021-04-20T03:00:43.486Z] + 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=3368c6102e343318f874eea1e60513bd5090189e --label arch=arm64 --label version=0.0.0 . [2021-04-20T03:00:44.080Z] Sending build context to Docker daemon 2.533MB [2021-04-20T03:00:44.080Z] Step 1/15 : ARG BASE=alpine:3.12 [2021-04-20T03:00:44.080Z] Step 2/15 : FROM ${BASE} [2021-04-20T03:00:44.080Z] ---> 78cc99ba4f6e [2021-04-20T03:00:44.080Z] Step 3/15 : LABEL maintainer="IOTech " [2021-04-20T03:00:44.080Z] ---> Running in 53149be6e5a5 [2021-04-20T03:00:44.673Z] Removing intermediate container 53149be6e5a5 [2021-04-20T03:00:44.673Z] ---> 1053f6c87b1d [2021-04-20T03:00:44.673Z] 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-20T03:00:44.673Z] ---> Running in add46c605ca3 [2021-04-20T03:00:45.649Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-04-20T03:00:46.617Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-04-20T03:00:47.589Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-04-20T03:00:47.589Z] (2/6) Installing libblkid (2.33-r0) [2021-04-20T03:00:47.589Z] (3/6) Installing libfdisk (2.33-r0) [2021-04-20T03:00:47.859Z] (4/6) Installing libmount (2.33-r0) [2021-04-20T03:00:47.859Z] (5/6) Installing libsmartcols (2.33-r0) [2021-04-20T03:00:47.859Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-04-20T03:00:48.449Z] Executing busybox-1.29.3-r10.trigger [2021-04-20T03:00:48.449Z] OK: 286 MiB in 84 packages [2021-04-20T03:00:49.880Z] Removing intermediate container add46c605ca3 [2021-04-20T03:00:49.880Z] ---> 213886648ffb [2021-04-20T03:00:49.880Z] Step 5/15 : COPY VERSION /edgex-c-sdk/ [2021-04-20T03:00:50.474Z] ---> d08f9b85821a [2021-04-20T03:00:50.474Z] Step 6/15 : COPY src /edgex-c-sdk/src/ [2021-04-20T03:00:51.454Z] ---> 3ddf469d4e4f [2021-04-20T03:00:51.454Z] Step 7/15 : COPY include /edgex-c-sdk/include/ [2021-04-20T03:00:52.048Z] ---> a63f853f39aa [2021-04-20T03:00:52.048Z] Step 8/15 : COPY scripts /edgex-c-sdk/scripts [2021-04-20T03:00:52.642Z] ---> 60be2532c491 [2021-04-20T03:00:52.642Z] Step 9/15 : COPY LICENSE /edgex-c-sdk/ [2021-04-20T03:00:53.239Z] ---> 1aba6aa96662 [2021-04-20T03:00:53.239Z] Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ [2021-04-20T03:00:54.211Z] ---> 5f20f5347874 [2021-04-20T03:00:54.211Z] Step 11/15 : WORKDIR /edgex-c-sdk [2021-04-20T03:00:54.211Z] ---> Running in eb27b1756ab8 [2021-04-20T03:00:54.808Z] Removing intermediate container eb27b1756ab8 [2021-04-20T03:00:54.808Z] ---> 911d2dd92a3d [2021-04-20T03:00:54.808Z] Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-04-20T03:00:54.808Z] ---> Running in 35a46866aa06 [2021-04-20T03:00:55.080Z] Removing intermediate container 35a46866aa06 [2021-04-20T03:00:55.080Z] ---> dc1fdf592f45 [2021-04-20T03:00:55.080Z] Step 13/15 : LABEL arch=arm64 [2021-04-20T03:00:55.351Z] ---> Running in 29f7b57e6528 [2021-04-20T03:00:55.624Z] Removing intermediate container 29f7b57e6528 [2021-04-20T03:00:55.624Z] ---> cce3c163a4b9 [2021-04-20T03:00:55.624Z] Step 14/15 : LABEL git_sha=3368c6102e343318f874eea1e60513bd5090189e [2021-04-20T03:00:55.896Z] ---> Running in e657a3dd9fbd [2021-04-20T03:00:56.490Z] Removing intermediate container e657a3dd9fbd [2021-04-20T03:00:56.490Z] ---> 8340694a5d15 [2021-04-20T03:00:56.490Z] Step 15/15 : LABEL version=0.0.0 [2021-04-20T03:00:56.490Z] ---> Running in 6c6058876edd [2021-04-20T03:00:56.763Z] Removing intermediate container 6c6058876edd [2021-04-20T03:00:56.763Z] ---> fbda4701cb0c [2021-04-20T03:00:56.763Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-20T03:00:57.033Z] Successfully built fbda4701cb0c [2021-04-20T03:00:57.033Z] 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-20T03:00:58.149Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-20T03:00:58.460Z] ---> package-listing.sh [2021-04-20T03:00:58.460Z] ++ facter osfamily [2021-04-20T03:00:58.460Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-20T03:00:58.460Z] + OS_FAMILY=redhat [2021-04-20T03:00:58.460Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-336 [2021-04-20T03:00:58.460Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-20T03:00:58.460Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-20T03:00:58.460Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-20T03:00:58.460Z] + PACKAGES=/tmp/packages_start.txt [2021-04-20T03:00:58.460Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-336 ']' [2021-04-20T03:00:58.460Z] + PACKAGES=/tmp/packages_end.txt [2021-04-20T03:00:58.460Z] + case "${OS_FAMILY}" in [2021-04-20T03:00:58.460Z] + rpm -qa [2021-04-20T03:00:58.460Z] + sort [2021-04-20T03:01:03.784Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-20T03:01:03.784Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-20T03:01:03.784Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-20T03:01:03.784Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-336 ']' [2021-04-20T03:01:03.784Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-336/archives/ [2021-04-20T03:01:03.784Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-336/archives/ [Pipeline] echo [2021-04-20T03:01:03.840Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-336/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-20T03:01:04.219Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-20T03:01:04.548Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-20T03:01:04.548Z] [2021-04-20T03:01:04.548Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-20T03:01:04.868Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-20T03:01:04.868Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-20T03:01:04.868Z] df20fa9351a1: Pulling fs layer [2021-04-20T03:01:04.868Z] 36b3adc4ff6f: Pulling fs layer [2021-04-20T03:01:04.868Z] 8ad3a11d3b57: Pulling fs layer [2021-04-20T03:01:04.868Z] 46f8f816bc3b: Pulling fs layer [2021-04-20T03:01:04.868Z] 93b61091891f: Pulling fs layer [2021-04-20T03:01:04.868Z] 93b9cdb0e59b: Pulling fs layer [2021-04-20T03:01:04.868Z] 5e14af77c1be: Pulling fs layer [2021-04-20T03:01:04.868Z] 01666e4c0597: Pulling fs layer [2021-04-20T03:01:04.868Z] aa168da1d23b: Pulling fs layer [2021-04-20T03:01:04.868Z] 46f8f816bc3b: Waiting [2021-04-20T03:01:04.868Z] 93b61091891f: Waiting [2021-04-20T03:01:04.868Z] 93b9cdb0e59b: Waiting [2021-04-20T03:01:04.868Z] 5e14af77c1be: Waiting [2021-04-20T03:01:04.868Z] 01666e4c0597: Waiting [2021-04-20T03:01:04.868Z] aa168da1d23b: Waiting [2021-04-20T03:01:04.868Z] 36b3adc4ff6f: Verifying Checksum [2021-04-20T03:01:04.868Z] 36b3adc4ff6f: Download complete [2021-04-20T03:01:04.868Z] 46f8f816bc3b: Verifying Checksum [2021-04-20T03:01:04.868Z] 46f8f816bc3b: Download complete [2021-04-20T03:01:04.868Z] df20fa9351a1: Download complete [2021-04-20T03:01:05.136Z] 93b9cdb0e59b: Verifying Checksum [2021-04-20T03:01:05.136Z] 93b9cdb0e59b: Download complete [2021-04-20T03:01:05.136Z] 5e14af77c1be: Verifying Checksum [2021-04-20T03:01:05.136Z] 5e14af77c1be: Download complete [2021-04-20T03:01:05.136Z] 93b61091891f: Download complete [2021-04-20T03:01:05.136Z] 01666e4c0597: Verifying Checksum [2021-04-20T03:01:05.136Z] 01666e4c0597: Download complete [2021-04-20T03:01:05.400Z] df20fa9351a1: Pull complete [2021-04-20T03:01:05.664Z] 8ad3a11d3b57: Verifying Checksum [2021-04-20T03:01:05.664Z] 8ad3a11d3b57: Download complete [2021-04-20T03:01:05.664Z] 36b3adc4ff6f: Pull complete [2021-04-20T03:01:06.621Z] 8ad3a11d3b57: Pull complete [2021-04-20T03:01:07.201Z] aa168da1d23b: Verifying Checksum [2021-04-20T03:01:07.201Z] aa168da1d23b: Download complete [2021-04-20T03:01:07.464Z] 46f8f816bc3b: Pull complete [2021-04-20T03:01:08.041Z] 93b61091891f: Pull complete [2021-04-20T03:01:08.041Z] 93b9cdb0e59b: Pull complete [2021-04-20T03:01:08.304Z] 5e14af77c1be: Pull complete [2021-04-20T03:01:08.304Z] 01666e4c0597: Pull complete [2021-04-20T03:01:16.498Z] aa168da1d23b: Pull complete [2021-04-20T03:01:16.498Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-20T03:01:16.498Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-20T03:01:16.498Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-20T03:01:16.747Z] prd-centos7-docker-4c-2g-1059 does not seem to be running inside a container [2021-04-20T03:01:16.809Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-336/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-336 -v /w/workspace/edgexfoundry_device-sdk-c_PR-336:/w/workspace/edgexfoundry_device-sdk-c_PR-336:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-20T03:01:20.962Z] $ docker top 433331f8993a40cc1ac01660880a3f933d16903368a32e010f5ff08c560f58d1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-20T03:01:21.377Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-20T03:01:21.679Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-20T03:01:21.979Z] + ls /var/log/sa-host [2021-04-20T03:01:21.979Z] + sadf -c /var/log/sa-host/sa20 [2021-04-20T03:01:21.979Z] file_magic: OK [2021-04-20T03:01:21.979Z] HZ: Using current value: 100 [2021-04-20T03:01:21.979Z] file_header: OK [2021-04-20T03:01:21.979Z] 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-20T03:01:21.979Z] Statistics: [2021-04-20T03:01:21.979Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-20T03:01:21.979Z] File successfully converted to sysstat format version 12.2.1 [2021-04-20T03:01:21.979Z] + sadf -c /var/log/sa-host/sa23 [2021-04-20T03:01:21.979Z] file_magic: OK [2021-04-20T03:01:21.979Z] HZ: Using current value: 100 [2021-04-20T03:01:21.979Z] file_header: OK [2021-04-20T03:01:21.979Z] 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-20T03:01:21.979Z] Statistics: [2021-04-20T03:01:21.979Z] Hnuu...uuuununununu... [2021-04-20T03:01:21.979Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-20T03:01:22.525Z] provisioning config files... [2021-04-20T03:01:22.546Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-336@tmp/config5521206785525492130tmp [Pipeline] { [Pipeline] echo [2021-04-20T03:01:22.567Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-20T03:01:22.864Z] ---> create-netrc.sh [Pipeline] } [2021-04-20T03:01:22.874Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-20T03:01:22.896Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-20T03:01:23.192Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-20T03:01:23.204Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-20T03:01:23.504Z] ---> sudo-logs.sh [2021-04-20T03:01:23.504Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-20T03:01:23.533Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-20T03:01:24.072Z] ---> job-cost.sh [2021-04-20T03:01:24.072Z] lf-activate-venv: SKIPPING [2021-04-20T03:01:24.072Z] INFO: No Stack... [2021-04-20T03:01:25.019Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-20T03:01:25.595Z] INFO: Archiving Costs [Pipeline] echo [2021-04-20T03:01:25.610Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-20T03:01:25.913Z] ---> logs-deploy.sh [2021-04-20T03:01:25.913Z] lf-activate-venv: SKIPPING [2021-04-20T03:01:25.913Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-336/4 [2021-04-20T03:01:25.913Z] INFO: archiving workspace using pattern(s): [2021-04-20T03:01:27.840Z] Archives upload complete. [2021-04-20T03:01:27.840Z] INFO: archiving logs to Nexus